* progmodes/octave-mod.el (octave-mode-map): Remove redundant key
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-16 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
4 binding to info-lookup-symbol.
5
6 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
7
8 * minibuffer.el (completion--twq-all):
9 * term/ns-win.el (ns-initialize-window-system):
10 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11
12 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15 global bindings.
16
17 * doc-view.el (doc-view-start-process): Handle url-handler directories.
18
19 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
20
21 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
22 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
23 to nil.
24 (ruby-end-of-defun): Remove the unused arg, change the docstring
25 to reflect that this function is only used as the value of
26 `end-of-defun-function'.
27 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
28 to reflect an earlier change that beginning/end-of-defun functions
29 jump between methods in a class definition, as well as top-level
30 functions.
31
32 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * minibuffer.el (minibuffer-complete): Don't just scroll
35 a *Completions* that's been iconified.
36 (minibuffer-force-complete): Make sure repetitions do cycle when going
37 through completion-in-region -> minibuffer-complete.
38
39 2013-04-15 Alan Mackenzie <acm@muc.de>
40
41 Correct the placement of c-cpp-delimiters when there're #s not at
42 col 0.
43
44 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
45 place a submatch around the #.
46 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
47 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
48 on the #, not BOL.
49
50 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * emacs-lisp/nadvice.el: Properly test names when adding advice.
53 (advice--member-p): New arg `name'.
54 (advice--add-function, advice-member-p): Use it (bug#14202).
55
56 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
57
58 Reformulate java imenu-generic-expression.
59 The old expression contained ill formed regexps.
60
61 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
62 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
63 (cc-imenu-java-method-arg-regexp): New defconsts.
64 (cc-imenu-java-build-type-args-regex): New defun.
65 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
66 handling of spaces in the regexp.
67
68 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
69
70 * textmodes/ispell.el (ispell-command-loop): Remove
71 flyspell highlight of a word when ispell accepts it (bug #14178).
72
73 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
74
75 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
76 uses code from the previous `ange-ftp-run-real-handler'.
77 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
78 only in case that function exist. This is needed for proper
79 unloading of Tramp.
80
81 2013-04-15 Tassilo Horn <tsdh@gnu.org>
82
83 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
84
85 * textmodes/reftex.el (reftex-compile-variables): Use it.
86
87 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * files.el (normal-mode): Only use default major-mode if no other mode
90 was specified.
91
92 * emacs-lisp/trace.el (trace-values): New function.
93
94 * files.el: Allow : in local variables (bug#14089).
95 (hack-local-variable-regexp): New var.
96 (hack-local-variables-prop-line, hack-local-variables): Use it.
97
98 2013-04-13 Roland Winkler <winkler@gnu.org>
99
100 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
101 data before it gets modified by bibtex-beginning-of-entry.
102
103 2013-04-13 Roland Winkler <winkler@gnu.org>
104
105 * textmodes/bibtex.el (bibtex-url): Doc fix.
106
107 2013-04-13 Roland Winkler <winkler@gnu.org>
108
109 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
110 does not visit a BibTeX file, exclude it from the list of buffers
111 returned by bibtex-initialize.
112
113 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
114
115 * window.el (split-window): Remove interactive form, since as a
116 command this function is a special case of split-window-below.
117 Correct doc string.
118
119 2013-04-12 Roland Winkler <winkler@gnu.org>
120
121 * faces.el (read-face-name): Do not override value of arg default.
122 Allow single faces and strings as default values. Remove those
123 elements from return value that are not faces.
124 (describe-face): Simplify.
125 (face-at-point): New optional args thing and multiple so that this
126 function can provide the same functionality previously provided by
127 read-face-name.
128 (make-face-bold, make-face-unbold, make-face-italic)
129 (make-face-unitalic, make-face-bold-italic, invert-face)
130 (modify-face, read-face-and-attribute): Use face-at-point.
131
132 * cus-edit.el (customize-face, customize-face-other-window)
133 * cus-theme.el (custom-theme-add-face)
134 * face-remap.el (buffer-face-set)
135 * facemenu.el (facemenu-set-face): Use face-at-point.
136
137 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
138
139 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
140
141 2013-04-10 Tassilo Horn <tsdh@gnu.org>
142
143 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
144 off leading { and trailing } from field values.
145
146 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * emacs-lisp/timer.el (timer--check): New function.
149 (timer--time, timer-set-function, timer-event-handler): Use it.
150 (timer-set-idle-time): Simplify.
151 (timer--activate): CSE.
152 (timer-event-handler): Give more info in error message.
153 (internal-timer-start-idle): New function, moved from C.
154
155 * mpc.el (mpc-proc): Add `restart' argument.
156 (mpc-proc-cmd): Use it.
157 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
158 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
159 less often.
160
161 2013-04-10 Masatake YAMATO <yamato@redhat.com>
162
163 * progmodes/sh-script.el: Implement `sh-mode' own
164 `add-log-current-defun-function' (bug#14112).
165 (sh-current-defun-name): New function.
166 (sh-mode): Use the function.
167
168 2013-04-09 Bastien Guerry <bzg@gnu.org>
169
170 * simple.el (choose-completion-string): Fix docstring (bug#14163).
171
172 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
175
176 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
177 timer (bug#14156).
178
179 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
180
181 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
182 declaration.
183
184 2013-04-07 Leo Liu <sdl.web@gmail.com>
185
186 * pcmpl-x.el: New file.
187
188 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
189
190 Do not set x-display-name until X connection is established.
191 This is needed to prevent from weird situation described at
192 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
193 * frame.el (make-frame): Set x-display-name after call to
194 window system initialization function, not before.
195 * term/x-win.el (x-initialize-window-system): Add optional
196 display argument and use it.
197 * term/w32-win.el (w32-initialize-window-system):
198 * term/ns-win.el (ns-initialize-window-system):
199 * term/pc-win.el (msdos-initialize-window-system):
200 Add compatible optional display argument.
201
202 2013-04-06 Eli Zaretskii <eliz@gnu.org>
203
204 * files.el (normal-backup-enable-predicate): On MS-Windows and
205 MS-DOS compare truenames of temporary-file-directory and of the
206 file, so that 8+3 aliases (usually found in $TEMP on Windows)
207 don't fail comparison by compare-strings. Also, compare file
208 names case-insensitively on MS-Windows and MS-DOS.
209
210 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
213 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
214
215 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
216
217 * whitespace.el (whitespace-color-on, whitespace-color-off):
218 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
219
220 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
221
222 * ispell.el (ispell-set-spellchecker-params):
223 Really set `ispell-args' for all equivs.
224
225 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * ido.el (ido-completions): Use extra elements of ido-decorations
228 (bug#14143).
229 (ido-decorations): Update docstring.
230
231 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
232
233 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
234 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
235 nil during initialization, in order not to miss changes since the
236 file was opened. (Bug#14140)
237
238 2013-04-05 Leo Liu <sdl.web@gmail.com>
239
240 * kmacro.el (kmacro-call-macro): Fix bug#14135.
241
242 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
243
244 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
245
246 2013-04-04 Glenn Morris <rgm@gnu.org>
247
248 * electric.el (electric-pair-inhibit-predicate): Add :version.
249
250 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
253 when a package is required several times (bug#14082).
254
255 2013-04-04 Roland Winkler <winkler@gnu.org>
256
257 * faces.el (read-face-name): Behave as promised by the docstring.
258 Assume that arg default is a list of faces.
259 (describe-face): Call read-face-name with list of default faces.
260
261 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
262
263 * bookmark.el: Fix deletion of bookmarks (bug#13972).
264 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
265 (bookmark-bmenu-execute-deletions): Only skip first line if it's
266 the header.
267 (bookmark-exit-hook-internal): Save even if list is empty.
268
269 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
270
271 * emacs-lisp/package.el (package-pinned-packages): New var.
272 (package--add-to-archive-contents): Obey it (bug#14118).
273
274 2013-04-03 Alan Mackenzie <acm@muc.de>
275
276 Handle `parse-partial-sexp' landing inside a comment opener
277 (Bug#13244). Also adapt to the new values of element 7 of a parse
278 state.
279
280 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
281 parameter `not-in-delimiter'. Handle being inside comment opener.
282 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
283 character in case we're typing a '*' after a '/'.
284 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
285 instead by passing the parameter to c-state-pp-to-literal.
286
287 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
288 for elt. 7 of a parse state.
289
290 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
291
292 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
293 * international/latin1-disp.el, international/mule-util.el:
294 * language/cyril-util.el, language/european.el, language/ind-util.el:
295 * language/lao-util.el, language/thai.el, language/tibet-util.el:
296 * language/tibetan.el, language/viet-util.el:
297 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
298
299 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
302 (electric-pair-post-self-insert-function): Use it.
303 (electric-pair-default-inhibit): New function, extracted from
304 electric-pair-post-self-insert-function.
305
306 2013-03-31 Roland Winkler <winkler@gnu.org>
307
308 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
309
310 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
311
312 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
313
314 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
315
316 Un-indent after "pass" and "return" statements (Bug#13888)
317 * progmodes/python.el (python-indent-block-enders): New var.
318 (python-indent-calculate-indentation): Use it.
319
320 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
321
322 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
323 defun. Defining it as defalias could introduce too eager
324 byte-compiler optimization. (Bug#14030)
325
326 2013-03-30 Chong Yidong <cyd@gnu.org>
327
328 * iswitchb.el (iswitchb-read-buffer): Fix typo.
329
330 2013-03-30 Leo Liu <sdl.web@gmail.com>
331
332 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
333 (kmacro-execute-from-register): Pass the keyboard macro to
334 kmacro-call-macro or repeating won't work correctly.
335
336 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
337
338 * progmodes/subword.el: Back to using `forward-symbol'.
339
340 * subr.el (forward-whitespace, forward-symbol)
341 (forward-same-syntax): Move from thingatpt.el.
342
343 2013-03-29 Leo Liu <sdl.web@gmail.com>
344
345 * kmacro.el (kmacro-to-register): New command.
346 (kmacro-execute-from-register): New function.
347 (kmacro-keymap): Bind to 'x'. (Bug#14071)
348
349 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * mpc.el: Use defvar-local and setq-local.
352 (mpc--proc-connect): Connection failures are not bugs.
353 (mpc-mode-map): `follow-link' only applies to the buffer's content.
354 (mpc-volume-map): Bind to the up-events.
355
356 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
357
358 * progmodes/subword.el (superword-mode): Use `forward-sexp'
359 instead of `forward-symbol'.
360
361 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
364 (edebug--recursive-edit): Use it.
365 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
366 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
367
368 2013-03-28 Leo Liu <sdl.web@gmail.com>
369
370 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
371
372 2013-03-27 Eli Zaretskii <eliz@gnu.org>
373
374 * facemenu.el (list-colors-callback): New defvar.
375 (list-colors-redisplay): New function.
376 (list-colors-display): Install list-colors-redisplay as the
377 revert-buffer-function. (Bug#14063)
378
379 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
382 and suffixes don't overlap (bug#14061).
383
384 * case-table.el: Use lexical-binding.
385 (case-table-get-table): New function.
386 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
387
388 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
389
390 * progmodes/subword.el: Add `superword-mode' to do word motion
391 over symbol_words (parallels and leverages `subword-mode' which
392 does word motion inside MixedCaseWords).
393
394 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
395
396 * eshell/em-unix.el: Move su and sudo to...
397 * eshell/em-tramp.el: ...Eshell tramp module.
398
399 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
402 Change return value to be a sexp. Delay `get-buffer' to after
403 restoring the desktop (bug#13951).
404
405 2013-03-26 Leo Liu <sdl.web@gmail.com>
406
407 * register.el: Move semantic tag handling back to
408 cedet/semantic/senator.el. (Bug#14052)
409
410 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
413 into the prompt either (bug#13963).
414
415 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
418 part of "(error-foo)".
419
420 2013-03-24 Juri Linkov <juri@jurta.org>
421
422 * replace.el (list-matching-lines-prefix-face): New defcustom.
423 (occur-1): Pass `list-matching-lines-prefix-face' to the function
424 `occur-engine' if `face-differs-from-default-p' returns t.
425 (occur-engine): Add `,' inside backquote construct to evaluate
426 `prefix-face'. Propertize the prefix with the `prefix-face' face.
427 Pass `prefix-face' to the functions `occur-context-lines' and
428 `occur-engine-add-prefix'.
429 (occur-engine-add-prefix, occur-context-lines): Add optional arg
430 `prefix-face' and propertize the prefix with `prefix-face'.
431 (Bug#14017)
432
433 2013-03-24 Leo Liu <sdl.web@gmail.com>
434
435 * nxml/rng-valid.el (rng-validate-while-idle)
436 (rng-validate-quick-while-idle): Guard against deleted buffer.
437 (Bug#13999)
438
439 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
440 is the last entry in kill-buffer-hook.
441
442 * files.el (kill-buffer-hook): Doc fix.
443
444 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
445
446 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
447 Make it safe-local.
448
449 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
450
451 2013-03-23 Leo Liu <sdl.web@gmail.com>
452
453 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
454 Remove.
455
456 * nxml/rng-valid.el (rng-validate-mode)
457 (rng-after-change-function, rng-do-some-validation):
458 * nxml/rng-maint.el (rng-validate-buffer):
459 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
460 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
461 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
462 (nxml-extend-after-change-region): Use with-silent-modifications.
463
464 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
465 timer-idle-list.
466
467 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
468 (rng-next-error-1, rng-previous-error-1): Do not let-bind
469 timer-idle-list. (Bug#13999)
470
471 2013-03-23 Juri Linkov <juri@jurta.org>
472
473 * info.el (info-index-match): New face.
474 (Info-index, Info-apropos-matches): Add a nested subgroup to the
475 main pattern and add text properties with the new face to matches
476 in index entries relative to the beginning of the index entry.
477 (Bug#14015)
478
479 2013-03-21 Eric Ludlam <zappo@gnu.org>
480
481 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
482 Inhibit read only while inserting objects.
483
484 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
485
486 * progmodes/cfengine.el: Update docs to mention
487 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
488 symbol motion. Remove "_" from the word syntax.
489
490 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
491
492 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
493 syntax for both `cfengine2-mode' and `cfengine3-mode'.
494
495 2013-03-20 Juri Linkov <juri@jurta.org>
496
497 * info.el (Info-next-reference-or-link)
498 (Info-prev-reference-or-link): New functions.
499 (Info-next-reference, Info-prev-reference): Use them.
500 (Info-try-follow-nearest-node): Handle footnote navigation.
501 (Info-fontify-node): Fontify footnotes. (Bug#13989)
502
503 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
506 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
507
508 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
509
510 Suppress unnecessary non-ASCII chatter during build process.
511 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
512 (batch-skkdic-convert): Suppress most of the chatter.
513 It's not needed so much now that machines are faster,
514 and its non-ASCII component was confusing; see Dmitry Gutov in
515 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
516
517 2013-03-20 Leo Liu <sdl.web@gmail.com>
518
519 * ido.el (ido-chop): Fix bug#10994.
520
521 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
522
523 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
524 Remove vars.
525 (whitespace-color-on, whitespace-color-off):
526 Use `font-lock-fontify-buffer' (Bug#13817).
527
528 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
531 remapping in mode-line.
532 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
533
534 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
535
536 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
537 value for `whitespace-line' face (Bug#13875).
538 (whitespace-font-lock-keywords): Change description.
539 (whitespace-color-on): Don't save `font-lock-keywords' value, save
540 the constructed keywords instead.
541 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
542
543 2013-03-19 Leo Liu <sdl.web@gmail.com>
544
545 * progmodes/compile.el (compilation-display-error): New command.
546 (compilation-mode-map, compilation-minor-mode-map): Bind it to
547 C-o. (Bug#13992)
548
549 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
550
551 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
552
553 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
554
555 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
556
557 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
558
559 * net/tramp-compat.el (tramp-compat-user-error): New defun.
560
561 * net/tramp-adb.el (tramp-adb-handle-shell-command):
562 * net/tramp-gvfs.el (top):
563 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
564 (tramp-handle-shell-command): Use it.
565 (tramp-dissect-file-name): Raise an error when hostname is a
566 method name, and neither method nor user is specified.
567
568 * net/trampver.el: Update release number.
569
570 2013-03-18 Leo Liu <sdl.web@gmail.com>
571
572 Make sure eldoc can be turned off properly.
573 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
574 eldoc-mode.
575 (eldoc-display-message-p): Revert last change.
576 (eldoc-display-message-no-interference-p)
577 (eldoc-print-current-symbol-info): Tweak.
578
579 2013-03-18 Tassilo Horn <tsdh@gnu.org>
580
581 * doc-view.el (doc-view-new-window-function): Check the new window
582 overlay's display property instead the char property of the
583 buffer's first char. Use `with-selected-window' instead of
584 `save-window-excursion' with `select-window'.
585 (doc-view-document->bitmap): Check the current doc-view overlay's
586 display property instead the char property of the buffer's first char.
587
588 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
589
590 Automate the build of ja-dic.el (Bug#13984).
591 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
592 from the input, rather than assume that it's been done for us by the
593 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
594 the current date into a ja-dic.el comment, as that complicates
595 regression testing.
596
597 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * whitespace.el: Fix double evaluation.
600 (whitespace-space, whitespace-hspace, whitespace-tab)
601 (whitespace-newline, whitespace-trailing, whitespace-line)
602 (whitespace-space-before-tab, whitespace-indentation)
603 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
604 obsolete defvars.
605 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
606 (whitespace-color-on): Use a single font-lock-add-keywords call.
607 Fix double-evaluation of face variables.
608
609 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
610
611 * net/tramp-adb.el (tramp-adb-parse-device-names):
612 Use `start-process' instead of `call-process'. Otherwise, the
613 function might be blocked under MS Windows. (Bug#13299)
614
615 2013-03-17 Leo Liu <sdl.web@gmail.com>
616
617 Extend eldoc to display info in the mode-line. (Bug#13978)
618 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
619 (eldoc-mode-line-string): New variable.
620 (eldoc-minibuffer-message): New function.
621 (eldoc-message-function): New variable.
622 (eldoc-message): Use it.
623 (eldoc-display-message-p)
624 (eldoc-display-message-no-interference-p):
625 Support eldoc-post-insert-mode.
626
627 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
628 (eval-expression): Run it.
629
630 2013-03-17 Roland Winkler <winkler@gnu.org>
631
632 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
633 strings in the list of return values.
634
635 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
636
637 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
638 radix before checking for HMS forms.
639
640 2013-03-16 Leo Liu <sdl.web@gmail.com>
641
642 * progmodes/scheme.el: Add indentation and font-locking for λ.
643 (Bug#13975)
644
645 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
646
647 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
648 token before point (bug#13942).
649
650 2013-03-16 Leo Liu <sdl.web@gmail.com>
651
652 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
653
654 2013-03-16 Eli Zaretskii <eliz@gnu.org>
655
656 * startup.el (command-line-normalize-file-name): Fix handling of
657 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
658 <xfq.free@gmail.com> in
659 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
660
661 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
662
663 Sync with Tramp 2.2.7.
664
665 * net/trampver.el: Update release number.
666
667 2013-03-14 Tassilo Horn <tsdh@gnu.org>
668
669 * doc-view.el Fix bug#13887.
670 (doc-view-insert-image): Don't modify overlay associated to
671 non-live windows, and implement horizontal centering of image in
672 case it's smaller than the window.
673 (doc-view-new-window-function): Force redisplay of new windows on
674 doc-view buffers.
675
676 2013-03-13 Karl Fogel <kfogel@red-bean.com>
677
678 * saveplace.el (save-place-alist-to-file): Don't sort
679 `save-place-alist', just pretty-print it (bug#13882).
680
681 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
682
683 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
684 whether `default-file-name-coding-system' is bound. It isn't in
685 XEmacs.
686
687 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
690 backquotes for `obsolete' (bug#13929).
691
692 * international/mule.el (find-auto-coding): Include file name in
693 obsolescence warning (bug#13922).
694
695 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
696
697 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
698 for CFEngine 3-specific indentation.
699 (cfengine3-indent-line): Use it. Fix up category regex.
700 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
701
702 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * type-break.el (type-break-file-name):
705 * textmodes/remember.el (remember-data-file):
706 * strokes.el (strokes-file):
707 * shadowfile.el (shadow-initialize):
708 * saveplace.el (save-place-file):
709 * ps-bdf.el (bdf-cache-file):
710 * progmodes/idlwave.el (idlwave-config-directory):
711 * net/quickurl.el (quickurl-url-file):
712 * international/kkc.el (kkc-init-file-name):
713 * ido.el (ido-save-directory-list-file):
714 * emulation/viper.el (viper-custom-file-name):
715 * emulation/vip.el (vip-startup-file):
716 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
717 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
718
719 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
720
721 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
722 * language/thai-word.el: Switch to UTF-8.
723
724 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
725
726 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
727
728 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
729
730 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
731 Use with-current-buffer and don't move point.
732 (net-utils-run-simple): Remove useless code.
733 (net-utils-remove-ctl-m): Remove unused custom.
734
735 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
736
737 * international/characters.el (glyphless-set-char-table-range): New fun.
738 (update-glyphless-char-display): Use it (bug#13744).
739
740 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
741
742 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
743 namespaces in the syntax, indent closer for hanging brace
744 correctly, allow single-quote delimited 'strings', and make
745 `cfengine3-mode' the default.
746
747 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
748
749 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
750 Use lexical-binding. Fix up docstring according to conventions.
751 (gdbmi-debug-mode): New var.
752 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
753 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
754 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
755 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
756 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
757 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
758 (gdbmi-bnf-incomplete-record-result): New functions.
759 (gdb-car<): Remove function.
760 (gdbmi-record-list): Remove variable.
761 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
762 (gdbmi-bnf-result-state-configs): New const.
763 (gud-gdbmi-marker-filter): Rewrite.
764 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
765 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
766 Add `token' argument.
767 (gdb-done, gdb-error): New functions.
768 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
769
770 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * term/xterm.el (xterm--report-background-handler): Don't burp
773 upon timeout.
774 (xterm--version-handler): Extract from terminal-init-xterm.
775 (xterm--query): Don't mishandle timeout. Remove debugging messages.
776 Allow multiple handlers.
777 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
778
779 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
780 (xterm--report-background-handler, xterm--query): New functions.
781 (terminal-init-xterm): Use them.
782
783 2013-03-11 Michael R. Mauger <michael@mauger.com>
784
785 * progmodes/sql.el Version 3.2
786 Please note that my address changed to <michael@mauger.com>;
787 the <mmaug@yahoo.com> address remains active.
788 (sql-connection-alist): Updates documentation to fix bug#13715.
789 (sql-connect): Handle missing `sql-connection-alist' correctly.
790 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
791 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
792 property.
793 (sql-default-value): New function.
794 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
795 values were not used.
796 (sql-rename-buffer): Make sure alternate buffer name has no text
797 properties.
798 (sql-input-sender, sql-execute-feature): Fetch variable with
799 `buffer-local-value' rather than `with-current-buffer'.
800 (sql-*): Use #' function syntax consistently.
801 (sql-*): Use message/error/user-error consistently.
802
803 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * xt-mouse.el (xterm-mouse-event-read): Remove.
806 (xterm-mouse--read-event-sequence-1000)
807 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
808
809 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
810
811 * term/xterm.el (xterm-function-map): Support format used with
812 formatOtherKeys=1 (bug#13839).
813
814 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
815 (with-no-warnings): Use `declare'.
816
817 * whitespace.el (whitespace-enable-predicate): New variable.
818 (whitespace-enable-predicate): Use it.
819
820 * comint.el (comint-send-input, comint-snapshot-last-prompt)
821 (comint-output-filter, comint-update-fence):
822 Use with-silent-modifications.
823
824 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
825
826 * replace.el (occur-read-regexp-defaults-function): New var.
827 (occur-read-regexp-defaults): New defun.
828 (occur-read-primary-args): Propagate above change (bug#13892).
829
830 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * mouse.el (mouse-drag-track): Remove left-over debugging code.
833
834 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
835
836 Major rewrite due to changed D-Bus interface of GVFS 1.14.
837
838 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
839 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
840 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
841 New defconst.
842 (tramp-gvfs-file-name-handler-alist) [directory-files]
843 [directory-files-and-attributes, file-exists-p, file-modes]:
844 Use Tramp default handler.
845 [file-acl, file-selinux-context, process-file, set-file-acl]:
846 [set-file-modes, set-file-selinux-context, shell-command]:
847 [start-file-process]: Remove handler.
848 [verify-visited-file-modtime]: New handler.
849 (tramp-gvfs-dbus-string-to-byte-array)
850 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
851 calls of `dbus-string-to-byte-array' and
852 `tramp-gvfs-dbus-byte-array-to-string'.
853 (tramp-gvfs-handle-copy-file)
854 (tramp-gvfs-handle-delete-directory)
855 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
856 (tramp-gvfs-handle-file-directory-p)
857 (tramp-gvfs-handle-file-executable-p)
858 (tramp-gvfs-handle-file-name-all-completions)
859 (tramp-gvfs-handle-file-readable-p)
860 (tramp-gvfs-handle-file-writable-p)
861 (tramp-gvfs-handle-insert-directory)
862 (tramp-gvfs-handle-insert-file-contents)
863 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
864 (tramp-gvfs-handle-set-visited-file-modtime)
865 (tramp-gvfs-handle-write-region): Rewrite.
866 (tramp-gvfs-handle-file-acl)
867 (tramp-gvfs-handle-file-selinux-context)
868 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
869 (tramp-gvfs-handle-set-file-modes)
870 (tramp-gvfs-handle-set-file-selinux-context)
871 (tramp-gvfs-handle-shell-command)
872 (tramp-gvfs-handle-start-file-process)
873 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
874 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
875 over the symlinks. Fix user handling.
876 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
877 of the D-Bus signals.
878 (tramp-gvfs-connection-mounted-p): Handle different names of the
879 D-Bus methods.
880 (tramp-gvfs-mount-spec-entry): New defun.
881 (tramp-gvfs-mount-spec): Use it.
882 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
883 there is a share name. Handle different names of the D-Bus
884 signals and methods. Set connection properties needed for
885 `tramp-check-cached-permissions'.
886 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
887 Return t or nil.
888
889 * net/tramp.el (tramp-backtrace): Move up.
890 (tramp-error): Dump a backtrace into the debug buffer when
891 `tramp-verbose > 9.
892 (tramp-file-mode-type-map, tramp-file-mode-from-int)
893 (tramp-file-mode-permissions, tramp-get-local-uid)
894 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
895 tramp-sh.el.
896
897 * net/tramp-sh.el (tramp-file-mode-type-map)
898 (tramp-check-cached-permissions, tramp-file-mode-from-int)
899 (tramp-file-mode-permissions, tramp-get-local-uid)
900 (tramp-get-local-gid): Move to tramp.el.
901
902 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 Separate mouse-1-click-follows-link from mouse-drag-region.
905 * mouse.el (mouse--down-1-maybe-follows-link): New function.
906 (key-translation-map): Use it to implement mouse-1-click-follows-link.
907 (mouse-drag-line, mouse-drag-track):
908 Remove mouse-1-click-follows-link code.
909 (mouse--remap-link-click-p): Remove.
910
911 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
912
913 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
914 (hi-lock-read-regexp-defaults): New defun.
915 (hi-lock-line-face-buffer, hi-lock-face-buffer)
916 (hi-lock-face-phrase-buffer): Propagate above change.
917 Update docstring (bug#13892).
918
919 * subr.el (find-tag-default-as-regexp): New defun.
920 * replace.el (read-regexp): Propagate above change.
921
922 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
923
924 * calc/calc-units.el (calc-convert-units): Fix the way that default
925 new units are stored.
926
927 2013-03-07 Matthias Meulien <orontee@gmail.com>
928
929 * bookmark.el: Define a face to highlight bookmark names in
930 bookmark menu buffers, where the default is a bold face similarly
931 to buffer names in buffer menu buffers.
932 (bookmark-menu-bookmark): New face to highlight bookmark names.
933 (bookmark-insert-location): Remove duplicated text property to
934 conform to buffer list (see `list-buffers').
935 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
936 `bookmark-menu-bookmark' to bookmark names.
937
938 2013-03-07 Matthias Meulien <orontee@gmail.com>
939 Karl Fogel <kfogel@red-bean.com>
940
941 * bookmark.el: Display the bookmark list header similarly to the
942 buffer list header (see `list-buffers'), where the default is now
943 an immovable/immutable header line.
944 (bookmark-bmenu-use-header-line): New variable.
945 (bookmark-bmenu-inline-header-height): New name for
946 `bookmark-bmenu-header-height', to avoid confusion with the code
947 for the new immovable header. All references changed.
948 (bookmark-bmenu-set-header): New function.
949 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
950 Conditionalize header construction accordingly.
951 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
952 the inline header height.
953 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
954 Conditionalize the skipping of the inline header height.
955
956 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
957
958 * progmodes/js.el (js--multi-line-declaration-indentation):
959 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
960
961 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
962
963 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
964 Only propertize regexp when not inside a string (Bug#13885).
965
966 2013-03-06 Alan Mackenzie <acm@muc.de>
967
968 Correct the position of point in some line-up functions.
969 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
970 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
971 point at column 0 rather than at a random place in the line.
972
973 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
974
975 * net/tramp-compat.el (tramp-compat-delete-directory):
976 Implement TRASH argument.
977
978 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
979
980 Keep pre-existing highlighting in completion candidates (Bug#13250).
981 * minibuffer.el (completions-first-difference): State that the
982 face is "added" in the docstring.
983 (completions-common-part): Same. And don't inherit from default.
984 (completion-hilit-commonality): Prepend 'completions-common-part
985 and 'completion-first-difference faces to the 'face property,
986 instead of replacing the value(s).
987 (completion--insert-strings): Same with 'completions-annotations face.
988 (completion-hilit-commonality): Use 'face instead of
989 'font-lock-face, because it gets priority if the completion
990 strings already have 'face set.
991
992 2013-03-04 Alan Mackenzie <acm@muc.de>
993
994 Replace `last-command-event' by `last-command-char' in XEmacs.
995 * progmodes/cc-defs.el (c-last-command-char): New macro.
996 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
997 (c-semi&comma-no-newlines-before-nonblanks)
998 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
999 in place of `last-command-event'.
1000 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1001 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1002 (c-electric-paren, c-electric-continued-statement): Use the new
1003 macro in place of `last-command-event'.
1004
1005 2013-03-04 Glenn Morris <rgm@gnu.org>
1006
1007 * files.el (inhibit-local-variables-regexps):
1008 Add .diff and .patch. (Bug#13862)
1009
1010 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1011
1012 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1013 whether the "su" command is available on the device.
1014
1015 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1016
1017 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1018 (tramp-adb-handle-process-file): Remove superfluous setting.
1019 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1020 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1021 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1022
1023 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1024
1025 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1026 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1027 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1028 Use dict-key rather than dict-name for the error message.
1029
1030 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1031
1032 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1033 when reverting (bug#13831).
1034
1035 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1036
1037 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1038 Always expand affix-file before storing to protect against changed
1039 `default-directory'.
1040 (ispell-print-if-debug): Make sure message is printed at the end
1041 of the debug buffer.
1042
1043 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1044
1045 * net/tramp.el (tramp-obsolete-methods): New defconst.
1046 (tramp-warned-obsolete-methods): New defvar.
1047 (tramp-find-method): Check for obsolete methods. Map them to a
1048 replacement method if appropriate.
1049
1050 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1051 Remove methods.
1052 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1053 "ssh2" and "plink1".
1054
1055 2013-02-28 Dale Sedivec <dale@codefu.org>
1056
1057 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1058 Return valid syntax-table property value when converting
1059 quotes within text from string syntax to punctuation syntax (bug#13844).
1060
1061 2013-02-28 Juri Linkov <juri@jurta.org>
1062
1063 * dired-aux.el (dired-diff): If file at point is a backup file,
1064 use its original as the default value, and reverse the order
1065 of arguments to the `diff' call. Doc fix. (Bug#13772)
1066
1067 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1070 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1071
1072 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1073
1074 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1075
1076 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1077 Ask hunspell about available and default dictionaries.
1078 (ispell-parse-hunspell-affix-file): Extract relevant info from
1079 hunspell affix file.
1080 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1081 `ispell-dictionary-alist' entry for given dictionary after info
1082 provided by `ispell-parse-hunspell-affix-file'.
1083 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1084 of parsed hunspell dicts and associated affix files.
1085 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1086 of parsed hunspell dicts and associated parameters.
1087 (ispell-set-spellchecker-params):
1088 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1089 previously done.
1090 (ispell-start-process):
1091 Call `ispell-hunspell-fill-dictionary-entry' for current
1092 dictionary if it is not initialized.
1093
1094 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1095
1096 * imenu.el: Comment nitpicks.
1097
1098 2013-02-28 Sam Steingold <sds@gnu.org>
1099
1100 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1101 See <http://stackoverflow.com/questions/14720205>.
1102
1103 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1104
1105 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1106 (net-utils-mode): Use it.
1107 (net-utils--revert-cmd): New var.
1108 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1109 (traceroute): Use net-utils-run-simple.
1110
1111 2013-02-28 Glenn Morris <rgm@gnu.org>
1112
1113 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1114
1115 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1118 (doc-view-fallback-mode): Remove overlays here.
1119 (doc-view-toggle-display): Instead of here. Don't throw away
1120 image-mode-winprops-alist.
1121 (doc-view-goto-page): Don't mess with hscroll.
1122
1123 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1124
1125 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1126 &optional (bug#13819).
1127
1128 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1129
1130 * net/tramp-adb.el (tramp-adb-parse-device-names)
1131 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1132
1133 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1134
1135 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1136 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1137 defined. POSIX environments fall back to the "C" locale then and
1138 emit a warning, which shall be suppressed.
1139
1140 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1143 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1144
1145 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1148
1149 2013-02-25 Juri Linkov <juri@jurta.org>
1150
1151 * replace.el (read-regexp): Let-bind `default' to the first
1152 element of `defaults' if it's a list, otherwise it should be
1153 a string or nil. Let-bind `suggestions' to `defaults' if it's
1154 a list, otherwise make a list with the string value. Doc fix.
1155 (Bug#13805)
1156
1157 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1158
1159 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1160 that match "\`\.#", to avoid compiling lock files, even if they
1161 are readable (as they are on MS-Windows).
1162
1163 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1164
1165 * files.el (basic-save-buffer): Remove redundant directory-creation.
1166
1167 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1168
1169 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1170 Add option to force `pi' to remain symbolic.
1171 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1172 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1173 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1174 derivatives, when necessary.
1175
1176 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1177
1178 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1179 (ps-mode-octal-region): Use string-make-unibyte.
1180
1181 2013-02-23 Glenn Morris <rgm@gnu.org>
1182
1183 * emulation/viper-cmd.el (viper-submit-report):
1184 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1185 * progmodes/vera-mode.el (vera-mode-help-address):
1186 * textmodes/artist.el (artist-maintainer-address):
1187 * textmodes/reftex.el (reftex-report-bug):
1188 * vc/ediff-util.el (ediff-submit-report):
1189 Add bug-gnu-emacs to bug report address.
1190
1191 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1192 Remove bug report entries.
1193 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1194
1195 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1196 (byte-compile-file, byte-compile-from-buffer):
1197 Use separate input/output buffers for each level of recursive
1198 byte-compile-file calls. (Bug#13787)
1199
1200 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1201
1202 * net/tramp.el (tramp-methods): Fix docstring.
1203 (tramp-ssh-controlmaster-options): Rename it from
1204 `tramp-ssh-controlmaster-template'. Return a string.
1205 (tramp-default-method): Adapt check for
1206 `tramp-ssh-controlmaster-options'.
1207
1208 * net/tramp-sh.el (tramp-methods):
1209 Replace `tramp-ssh-controlmaster-template' by "%c".
1210 (tramp-do-copy-or-rename-file-out-of-band)
1211 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1212 that it is applied for the first hop only.
1213
1214 2013-02-22 Juri Linkov <juri@jurta.org>
1215
1216 * isearch.el (isearch-lazy-highlight-new-loop):
1217 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1218 to `isearch-other-end' if it is not nil. (Bug#13402)
1219
1220 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1221 to `match-beg'.
1222
1223 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1224 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1225 and `isearch-error' to nil.
1226
1227 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1228
1229 * progmodes/python.el (python-info-current-defun):
1230 Enhance match-data cluttering prevention.
1231
1232 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1233
1234 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1235
1236 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1237 Handle multibyte file names.
1238
1239 2013-02-22 Glenn Morris <rgm@gnu.org>
1240
1241 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1242 (sgml-transformation-function): Give it a :set function.
1243 (sgml-tag): Doc fix.
1244
1245 * cmuscheme.el (scheme-buffer):
1246 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1247 * progmodes/tcl.el (inferior-tcl-buffer):
1248 * textmodes/tex-mode.el (tex-command): Doc fixes.
1249
1250 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1251
1252 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1253
1254 2013-02-21 Bastien Guerry <bzg@gnu.org>
1255
1256 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1257
1258 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1259
1260 * progmodes/python.el (python-info-current-defun):
1261 Enhance match-data cluttering prevention.
1262
1263 2013-02-21 Glenn Morris <rgm@gnu.org>
1264
1265 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1266 loaded while outline-regexp is let bound. (Bug#9584)
1267
1268 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1269
1270 * progmodes/python.el (python-info-current-defun): Fix failed
1271 defun name retrieval because of unwanted match-data cluttering.
1272
1273 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1274
1275 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1276 defconst. Apply independent check for ControlPersist.
1277
1278 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1279 temporarily, via "env".
1280
1281 2013-02-21 Glenn Morris <rgm@gnu.org>
1282
1283 * info.el (Info-enable-edit): Remove.
1284 (Info-edit): Disable it rather than using Info-enable.
1285 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1286 (Info-cease-edit): Make editing of Info files obsolete.
1287
1288 * informat.el (Info-tagify):
1289 Handle buffers not visiting files. (Bug#13763)
1290
1291 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1292
1293 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1294
1295 2013-02-21 Glenn Morris <rgm@gnu.org>
1296
1297 * files.el (basic-save-buffer): Move check for existing parent
1298 directory after hooks. (Bug#13773)
1299
1300 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * simple.el (command-execute): Move from C. Add obsolete check.
1303 (extended-command-history): Move from C.
1304
1305 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1306
1307 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1308 (jka-compr-mode-alist-additions): Handle .txz suffix for
1309 XZ-compressed tar archives (bug#13770).
1310
1311 2013-02-20 Bastien Guerry <bzg@gnu.org>
1312
1313 * outline.el (outline-regexp, outline-heading-end-regexp):
1314 Make variables, not options (bug#13731).
1315
1316 2013-02-20 Glenn Morris <rgm@gnu.org>
1317
1318 * image.el (image-current-frame): Change from variable to function.
1319 (image-show-frame): Rename from image-nth-frame. Update callers.
1320 * image-mode.el (image-multi-frame): New variable.
1321 (image-mode-map, image-mode, image-goto-frame):
1322 Use image-multi-frame rather than image-current-frame.
1323 (image-mode, image-goto-frame): Use image-current-frame as
1324 function rather than as variable.
1325
1326 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1327 * emacs-lisp/cl-macs.el (cl--make-type-test)
1328 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1329
1330 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1331
1332 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1333 (tramp-get-file-property, tramp-set-file-property)
1334 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1335 (tramp-flush-file-property, tramp-flush-directory-property):
1336 Rename argument to KEY.
1337 (tramp-flush-connection-property): Simplify a little bit.
1338 (tramp-connection-property-p): New defun.
1339 (top): Reapply saved values only if there isn't a corresponding
1340 entry in `tramp-connection-properties'.
1341
1342 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1343
1344 * progmodes/python.el (python-indent-context):
1345 Fix python-info-line-ends-backslash-p call.
1346 (python-info-line-ends-backslash-p)
1347 (python-info-beginning-of-backslash): Respect line-number argument.
1348 (python-info-current-line-comment-p):
1349 Fix behavior when not at beginning-of-line.
1350 (python-util-position): Remove function.
1351 (python-util-goto-line): New function.
1352
1353 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1354
1355 * eshell/em-unix.el (eshell/su): Require tramp.
1356 (eshell/sudo): Require tramp. Remove now unnecessary check.
1357
1358 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1359 `tramp-current-connection' in order to avoid an error when several
1360 commands are invoked in a short time in eshell and friends.
1361
1362 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 Cleanup some of EIEIO's namespace.
1365 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1366 Use it to define all the class-* and object-* field accessors (renamed
1367 to eieio--class-* and eieio--object-*). Update all uses.
1368 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1369 class-num-slots and object-num-slots.
1370 (eieio--check-type): New macro.
1371 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1372 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1373 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1374 (object-assoc-list-safe): Use it.
1375 (eieio-defclass): Tighten regexp.
1376 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1377 Remove unreachable code.
1378 (object-class-fast): Declare obsolete.
1379 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1380 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1381 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1382 Rename from class-name, object-name, object-set-name-string,
1383 object-class, object-class-name, class-parents, class-children,
1384 class-precedence-list, class-parent; with obsolete alias.
1385 (class-of, class-direct-superclasses, class-direct-subclasses):
1386 Declare obsolete.
1387 (eieio-defmethod): Use `memq'; remove unreachable code.
1388 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1389 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1390 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1391
1392 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1393
1394 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1395 commentary.
1396
1397 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1398
1399 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1400 Use font-lock-keyword-face for macros and special forms (bug#8345).
1401
1402 2013-02-17 Didier Verna <didier@didierverna.net>
1403
1404 * net/network-stream.el (network-stream-open-starttls):
1405 Check that response to the starttls-command is non-nil. (Bug#13706)
1406
1407 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1410 Don't assume all identifier chars have syntax word.
1411 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1412 Remove bar-not-symbol. Adjust callers.
1413 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1414
1415 2013-02-17 Leo Liu <sdl.web@gmail.com>
1416
1417 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1418
1419 2013-02-17 Glenn Morris <rgm@gnu.org>
1420
1421 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1422
1423 * image-mode.el (image-mode-map): Add image-dired menu entry.
1424
1425 * image-dired.el (tumme): Make this alias obsolete.
1426
1427 2013-02-16 Glenn Morris <rgm@gnu.org>
1428
1429 * image.el (image-animated-types): Remove.
1430 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1431 (image-animated-p): Make obsolete alias.
1432 (image-animate, image-nth-frame, image-animate-timeout):
1433 Use image-multi-frame-p.
1434 (image-animate-timeout): If no delay, use image-default-frame-delay.
1435 * image-mode.el (image-mode, image-toggle-animation):
1436 Use image-multi-frame-p. (Bug#763, bug#10739)
1437 (image-mode): Adjust startup message for a multi-frame image.
1438
1439 * image-mode.el (image-mode-map): Give it a menu.
1440
1441 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1442
1443 * net/tramp-cache.el (tramp-connection-properties): New customer
1444 option.
1445 (tramp-get-connection-property): Use it.
1446
1447 * net/tramp-compat.el (top): Require 'trampver.
1448
1449 * net/tramp-sh.el (tramp-remote-process-environment):
1450 Set tramp-autoload cookie.
1451
1452 2013-02-16 Kevin Ryde <user42@zip.com.au>
1453
1454 * info-look.el (info-lookup-select-mode): If major-mode has no
1455 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1456
1457 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1458
1459 * replace.el (read-regexp): Tighten the regexp that matches tag.
1460 When tag is retrieved with `find-tag-default', use regexp that
1461 matches tag at point. Also update docstring (Bug#13687).
1462
1463 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1464
1465 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1466 add watch for the file, not its parent directory, since w32notify
1467 sets up the watch for the directory internally. (Bug#13725)
1468
1469 2013-02-16 Glenn Morris <rgm@gnu.org>
1470
1471 * image.el (image-default-frame-delay): New variable.
1472 (image-animated-p): Use image-default-frame-delay.
1473 (image-minimum-frame-delay): New constant.
1474 (image-animate-timeout): Use image-minimum-frame-delay.
1475
1476 * image.el (image-nth-frame): New, split from image-animate-timeout.
1477 (image-animate-timeout): Use image-nth-frame.
1478 * image-mode.el (image-goto-frame, image-next-frame)
1479 (image-previous-frame): New commands.
1480 (image-mode-map): Add new frame commands.
1481
1482 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1483
1484 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1485 If col-desc already has help-echo, use it. (Bug#13563)
1486
1487 2013-02-16 Glenn Morris <rgm@gnu.org>
1488
1489 * image.el (image-current-frame): New variable.
1490 (image-animate-timeout): Set image-current-frame.
1491 * image-mode.el (image-mode): For animated images,
1492 display a frame counter via mode-line-process.
1493
1494 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1495
1496 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1497
1498 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1499
1500 2013-02-15 Alan Mackenzie <acm@muc.de>
1501
1502 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1503 global minor mode has been enabled, call the minor mode function
1504 for a new buffer once only, after the major mode hook, whilst
1505 allowing that hook explicitly to disable the minor mode.
1506 (MODE-disable-in-buffer): New (generated) function.
1507 (disable-MODE): New (generated) buffer local variable.
1508
1509 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1510
1511 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1512 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1513 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1514 `ido-next-match' and `ido-prev-match' resply.
1515 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1516 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1517 `icomplete-backward-completions' (Bug#13708).
1518
1519 2013-02-15 Glenn Morris <rgm@gnu.org>
1520
1521 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1522
1523 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1526 (goto-address-fontify-region): Use them instead of narrowing, so
1527 syntax-ppss has access to the whole buffer.
1528
1529 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1530
1531 * progmodes/python.el: Explain how to restore "cc-mode"-like
1532 forward-sexp movement in header documentation (Bug#13642).
1533 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1534 comments and strings (GH bug 114).
1535
1536 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1537
1538 * progmodes/python.el (python-info-current-defun): Fix current
1539 defun detection (Bug#13618).
1540
1541 2013-02-15 Chong Yidong <cyd@gnu.org>
1542
1543 * xml.el (xml-parse-string): Fix typo in handling of bad character
1544 references.
1545
1546 2013-02-15 Glenn Morris <rgm@gnu.org>
1547
1548 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1549
1550 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1551
1552 * net/tramp.el (tramp-debug-message):
1553 Add `tramp-condition-case-unless-debug'.
1554 (tramp-debug-on-error): New defvar.
1555 (tramp-condition-case-unless-debug): New defun.
1556 (tramp-file-name-handler): Use it.
1557
1558 2013-02-14 Juri Linkov <juri@jurta.org>
1559
1560 * info.el (Info-isearch-filter): Treat non-nil values of
1561 `search-invisible' including its default value `open'
1562 like the value `t' to match hidden text. (Bug#13402)
1563
1564 2013-02-14 Glenn Morris <rgm@gnu.org>
1565
1566 * help-fns.el (find-lisp-object-file-name): Give special treatment
1567 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1568
1569 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1570
1571 * net/quickurl.el (quickurl-save-urls):
1572 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1573
1574 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1575
1576 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1577 depth for unfinished percent literal. Not using it in the caller.
1578 (ruby-move-to-block): Jump over multiline literals of all types,
1579 ignoring code-looking contents inside them.
1580 (ruby-add-log-current-method): Improve performance at the expense
1581 of accuracy. `ruby-block-contains-point' is relatively slow, so
1582 only use it for method and singleton class blocks.
1583
1584 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1585
1586 Use ControlMaster where applicable. (Bug#13677)
1587
1588 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1589 replacing `tramp-detect-ssh-controlmaster'.
1590 (tramp-default-method): Use it.
1591
1592 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1593 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1594 arguments.
1595 [scpc, rsyncc]: Remove methods.
1596 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1597 and "ssh2_old".
1598 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1599 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1600
1601 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/package.el (package--initialized): Move before first use.
1604
1605 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1606
1607 * icomplete.el (icomplete-hide-common-prefix): New user option.
1608 (icomplete-first-match): New face.
1609 (icomplete-completions): Correct handling of "complete but not
1610 unique" (Bug#12638).
1611
1612 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1613
1614 * descr-text.el (describe-char): Display the script (bug#13698).
1615
1616 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * tmm.el: Use lexical-binding and current-active-maps.
1619 (tmm-menubar): Use map-keymap and pcase.
1620 (tmm--completion-table): New function.
1621 (tmm-prompt): Use it to fix the menu order.
1622 (tmm-get-keybind): Use current-active-maps.
1623
1624 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1625
1626 Add dired-hide-details-mode. (Bug#6799)
1627
1628 * locate.el (locate-mode): Set parent mode property to dired-mode.
1629
1630 * find-dired.el (find-dired): Call dired-insert-set-properties on
1631 initial information line. Set process mark on end of buffer.
1632 (find-dired-sentinel):
1633 Call dired-insert-set-properties on summary.
1634
1635 * dired.el (dired-hide-details-hide-symlink-targets)
1636 (dired-hide-details-hide-information-lines): New options.
1637 (dired-insert-directory):
1638 Set properties after final treatment of output.
1639 (dired-insert-set-properties):
1640 Set dired-hide-details-* properties.
1641 (dired-mode-map): Bind dired-hide-details-mode.
1642 (dired-mode): Set buffer-invisibility-spec to a list.
1643 (dired-next-line): Skip hidden lines.
1644 (dired-previous-line): Use dired-next-line.
1645 (dired-hide-details-mode): New minor mode.
1646 (dired-hide-details-update-invisibility-spec): New function.
1647
1648 2013-02-13 Glenn Morris <rgm@gnu.org>
1649
1650 * play/yow.el: Move to obsolete/. (Bug#9384)
1651
1652 2013-02-13 Juri Linkov <juri@jurta.org>
1653
1654 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1655 to select `ediff-control-frame' and set input focus correctly on Xfce.
1656 (Bug#12218)
1657
1658 2013-02-13 Juri Linkov <juri@jurta.org>
1659
1660 * image-mode.el (image-mode-map):
1661 * doc-view.el (doc-view-mode-map):
1662 * vc/ediff-util.el (ediff-setup-keymap):
1663 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1664
1665 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1666
1667 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1668 performance. Instead of recalculating indentation fully for each
1669 line, sum up indentation depth based only on visited lines.
1670 (ruby-parse-partial): Increase the depth after "do" even when END
1671 is right after it.
1672 (ruby-parse-partial): When END is in the middle of a percent
1673 literal, increase the depth if the delimiter chars belong to the
1674 paren syntax class.
1675
1676 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1677
1678 * play/fortune.el (fortune-compile): Also make the compiled file
1679 if it does not exist at all, not just if it is old. (Bug#5338)
1680
1681 2013-02-13 Glenn Morris <rgm@gnu.org>
1682
1683 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1684
1685 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1686
1687 * lisp/emacs-lisp/package.el (package-menu-execute):
1688 Add optional noquery argument. (Bug#13625)
1689
1690 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1691
1692 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1693 if DIR exists and PARENTS is non-nil.
1694
1695 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1696
1697 * progmodes/js.el (js--multi-line-declaration-indentation):
1698 Silence byte-compiler warning.
1699
1700 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1701
1702 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1703
1704 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1705 only if it doesn't exist.
1706
1707 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1708 Set process marker.
1709
1710 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1711
1712 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1713 UserInstallation when calling soffice to work around LibreOffice
1714 bug 37531.
1715
1716 2013-02-12 Glenn Morris <rgm@gnu.org>
1717
1718 * files.el (basic-save-buffer):
1719 Offer to create a non-existing directory. (Bug#3016)
1720
1721 * calc/calc-graph.el (calc-graph-show-dumb):
1722 * calendar/calendar.el (calendar-mode-map):
1723 * cus-edit.el (custom-mode-map):
1724 * ehelp.el (electric-help-map):
1725 * emulation/vip.el (vip-mode-map):
1726 * epa.el (epa-key-list-mode-map):
1727 * info.el (Info-mode-map):
1728 * mail/rmail.el (rmail-mode-map):
1729 * mail/rmailsum.el (rmail-summary-mode-map):
1730 * man.el (Man-mode-map):
1731 * net/newst-plainview.el (newsticker-mode-map):
1732 * progmodes/cpp.el (cpp-edit-mode-map):
1733 * progmodes/grep.el (grep-mode-map):
1734 * progmodes/idlw-help.el (idlwave-help-mode-map):
1735 * simple.el (special-mode-map):
1736 * startup.el (splash-screen-keymap):
1737 * view.el (view-mode-map):
1738 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1739
1740 2013-02-11 Elias Pipping <pipping@lavabit.com>
1741
1742 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1743 (bug#13679).
1744
1745 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1748
1749 2013-02-11 Glenn Morris <rgm@gnu.org>
1750
1751 * vc/diff.el (diff-use-labels): New variable.
1752 (diff-no-select): Use --label rather than -L, and first
1753 check that it is supported. (Bug#11067)
1754
1755 * files.el (enable-dir-local-variables): New variable.
1756 (hack-dir-local-variables): Respect enable-dir-local-variables.
1757 * tutorial.el (help-with-tutorial):
1758 Ignore directory-local variables. (Bug#11127)
1759
1760 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1761 (vc-svn-global-switches): ... to here. (Bug#13513)
1762
1763 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1764
1765 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1766 Handle "foo (bar, default: xxx): " prompts.
1767
1768 2013-02-10 Chong Yidong <cyd@gnu.org>
1769
1770 * files.el (basic-save-buffer-1): Do not set
1771 buffer-file-coding-system-explicit (Bug#4533).
1772
1773 * mail/emacsbug.el (report-emacs-bug): Change binding of
1774 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1775
1776 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1777
1778 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1779 * calc/calc-units.el (calc-convert-units): Use new variable.
1780
1781 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1782
1783 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1784
1785 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1786 buffer-file-type.
1787
1788 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1789 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1790 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1791 coding-system-for-write instead.
1792
1793 * jka-compr.el (jka-compr-write-region): Don't bind
1794 buffer-file-type.
1795
1796 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1797 buffer-file-type.
1798
1799 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1800 (insert-file-contents-literally): Remove reference to
1801 file-name-buffer-file-type-alist.
1802
1803 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1804 make-obsolete.
1805 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1806 (find-buffer-file-type-coding-system): Remove references to
1807 find-buffer-file-type-match, find-buffer-file-type, and
1808 buffer-file-type.
1809 Don't put find-buffer-file-type-coding-system into
1810 file-coding-system-alist.
1811 (find-file-binary, find-file-text): Bind coding-system-for-read
1812 instead of file-name-buffer-file-type-alist.
1813
1814 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1815
1816 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1817 converter (Bug#13622).
1818 (doc-view-unoconv-program): Make obsolete alias.
1819 (doc-view-odf->pdf-converter-program): New variable.
1820 (doc-view-odf->pdf-converter-function): New variable.
1821 (doc-view-mode-p): Use it.
1822 (doc-view-odf->pdf-converter-unoconv):
1823 Rename from `doc-view-odf->pdf-converter-unoconv'.
1824 (doc-view-odf->pdf-converter-soffice): New function.
1825 (doc-view-convert-current-doc):
1826 Use `doc-view-odf->pdf-converter-function'.
1827
1828 2013-02-09 Chong Yidong <cyd@gnu.org>
1829
1830 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1831 view-echo-area-messages (Bug#13340).
1832
1833 * help.el (view-echo-area-messages): Use display-buffer.
1834
1835 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1836 (Bug#13561).
1837
1838 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1839
1840 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1841 Eval body right away, now that we do eager macroexpansion (bug#13605).
1842
1843 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1844 (fundamental-mode): Use run-mode-hooks.
1845
1846 * eshell/esh-proc.el (eshell/kill): Fix last change.
1847 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1848
1849 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1850
1851 * eshell/esh-proc.el (eshell/kill): Rewrite.
1852
1853 * eshell/em-ls.el (show-almost-all): Declare.
1854 (eshell-do-ls): Add support for -A argument.
1855
1856 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1857
1858 * icomplete.el (icomplete-forward-completions)
1859 (icomplete-backward-completions): Handle corner case (bug#13602).
1860
1861 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1862
1863 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1864 be nil. Handle this. (Bug#13636)
1865
1866 2013-02-07 Richard Stallman <rms@gnu.org>
1867
1868 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1869 `save-buffer-coding-system'.
1870
1871 2013-02-07 Alan Mackenzie <acm@muc.de>
1872
1873 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1874 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1875 (c-parse-state-get-strategy): Don't return 'BOD any more.
1876 (c-append-lower-brace-pair-to-state-cache):
1877 Extra parameter HERE instead of narrowing.
1878 Widen to top of buffer before searching backwards for a brace pair.
1879 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1880 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1881 Narrow to parameter HERE, in place of being called narrowed.
1882 (c-remove-stale-state-cache): Extra parameter HERE in place of
1883 narrowing. Check there's an open brace in the cache before
1884 searching for its match.
1885 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1886 (c-parse-state-1): Don't narrow here for 'forward strategy,
1887 instead passing extra parameter HERE to several functions.
1888 Remove 'BOD strategy.
1889
1890 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1891
1892 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1893 used to install the package.
1894
1895 2013-02-06 Glenn Morris <rgm@gnu.org>
1896
1897 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1898 if we can't get user input. (Bug#6567)
1899
1900 * startup.el (command-line): If simple.el is missing,
1901 test and warn about for some possible causes.
1902
1903 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1904
1905 * cus-start.el (all): Add ns-use-native-fullscreen.
1906
1907 2013-02-05 Glenn Morris <rgm@gnu.org>
1908
1909 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1910
1911 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1912 Fix directory creation in fallback case.
1913
1914 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1915
1916 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1917 (vc-update-change-log): Use dolist.
1918
1919 2013-02-04 Chong Yidong <cyd@gnu.org>
1920
1921 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1922 code from ffap.el.
1923 (thing-at-point-beginning-of-url-regexp): New var.
1924 (thing-at-point-uri-schemes): Update list of URI schemes.
1925 (thing-at-point-url-regexp): Variable deleted.
1926 (thing-at-point-markedup-url-regexp): Disallow newlines.
1927 (thing-at-point-newsgroup-regexp)
1928 (thing-at-point-newsgroup-heads)
1929 (thing-at-point-default-mail-uri-scheme): New variables.
1930 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1931 method to find the possible bounds of the URI at point.
1932 New optional argument to find ill-formed URIs.
1933 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1934 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1935 the scheme-adding heuristics from ffap-url-at-point.
1936 (thing-at-point--bounds-of-well-formed-url): New function.
1937 Do parens matching to decide whether to include parens in the URI
1938 (Bug#9153).
1939
1940 * ffap.el: Require thingatpt.
1941 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1942 All URI-valid characters are now recognized (Bug#5673).
1943 (ffap-string-at-point): Use use-region-p.
1944 (ffap-url-regexp): Extra character is handled by thing-at-point.
1945 (ffap-string-at-point-mode-alist): Allow parentheses.
1946 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1947 Convert to aliases; code moved to thingatpt.el.
1948 (ffap-gnus-hook): Use setq-local.
1949
1950 2013-02-04 Glenn Morris <rgm@gnu.org>
1951
1952 * emacs-lisp/ert.el (ert--explain-format-atom):
1953 Don't try to print non-characters as characters. (Bug#13543)
1954
1955 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1956
1957 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1958 (tramp-backtrace): New defun.
1959 (tramp-handle-insert-file-contents): Use `visit' when inserting
1960 the local copy.
1961
1962 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1963 Use `remote-file-name-inhibit-cache'.
1964
1965 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1966
1967 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1968 (bug#13614).
1969
1970 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1971 current-load-list (bug#13366).
1972
1973 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1974
1975 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1976 Identify g++ template instantiation trace. (Bug#12287)
1977 (compilation-mode-hook, compilation-start-hook)
1978 (compilation-window-height): Simplify docstrings. (Bug#13379)
1979
1980 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * mouse.el (mouse-drag-track): Always deactivate the mark before
1983 running the final event's command since that command is in charge of
1984 activating the mark if needed (bug#13523).
1985
1986 2013-02-02 Juri Linkov <juri@jurta.org>
1987
1988 * replace.el (perform-replace): Move let-bindings of isearch-*
1989 variables deeper to the loop that searches for the next match.
1990 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1991 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1992 (Bug#13579)
1993
1994 * isearch.el (isearch-search-fun-default): Check for null
1995 first element of isearch-cmds as a precaution when it's used
1996 with inactive isearch.
1997
1998 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1999
2000 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2001 error when buffer in question is narrowed so position 1 is out of
2002 visible part.
2003
2004 2013-02-02 Glenn Morris <rgm@gnu.org>
2005
2006 * textmodes/remember.el (remember-clipboard): Doc fix.
2007
2008 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2010 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2011 properties (bug#13179).
2012
2013 2013-02-02 Juri Linkov <juri@jurta.org>
2014
2015 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2016 instead of hard-coded default face `match'. (Bug#9438)
2017
2018 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2019
2020 * vc/vc-arch.el (vc-arch-registered):
2021 * vc/vc-bzr.el (vc-bzr-registered):
2022 * vc/vc-cvs.el (vc-cvs-registered):
2023 * vc/vc-git.el (vc-git-registered):
2024 * vc/vc-hg.el (vc-hg-registered):
2025 * vc/vc-mtn.el (vc-mtn-registered):
2026 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2027 (Bug#13139)
2028
2029 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2030 prefix argument. (Bug#11656)
2031
2032 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2033
2034 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2035
2036 2013-02-01 Glenn Morris <rgm@gnu.org>
2037
2038 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2039 if the backend is known not to support it.
2040
2041 * imenu.el (imenu-default-create-index-function):
2042 Tweak infinite loop test to check for forward motion as well as none.
2043
2044 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2045
2046 * net/soap-client.el (soap-invoke): Encode the string for
2047 `url-request-data' as UTF-8.
2048 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2049
2050 2013-02-01 Glenn Morris <rgm@gnu.org>
2051
2052 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2053
2054 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2055
2056 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2057
2058 * net/tramp.el (tramp-tramp-file-p): Comment check for
2059 `string-as-unibyte'. The function does not exist on XEmacs, and
2060 likely we need another approach.
2061
2062 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2063 `tramp-gw-*' variables are bound.
2064
2065 2013-01-31 Glenn Morris <rgm@gnu.org>
2066
2067 * files.el (basic-save-buffer-2): Choose coding system for
2068 writing the file before backing it up, to reduce delay between
2069 backing up and writing the new version. (Bug#13522)
2070
2071 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2072
2073 * simple.el (cycle-spacing): New command.
2074 (just-one-space): Use it.
2075
2076 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2077
2078 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2079 (opascal-newline-always-indents): Remove custom.
2080 (opascal-tab, opascal-newline): Remove commands.
2081 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2082 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2083 (opascal-save-match-data): Remove, use save-match-data instead.
2084 (opascal-save-state): Use with-silent-modifications.
2085
2086 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2087 (bug#13585).
2088
2089 2013-01-30 Juri Linkov <juri@jurta.org>
2090
2091 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2092 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2093 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2094
2095 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2098 column if we're just deleting the backslashes.
2099 (makefile-fill-paragraph): Use eolp.
2100
2101 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2102
2103 * autorevert.el (auto-revert-use-notify): Fix docstring.
2104
2105 2013-01-30 Leo Liu <sdl.web@gmail.com>
2106
2107 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2108
2109 2013-01-30 Glenn Morris <rgm@gnu.org>
2110
2111 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2112 unread-command-events twice in some cases. This tries to implement
2113 the 2012-07-26 changes in a different way. (Bug#13560)
2114
2115 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2116
2117 * progmodes/python.el
2118 (python-pdbtrack-comint-output-filter-function): Enhancements on
2119 stacktrace detection. (thanks @gnovak)
2120
2121 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2124 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2125 Use defvar-local.
2126 (jit-lock-register): Use setq-local.
2127
2128 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2129
2130 * calc-units.el (math-default-units-table): Remove initial value.
2131 (calc-convert-units): Treat expressions where all the units cancel as
2132 if they didn't have units.
2133
2134 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2135
2136 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2137 (tramp-completion-reread-directory-timeout): Fix type.
2138 (tramp-connection-min-time-diff): New defcustom.
2139
2140 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2141
2142 2013-01-30 Glenn Morris <rgm@gnu.org>
2143
2144 * imenu.el (imenu-default-create-index-function):
2145 Put back a version of the infinite loop test removed 2013-01-23.
2146
2147 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2148
2149 * progmodes/python.el (python-shell-parse-command):
2150 Find python-shell-interpreter with modified environment.
2151
2152 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2155
2156 2013-01-29 Alan Mackenzie <acm@muc.de>
2157
2158 Amend to fontify /regexp/s in actions correctly.
2159 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2160 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2161 are no longer included.
2162 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2163 What used to be these variables without "-line" in the name.
2164 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2165 (c-awk-non-arith-op-bra-re): Now also matches {.
2166 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2167 "return", and "case".
2168 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2169 by /.
2170 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2171 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2172
2173 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2174
2175 * autorevert.el (auto-revert-use-notify):
2176 Use `custom-initialize-default' for initialization. (Bug#13583)
2177
2178 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2179
2180 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2181 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2182 in `tramp-file-name-handler'.
2183 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2184 compatibility.
2185 (tramp-compute-multi-hops): Check, whether
2186 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2187
2188 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2191 (bug#13297).
2192
2193 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2194
2195 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2196 checks made superfluous by the \_< operator.
2197 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2198 temporarily) broken indentation.
2199 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2200 Highlight nested constants, too. \_< broke that.
2201
2202 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2203
2204 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2205 instead of "\\b".
2206
2207 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2208
2209 * autorevert.el (auto-revert-handler): Notifications which result
2210 from a saved file shall not be taken into account. (Bug#13557)
2211
2212 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2213
2214 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2215 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2216 (lisp-mode): Pass t for it. (Bug#13556)
2217
2218 2013-01-25 Alan Mackenzie <acm@muc.de>
2219
2220 AWK Mode: Fix indentation bug at top level. Bug #12274.
2221
2222 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2223 just before CASE 5D.
2224
2225 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2226
2227 * net/socks.el (socks-nslookup-host): Use string-to-number.
2228
2229 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2230
2231 * autorevert.el (auto-revert-remote-files)
2232 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2233 (auto-revert-notify-enabled, auto-revert-use-notify)
2234 (auto-revert-notify-watch-descriptor-hash-list)
2235 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2236 (auto-revert-notify-event-descriptor)
2237 (auto-revert-notify-event-action)
2238 (auto-revert-notify-event-file-name): Doc fix.
2239 (global-auto-revert-mode): Reorder checks.
2240 (auto-revert-notify-rm-watch): Respect changed values of
2241 `auto-revert-notify-watch-descriptor-hash-list'.
2242 (auto-revert-notify-add-watch): Check for
2243 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2244 `inotify-add-watch'. Watch `default-directory' instead of
2245 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2246 has a changed meaning now. (Bug#13540)
2247 (auto-revert-notify-handler): Change implementation wrt events
2248 returning from a directory.
2249 (auto-revert-handler): Reorder implementation for checks of remote
2250 files.
2251 (auto-revert-buffers): Fix parentheses error.
2252
2253 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2254
2255 * progmodes/python.el: Enhancements to header documentation about
2256 skeletons. (Bug#5716)
2257
2258 * imenu.el (imenu-default-create-index-function): Remove useless
2259 infinite loop check. (Bug#13438)
2260
2261 2013-01-25 Alan Mackenzie <acm@muc.de>
2262
2263 Fix a bug in the state cache mechanism. Refactor this a bit.
2264
2265 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2266 `cache-pos' element from the return value.
2267 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2268 buffer to enable proper searching from beyond HERE. Amend the
2269 test for detecting the sought brace pair. Amend the value written
2270 to the "brace desert cache" when the brace isn't found.
2271 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2272 and several other variables analogously.
2273 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2274 parameter to a locally calculated variable.
2275 (c-parse-state-1): Change the calling conventions to the two
2276 defuns involving `cache-pos'.
2277
2278 2013-01-25 Chong Yidong <cyd@gnu.org>
2279
2280 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2281
2282 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2283
2284 * paren.el (show-paren-function): Make sure to set 'priority and
2285 'face only if the overlay does exist.
2286
2287 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2288
2289 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2290
2291 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2292 basic attributes.
2293 (tramp-sh-handle-set-file-acl): Improve error checking.
2294
2295 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2296
2297 * doc-view.el (doc-view-display): Force mode line update until all
2298 document is converted. Suggested by Stefan Monnier (Bug#13164).
2299
2300 2013-01-23 Bastien Guerry <bzg@gnu.org>
2301
2302 * paren.el (show-paren-function): Make sure an overlay exists
2303 before trying to delete it. Also use `pos' as a position only
2304 when it is an integer.
2305
2306 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2307
2308 * play/gametree.el (gametree-break-line-here): Use point-marker.
2309
2310 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2311
2312 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2313 Mark descriptive parts with `display' property.
2314
2315 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2316
2317 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2318 New variable to map standard dict names to hunspell ones.
2319 (ispell-set-spellchecker-params): Make sure specific dict names
2320 are used for standard dicts with hunspell.
2321
2322 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2323
2324 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2325 chars for note (%N) and url (%U).
2326 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2327
2328 2013-01-21 Juri Linkov <juri@jurta.org>
2329
2330 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2331 in addition to existing separate binding `meta f10' in `global-map'.
2332 (Bug#13484)
2333
2334 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2335
2336 Improve XEmacs compatibility.
2337
2338 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2339
2340 * net/tramp-adb.el (top): Require `time-date'.
2341 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2342 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2343 Use `tramp-file-name-handler'.
2344 (tramp-adb-maybe-open-connection):
2345 Use `tramp-compat-set-process-query-on-exit-flag'.
2346
2347 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2348 Use `tramp-compat-funcall'.
2349
2350 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2351 `tramp-compat-funcall'.
2352
2353 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2354
2355 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2356 reimplementation using "adb shell command ..." instead of running
2357 remote shell interactively.
2358
2359 2013-01-20 Glenn Morris <rgm@gnu.org>
2360
2361 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2362 Add native profiler menu entries.
2363
2364 * profiler.el (profiler-running-p): New function.
2365 (profiler-cpu-profile): Use profiler-running-p.
2366 (profiler-report-mode-map): Add some more menu entries.
2367
2368 2013-01-19 Glenn Morris <rgm@gnu.org>
2369
2370 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2371 fixes 2012-12-07 change. (Bug#13499)
2372
2373 2013-01-19 Leo Liu <sdl.web@gmail.com>
2374
2375 * dired.el (dired-get-marked-files): Prune erroneous values due to
2376 last change. (Bug#13152)
2377
2378 2013-01-19 Glenn Morris <rgm@gnu.org>
2379
2380 * progmodes/etags.el (tags-table-check-computed-list):
2381 Preserve point in tags buffer. (Bug#13412)
2382
2383 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2384
2385 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2386 Chong Yidong <cyd@gnu.org>
2387
2388 * image-mode.el (image-next-file, image-previous-file):
2389 New commands (Bug#8453).
2390 (image-mode-map): Bind them to n and p.
2391 (image-mode--images-in-directory): New helper function.
2392
2393 2013-01-19 Chong Yidong <cyd@gnu.org>
2394
2395 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2396 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2397 save and restore the old window configuration.
2398
2399 2013-01-18 Leo Liu <sdl.web@gmail.com>
2400
2401 * progmodes/js.el: Tweak autoload cookie for alias.
2402
2403 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2404
2405 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2406 buffer local, again. This was lost with the fix on 2013-01-12.
2407
2408 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2409
2410 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2411 order to support several eshell buffers in parallel.
2412
2413 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2414
2415 * autorevert.el (auto-revert-use-notify): In the :set function, do
2416 not modify `kill-buffer-hook'.
2417 (auto-revert-notify-rm-watch):
2418 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2419 (auto-revert-notify-add-watch): Do not call
2420 `auto-revert-notify-rm-watch', but add it to a buffer local
2421 `kill-buffer-hook'.
2422
2423 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2426 call to `eval' rather than a backquoted lambda.
2427
2428 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2431 to return an explicit nil.
2432 (advice--remove-function): Change accordingly.
2433
2434 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2435 the use of nadvice.el.
2436
2437 * progmodes/which-func.el (which-function): Silence imenu errors
2438 (bug#13433).
2439
2440 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2441
2442 * progmodes/sql.el (sql-imenu-generic-expression):
2443 (sql-mode-font-lock-object-name): Match schema qualified names.
2444 (sql-connect): Use string keys.
2445 (sql-product-interactive): Wait for interpreter prompt.
2446 (sql-comint-oracle): Set process coding based on NLS_LANG.
2447
2448 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2449
2450 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2451 (sql-interactive-remove-continuation-prompt):
2452 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2453
2454 2013-01-14 Leo Liu <sdl.web@gmail.com>
2455
2456 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2457 (Bug#13420)
2458
2459 2013-01-14 Glenn Morris <rgm@gnu.org>
2460
2461 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2462 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2463
2464 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2465
2466 * progmodes/python.el (python-nav-end-of-statement):
2467 Fix cornercase when handling multiline strings.
2468
2469 2013-01-13 Richard Stallman <rms@gnu.org>
2470
2471 * mail/sendmail.el (mail-position-on-field): Add doc string.
2472
2473 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2474 Get current message boundaries and pass them to
2475 message-forward-make-body-mime. Minor style changes.
2476
2477 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2478
2479 * cus-start.el (all): Avoid warnings about
2480 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2481
2482 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2483
2484 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2485
2486 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2487
2488 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2489 (jit-lock--debug-fontifying): New var.
2490 (jit-lock--debug-fontify): New function.
2491 * subr.el (condition-case-unless-debug): Don't prevent catching the
2492 error, just let the debbugger run.
2493 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2494 timer code and don't drop errors silently.
2495
2496 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2497
2498 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2499 `permanent-local' property.
2500 (auto-revert-notify-handler): Use `file-equal-p'.
2501
2502 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2503
2504 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2505 file notification by ACTION. For filtering by file name, compare
2506 only the non-directory part of the file name.
2507
2508 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * autorevert.el: Use cl-lib instead of cl.
2511
2512 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2513 (vc-bzr-checkin): Use it.
2514 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2515 will preserve match-data.
2516
2517 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2518
2519 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2520 (js--declaration-keyword-re): New var.
2521 (js--multi-line-declaration-indentation): New function.
2522 (js--proper-indentation): Use it.
2523
2524 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2525
2526 * calc/calc.el (calc-highlight-selections-with-faces)
2527 (calc-dispatch):
2528 * comint.el (comint-history-isearch-message):
2529 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2530 * ffap.el (ffap-string-at-point-region, ffap-next)
2531 (ffap-string-at-point, ffap-string-around)
2532 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2533 (ffap-literally):
2534 * font-lock.el (font-lock-keywords-alist)
2535 (font-lock-removed-keywords-alist):
2536 * help-mode.el (help-xref-symbol-regexp):
2537 * info.el (Info-find-emacs-command-nodes):
2538 * international/mule.el (add-to-coding-system-list):
2539 * isearch.el (isearch-message-function, isearch-fail-pos):
2540 * misearch.el (multi-isearch-next-buffer-function):
2541 * newcomment.el (comment-box):
2542 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2543 (pr-setting-database):
2544 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2545 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2546 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2547 (pike-font-lock-keywords-3):
2548 * progmodes/compile.el (compile):
2549 * progmodes/etags.el (tags-table-files)
2550 (tags-table-files-function, tags-included-tables-function):
2551 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2552 (gdb-restore-windows):
2553 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2554 (ps-n-up-filling-database):
2555 * server.el (server-buffer, server-log):
2556 * simple.el (newline, delete-backward-char, delete-forward-char)
2557 (minibuffer-history-isearch-message, kill-line, track-eol)
2558 (temporary-goal-column):
2559 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2560 (flyspell-default-deplacement-commands):
2561 * textmodes/ispell.el (ispell-accept-output):
2562 * textmodes/sgml-mode.el (html-tag-help):
2563 * vc/compare-w.el (compare-ignore-whitespace)
2564 (compare-ignore-case, compare-windows-dehighlight):
2565 * vc/diff.el (diff):
2566 * whitespace.el (whitespace-point)
2567 (whitespace-font-lock-refontify, whitespace-bob-marker)
2568 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2569
2570 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2571
2572 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2573 (auto-revert-notify-rm-watch): Ignore errors.
2574 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2575 inotify, and '(size last-write-time) for w32notify.
2576 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2577 watch fails - this is a fallback to the file modification check.
2578 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2579 (auto-revert-notify-event-action)
2580 (auto-revert-notify-event-file-name): New defuns.
2581 (auto-revert-notify-handler): Use them. Implement first
2582 plausibility checks.
2583 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2584
2585 2013-01-11 Julien Danjou <julien@danjou.info>
2586
2587 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2588 max are almost equal. Also return the correct value for V which is
2589 already between 0 and 1.
2590
2591 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2592
2593 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2594
2595 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2596
2597 * autorevert.el (auto-revert-notify-rm-watch)
2598 (auto-revert-notify-add-watch): Fix typos in w32notify function
2599 names.
2600
2601 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2602
2603 * autorevert.el (auto-revert-notify-enabled): Move up.
2604 (auto-revert-use-notify): New defcustom.
2605 (auto-revert-mode, global-auto-revert-mode)
2606 (auto-revert-notify-add-watch, auto-revert-handler)
2607 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2608 `auto-revert-notify-enabled'.
2609
2610 2013-01-10 Elias Pipping <pipping@exherbo.org>
2611
2612 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2613 * doc-view.el (doc-view-document->bitmap):
2614 Use doc-view-single-page-converter-function instead of
2615 single-page-converter arg; adjust callers.
2616
2617 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2618
2619 * progmodes/which-func.el (which-function): Understand Semantic's use
2620 of overlays in imenu--index-alist.
2621
2622 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2623
2624 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2625 (Man-man-k-use-anchor): New var.
2626 (Man-parse-man-k): New function.
2627 (Man-completion-table): Use it.
2628 (man): Flush the completion cache between uses.
2629
2630 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2631
2632 * autorevert.el: Add file watch support.
2633 (auto-revert-notify-enabled): New defconst.
2634 (auto-revert-notify-watch-descriptor-hash-list)
2635 (auto-revert-notify-watch-descriptor)
2636 (auto-revert-notify-modified-p): New defvars.
2637 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2638 (auto-revert-notify-handler): New defuns.
2639 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2640 when mode is disabled.
2641 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2642 (auto-revert-buffers): Add file watches for active buffers.
2643
2644 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2645
2646 * cus-start.el (toplevel): Only allow float values for
2647 scroll-up-aggressively and scroll-down-aggressively.
2648 Allow any number for line-spacing.
2649
2650 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2653 (doc-view-pdf->png-converter-function): Use mupdf if available.
2654 (doc-view-djvu->png-converter-function)
2655 (doc-view-ps->png-converter-function): Remove.
2656 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2657 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2658 (doc-view-already-converted-p): Adjust accordingly.
2659 (doc-view-mode-p): Simplify.
2660 (doc-view-enlarge): Use setq-local.
2661 (doc-view-pdf->png-converter-ghostscript)
2662 (doc-view-djvu->png-converter-ddjvu)
2663 (doc-view-pdf->png-converter-mupdf): Rework to call
2664 doc-view-start-process directly.
2665 (doc-view-pdf/ps->png): Simplify accordingly.
2666 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2667 (doc-view-document->bitmap): Rename from doc-view-document->png.
2668 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2669 (doc-view-set-slice-from-bounding-box): Fix completion table.
2670 (doc-view-mode): Use add-hook for after-revert-hook.
2671
2672 2013-01-10 Glenn Morris <rgm@gnu.org>
2673
2674 * emacs-lisp/authors.el (authors-ignored-files)
2675 (authors-valid-file-names, authors-renamed-files-alist):
2676 Add some more entries.
2677
2678 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2681 `t' pseudo-window entry.
2682
2683 2013-01-10 Alan Mackenzie <acm@muc.de>
2684
2685 Fix bugs in the c-parse-state mechanism. Reuse some markers
2686 instead of continually generating new ones.
2687
2688 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2689 (c-state-old-cpp-end-marker): New variables.
2690 (c-append-lower-brace-pair-to-state-cache): Start a backward
2691 search for "}" definitively outside CPP constructs.
2692 (c-remove-stale-state-cache): Inform the caller of a need to
2693 search back for a brace pair in certain circumstances.
2694 (c-state-maybe-marker): New macro.
2695 (c-parse-state): Reuse markers when appropriate.
2696
2697 2013-01-10 Glenn Morris <rgm@gnu.org>
2698
2699 * simple.el (execute-extended-command): Doc fix.
2700 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2701
2702 2013-01-10 Chong Yidong <cyd@gnu.org>
2703
2704 * faces.el (read-face-name): Doc fix.
2705
2706 2013-01-10 Roland Winkler <winkler@gnu.org>
2707
2708 * emacs-lisp/crm.el: Allow any regexp for separators.
2709 (crm-default-separator): All spaces around the default comma separator.
2710 (crm--completion-command): New macro.
2711 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2712 (crm-complete-and-exit): Handle non-single-char separators.
2713
2714 2013-01-09 Elias Pipping <pipping@lavabit.com>
2715
2716 * doc-view.el: Add support for DjVu (bug#13164).
2717 (doc-view-djvu->png-converter-function): New config var.
2718 (doc-view-single-page-converter-function, doc-view--image-type)
2719 (doc-view--image-file-extension): New vars.
2720 (doc-view-mode): Initialize them.
2721 (doc-view-goto-page): Use them.
2722 (doc-view-mode-p): Add support for ddjvu.
2723 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2724 (doc-view-set-up-single-converter): New funs.
2725 (doc-view-pdf/ps->png): Extend for djvu.
2726 (doc-view-document->png): Rename from doc-view-pdf->png.
2727 (doc-view-convert-current-doc): Handle djvu.
2728 (doc-view-insert-image, doc-view-display)
2729 (doc-view-already-converted-p): Don't hardcode png.
2730 (doc-view-set-doc-type): Recognize djvu docs.
2731
2732 2013-01-09 Elias Pipping <pipping@lavabit.com>
2733
2734 * doc-view.el: Add support for mupdf converter (bug#13164).
2735 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2736 (doc-view-ps->png-converter-function): New config vars.
2737 (doc-view-pdf->png-converter-ghostscript)
2738 (doc-view-ps->png-converter-ghostscript)
2739 (doc-view-pdf->png-converter-mupdf): New functions.
2740 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2741
2742 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2743
2744 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2745 first in session cache: When `tramp-own-remote-path' is in
2746 `tramp-remote-path', the remote path is only set in the session
2747 cache.
2748
2749 2013-01-09 Glenn Morris <rgm@gnu.org>
2750
2751 * emacs-lisp/trace.el (trace-function-foreground)
2752 (trace-function-background): Doc fix.
2753
2754 2013-01-09 Juri Linkov <juri@jurta.org>
2755
2756 * international/mule-cmds.el (read-char-by-name): Move let-binding
2757 of completion-ignore-case around completing-read to fix regression
2758 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2759 `string-match-p' using the nil value of `case-fold-search' and
2760 `completion-ignore-case' in `completion-pcm--all-completions'.
2761 (Bug#12615).
2762
2763 2013-01-09 Glenn Morris <rgm@gnu.org>
2764
2765 * progmodes/compile.el (compilation-parse-errors):
2766 Fix typo. (Bug#13369)
2767
2768 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2769
2770 * comint.el (comint-send-input): Check size of buffer before
2771 waiting for process output, in case already accepted. (Bug#13290)
2772
2773 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2774
2775 Spelling fixes.
2776 * net/tramp-adb.el (tramp-adb-get-toolbox):
2777 Fix misspelling of 'unknown'.
2778
2779 2013-01-08 Juri Linkov <juri@jurta.org>
2780
2781 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2782 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2783 Use underline style wave on terminals that support it. (Bug#13000)
2784
2785 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2788 the predicate returns nil.
2789
2790 * simple.el: Use lexical-binding.
2791 (primitive-undo): Use pcase.
2792 (minibuffer-history-isearch-push-state): Use a closure.
2793
2794 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2795
2796 * simple.el (primitive-undo): Move from undo.c.
2797
2798 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2801 (cvs-mode-remove-handled): Use it (bug#13380).
2802
2803 * emacs-lisp/nadvice.el (advice--tweak): New function.
2804 (advice--remove-function, advice--subst-main): Use it.
2805
2806 * emacs-lisp/advice.el: Update commentary.
2807
2808 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2809
2810 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2811 Remove spurious entry.
2812
2813 2013-01-08 Glenn Morris <rgm@gnu.org>
2814
2815 * net/tramp.el (tramp-default-host-alist): Add :version.
2816
2817 2013-01-08 Juri Linkov <juri@jurta.org>
2818
2819 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2820 single completion. (Bug#12456)
2821 (info--manual-names): Expand node completions into an explicit list
2822 before appending it to another list. Filter out internal buffers
2823 with the leading space in the buffer name. (Bug#10771)
2824
2825 2013-01-08 Juri Linkov <juri@jurta.org>
2826
2827 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2828 that defaults to the Top node.
2829 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2830 the short format (FILENAME) goes to the Top node.
2831 (Info-build-node-completions): Rename arg `file' to `filename'.
2832 (Bug#13365)
2833
2834 2013-01-07 Bastien Guerry <bzg@gnu.org>
2835
2836 * menu-bar.el (menu-bar-search-documentation-menu):
2837 Use `apropos-user-option' and fix the help message.
2838
2839 2013-01-07 Bastien Guerry <bzg@gnu.org>
2840
2841 * apropos.el (apropos-do-all): Update docstring.
2842 (apropos-user-option-button): New face.
2843 (apropos-user-option): Rename from `apropos-variable' and update
2844 docstring.
2845 (apropos-variable): Rewrite, now show all variables by default.
2846 (apropos-print): Mention "User option" instead of "Variable" when
2847 printing doc for user options. (Bug#13276)
2848
2849 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2850
2851 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2852 Handle filename correctly, when parsing "source -> target" symlink
2853 output.
2854 (tramp-adb-handle-set-file-times): New defun.
2855
2856 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2859 advice list when the interactive-spec of ad-Advice-* changes.
2860
2861 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2862
2863 * wid-edit.el (widget-default-get): Work for inlined elements.
2864 (Bug#12670)
2865
2866 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2867
2868 * net/tramp.el (tramp-default-host-alist): New defcustom.
2869 (tramp-find-host): Use it.
2870 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2871 `eshell-directory-change-hook'.
2872
2873 * net/tramp-adb.el (top): Add adb specific entry in
2874 `tramp-default-host-alist'.
2875 (tramp-adb-file-name-host): Remove function.
2876 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2877 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2878
2879 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2880
2881 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2882
2883 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2884
2885 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2886
2887 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2888 consist of more than one digit.
2889 (tramp-adb-file-name-handler-alist):
2890 Use `tramp-handle-file-exists-p' consistently.
2891 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2892 (tramp-adb-handle-file-exists-p): Remove function.
2893 (tramp-adb-file-name-host): New defun.
2894 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2895 Use it.
2896 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2897
2898 2013-01-06 Chong Yidong <cyd@gnu.org>
2899
2900 * vc/vc.el (vc-next-action): Detect buffer modifications
2901 conflicting with locking VCS operation (Bug#11490).
2902
2903 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2904
2905 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2906
2907 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2908 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2909
2910 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2911
2912 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2913 parsing of ls output using regular expression (handle filenames
2914 with spaces). Use virtual device number.
2915 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2916 cleanup).
2917
2918 2013-01-04 Daiki Ueno <ueno@gnu.org>
2919
2920 * epg.el: Silence byte-compiler warnings.
2921 (epg--start): Use delete-char instead of delete-backward-char.
2922 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2923
2924 2013-01-04 Daiki Ueno <ueno@gnu.org>
2925
2926 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2927 Suggested by Eli Zaretskii <eliz@gnu.org>.
2928
2929 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2930
2931 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2932 non-negative integers. Otherwise, the default values are used.
2933 (tramp-convert-file-attributes): Convert uid and gid to integers.
2934
2935 2013-01-04 Glenn Morris <rgm@gnu.org>
2936
2937 * term.el (term-handle-colors-array): Ensure face attributes
2938 are fully specified, not nil. (Bug#13337)
2939
2940 * term.el (term-default-fg-color, term-default-bg-color):
2941 Fix custom type.
2942
2943 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2944 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2945 rather than 'jka-compr being loaded. (Bug#13338)
2946
2947 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2948
2949 * icomplete.el (icomplete-completions):
2950 Honor icomplete-prospects-height once more following
2951 2012-11-29 changes. (Bug#13224)
2952
2953 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2954
2955 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2956 of called-interactively-p as well (bug#13237).
2957
2958 * view.el (view--enable, view--disable): Rename from view-mode-enable
2959 and view-mode-disable and assume it's called from view-mode.
2960 (view-mode-enable, view-mode-disable): Redefine as obsolete
2961 compatibility layer above view-mode.
2962 (view-mode-enter): Call `view-mode'.
2963
2964 * files.el (after-find-file): Call `view-mode'.
2965
2966 * doc-view.el (doc-view-scale-internally): New var.
2967 (doc-view-enlarge, doc-view-insert-image): Obey it.
2968
2969 2013-01-03 Daiki Ueno <ueno@gnu.org>
2970
2971 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2972 exist. (Bug#13344)
2973
2974 2013-01-03 Glenn Morris <rgm@gnu.org>
2975
2976 * mail/rmail.el (rmail-set-header-1): Ignore case.
2977 Handle multi-line headers. (Bug#13330)
2978
2979 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2980 Handle paragraph starting at beginning of buffer.
2981
2982 * subr.el (eval-after-load): Don't purecopy the form, so that it
2983 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2984
2985 * emacs-lisp/byte-run.el (defun): Place cl declarations
2986 after any interactive spec. (Bug#13265)
2987
2988 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2989
2990 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2991 defun. Don't check for DECL if DOCSTRING isn't a string.
2992 (defun): Likewise.
2993
2994 2013-01-02 Glenn Morris <rgm@gnu.org>
2995
2996 * eshell/em-cmpl.el (eshell-pcomplete):
2997 More thoroughly imitate pcomplete. (Bug#13293)
2998
2999 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3000 Return nil for empty path elements. (Bug#13296)
3001
3002 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3003
3004 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3005 order to improve efficiency (Based on Daniel Colascione's
3006 <dancol@dancol.org> patch). (Bug#13182)
3007
3008 2013-01-02 Glenn Morris <rgm@gnu.org>
3009
3010 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3011
3012 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3013
3014 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3015 neither DOCSTRING nor DECL was given. (Bug#13316)
3016
3017 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3018
3019 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3020 `error' call.
3021 (tramp-do-copy-or-rename-file): Ignore errors when calling
3022 `set-file-extended-attributes'.
3023
3024 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3025 Add handler for `file-acl'.
3026 (tramp-smb-handle-file-acl): New defun.
3027
3028 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3029
3030 * calc/README: Mention ISO 8601 week-numbering dates.
3031
3032 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3033
3034 * view.el (view-mode-enable): New argument run-view-mode-hook.
3035 Run view-mode-hook only when it's non-nil (Bug#13315).
3036 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3037 argument t.
3038
3039 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3040
3041 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3042 (No device connected, invalid device name). (Bug #13299)
3043
3044 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3045
3046 * window.el (window-resizable--p): Rename to window-resizable-p.
3047 (window-resize-no-error): New function.
3048
3049 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3050 broken in fix from 2012-12-28.
3051
3052 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * subr.el (special-form-p): Don't signal errors on undef aliases.
3055
3056 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3057
3058 * calc/calc-forms.el (math-parse-date): Try using
3059 `math-parse-iso-date' when it looks like it might be needed.
3060 Allow times of 24:00.
3061 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3062 of 24:00.
3063
3064 2012-12-30 Glenn Morris <rgm@gnu.org>
3065
3066 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3067 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3068 (rmail-summary-displayed, rmail-summary): Declare.
3069 (mairix-rmail-display): Just require rmail.
3070
3071 2012-12-30 Chong Yidong <cyd@gnu.org>
3072
3073 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3074 check for the tarball contents.
3075
3076 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3077
3078 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3079 tarfile content listings (Bug#13136).
3080
3081 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3082
3083 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3084 Insert the undecoded text of the message being forwarded. (Bug#9521)
3085
3086 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3089 integers, if they are real numbers. (Bug#13282)
3090
3091 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3092 Return `t' on success.
3093
3094 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3095 Add handler for `set-file-selinux-context'.
3096
3097 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3098
3099 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3100 (tramp-sh-handle-set-file-acl): Return `t' on success.
3101
3102 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3103
3104 * files.el (backup-buffer-copy, basic-save-buffer-2):
3105 If set-file-extended-attributes fails, fall back on set-file-modes
3106 instead of signaling an error. (Bug#13298)
3107 (basic-save-buffer): Likewise.
3108
3109 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3110
3111 * progmodes/python.el: Support other commands triggering
3112 python-indent-line so indentation cycling continues to work.
3113 (python-indent-trigger-commands): New defcustom.
3114 (python-indent-line): Use it.
3115
3116 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3117
3118 * progmodes/python.el (python-shell-send-region): Add blank lines
3119 for non sent code so backtraces remain correct.
3120
3121 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3122
3123 * progmodes/python.el: Remove cl dependency.
3124 (python-syntax-count-quotes): Replace incf call.
3125 (python-fill-string): Replace setf call.
3126
3127 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3128
3129 * info.el (info-other-window): New arg, for consistency with info.
3130
3131 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3132
3133 * mail/rmail.el (rmail-maybe-display-summary):
3134 Rewrite (Bug#13066).
3135
3136 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3137
3138 * epg.el (epg--start): Modify process-environment locally.
3139
3140 2012-12-28 Daiki Ueno <ueno@gnu.org>
3141
3142 * epg.el: Support pinentry-curses.
3143 Suggested by Werner Koch in
3144 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3145 (epg-agent-file, epg-agent-mtime): New variable.
3146 (epg--start): Record the modified time of gpg-agent socket file,
3147 to restore Emacs frame after pinentry-curses termination.
3148 (epg-wait-for-completion): Restore Emacs frame here.
3149
3150 2012-12-27 Juri Linkov <juri@jurta.org>
3151
3152 * info.el (Info-file-completions): New variable.
3153 (Info-read-node-name-1): Complete node names in the Info file
3154 when a file name is given. Call `Info-build-node-completions'
3155 with a file name.
3156 (Info-build-node-completions): Add new arg `file'. When it is
3157 non-nil, visit it in a temporary buffer and cache its completions in
3158 `Info-current-file-completions'. Move most of the function body to
3159 `Info-build-node-completions-1'.
3160 (Info-build-node-completions-1): New function with the body from
3161 `Info-build-node-completions'. (Bug#12456)
3162
3163 2012-12-27 Juri Linkov <juri@jurta.org>
3164
3165 * frame.el (frame-maximization-style): Remove user option.
3166 (cycle-frame-maximized): Remove function.
3167 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3168 (toggle-frame-fullscreen): New command bound to <f11> instead of
3169 `toggle-frame-maximized'.
3170 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3171
3172 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3173
3174 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3175
3176 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3177 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3178 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3179 for `file-accessible-directory-p'. (Bug#13275)
3180
3181 2012-12-27 Sam Steingold <sds@gnu.org>
3182
3183 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3184 continuations, see <http://stackoverflow.com/questions/3582436>.
3185
3186 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3187
3188 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3189 "module" and "def" to have indentation before them.
3190 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3191
3192 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3193
3194 2012-12-27 Alan Mackenzie <acm@muc.de>
3195
3196 Speed up fontification where there's large brace blocks.
3197 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3198 to a call of c-beginning-of-decl-1.
3199
3200 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3201
3202 * comint.el (comint-adjust-window-point): New function.
3203 (comint-postoutput-scroll-to-bottom):
3204 Call comint-adjust-window-point (Bug#13248).
3205
3206 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3207
3208 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3209 Rakefile regexp.
3210 (auto-mode-alist): Associate .gemspec files with ruby-mode
3211 (https://bugs.ruby-lang.org/issues/5453).
3212
3213 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3214
3215 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3216 Suppress coloring, if possible (required for BusyBox based systems like
3217 CyanogenMod).
3218 (tramp-adb-handle-file-attributes)
3219 (tramp-adb-handle-insert-directory)
3220 (tramp-adb-handle-file-name-all-completions): Use it.
3221 (tramp-adb-get-toolbox): New defun. Check for remote shell
3222 implementation (BusyBox or Toolbox).
3223
3224 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3225
3226 * startup.el (initial-buffer-choice): Allow function as value
3227 (Bug#13251).
3228 (command-line-1): Handle case where initial-buffer-choice
3229 specifies a function.
3230 * server.el (server-execute): Handle case where
3231 initial-buffer-choice specifies a function.
3232
3233 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3234
3235 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3236 its own function.
3237 (smtpmail-try-auth-methods): Forget the user name/password if the
3238 login is unsuccessful (bug#12424).
3239
3240 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3241
3242 * notifications.el (notifications-notify): Protect body with
3243 `with-demoted-errors'.
3244
3245 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3246 Check properties of remote device. Restart connection, if there is a
3247 change.
3248
3249 2012-12-21 Chong Yidong <cyd@gnu.org>
3250
3251 * sort.el (sort-subr): Doc fix (Bug#13056).
3252
3253 2012-12-21 Bastien Guerry <bzg@gnu.org>
3254
3255 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3256
3257 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3258
3259 * simple.el (process-file): Overwrite stderr file, if exists.
3260
3261 2012-12-21 Daiki Ueno <ueno@gnu.org>
3262
3263 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3264 (epg-error): Set `error-message' property.
3265
3266 2012-12-21 Chong Yidong <cyd@gnu.org>
3267
3268 * international/mule-cmds.el (read-char-by-name): Signal an error
3269 if the user does not supply a valid character (Bug#13177).
3270
3271 * simple.el (transpose-subr-1): Preserve marker positions by
3272 changing the insertion sequence (Bug#13122).
3273
3274 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3275
3276 * simple.el (kill-region): Deactivate mark even for empty regions
3277 (Bug#13169).
3278
3279 2012-12-21 Chong Yidong <cyd@gnu.org>
3280
3281 * help-fns.el (describe-variable): Make sure we get the right
3282 buffer name (Bug#13105). Suggested by Kelly Dean.
3283
3284 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3285
3286 * comint.el (comint-redirect-previous-input-string): New variable.
3287 (comint-redirect-setup, comint-redirect-cleanup)
3288 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3289 (comint-redirect-preoutput-filter): Fix verbose message.
3290
3291 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3294 is too long for Tramp. See discussion in
3295 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3296
3297 * progmodes/compile.el (compilation-start): Remove line escape
3298 template.
3299
3300 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3301
3302 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3303 Adjust comment.
3304
3305 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3306
3307 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3308 following non-comment text (bug#13207).
3309 (lm-header-multiline): Continuation lines need to be indented more than
3310 the first line.
3311 (lm-homepage): New function.
3312 (lm-with-file): Don't be confused if narrowing is in effect.
3313
3314 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3315
3316 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3317 very beginning of a hunk (e.g. killing the first line).
3318
3319 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3320
3321 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3322 and text properties from returned ACL string.
3323 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3324 for "setfacl" command.
3325
3326 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3327
3328 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3329 `tramp-cleanup-this-connection', when the process has died.
3330 (Bug#13151)
3331
3332 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3335
3336 2012-12-17 Kevin Ryde <user42@zip.com.au>
3337
3338 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3339
3340 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3341
3342 Add support for preserving ACL entries of files.
3343
3344 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3345 `set-file-acl' handlers.
3346
3347 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3348 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3349
3350 * net/tramp-compat.el (tramp-compat-copy-file):
3351 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3352
3353 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3354 Add `file-acl' and `set-file-acl' handlers.
3355 (tramp-gvfs-handle-copy-file):
3356 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3357 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3358 New defuns.
3359
3360 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3361 Add `file-acl' and `set-file-acl' handlers.
3362 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3363 (tramp-sh-handle-set-file-acl): New defuns.
3364 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3365 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3366
3367 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3368 Add `file-acl' and `set-file-acl' handlers.
3369 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3370
3371 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3372
3373 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3374 use pop-to-buffer with NORECORD argument t. As buffer name, use
3375 *Metahelp* with a leading space (Bug#13190).
3376
3377 2012-12-16 Romain Francoise <romain@orebokech.com>
3378
3379 * files.el (file-extended-attributes)
3380 (set-file-extended-attributes): New functions.
3381 (backup-buffer): Use them to handle both SELinux context and ACL
3382 entries.
3383 (backup-buffer-copy): Work with an alist of extended attributes,
3384 rather than an SELinux context.
3385 (basic-save-buffer-2): Ditto.
3386
3387 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3388
3389 * battery.el (battery-bsd-apm): New function.
3390
3391 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3392
3393 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3394 standard date formats.
3395
3396 2012-12-15 Juri Linkov <juri@jurta.org>
3397
3398 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3399 `isearch-insert-char-by-name'.
3400 (with-isearch-suspended): New defmacro with body mostly from
3401 `isearch-edit-string' except the part that sets
3402 `isearch-new-string' and `isearch-new-message'.
3403 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3404 body that sets `isearch-new-string' and `isearch-new-message'.
3405 (isearch-insert-char-by-name): New command.
3406 * international/mule-cmds.el (read-char-by-name): Let-bind
3407 `enable-recursive-minibuffers' to t.
3408 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3409
3410 2012-12-15 Juri Linkov <juri@jurta.org>
3411
3412 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3413 (Bug#13175)
3414
3415 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3416
3417 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3418 the prompt. (Bug#13045)
3419
3420 2012-12-14 Glenn Morris <rgm@gnu.org>
3421
3422 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3423 Try to include filename in non-bytecomp warning. (Bug#13132)
3424
3425 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3426
3427 Fix permissions bugs with setgid directories etc. (Bug#13125)
3428 * files.el (backup-buffer): Don't rely on 9th output of
3429 file-attributes, as it's now a placeholder. Instead, use the new
3430 optional arg of file-ownership-preserved-p.
3431 (file-ownership-preserved-p): New optional arg GROUP.
3432 Fix mishandling of setuid directories that would cause this
3433 function to return t when it should have returned nil.
3434 Document what happens if the file does not exist, and when
3435 it's not known whether the ownership will be preserved.
3436 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3437 Likewise.
3438 (tramp-get-local-gid): Use group-gid for integer, as that's
3439 faster and more reliable.
3440
3441 2012-12-14 Julien Danjou <julien@danjou.info>
3442
3443 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3444 Update keywords list, data type and PL/pgSQL.
3445
3446 2012-12-14 Dave Abrahams <dave@boostpro.com>
3447
3448 * vc/ediff-util.el (ediff-buffer-type): New function.
3449 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3450 rather than taking it as as argument.
3451 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3452
3453 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3454
3455 * json.el: Add pretty-print option (bug#12634).
3456 (json-encoding-separator, json-encoding-default-indentation)
3457 (json--encoding-current-indentation, json-encoding-pretty-print)
3458 (json-encoding-lisp-style-closings): New vars.
3459 (json--with-indentation): New macro.
3460 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3461 (json-encode-array): Use it to obey json-encoding-pretty-print.
3462 (json-pretty-print-buffer, json-pretty-print): New commands.
3463
3464 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3465
3466 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3467 Extract `ruby-syntax-propertize-expansions'.
3468 (ruby-syntax-propertize-expansions): Only change syntax on
3469 certain string delimiters, to punctuation. This way the common
3470 functions like forward-word and thing-at-point still work.
3471 (ruby-match-expression-expansion): Improve readability.
3472 (ruby-block-contains-point): New function.
3473 (ruby-add-log-current-method): Handle several edge cases.
3474
3475 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3476
3477 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3478 unload-feature finishes even when aborting an ongoing edebug session.
3479 Also, do not worry about edebug-mode, unload-feature takes care of it.
3480
3481 2012-12-13 Andreas Schwab <schwab@suse.de>
3482
3483 * net/tls.el (tls-program): Update customize type.
3484
3485 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3486
3487 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3488 (edebug-setup-hook, cl-read-load-hooks): Use it.
3489 (edebug-unload-function): New function. (Bug#13163)
3490
3491 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3492
3493 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3494 Otherwise, there could be errors in autoloading. (Bug#13151)
3495
3496 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3497
3498 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3499 sequences.
3500
3501 2012-12-13 Alan Mackenzie <acm@muc.de>
3502
3503 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3504 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3505 around `forward-comment' not recognizing ^M as whitespace.
3506
3507 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3508
3509 * progmodes/python.el (python-skeleton-class)
3510 (python-skeleton-def): Do not add space after defun name.
3511
3512 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3515 (cl--symbol-function): Remove (now that funbound is like nil).
3516
3517 2012-12-12 Glenn Morris <rgm@gnu.org>
3518
3519 * button.el (button--area-button-p): Fix typo.
3520
3521 2012-12-12 Sam Steingold <sds@gnu.org>
3522
3523 * frame.el (frame-maximization-style): New user option.
3524 (toggle-frame-maximized): Toggle frame maximization according to
3525 `frame-maximization-style', bound to <f11>.
3526 (cycle-frame-maximized): Cycle between all maximization styles and
3527 non-maximized frame, bound to shift-<f11>.
3528
3529 2012-12-12 David Cadé <codename68@gmail.com>
3530
3531 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3532
3533 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3534
3535 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3536 (eieio-override-prin1): Don't quote kewords and booleans.
3537 (object-write) <eieio-default-superclass>: Don't put closing parens
3538 on new line, avoid needless empty lines, align values that are objects
3539 with the slot keyword (instead of beginning on the same line).
3540 (eieio-list-prin1): Align value with slot keyword; increase
3541 eieio-print-depth before printing members of the list.
3542
3543 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3546 a display text-property.
3547 (report-emacs-bug-hook): Don't bother deleting it any more.
3548
3549 * hilit-chg.el (highlight-save-buffer-state): Delete.
3550 Use with-silent-modifications instead.
3551 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3552
3553 * button.el: Handle buttons in display text-properties.
3554 (button--area-button-p, button--area-button-string):
3555 Use (STRING . STRING-POS) representation instead of just STRING.
3556
3557 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3558
3559 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3560 subdirectory be skipped.
3561
3562 2012-12-11 Glenn Morris <rgm@gnu.org>
3563
3564 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3565
3566 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3567 Treat preprocessor lines embedded in continuations like comments.
3568 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3569
3570 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3571
3572 * calc/calc.el (calc-standard-date-formats): Add more date
3573 formats.
3574 * calc/calc-forms.el (math-parse-iso-date): New function.
3575 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3576 (math-parse-iso-date-validate): Add extra error checking.
3577 (calc-date-notation): Add ability to access new date formats.
3578
3579 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3582 font-lock as well as when there's no text-property.
3583
3584 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3585
3586 * hi-lock.el: Refine the choice of default face.
3587 (hi-lock-keyword->face): New function. Use it wherever we used
3588 cadadadr instead.
3589 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3590 (hi-lock--last-face): Remove var.
3591 (hi-lock--unused-faces): New var to replace it.
3592 (hi-lock-read-face-name): Use/maintain it.
3593 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3594 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3595 if it has another face.
3596
3597 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3598
3599 * subr.el (w32notify-handle-event): New function.
3600 (inotify-handle-event): Doc fix.
3601
3602 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3603
3604 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3605
3606 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3607
3608 * simple.el (just-one-space): Doc fix.
3609
3610 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3611
3612 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3613
3614 2012-12-10 Le Wang <l26wang@gmail.com>
3615
3616 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3617 narrowed buffer (bug#12361).
3618
3619 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3620
3621 * vc/vc-hooks.el (vc-state): Doc fix.
3622
3623 2012-12-10 Glenn Morris <rgm@gnu.org>
3624
3625 * mail/rmail.el (rmail-maybe-display-summary):
3626 Preserve buffer, in case select-window changes it. (Bug#13066)
3627
3628 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3629
3630 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3631 cl-load-hook where they belong.
3632
3633 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3636
3637 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3638
3639 Parallelize byte compilation on MS-Windows.
3640 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3641 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3642 (WINS_BASIC): Define as concatenation of the above.
3643 (compile): Subdivide into 4 separate and independent jobs that can
3644 be run in parallel.
3645 (compile0-CMD, compile0-SH): New targets for compiling
3646 COMPILE_FIRST files, which are prerequisites for the rest of the
3647 byte-compilation.
3648 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3649 New targets for parallel compilation with cmd.exe.
3650 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3651 compiling under a Unixy shell.
3652
3653 2012-12-09 Chong Yidong <cyd@gnu.org>
3654
3655 * simple.el (set-mark-default-inactive): Delete this
3656 accidentally-introduced option.
3657 (set-mark-command, exchange-point-and-mark): Remove calls.
3658
3659 2012-12-09 Glenn Morris <rgm@gnu.org>
3660
3661 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3662 Respect a defcustom's :set function, if appropriate. (Bug#109)
3663 (eval-defun): Doc fix.
3664
3665 2012-12-08 Juri Linkov <juri@jurta.org>
3666
3667 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3668 (Info-fontify-node, Info-bookmark-make-record): Remove the
3669 file extension from Info-current-file (Bug#13016).
3670
3671 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3674 point, still provide some default.
3675 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3676 names, since we don't use it right now. Actually return the list.
3677 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3678
3679 2012-12-07 Chong Yidong <cyd@gnu.org>
3680
3681 * novice.el (disabled-command-function): Remove a spurious help
3682 xref (Bug#13043). Suggested by Kelly Dean.
3683
3684 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3685 syntax is specified (Bug#13025).
3686
3687 * info.el (Info-set-mode-line): Remove the file extension from
3688 Info-current-file if there is one (Bug#13016).
3689
3690 2012-12-07 Glenn Morris <rgm@gnu.org>
3691
3692 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3693 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3694 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3695 and rmail-mime-decoded. (Bug#9841)
3696
3697 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3698 (batch-unrmail, unrmail): Doc fixes.
3699 (unrmail): Respect unrmail-mbox-format.
3700 * mail/rmail.el (rmail-mbox-format): New option.
3701 (rmail-show-message-1): Respect rmail-mbox-format.
3702
3703 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3704
3705 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3706
3707 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3710 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3711 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3712 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3713 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3714 (cl-progv): Don't rely on dynamic scoping to find the body.
3715 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3716 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3717 (cl-declaim): Use backquotes.
3718 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3719 Use "cl--" prefix for the object's tag.
3720
3721 * ses.el: Use advice-add/remove.
3722 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3723 (copy-region-as-kill, yank): Use advice-add.
3724 (ses-unload-function): Use advice-remove.
3725
3726 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3727
3728 * button.el: Make them work in header-lines (bug#12817).
3729 (button-map): Add bindings for header-line and mode-line use.
3730 (button-get, button-put, button-label): `button' may now be a string.
3731 (button-activate): Don't make it a defsubst.
3732 (button--area-button-p, button--area-button-string): New functions.
3733 (make-text-button): Fix the return value when `beg' was a string.
3734 (push-button): Handle the mode-line case.
3735
3736 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3739 (sql-signum): Remove. Use `cl-signum' instead.
3740 (sql-read-passwd): Remove; use read-passwd instread.
3741 (sql-get-login-ext): Use read-string.
3742 (sql-get-login): Use dolist and pcase.
3743 (sql--completion-table): Rename from sql-try-completion.
3744 Use complete-with-action.
3745 (sql-mode): Don't change abbrev-all-caps globally.
3746 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3747 (sql-postgres-completion-object): Initialize vars in their `let'.
3748 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3749 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3750 (sql-comint-interbase): Use a single append, without setq.
3751 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3752
3753 * hi-lock.el: Rework the default face and the serialize regexp code.
3754 (hi-lock--auto-select-face-defaults): Remove.
3755 (hi-lock-string-serialize-serial): Remove.
3756 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3757 make weak.
3758 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3759 equal string.
3760 (hi-lock-set-pattern): Adjust accordingly.
3761 (hi-lock--regexps-at-point): Simplify accordingly.
3762 (hi-lock--auto-select-face-defaults): Remove.
3763 (hi-lock--last-face): New var to replace it.
3764 (hi-lock-read-face-name): Rewrite (bug#11095).
3765 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3766
3767 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3768
3769 * net/tramp.el (tramp-replace-environment-variables):
3770 Hide compiler warning.
3771 (tramp-file-name-for-operation): Remove `executable-find',
3772 `start-process', `call-process' and `call-process-region'.
3773
3774 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3775
3776 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3777 compatibility.
3778
3779 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3780
3781 2012-12-06 Chong Yidong <cyd@gnu.org>
3782
3783 * ffap.el (ffap-replace-file-component): Fix typo.
3784
3785 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3788 fix open-paren-like token test (bug#12785).
3789
3790 2012-12-06 Glenn Morris <rgm@gnu.org>
3791
3792 * mail/rmailsum.el (rmail-new-summary): Tweak for
3793 rmail-maybe-display-summary changing buffer. (Bug#13066)
3794
3795 2012-12-06 Juri Linkov <juri@jurta.org>
3796
3797 * info.el (Info-fontify-node): Don't hide the last newline.
3798 (Bug#12272)
3799
3800 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3801
3802 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3803 so as to enable message-read-from-minibuffer to expand mail aliases.
3804
3805 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3808 the `intangible' property.
3809 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3810
3811 2012-12-05 Deniz Dogan <deniz@dogan.se>
3812
3813 * net/rcirc.el (rcirc-urls): Update documentation.
3814 (rcirc-condition-filter): New function.
3815 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3816 and exclude consecutive duplicate URLs (Bug#6082).
3817
3818 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3819
3820 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3821 Check return code of copy command.
3822
3823 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3824 Use group `tramp'. Add version.
3825
3826 2012-12-05 Chong Yidong <cyd@gnu.org>
3827
3828 * ffap.el (ffap-url-regexp): Don't require matching at front of
3829 string (Bug#4952).
3830 (ffap-url-p): If only a substring matches, return that.
3831 (ffap-url-at-point): Use the return value of ffap-url-p.
3832 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3833 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3834 (ffap-guess-file-name-at-point): Likewise.
3835 (ffap-replace-file-component): Fix typo.
3836
3837 * info.el (info-display-manual): Add existing Info buffers, whose
3838 files may not be in Info-directory-list, to the completion.
3839 (info--manual-names): New helper function.
3840
3841 2012-12-05 Glenn Morris <rgm@gnu.org>
3842
3843 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3844 New functions, for detecting and resolving conflicts. (Bug#10709)
3845
3846 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3847
3848 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3849 (hi-lock-auto-select-face-defaults): New buffer local variable.
3850 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3851 (hi-lock-unface-buffer): Prompt user with useful defaults.
3852 With prefix arg, unhighlight all hi-lock patterns in buffer.
3853
3854 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3857
3858 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3859
3860 * Makefile.in (TRAMP_SRC):
3861 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3862
3863 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3864
3865 * net/tramp-adb.el: New package.
3866
3867 2012-12-04 Chong Yidong <cyd@gnu.org>
3868
3869 * terminal.el: Move to obsolete/.
3870
3871 * longlines.el: Move to obsolete/.
3872
3873 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3874 Remove code referring to longlines mode.
3875
3876 2012-12-03 Juri Linkov <juri@jurta.org>
3877
3878 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3879
3880 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3881
3882 * textmodes/ispell.el (ispell-init-process)
3883 (ispell-start-process, ispell-internal-change-dictionary):
3884 Make sure personal dictionary name is expanded after initial
3885 `default-directory' value. Use expanded strings for
3886 keep/restart checks and for value (Bug#13019).
3887
3888 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3889
3890 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3891
3892 2012-12-03 Leo Liu <sdl.web@gmail.com>
3893
3894 * files.el (dir-locals-read-from-file): Check file non-empty
3895 before reading. (Bug#13038)
3896
3897 2012-12-03 Glenn Morris <rgm@gnu.org>
3898
3899 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3900 Remove any version extension before checking filename. (Bug#13006)
3901 (jka-compr-compression-info-list): Belated :version bump.
3902
3903 2012-12-03 Chong Yidong <cyd@gnu.org>
3904
3905 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3906
3907 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3908 (buffer-menu): Doc fix (Bug#12294).
3909
3910 2012-12-03 Roland Winkler <winkler@gnu.org>
3911
3912 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3913 of diary-show-all-entries in the diary buffer (Bug#12994).
3914
3915 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3916
3917 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3918 "<STDIN>". This is binary safe.
3919
3920 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3921
3922 * calc/calc-forms.el (math-absolute-from-iso-dt)
3923 (math-date-to-iso-dt, math-parse-iso-date-validate)
3924 (math-iso-dt-to-date): New functions.
3925 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3926 (math-fd-isoweekday): New variables.
3927 (calc-date-notation, math-parse-standard-date, math-format-date)
3928 (math-format-date-part): Add support for more formatting codes.
3929
3930 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3931
3932 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3933 current buffer's file name when called interactively (Bug#12488).
3934
3935 2012-12-02 Juri Linkov <juri@jurta.org>
3936
3937 * info.el (info-display-manual): Don't clobber an existing Info
3938 buffer (Bug#10770). Add completion (Bug#10771).
3939
3940 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3941
3942 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3943 before using it for comparison (Bug#5297).
3944
3945 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3946
3947 * textmodes/css-mode.el (css-current-defun-name): New function.
3948 (css-mode): Use it.
3949
3950 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3951 (html-mode): Use it.
3952
3953 2012-12-01 Chong Yidong <cyd@gnu.org>
3954
3955 Modularize add-log-current-defun (Bug#2224).
3956 Suggested by Jari Aalto.
3957
3958 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3959 (add-log-current-defun): Move mode-specific code to other files.
3960 (add-log-lisp-like-modes, add-log-c-like-modes)
3961 (add-log-tex-like-modes): Variables deleted.
3962
3963 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3964 (lisp-mode-variables): Use it.
3965
3966 * progmodes/cc-mode.el (c-common-init):
3967 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3968 add-log-current-defun-function.
3969
3970 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3971 (m4-mode): Use it.
3972
3973 * progmodes/perl-mode.el (perl-current-defun-name): New.
3974 (perl-mode): Use it.
3975
3976 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3977 Use lisp-current-defun-name.
3978
3979 * textmodes/tex-mode.el (tex-current-defun-name): New.
3980 (tex-common-initialization): Use it.
3981
3982 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3983 (texinfo-mode): Use it.
3984
3985 2012-12-01 Chong Yidong <cyd@gnu.org>
3986
3987 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3988 * progmodes/autoconf.el (autoconf-mode):
3989 * progmodes/js.el (js-mode):
3990 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3991 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3992 * progmodes/perl-mode.el (perl-mode):
3993 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3994 * textmodes/css-mode.el (css-mode):
3995 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3996 (sgml-tags-invisible, sgml-guess-indent):
3997 * textmodes/tex-mode.el (tex-common-initialization)
3998 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3999 (doctex-mode, plain-tex-mode, latex-mode):
4000 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4001
4002 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4003
4004 * vc/vc-hg.el (vc-hg-next-revision):
4005 Ensure use of default "tip" output format. (Bug#6968)
4006
4007 2012-12-01 Kim F. Storm <storm@cua.dk>
4008
4009 * startup.el (fancy-startup-tail): Add a clickable link
4010 (Bug#2176).
4011
4012 2012-12-01 Chong Yidong <cyd@gnu.org>
4013
4014 * startup.el (fancy-startup-tail): Improve the message about
4015 auto-save files (Bug#2176).
4016
4017 * files.el (recover-session): Improve the descriptive message, and
4018 use substitute-command-keys.
4019
4020 2012-12-01 Glenn Morris <rgm@gnu.org>
4021
4022 * ido.el (ido-file-internal):
4023 Handle other-window, other-frame for dired. (Bug#13036)
4024
4025 2012-11-30 Glenn Morris <rgm@gnu.org>
4026
4027 * icomplete.el (icomplete-separator): Fix :version.
4028
4029 2012-11-30 Chong Yidong <cyd@gnu.org>
4030
4031 * shell.el (shell): For C-u M-x shell, use an inactive shell
4032 buffer as the default (Bug#1975).
4033 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4034 (shell-mode): Use them to reapply ansi colorization if Shell mode
4035 is re-enabled.
4036
4037 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4038
4039 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4040
4041 2012-11-30 Samuel Bronson <naesten@gmail.com>
4042
4043 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4044 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4045
4046 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4047
4048 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4049 by move-to-column (Bug#3234).
4050
4051 2012-11-30 Chong Yidong <cyd@gnu.org>
4052
4053 * longlines.el (longlines-wrap-line, longlines-encode-region):
4054 Preserve text properties (Bug#1425).
4055
4056 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4057
4058 * vc/vc.el (vc-register): Allow registering a file which is
4059 already registered with a different backend (Bug#10589).
4060
4061 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4062 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * icomplete.el: Change separator; add ido-style commands.
4065 (icomplete-show-key-bindings): Remove custom var.
4066 (icomplete-get-keys): Remove function.
4067 (icomplete-forward-completions, icomplete-backward-completions):
4068 New commands.
4069 (icomplete-minibuffer-map): New var.
4070 (icomplete-minibuffer-setup): Use it.
4071 (icomplete-exhibit): Don't delay if the list of completions is known.
4072 (icomplete-separator): New custom.
4073 (icomplete-completions): Use it.
4074 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4075 (minibuffer-force-complete-and-exit): New command.
4076 (minibuffer--complete-and-exit): New function extracted from
4077 minibuffer-complete-and-exit.
4078 (minibuffer-complete-and-exit): Use it.
4079
4080 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4081 error message when the file doesn't exist (bug#12974).
4082
4083 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4084
4085 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4086
4087 2012-11-29 Glenn Morris <rgm@gnu.org>
4088
4089 * files.el (hack-dir-local-variables): Warn if try to set
4090 coding via dir-locals, since it doesn't work. (Bug#7169)
4091
4092 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4093 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4094 Set buffer-local value of desktop-save-buffer.
4095 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4096 New functions.
4097 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4098 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4099
4100 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4101 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4102 Doc fix.
4103 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4104 Doc fixes.
4105
4106 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4107
4108 * calc/calc-forms.el (calc-date-notation): Fix regexp
4109 used to find time codes. Fix symbol for seconds.
4110
4111 2012-11-27 Glenn Morris <rgm@gnu.org>
4112
4113 * emacs-lisp/derived.el (derived-mode-make-docstring):
4114 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4115
4116 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4119 lexically scoped variables (bug#13005).
4120
4121 2012-11-27 Glenn Morris <rgm@gnu.org>
4122
4123 * vc/vc-hooks.el (vc-mistrust-permissions):
4124 Default to t, to avoid data-loss. (Bug#11490)
4125
4126 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4127
4128 * progmodes/python.el (python-indent-guess-indent-offset):
4129 If indentation is guessed make python-indent-offset buffer-local.
4130
4131 Fix Imenu regression.
4132 * progmodes/python.el (python-nav-beginning-of-defun):
4133 Fix forward movement when statement(s) separates point from defun.
4134 (python-imenu-prev-index-position): New function.
4135
4136 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4137
4138 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4139
4140 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4141 Don't set buffer-file-type. Return nil. (Bug#12989)
4142
4143 2012-11-27 Glenn Morris <rgm@gnu.org>
4144
4145 * hippie-exp.el (hippie-expand-try-functions-list):
4146 Re-autoload it. (Bug#12982)
4147
4148 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4149
4150 * descr-text.el (describe-char-padded-string):
4151 Call internal-char-font only on GUI frames. (Bug#11964)
4152
4153 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4154
4155 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4156 and obsoletion message.
4157
4158 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4159
4160 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4161 the constructs to keep outside of the `cl-block' (bug#12977).
4162
4163 2012-11-27 Chong Yidong <cyd@gnu.org>
4164
4165 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4166 keep reading until we get the up-event anyway, in order to process
4167 the up-event for mouse-1-click-follows-link (Bug#12971).
4168
4169 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4170
4171 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4172 base function is not yet defined (bug#12965).
4173 (ad-activate-advised-definition): Use ad-compile-function.
4174 (ad-activate): Use cond.
4175
4176 2012-11-25 Leo Liu <sdl.web@gmail.com>
4177
4178 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4179 (Bug#12979)
4180
4181 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4182
4183 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4184 reftex-section-info-function in order to be compatible with
4185 Texinfo integration.
4186
4187 * textmodes/reftex.el (reftex-section-pre-regexp)
4188 (reftex-section-post-regexp, reftex-section-info-function):
4189 New variable.
4190 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4191 reftex-section-post-regexp, and reftex-section-info-function in order
4192 to be compatible with Texinfo integration.
4193
4194 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4195 use reftex-section-pre-regexp variable in order to be compatible with
4196 Texinfo integration.
4197
4198 2012-11-25 Chong Yidong <cyd@gnu.org>
4199
4200 * faces.el: Make face-spec-set more analogous to setq.
4201 (face-spec-set): Change the third arg to specify whether this
4202 function is being called via defface, customize, or a third party.
4203 Set the appropriate symbol properties. Clear the override spec if
4204 setting via Custom. Initialize face if necessary. (Bug#4988)
4205 (face-spec-recalc): Allow theme faces to completely replace the
4206 defface spec, in the same way as custom faces (Bug#8454).
4207
4208 * cus-face.el (custom-declare-face): Move face initialization to
4209 face-spec-set.
4210 (custom-theme-set-faces): Don't initialize the face name here, as
4211 that is now done in face-spec-set.
4212
4213 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4214 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4215 Simplify by using the new arg to face-spec-set.
4216
4217 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4218 reset face-override-spec too, and use custom-declare-face.
4219
4220 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4221
4222 * term/ns-win.el (ns-initialize-window-system): Move creation of
4223 fontsets here (Bug#11964).
4224
4225 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4226
4227 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4228 cell renaming.
4229
4230 2012-11-24 Chong Yidong <cyd@gnu.org>
4231
4232 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4233 obsolete.
4234
4235 * custom.el (custom-theme-set-variables): Use a topological sort
4236 for ordering by custom dependencies (Bug#12952).
4237 (custom--sort-vars, custom--sort-vars-1): New functions.
4238
4239 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4240
4241 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4242 lexical-binding (bug#12938).
4243
4244 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4245
4246 * image-mode.el (image-transform-check-size): Use assertions only
4247 for images of type imagemagick.
4248
4249 Otherwise no error, image-transform-fit-to-{width,height} is
4250 silently ignored, as before. Doc fix.
4251
4252 2012-11-24 Chong Yidong <cyd@gnu.org>
4253
4254 * faces.el (color-defined-p): Doc fix (Bug#12853).
4255
4256 2012-11-24 Juri Linkov <juri@jurta.org>
4257
4258 * dired.el (dired-mark): Add optional arg `interactive'.
4259 Check for `use-region-p' if `interactive' is non-nil.
4260 (dired-unmark, dired-flag-file-deletion): Add optional arg
4261 `interactive'. Call `dired-mark' with the arg `interactive'.
4262 (Bug#10624)
4263
4264 * wdired.el: Revert 2012-10-17 change partly and replace it with
4265 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4266 (wdired-finish-edit): Add marks for new file names to
4267 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4268 after `revert-buffer'.
4269 (wdired-do-renames): Remove calls to `dired-remove-file',
4270 `dired-add-file', `dired-add-entry'. (Bug#11795)
4271
4272 2012-11-24 Alan Mackenzie <acm@muc.de>
4273
4274 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4275
4276 Fix bugs in the state cache. Enhance a debugging mechanism.
4277 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4278 "brace at column zero" strategy for C++.
4279 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4280 (c-parse-state-point): New variable.
4281 (c-record-parse-state-state): Record old parse state with
4282 `copy-tree'. Record previous value of point.
4283 (c-debug-parse-state-double-cons): New debugging function.
4284 (c-debug-parse-state): Call the above new function.
4285 (c-toggle-parse-state-debug): Output a confirmatory message.
4286
4287 * progmodes/cc-mode.el (c-before-change, c-after-change):
4288 Call c-invalidate-state-cache from `c-before-change' instead of
4289 `c-after-change'.
4290
4291 2012-11-23 Chong Yidong <cyd@gnu.org>
4292
4293 * find-cmd.el (find-constituents): Add executable, ipath,
4294 readable, samefile, writable, daystart, regextype (Bug#12856).
4295
4296 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4299
4300 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4301
4302 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4303 definition. This fixes a bootstrap failure.
4304 (calc-gregorian-switch): In menu, put dates before regions.
4305 This is easier to follow, lines up better in the menu, and lets us
4306 coalesce regions that switch at the same time. Give country
4307 names, not "Vatican", as that's better for non-expert users.
4308 Use names that are stable between the date of switch and now, e.g.,
4309 Bohemia and Moravia (which existed then and now) and not
4310 Czechoslovakia (which didn't exist then and doesn't exist now).
4311 What is now the U.S. mostly did not switch at the same time as
4312 Britain, so omit the U.S. Correct spelling of "Britain".
4313 Catholic Switzerland was too much of a mess, so omit it.
4314
4315 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4316
4317 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4318 after the variable is changed.
4319
4320 2012-11-21 Daniel Colascione <dancol@dancol.org>
4321
4322 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4323 in SQL declarations for font-lock.
4324 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4325
4326 2012-11-21 Glenn Morris <rgm@gnu.org>
4327
4328 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4329 (face-italic-p): Add optional argument "inherit".
4330
4331 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4332 Remove -p suffix from names, for consistency with other set-face-*.
4333 (set-face-inverse-video): Fix interactive spec.
4334 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4335 * textmodes/table.el (table--update-cell-face):
4336 Use set-face-inverse-video rather than now obsolete alias.
4337
4338 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4339
4340 * simple.el (line-move): Don't call line-move-partial if
4341 scroll-conservatively is in effect. (Bug#12927)
4342
4343 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4344
4345 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4346 Fallback on completion-at-point rather than
4347 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4348 (eshell-cmpl-initialize): Setup completion-at-point.
4349
4350 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4351
4352 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4353
4354 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4355
4356 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4357 are remote, check out-of-band property for both.
4358
4359 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4362 code rewrite.
4363
4364 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4365
4366 More minor time fixes.
4367 * calendar/time-date.el: Commentary fix.
4368 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4369 too much other code depends on (0 0) time stamps.
4370 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4371 Add a couple of FIXME comments.
4372
4373 Minor cleanup for times as lists of four integers.
4374 * files.el (dir-locals-directory-cache):
4375 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4376 Doc fixes.
4377 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4378 * ps-bdf.el (bdf-file-newer-than-time):
4379 Process four-integers time stamps, not two. Doc fixes.
4380
4381 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * uniquify.el (uniquify-managed): Use defvar-local.
4384 (rename-buffer, create-file-buffer): Advise with advice-add.
4385 (uniquify-unload-function): Unadvise accordingly.
4386
4387 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4388 (trace-buffer): Don't purecopy.
4389 (trace-entry-message, trace-exit-message): Add `context' arg.
4390 (trace--timer): New var.
4391 (trace-make-advice): Adjust for use in nadvice.
4392 Add `context' argument. Delay `display-buffer' via a timer.
4393 (trace-function-internal): Use advice-add.
4394 (trace--read-args): New function.
4395 (trace-function-foreground, trace-function-background): Use it.
4396 (trace-function): Rename to trace-function-foreground and redefine as
4397 an alias to that new name.
4398 (untrace-function, untrace-all): Adjust to the use of nadvice.
4399
4400 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4401
4402 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4403
4404 * subr.el (called-interactively-p-functions): New var.
4405 (internal--called-interactively-p--get-frame): New macro.
4406 (called-interactively-p, interactive-p): Rewrite in Lisp.
4407 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4408 (called-interactively-p-functions): Use it.
4409 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4410 (called-interactively-p-functions): Use it.
4411 * allout.el (allout-called-interactively-p): Don't assume
4412 called-interactively-p is a subr.
4413
4414 2012-11-20 Glenn Morris <rgm@gnu.org>
4415
4416 * profiler.el (profiler-report-mode-map): Add a menu.
4417 No need to bind `q' because we derive from special-mode.
4418 (profiler-report-find-entry): Handle calls from the menu-bar.
4419
4420 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * emacs-lisp/byte-run.el (defun-declarations-alist):
4423 Allow a compiler-macro to be a lambda expression.
4424
4425 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4426 eval-when-compile.
4427 (python-syntax-context): Add compiler-macro.
4428 (python-font-lock-keywords): Simplify with De Morgan.
4429
4430 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4431
4432 * files.el (load-file): Require match in minibuffer selection, as was
4433 the case in Emacs-20 before we changed the spec to allow .elc files
4434 (bug#12935).
4435
4436 * json.el: Don't require cl since we don't use it.
4437 * color.el: Don't require cl.
4438 (color-complement): `caddr' -> `nth 2'.
4439
4440 * calendar/time-date.el (time-to-seconds): De-obsolete.
4441
4442 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4443
4444 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4445 year numbers.
4446 (math-date-to-julian-dt): Adjust the initial approximation for the
4447 year to deal with the new definition of the DATE.
4448
4449 2012-11-19 Daniel Colascione <dancol@dancol.org>
4450
4451 * term/w32-win.el (cygwin-convert-path-from-windows):
4452 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4453
4454 2012-11-18 Chong Yidong <cyd@gnu.org>
4455
4456 * filecache.el (file-cache--read-list): New function.
4457 (file-cache-add-directory-list, file-cache-add-file-list)
4458 (file-cache-delete-file-list, file-cache-delete-directory-list):
4459 Use it to read a list of files or directories (Bug#12846).
4460 (file-cache-add-file, file-cache-add-directory)
4461 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4462 (file-cache-delete-directory): Print an message.
4463
4464 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4465
4466 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4467 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4468
4469 2012-11-18 Glenn Morris <rgm@gnu.org>
4470
4471 * image.el (insert-image, insert-sliced-image): Doc fix.
4472
4473 2012-11-18 Chong Yidong <cyd@gnu.org>
4474
4475 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4476 (Bug#12810).
4477
4478 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4479
4480 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4481 response when the target file is in a subdirectory (Bug#12757).
4482
4483 2012-11-18 Chong Yidong <cyd@gnu.org>
4484
4485 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4486
4487 2012-11-18 Glenn Morris <rgm@gnu.org>
4488
4489 * emacs-lisp/cl-lib.el (face-underline-p):
4490 Use set-face-underline rather than the alias set-face-underline-p.
4491
4492 * window.el (with-temp-buffer-window): Doc fix.
4493 * subr.el (with-output-to-temp-buffer):
4494 Add doc xref to with-temp-buffer-window.
4495
4496 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4497
4498 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4499 * calc/calc.el (math-format-date-cache): Declare.
4500
4501 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4502
4503 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4504 It also uses January 1, 1 AD as its day number 1.
4505 * calc/calc-forms.el (math-julian-date-beginning)
4506 (math-julian-date-beginning-int): Implement this.
4507
4508 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4509
4510 * descr-text.el (quail-find-key):
4511 * dired.el (desktop-file-name):
4512 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4513 * generic-x.el (comint-mode, comint-exec):
4514 * image-dired.el (widget-forward):
4515 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4516 (speedbar-change-expand-button-char)
4517 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4518 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4519 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4520 (widget-field-action, widget-value-set):
4521 * speedbar.el (imenu--make-index-alist):
4522 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4523 (ring-length, ring-insert):
4524 * vcursor.el (compare-windows-skip-whitespace):
4525 * woman.el (dired-get-filename):
4526 Declare functions.
4527
4528 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4529
4530 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4531
4532 * calc/calc.el (calc-gregorian-switch): New variable.
4533
4534 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4535 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4536 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4537 (math-leap-year-p): Add option to distinguish between Julian
4538 and Gregorian calendars.
4539 (math-day-number): Use `math-day-in-year' to do the computations.
4540 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4541 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4542 to do the computations.
4543 (math-date-to-dt): Use `math-date-to-julian-dt' and
4544 `math-date-to-gregorian-dt' to do the computations.
4545 (calcFunc-weekday, math-format-date-part): Use the new version of
4546 the DATE to determine the weekday.
4547 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4548 when necessary.
4549
4550 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4551
4552 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4553 Cygwin; otherwise use 'file:'. (Bug#12914)
4554 (cygwin-convert-path-from-windows): Declare, to avoid
4555 byte-compiler warnings.
4556
4557 2012-11-17 Andreas Politz <politza@fh-trier.de>
4558
4559 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4560 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4561 prefix and negative numeric prefix args (Bug#12795).
4562
4563 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4564
4565 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4566 Don't signal an error with a score that is too low to add to the
4567 list of top scores. (Bug#12779)
4568
4569 2012-11-17 Chong Yidong <cyd@gnu.org>
4570
4571 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4572
4573 * filecache.el (file-cache-add-file): Handle relative file name in
4574 the argument (Bug#12694).
4575
4576 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4577
4578 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4579
4580 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4583
4584 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4585
4586 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4587
4588 * window.el (enlarge-window, shrink-window): Don't mention return
4589 value in doc-string (Bug#12896).
4590 (window--display-buffer): Don't resize frames - it won't work
4591 with all window managers and defeat pop-up-frame-alist.
4592 (display-buffer-alist): In doc-string explain that CONDITION can
4593 be a function and which arguments are passed to it (Bug#12854).
4594 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4595 expressions (Bug#12854).
4596 (display-buffer): Pass ACTION argument to
4597 display-buffer-assq-regexp.
4598
4599 2012-11-16 Glenn Morris <rgm@gnu.org>
4600
4601 * window.el (fit-frame-to-buffer-bottom-margin)
4602 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4603
4604 * faces.el (face-underline-p): Use face-attribute-specified-or.
4605
4606 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4607
4608 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4609
4610 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4613
4614 2012-11-16 Glenn Morris <rgm@gnu.org>
4615
4616 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4617 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4618
4619 * faces.el (face-underline-p): Doc fix. Handle :underline being
4620 things other than `t' (a string, a list).
4621 (face-inverse-video-p): Doc fix.
4622 (set-face-underline): Rename it back from set-face-underline-p.
4623 Doc fix. Allow interactive input of values other than t.
4624 (read-face-attribute): Apply formatting to :underline,
4625 since like :box and :stipple it can take list values.
4626
4627 * term.el (ansi-term): Don't let C-x escape-char binding
4628 clobber the more standard C-c binding. (Bug#12842)
4629
4630 * subr.el (set-temporary-overlay-map): Doc fix.
4631
4632 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4633
4634 * window.el (record-window-buffer)
4635 (display-buffer-record-window): When copying the markers to
4636 window-point preserve window-point-insertion-type. (Bug#12588)
4637
4638 2012-11-16 Glenn Morris <rgm@gnu.org>
4639
4640 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4641 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4642 Use new names for hooks rather than obsolete aliases.
4643
4644 2012-11-15 Daniel Colascione <dancol@dancol.org>
4645
4646 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4647 prefix instead of "file:" so that when FILE-NAME begins with "//",
4648 as it does when the target file is on a network share, url-handler
4649 isn't confused.
4650
4651 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4654 a preactivated advice from an old advice.el; they're not compatible!
4655
4656 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4657
4658 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4659 Fix string-spec case.
4660
4661 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4662
4663 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4666 (advice--buffer-local-function-sample): New var.
4667 (advice--set-buffer-local, advice--buffer-local): New functions.
4668 (add-function, remove-function): Use them.
4669
4670 2012-11-15 Drew Adams <drew.adams@oracle.com>
4671
4672 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4673
4674 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4677 potential binding of print-gensym to t, and prettify (back)quotes in
4678 case they appear in args's default values (bug#12884).
4679
4680 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4683 (advice-eval-interactive-spec): New function.
4684 (advice--make-interactive-form): Support around advice (bug#12844).
4685
4686 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4689 more strict. Add docstring.
4690 (ruby-expression-expansion-re): Extract from
4691 `ruby-match-expression-expansion'.
4692 (ruby-syntax-propertize-function): After everything else, search
4693 for expansions in string literals, mark their insides as
4694 whitespace syntax and save match data for font-lock.
4695 (ruby-font-lock-keywords): Use the 2nd group from expression
4696 expansion matches.
4697 (ruby-match-expression-expansion): Use the match data saved to the
4698 text property in ruby-syntax-propertize-function.
4699
4700 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4703 (bug#12879).
4704
4705 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4706
4707 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4708 start/end keyword a bit harder. Works with different values of N.
4709 Add more comments.
4710 (ruby-end-of-block): Update accordingly.
4711
4712 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * woman.el (woman-file-name): Don't mess with unread-command-events
4715 (bug#12861).
4716
4717 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4718 Remove out of date self-require hack.
4719 (ad-do-advised-functions): Use simple `dolist'.
4720 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4721 (ad-advice-definition): Redefine as functions.
4722 (ad-advice-classes): Move before first use.
4723 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4724 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4725 (ad--defalias-fset): Remove functions.
4726 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4727 (ad-get-orig-definition): Rewrite.
4728 (ad-make-advised-definition-docstring): Change base docstring.
4729 (ad-real-orig-definition): Rewrite.
4730 (ad-map-arglists): Change name of called function.
4731 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4732 (ad-make-advised-definition): Simplify.
4733 (ad-assemble-advised-definition): Tweak for new calling context.
4734 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4735 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4736 function and call ad-activate if needed.
4737 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4738 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4739 (ad-compile-function): Compile ad-Advice-*.
4740 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4741 (ad-start-advice, ad-stop-advice): Remove.
4742
4743 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4744
4745 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4746 period before class method names, not after. Remove handling of
4747 one impossible case. Add comments.
4748
4749 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * emacs-lisp/advice.el: Remove support for freezing.
4752 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4753 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4754 Remove support for `freeze'.
4755
4756 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4757 override the default.
4758 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4759 cl--dotimes/dolist.
4760 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4761 `cl' is loaded.
4762
4763 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4764 from add-advice.
4765 (advice--strip-macro): New function.
4766 (advice--defalias-fset): Use them to handle macros.
4767 (advice-add): Use them.
4768 (advice-member-p): Correctly handle macros.
4769
4770 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4771
4772 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4773 Never font-lock the beginning of singleton class as heredoc.
4774
4775 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4778
4779 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4780
4781 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4782 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4783 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4784
4785 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4786
4787 Fix end-of-defun misbehavior.
4788 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4789 python-beginning-of-defun-function. Handle nested defuns
4790 correctly.
4791 (python-nav-end-of-defun): Rename from
4792 python-end-of-defun-function. Ensure forward movement.
4793 (python-info-current-defun): Reimplement to work as intended
4794 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4795 parent defuns as soon as possible.
4796
4797 2012-11-13 Glenn Morris <rgm@gnu.org>
4798
4799 * progmodes/flymake.el (flymake-error-bitmap)
4800 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4801 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4802
4803 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4804
4805 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4806 backward, always stop at indentation. Reverts the change from
4807 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4808
4809 2012-11-13 Glenn Morris <rgm@gnu.org>
4810
4811 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4812 Add ibuffer-filter-by-derived-mode.
4813
4814 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4815 the same name shadowing each other.
4816
4817 * window.el (with-temp-buffer-window): Doc tweak.
4818
4819 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4820
4821 * help.el (temp-buffer-max-height):
4822 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4823 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4824
4825 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4826
4827 * emacs-lisp/nadvice.el: New package.
4828 * subr.el (special-form-p): New function.
4829 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4830 (elp-all-instrumented-list): Remove var.
4831 (elp-not-profilable): Remove elp-wrapper.
4832 (elp-profilable-p): Use autoloadp and special-form-p.
4833 (elp--advice-name): New const.
4834 (elp-instrument-function): Use advice-add.
4835 (elp--instrumented-p): New predicate.
4836 (elp-restore-function): Use advice-remove.
4837 (elp-restore-all, elp-reset-all): Use mapatoms.
4838 (elp-set-master): Use elp--instrumented-p.
4839 (elp--make-wrapper): Rename from elp-wrapper, return a function
4840 suitable for advice-add. Use cl-inf.
4841 (elp-results): Use mapatoms+elp--instrumented-p.
4842 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4843 (debug-function-list): Remove var.
4844 (debug): Rename arg, and then let-bind it explicitly inside.
4845 (debugger-setup-buffer): Rename arg.
4846 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4847 (debugger-frame-number): Adjust to new debug-on-entry setup.
4848 (debug--implement-debug-on-entry): Rename from
4849 implement-debug-on-entry, add argument.
4850 (debugger-special-form-p): Remove, use special-form-p instead.
4851 (debug-on-entry): Use advice-add.
4852 (debug--function-list): New function.
4853 (cancel-debug-on-entry): Use it, along with advice-remove.
4854 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4855 (debugger-list-functions): Use debug--function-list instead of
4856 debug-function-list.
4857 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4858 (ad-special-form-p): Remove, use special-form-p instead.
4859 (ad-set-advice-info): Use add-function and remove-function.
4860 (ad--defalias-fset): Adjust accordingly.
4861
4862 2012-11-10 Glenn Morris <rgm@gnu.org>
4863
4864 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4865 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4866 (report-emacs-bug-create-existing-bugs-buffer)
4867 (report-emacs-bug-parse-query-results)
4868 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4869
4870 * term.el (term-default-fg-color, term-default-bg-color):
4871 Make obsolete, rather than just saying "deprecated" in the doc.
4872
4873 * term.el (term): Rename from `term-face'.
4874 (term-current-face, ansi-term-color-vector)
4875 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4876 Update all users.
4877
4878 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4879
4880 * server.el (server-create-window-system-frame): Handle Nextstep
4881 specially (Bug#12780).
4882
4883 2012-11-10 Glenn Morris <rgm@gnu.org>
4884
4885 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4886 Unautoload, and make obsolete. (Bug#7449)
4887
4888 2012-11-10 Chong Yidong <cyd@gnu.org>
4889
4890 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4891 rename from diff-remove-trailing-whitespace (Bug#12831).
4892
4893 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4896 miscompilation of trace.el.
4897
4898 2012-11-10 Glenn Morris <rgm@gnu.org>
4899
4900 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4901
4902 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4905 (bug#12812).
4906
4907 2012-11-10 Chong Yidong <cyd@gnu.org>
4908
4909 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4910 a defcustom with an appropriate :set function.
4911 (minibuffer-default--in-prompt-regexps): New function.
4912
4913 2012-11-10 Glenn Morris <rgm@gnu.org>
4914
4915 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4916 (define-modify-macro): Doc fixes.
4917
4918 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4919 (gv-define-simple-setter): Update doc of `fix-return'.
4920
4921 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4924 twice when `fix-return' is set (bug#12813).
4925
4926 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4927 gv-define-simple-setter (bug#12812).
4928
4929 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4930 (bug#12756).
4931
4932 2012-11-10 Glenn Morris <rgm@gnu.org>
4933
4934 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4935
4936 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4937 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4938 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4939 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4940
4941 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4942
4943 2012-11-10 Leo Liu <sdl.web@gmail.com>
4944
4945 * ido.el (ido-set-matches-1): Improve flex matching performance by
4946 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4947
4948 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4951 (ad--defalias-fset): New function.
4952 (ad-safe-fset): Remove.
4953 (ad-make-freeze-definition): Use cl-letf*.
4954
4955 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * subr.el (dolist): Don't bind VAR in RESULT.
4958
4959 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4960 (fset, documentation): Don't save real def since we don't advise.
4961 (ad-do-advised-functions): Remove problematic `result-form'.
4962 (ad-safe-fset): `ad-real-fset' => `fset'.
4963 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4964 uses CL's dolist internally.
4965 (ad-arglist): Remove unused arg `name'.
4966 (ad-docstring, ad-make-advised-docstring):
4967 `ad-real-documentation' => `documentation'.
4968 (warning-suppress-types): Declare.
4969 (ad-set-arguments): Simple CSE.
4970 (ad-recover-normality): Sanity check.
4971
4972 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4973 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4974
4975 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4976
4977 * ses.el: symbol to coordinate mapping is made by symbol property
4978 `ses-cell'. This means that the same mapping is done for all SES
4979 sheets. That is good enough for cells with standard A1 names, but
4980 not for named cell. So a hash map is added for the latter.
4981 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4982 (ses-sym-rowcol): Use hashmap for named cell.
4983 (ses-is-cell-sym-p): New defun.
4984 (ses-decode-cell-symbol): New defun.
4985 (ses-create-cell-variable): Add cell to hashmap when name is not
4986 A1-like.
4987 (ses-rename-cell): Check that cell new name is not already in
4988 spreadsheet with the use of ses-is-cell-sym-p
4989 (ses-rename-cell): Use hash map for named cells, but accept also
4990 renaming back to A1-like.
4991
4992 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * emacs-lisp/advice.el: Use new dynamic docstrings.
4995 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4996 Use dynamic-docstring-function instead of ad-advice-info.
4997 (ad--make-advised-docstring): New function extracted from
4998 ad-make-advised-docstring.
4999 (ad-make-advised-docstring): Use it.
5000 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5001 from sql-help.
5002 (sql-help): Use it with dynamic-docstring-function.
5003
5004 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5005
5006 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * files.el (hack-one-local-variable--obsolete): New function.
5009 (hack-one-local-variable): Use it for obsolete settings.
5010
5011 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5012 the new name.
5013
5014 * progmodes/js.el (js--filling-paragraph): New var.
5015 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5016 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5017 less sneaky.
5018
5019 2012-11-08 Julien Danjou <julien@danjou.info>
5020
5021 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5022 `auto-mode-alist' (Bug#12835).
5023
5024 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5027 (perl--prettify-symbols-alist): New const.
5028 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5029 New functions.
5030 (perl-font-lock-keywords-2): Use them.
5031 (perl-electric-noindent-p): New function.
5032 (perl-mode): Use it to set up electric-indent-mode.
5033 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5034 (perl-mode-map): Remove bindings for them.
5035 (perl-imenu-generic-expression, perl-outline-level):
5036 Match functions&packages in column>0.
5037
5038 * env.el (env--substitute-vars-regexp): New const.
5039 (substitute-env-vars): Use it. Add `only-defined' arg.
5040 * net/tramp.el (tramp-replace-environment-variables): Use it.
5041
5042 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5043 Byte-compile *before* eval in eval-and-compile.
5044 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5045 (byte-compile-file-form-autoload): Don't hide actual definition.
5046 (byte-compile-maybe-guarded): Accept `functionp' as well.
5047
5048 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5049
5050 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5051
5052 * notifications.el (notifications-get-server-information-method):
5053 New defconst.
5054 (notifications-get-capabilities): Fix docstring.
5055 (notifications-get-server-information): New defun.
5056
5057 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5058
5059 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5060 readability.
5061
5062 * textmodes/ispell.el: Experimental support for support debugging.
5063 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5064 buffer for ispell.
5065 (ispell-print-if-debug): New function to print stuff to
5066 `ispell-debug-buffer' if debugging is enabled.
5067 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5068 show some debugging info.
5069 (ispell-buffer-with-debug): New function that creates a debugging
5070 buffer and calls `ispell-buffer' with debugging enabled.
5071
5072 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5073 comment in autoconf mode. (Bug#12768)
5074
5075 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5076
5077 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5078 frame-first-window, frame-root-window, frame-selected-window,
5079 minibuffer-selected-window, minibuffer-window,
5080 window-absolute-pixel-edges, window-at, window-body-height,
5081 window-body-width, window-display-table, window-combination-limit,
5082 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5083 window-inside-edges, window-inside-pixel-edges, window-left-child,
5084 window-left-column, window-margins, window-next-buffers,
5085 window-next-sibling, window-new-normal, window-new-total,
5086 window-normal-size, window-parameter, window-parameters, window-parent,
5087 window-pixel-edges, window-point, window-prev-buffers,
5088 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5089 window-start, window-text-height, window-top-child, window-top-line,
5090 window-total-height, window-total-width and window-use-time to the list
5091 of functions without side-effects.
5092 (toplevel): Add window-valid-p to the list of error-free functions
5093 without side-effects.
5094
5095 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5096
5097 * textmodes/ispell.el (ispell-program-name):
5098 Update spellchecker parameters when customized.
5099
5100 2012-11-04 Glenn Morris <rgm@gnu.org>
5101
5102 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5103
5104 2012-11-04 Chong Yidong <cyd@gnu.org>
5105
5106 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5107 same-window-* variables.
5108
5109 2012-11-04 Juri Linkov <juri@jurta.org>
5110
5111 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5112 (isearch-describe-key, isearch-describe-mode): Use a display
5113 action instead of binding same-window-* variables (Bug#10040).
5114
5115 2012-11-03 Glenn Morris <rgm@gnu.org>
5116
5117 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5118 Rename handler properties back from cl-- to cl-. (Bug#12788)
5119
5120 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5121
5122 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5123
5124 * term/pc-win.el: Don't load term/internal from here.
5125
5126 * loadup.el: Load term/internal from here.
5127
5128 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5129
5130 * progmodes/python.el (inferior-python-mode): Fix hang in
5131 jit-lock (Bug#12645).
5132
5133 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5134
5135 * window.el (switch-to-visible-buffer)
5136 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5137
5138 2012-11-03 Glenn Morris <rgm@gnu.org>
5139
5140 * emacs-lisp/cl-lib.el (cl--random-time):
5141 Rename from cl-random-time. (Bug#12773)
5142 (cl--gensym-counter, cl--random-state): Update callers.
5143 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5144
5145 2012-11-03 Chong Yidong <cyd@gnu.org>
5146
5147 * cus-start.el: Make cursor-type customizable (Bug#11633).
5148
5149 2012-11-02 Glenn Morris <rgm@gnu.org>
5150
5151 * filecache.el: No need to load find-lisp when compiling.
5152 (find-lisp-find-files): Autoload it.
5153 (file-cache-add-directory-recursively): Don't require find-lisp.
5154
5155 * image.el (image-type-from-file-name): Trivial simplification.
5156
5157 * emacs-lisp/bytecomp.el (byte-compile-eval):
5158 Decouple "noruntime" and "cl-functions" warnings.
5159
5160 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5161
5162 * play/gomoku.el (gomoku-display-statistics): Update mode line
5163 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5164
5165 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5166
5167 * window.el (quit-restore-window): If the window has been
5168 created on an existing frame and ended up as the sole window on
5169 that frame, do not delete it (Bug#12764).
5170
5171 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5174 Rename from sh--inside-arithmetic-expression, handle more cases
5175 (bug#11263).
5176
5177 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5178 (sh-font-lock-open-heredoc): Use it (bug#12770).
5179
5180 2012-10-30 Glenn Morris <rgm@gnu.org>
5181
5182 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5183
5184 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5185
5186 2012-10-29 Chong Yidong <cyd@gnu.org>
5187
5188 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5189 function key is stored in a keyboard macro (Bug#4894).
5190
5191 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5192
5193 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5196 header comments".
5197 (diff-unified->context, diff-context->unified)
5198 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5199
5200 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5201
5202 * files.el (find-alternate-file): Only ask one question (bug#12487).
5203
5204 2012-10-29 Chong Yidong <cyd@gnu.org>
5205
5206 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5207 Suggested by Dan Nicolaescu (Bug#6326).
5208
5209 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5210
5211 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5212
5213 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5214
5215 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5216
5217 * face-remap.el (face-remap-add-relative): Handle the case where a
5218 face-remapping-alist entry is a cons cell (Bug#12762).
5219
5220 2012-10-29 Kevin Ryde <user42@zip.com.au>
5221
5222 * woman.el (woman-parse-numeric-value): Handle picas correctly
5223 (Bug#12639).
5224
5225 2012-10-29 Glenn Morris <rgm@gnu.org>
5226
5227 * emacs-lisp/cl.el (defsetf): Doc fix.
5228
5229 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5232 syntax to the matching opener, if any (bug#12547).
5233 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5234 matching open as a "case-(".
5235 (sh-smie-rc-grammar): Add a corresponding rule for it.
5236
5237 2012-10-28 Daniel Hackney <dan@haxney.org>
5238
5239 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5240 "PKGNAME-autoloads.el" in case we created it.
5241
5242 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5245 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5246 (completion--twq-all): Disable too-strict assertions.
5247
5248 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5249
5250 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5251
5252 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5253 text to match the real keybindings.
5254
5255 2012-10-27 Juri Linkov <juri@jurta.org>
5256
5257 * wdired.el (wdired-keep-marker-rename): New defcustom.
5258 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5259 (Bug#11795)
5260
5261 * dired.el (dired-keep-marker-rename): Add reference to
5262 `wdired-keep-marker-rename' in the docstring.
5263 Add default character value ?R to display initially in
5264 Customization UI instead of ?@.
5265
5266 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5267
5268 * window.el (display-buffer): In doc-string describe
5269 window-height and window-width alist entries.
5270
5271 * time.el (display-time-world): Restore fit-window-to-buffer
5272 behavior.
5273
5274 2012-10-27 Chong Yidong <cyd@gnu.org>
5275
5276 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5277
5278 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5279
5280 * minibuffer.el (completion-category-overrides): New completion
5281 category `bookmark' (bug#11131).
5282
5283 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5286 Silence bogus compiler warnings for ad-do-it.
5287
5288 * bookmark.el (bookmark-completing-read): Set the completion category
5289 to `bookmark' (bug#11131).
5290
5291 2012-10-26 Bastien <bzg@altern.org>
5292 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * face-remap.el: Use lexical-binding.
5295 (text-scale-adjust): Improve docstring. Use itself for the temporary
5296 overlay-map bindings, so as to repeat the "Use..." message each time.
5297
5298 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5299
5300 * emacs-lisp/macroexp.el (macroexp--expand-all):
5301 Obey byte-compile-warning-enabled-p (bug#12486).
5302
5303 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5304 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5305
5306 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5307
5308 * mouse.el (mouse-drag-line): Move last form into preceding when
5309 clause (Bug#12731).
5310
5311 * help.el (resize-temp-buffer-window): Fix doc-string.
5312
5313 2012-10-25 David Engster <deng@randomsample.de>
5314
5315 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5316 Remove. This feature is already integrated in imenu.
5317
5318 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5319 always loaded. Require `speedbar' unconditionally.
5320
5321 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5324
5325 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5326
5327 * net/ldap.el (ldap-search-internal): The official ldif format starts
5328 with a "version: 1" header (bug#12724).
5329
5330 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5331 (bug#12721).
5332
5333 2012-10-25 Glenn Morris <rgm@gnu.org>
5334
5335 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5336
5337 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * minibuffer.el (minibuffer-force-complete): Use one more marker
5340 for the temporary-overlay-map command (bug#12619).
5341
5342 2012-10-24 Chong Yidong <cyd@gnu.org>
5343
5344 * time.el (display-time-world-mode): Derive from special-mode.
5345 (display-time-world): Use display-buffer (Bug#12708).
5346 (display-time-world-mode-map): Variable deleted.
5347 (display-time-world-display): Wrap the final delete-char inside
5348 inhibit-read-only.
5349
5350 2012-10-24 Chong Yidong <cyd@gnu.org>
5351
5352 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5353 Doc fix.
5354
5355 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5356
5357 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * minibuffer.el (completion--all-sorted-completions-location): New var.
5360 (completion--cache-all-sorted-completions)
5361 (completion--flush-all-sorted-completions): Use it.
5362 (completion-in-region, completion-in-region--postch)
5363 (completion-at-point, completion-help-at-point): Use markers in
5364 completion-in-region--data (bug#12619).
5365
5366 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * progmodes/compile.el (compilation-start): Try to handle common
5369 quoting of `cd' argument (bug#12640).
5370
5371 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5372 (bug#12671).
5373
5374 2012-10-23 Glenn Morris <rgm@gnu.org>
5375
5376 * progmodes/gud.el (gud-menu-map):
5377 Check gdb-active-process is bound. (Bug#12358)
5378
5379 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * repeat.el (repeat): Set real-this-command (bug#12232).
5382
5383 * htmlfontify.el (hfy-post-html-hook):
5384 * filesets.el (filesets-cache-fill-content-hook):
5385 * arc-mode.el (archive-extract-hook):
5386 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5387 * net/rcirc.el (rcirc-sentinel-functions)
5388 (rcirc-receive-message-functions, rcirc-activity-functions)
5389 (rcirc-print-functions):
5390 * net/dbus.el (dbus-event-error-functions):
5391 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5392 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5393 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5394 * term/sun.el (sun-raw-prefix-hooks):
5395 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5396
5397 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5398
5399 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5400 Set `tramp-chunksize' to 1. This improves the performance.
5401 (tramp-smb-wait-for-output): Add timeout to
5402 `tramp-accept-process-output' calls.
5403
5404 2012-10-23 Chong Yidong <cyd@gnu.org>
5405
5406 * faces.el (font-list-limit): Define as an obsolete variable.
5407
5408 * startup.el (command-line):
5409 * cus-start.el: Don't refer to font-list-limit.
5410
5411 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5412
5413 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5414
5415 * subr.el (internal-temp-output-buffer-show): Rename from
5416 temp-output-buffer-show, since previously compiled files expect this name.
5417
5418 2012-10-23 Glenn Morris <rgm@gnu.org>
5419
5420 * image.el (image-type-from-file-name): If multiple types match,
5421 return the first one that is supported. (Bug#9045)
5422
5423 2012-10-22 Glenn Morris <rgm@gnu.org>
5424
5425 * image.el (imagemagick-enabled-types): Doc fix.
5426
5427 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5428
5429 * progmodes/which-func.el (which-func-current): The hash-table may have
5430 an explicit nil (bug#12338).
5431
5432 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * electric.el (electric-pair-delete-selection-self-insert-function):
5435 Rename to electric-pair-will-use-region, return a boolean.
5436 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5437
5438 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5439 (delete-selection-pre-hook): Use use-region-p.
5440 (delete-selection-self-insert-function): Remove.
5441 (self-insert-command): Obey self-insert-uses-region-functions.
5442 (self-insert-iso): Revert to previous setting, since we don't actually
5443 know what that command does.
5444 (delete-selection-self-insert-hooks): Remove.
5445
5446 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5447
5448 * delsel.el (delete-selection-helper): New function, extracted from
5449 delete-selection-pre-hook.
5450 (delete-selection-pre-hook): Use it.
5451 (delete-selection-self-insert-function): New function.
5452 (delete-selection-self-insert-hooks): New hook.
5453 (self-insert-command, self-insert-iso): Use it.
5454 * electric.el (electric-pair-syntax): New function, extracted from
5455 electric-pair-post-self-insert-function.
5456 (electric-pair-post-self-insert-function): Use it.
5457 (electric-pair-delete-selection-self-insert-function): New function.
5458 (electric-pair-mode): Require delsel and setup
5459 delete-selection-self-insert-hooks (bug#11520).
5460
5461 2012-10-20 Chong Yidong <cyd@gnu.org>
5462
5463 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5464 no changes to show (Bug#12586).
5465
5466 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5467 list explicitly (Bug#12571).
5468
5469 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5470
5471 * progmodes/flymake.el (flymake-create-temp-inplace):
5472 Use file-truename.
5473
5474 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5475
5476 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5477
5478 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5479
5480 * calc/calc-units.el (math-extract-units): Properly extract powers
5481 of units.
5482
5483 2012-10-20 Daniel Colascione <dancol@dancol.org>
5484
5485 * frame.el (make-frame): Set x-display-name as we used to in order
5486 to unbreak creating an X11 frame from an Emacs daemon started
5487 without a display.
5488
5489 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5492 the same completion-field (bug#12221).
5493
5494 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5495
5496 * emacs-lisp/debug.el (debug): Record height of debugger window
5497 also when debugger will be back (Bug#8789).
5498
5499 2012-10-18 Chong Yidong <cyd@gnu.org>
5500
5501 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5502 Convert to defcustom.
5503 (gdb-get-source-file): Don't bind pop-up-windows.
5504
5505 * progmodes/gud.el (gud-display-line): Don't specially re-use
5506 other frames for the gdb-mi case (Bug#12648).
5507
5508 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * emacs-lisp/advice.el: Clean up commentary a bit.
5511 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5512 (byte-code-function-p): Never redefine.
5513
5514 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5515
5516 2012-10-18 Glenn Morris <rgm@gnu.org>
5517
5518 * dired.el (dired-sort-toggle): Some ls implementations only allow
5519 a single option string. (Bug#12666)
5520
5521 * minibuffer.el (completion-cycle-threshold): Doc fix.
5522
5523 2012-10-17 Kenichi Handa <handa@gnu.org>
5524
5525 * international/mule.el (set-keyboard-coding-system):
5526 Recover input meta mode when the new coding system doesn not use 8-bit.
5527 Supply TERMINAL arg to set-input-meta-mode.
5528
5529 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5530
5531 * wdired.el (wdired-old-marks): New variable.
5532 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5533 (wdired-do-renames): Move point with renamed file and don't lose
5534 mark status (Bug#11795).
5535
5536 2012-10-16 Juri Linkov <juri@jurta.org>
5537
5538 * replace.el (query-replace-help): Mention multi-buffer replacement
5539 keys in the Help message. (Bug#12655)
5540
5541 2012-10-15 Chong Yidong <cyd@gnu.org>
5542
5543 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5544
5545 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5546
5547 * window.el (display-buffer): Doc fix.
5548
5549 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5550 Adjust the msft regexp to the output of Studio 2010, and move msft
5551 before edg-1. See the discussion on emacs-devel,
5552 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5553 for the details.
5554
5555 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5558 (oset): Move uses of object-class-fast macro after its definition.
5559
5560 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5561
5562 2012-10-13 Chong Yidong <cyd@gnu.org>
5563
5564 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5565 enabled, re-enable it (Bug#11963).
5566
5567 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5568
5569 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5570 non-nil, restore window configuration (Bug#12623).
5571
5572 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * help-fns.el (describe-variable, describe-function-1):
5575 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5576
5577 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5578
5579 2012-10-12 Glenn Morris <rgm@gnu.org>
5580
5581 * mail/rmailsum.el (rmail-header-summary):
5582 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5583
5584 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5585
5586 * progmodes/python.el (python-mode-map):
5587 Replace subtitute-key-definition with proper command remapping.
5588 (python-nav--up-list): Fix behavior for blocks on the same level.
5589
5590 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5593
5594 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5595 changes to the format of load-history.
5596
5597 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5598 completion-ignore-case in case that var is buffer-local (bug#12615).
5599
5600 2012-10-11 Kenichi Handa <handa@gnu.org>
5601
5602 * international/eucjp-ms.el: Re-generated.
5603
5604 2012-10-10 Kenichi Handa <handa@gnu.org>
5605
5606 * select.el (xselect--encode-string): If a coding is specified for
5607 selection, and that is compatible with COMPOUND_TEXT, use it.
5608
5609 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5610
5611 * window.el (switch-to-buffer-preserve-window-point): New option.
5612 (switch-to-buffer):
5613 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5614
5615 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5616
5617 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5618 Don't document nil as a useful value (bug#12583).
5619
5620 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5621
5622 * net/tramp.el (tramp-debug-message):
5623 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5624 (with-tramp-progress-reporter): Rename from
5625 `tramp-with-progress-reporter'.
5626 (with-tramp-file-property, with-tramp-connection-property):
5627 Move from tramp-cache.el, rename from `with-file-property' and
5628 `with-connection-property', respectively.
5629
5630 * net/tramp-cache.el: Remove `with-file-property' and
5631 `with-connection-property'.
5632
5633 * net/tramp.el:
5634 * net/tramp-gvfs.el:
5635 * net/tramp-sh.el:
5636 * net/tramp-smb.el: Adapt callees.
5637
5638 * net/trampver.el: Update release number.
5639
5640 2012-10-09 Glenn Morris <rgm@gnu.org>
5641
5642 * w32-fns.el (set-message-beep):
5643 * term/w32-win.el (set-message-beep): Update declarations.
5644
5645 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5648 (mode-line-widen, mode-line-input-method-map)
5649 (mode-line-coding-system-map, mode-line-remote)
5650 (mode-line-unbury-buffer, mode-line-bury-buffer)
5651 (mode-line-next-buffer, mode-line-previous-buffer):
5652 Replace save-selected-window+select-window => with-selected-window.
5653
5654 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5655 * progmodes/cc-vars.el (bq-process): Remove, unused.
5656
5657 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5658
5659 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5660
5661 Implemented `backward-up-list'-like navigation.
5662 * progmodes/python.el (python-nav-up-list)
5663 (python-nav-backward-up-list): New functions.
5664 (python-mode-map): Define substitute key for backward-up-list to
5665 python-nav-backward-up-list.
5666
5667 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5668
5669 * progmodes/python.el (python-fill-paragraph): Rename from
5670 python-fill-paragraph-function. Fixed fill-paragraph for
5671 decorators (Bug#12605).
5672
5673 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5674
5675 * progmodes/python.el (python-shell-output-filter): Handle extra
5676 carriage return in OSX (Bug#12409).
5677
5678 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5679
5680 Fix shell handling of unbalanced quotes and parens in output.
5681 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5682 (python-syntax-propertize-function): Use it.
5683 (python-shell-output-syntax-table): New var.
5684 (inferior-python-mode): Prevent unbalanced parens/quotes from
5685 previous output mess with current input context.
5686
5687 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5688
5689 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5690 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5691
5692 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5693
5694 * ffap.el (ffap-replace-file-component): Support Tramp file name
5695 syntax, not only ange-ftp's one.
5696
5697 2012-10-08 Glenn Morris <rgm@gnu.org>
5698
5699 * cus-start.el (message-log-max): Set :version.
5700
5701 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5702
5703 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5704
5705 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5706 the minibuffer window (Bug#10851).
5707
5708 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5709
5710 Enhancements on forward-sexp movement.
5711 * progmodes/python.el (python-nav-beginning-of-statement)
5712 (python-nav-end-of-statement): Return point-marker.
5713 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5714 (python-info-current-symbol)
5715 (python-info-statement-starts-block-p): Rename from
5716 python-info-beginning-of-block-p.
5717 (python-info-statement-ends-block-p): Rename from
5718 python-info-end-of-block-p.
5719 (python-info-beginning-of-statement-p)
5720 (python-info-end-of-statement-p)
5721 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5722 New functions.
5723
5724 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5727 frame-selected-windows.
5728
5729 2012-10-08 Daniel Colascione <dancol@dancol.org>
5730
5731 * battery.el (battery-status-function): Check for
5732 w32-battery-status itself, not system-time windows-nt.
5733
5734 * frame.el: Require cl-lib.
5735 (display-format-alist): New variable mapping frame types to
5736 functions that initialize them.
5737 (window-system-for-display): New function: interprets
5738 display-format-alist.
5739 (make-frame-on-display): Remove existing display-selection logic
5740 and just forward to make-frame, which will now DTRT.
5741 (make-frame): Restructure to use window-system-for-display to
5742 figure out how to create a frame on a given display.
5743 (display-mouse-p): Look for frame-type w32, not a particular
5744 system-type.
5745
5746 * loadup.el: Load w32 lisp code when we have the w32 feature.
5747
5748 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5749 system-type windows-nt.
5750
5751 * server.el (server-create-window-system-frame): Look for window
5752 type.
5753 (server-proces-filter): Only force a window system when windows-nt
5754 _and_ w32. Explain why.
5755
5756 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5757 of window systems we configure for the mode.
5758
5759 * startup.el (command-line): Mark window system is initialized
5760 after we've done it.
5761
5762 * common-win.el (x-select-text): Look for w32, not windows-nt.
5763
5764 * ns-win.el: Require cl-lib. Add ourselves to
5765 display-format-alist.
5766 (ns-initialize-window-system): Assert we're not initialized twice.
5767
5768 * w32-win.el: Enable lexical binding; require cl-lib; add
5769 ourselves to display-format-alist.
5770 (w32-handle-dropped-file): Convert incoming dropped files from
5771 Windows paths to Cygwin ones before passing them on to the rest of
5772 Emacs.
5773 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5774 (w32-initialize-window-system): Assert we're not initialized twice.
5775
5776 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5777 (x-initialize-window-system): Assert we're not initialized twice.
5778
5779 * w32-common-fns.el: New File.
5780 (w32-version, w32-using-nt, w32-get-clipboard-data)
5781 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5782 (w32-charset-info-alist, x-last-selected, text)
5783 (x-get-selection-value, x-selection-value): Move here.
5784
5785 * w32-fns.el: Require w32-common-fns.
5786 (w32-version, w32-using-nt, w32-get-clipboard-data)
5787 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5788 (w32-charset-info-alist, x-last-selected, text)
5789 (x-get-selection-value, x-selection-value): Move to
5790 w32-common-fns.
5791
5792 * w32-vars.el:
5793 (w32-allow-system-shell, w32-system-shells): Define only in
5794 non-cygwin case.
5795
5796 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5799 (read-passwd): Remove a few more potential sources of leaks.
5800
5801 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5802
5803 * progmodes/python.el (inferior-python-mode)
5804 (python-shell-make-comint): Fix initialization of local
5805 variables copied from parent buffer.
5806
5807 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5808
5809 * term/ns-win.el (ns-read-file-name): Update declaration to match
5810 nsfns.m.
5811 (ns-respond-to-change-font): Change fontsize separately so we are sure
5812 it is set when font is acted upon.
5813
5814 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5815
5816 Enhancements to indentation.
5817 * progmodes/python.el (python-indent-context): Give priority to
5818 inside-string context. Make comments indentation markers.
5819 (python-indent-region): Do not mess with strings, unless it's the
5820 enclosing set of quotes.
5821
5822 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5823
5824 * window.el (internal--before-save-selected-window)
5825 (internal--after-save-selected-window): New functions extracted from
5826 save-selected-window. Make sure we return the `alist' we construct.
5827 (save-selected-window): Use them.
5828
5829 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5830 Use with-selected-window.
5831
5832 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5833 forms that define macros (bug#12593).
5834
5835 2012-10-07 Kenichi Handa <handa@gnu.org>
5836
5837 * international/mule-conf.el (compound-text-with-extensions):
5838 Add :mime-charset property as x-ctext.
5839
5840 2012-10-07 Stefan Merten <smerten@oekonux.de>
5841
5842 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5843 (rst-indent-literal-normal, rst-indent-literal-minimized)
5844 (rst-indent-comment): Correct :version tag.
5845 (rst-official-cvs-rev): Correct version string.
5846
5847 2012-10-07 Glenn Morris <rgm@gnu.org>
5848
5849 * mail/rmailmm.el (rmail-mime-process-multipart):
5850 Do not confuse a multipart message with an epilogue
5851 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5852
5853 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5854
5855 Fix shell output retrieval and comint-prompt-regexp init.
5856 * progmodes/python.el (inferior-python-mode):
5857 (python-shell-make-comint): Fix initialization of
5858 comint-prompt-regexp from copied file local variables.
5859 (python-shell-fetched-lines): Remove var.
5860 (python-shell-output-filter-in-progress): Rename from
5861 python-shell-fetch-lines-in-progress.
5862 (python-shell-output-filter-buffer): Rename from
5863 python-shell-fetch-lines-string.
5864 (python-shell-fetch-lines-filter): Delete function.
5865 (python-shell-output-filter): New function.
5866 (python-shell-send-string-no-output): Use them.
5867
5868 2012-10-07 Glenn Morris <rgm@gnu.org>
5869
5870 * hi-lock.el (hi-lock-process-phrase):
5871 Try to make it less fragile. (Bug#7161)
5872
5873 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5874
5875 2012-10-06 Glenn Morris <rgm@gnu.org>
5876
5877 * ehelp.el (electric-help-mode): Use help-mode rather than
5878 non-existent mode `help'.
5879 (electric-help-map): Use button-buffer-map. (Bug#10917)
5880
5881 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5882 (reftex-create-bibtex-footer): Fix custom types.
5883
5884 * progmodes/sh-script.el (sh-indent-after-continuation):
5885 Add explicit :group.
5886
5887 * textmodes/rst.el (rst-preferred-decorations)
5888 (rst-shift-basic-offset): Clarify obsolescence versions.
5889
5890 * profiler.el (profiler): Add missing group :version tag.
5891 * avoid.el (mouse-avoidance-banish-position):
5892 * proced.el (proced-renice-command):
5893 * calc/calc.el (calc-ensure-consistent-units):
5894 * calendar/icalendar.el (icalendar-import-format-uid):
5895 * net/tramp.el (tramp-save-ad-hoc-proxies):
5896 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5897 * progmodes/flymake.el (flymake-error-bitmap)
5898 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5899 * progmodes/sh-script.el (sh-indent-after-continuation):
5900 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5901 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5902 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5903 (vhdl-array-index-record-field-in-sensitivity-list)
5904 (vhdl-indent-comment-like-next-code-line):
5905 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5906 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5907 (reftex-cite-key-separator, reftex-create-bibtex-header)
5908 (reftex-create-bibtex-footer):
5909 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5910 (rst-indent-literal-normal, rst-indent-literal-minimized)
5911 (rst-indent-comment): Add missing custom :version tags.
5912
5913 * calendar/timeclock.el (timeclock-modeline-display):
5914 Add missing obsolete alias for renamed user option.
5915
5916 * strokes.el (strokes-modeline-string):
5917 * emulation/crisp.el (crisp-mode-modeline-string):
5918 * eshell/esh-mode.el (eshell-status-in-modeline):
5919 Aliases to defcustoms must come before the defcustom.
5920
5921 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5922 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5923 (cal-tex-cursor-week-monday): Doc fixes.
5924 (cal-tex-cursor-week2-summary): Doc fix.
5925 Rename from cal-tex-cursor-week-at-a-glance.
5926
5927 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5928 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5929
5930 * calendar/calendar.el (calendar-mode-map):
5931 Add cal-tex-cursor-week2-summary.
5932
5933 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5936
5937 * subr.el (read-passwd-map): New var.
5938 (read-passwd): Use `read-string' again.
5939 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5940
5941 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5942
5943 * register.el (append-to-register, prepend-to-register):
5944 Deactivate mark, as does `copy-to-register' (bug#12389).
5945
5946 2012-10-06 Chong Yidong <cyd@gnu.org>
5947
5948 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5949
5950 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5951
5952 * international/characters.el: Fix simple mistake ((car chars) ->
5953 elt), delete duplicated code.
5954
5955 2012-10-06 Glenn Morris <rgm@gnu.org>
5956
5957 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5958
5959 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5960
5961 * color.el (color-hsl-to-rgb): Fix incorrect results for
5962 small and large hue values. (Bug#12559)
5963
5964 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5965
5966 Enhancements to docstring formatting when filling paragraphs.
5967 * progmodes/python.el (python-fill-docstring-style): Rename from
5968 python-fill-string-style. Added new style.
5969 (python-fill-string): Use new style. Better checks for
5970 docstrings.
5971
5972 2012-10-05 Glenn Morris <rgm@gnu.org>
5973
5974 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5975
5976 * color.el (color-name-to-rgb, color-rgb-to-hex)
5977 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5978 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5979 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5980 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5981
5982 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5983
5984 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5985
5986 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5987 to get the correct size across symlinks.
5988
5989 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5990
5991 2012-10-04 Juri Linkov <juri@jurta.org>
5992
5993 * replace.el (query-replace-interactive): Declare obsolete.
5994 (query-replace-read-from): Add the last incremental search string
5995 to the list of default values accessible via M-n.
5996 (map-query-replace-regexp): Use `read-regexp'.
5997 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5998 (map-query-replace-regexp, replace-string, replace-regexp):
5999 Fix docstrings to replace mentions of `query-replace-interactive'
6000 with alternatives. (Bug#12526)
6001
6002 2012-10-04 Juri Linkov <juri@jurta.org>
6003
6004 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6005 (dired-pop-to-buffer): Declare obsolete.
6006 (dired-mark-pop-up): Doc fix.
6007
6008 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6009
6010 Allow user to set docstring style for fill-paragraph.
6011 * progmodes/python.el
6012 (python-fill-comment-function, python-fill-string-function)
6013 (python-fill-decorator-function, python-fill-paren-function):
6014 Remove :safe for defcustoms.
6015 (python-fill-string-style): New defcustom
6016 (python-fill-paragraph-function): Enhance context detection.
6017 (python-fill-string): Honor python-fill-string-style settings.
6018
6019 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6020
6021 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6022 after setting its buffer (Bug#10805).
6023
6024 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6025
6026 Fix cornercase for string syntax.
6027 * progmodes/python.el (python-syntax-propertize-function):
6028 Simplify and enhance the regexp for unescaped quotes. Now it also
6029 matches quotes in weird situations like the single quote in
6030 "something\"'".
6031 (python-syntax-stringify): Simplify num-quotes detecting code.
6032
6033 2012-10-03 Glenn Morris <rgm@gnu.org>
6034
6035 * help-macro.el (three-step-help):
6036 Revert 2012-09-29 change. (Bug#12567)
6037
6038 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6039
6040 * menu-bar.el (kill-this-buffer): Don't do anything when
6041 `menu-frame' is not alive or visible (Bug#8184).
6042
6043 * emacs-lisp/debug.el (debug): When quitting the debugger window
6044 restore current buffer (Bug#12502).
6045
6046 2012-10-02 Chong Yidong <cyd@gnu.org>
6047
6048 * progmodes/hideif.el (hif-lookup, hif-defined):
6049 Handle semantic-c-takeover-hideif.
6050
6051 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6052
6053 Change sampling interval units from ms to ns.
6054 * profiler.el (profiler-sampling-interval): Change units
6055 from ms to ns, multiplying the default by 1000000 so that
6056 it remains 1 ms.
6057 (profiler-report-cpu-line-format): Give enough room for
6058 the maximum counters on 64-bit hosts.
6059 (profiler-report-render-calltree-1): Call them "CPU samples",
6060 not "Time (ms)", since they are not milliseconds now (and
6061 never really were).
6062
6063 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6064
6065 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6066 Fix querying BBDB for entries without a last name (Bug#11580).
6067
6068 2012-10-02 Chong Yidong <cyd@gnu.org>
6069
6070 * emacs-lisp/eieio.el: Restore Version header.
6071
6072 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * vc/diff-mode.el (diff--auto-refine-data): New var.
6075 (diff-hunk): Use it to delay refinement.
6076 (diff-mode): Remove overlays when we turn off font-lock.
6077
6078 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6079 (table-initialize-table-fixed-width-mode)
6080 (table-set-table-fixed-width-mode): Remove functions.
6081 (table-command-list): Move initialization into declaration.
6082 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6083 (table-with-cache-buffer): Use `declare'.
6084 (table-span-cell): Simplify via CSE.
6085 (table-fixed-width-mode): Use define-minor-mode.
6086 (table-call-interactively, table-funcall, table-apply): Remove.
6087 (table-function): New function, to replace them.
6088
6089 * bookmark.el (bookmark-search-pattern): Remove var.
6090 (bookmark-read-search-input): Remove function.
6091 (bookmark-bmenu-search): Reimplement using a minibuffer.
6092
6093 * faces.el (modeline): Remove obsolete face name.
6094
6095 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6096 and give a non-nil default value.
6097 (add-change-log-entry): Simplify accordingly.
6098
6099 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6100
6101 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6102 (vc-git-log-edit-toggle-amend): New function.
6103 (vc-git-log-edit-toggle-signoff): New function.
6104 (vc-git-log-edit-mode): New major mode.
6105 (vc-git-log-edit-mode-map): Keymap for it.
6106 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6107
6108 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6109 header names.
6110 (log-edit-toggle-header): New function.
6111 (log-edit-extract-headers): Accept function values in HEADERS alist.
6112
6113 2012-10-01 David Engster <deng@randomsample.de>
6114
6115 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6116 from symbol property and change message to be more consistent with
6117 Emacs proper.
6118 (eieio-describe-generic): Add filename for each implementation.
6119 Fix indices for generic and normal methods.
6120 (eieio-method-def, eieio-class-def): New buttons.
6121 (eieio-help-find-method-definition)
6122 (eieio-help-find-class-definition): New functions.
6123 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6124 class, constructor and method definitions.
6125
6126 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6127 information in symbol property.
6128 (scoped-class): Remove.
6129 (eieio-slot-name-index, call-next-method): Check if it is bound.
6130
6131 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6132
6133 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6134 (eieio-custom-mode): New major mode.
6135 (eieio-customize-object): Use it.
6136
6137 2012-10-01 Eric Ludlam <zappo@gnu.org>
6138
6139 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6140 specifying the expected class, and whether subclassing is allowed.
6141 (eieio-persistent-convert-list-to-object):
6142 (eieio-persistent-validate/fix-slot-value)
6143 (eieio-persistent-slot-type-is-class-p): New functions.
6144 (eieio-named::slot-missing): Doc fix.
6145
6146 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6147 Stop using unused publd variable.
6148
6149 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6150 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6151 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6152 (eieio-speedbar-handle-click): Do not specify a class for the
6153 method. Fixes method invocation order problems with EDE.
6154
6155 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6158 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6159
6160 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6161
6162 * bookmark.el (bookmark-version-control): Give tags in the
6163 :type choices (Bug#12309), and improve doc string.
6164 (bookmark-write-file): Bind `print-circle' to `t' to allow
6165 circular custom bookmark types. (Bug#12503)
6166
6167 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6168
6169 Revert the FOLLOW-SYMLINKS change for file-attributes.
6170 * files.el (remote-file-name-inhibit-cache, after-find-file):
6171 * time.el (display-time-file-nonempty-p): Undo last change.
6172
6173 * profiler.el (profiler-sampling-interval): Change default back to 1.
6174 See Stefan Monnier in
6175 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6176
6177 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6178
6179 Shell output catching a la gud-gdb.
6180 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6181 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6182 New Vars.
6183 (python-shell-fetch-lines-filter): New function.
6184 (python-shell-send-string-no-output): Use them.
6185
6186 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6187
6188 * profiler.el (profiler-sampling-interval): Rename from
6189 profiler-sample-interval.
6190 (profiler-sampling-interval): Default to 10.
6191 (profiler-find-profile): New command (was profiler-find-log).
6192 (profiler-find-profile-other-window): New command.
6193 (profiler-find-profile-other-frame): New command.
6194 (profiler-profile): Introduce API-level data structure.
6195
6196 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6197
6198 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6199 * files.el (remote-file-name-inhibit-cache):
6200 * time.el (display-time-file-nonempty-p): Use it.
6201 * files.el (after-find-file): Don't chase links before calling
6202 file-exists-p, as file-exists-p already does the right thing.
6203
6204 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6205
6206 Merge from standalone RefTeX repository.
6207
6208 The following ChangeLog entries are shortened versions of the
6209 original ones with file paths adapted. A not so strongly edited
6210 version of the original ChangeLog can be found in the commit log.
6211
6212 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6213 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6214 Correctly handle new value type returned by `reftex-citation'.
6215
6216 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6217 that entries with whitespace at various places are found.
6218 Doc fix. Include entries that are cross-referenced from cited entries.
6219 Include @String definitions in the resulting bib file. Add header
6220 and footer defined in `reftex-create-bibtex-header' and
6221 `reftex-create-bibtex-footer'.
6222 (reftex-do-citation): Make it possible again to insert
6223 non-existent entries. Save match data when asking for optional
6224 arguments. Return all keys, not just the first one.
6225 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6226 all citations in the same line.
6227 (reftex-parse-bibtex-entry): Accept additional optional argument
6228 `raw' and keep quotes or braces if it is non-nil. Match fields
6229 containing hyphens besides word constituents.
6230 (reftex-get-string-refs): New function.
6231 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6232 and ask if it should be reread in case it did.
6233 (reftex-pop-to-bibtex-entry)
6234 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6235 entries with spaces or tabs in front of arguments.
6236 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6237 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6238 Match entries containing numbers and symbol constituents.
6239 (reftex-do-citation, reftex-figure-out-cite-format):
6240 Use `reftex-cite-key-separator'.
6241
6242 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6243 (reftex-mouse-view-crossref): Explain why point is set.
6244
6245 * textmodes/reftex-global.el: Whitespace changes.
6246
6247 * textmodes/reftex-index.el: Move provide statement to end of
6248 file.
6249 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6250 (reftex-index-visit-phrases-buffer): Set marker when visiting
6251 buffer. This allows for returning from the phrases file to the
6252 file one was just editing instead of the file where the last
6253 phrases was added from.
6254 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6255 punctuation syntax as it usually is not used as string quote in
6256 TeX-related modes and may occur unmatched. The change also
6257 prevents fontification of quoted content.
6258 (reftex-index-phrases-mode): Use it.
6259
6260 * textmodes/reftex-parse.el (reftex-parse-from-file):
6261 Move backward one char if a `\' was matched after a section macro.
6262 (reftex-parse-from-file): Use beginning of match instead of end as
6263 bound.
6264
6265 * textmodes/reftex-ref.el: Adapt creation of
6266 `reftex-<package>-<macro>' functions to new structure of
6267 `reftex-ref-style-alist'.
6268 (reftex-reference): Use `reftex-ref-style-list' function.
6269 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6270 reference macro if `reftex-ref-macro-prompt' is non-nil.
6271 (reftex-reference): Pass refstyle to `reftex-format-special'.
6272 Determine reference macro by looking at
6273 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6274 Use only one special format function.
6275 (reftex-varioref-vref, reftex-fancyref-fref)
6276 (reftex-fancyref-Fref): Remove definitions. The functions are now
6277 generated from `reftex-ref-style-alist'.
6278 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6279 Remove.
6280 (reftex-format-special): New function.
6281
6282 * textmodes/reftex-sel.el
6283 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6284 of `reftex-ref-style-alist'. Remove code for testing macro type.
6285 (reftex-select-toggle-varioref)
6286 (reftex-select-toggle-fancyref): Remove.
6287 (reftex-select-cycle-ref-style-internal)
6288 (reftex-select-cycle-ref-style-forward)
6289 (reftex-select-cycle-ref-style-backward): New functions.
6290 (reftex-select-label-map): Use `v' and `V' for general cycling
6291 through reference styles. Add `p' for switching between number
6292 and page reference types.
6293
6294 * textmodes/reftex-toc.el (reftex-re-enlarge):
6295 Call `enlarge-window' only if there is something to do because in Emacs
6296 the horizontal version throws an error even if the parameter is 0.
6297
6298 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6299 (reftex-plug-into-AUCTeX): Doc fix.
6300 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6301 string. Adapt to new name.
6302 (reftex-ref-style-alist): Change structure so that it is not
6303 possible to use multiple different package names within a style.
6304 Remove the symbols for symbols for macro type distinction.
6305 Add characters for macro selection.
6306 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6307 (reftex-create-bibtex-footer): New variables.
6308 (reftex-format-ref-function): Mention third argument of special
6309 format function.
6310 (reftex-ref-style-alist, reftex-ref-style-default-list):
6311 New variables.
6312 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6313 to new implementation. Mark as obsolete. Add compatibility code
6314 for honoring the variable values in case they are set.
6315 (reftex-cite-format-builtin, reftex-bibliography-commands):
6316 Add support for ConTeXt.
6317 (reftex-format-ref-function, reftex-format-cite-function):
6318 Fix custom type.
6319 (reftex-cite-key-separator): New variable.
6320
6321 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6322 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6323 `reftex-syntax-table' because parens have to retain their paren
6324 syntax in order for parsing of BibTeX entries like @book(...) to
6325 work.
6326 (reftex-in-comment): Do not error out if `comment-start-skip' is
6327 not set. Deal correctly with escaped comment characters.
6328 (reftex-tie-multifile-symbols): Add doc string.
6329 Initialize `reftex-ref-style-list'.
6330 (reftex-untie-multifile-symbols): Add doc string.
6331 (reftex-add-index-macros): Doc fix.
6332 (reftex-ref-style-activate, reftex-ref-style-toggle)
6333 (reftex-ref-style-list): New functions.
6334 (reftex-mode-menu): Use them. Adapt to new structure of
6335 `reftex-ref-style-alist'.
6336 (reftex-select-with-char): Kill the RefTeX Select buffer when
6337 done.
6338 (reftex-remove-if): New function.
6339 (reftex-erase-all-selection-and-index-buffers)
6340 (reftex-mode-menu): Reference styles are now computed from
6341 `reftex-ref-style-alist'. Fix typo.
6342 (reftex-report-bug): New function.
6343 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6344 algorithms with O(n log n). Introduce optional argument SORT (not
6345 yet used).
6346
6347 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6348
6349 Enhancements for triple-quote string syntax.
6350 * progmodes/python.el (python-syntax-propertize-function):
6351 Match both quote cases in one regexp.
6352 (python-syntax-stringify): Handle matches properly.
6353
6354 2012-09-30 Juri Linkov <juri@jurta.org>
6355
6356 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6357 to nil around the call to `insert' to prevent
6358 directory time modification by lock_file. (Bug#2295)
6359 * tar-mode.el (tar-summarize-buffer): Idem.
6360
6361 2012-09-30 Juri Linkov <juri@jurta.org>
6362
6363 * facemenu.el (list-colors-sort): Add option "Luminance".
6364 (list-colors-sort-key): Implement it.
6365
6366 * vc/diff-mode.el (diff-refine-removed):
6367 * vc/ediff-init.el (ediff-fine-diff-A):
6368 * vc/smerge-mode.el (smerge-refined-removed):
6369 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6370
6371 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6372
6373 * term/ns-win.el (x-file-dialog): New function.
6374
6375 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6376
6377 * ido.el (ido-max-directory-size): Default to nil; the current
6378 default is small for POSIX systems, and impractical on Windows 7
6379 now that lstat returns directory sizes for NTFS.
6380
6381 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6382
6383 In buffer display functions handle window-height/window-width
6384 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6385 * window.el (window--display-buffer): New argument ALIST.
6386 Obey window-height and window-width alist entries.
6387 (window--try-to-split-window): New argument ALIST.
6388 Bind window-combination-limit to t when the window's size shall be
6389 changed and window-combination-limit equals `window-size'.
6390 (display-buffer-in-atom-window)
6391 (display-buffer-in-major-side-window)
6392 (display-buffer-in-side-window, display-buffer-same-window)
6393 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6394 (display-buffer-pop-up-window, display-buffer-below-selected)
6395 (display-buffer-at-bottom, display-buffer-in-previous-window)
6396 (display-buffer-use-some-window): Adjust all callers of
6397 window--display-buffer and window--try-to-split-window.
6398 (fit-frame-to-buffer): New option.
6399 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6400 is non-nil.
6401 (display-buffer-in-major-side-window): Evaluate window-height /
6402 window-width alist entries.
6403
6404 * help.el (temp-buffer-resize-frames)
6405 (temp-buffer-resize-regexps): Remove options.
6406 (temp-buffer-resize-mode): Adjust doc-string.
6407 (resize-temp-buffer-window): Don't consult
6408 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6409 temp-buffer-resize-frames.
6410
6411 * dired.el (dired-mark-pop-up):
6412 Call display-buffer-below-selected with a fit-window-to-buffer alist
6413 entry.
6414
6415 2012-09-30 Chong Yidong <cyd@gnu.org>
6416
6417 * server.el (server-host): Document the security implications.
6418 (server-auth-key): Doc fix.
6419
6420 * startup.el (initial-buffer-choice): Doc fix.
6421
6422 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6423
6424 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6425 restriction change.
6426
6427 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6428
6429 * help-fns.el (help-fns--obsolete): Fix last change.
6430
6431 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6434 (minor-mode-map-alist): Remove redundant code.
6435
6436 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6437 visited in a buffer.
6438 (cvs-insert-visited-file): New function.
6439 (find-file-hook): Use it.
6440
6441 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6442
6443 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6444 chose face.
6445 (log-edit-empty-buffer-p): Don't require a space after a header.
6446
6447 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6448
6449 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6450
6451 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6452 a proper minor-mode.
6453
6454 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6455
6456 2012-09-29 Glenn Morris <rgm@gnu.org>
6457
6458 * winner.el (winner-mode): Remove variable (let define-minor-mode
6459 handle it).
6460 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6461 Doc fixes.
6462 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6463 (winner-mode): Use define-minor-mode.
6464
6465 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6466 the full definition in loaddefs, rather than duplicating it.
6467
6468 * help-macro.el (three-step-help): No need to autoload defcustom.
6469
6470 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6471 (inferior-lisp-program, inferior-lisp-load-command)
6472 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6473 No need to autoload defcustoms.
6474
6475 * hippie-exp.el (hippie-expand-try-functions-list)
6476 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6477 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6478 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6479 (hippie-expand-only-buffers): No need to autoload defcustoms.
6480 * progmodes/vhdl-mode.el (vhdl-line-expand):
6481 Explicitly load hippie-exp, so it does not get autoloaded
6482 while hippie-expand-try-functions-list is let-bound.
6483
6484 2012-09-28 Glenn Morris <rgm@gnu.org>
6485
6486 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6487
6488 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6489 Only "cl.el" counts as cl these days.
6490
6491 2012-09-28 Juri Linkov <juri@jurta.org>
6492
6493 Display archive errors in the echo area instead of inserting
6494 to the file buffer.
6495
6496 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6497 to STDERR-TEST that can be a regexp matching a successful output.
6498 Create a temporary file and redirect stderr to it. Search for
6499 STDERR-TEST in the stderr output and display it in the echo area
6500 if no match is found.
6501 (archive-extract-by-file): New function like
6502 `archive-extract-by-stdout' but extracting archives to files
6503 and looking for successful matches in stdout. Function body is
6504 mostly copied from `archive-rar-extract'.
6505 (archive-rar-extract): Use `archive-extract-by-file'.
6506 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6507
6508 2012-09-28 Leo Liu <sdl.web@gmail.com>
6509
6510 * pcomplete.el (pcomplete-show-completions):
6511 Use minibuffer-message to make pcomplete usable in minibuffer.
6512
6513 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6514
6515 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * type-break.el: Use lexical-binding.
6518 (type-break-mode): Use define-minor-mode.
6519
6520 * emacs-lisp/pcase.el (pcase--mark-used): New.
6521 (pcase--u1): Use it (bug#12512).
6522
6523 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6524 in load-history with the right file name.
6525
6526 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6527
6528 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6529 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6530 (doc-view-get-bounding-box): Make bounding box slicing work for
6531 ODF and DVI documents.
6532
6533 2012-09-28 Glenn Morris <rgm@gnu.org>
6534
6535 * type-break.el (type-break-mode, type-break-interval)
6536 (type-break-good-rest-interval, type-break-keystroke-threshold):
6537 No need to autoload.
6538 (type-break-good-rest-interval, type-break-keystroke-threshold):
6539 Add :set-after.
6540
6541 2012-09-28 Chong Yidong <cyd@gnu.org>
6542
6543 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6544 Add :version tag.
6545
6546 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6549
6550 2012-09-27 Glenn Morris <rgm@gnu.org>
6551
6552 * faces.el (x-display-name): Declare (for without-x builds).
6553
6554 * linum.el (linum-format): Don't autoload it. Improve :type.
6555
6556 * progmodes/tcl.el: Don't require outline when compiling.
6557 (outline-regexp, outline-level): Declare.
6558 * textmodes/sgml-mode.el: Don't require outline when compiling.
6559 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6560
6561 * term.el (term-ansi-reset):
6562 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6563
6564 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6565 files for RCS and SCCS. (Bug#9781)
6566
6567 2012-09-27 Chong Yidong <cyd@gnu.org>
6568
6569 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6570 change; value should be t.
6571
6572 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * image-mode.el: Use lexical-binding.
6575 (image-mode-winprops): Use t to stand for the window of
6576 a buffer that's not displayed.
6577 * doc-view.el (doc-view-new-window-function): Handle the new
6578 t in winprops.
6579 (doc-view-enlarge): Make it a real nop if the size is not changed.
6580 (doc-view-display): Handle the case where the buffer is not (yet?)
6581 displayed in any window.
6582 (doc-view-saved-settings): New var.
6583 (doc-view-mode): Use it.
6584 (doc-view-fallback-mode): Set it.
6585
6586 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6587 Set lexical-binding.
6588 (minibuffer-eldef-shorten-default): New var.
6589 (minibuffer-default-in-prompt-regexps): Use it for new default.
6590 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6591
6592 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6593
6594 * international/uni-bidi.el:
6595 * international/uni-category.el:
6596 * international/uni-name.el:
6597 * international/uni-numeric.el: Regenerate.
6598
6599 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6600 Stefan Monnier <monnier@iro.umontreal.ca>
6601
6602 * profiler.el: New file.
6603
6604 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6607 (testcover-reinstrument): Simplify with CSE.
6608
6609 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6610
6611 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6612
6613 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6614
6615 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6616 (verilog-auto-input, verilog-auto-insert-lisp)
6617 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6618 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6619 (verilog-auto-unused, verilog-auto-wire)
6620 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6621 newline. Reported by Andrew Jones.
6622 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6623 Reported by Brad Dobbie.
6624 (verilog-batch-delete-trailing-whitespace):
6625 Create verilog-batch-delete-trailing-whitespace.
6626 Reported by Brad Dobbie.
6627 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6628 parameters from another module. Reported by Dan Katz.
6629 (verilog-auto, verilog-auto-assign-modport)
6630 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6631 AUTOINOUTMODPORT for UVM interface module shell generation.
6632 Reported by Brad Dobbie.
6633 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6634 standard behavior.
6635 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6636 Reported by Matt Martin.
6637
6638 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6639
6640 * window.el (window--resize-child-windows): When resizing child
6641 windows proportionally, process them in reverse order to
6642 preserve the "when splitting a window the new one gets the odd
6643 line" behavior.
6644 (window--resize-root-window-vertically): When resizing the
6645 minibuffer window try to affect only windows at the bottom of the
6646 frame. (Bug#12419)
6647
6648 2012-09-25 Chong Yidong <cyd@gnu.org>
6649
6650 * subr.el (declare): Doc fix.
6651
6652 * help-fns.el (help-fns--obsolete): Handle macros properly.
6653
6654 2012-09-25 Chong Yidong <cyd@gnu.org>
6655
6656 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6657 this function obsolete.
6658
6659 * calendar/cal-x.el (calendar-two-frame-setup)
6660 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6661 * calendar/calendar.el (american-calendar, european-calendar)
6662 (calendar-for-loop):
6663 * comint.el (comint-dynamic-simple-complete)
6664 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6665 * desktop.el (desktop-load-default):
6666 * dired-x.el (dired-omit-here-always)
6667 (dired-hack-local-variables, dired-default-directory):
6668 * emacs-lisp/derived.el (derived-mode-class):
6669 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6670 * emacs-lock.el (toggle-emacs-lock):
6671 * epa.el (epa-display-verify-result):
6672 * epg.el (epg-sign-keys, epg-start-sign-keys)
6673 (epg-passphrase-callback-function):
6674 * eshell/esh-util.el (eshell-for):
6675 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6676 (eshell-add-to-window-buffer-names):
6677 * files.el (locate-file-completion):
6678 * imenu.el (imenu-example--create-c-index)
6679 (imenu-example--create-lisp-index)
6680 (imenu-example--lisp-extract-index-name)
6681 (imenu-example--name-and-position):
6682 * international/mule-cmds.el (princ-list):
6683 * international/mule-diag.el (decode-codepage-char):
6684 * international/mule-util.el (detect-coding-with-priority):
6685 * iswitchb.el (iswitchb-read-buffer):
6686 * mail/mailalias.el (mail-complete):
6687 * mail/sendmail.el (mail-sent-via):
6688 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6689 (mouse-major-mode-menu):
6690 * password-cache.el (password-read-and-add):
6691 * pcomplete.el (pcomplete-parse-comint-arguments):
6692 * progmodes/sh-script.el (sh-maybe-here-document):
6693 * replace.el (query-replace-regexp-eval):
6694 * savehist.el (savehist-load):
6695 * simple.el (choose-completion-delete-max-match):
6696 * term.el (term-dynamic-simple-complete):
6697 * vc/ediff-init.el (ediff-check-version):
6698 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6699 * vc/vc.el (vc-diff-switches-list):
6700 * view.el (view-return-to-alist-update): Likewise.
6701
6702 * subr.el (eval-next-after-load, makehash, insert-string)
6703 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6704 mark obsolete.
6705 (mode-line-inverse-video): Variable deleted.
6706
6707 * international/mule-util.el (string-to-sequence): Remove.
6708
6709 * calendar/calendar.el (calendar-version):
6710 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6711 (icalendar-convert-diary-to-ical):
6712 * cus-edit.el (custom-mode):
6713 * ansi-color.el (ansi-color-unfontify-region):
6714 * international/latin1-disp.el (latin1-char-displayable-p):
6715 * progmodes/cwarn.el (turn-on-cwarn-mode):
6716 * progmodes/which-func.el (which-func-update-1):
6717 Use define-obsolete-function-alias.
6718
6719 * net/newst-backend.el (newsticker-cache-filename):
6720 * net/newst-treeview.el (newsticker-groups-filename):
6721 Fix incorrect obsolescence declaration.
6722
6723 * allout.el (allout-passphrase-hint-string): Likewise.
6724 (allout-init): Use a declare form to mark obsolete.
6725
6726 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6727 this applies to functions.
6728
6729 * iswitchb.el (iswitchb-read-buffer): Move code of
6730 iswitchb-define-mode-map here, and delete that obsolete function.
6731
6732 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6733 font-lock-reference-face.
6734
6735 2012-09-25 Glenn Morris <rgm@gnu.org>
6736
6737 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6738 Doc fixes.
6739
6740 * eshell/em-term.el (eshell-term-name):
6741 Default to term-term-name. (Bug#12485)
6742
6743 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6744
6745 * progmodes/python.el (python-shell-send-buffer): Better handling
6746 of "if __name__ == '__main__':" conditionals when sending the buffer.
6747
6748 2012-09-24 Glenn Morris <rgm@gnu.org>
6749
6750 * eshell/esh-cmd.el (eshell-find-alias-function):
6751 Tighten up file-name regexp. (Bug#12499)
6752
6753 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6754
6755 Enhancements for triple-quote string syntax.
6756 * progmodes/python.el (python-quote-syntax): Remove.
6757 (python-syntax-propertize-function): New value.
6758 (python-syntax-count-quotes, python-syntax-stringify):
6759 New functions.
6760
6761 2012-09-24 Chong Yidong <cyd@gnu.org>
6762
6763 * mail/supercite.el (sc-version): Remove obsolete function.
6764 (sc-describe): Don't mark as obsolete, since it is bound.
6765 (sc-submit-bug-report): Remove.
6766
6767 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6768 (cvs-commit-buffer-require-final-newline): Remove.
6769 (log-edit-require-final-newline)
6770 (log-edit-changelog-full-paragraphs): Default to t.
6771
6772 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6773 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6774 * vc/vc.el (vc-checkout-carefully): Likewise.
6775
6776 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6777 (emerge-version): Remove.
6778
6779 * progmodes/compile.el (compile-internal): Remove.
6780 (compilation-parse-errors-function): Fix typo.
6781
6782 * international/mule.el (set-char-table-default): Remove.
6783 (set-coding-priority, make-coding-system, generic-char-p)
6784 (charset-list, charset-bytes, charset-id): Use declare to mark
6785 functions as obsolete.
6786
6787 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6788 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6789 * vc/vc-hooks.el (vc-default-registered): Don't use
6790 vc-master-templates.
6791
6792 * font-lock.el (font-lock-reference-face):
6793 Use define-obsolete-variable-alias.
6794
6795 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6796 * calendar/calendar.el (calendar-font-lock-keywords):
6797 * calendar/diary-lib.el (diary-font-lock-keywords)
6798 (diary-fancy-font-lock-keywords):
6799 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6800 * textmodes/reftex-index.el (reftex-insert-index):
6801 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6802 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6803 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6804 * progmodes/prolog.el (prolog-font-lock-keywords):
6805 * progmodes/idlwave.el (idlwave-idl-keywords):
6806 * progmodes/ada-mode.el (ada-font-lock-keywords):
6807 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6808
6809 2012-09-24 Glenn Morris <rgm@gnu.org>
6810
6811 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6812
6813 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6814
6815 * progmodes/python.el (python-indent-line): More consistent cursor
6816 movement behavior.
6817
6818 2012-09-23 Stefan Merten <smerten@oekonux.de>
6819
6820 * textmodes/rst.el: Fix compiler warning.
6821
6822 2012-09-23 Roland Winkler <winkler@gnu.org>
6823
6824 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6825 Transcribe also LaTeX hyphenation.
6826 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6827 bibtex-reformat-previous-options.
6828
6829 2012-09-23 Roland Winkler <winkler@gnu.org>
6830
6831 * proced.el (proced-renice-command): New variable.
6832 (proced-marked-processes): New function.
6833 (proced-with-processes-buffer): New macro.
6834 (proced-send-signal): Use them.
6835 (proced-renice): New command bound to r.
6836
6837 2012-09-23 Roland Winkler <winkler@gnu.org>
6838
6839 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6840 ibuffer-saved-filter-groups has one element, shortcut the call of
6841 completing-read. (Bug#12331)
6842
6843 2012-09-23 Chong Yidong <cyd@gnu.org>
6844
6845 * bindings.el (mode-line-toggle-read-only):
6846 * bs.el (bs-toggle-readonly):
6847 * buff-menu.el (Buffer-menu-toggle-read-only):
6848 * dired.el (dired-toggle-read-only):
6849 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6850
6851 2012-09-23 Chong Yidong <cyd@gnu.org>
6852
6853 * image.el (image-type-available-p): Adapt to init-image-library
6854 argument changes.
6855
6856 2012-09-22 Juri Linkov <juri@jurta.org>
6857
6858 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6859 `dired-toggle-read-only'. (Bug#12462)
6860
6861 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6862
6863 * subr.el (temp-output-buffer-show): New function.
6864 (with-output-to-temp-buffer): Call temp-output-buffer-show
6865 instead of internal-temp-output-buffer-show.
6866
6867 2012-09-22 Chong Yidong <cyd@gnu.org>
6868
6869 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6870 (Bug#12462).
6871
6872 * repeat.el (repeat): Doc fix (Bug#12348).
6873
6874 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6875 (Bug#10909).
6876
6877 * simple.el (shell-command-on-region): Doc fix.
6878 (read-only-mode): Doc fix.
6879
6880 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6881
6882 * emacs-lisp/timer.el (run-with-idle-timer)
6883 (timer-activate-when-idle): Warn against reinvoking an idle timer
6884 from within its own timer action. (Bug#12447)
6885
6886 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6887
6888 * cus-start.el (window-combination-limit): Add new optional
6889 values.
6890 * window.el (temp-buffer-window-show)
6891 (window--try-to-split-window): Handle new values of
6892 window-combination-limit (Bug#1806).
6893 (split-window): Test window-combination-limit for t instead of
6894 non-nil.
6895 (display-buffer-at-bottom): New buffer display action function.
6896 * help.el (temp-buffer-resize-regexps): New option.
6897 (temp-buffer-resize-mode): Rewrite doc-string.
6898 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6899 Don't resize reused window. Suggested by Glenn Morris.
6900
6901 2012-09-22 Stefan Merten <smerten@oekonux.de>
6902
6903 * textmodes/rst.el: Revamp section title faces.
6904 (rst-official-version)
6905 (rst-package-emacs-version-alist): Sync with official version
6906 V1.4.0.
6907 (rst-faces-defaults, rst-set-level-default)
6908 (rst-level-face-max, rst-level-face-base-color)
6909 (rst-level-face-base-light, rst-level-face-format-light)
6910 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6911 (rst-adornment-faces-alist): Match new setup.
6912 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6913 (rst-level-5, rst-level-6): New faces.
6914
6915 2012-09-22 Chong Yidong <cyd@gnu.org>
6916
6917 * simple.el (undo): Handle indirect buffers (Bug#8207).
6918
6919 2012-09-21 Leo Liu <sdl.web@gmail.com>
6920
6921 IDO: Disable match re-ordering for buffer switching.
6922 * ido.el (ido-buffer-disable-smart-matches): New variable.
6923 (ido-set-matches-1): Use it. (Bug#2042)
6924
6925 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6926
6927 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6928 Fix 2011-05-17 change. (Bug#12418)
6929
6930 2012-09-21 Leo Liu <sdl.web@gmail.com>
6931
6932 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6933
6934 2012-09-21 Glenn Morris <rgm@gnu.org>
6935
6936 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6937 Be more robust about locating simple.el.
6938
6939 2012-09-21 Glenn Morris <rgm@gnu.org>
6940
6941 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6942
6943 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6944
6945 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6946
6947 2012-09-20 Juri Linkov <juri@jurta.org>
6948
6949 * replace.el (query-replace-read-from): Use `read-regexp' instead
6950 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6951 (occur-read-primary-args): Use `read-regexp' instead of
6952 `read-string'.
6953 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6954 `read-from-minibuffer'.
6955 * isearch.el (isearch-occur): Use `read-regexp' instead of
6956 `read-string'.
6957 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6958 `read-from-minibuffer'.
6959 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6960 of `read-string'. (Bug#7567)
6961
6962 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6963 and allow accepting a list of strings prepended to a list of
6964 standard default values. Doc fix. (Bug#12321)
6965
6966 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6967
6968 * replace.el (read-regexp): Don't add ": " when PROMPT already
6969 ends with a colon and space. (Bug#12321)
6970
6971 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6972
6973 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6974 error.
6975
6976 2012-09-20 Stefan Merten <smerten@oekonux.de>
6977
6978 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6979 Fixes feature request bug#11711.
6980 (rst-mode): Create `imenu-create-index-function'.
6981 (rst-get-stripped-line): Delete after refactoring.
6982 (rst-section-tree, rst-section-tree-rec)
6983 (rst-section-tree-point): Refactor and document properly.
6984 (rst-imenu-find-adornments-for-position)
6985 (rst-imenu-convert-cell, rst-imenu-create-index):
6986 New function.
6987
6988 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6991 (macroexp--expand-all): Use it.
6992 (macroexp--funcall-and-return): Remove by folding it into its sole
6993 caller (macroexp--warn-and-return).
6994 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6995 Use macroexp--obsolete-warning.
6996
6997 * calc/calc.el: Fix last change by removing the whole chunk, since it
6998 was only needed back when Calc was not bundled.
6999
7000 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7001
7002 * emacs-lisp/debug.el (debug): Restore assignment to
7003 debugger-old-buffer removed on 2012-09-08.
7004
7005 2012-09-20 Juri Linkov <juri@jurta.org>
7006
7007 * dired-aux.el (dired-diff): Remove (require 'diff) since
7008 `diff-latest-backup-file' is now autoloaded.
7009
7010 2012-09-20 Chong Yidong <cyd@gnu.org>
7011
7012 * vc/diff.el (diff-latest-backup-file): Autoload.
7013
7014 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * calc/calc.el: Remove redundant autoload shape check.
7017 (sel-mode): Don't defvar.
7018 (calc-get-stack-element): Add `sel-mode' arg instead.
7019 (calc-top, calc-top-list): Pass it this additional argument.
7020 * calc/calc-store.el (calc-store-map):
7021 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7022 (calc-map-equation, calc-outer-product, calc-inner-product):
7023 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7024
7025 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7026
7027 2012-09-19 Juri Linkov <juri@jurta.org>
7028
7029 * dired-aux.el (dired-diff): Add (require 'diff) because
7030 `diff-latest-backup-file' is not autoloaded.
7031 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7032 of `dired-get-filename' to t to not report error when there is
7033 no default file on the current line.
7034
7035 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7036
7037 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7038 macroexp--eval-if-compile.
7039 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7040 (macroexp--expand-all): Use them (bug#12371).
7041
7042 * doc-view.el (doc-view-guess-paper-size)
7043 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7044
7045 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7046
7047 New feature: set optimal slice from BoundingBox information.
7048 * doc-view.el (doc-view-mode-map): Add keybinding.
7049 (doc-view-menu): Add menu entry.
7050 (doc-view-set-slice): Adapt docstring.
7051 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7052 (doc-view-scale-bounding-box)
7053 (doc-view-set-slice-from-bounding-box): New functions.
7054 (doc-view-paper-sizes): New defvar.
7055
7056 2012-09-19 Glenn Morris <rgm@gnu.org>
7057
7058 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7059 (byte-compile-log-warning): Autoload. (Bug#12371)
7060
7061 * calendar/calendar.el (calendar-american-month-header)
7062 (calendar-european-month-header, calendar-iso-month-header)
7063 (calendar-month-header): New options.
7064 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7065 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7066
7067 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7068
7069 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7070
7071 2012-09-18 Juri Linkov <juri@jurta.org>
7072
7073 * dired-aux.el (dired-diff): Restore original functionality of
7074 getting the default value, but keep new feature of using the
7075 latest existing backup file (`diff-latest-backup-file').
7076
7077 2012-09-18 Juri Linkov <juri@jurta.org>
7078
7079 * dired.el (dired-mark): If the region is active in Transient Mark
7080 mode, mark all files in the active region. Doc fix.
7081 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7082 Doc fix. (Bug#10624)
7083
7084 2012-09-18 Juri Linkov <juri@jurta.org>
7085
7086 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7087 attributes for M-n are pulled from the file at point.
7088 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7089 Suggested by Drew Adams. (Bug#10624)
7090
7091 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7092
7093 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7094 whitespace after "end".
7095 (ruby-do-end-to-brace): Collapse block to one line if it fits
7096 within fill-column.
7097
7098 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7099
7100 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7101 value.
7102 (debug): Don't remove debugger window when debugger is expected
7103 to be back.
7104
7105 2012-09-18 Chong Yidong <cyd@gnu.org>
7106
7107 * custom.el (defface): Doc fix.
7108
7109 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7110
7111 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7112
7113 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7114 to initialize query-on-exit; then test that instead (bug#12288).
7115
7116 2012-09-17 Stefan Merten <smerten@oekonux.de>
7117
7118 * textmodes/rst.el: Add support for `testcover'.
7119 (rst-defcustom-testcover, rst-testcover-add-compose)
7120 (rst-testcover-add-1value): New functions.
7121 (rst-portable-mark-active-p): Replace by `use-region-p'.
7122 (rst-update-section, rst-classify-adornment)
7123 (rst-find-title-line): Mark `1value' forms.
7124 (rst-classify-adornment): Remove superfluous form.
7125 (rst-update-section, rst-get-adornments-around)
7126 (rst-adornment-complete-p, rst-get-next-adornment)
7127 (rst-adjust, rst-promote-region)
7128 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7129 (rst-find-pfx-in-region, rst-section-tree-rec)
7130 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7131 (rst-toc-node, rst-toc, rst-forward-section)
7132 (rst-iterate-leftmost-paragraphs)
7133 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7134 (rst-bullet-list-region)
7135 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7136 (rst-compile-find-conf, rst-compile)
7137 (rst-repeat-last-character): Fix style.
7138
7139 2012-09-17 Chong Yidong <cyd@gnu.org>
7140
7141 * comint.el (comint--complete-file-name-data): Don't add a space
7142 if the status is `sole'; that adds a gratuitous space in the
7143 completion-cycling case (Bug#12092).
7144
7145 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7146
7147 2012-09-17 Richard Stallman <rms@gnu.org>
7148
7149 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7150 only in the mime-shown mode, not in raw mode.
7151 (rmail-mime): Toggle off mime by displaying the message without
7152 mime processing. (Bug#12305)
7153
7154 * mail/rmail.el (rmail-retry-failure):
7155 Turn off mime processing first. (Bug#12037)
7156
7157 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7158
7159 2012-09-17 Chong Yidong <cyd@gnu.org>
7160
7161 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7162 (shell-dynamic-complete-functions): Convert to defcustom.
7163 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7164
7165 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7166 * comint.el (comint-prompt-read-only):
7167 * custom.el (defcustom):
7168 * hi-lock.el (hi-lock-mode):
7169 * ibuffer.el (ibuffer-formats):
7170 * ielm.el (ielm-prompt-read-only):
7171 * novice.el (disable-command):
7172 * saveplace.el (toggle-save-place):
7173 * speedbar.el (speedbar-supported-extension-expressions):
7174 * startup.el (auto-save-list-file-prefix, init-file-user)
7175 (after-init-hook, inhibit-startup-echo-area-message):
7176 * strokes.el (strokes-help):
7177 * time-stamp.el (time-stamp):
7178 * calendar/calendar.el (calendar, diary-file):
7179 * calendar/diary-lib.el (diary-mail-entries, diary)
7180 (diary-list-entries-hook):
7181 * calendar/holidays.el (holidays, calendar-holidays):
7182 * calendar/lunar.el (lunar-phases):
7183 * calendar/solar.el (sunrise-sunset):
7184 * emulation/edt.el (edt-load-keys):
7185 * emulation/viper.el (viper-mode):
7186 * eshell/em-alias.el (eshell-command-aliases-list):
7187 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7188 * international/ogonek.el (ogonek-information):
7189 * net/tramp-cmds.el (tramp-bug):
7190 * net/quickurl.el (quickurl-reread-hook-postfix):
7191 * play/decipher.el (decipher-font-lock-keywords):
7192 * progmodes/cc-styles.el (c-set-style):
7193 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7194 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7195 * progmodes/octave-mod.el (octave-mode):
7196 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7197 * progmodes/verilog-mode.el (verilog-read-defines):
7198 * textmodes/two-column.el (2C-mode): Likewise.
7199
7200 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7201
7202 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7203 that holds many addresses.
7204
7205 2012-09-16 Chong Yidong <cyd@gnu.org>
7206
7207 * align.el (align-areas): Call the indication function with
7208 positions instead of markers for arguments (Bug#12343).
7209
7210 * files.el (parse-colon-path): Use split-string (Bug#12351).
7211
7212 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7213 (display-buffer-function): Mark as obsolete.
7214
7215 * progmodes/compile.el (compilation-parse-errors): Accept list
7216 values similar to font-lock-keywords (Bug#12136).
7217 Suggested by Oleksandr Manzyuk.
7218 (compilation-error-regexp-alist): Doc fix.
7219
7220 2012-09-15 Glenn Morris <rgm@gnu.org>
7221
7222 * version.el (emacs-bzr-version-bzr): New function.
7223 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7224
7225 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7226 checkouts, check the parent dirstate matches the branch.
7227 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7228 empty string.
7229
7230 * version.el (emacs-bzr-version): Doc fix.
7231 (emacs-bzr-version-dirstate): New function.
7232 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7233 is local try and check that it matches the branch. If not, just
7234 use dirstate information. (Bug#12441)
7235
7236 2012-09-14 Juri Linkov <juri@jurta.org>
7237
7238 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7239 (Bug#12399)
7240
7241 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7244
7245 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7246 Remove obsolete byte-compiler hack that tried to silence some warnings.
7247 (edebug-submit-bug-report): Remove.
7248 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7249 Remove aliases, use the un-prefixed name instead.
7250 (edebug-pop-to-buffer): Consider other frames.
7251 (edebug-original-read):: Make it more obvious that it's always defined.
7252 (edebug--make-form-data-entry, edebug--form-data-name)
7253 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7254 single-dashed name, and implement with cl-defstruct.
7255 (edebug-set-form-data-entry): Use the standard accessors.
7256 (edebug-make-top-form-data-entry): Use push.
7257 (edebug-no-match): Drop useless `funcall'.
7258 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7259 to functions.
7260 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7261 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7262 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7263 (easy-menu-define, with-custom-print): Remove redundant specs.
7264 (edebug-outside-overriding-local-map)
7265 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7266 (edebug--display): Bind unread-command-events directly to nil rather
7267 than binding it to unread-command-events and later setting it to nil.
7268 (edebug--display): Kill edebug-eval-buffer here...
7269 (edebug--recursive-edit): ...rather than here.
7270 Bind standard-output and standard-input.
7271 (edebug-eval): Check cl-macroexpand-all is fboundp.
7272 (edebug-temp-display-freq-count): Fix last change.
7273
7274 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7275 * subr.el (noreturn, 1value): Add `debug' spec.
7276 * emacs-lisp/advice.el: Require cl-lib.
7277 (ad-copy-tree): Remove, use copy-tree instead.
7278 (ad-dolist): Remove use dolist or cl-dolist instead.
7279 (ad-do-return): Remove, use cl-return instead.
7280 (defadvice): Add `debug' spec.
7281
7282 2012-09-13 Juri Linkov <juri@jurta.org>
7283
7284 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7285 (Bug#12399)
7286
7287 2012-09-13 Glenn Morris <rgm@gnu.org>
7288
7289 * calc/calc.el (math-compose-expr):
7290 * calc/calc-ext.el (math-compose-expr):
7291 * progmodes/cc-defs.el (cl-macroexpand-all):
7292 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7293 (cl-macroexpand-all): Update declarations.
7294
7295 * vc/vc.el: No need to require ediff.
7296 (ediff-load-version-control): Declare.
7297 (ediff-vc-internal): Fix declaration.
7298 (vc-version-ediff): Require ediff.
7299
7300 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7301
7302 Use a more backwards-compatible timer format (Bug#12430).
7303 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7304 being right after USECS, as that better supports old code that
7305 inadvisedly looked directly at the timer vector.
7306
7307 2012-09-13 Kenichi Handa <handa@gnu.org>
7308
7309 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7310 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7311 `coding-priority' property of these language environment.
7312
7313 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7314
7315 Fix glitches caused by addition of psec to timers (Bug#12430).
7316 * image.el (image-animate-timer):
7317 * time.el (display-time-world-timer):
7318 Use timer--function and timer--args rather than raw access to
7319 timer vector.
7320
7321 2012-09-13 Glenn Morris <rgm@gnu.org>
7322
7323 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7324 If not compiling a file, try using load-file-name.
7325
7326 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7329 Fix last change.
7330 (edebug-update-eval-list): Use `push'.
7331
7332 * emacs-lisp/edebug.el: Use lexical-binding.
7333 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7334 Mark unused args with underscore.
7335 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7336 (edebug-form-data): Use defvar-local.
7337 (edebug-make-before-and-after-form, edebug-make-after-form):
7338 Use backquote.
7339 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7340 Not dynamically scoped any more.
7341 (edebug--enter-trace): Add arguments `function' and `args'.
7342 Rename from edebug-enter-trace.
7343 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7344 (edebug--update-coverage): Add `after-index' and `value' args.
7345 Rename from edebug-update-coverage.
7346 (edebug-slow-after): Call it accordingly.
7347 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7348 edebug-recursive-edit.
7349 (edebug--display): Call it accordingly. Add args `value',
7350 `offset-index', and `arg-mode'. Rename from edebug-display.
7351 (edebug-debugger, edebug): Call it accordingly.
7352 (edebug-eval-display-list): Use dolist.
7353
7354 2012-09-12 Juri Linkov <juri@jurta.org>
7355
7356 * info.el (Info-search): Don't check for isearch-mode and
7357 isearch-regexp before let-binding search-spaces-regexp to
7358 Info-search-whitespace-regexp.
7359 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7360 search-whitespace-regexp if isearch-lax-whitespace or
7361 isearch-regexp-lax-whitespace is non-nil.
7362 (Info-mode): Don't set local variable search-whitespace-regexp.
7363 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7364
7365 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7368 (debugger-env-macro): Remove support for unread-command-char.
7369
7370 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7371 the temporary map re-appearing on emulation-mode-map-alists.
7372
7373 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7374 since 22.1.
7375
7376 * ehelp.el (with-electric-help): Accept functions in
7377 electric-help-form-to-execute.
7378 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7379 And replace unread-command-char -> unread-command-events.
7380
7381 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7382
7383 Sync with Tramp 2.2.6.
7384
7385 * net/tramp.el (tramp-accept-process-output): Don't use
7386 JUST-THIS-ONE in the XEmacs case.
7387
7388 * net/trampver.el: Update release number.
7389
7390 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7391
7392 * emacs-lisp/debug.el (debugger-previous-window-height):
7393 New variable.
7394 (debug): When debugger-jumping-flag is non-nil try to restore
7395 height of debugger window. (Bug#8789)
7396
7397 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7400 overriding-local-map and pre/post-command-hook here.
7401 (edebug-recursive-edit): Do it here instead (bug#12345).
7402 (edebug-outside-unread-command-char): Remove all uses of
7403 unread-command-char.
7404
7405 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7406 inhibit-debugger is bound instead.
7407
7408 2012-09-11 Bastien Guerry <bzg@gnu.org>
7409
7410 * subr.el (set-temporary-overlay-map): Add a docstring.
7411 (Bug#12346)
7412
7413 2012-09-11 Bastien Guerry <bzg@gnu.org>
7414
7415 * minibuffer.el (completion-table-subvert): Fix docstring.
7416 (Bug#12347)
7417
7418 2012-09-11 Bastien Guerry <bzg@gnu.org>
7419
7420 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7421
7422 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7423
7424 * progmodes/sql.el: Version 3.1
7425 (sql-db2-escape-newlines): New variable.
7426 (sql-escape-newlines-filter): Use it.
7427
7428 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7429
7430 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7431
7432 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7433
7434 * vc/diff-mode.el (diff-mode-menu):
7435 Bind diff-remove-trailing-whitespace.
7436
7437 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7438
7439 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7440 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7441 (emacs-lisp-byte-code-mode): New functions.
7442 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7443 (eval-defun-2): Remove bogus interactive spec.
7444 (lisp-indent-line): Remove redundant whole-exp code, now done in
7445 indent-according-to-mode.
7446 (save-match-data): Remove redundant indent data.
7447
7448 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7449 Use `declare'.
7450
7451 2012-09-09 Juri Linkov <juri@jurta.org>
7452
7453 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7454 (replace-lax-whitespace, query-replace-regexp)
7455 (query-replace-regexp-eval, replace-regexp): Doc fix.
7456 (perform-replace, replace-highlight): Let-bind
7457 isearch-lax-whitespace to replace-lax-whitespace and
7458 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7459
7460 * isearch.el (isearch-query-replace): Let-bind
7461 replace-lax-whitespace to isearch-lax-whitespace and
7462 replace-regexp-lax-whitespace to
7463 isearch-regexp-lax-whitespace. (Bug#10885)
7464
7465 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7466
7467 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7468
7469 2012-09-09 Alan Mackenzie <acm@muc.de>
7470
7471 * progmodes/cc-engine.el (c-state-cache-init):
7472 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7473 (c-record-parse-state-state):
7474 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7475
7476 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7477
7478 * register.el (register-separator): Rename from
7479 separator-register. All uses changed. Doc fix.
7480 (register): Fix version.
7481
7482 2012-09-09 Chong Yidong <cyd@gnu.org>
7483
7484 * replace.el (query-replace-map): Bind four new symbols for
7485 requesting window scrolling.
7486
7487 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7488 query-replace-map (Bug#8948).
7489
7490 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7491
7492 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7493 since they are now in query-replace-map.
7494
7495 * window.el (scroll-other-window-down): Make the arg optional.
7496
7497 2012-09-09 Chong Yidong <cyd@gnu.org>
7498
7499 * files.el (hack-local-variables-confirm): Use quit-window to kill
7500 the *Local Variables* buffer.
7501
7502 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7503
7504 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7505 not just expect to be at its beginning. Adjust callees.
7506 Succeed when do-end block has no space before the pipe character.
7507 (ruby-brace-to-do-end): When the original block is one-liner,
7508 convert to multiline. Reindent the result.
7509
7510 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7511
7512 * register.el (register): New group.
7513 (separator-register): New user option.
7514 (increment-register): Route it to `append-to-register', if
7515 register contains text. Implication is that `C-x r +' can now be
7516 used for appending to a text register (bug#12217).
7517 (append-to-register, prepend-to-register): Add separator based on
7518 `separator-register'.
7519
7520 2012-09-08 Alan Mackenzie <acm@muc.de>
7521
7522 AWK Mode: make auto-newline work when there's "==" in the pattern.
7523 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7524 correctly.
7525 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7526 Test more rigorously for "=" token.
7527
7528 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7529
7530 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7531 Only fail when reached LIMIT.
7532
7533 2012-09-08 Chong Yidong <cyd@gnu.org>
7534
7535 * dired.el (dired-mode-map): Don't bind M-=.
7536
7537 * dired-aux.el (dired-diff): Use backup file as default.
7538
7539 2012-09-08 Drew Adams <drew.adams@oracle.com>
7540
7541 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7542
7543 2012-09-08 Chong Yidong <cyd@gnu.org>
7544
7545 * subr.el (syntax-after, syntax-class): Doc fix.
7546
7547 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7548
7549 * window.el (display-buffer-in-previous-window): New buffer
7550 display action function.
7551
7552 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7553 (debugger-previous-window): New variable.
7554 (debug): Rewrite using display-buffer-in-previous-window,
7555 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7556
7557 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7560
7561 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7562
7563 * progmodes/python.el (python-shell-send-string):
7564 When default-directory is remote, create temp file on remote
7565 filesystem.
7566 (python-shell-send-file): When file is remote, pass local view of
7567 file paths to remote Python interpreter. (Bug#12340)
7568
7569 2012-09-07 Chong Yidong <cyd@gnu.org>
7570
7571 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7572
7573 * files.el (after-find-file): Don't fail on a read-only buffer if
7574 require-final-newline is `visit' or `visit-save' (Bug#11156).
7575
7576 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7577
7578 * userlock.el (ask-user-about-supersession-threat):
7579 Use read-char-choice (Bug#12093).
7580
7581 2012-09-07 Chong Yidong <cyd@gnu.org>
7582
7583 * subr.el (buffer-narrowed-p): New function.
7584
7585 * ses.el (ses-widen):
7586 * simple.el (count-words--buffer-message):
7587 * net/browse-url.el (browse-url-of-buffer): Use it.
7588
7589 * simple.el (count-words-region): Don't signal an error if there
7590 is a non-nil prefix arg and the mark is not set.
7591
7592 * help.el (describe-key-briefly): Allow the message to be seen
7593 when invoked from the minibuffer (Bug#7014).
7594
7595 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7596
7597 * progmodes/ruby-mode.el (ruby-end-of-defun)
7598 (ruby-beginning-of-defun): Simplify, allow indentation before
7599 block beginning and end keywords.
7600 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7601 (ruby-end-of-defun): Expect that the point is at the beginning of
7602 the defun.
7603
7604 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7605
7606 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7607 (bug#12367).
7608 (cl--make-usage-args): Strip _ from argument names.
7609
7610 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7611
7612 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7613 obsolete alias speedbar-key-map.
7614 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7615 (vhdl-index-menu-init): Don't use obsolete variable
7616 font-lock-maximum-size.
7617
7618 2012-09-06 Chong Yidong <cyd@gnu.org>
7619
7620 * frame.el (window-system-version): Mark as obsolete.
7621
7622 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7623 of obsolete variable speedbar-key-map.
7624
7625 2012-09-06 Juri Linkov <juri@jurta.org>
7626
7627 * replace.el (replace-lax-whitespace): New defcustom.
7628 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7629 (replace-string, replace-regexp): Mention it in docstrings.
7630 (perform-replace, replace-highlight): Let-bind
7631 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7632 to the values of replace-lax-whitespace and regexp-flag.
7633 Don't let-bind search-whitespace-regexp. (Bug#10885)
7634
7635 * isearch.el (isearch-query-replace): Let-bind
7636 replace-lax-whitespace instead of let-binding
7637 replace-search-function and replace-re-search-function.
7638 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7639 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7640 (isearch-toggle-symbol): Set isearch-regexp to nil
7641 in isearch-word mode (like in isearch-toggle-word).
7642
7643 2012-09-06 Juri Linkov <juri@jurta.org>
7644
7645 * replace.el (replace-search-function)
7646 (replace-re-search-function): Set default values to nil.
7647 (perform-replace): Let-bind isearch-related variables based on
7648 replace-related values, call `isearch-search-fun' and let-bind
7649 the result to `search-function'. Remove code that sets
7650 `search-function' and `search-string' separately for
7651 `delimited-flag'.
7652 (replace-highlight): Add new argument `delimited-flag' and
7653 rename other arguments to the names used in `perform-replace'.
7654 Let-bind `isearch-word' to the argument `delimited-flag'.
7655 (Bug#10885, bug#10887)
7656
7657 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7658
7659 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7660 ruby-beginning-of-indent, simplify, allow all keywords to have
7661 indentation before them.
7662 (ruby-beginning-of-indent): Adjust for above. Search until the
7663 found point is not inside a string or comment.
7664 (ruby-font-lock-keywords): Allow symbols to start with "@"
7665 character, give them higher priority than variables.
7666 (ruby-syntax-propertize-function)
7667 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7668 matchers. Expression expansions are not comments when inside a
7669 string, and there comment syntax status is irrelevant.
7670 (ruby-match-expression-expansion): New function. Check that
7671 expression expansion is inside a string, and it's not escaped.
7672 (ruby-font-lock-keywords): Use it.
7673
7674 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7675
7676 * help.el (temp-buffer-max-height): New default value.
7677 (temp-buffer-resize-frames): New option.
7678 (resize-temp-buffer-window): Optionally resize frame.
7679
7680 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7681 (fit-frame-to-buffer): New function.
7682
7683 2012-09-05 Glenn Morris <rgm@gnu.org>
7684
7685 * emulation/cua-rect.el (cua--init-rectangles):
7686 * textmodes/picture.el (picture-mode-map):
7687 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7688 like forward-char and backward-char. (Bug#12317)
7689
7690 2012-09-05 Leo Liu <sdl.web@gmail.com>
7691
7692 * progmodes/flymake.el (flymake-warning-re): New variable.
7693 (flymake-parse-line): Use it.
7694
7695 2012-09-05 Glenn Morris <rgm@gnu.org>
7696
7697 * calendar/holidays.el (holiday-christian-holidays):
7698 Rename an entry. (Bug#12289)
7699
7700 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7701
7702 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7703 (bug#12222).
7704
7705 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7706
7707 * loadup.el: Load macroexp. Remove hack.
7708 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7709 (macroexp--expand-all): Use it to get better warnings.
7710 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7711 (internal-macroexpand-for-load): New functions.
7712 (macroexp--pending-eager-loads): New var.
7713 (emacs-startup-hook): New hack to replace one in loadup.el.
7714 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7715 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7716 (cl-psetf): Simplify.
7717 (cl-defstruct): Add indent rule.
7718
7719 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7720
7721 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7722 over `user-mail-address' for the SMTP MAIL FROM envelope.
7723 (smtpmail-via-smtp): Ditto.
7724
7725 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7726
7727 * progmodes/ruby-mode.el: Clean up keybindings.
7728 (ruby-mode-map): Don't bind ruby-electric-brace,
7729 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7730 backward-kill-word, reindent-then-newline-and-indent.
7731 (ruby-mark-defun): Remove.
7732 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7733 (ruby-mode): Set local beginning-of-defun-function and
7734 end-of-defun-function values.
7735
7736 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7737
7738 * window.el (temp-buffer-window-setup-hook)
7739 (temp-buffer-window-show-hook): New hooks.
7740 (temp-buffer-window-setup, temp-buffer-window-show)
7741 (with-temp-buffer-window): New functions.
7742 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7743 (special-display-popup-frame): Make sure the window used shows BUFFER.
7744
7745 * help.el (temp-buffer-resize-mode): Fix doc-string.
7746 (resize-temp-buffer-window): New optional argument WINDOW.
7747
7748 * files.el (recover-file, save-buffers-kill-emacs):
7749 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7750
7751 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7752
7753 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7754 remote definition of `default-directory', ensure we can connect.
7755
7756 2012-09-02 Juri Linkov <juri@jurta.org>
7757
7758 Toggle whitespace matching mode with M-s SPC.
7759 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7760
7761 * isearch.el (search-whitespace-regexp): Doc fix.
7762 Remove cons cell customization.
7763 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7764 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7765 New variables.
7766 (isearch-forward, isearch-forward-regexp): Doc fix.
7767 (isearch-toggle-lax-whitespace): New command.
7768 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7769 (re-search-forward-lax-whitespace)
7770 (re-search-backward-lax-whitespace): New functions.
7771 (isearch-whitespace-regexp): Remove function.
7772 (isearch-query-replace): Let-bind replace-search-function and
7773 replace-re-search-function.
7774 (isearch-occur): Let-bind search-spaces-regexp according to the
7775 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7776 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7777 condition for C-q SPC.
7778 (isearch-search-fun-default): Use new functions mentioned above.
7779 (isearch-search-forward, isearch-search-backward): Remove functions.
7780 (isearch-search): Don't let-bind search-spaces-regexp.
7781 (isearch-lazy-highlight-space-regexp): Remove variable.
7782 (isearch-lazy-highlight-lax-whitespace)
7783 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7784 (isearch-lazy-highlight-new-loop): Use them.
7785 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7786
7787 2012-09-02 Chong Yidong <cyd@gnu.org>
7788
7789 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7790
7791 2012-09-02 Glenn Morris <rgm@gnu.org>
7792
7793 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7794
7795 2012-09-01 Glenn Morris <rgm@gnu.org>
7796
7797 * term.el: Tidy up menu definitions.
7798 (term-mode-map): Use easymenu for In/Out, Complete menus.
7799 (term-pager-break-map): Initialize in the defvar.
7800 (term-terminal-menu, term-signals-menu): Define with easymenu.
7801 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7802 (term-pager-menu): New, extracted from term-process-pager.
7803 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7804 (term-update-mode-line): Propertize line/char and page items.
7805 (term-process-pager): Move keymap initialization elsewhere.
7806
7807 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7808
7809 * window.el (switch-to-prev-buffer): Handle additional values of
7810 BURY-OR-KILL argument. Don't switch in minibuffer window.
7811 (switch-to-next-buffer): Don't switch in minibuffer window.
7812 (quit-restore-window): New function based on quit-window.
7813 Handle additional values of former KILL argument.
7814 (quit-window): Call quit-restore-window with appropriate
7815 interpretation of KILL argument.
7816 (display-buffer-below-selected): New buffer display action
7817 function.
7818
7819 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * minibuffer.el (completion-at-point-functions): Complete docstring
7822 (bug#12254).
7823
7824 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7825
7826 Better seed support for (random).
7827 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7828 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7829 * play/mpuz.el, play/tetris.el, play/zone.el:
7830 * calc/calc-comb.el (math-init-random-base):
7831 * play/blackbox.el (bb-init-board):
7832 * play/life.el (life):
7833 * server.el (server-use-tcp):
7834 * type-break.el (type-break):
7835 Remove unnecessary call to (random t).
7836 * net/sasl.el (sasl-unique-id-function):
7837 Change (random t) to (random), now that the latter is more random.
7838 * play/life.el (life-initialized): Remove no-longer-needed var.
7839
7840 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7841
7842 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7843 Consider frame's buffer predicate when choosing the buffer.
7844 (Bug#12081)
7845
7846 2012-08-30 Richard Stallman <rms@gnu.org>
7847
7848 * simple.el (special-mode-map): Delete binding for `z'.
7849
7850 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7851
7852 * progmodes/compile.el (compilation-always-kill): Doc fix.
7853
7854 2012-08-30 Chong Yidong <cyd@gnu.org>
7855
7856 * window.el (display-buffer-reuse-frames): Make the obsolescence
7857 message more informative.
7858
7859 2012-08-30 Glenn Morris <rgm@gnu.org>
7860
7861 * paren.el (show-paren-delay):
7862 Add a :set function. Doc fix. (Bug#12297)
7863
7864 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7865
7866 * progmodes/compile.el (compilation-always-kill): New var.
7867 (compilation-start): Use it.
7868
7869 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7872 * files.el (read-only-mode): Move to simple.el.
7873
7874 * files.el (read-only-mode): New minor mode.
7875 (toggle-read-only): Use it and mark obsolete.
7876 (find-file--read-only):
7877 * vc/vc.el (vc-next-action, vc-checkout):
7878 * vc/vc-cvs.el (vc-cvs-checkout):
7879 * obsolete/vc-mcvs.el (vc-mcvs-update):
7880 * ffap.el (ffap--toggle-read-only): Update callers.
7881
7882 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7883
7884 * eshell/esh-ext.el (eshell-external-command): Do not examine
7885 remote shell scripts.
7886 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7887
7888 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7889 "/usr/local/sbin".
7890
7891 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7892
7893 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7894
7895 2012-08-28 Leo Liu <sdl.web@gmail.com>
7896
7897 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7898 completion-at-point. (Bug#12220)
7899
7900 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7901
7902 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7903
7904 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7907 be buffer-local; add delete-trailing-whitespace (bug#12259).
7908
7909 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7910
7911 * progmodes/hideif.el (hif-compress-define-list):
7912 Fix typo. (Bug#11951)
7913
7914 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7915
7916 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7917 buffer local setting.
7918
7919 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7920 rcirc-encode-coding-system.
7921
7922 2012-08-28 Leo Liu <sdl.web@gmail.com>
7923
7924 * net/rcirc.el (rcirc-split-message): New function.
7925 (rcirc-send-message): Use it. (Bug#12051)
7926
7927 2012-08-28 Juri Linkov <juri@jurta.org>
7928
7929 * info.el (Info-fontify-node): Hide empty lines at the end of
7930 the node. (Bug#12272)
7931
7932 2012-08-27 Drew Adams <drew.adams@oracle.com>
7933
7934 * dired.el (dired-pop-to-buffer): Make window start at beginning
7935 of buffer (Bug#12281).
7936
7937 2012-08-26 Chong Yidong <cyd@gnu.org>
7938
7939 * window.el (special-display-regexps, special-display-frame-alist)
7940 (special-display-buffer-names, special-display-function)
7941 (display-buffer-reuse-frames): Mark as obsolete.
7942
7943 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7944
7945 * help.el (help-print-return-message): Don't treat
7946 display-buffer-reuse-frames specially.
7947
7948 2012-08-26 Chong Yidong <cyd@gnu.org>
7949
7950 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7951 New variable, replacing gdb-frame-parameters.
7952 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7953 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7954 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7955 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7956 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7957 the functions directly with gdb-display-buffer-other-frame-action.
7958 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7959 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7960 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7961 (gdb-display-registers-buffer): Define directly.
7962 (def-gdb-display-buffer): Macro deleted.
7963 (gdb-display-buffer): Remove second and third args, callers don't
7964 use them. Defer to the default display-buffer behavior, apart
7965 from making windows dedicated.
7966 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7967
7968 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7969
7970 * window.el (display-buffer-pop-up-frame): Handle a
7971 pop-up-frame-parameters alist entry.
7972 (display-buffer): Document it.
7973
7974 2012-08-26 Chong Yidong <cyd@gnu.org>
7975
7976 * isearch.el (search-whitespace-regexp): Make string and nil
7977 values apply to both ordinary and regexp search. Allow a cons
7978 cell value to distinguish between the two.
7979 (isearch-whitespace-regexp, isearch-search-forward)
7980 (isearch-search-backward): New functions.
7981 (isearch-occur, isearch-search-fun-default, isearch-search)
7982 (isearch-lazy-highlight-new-loop): Use them.
7983 (isearch-forward, isearch-forward-regexp): Doc fix.
7984
7985 2012-08-26 Chong Yidong <cyd@gnu.org>
7986
7987 * faces.el (help-argument-name): Always inherit from italic
7988 (Bug#12213).
7989
7990 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7991
7992 * window.el (window--even-window-heights): Even heights when
7993 WINDOW and the selected window form a vertical combination.
7994 (display-buffer-use-some-window): Provide that window used gets
7995 sized back by quit-window. (Bug#11880) and (Bug#12091)
7996
7997 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7998
7999 Fix file time stamp problem with bzr and CVS (Bug#12001).
8000 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8001 in the file's time stamp, since the version control system loses
8002 that information.
8003
8004 2012-08-22 Juri Linkov <juri@jurta.org>
8005
8006 * info.el (Info-fontify-node): Hide the suffix of the
8007 Info file name in the header line. (Bug#12187)
8008
8009 2012-08-22 Glenn Morris <rgm@gnu.org>
8010
8011 * calendar/cal-tex.el (cal-tex-weekly-common):
8012 Restore leading blank page.
8013
8014 2012-08-22 Le Wang <l26wang@gmail.com>
8015
8016 * misc.el (forward-to-word, backward-to-word): Activate or extend
8017 the region under `shift-select-mode'. (Bug#12231)
8018
8019 2012-08-22 Bastien Guerry <bzg@gnu.org>
8020
8021 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8022 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8023 gives details on why the space is never needed.
8024
8025 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8026
8027 * window.el (walk-window-tree, window-with-parameter):
8028 New optional argument MINIBUF to control whether these functions
8029 should run on the minibuffer window.
8030 (window-at-side-list): Don't operate on minibuffer window.
8031 (window-in-direction): Simplify and rewrite doc-string.
8032 (window--size-ignore): Rename to window--size-ignore-p.
8033 Update callers.
8034 (display-buffer-in-atom-window, window--major-non-side-window)
8035 (window--major-side-window, display-buffer-in-major-side-window)
8036 (delete-side-window, display-buffer-in-side-window):
8037 New functions.
8038 (window--side-check, window-deletable-p, delete-window)
8039 (delete-other-windows, split-window): Handle side windows and
8040 atomic windows appropriately.
8041 (window--display-buffer): Call display-buffer-record-window also
8042 when the window buffer did not change.
8043
8044 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8045
8046 * help-fns.el (help-fns--key-bindings):
8047 Abbreviate non-symbol remap targets. (Bug#12174)
8048
8049 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8050
8051 * dired.el (dired-mark-remembered): Don't clobber point.
8052 (Bug#11795)
8053
8054 2012-08-22 Glenn Morris <rgm@gnu.org>
8055
8056 * progmodes/bug-reference.el (bug-reference): New custom group.
8057 (bug-reference-bug-regexp): Make it a defcustom.
8058
8059 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8060
8061 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8062 (js-paren-indent-offset, js-square-indent-offset)
8063 (js-curly-indent-offset): Add :safe (Bug#12257).
8064
8065 2012-08-22 Edward O'Connor <hober0@gmail.com>
8066
8067 * json.el (json-key-format): Add error properties.
8068 (json-encode-key): New function.
8069 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8070 Use json-encode-key.
8071
8072 2012-08-22 Glenn Morris <rgm@gnu.org>
8073
8074 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8075 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8076 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8077 Update for above change.
8078
8079 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8080
8081 * cus-face.el (custom-face-attributes): Fix customize type for the
8082 :underline attribute. (Bug#11805)
8083
8084 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8085
8086 * window.el (window-point-1, set-window-point-1): Remove.
8087 (window-in-direction, record-window-buffer)
8088 (set-window-buffer-start-and-point, split-window-below)
8089 (window--state-get-1, display-buffer-record-window):
8090 Replace calls to window-point-1 and set-window-point-1 by calls to
8091 window-point and set-window-point respectively.
8092
8093 2012-08-21 Glenn Morris <rgm@gnu.org>
8094
8095 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8096 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8097 Use it.
8098
8099 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8100 (cal-tex-shortday): New function.
8101 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8102 (cal-tex-cursor-filofax-daily): Use the above.
8103
8104 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8105 New functions.
8106 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8107 (cal-tex-cursor-filofax-week): Use them.
8108
8109 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8110 New constants.
8111 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8112 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8113
8114 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8115 (cal-tex-end-document): Don't rely on buffer name.
8116
8117 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8118 Use cal-tex-vspace.
8119 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8120 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8121 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8122 Use cal-tex-arg.
8123
8124 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8125 (cal-tex-cursor-week, cal-tex-cursor-week2)
8126 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8127 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8128 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8129 (cal-tex-insert-preamble, cal-tex-b-document)
8130 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8131 Improve cal-tex-cmd usage.
8132
8133 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8134 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8135 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8136 (cal-tex-weekly-paper): New function.
8137 (cal-tex-cursor-week, cal-tex-cursor-week2)
8138 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8139 (cal-tex-cursor-day): Use it.
8140
8141 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8142 (cal-tex-cursor-filofax-week): Remove leading blank page.
8143
8144 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8145 Add autoload cookie. For now at least, don't use color, since
8146 no other cal-tex function does.
8147
8148 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8149 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8150 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8151
8152 2012-08-21 Juri Linkov <juri@jurta.org>
8153
8154 * info.el (Info-file-attributes): New variable.
8155 (info-insert-file-contents): Add file attributes to
8156 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8157 `Info-toc-nodes' when previous modtime of the Info file is less
8158 than new modtime.
8159 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8160 of info.el. (Bug#12230)
8161
8162 2012-08-20 Glenn Morris <rgm@gnu.org>
8163
8164 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8165 * calendar/holidays.el (calendar-holiday-list):
8166 Report errors with display-warning rather than beep'n'sleep.
8167
8168 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8169
8170 * net/tramp.el (tramp-accept-process-output): Accept only output
8171 from PROC. Otherwise, process filters and sentinels might be
8172 confused. (Bug#12145)
8173
8174 2012-08-20 Chong Yidong <cyd@gnu.org>
8175
8176 * descr-text.el (describe-text-properties-1): Use overlays-in to
8177 report on empty overlays (Bug#3322).
8178
8179 2012-08-20 Glenn Morris <rgm@gnu.org>
8180
8181 * mail/rmailout.el (rmail-output-read-file-name):
8182 Trap and report errors in rmail-output-file-alist elements.
8183
8184 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8185 since most non-font-lock faces are not also variables).
8186
8187 2012-08-20 Edward Reingold <reingold@iit.edu>
8188
8189 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8190 New function. (Bug12160)
8191
8192 2012-08-19 Glenn Morris <rgm@gnu.org>
8193
8194 * mail/rmailout.el (rmail-output-read-file-name):
8195 Fix previous change (when the alist is nil or does not match).
8196
8197 2012-08-19 Chong Yidong <cyd@gnu.org>
8198
8199 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8200 (Bug#12228).
8201
8202 2012-08-18 Chong Yidong <cyd@gnu.org>
8203
8204 * simple.el (yank-handled-properties): New defcustom.
8205 (yank-excluded-properties): Add font-lock-face and category.
8206 (yank): Doc fix.
8207
8208 * subr.el (remove-yank-excluded-properties):
8209 Obey yank-handled-properties. The special handling of font-lock-face
8210 and category is now done this way, instead of being hard-coded.
8211 (insert-for-yank-1): Remove font-lock-face handling.
8212 (yank-handle-font-lock-face-property)
8213 (yank-handle-category-property): New function.
8214
8215 2012-08-17 Glenn Morris <rgm@gnu.org>
8216
8217 * mail/rmailout.el (rmail-output-read-file-name):
8218 Check rmail-output-file-alist against the full message body
8219 in the correct rmail buffer. (Bug#12214)
8220
8221 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8222
8223 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8224 Eliminate superfluous prompt. (Bug#12203)
8225
8226 2012-08-17 Chong Yidong <cyd@gnu.org>
8227
8228 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8229 font spec, set the font directly (Bug#3228).
8230
8231 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8232
8233 * window.el (delete-window): Fix last fix.
8234
8235 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8236
8237 * window.el (window-valid-p): Move to window.c.
8238 (window-child, window-child-count, window-last-child)
8239 (window-normalize-window, window-combined-p)
8240 (window-combinations, window-atom-root, window-min-size)
8241 (window-sizable, window-sizable-p, window-size-fixed-p)
8242 (window-min-delta, window-max-delta, window--resizable)
8243 (window--resizable-p, window-resizable, window-total-size)
8244 (window-full-height-p, window-full-width-p, window-body-size)
8245 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8246 (minimize-window, window-deletable-p, delete-window)
8247 (delete-other-windows, set-window-buffer-start-and-point)
8248 (next-buffer, previous-buffer, split-window, balance-windows-2)
8249 (set-window-text-height, window-buffer-height)
8250 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8251 (truncated-partial-width-window-p): Minor code adjustments.
8252 In doc-strings state whether the argument window has to denote a
8253 live, valid or any window.
8254
8255 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8256
8257 * progmodes/subword.el (subword-forward-function)
8258 (subword-backward-function, subword-forward-regexp)
8259 (subword-backward-regexp): New variables.
8260 (subword-forward, subword-forward-internal, subword-backward-internal):
8261 Use new variables, eg so that different "word" definitions
8262 can be easily used. (Bug#11411)
8263
8264 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8265
8266 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8267 for composite selectors.
8268 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8269 operation just because we can't find a previous revision.
8270
8271 2012-08-15 Chong Yidong <cyd@gnu.org>
8272
8273 * frame.el (set-frame-font): Accept font objects.
8274
8275 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8276
8277 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8278
8279 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8280
8281 * man.el (Man-overstrike-face, Man-underline-face)
8282 (Man-reverse-face): Remove variables.
8283 (Man-overstrike, Man-underline, Man-reverse): New faces.
8284 (Man-fontify-manpage): Use them instead of the variables.
8285 (Man-cleanup-manpage): Comment change.
8286 (Man-ansi-color-map): New variable.
8287 (Man-fontify-manpage): Use it.
8288 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8289
8290 Implement ANSI SGR parameters 22-27 (bug#12146).
8291 * ansi-color.el (ansi-colors): Doc fix.
8292 (ansi-color-context, ansi-color-context-region): Doc fix.
8293 (ansi-color--find-face): New function.
8294 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8295 Rename the local variable `face' to `codes' since it is now a list of
8296 ansi codes. Doc fix.
8297 (ansi-color-get-face): Remove.
8298 (ansi-color-parse-sequence): New function, derived from
8299 ansi-color-get-face.
8300 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8301 codes 22-27.
8302
8303 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * subr.el (read-passwd): Allow use from a minibuffer.
8306
8307 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8308
8309 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8310 inside comments and strings as identifiers.
8311
8312 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8313 expression to evaluate. This allows to evaluate expressions with
8314 embedded whitespace.
8315 (gud-tooltip-tips): Add a blank before the newline in the
8316 message-box text, for the benefit of message-box emulation on
8317 MS-Windows.
8318
8319 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8320 messages from GDB, pop them up in a tooltip to give feedback to
8321 user.
8322 (gdb-tooltip-print-1): Quote the expression to evaluate.
8323 This allows to evaluate expressions with embedded whitespace.
8324 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8325 if the TTY name is nil or empty (which happens when communicating
8326 with the inferior via pipes, e.g. on MS-Windows).
8327 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8328 don't send that to the GUD buffer.
8329
8330 2012-08-14 Glenn Morris <rgm@gnu.org>
8331
8332 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8333 Optimize away setq-default with no args, as for setq. (Bug#12195)
8334
8335 2012-08-14 Chong Yidong <cyd@gnu.org>
8336
8337 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8338
8339 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8340 (Bug#12085).
8341
8342 2012-08-14 Glenn Morris <rgm@gnu.org>
8343
8344 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8345
8346 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8347
8348 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8349 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8350 Use cached shell name.
8351
8352 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8353
8354 * progmodes/python.el (python-shell-send-string):
8355 (python-shell-send-setup-code): Do not use `format' with `message'.
8356
8357 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8358
8359 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8360 (ruby-percent-literal-beg-re): New constant.
8361 (ruby-syntax-general-delimiters-goto-beg): Rename to
8362 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8363 (ruby-syntax-propertize-general-delimiters): Rename to
8364 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8365 popular term. Adjust comments everywhere.
8366 (ruby-syntax-propertize-percent-literal): Only propertize when not
8367 inside a simple string or comment. When the literal is unclosed,
8368 leave the text after it unpropertized.
8369 (ruby-syntax-methods-before-regexp): New constant.
8370 (ruby-syntax-propertize-function): Use it to recognize regexps.
8371 Don't look at the text after regexp, just use the whitelist.
8372
8373 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8374
8375 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8376 non-nil always load the compiled file if it exists. (Bug#12197)
8377
8378 2012-08-14 Chong Yidong <cyd@gnu.org>
8379
8380 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8381 (hi-lock-set-pattern): When deciding whether to use font lock or
8382 overlays, look at font-lock-mode instead of font-lock-fontified
8383 (Bug#12168).
8384 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8385 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8386
8387 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8388
8389 * subr.el (internal--after-with-selected-window): Fix typo
8390 (Bug#12193).
8391
8392 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8393
8394 Use `completion-table-dynamic' for completion functions.
8395 * progmodes/python.el
8396 (python-shell-completion--do-completion-at-point)
8397 (python-shell-completion--get-completions):
8398 Remove functions.
8399 (python-shell-completion-complete-at-point): New function.
8400 (python-completion-complete-at-point): Use it.
8401
8402 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8403
8404 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8405 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8406
8407 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8408
8409 * subr.el (function-get): Refine `autoload' arg so it can also
8410 autoload functions for gv.el (bug#12191).
8411 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8412 autoloads macros.
8413
8414 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8415 Prefer pcase-let over destructuring-bind.
8416 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8417 Also, remove whitespace as we go, rather than after accumulating the
8418 various places.
8419
8420 * subr.el (internal--before-with-selected-window)
8421 (internal--after-with-selected-window): Fix typo seleted->selected.
8422 (with-selected-window): Adjust callers.
8423 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8424
8425 2012-08-13 Bastien Guerry <bzg@gnu.org>
8426
8427 * window.el (special-display-popup-frame): Minor docstring
8428 enhancement. (Bug#12172)
8429
8430 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8431
8432 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8433 type 1-6.
8434 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8435 extended headers.
8436
8437 * files.el (hack-local-variables-filter): Remove useless eval.
8438
8439 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8440
8441 * subr.el (with-selected-window): Fix last change.
8442
8443 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8444
8445 * subr.el (internal--before-with-seleted-window)
8446 (internal--after-with-seleted-window): New functions.
8447 (with-selected-window): Use them, to replace dependency on
8448 tty-top-frame.
8449
8450 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8451
8452 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8453 binding for `newline'.
8454 (ruby-move-to-block): When moving backward, stop at block opening,
8455 not indentation.
8456 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8457 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8458 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8459 `ruby-toggle-block'.
8460
8461 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * ibuffer.el (ibuffer-do-toggle-read-only):
8464 * dired.el (dired-toggle-read-only):
8465 * buff-menu.el (Buffer-menu-toggle-read-only):
8466 * bindings.el (mode-line-toggle-read-only):
8467 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8468
8469 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8470
8471 * descr-text.el (describe-char): Put the overlays over the
8472 "displayed as" character.
8473
8474 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8475
8476 * calc/calc-units.el (math-default-units-table): Give an
8477 initial value.
8478 (math-put-default-units): Add options to put composite units and
8479 unit systems in the default units table.
8480 (calc-convert-units): Send composite units to
8481 `math-put-default-units' when appropriate.
8482
8483 2012-08-11 Glenn Morris <rgm@gnu.org>
8484
8485 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8486
8487 * tutorial.el (help-with-tutorial):
8488 * emacs-lisp/copyright.el (copyright-update-directory):
8489 * emacs-lisp/autoload.el (autoload-find-generated-file)
8490 (autoload-find-file): Disable local eval: (for insurance).
8491
8492 * files.el (hack-local-variables-filter): If an eval: form is not
8493 known to be safe, and enable-local-variables is :safe, then ignore
8494 the form totally, as is done for non-eval forms. (Bug#12155)
8495 This is CVE-2012-3479.
8496
8497 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8498
8499 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8500 (rx-form): Simplify.
8501
8502 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8503
8504 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8505 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8506 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8507 (ruby-syntax-propertize-function): Adjust for changes in
8508 `ruby-syntax-propertize-heredoc'.
8509
8510 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8511
8512 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8513 binding (use `M-;' instead).
8514 (ruby-singleton-class-p): New function.
8515 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8516
8517 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8520
8521 2012-08-10 Chong Yidong <cyd@gnu.org>
8522
8523 * progmodes/python.el (python-shell-get-process-name): Don't mess
8524 with same-window-buffer-names.
8525
8526 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8527 (eshell-remove-from-window-buffer-names): Make obsolete.
8528 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8529 (eshell): Just use pop-to-buffer-same-window instead.
8530
8531 2012-08-10 Chong Yidong <cyd@gnu.org>
8532
8533 * bindings.el: Bind M-= back to count-words-region.
8534
8535 * simple.el (count-words-region): Accept a prefix arg for acting
8536 on the entire buffer.
8537 (count-words--buffer-message): New helper function.
8538
8539 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8542 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8543 (event-start, event-end): Use posn-at-point to return a more
8544 informative posn.
8545 (posnp): New function.
8546 * mouse.el (popup-menu-normalize-position): Use it.
8547
8548 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8549
8550 * mouse.el (popup-menu-normalize-position): New function.
8551 (popup-menu): Use `popup-menu-normalize-position' to normalize
8552 the form for POSITION argument.
8553
8554 * term/x-win.el (x-menu-bar-open):
8555 Use the value returend from (posn-at-point) as position
8556 passed to `popup-menu'.
8557
8558 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8559
8560 * calc/calccomp.el (math-compose-expr): Add extra argument
8561 indicating that parentheses should be put around products in
8562 denominators. Give multiplication precedence over division during
8563 composition.
8564
8565 2012-08-09 Chong Yidong <cyd@gnu.org>
8566
8567 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8568 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8569 (Man-untabify-command, manual-program): Convert to defcustom
8570 (Bug#10429).
8571
8572 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8573
8574 * descr-text.el (describe-char): Don't insert extra newlines
8575 (Bug#10127).
8576
8577 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8578 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8579
8580 * align.el (align-region): Delete temporary markers (Bug#10047).
8581 Plus some code cleanups.
8582
8583 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8584
8585 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8586 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8587 (python-shell-internal-last-output): Use make-local-variable
8588 instead of make-variable-buffer-local.
8589
8590 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8591
8592 * progmodes/python.el: Enhancements to forward-sexp.
8593 (python-nav-forward-sexp): Rename from
8594 python-nav-forward-sexp-function.
8595 (python-nav--forward-sexp, python-nav--backward-sexp):
8596 New functions.
8597
8598 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8599
8600 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8601 modes and simplification modes.
8602
8603 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * delsel.el (delete-selection-pre-hook): Don't propagate the
8606 file-supersession signals (bug#12161).
8607
8608 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8611 (cl-map-extents): Add compatibility aliases (bug#12135).
8612
8613 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8614
8615 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8616 tests by `ignore-error'.
8617 (tramp-find-shell): Open also a new shell, when cache is already
8618 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8619
8620 2012-08-08 Juri Linkov <juri@jurta.org>
8621
8622 * bookmark.el: Add `defaults' property to the bookmark record.
8623 (bookmark-current-buffer): Doc fix.
8624 (bookmark-make-record): Add `defaults' property with default values
8625 to the bookmark record.
8626 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8627 with `bookmark-insert-current-bookmark'.
8628 (bookmark-set): Get `defaults' property from the bookmark record
8629 and use it in `read-from-minibuffer'.
8630 (bookmark-insert-current-bookmark): Remove function.
8631
8632 * info.el (Info-bookmark-make-record): Add `defaults' property
8633 with values of canonical Info node name, the current Info file
8634 name and the current Info node name. (Bug#12107)
8635
8636 2012-08-08 Juri Linkov <juri@jurta.org>
8637
8638 * files.el (basic-save-buffer): Use `buffer-name' as the default
8639 of `read-file-name' when buffer is not visiting a file (bug#12128).
8640
8641 2012-08-08 Juri Linkov <juri@jurta.org>
8642
8643 * info.el (Info-isearch-search): Doc fix.
8644 (Info-search): Change search-failed message from "initial node" to
8645 "end of node" (bug#12078).
8646 (Info-isearch-search): Change `isearch-string-state' to
8647 `isearch--state-string'.
8648
8649 2012-08-08 Glenn Morris <rgm@gnu.org>
8650
8651 * language/persian.el: Remove file.
8652 * language/misc-lang.el: Move unique part of persian.el here.
8653 * loadup.el: Remove language/persian.
8654
8655 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8656
8657 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8658
8659 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8660
8661 * progmodes/python.el: Fix defsubst warning.
8662 (python-syntax-context) Rename from python-info-ppss-context.
8663 (python-syntax-context-type): Rename from
8664 python-info-ppss-context-type.
8665 (python-syntax-comment-or-string-p): Rename from
8666 python-info-ppss-comment-or-string-p.
8667
8668 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8669
8670 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8671
8672 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8673
8674 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8675 a defcustom that is quoted with backquote.
8676
8677 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8678 Fix handling of interactive spec when the body uses return.
8679 (math-do-arg-check, math-define-function-body): Use backquote forms.
8680 * calc/calc-ext.el (math-defcache): Likewise.
8681 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8682 * allout.el (allout-new-exposure): Likewise.
8683 * calc/calcalg2.el (math-tracing-integral): Likewise.
8684 * info.el (Info-last-menu-item): Likewise.
8685 * emulation/vip.el (vip-loop): Likewise.
8686 * textmodes/artist.el (artist-funcall): Likewise.
8687 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8688 Construct menu-item directly.
8689
8690 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8691 Don't declare.
8692
8693 2012-08-07 Chong Yidong <cyd@gnu.org>
8694
8695 * simple.el (deactivate-mark): Preserve text properties when
8696 saving the primary selection (Bug#8384).
8697
8698 2012-08-07 Kevin Ryde <user42@zip.com.au>
8699
8700 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8701 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8702 and continue processing (Bug#12110).
8703
8704 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8707 syntax-propertize-function (bug#10095).
8708
8709 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8710
8711 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8712 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8713 describe-function-1.
8714 (describe-function-1): Use them. Move compiler macro after sig.
8715 (help-fns--compiler-macro): Use function-get. Assume we're already in
8716 standard-output. Adjust layout to new call order.
8717
8718 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8719 re-binding a symbol that has a symbol-macro (bug#12119).
8720
8721 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8722
8723 * language/persian.el: New file. (Bug#11812)
8724 * loadup.el: Add language/persian.el.
8725
8726 2012-08-06 Chong Yidong <cyd@gnu.org>
8727
8728 * window.el (window--maybe-raise-frame): New function.
8729 (window--display-buffer): Split off from here.
8730 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8731 (display-buffer-pop-up-window, display-buffer-use-some-window):
8732 Obey an inhibit-switch-frame action alist entry.
8733 (display-buffer): Update doc.
8734
8735 * replace.el (occur-after-change-function): Avoid losing focus by
8736 using the inhibit-switch-frame display parameter (Bug#12139).
8737
8738 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8739
8740 Make internal shell process buffer names start with space.
8741 * progmodes/python.el (python-shell-make-comint): Add optional
8742 argument INTERNAL.
8743 (run-python-internal): Use it.
8744 (python-shell-internal-get-or-create-process): Check for new
8745 internal buffer names.
8746
8747 2012-08-06 Glenn Morris <rgm@gnu.org>
8748
8749 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8750 Do less getting and setting of environment variables.
8751
8752 2012-08-05 Chong Yidong <cyd@gnu.org>
8753
8754 * proced.el (proced): Add substitution string to docstring to
8755 trigger autoloading of the proced library on C-h f (Bug#1768).
8756
8757 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8758 Don't show defvars which have no second argument (Bug#8638).
8759
8760 * imenu.el (imenu-generic-expression): Move documentation here
8761 from imenu--generic-function.
8762 (imenu--generic-function): Refer to imenu-generic-expression.
8763
8764 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8765
8766 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8767 indentation declaration.
8768 (viper-loop): Add indentation declaration (Bug#7025).
8769
8770 2012-08-05 Chong Yidong <cyd@gnu.org>
8771
8772 * help-fns.el (describe-variable): Add hyperlink for
8773 directory-local variables files. Improve buffer-local and
8774 permanent-local reporting; suggested by MON KEY (Bug#6644).
8775
8776 * help-mode.el (help-dir-local-var-def): New button type.
8777
8778 * files.el (kill-buffer-hook): Provide a defvar.
8779
8780 2012-08-05 Glenn Morris <rgm@gnu.org>
8781
8782 * eshell/esh-ext.el (eshell/addpath):
8783 Also update eshell-path-env. (Bug#12013)
8784
8785 2012-08-05 Chong Yidong <cyd@gnu.org>
8786
8787 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8788
8789 * fringe.el (fringe-styles): Add docstring.
8790 (fringe--check-mode): New function.
8791 (set-fringe-mode, set-fringe-style): Use it.
8792 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8793
8794 * files.el (set-auto-mode): Fix invalid setq call.
8795
8796 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8797
8798 * isearch.el: Misc simplification; use defstruct.
8799 (isearch-mode-map): Dense maps now work like sparse ones.
8800 (isearch--state): New defstruct.
8801 (isearch-string-state, isearch-message-state, isearch-point-state)
8802 (isearch-success-state, isearch-forward-state)
8803 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8804 (isearch-wrapped-state, isearch-barrier-state)
8805 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8806 replaced by defstruct's accessors.
8807 (isearch--set-state): Rename from isearch-top-state and change
8808 calling convention.
8809 (isearch-push-state): Use new isearch--get-state.
8810 (isearch-toggle-word): Disable regexp when enabling word.
8811 (isearch-message-prefix): Remove unused arg _c-q-hack.
8812 (isearch-message-suffix): Remove unused arg _ellipsis.
8813
8814 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8815
8816 * simple.el (list-processes--refresh): For a server use :host or
8817 :local as the address.
8818 (list-processes): Doc fix.
8819
8820 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8821
8822 * lisp/mpc.el: Support password in host argument.
8823 (mpc--proc-connect): Parse and use new password element.
8824 Set mpc-proc variable instead of returning process.
8825 (mpc-proc): Adjust accordingly.
8826
8827 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8828
8829 * whitespace.el (whitespace-display-mappings): Use Unicode
8830 codepoints, instead of emacs-mule codepoints. See
8831 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8832 for the details.
8833
8834 * files.el (file-truename): Don't skip symlink-chasing part on
8835 windows-nt. Incorporate the resolution of 8+3 short aliases on
8836 Windows into the loop that recursively chases symlinks.
8837 Compare directory and its parent case-insensitively on MS-Windows and
8838 MS-DOS.
8839
8840 2012-08-03 Chong Yidong <cyd@gnu.org>
8841
8842 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8843
8844 * sort.el (sort-regexp-fields): Doc fix.
8845
8846 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8847
8848 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8849 labels regex position point at the expected place.
8850
8851 2012-08-03 MON KEY <monkey@sandpframing.com>
8852
8853 * net/imap.el (imap-interactive-login, imap-authenticate)
8854 (imap-mailbox-lsub, imap-mailbox-list)
8855 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8856 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8857 (imap-parse-response): Doc fix.
8858
8859 2012-08-03 João Távora <joaotavora@gmail.com>
8860
8861 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8862 if sexp scanning does not move point (Bug#5734).
8863
8864 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8865
8866 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8867 Add listings, minted, and ctable packages.
8868 (reftex-label-alist-builtin): Move listings, minted, and ctable
8869 entries before LaTeX.
8870 (reftex-label-alist): Docfix.
8871
8872 2012-08-02 Bastien Guerry <bzg@gnu.org>
8873
8874 * replace.el (occur): Fix docstring (bug#12122).
8875
8876 2012-08-02 Glenn Morris <rgm@gnu.org>
8877
8878 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8879
8880 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8881
8882 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8883 * international/mule-cmds.el: Create
8884 inactivate-current-input-method-function as an obsolete alias for
8885 deactivate-current-input-method-function. See Katsumi Yamaoka in
8886 <http://bugs.gnu.org/10150#46>.
8887
8888 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8889
8890 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8891 of nested `if's.
8892
8893 2012-08-01 Glenn Morris <rgm@gnu.org>
8894
8895 * progmodes/autoconf.el (autoconf-definition-regexp):
8896 Add AH_TEMPLATE, adjust submatch numbering.
8897 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8898 (autoconf-current-defun-function): Update for above change.
8899 (autoconf-current-defun-function): First skip to end of current word.
8900
8901 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8902
8903 * calendar/cal-html.el (cal-html-insert-agenda-days):
8904 Fix typo. (Bug#12018)
8905
8906 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8907
8908 Shell processes: enhancements to startup and CEDET compatibility.
8909 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8910 (python-shell-make-comint): accept-process-output at startup.
8911 (run-python-internal): Set inferior-python-mode-hook to nil.
8912 (python-shell-internal-get-or-create-process): call sit-for.
8913 (python-preoutput-result): Add obsolete alias.
8914 (python-shell-internal-send-string): Use it.
8915 (python-shell-send-setup-code): Remove call to
8916 accept-process-output.
8917
8918 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8919
8920 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8921 (Bug#12108)
8922
8923 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8924
8925 * calc-mode.el (calc-basic-simplification-mode): Rename from
8926 `calc-limited-simplification-mode'.
8927 (calc-alg-simplification-mode): New function.
8928 (calc-set-simplify-mode): Adjust message.
8929
8930 * calc.el (calc-set-mode-line): Adjust mode line display for
8931 basic simplification mode.
8932
8933 * calc-help.el (calc-m-prefix-help): Update help message.
8934
8935 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8936 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8937
8938 2012-07-31 Bastien Guerry <bzg@gnu.org>
8939
8940 * man.el (man): Fix comment. (bug#12101)
8941
8942 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8943
8944 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8945 Don't return a non-nil value when no suitable buffer was found.
8946
8947 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8948
8949 * progmodes/python.el (run-python-internal): Disable font lock for
8950 internal shells.
8951
8952 2012-07-30 Stefan Merten <smerten@oekonux.de>
8953
8954 * textmodes/rst.el: Silence `checkdoc-ispell'.
8955 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8956 (rst-official-version, rst-official-cvs-rev)
8957 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8958 (rst-mode-map): New key binding.
8959
8960 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8961
8962 Update .PHONY listings in makefiles.
8963 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8964 autoloads, update-subdirs, updates, bzr-update, update-authors,
8965 compile-onefile, compile-calc, backup-compiled-files,
8966 compile-after-backup, compile-one-process, mh-autoloads,
8967 bootstrap-clean, distclean, maintainer-clean.
8968
8969 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8970
8971 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8972 (calc-set-mode-line): Don't display "AlgSimp ".
8973
8974 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8975 (calc-lim-simplify-mode): New function.
8976 (calc-set-simplify-mode): Default to 'alg.
8977 (calc-default-simplify-mode): Make algebraic simplifications
8978 the default.
8979
8980 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8981 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8982
8983 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8984 indicate new simplification modes.
8985
8986 * calc/README: Mention new default simplification mode.
8987
8988 * calc/calc.el (math-normalize-error): New variable.
8989 (math-normalize): Set `math-normalize-error' to t
8990 when there's an error.
8991
8992 * calc/calc-alg.el (math-simplify): Don't simplify when
8993 `math-normalize' returns an error.
8994
8995 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8996
8997 * international/mule-cmds.el (set-locale-environment): Revert last
8998 change, since display-graphic-p returns nil when this function is
8999 called during startup. Instead...
9000
9001 * term/w32console.el (terminal-init-w32console): ...setup the
9002 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9003
9004 2012-07-29 Juri Linkov <juri@jurta.org>
9005
9006 * simple.el (goto-line): Don't display default line number in the
9007 prompt because it should be displayed by `read-number' (bug#9952).
9008 Add the current line number to the defaults of `goto-line' to
9009 allow its easier modification by users with `M-n' (bug#9201).
9010
9011 * subr.el (read-number): Support multiple default values like in
9012 other minibuffer reading functions. Replace `read' with
9013 `string-to-number' for consistency with `number-to-string'.
9014
9015 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9016
9017 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9018 * emulation/viper-init.el (viper-deactivate-input-method-action):
9019 Rename from viper-inactivate-input-method-action.
9020 (viper-deactivate-input-method):
9021 Rename from viper-inactivate-input-method.
9022 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9023 * international/mule-cmds.el (deactivate-input-method):
9024 Rename from inactivate-input-method.
9025 Also run input-method-deactivate-hook.
9026 (deactivate-current-input-method-function):
9027 Rename from inactivate-current-input-method-function.
9028 (input-method-deactivate-hook): New hook.
9029 (input-method-inactivate-hook): Mark obsolete.
9030 (inactivate-input-method): Mark obsolete.
9031
9032 * international/quail.el (quail-activate):
9033 Also run quail-deactivate-hook.
9034 (quail-deactivate): Rename from quail-inactivate.
9035 * international/robin.el (robin-activate):
9036 Also run robin-deactivate-hook.
9037 (robin-deactivate): Rename from robin-inactivate.
9038
9039 2012-07-29 Chong Yidong <cyd@gnu.org>
9040
9041 * simple.el (indicate-copied-region): New function.
9042 (kill-ring-save): Split off from here.
9043
9044 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9045 (kill-rectangle): Set deactivate-mark to t on read-only error.
9046
9047 * register.el (copy-to-register, copy-rectangle-to-register):
9048 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9049 (append-to-register, prepend-to-register): Call indicate-copied-region.
9050
9051 2012-07-29 Juri Linkov <juri@jurta.org>
9052
9053 * simple.el (async-shell-command-buffer): New defcustom.
9054 (shell-command): Use it. (Bug#4719)
9055
9056 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9057
9058 * international/mule-cmds.el (set-locale-environment): In a
9059 console session on MS-Windows, set up keyboard and terminal
9060 encoding from the OEM codepage, not the ANSI codepage.
9061 (Bug#12055)
9062
9063 2012-07-28 Chong Yidong <cyd@gnu.org>
9064
9065 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9066 gdb-get-location.
9067
9068 2012-07-28 Leo Liu <sdl.web@gmail.com>
9069
9070 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9071 the alist (bug#12029).
9072
9073 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9074
9075 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9076 (compile-always, compile-first)
9077 ($(lisp)/calendar/cal-loaddefs.el)
9078 ($(lisp)/calendar/diary-loaddefs.el)
9079 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9080 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9081 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9082 instead of on update-subdirs.
9083 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9084
9085 2012-07-28 Chong Yidong <cyd@gnu.org>
9086
9087 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9088 directory if vc-deduce-backend returns nil (Bug#7350).
9089
9090 * simple.el (delete-trailing-lines): New option.
9091 (delete-trailing-whitespace): Obey it (Bug#11879).
9092
9093 2012-07-28 David Engster <deng@randomsample.de>
9094
9095 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9096 Explanation of new 'symbol-qnames feature in doc-strings.
9097 (xml-maybe-do-ns): Return expanded names as plain symbols if
9098 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9099 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9100
9101 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9102
9103 Consistent completion in inferior python with emacs -nw.
9104 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9105 binding in inferior-python-mode-map with "\t".
9106 (python-shell-completion-complete-at-point)
9107 (python-completion-complete-at-point): Remove interactive spec.
9108
9109 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9110
9111 * calc/calccomp.el (math-compose-expr): Undo previous change.
9112
9113 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9114
9115 * progmodes/python.el (python-mode-map): Add keybinding for
9116 run-python.
9117 (python-shell-make-comint): Fix pop-to-buffer call.
9118 (run-python): Autoload. New arg SHOW.
9119 (python-shell-get-or-create-process): Do not pop python process
9120 buffer.
9121
9122 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9123
9124 * notifications.el (notifications-on-action-signal)
9125 (notifications-on-closed-signal): Use also the bus address for the map.
9126 (notifications-notify, notifications-close-notification)
9127 (notifications-get-capabilities): Add optional argument BUS.
9128
9129 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9130
9131 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9132 Add support for the lstlisting and minted environments, and for the
9133 ctable macro.
9134 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9135 labels written in keyvals syntax.
9136
9137 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9138
9139 * calc/calccomp.el (math-compose-expr): Use parentheses when
9140 there is a product in the denominator of a fraction.
9141
9142 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9143
9144 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9145 ($(lisp)/calendar/diary-loaddefs.el)
9146 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9147 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9148 Fixes failures in parallel bootstrap because subdirs.el is being
9149 rewritten while the autoload files are built at the same time,
9150 which needs to load subdirs.el.
9151
9152 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9153
9154 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9155 (mouse-drag-line): Don't exit tracking when a switch-frame or
9156 switch-window event occurs (Bug#12006).
9157
9158 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * mouse.el (popup-menu): Fix last change.
9161
9162 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 Autoload from Lisp with more care. Follow aliases when looking for
9165 function properties.
9166 * subr.el (autoloadp): New function.
9167 (symbol-file): Use it.
9168 (function-get): New function.
9169 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9170 autoload-do-load.
9171 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9172 (lisp-indent-function):
9173 * emacs-lisp/gv.el (gv-get):
9174 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9175 * emacs-lisp/byte-opt.el (byte-optimize-form):
9176 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9177 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9178 Use function-get.
9179 * emacs-lisp/cl.el: Don't propagate function properties any more.
9180
9181 * speedbar.el (speedbar-add-localized-speedbar-support):
9182 * emacs-lisp/disass.el (disassemble-internal):
9183 * desktop.el (desktop-load-file):
9184 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9185 (describe-function-1):
9186 * emacs-lisp/find-func.el (find-function-noselect):
9187 * emacs-lisp/elp.el (elp-instrument-function):
9188 * emacs-lisp/advice.el (ad-has-proper-definition):
9189 * apropos.el (apropos-safe-documentation, apropos-macrop):
9190 * emacs-lisp/debug.el (debug-on-entry):
9191 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9192 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9193 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9194
9195 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9196
9197 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9198 function, not an obsolete variable (Bug#12046).
9199
9200 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9201
9202 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9203
9204 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9205
9206 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9207 window only if it is still live (Bug#12034).
9208
9209 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9210
9211 * subr.el (redirect-frame-focus): Add advertised calling
9212 convention (Bug#12030).
9213
9214 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9215
9216 Prefer typical American spelling for "acknowledgment".
9217 * vc/add-log.el (change-log-acknowledgment): Rename from
9218 change-log-acknowledgement, with an alias for the old name.
9219
9220 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9221
9222 * calc-alg.el (math-simplify-divide): Don't cross multiply
9223 in an equation when the lhs is a variable.
9224
9225 2012-07-24 Julien Danjou <julien@danjou.info>
9226
9227 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9228 Remove, unused.
9229
9230 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9231
9232 * startup.el (command-line): Don't display an empty user name in
9233 the error message about non-existent home directory, when
9234 init-file-user was set to an empty string. See
9235 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9236 for the details and context.
9237
9238 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9239
9240 * ses.el (ses-cell-formula-aset): New macro.
9241 (ses-cell-references-aset): New macro.
9242 (ses-cell-p): New function.
9243 (ses-rename-cell): Do no longer rely on complex operations like
9244 ses-cell-set-formula or ses-set-cell to change the cell and handle
9245 the undo at the same time, but rather use lower level new macros
9246 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9247 the undo directly. Refresh the mode line.
9248
9249 2012-07-21 Leo Liu <sdl.web@gmail.com>
9250
9251 * progmodes/cc-cmds.el (c-defun-name):
9252 Use match-string-no-properties instead for consistency.
9253
9254 2012-07-20 Leo Liu <sdl.web@gmail.com>
9255
9256 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9257 (Bug#7879)
9258
9259 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9260
9261 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9264 * progmodes/bug-reference.el, misearch.el: Provide themselves
9265 (bug#11915).
9266
9267 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9268 of narrowed buffer (bug#11966).
9269
9270 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9271
9272 * ses.el (ses-rename-cell): Set new name also in reference list of
9273 cells of which the renamed cell depends.
9274
9275 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9276
9277 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9278 to check whether menu-bar is shown or not. If not shown,
9279 show the menu-bar as a popup menu instead of using tmm.
9280 * mouse.el (popup-menu): Accept `point' as `position' argument.
9281
9282 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9283
9284 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9285 up inside string symbol literal (bug#11923).
9286
9287 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9288
9289 * startup.el (fancy-startup-text): Read the whole tutorial, not
9290 just its first 256 bytes. Prevents gibberish in display of the
9291 tutorial title.
9292
9293 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9294
9295 Drop idle buffer compaction due to an absence of the
9296 proved efficiency.
9297 * compact.el: Remove.
9298
9299 2012-07-19 Sam Steingold <sds@gnu.org>
9300
9301 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9302 vc-bzr-pull & vc-bzr-merge-branch.
9303 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9304 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9305 for consistency with compilation-error-regexp-alist.
9306 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9307 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9308 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9309 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9310
9311 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9312
9313 * emacs-lisp/chart.el: Use lexical-binding.
9314 (chart-emacs-storage): Don't hardcode the list of entries.
9315
9316 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9317
9318 Next round of tweaks caused by Fgarbage_collect changes.
9319 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9320
9321 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9322
9323 Compact buffers when idle.
9324 * compact.el: New file.
9325
9326 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * subr.el (eventp): Presume that if it looks vaguely like an event,
9329 it's an event (bug#10190).
9330
9331 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9332
9333 Enhancements to ppss related code (thanks Stefan).
9334 * progmodes/python.el (python-indent-context)
9335 (python-indent-calculate-indentation, python-indent-dedent-line)
9336 (python-indent-electric-colon, python-nav-forward-block)
9337 (python-mode-abbrev-table)
9338 (python-info-assignment-continuation-line-p): Simplify checks
9339 for ppss context.
9340 (python-info-continuation-line-p): Cleanup.
9341 (python-info-ppss-context): Do not catch 'quote.
9342 (python-info-ppss-context-type)
9343 (python-info-ppss-comment-or-string-p): Simplify.
9344
9345 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9346
9347 * progmodes/python.el: Enhancements to eldoc support.
9348 (python-info-current-symbol): New function.
9349 (python-eldoc-at-point): Use python-info-current-symbol.
9350 (python-info-current-defun): Fix cornercase on first defun scan.
9351 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9352 and signal error when no inferior python process is available.
9353
9354 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9355
9356 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9357 assume it's always t.
9358 (vc-git-registered): Remove caching, the function is only called
9359 once.
9360 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9361
9362 2012-07-18 Chong Yidong <cyd@gnu.org>
9363
9364 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9365
9366 * simple.el (count-words): Report on narrowing (Bug#9959).
9367
9368 * bindings.el: Bind M-= to count-words.
9369
9370 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9371
9372 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9373
9374 * progmodes/sh-script.el (sh-imenu-generic-expression):
9375 Capture a function with `function' keyword and without parentheses
9376 like "function FOO" (bug#11856).
9377
9378 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9379
9380 * window.el (split-window-sensibly): Make WINDOW argument
9381 optional.
9382
9383 2012-07-18 Chong Yidong <cyd@gnu.org>
9384
9385 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9386
9387 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9388 and make C-x 8 RET exit isearch (Bug#11439).
9389
9390 * international/iso-transl.el: Move isearch-mode-map key
9391 definitions to isearch.el.
9392
9393 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9394
9395 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9396 (eieio-defclass): Use gv-define-setter when possible.
9397
9398 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9399
9400 Reflect recent changes in Fgarbage_collect.
9401 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9402 reflect new format of data returned by Fgarbage_collect.
9403
9404 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9405
9406 New utility functions + python-info-ppss-context fix (Bug#11910).
9407 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9408 (python-info-ppss-comment-or-string-p): New functions.
9409 (python-info-ppss-context): Small fix for string check.
9410
9411 2012-07-17 Juri Linkov <juri@jurta.org>
9412
9413 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9414 (dired-do-async-shell-command): Don't add `*' at the end of the
9415 command (Bug#11815).
9416 (dired-do-shell-command): Doc fix.
9417 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9418 Join the individual commands using either "&" or ";" as the
9419 separator depending on the values of these trailing characters.
9420 At the end re-add the trailing "&". (Bug#10598)
9421
9422 * simple.el (async-shell-command): Sync the interactive spec with
9423 `shell-command'. Doc fix.
9424 (shell-command): Doc fix.
9425
9426 2012-07-17 Juri Linkov <juri@jurta.org>
9427
9428 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9429
9430 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9431
9432 Final renames and doc fixes for movement commands (bug#11899).
9433 * progmodes/python.el (python-nav-beginning-of-statement):
9434 Rename from python-nav-statement-start.
9435 (python-nav-end-of-statement): Rename from
9436 python-nav-statement-end.
9437 (python-nav-beginning-of-block): Rename from
9438 python-nav-block-start.
9439 (python-nav-end-of-block): Rename from python-nav-block-end.
9440
9441 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9442
9443 * progmodes/python.el (python-shell-send-string-no-output):
9444 Allow accept-process-output to quit, keeping shell process ready for
9445 future interactions (Bug#11868).
9446
9447 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9448
9449 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9450
9451 * emacs-lisp/elint.el (elint-find-args-in-code):
9452 Use help-function-arglist, so as to handle lexical byte-code.
9453
9454 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9455 change (bug#11826).
9456
9457 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9460 Avoid spuriously marking the buffer as modified because of c-is-sws.
9461
9462 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9463 as not-a-comment (bug#11946).
9464
9465 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9466 for uninterned vars.
9467
9468 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9469 Use read-event since we don't really want to read chars but bytes.
9470
9471 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9472 $$..$$ but also $..$ using regexps (bug#11953).
9473 Use tex-verbatim for \url and \path.
9474 (tex-font-lock-keywords): Define as defconst like the others.
9475 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9476
9477 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9478
9479 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9480 alias for insert-char.
9481
9482 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9483
9484 * progmodes/python.el: Simplified imenu implementation.
9485 (python-nav-jump-to-defun): Remove command.
9486 (python-mode-map): Use `imenu' instead.
9487 (python-nav-list-defun-positions-cache)
9488 (python-imenu-include-defun-type, python-imenu-make-tree)
9489 (python-imenu-subtree-root-label, python-imenu-index-alist):
9490 Remove vars.
9491 (python-nav-list-defun-positions, python-nav-read-defun)
9492 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9493 (python-imenu-make-tree, python-imenu-create-index):
9494 Remove functions.
9495 (python-mode): Update to interact with imenu by setting
9496 `imenu-extract-index-name-function' only.
9497
9498 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9499
9500 * progmodes/python.el: Enhancements to navigation commands.
9501 (python-nav-backward-sentence)
9502 (python-nav-forward-sentence): Remove.
9503 (python-nav-backward-statement, python-nav-forward-statement)
9504 (python-nav-statement-start, python-nav-statement-end)
9505 (python-nav-backward-block, python-nav-forward-block)
9506 (python-nav-block-start, python-nav-block-end)
9507 (python-nav-forward-sexp-function)
9508 (python-info-current-line-comment-p)
9509 (python-info-current-line-empty-p): New functions.
9510 (python-indent-context): Use `python-nav-statement-start'.
9511
9512 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9513
9514 * eshell/em-ls.el (eshell/ls): Use `apply'.
9515
9516 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9517 multi-hops, instead of Tramp internals.
9518
9519 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9520
9521 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9522 when F1 and F2 are located on different hosts.
9523
9524 2012-07-14 Chong Yidong <cyd@gnu.org>
9525
9526 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9527 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9528 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9529 (xterm-mouse--read-event-sequence-1000)
9530 (xterm-mouse--read-event-sequence-1006): New functions. For old
9531 mouse protocol, handle M-mouse-X events correctly.
9532 (xterm-mouse-event): New arg specifying mouse protocol.
9533 (turn-on-xterm-mouse-tracking-on-terminal)
9534 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9535 sequence to toggle extended coordinates on newer XTerms.
9536 This appears to be harmless on terminals which do not support this.
9537
9538 2012-07-14 Leo Liu <sdl.web@gmail.com>
9539
9540 Add fringe bitmap indicators for flymake. (Bug#11253)
9541 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9542 (flymake-make-overlay): New arg BITMAP.
9543 (flymake-error-bitmap, flymake-warning-bitmap)
9544 (flymake-fringe-indicator-position): New user variables.
9545
9546 * fringe.el: New bitmap exclamation-mark.
9547
9548 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9549
9550 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9551 also (Bug#7879).
9552
9553 2012-07-14 Chong Yidong <cyd@gnu.org>
9554
9555 * electric.el (electric-pair-post-self-insert-function): Fix pair
9556 insertion in empty-region case (Bug#11520).
9557
9558 2012-07-14 Chong Yidong <cyd@gnu.org>
9559
9560 * bindings.el: Consolidate ctl-x-r-map bindings.
9561 Bind copy-rectangle-as-kill to C-x r w.
9562
9563 * rect.el, register.el: Move bindings to bindings.el.
9564
9565 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9566
9567 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9568
9569 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9570
9571 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9572
9573 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9574
9575 * bindings.el (top): Use `mapc' instead of `mapcar'.
9576
9577 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9578
9579 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9580
9581 * progmodes/sql.el (sql-comint): Suppress the check for program on
9582 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9583 (Bug#11908)
9584
9585 2012-07-13 Chong Yidong <cyd@gnu.org>
9586
9587 * bindings.el: Assign a non-nil permanent-local property to
9588 per-buffer variables which lack a default value (Bug#11930).
9589
9590 * help-fns.el (describe-variable): In the "automatically becomes
9591 local" notice, take note of permanent-local variables.
9592
9593 2012-07-13 Chong Yidong <cyd@gnu.org>
9594
9595 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9596 to allow printing the message when called from Lisp.
9597
9598 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9599 Remove toggle-read-only.
9600
9601 * bs.el (bs-toggle-readonly):
9602 * buff-menu.el (Buffer-menu-toggle-read-only):
9603 Remove with-no-warnings around toggle-read-only.
9604
9605 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9606 Remove with-no-warnings around toggle-read-only.
9607 (ffap-read-only, ffap-read-only-other-window)
9608 (ffap-read-only-other-frame): Callers changed.
9609
9610 * help-mode.el: Don't require view package.
9611 (help-mode-finish): Set buffer-read-only instead of calling
9612 toggle-read-only.
9613
9614 * bindings.el (mode-line-toggle-read-only):
9615 * dired.el (dired-toggle-read-only):
9616 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9617 with non-nil second arg.
9618
9619 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9620 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9621 directly.
9622
9623 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9624
9625 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9626 not incf.
9627
9628 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 More CL cleanups and reduction of use of cl.el.
9631 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9632 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9633 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9634 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9635 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9636 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9637 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9638 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9639 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9640 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9641 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9642 * eshell/em-cmpl.el, eshell/em-banner.el:
9643 * calendar/parse-time.el: Use cl-lib.
9644 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9645 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9646 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9647 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9648 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9649 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9650 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9651 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9652 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9653 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9654 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9655 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9656 `lambda' rather than with `quote'.
9657 (eshell-do-opt): Adjust accordingly.
9658 (eshell-process-option): Simplify.
9659 * eshell/esh-var.el:
9660 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9661 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9662 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9663 to `pcase--dontcare'.
9664 * emacs-lisp/cl.el (labels): Mark obsolete.
9665 (cl--letf, letf): Move to cl-lib.
9666 (cl--letf*, letf*): Remove.
9667 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9668 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9669 (cl-progv): Rewrite.
9670 (cl--letf, cl-letf): Move from cl.el.
9671 (cl-letf*): New macro.
9672 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9673
9674 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9675
9676 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9677
9678 2012-07-11 Chong Yidong <cyd@gnu.org>
9679
9680 * vc/log-edit.el (log-edit-vc-backend): New variable.
9681 (log-edit): Doc fix.
9682
9683 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9684 argument of log-edit to set up all local variables.
9685 (vc-start-logentry): New optional arg specifying VC backend.
9686
9687 * vc/vc.el (vc-checkin): Use it.
9688 (vc-deduce-fileset): Handle Log Edit buffers.
9689 (vc-diff): Make first argument optional too.
9690
9691 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9692
9693 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9694
9695 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9696 command, just in case. The function is not needed anymore.
9697 (eshell-external-command): Do not call `eshell-remote-command'.
9698
9699 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 Reduce use of (require 'cl).
9702 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9703 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9704 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9705 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9706 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9707 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9708 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9709 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9710 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9711 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9712 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9713 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9714 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9715 (byte-compile-unfold-bcf, byte-compile-check-variable):
9716 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9717 (byte-compile-nilconstp):
9718 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9719 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9720
9721 * emacs-lisp/gv.el (cond): Make it a valid place.
9722 (if): Simplify slightly.
9723
9724 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9725 (pcase--self-quoting-p): New function.
9726 (pcase--u1): Use it.
9727
9728 2012-07-10 Glenn Morris <rgm@gnu.org>
9729
9730 * emacs-lisp/authors.el (authors-fixed-entries):
9731 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9732
9733 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9734
9735 Rename configure.in to configure.ac (Bug#11603).
9736 * emacs-lisp/authors.el (authors-canonical-file-name):
9737 * progmodes/autoconf.el (autoconf-mode):
9738 Prefer configure.ac to configure.in.
9739
9740 2012-07-08 Chong Yidong <cyd@gnu.org>
9741
9742 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9743 Implement the mouse-1-click-follows-link handling properly.
9744
9745 * info.el (Info-link-keymap): Use follow-link mechanism for
9746 header-line links (Bug#374).
9747
9748 * simple.el (deactivate-mark): Do not set the primary selection
9749 if another program has acquired it (Bug#11772).
9750
9751 2012-07-07 Kevin Ryde <user42@zip.com.au>
9752
9753 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9754 (woman-decode-region): Replace escaped-escapes without destroying
9755 bold or underline (Bug#11552).
9756 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9757
9758 2012-07-07 Chong Yidong <cyd@gnu.org>
9759
9760 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9761 (interprogram-cut-function, interprogram-paste-function):
9762 Mention that we typically mean the clipboard.
9763
9764 2012-07-06 Glenn Morris <rgm@gnu.org>
9765
9766 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9767
9768 * files.el (toggle-read-only): Restrict message to interactive use.
9769
9770 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9771
9772 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9773
9774 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9775
9776 2012-07-06 Glenn Morris <rgm@gnu.org>
9777
9778 * Makefile.in (compile-one-process): Rename from "recompile".
9779
9780 * Makefile.in (bzr-update): "compile" is the same as "recompile
9781 autoloads", but parallelizable, so use that instead.
9782
9783 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9784
9785 * window.el (quit-window): Always restore window height when
9786 it's saved in quit-restore parameter (Bug#11810).
9787
9788 2012-07-06 Glenn Morris <rgm@gnu.org>
9789
9790 * simple.el (kill-whole-line): Doc tweak.
9791
9792 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9793
9794 * files.el (file-relative-name): Compare file names
9795 case-insensitively if on MS-Windows or MS-DOS, or if
9796 read-file-name-completion-ignore-case is non-nil. Don't use
9797 case-fold-search for this purpose. (Bug#11827)
9798
9799 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9800
9801 * calendar/cal-dst.el (calendar-current-time-zone):
9802 Return calendar-current-time-zone-cache if non-nil.
9803
9804 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9805 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9806
9807 * calendar/cal-dst.el (calendar-current-time-zone):
9808 Return calendar-current-time-zone-cache if non-nil.
9809
9810 2012-07-06 Glenn Morris <rgm@gnu.org>
9811
9812 * Makefile.in (cvs-update): Remove old alias.
9813
9814 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9815
9816 Sync with Tramp 2.2.6-pre.
9817
9818 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9819 compatible declaration.
9820
9821 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9822 Protect `list-load-path-shadows' call.
9823
9824 * net/tramp-compat.el (top): Require packages, which aren't
9825 autoloaded anymore for XEmacs. Protect call of
9826 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9827 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9828 it hurts at least for SXEmacs.
9829 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9830 standard-value for `temporary-file-directory'.
9831
9832 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9833 Redirect stderr to /dev/null.
9834 (tramp-sh-handle-write-region): uid and gid can be floats.
9835 Reported by Russell Sim <russell.sim@gmail.com>.
9836 (tramp-sh-handle-vc-registered): Hide errors.
9837 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9838 and `start-file-process'.
9839 (tramp-maybe-open-connection): Check also whether `non-essential'
9840 is bound.
9841
9842 2012-07-04 Chong Yidong <cyd@gnu.org>
9843
9844 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9845 (xml-parse-tag): Likewise, and avoid changing entity tables.
9846 (xml-syntax-table): Define from scratch, making sure not to give
9847 x2000 and other Unicode spaces whitespace syntax, since those are
9848 not spaces in XML.
9849 (xml-parse-fragment): Delete unused function.
9850 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9851 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9852 (xml-entity-ref, xml-pe-reference-re)
9853 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9854 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9855 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9856 (xml-entity-value-re): Use syntax references in regexps where
9857 possible; no need to define inside a let-binding.
9858 (xml-parse-dtd): Use xml-pe-reference-re.
9859 (xml-entity-or-char-ref-re): New defconst.
9860 (xml-parse-string, xml-substitute-special): Use it.
9861
9862 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9863
9864 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9865 (find-file--read-only): New function.
9866 (find-file-read-only, find-file-read-only-other-window)
9867 (find-file-read-only-other-frame): Use it.
9868 (insert-file-contents-literally): Don't `fset'.
9869 (get-free-disk-space): Use locate-dominating-file.
9870
9871 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9872 function is already compiled.
9873
9874 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9875
9876 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9877
9878 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9879 files on the same host.
9880
9881 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9882
9883 * help-fns.el (describe-function-1): Only call
9884 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9885
9886 2012-07-03 Chong Yidong <cyd@gnu.org>
9887
9888 * xml.el: Protect parser against XML bombs.
9889 (xml-entity-expansion-limit): New variable.
9890 (xml-parse-string, xml-substitute-special): Use it.
9891 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9892
9893 2012-07-03 Glenn Morris <rgm@gnu.org>
9894
9895 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9896 Allow linking to specific messages in debbugs reports (eg 123#5).
9897
9898 2012-07-02 Chong Yidong <cyd@gnu.org>
9899
9900 * xml.el: Fix entity and character reference expansion, allowing
9901 them to expand into markup as per XML spec.
9902 (xml-default-ns): New variable.
9903 (xml-entity-alist): Use XML spec definitions for lt and amp.
9904 (xml-parse-region): Make first two arguments optional.
9905 Discard text properties.
9906 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9907 All callers changed.
9908 (xml-parse-tag): Call xml-parse-tag-1. For backward
9909 compatibility, this function should not modify buffer contents.
9910 (xml-parse-tag-1): Fix opening-tag regexp.
9911 (xml-parse-string): Rewrite, handling entity and character
9912 references properly.
9913 (xml--entity-replacement-text): Signal an error if a parameter
9914 entity is undefined.
9915
9916 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9917
9918 * comint.el (comint-output-filter): Filter out repeated prompts.
9919
9920 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9921 and file-name-absolute-p.
9922 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9923 internal calls.
9924
9925 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9926
9927 Spelling fixes.
9928 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9929 Rename from byte-compile--refiy-function. All uses changed.
9930
9931 2012-07-01 Chong Yidong <cyd@gnu.org>
9932
9933 * xml.el (xml--parse-buffer): New function. Move most of
9934 xml-parse-region here.
9935 (xml-parse-region): Copy region into a temporary buffer, since
9936 parameter entity substitution requires changing buffer contents.
9937 Use xml--parse-buffer.
9938 (xml-parse-file): Use xml--parse-buffer.
9939 (xml-parse-dtd): Make parameter entity substitution work right.
9940 Use proper regexps for ELEMENT declarations (Bug#7172).
9941
9942 2012-06-30 Glenn Morris <rgm@gnu.org>
9943
9944 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9945
9946 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9947 Remove outdated and unnecessary dbus declarations.
9948
9949 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9950
9951 * emacs-lisp/timer.el (timer-until): Subtract results of
9952 float-time, instead of taking float-time of the result of
9953 time-subtract, since float-time signals an error for negative time
9954 arguments.
9955
9956 2012-06-30 Chong Yidong <cyd@gnu.org>
9957
9958 * xml.el (xml-*-re): Convert defvars into defconsts, and
9959 eval-and-compile them so eval-and-compile works on derivatives.
9960 (xml--entity-replacement-text): Use eval-and-comple.
9961
9962 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9963
9964 * vc/vc-git.el (vc-git-registered): Use cache property
9965 `git-registered'.
9966 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9967 `vc-git-working-revision' in order to benefit from the cache.
9968 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9969
9970 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9971
9972 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9973 removed (likely outside Emacs). (Bug#11757)
9974
9975 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * emacs-lisp/cl-lib.el: Require macroexp.
9978
9979 2012-06-30 Chong Yidong <cyd@gnu.org>
9980
9981 * xml.el: Implement XML parameter entities.
9982 (xml-parameter-entity-alist): New variable.
9983 (xml-parse-region, xml-parse-fragment): Preserve previous values
9984 of xml-entity-alist and xml-parameter-entity-alist, so that
9985 repeated calls on different documents do not change them.
9986 (xml-parse-tag): Fix doctype regexp.
9987 (xml--entity-replacement-text): New function.
9988 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9989 properly requires url retrieval which is unimplemented.
9990 (xml-escape-string): Doc fix.
9991
9992 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9993
9994 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9995
9996 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9997
9998 * fringe.el (fringe-mode): Doc fix.
9999
10000 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10001
10002 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10003 is non-nil.
10004 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10005 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10006
10007 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10008
10009 * calendar/cal-dst.el (calendar-current-time-zone):
10010 Return calendar-current-time-zone-cache if non-nil.
10011
10012 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10013
10014 * progmodes/which-func.el (which-func-format):
10015 Add mouse-face. (Bug#11698)
10016
10017 2012-06-29 Leo Liu <sdl.web@gmail.com>
10018
10019 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10020
10021 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10022
10023 * minibuffer.el (minibuffer-confirm-exit-commands):
10024 Add completion-at-point (bug#11725).
10025
10026 2012-06-29 Glenn Morris <rgm@gnu.org>
10027
10028 * progmodes/f90.el (f90-font-lock-keywords-2):
10029 Add some preprocessor elements. (Bug#10499)
10030
10031 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10032
10033 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10034 Use syntax-propertize (bug#11739).
10035
10036 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10037
10038 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10039
10040 2012-06-28 Julien Danjou <julien@danjou.info>
10041
10042 * term.el (term-handle-colors-array): Use a set of new faces to
10043 color the terminal. Also uses :inverse-video property.
10044 (term-default-fg-color): Set to nil by default, deprecate in favor
10045 of `term-face'.
10046 (term-default-bg-color): Set to nil by default, deprecate in favor
10047 of `term-face'.
10048 (term-current-face): Use `term-face' by default.
10049 (term-bold-attribute): Variable deleted.
10050
10051 2012-06-28 Glenn Morris <rgm@gnu.org>
10052
10053 * simple.el (completion-list-mode-finish):
10054 Don't use toggle-read-only. (Since completion-list-mode has
10055 a special mode-class, it wasn't doing anything extra anyway.)
10056
10057 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 Make inlining of other-mode interpreted functions work (bug#11799).
10060 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10061 (byte-compile): Use it to fix compilation of lexical-binding closures.
10062 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10063 function, if needed.
10064
10065 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 * help-mode.el (help-make-xrefs): Don't just withstand
10068 cyclic-variable-indirection but any error in documentation-property.
10069
10070 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10071 memory use.
10072 * bindings.el (bindings--define-key): New function.
10073 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10074 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10075 * bindings.el: Use it to purecopy define-key bindings.
10076
10077 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10078
10079 * emacs-lisp/cl.el (flet): Mark obsolete.
10080 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10081 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10082 * progmodes/js.el (js-c-fill-paragraph):
10083 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10084 (ebrowse-switch-member-buffer-to-derived-class):
10085 * play/5x5.el (5x5-solver): Use cl-flet.
10086
10087 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10088 (cl--symbol-function): New macro.
10089 (cl--letf, cl--letf*): Use it.
10090
10091 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10092 Strip "toggle-" if any.
10093
10094 2012-06-27 Glenn Morris <rgm@gnu.org>
10095
10096 * info.el (Info-default-directory-list): Move here from paths.el.
10097 * paths.el: Remove file, which is now empty.
10098 * loadup.el: No longer load "paths".
10099
10100 * custom.el (custom-initialize-delay): Doc fix.
10101
10102 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10103 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10104 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10105 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10106 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10107 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10108 * eshell/eshell.el (eshell-defgroup): Remove alias.
10109
10110 2012-06-27 Chong Yidong <cyd@gnu.org>
10111
10112 * help.el (help-enable-auto-load): New variable.
10113
10114 * help-fns.el (help-fns--autoloaded-p): New function.
10115 (describe-function-1): Refer to a function as "autoloaded" if it
10116 was autoloaded at any time in the past. Perform autoloading if
10117 help-enable-auto-load is non-nil.
10118
10119 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10120
10121 * makefile.w32-in (compile, compile-always): Depend on
10122 update-subdirs, not on subdirs.el. Otherwise, several different
10123 sub-targets of 'bootstrap' running in parallel could
10124 simultaneously write to subdirs.el, producing a garbled file.
10125
10126 2012-06-26 Sam Steingold <sds@gnu.org>
10127
10128 * files.el (file-name-base): New convenience function.
10129 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10130 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10131 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10132 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10133 * textmodes/ispell.el, textmodes/reftex-ref.el:
10134 * textmodes/tex-mode.el: Use it.
10135 Did not touch cedet and org because they are maintained elsewhere.
10136
10137 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10138
10139 * calendar/calendar.el (calendar-exit): Don't try to delete or
10140 iconify last frame. See:
10141 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10142
10143 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10144
10145 * server.el (server-process-filter): Remember dir in the
10146 process's `server-client-directory' properties.
10147
10148 2012-06-24 Chong Yidong <cyd@gnu.org>
10149
10150 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10151 non-tag text.
10152
10153 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10156
10157 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * help-fns.el (describe-variable): Don't croak when doc is not found.
10160 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10161 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10162 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10163 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10164 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10165 ((lambda ..) ..).
10166 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10167
10168 2012-06-23 Chong Yidong <cyd@gnu.org>
10169
10170 * info.el (Info-mouse-follow-link): Accept symbol values of
10171 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10172 (Info-fontify-node): Use Info-link-keymap for all navigation
10173 buttons, with link-args property to perform the desired action.
10174 (Info-link-keymap): Doc fix.
10175 (Info-next-link-keymap, Info-prev-link-keymap)
10176 (Info-up-link-keymap): Delete now-unused keymaps.
10177
10178 2012-06-23 Chong Yidong <cyd@gnu.org>
10179
10180 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10181
10182 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10183 system abbrevs.
10184
10185 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10186
10187 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10188
10189 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10190 (bug#11719).
10191
10192 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10193 the requote function doesn't work properly (bug#11714).
10194
10195 2012-06-23 Glenn Morris <rgm@gnu.org>
10196
10197 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10198
10199 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10200
10201 Further GV/CL cleanups.
10202 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10203 gv-expander.
10204 (gv--defun-declaration): New function.
10205 (defun-declarations-alist): Use it.
10206 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10207 (gv-place): Autoload.
10208 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10209 original definition of dotimes and dolist.
10210 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10211 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10212 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10213 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10214 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10215 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10216 to the function's definition.
10217 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10218 * window.el:
10219 * files.el:
10220 * faces.el:
10221 * env.el: Don't use CL.
10222
10223 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10224
10225 Support higher-resolution time stamps (Bug#9000).
10226
10227 * calendar/time-date.el (with-decoded-time-value): New arg
10228 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10229 (encode-time-value): New optional arg PICO. New type 3.
10230 (time-to-seconds) [!float-time]: Support the new picoseconds
10231 component if it's used.
10232 (seconds-to-time, time-subtract, time-add):
10233 Support ps-resolution time stamps as well.
10234
10235 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10236 (timerp): Timer vectors now have length 9, not 8.
10237 (timer--time): Support new-style (4-part) time stamps.
10238 (timer-next-integral-multiple-of-time): Time stamps now have
10239 picosecond resolution, so take a bit more care about rounding.
10240 (timer-relative-time, timer-inc-time): New optional arg psecs.
10241 (timer-set-time-with-usecs): Set psecs to 0.
10242 (timer--activate): Check psecs component, too.
10243
10244 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10245
10246 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10249 Move the non-essential binding to the post/pre-command-hook where it is
10250 more obviously correct.
10251
10252 * subr.el (read-passwd): Don't use a history at all.
10253 * savehist.el (savehist-save): Remove password saved accidentally
10254 because of the above bug.
10255
10256 2012-06-22 Bastien Guerry <bzg@gnu.org>
10257
10258 * files.el (toggle-read-only): Display a message telling whether
10259 the buffer is read-only or not (bug#11726).
10260
10261 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10262
10263 * emacs-lisp/gv.el: New file.
10264 * subr.el (push, pop): Extend to generalized variables.
10265 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10266 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10267 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10268 gv-define-simple-setter, and gv-define-expander.
10269 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10270 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10271 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10272 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10273 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10274 gv-letplace.
10275 (cl-defstruct): Don't define setf-method any more.
10276 * emacs-lisp/cl.el (flet): Don't autoload.
10277 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10278 (define-setf-expander, defsetf, define-modify-macro)
10279 (cl-struct-setf-expander): Move from cl-lib.el.
10280 * emacs-lisp/syntax.el:
10281 * emacs-lisp/ewoc.el:
10282 * emacs-lisp/smie.el:
10283 * emacs-lisp/cconv.el:
10284 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10285 (timer--time): Use gv-define-simple-setter.
10286 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10287 to avoid coding-system problems in subr.el. Adjust all users.
10288 (macroexp--maxsize, macroexp-small-p): New functions.
10289 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10290 * scroll-bar.el (scroll-bar-mode):
10291 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10292 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10293 * winner.el (winner-configuration, winner-make-point-alist)
10294 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10295 * files.el (locate-file-completion-table): Avoid list*.
10296
10297 2012-06-22 Chong Yidong <cyd@gnu.org>
10298
10299 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10300 (dired-create-files): Doc fix (Bug#11329).
10301 (dired-do-copy): Doc fix (Bug#11334).
10302 (dired-mark-read-string): Doc fix (Bug#11553).
10303
10304 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10305 Doc fix (Bug#11326).
10306 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10307 (dired-dwim-target): Doc fix.
10308
10309 * wdired.el (wdired-mode): Doc fix.
10310
10311 2012-06-22 Glenn Morris <rgm@gnu.org>
10312
10313 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10314 (pcmpl-rpm-cache-stamp-file): New constant.
10315 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10316 (pcmpl-rpm-packages): Optionally cache list of packages.
10317
10318 * pcmpl-rpm.el (pcmpl-rpm): New group.
10319 (pcmpl-rpm-query-options): New option.
10320 (pcmpl-rpm-packages): No need to inline it.
10321 Use pcmpl-rpm-query-options.
10322
10323 * calendar/calendar.el (calendar-in-read-only-buffer):
10324 Avoid some needless mode changes.
10325
10326 2012-06-21 Chong Yidong <cyd@gnu.org>
10327
10328 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10329 (desktop-path): Remove . from the default value (Bug#10977).
10330 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10331
10332 2012-06-20 Chong Yidong <cyd@gnu.org>
10333
10334 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10335
10336 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10337
10338 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10339 (bug#11201).
10340
10341 2012-06-20 Chong Yidong <cyd@gnu.org>
10342
10343 * term.el (term-window-width): Handle the case of a missing right
10344 fringe (Bug#8837).
10345 (term-check-size): Use window-text-height (Bug#5445).
10346 (term-mode): Use define-derived-mode. Minor cleanups.
10347 Set font-lock-defaults (Bug#7692).
10348 (term-move-columns, term-insert-char, term-emulate-terminal)
10349 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10350
10351 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10352
10353 * net/ange-ftp.el (ange-ftp-get-passwd):
10354 Bind `enable-recursive-minibuffers'.
10355 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10356
10357 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10358
10359 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10360
10361 2012-06-19 Glenn Morris <rgm@gnu.org>
10362
10363 * progmodes/python.el (python-mode): Derive from prog-mode.
10364
10365 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10366
10367 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10368 (edt-user-menu-bar-update-buffers): New functions.
10369 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10370
10371 2012-06-19 Chong Yidong <cyd@gnu.org>
10372
10373 * subr.el (with-selected-window): Preserve the selected window's
10374 terminal's top-frame (Bug#4702).
10375
10376 * window.el (save-selected-window): Likewise.
10377
10378 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10379
10380 * progmodes/python.el (python-rx-constituents): Move backquote.
10381 (python-skeleton-define, python-define-auxiliary-skeleton):
10382 Use `declare'.
10383
10384 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10385
10386 * minibuffer.el (read-file-name-default): Revert the patch from
10387 2012-06-17.
10388
10389 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10392 (pcase--u1, pcase--q1): Don't use apply-partially.
10393
10394 2012-06-18 Glenn Morris <rgm@gnu.org>
10395
10396 * progmodes/python.el (python-proc, python-buffer)
10397 (python-send-receive, python-send-string): Fix obsolete versions.
10398
10399 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10400
10401 * window.el (special-display-p): Completely remove stringp
10402 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10403
10404 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10405
10406 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10407
10408 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10409
10410 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10411 * net/tramp-sh.el (tramp-maybe-open-connection):
10412 Throw if `non-essential' is non-nil.
10413
10414 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10415
10416 * window.el (special-display-p): Signal an error if BUFFER-NAME
10417 is not a string (Bug#11713).
10418
10419 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10420
10421 * progmodes/python.el (python-info-beginning-of-backslash):
10422 Rename from python-info-beginning-of-backlash, as a spelling fix.
10423
10424 2012-06-17 Chong Yidong <cyd@gnu.org>
10425
10426 * term.el (term-emulate-terminal): If term-check-size is called,
10427 move point to the process mark without resetting point (Bug#4635).
10428
10429 2012-06-17 Glenn Morris <rgm@gnu.org>
10430
10431 * international/mule-cmds.el (mule-menu-keymap)
10432 (set-language-environment, set-locale-environment): Doc tweaks.
10433
10434 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10435
10436 * cus-face.el (custom-face-attributes): Add wave-style underline
10437 attribute.
10438 * faces.el (set-face-attribute): Update docstring to describe
10439 wave-style underline attribute.
10440
10441 2012-06-16 Chong Yidong <cyd@gnu.org>
10442
10443 * term/xterm.el (terminal-init-xterm): Discard input before
10444 querying background mode (Bug#10959).
10445
10446 2012-06-16 Stefan Merten <smerten@oekonux.de>
10447
10448 * textmodes/rst.el: Added and corrected some comments.
10449 (rst-re-alist-def): Improve symbol syntax.
10450 (rst-mode-syntax-table): Correct syntax entries.
10451 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10452 (rst-official-version, rst-official-cvs-rev): Update version
10453 information.
10454
10455 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10456
10457 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10458 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10459
10460 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10461
10462 * progmodes/python.el: New python.el merge.
10463 (python-guess-indent): Obsolete var.
10464 (python-indent-guess-indent-offset): New defcustom.
10465 (python-indent): Obsolete var.
10466 (python-indent-offset): New defcustom.
10467 (python-python-command, python-jython-command): Delete var.
10468 (python-shell-interpreter): New defcustom.
10469 (python-pdbtrack-do-tracking-p): Delete var.
10470 (python-pdbtrack-activate): New defcustom.
10471 (python-use-skeletons): Obsolete var.
10472 (python-skeleton-autoinsert): New defcustom.
10473 (inferior-python-filter-regexp, python-continuation-offset)
10474 (python-honour-comment-indentation, python-indent-string-contents)
10475 (python-jython-packages, python-mode-hook)
10476 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10477 (python-shell-prompt-alist)
10478 (python-source-modes): Delete defcustoms.
10479 (python-check-buffer-name, python-eldoc-setup-code)
10480 (python-eldoc-string-code, python-ffap-setup-code)
10481 (python-ffap-string-code, python-fill-comment-function)
10482 (python-fill-decorator-function, python-fill-paren-function)
10483 (python-fill-string-function, python-imenu-include-defun-type)
10484 (python-imenu-make-tree, python-imenu-subtree-root-label)
10485 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10486 (python-shell-compilation-regexp-alist)
10487 (python-shell-completion-module-string-code)
10488 (python-shell-completion-pdb-string-code)
10489 (python-shell-completion-setup-code)
10490 (python-shell-completion-string-code)
10491 (python-shell-enable-font-lock, python-shell-exec-path)
10492 (python-shell-extra-pythonpaths)
10493 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10494 (python-shell-process-environment)
10495 (python-shell-prompt-block-regexp)
10496 (python-shell-prompt-output-regexp)
10497 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10498 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10499 (python-shell-virtualenv-path): New defcustoms.
10500 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10501 (inferior-python-mode-syntax-table, python--prompt-regexp)
10502 (python-buffer, python-command python-python-command)
10503 (python-default-template, python-imports, python-indent-index)
10504 (python-indent-list, python-indent-list-length)
10505 (python-mode-running, python-pdbtrack-is-tracking-p)
10506 (python-preoutput-continuation, python-preoutput-leftover)
10507 (python-preoutput-result, python-preoutput-skip-next-prompt)
10508 (python-prev-dir/file, python-recursing)
10509 (python-saved-check-command, python-version-checked)
10510 (python-which-func-length-limit)
10511 (view-return-to-alist): Delete vars.
10512 (python-check-custom-command, python-dotty-syntax-table)
10513 (python-imenu-index-alist, python-indent-current-level)
10514 (python-indent-dedenters, python-indent-levels)
10515 (python-nav-beginning-of-defun-regexp)
10516 (python-nav-list-defun-positions-cache)
10517 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10518 (python-shell-internal-buffer)
10519 (python-skeleton-available): New vars.
10520 (def-python-skeleton): Delete macro.
10521 (python-skeleton-define): New macro.
10522 (python-define-auxiliary-skeleton, python-rx): New macros.
10523 (python-insert-class): Delete command.
10524 (python-skeleton-class): New command.
10525 (python-insert-def): Delete command.
10526 (python-skeleton-def): New command.
10527 (python-insert-for): Delete command.
10528 (python-skeleton-for): New command.
10529 (python-insert-if): Delete command.
10530 (python-skeleton-if): New command.
10531 (python-insert-try/except, python-insert-try/finally): Delete commands.
10532 (python-skeleton-try): New command.
10533 (python-insert-while): Delete command.
10534 (python-skeleton-while): New command.
10535 (python-backspace): Delete command.
10536 (python-indent-dedent-line-backspace): New command.
10537 (python-electric-colon): Delete command.
10538 (python-indent-electric-colon): New command.
10539 (python-guess-indent): Delete command.
10540 (python-indent-guess-indent-offset): New command.
10541 (python-shift-left): Delete command.
10542 (python-indent-shift-left): New command.
10543 (python-shift-right): Delete command.
10544 (python-indent-shift-right): New command.
10545 (python-find-function): Delete command.
10546 (python-nav-jump-to-defun): New command.
10547 (python-next-statement): Delete command.
10548 (python-nav-forward-sentence): New command.
10549 (python-previous-statement): Delete command.
10550 (python-nav-backward-sentence): New command.
10551 (python-fill-paragraph): Delete command.
10552 (python-fill-paragraph-function): New command.
10553 (python-send-buffer): Delete command.
10554 (python-shell-send-buffer): New command.
10555 (python-send-defun): Delete command.
10556 (python-shell-send-defun): New command.
10557 (python-send-region, python-send-region-and-go): Delete commands.
10558 (python-shell-send-region)
10559 (python-shell-switch-to-shell): New commands.
10560 (python-send-string): Delete command.
10561 (python-shell-send-string): New command.
10562 (python-switch-to-python): Delete command.
10563 (python-shell-switch-to-shell): New command.
10564 (python-describe-symbol): Delete command.
10565 (python-eldoc-at-point): New command.
10566 (python--set-prompt-regexp, python-args-to-list)
10567 (python-after-info-look, python-check-version)
10568 (python-check-comint-prompt, python-find-imports)
10569 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10570 (python-unload-function, python-expand-template)
10571 (python-maybe-jython, python-preoutput-filter)
10572 (python-pdbtrack-get-source-buffer)
10573 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10574 (python-pdbtrack-toggle-stack-tracking)
10575 (python-pdbtrack-track-stack-file, python-initial-text)
10576 (python-first-word, python-comment-line-p, python-send-command)
10577 (python-setup-brm, python-sentinel, python-set-proc)
10578 (python-skip-out, python-input-filter, python-outdent-p)
10579 (python-outline-level, python-backslash-continuation-line-p)
10580 (python-end-of-block, python-end-of-statement, python-mark-block)
10581 (python-beginning-of-block, python-beginning-of-statement)
10582 (python-blank-line-p, python-beginning-of-string)
10583 (python-open-block-statement-p): Delete functions.
10584 (python-indent-line, python-indent-line-1): Delete functions.
10585 (python-indent-line): New function.
10586 (python-indentation-levels): Delete function.
10587 (python-indent-calculate-levels): New function.
10588 (python-proc): Delete function.
10589 (python-shell-get-process): New function.
10590 (python-send-receive): Delete function.
10591 (python-shell-send-string-no-output): New function.
10592 (python-module-path): Delete function.
10593 (python-ffap-module-path): New function.
10594 (python-completion-at-point)
10595 (python-symbol-completions): Delete functions.
10596 (python-completion-complete-at-point): New function.
10597 (python-load-file): Delete function.
10598 (python-shell-send-file): New function.
10599 (python-calculate-indentation): Delete function.
10600 (python-indent-calculate-indentation): New function.
10601 (python-skip-comments/blanks): Delete function.
10602 (python-util-forward-comment): New function.
10603 (python-continuation-line-p): Delete function.
10604 (python-info-continuation-line-p): New function.
10605 (python-which-func, python-current-defun): Delete function.
10606 (python-info-current-defun): New function.
10607 (python-beginning-of-defun): Delete function.
10608 (python-nav-beginning-of-defun): New function.
10609 (python-close-block-statement-p)
10610 (python-block-end-p): Delete function.
10611 (python-info-closing-block): New function.
10612 (python-comint-output-filter-function)
10613 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10614 (python-fill-comment, python-fill-decorator, python-fill-paren)
10615 (python-fill-string, python-imenu-make-element-tree)
10616 (python-imenu-make-tree, python-imenu-tree-assoc)
10617 (python-indent-context, python-indent-dedent-line)
10618 (python-indent-line-function)
10619 (python-indent-post-self-insert-function)
10620 (python-indent-toggle-levels)
10621 (python-info-assignment-continuation-line-p)
10622 (python-info-beginning-of-backlash)
10623 (python-info-block-continuation-line-p)
10624 (python-info-closing-block-message)
10625 (python-info-line-ends-backslash-p)
10626 (python-info-looking-at-beginning-of-defun)
10627 (python-info-ppss-context, python-info-ppss-context-type)
10628 (python-nav-list-defun-positions, python-nav-read-defun)
10629 (python-nav-sentence-end, python-nav-sentence-start)
10630 (python-pdbtrack-comint-output-filter-function)
10631 (python-pdbtrack-set-tracked-buffer)
10632 (python-shell-calculate-exec-path)
10633 (python-shell-calculate-process-environment)
10634 (python-shell-completion--do-completion-at-point)
10635 (python-shell-completion--get-completions)
10636 (python-shell-completion-complete-at-point)
10637 (python-shell-completion-complete-or-indent)
10638 (python-shell-get-or-create-process)
10639 (python-shell-get-process-name)
10640 (python-shell-internal-get-or-create-process)
10641 (python-shell-internal-get-process-name)
10642 (python-shell-internal-send-string, python-shell-make-comint)
10643 (python-shell-parse-command, python-shell-send-setup-code)
10644 (python-skeleton-add-menu-items)
10645 (python-util-clone-local-variables, python-util-position)
10646 (run-python-internal, python-indentation-levels)
10647 (python-nav-beginning-of-defun)
10648 (python-completion-complete-at-point): New functions.
10649 (run-python): Change arguments. New API requirements.
10650
10651 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10652
10653 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10654 (bug#11649).
10655
10656 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10657 (macroexp--expand-all): Use it.
10658
10659 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10660 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10661 Use `cl-function' instead.
10662
10663 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10664
10665 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10666 Suggested by Stefan Monnier while discussing bug#11657.
10667
10668 2012-06-14 Sam Steingold <sds@gnu.org>
10669
10670 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10671
10672 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10673
10674 * play/doctor.el (doctor-doc): Remove parameter and use
10675 doctor-sent instead of sent.
10676 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10677
10678 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * files.el: Require cl-lib.
10681 (file-name-non-special): Replace case -> cl-case.
10682
10683 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10684
10685 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10686 mapping from #' to function*.
10687
10688 2012-06-13 Chong Yidong <cyd@gnu.org>
10689
10690 * mouse.el (mouse-drag-track): Do not set the mark if the user
10691 releases the mouse without selecting anything (Bug#11588).
10692
10693 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10696 as well (bug#11646).
10697
10698 * loadup.el: Count byte-code functions as well.
10699
10700 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10701 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10702
10703 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10704 (bug#11649). Add cl-defun and cl-defmacro.
10705
10706 2012-06-13 Drew Adams <drew.adams@oracle.com>
10707
10708 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10709 Fix last change.
10710
10711 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10712
10713 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10714 Otherwise, it blocks in batch mode.
10715
10716 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10717
10718 * help-mode.el (bookmark-make-record-default): Declare.
10719
10720 2012-06-13 Chong Yidong <cyd@gnu.org>
10721
10722 * emacs-lisp/package.el (list-packages): Compute a list of
10723 packages that are newly-available since the last list-packages
10724 invocation.
10725 (package-menu--new-package-list): New var.
10726 (package-menu--generate, package-menu--print-info)
10727 (package-menu--status-predicate, package-menu-mark-install):
10728 Handle new status label "new".
10729
10730 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10733 conversion to backquotes.
10734
10735 2012-06-12 Chong Yidong <cyd@gnu.org>
10736
10737 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10738 Rename from gud-inhibit-global-bindings.
10739
10740 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10741
10742 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10743 hook from nxml-glyph-set-hook.
10744
10745 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10746 declaration.
10747
10748 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10749
10750 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10751 Convert to defcustom.
10752
10753 2012-06-12 Drew Adams <drew.adams@oracle.com>
10754
10755 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10756 New functions.
10757 (help-mode): Use them.
10758
10759 2012-06-11 Glenn Morris <rgm@gnu.org>
10760
10761 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10762 Use preprocessor face for directives.
10763 (fortran-directive-re): Doc fix.
10764
10765 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10766
10767 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10768 conversion to backquotes (bug#11652).
10769
10770 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10771 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10772 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10773 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10774 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10775 (cl-ninth, cl-tenth): Mark them as inlinable.
10776 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10777 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10778 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10779 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10780 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10781 (cl-list*, cl-adjoin): Don't put an autoload manually.
10782 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10783 (cl--compiler-macro-list*): Add autoload cookie.
10784 (cl--compiler-macro-cXXr): New function.
10785
10786 * help-fns.el (help-fns--compiler-macro): New function extracted from
10787 describe-function-1; follow aliases and use `compiler-macro' property.
10788 (describe-function-1): Use it.
10789
10790 2012-06-11 Chong Yidong <cyd@gnu.org>
10791
10792 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10793 is uninstalled, if imagemagick is installed.
10794
10795 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10796
10797 * emacs-lisp/cl-lib.el: Use lexical-binding.
10798 (cl-map-extents, cl-maclisp-member): Remove.
10799 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10800 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10801 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10802 * emacs-lisp/cl-extra.el: Use lexical-binding.
10803 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10804 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10805 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10806 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10807 * emacs-lisp/cl-seq.el: Use lexical-binding.
10808 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10809 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10810 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10811 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10812 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10813 CL's internals.
10814
10815 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10816
10817 Sync with Tramp 2.2.6-pre.
10818
10819 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10820 `print-length' and `print-level' to nil, in order to avoid
10821 truncation. Reported by Christopher Schmidt
10822 <christopher@ristopher.com>.
10823
10824 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10825
10826 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10827 New defmacro.
10828 (tramp-compat-copy-directory): Add optional argument
10829 COPY-CONTENTS. It is not handled yet.
10830
10831 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10832 (tramp-ftp-file-name-p): Simplify.
10833
10834 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10835 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10836 connection vector.
10837
10838 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10839 (tramp-methods): Do not use `tramp-password-end-of-line'.
10840 (tramp-completion-function-alist-putty): Handle UNIX case.
10841 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10842 (tramp-do-file-attributes-with-stat)
10843 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10844 gid as real numbers. They could run out of integer range on cygwin.
10845 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10846 (tramp-sh-handle-expand-file-name): Handle hops.
10847 (tramp-open-connection-setup-interactive-shell):
10848 Use `tramp-cleanup'. Move check for busyboxes ...
10849 (tramp-find-shell): ... here. Simplify implementation.
10850 Set "remote-shell" property also for alternative shells.
10851 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10852 If failing, a regular file would be written otherwise.
10853 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10854 (tramp-find-inline-encoding): Cache the coding commands in the
10855 process cache. Apply test command on the remote side, if defined.
10856 (tramp-find-inline-compress): Cache the compress commands in the
10857 process cache.
10858 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10859 when requested. Handle hops.
10860 (tramp-current-connection): New defvar.
10861 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10862 Throw `suppress', if there was a failed connection shortly before.
10863 Handle user interrupt. (Bug#10187)
10864 (tramp-get-inline-compress, tramp-get-inline-coding):
10865 Read connection properties from the process cache.
10866
10867 * net/tramp-smb.el (tramp-smb-server-version)
10868 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10869 New defconsts.
10870 (tramp-smb-prompt): Extend for powershell prompt.
10871 (tramp-smb-file-name-handler-alist): Add handlers for
10872 `process-file', `shell-command' and `start-file-process'.
10873 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10874 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10875 (tramp-smb-file-name-p): Simplify.
10876 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10877 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10878 (tramp-smb-shell-quote-argument): New defuns.
10879 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10880 Implement using "tar". By this, time-stamps are preserved.
10881 (tramp-smb-handle-copy-file): Handle also the case of directories.
10882 (tramp-smb-do-file-attributes-with-stat)
10883 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10884 Use `tramp-get-connection-buffer').
10885 (tramp-smb-handle-rename-file): Use "rename", when source and
10886 target are on the same share.
10887 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10888 Use `tramp-smb-server-version'.
10889 (tramp-smb-wait-for-output): Remove prompt.
10890
10891 * net/tramp.el (top): Require 'cl.
10892 (tramp-methods, tramp-rsh-end-of-line):
10893 Remove `tramp-password-end-of-line' from docstring.
10894 (tramp-save-ad-hoc-proxies): New defcustom.
10895 (tramp-completion-function-alist): Adapt docstring.
10896 (tramp-default-password-end-of-line): Remove defcustom.
10897 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10898 (tramp-user-regexp, tramp-file-name-regexp-unified)
10899 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10900 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10901 (tramp-remote-file-name-spec-regexp): New defconst.
10902 (tramp-file-name-structure): Extend structure for hops.
10903 (tramp-get-method-parameter): Move up.
10904 (tramp-file-name-p, tramp-dissect-file-name)
10905 (with-parsed-tramp-file-name): Handle hops.
10906 (tramp-file-name-hop): New defun.
10907 (tramp-make-tramp-file-name): New optional arg HOP.
10908 (tramp-message-show-progress-reporter-message): New defvar.
10909 (tramp-with-progress-reporter): Use it. We cannot use
10910 `tramp-message-show-message' here, because this suppresses also
10911 error buffers.
10912 (tramp-error-with-buffer): Suppress buffer view, if
10913 `tramp-message-show-message' is nil.
10914 Use `tramp-get-connection-buffer'.
10915 (tramp-cleanup): New defun.
10916 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10917 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10918 an error unchanged.
10919 (tramp-completion-handle-file-name-all-completions): Handle hops.
10920 Fix an error when called from ido.
10921 (tramp-completion-dissect-file-name): Use better local variable
10922 name. Add hop to the vector.
10923 (tramp-handle-insert-file-contents): Use progress-reporter for the
10924 whole scenario.
10925 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10926 to `t'.
10927 (tramp-check-for-regexp): Simplify search.
10928 (tramp-enter-password): Remove it. Move implementation ...
10929 (tramp-action-password): ... here.
10930 (tramp-mode-string-to-int, tramp-local-host-p)
10931 (tramp-make-tramp-temp-file, tramp-read-passwd)
10932 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10933 Set tramp-autoload cookie.
10934
10935 * net/trampver.el: Update release number.
10936
10937 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10938 Michael Albinus <michael.albinus@gmx.de>
10939
10940 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10941 (tramp-parse-group, tramp-parse-file)
10942 (tramp-parse-shostkeys-sknownhosts): New defuns.
10943 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10944 (tramp-parse-shosts-group, tramp-parse-sconfig)
10945 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10946 (tramp-parse-sknownhosts, tramp-parse-hosts)
10947 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10948 Use them.
10949 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10950 (tramp-parse-putty-group): Don't narrow.
10951 (tramp-parse-putty): Make a loop.
10952 (tramp-file-name-handler): Catch the `suppress' signal.
10953
10954 2012-06-11 Chong Yidong <cyd@gnu.org>
10955
10956 * image.el (imagemagick-register-types): Put the ImageMagick entry
10957 at the end of image-type-file-name-regexps.
10958
10959 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10960
10961 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10962 (pcase, pcase-let*, pcase-dolist): Use them.
10963
10964 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10965
10966 * emacs-lisp/pcase.el (pcase--let*): New function.
10967 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10968 (pcase--expand): Use macroexp-let².
10969
10970 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10973 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10974 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10975 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10976 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10977 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10978
10979 2012-06-10 Glenn Morris <rgm@gnu.org>
10980
10981 * mail/rmail.el (rmail-yank-current-message): Leave point at
10982 correct position. (Bug#11660)
10983
10984 2012-06-10 Chong Yidong <cyd@gnu.org>
10985
10986 * allout-widgets.el: Fix code header.
10987
10988 2012-06-10 Chong Yidong <cyd@gnu.org>
10989
10990 * cus-edit.el (customize-changed-options-previous-release):
10991 Bump to 24.1.
10992
10993 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10994
10995 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10996
10997 2012-06-09 Chong Yidong <cyd@gnu.org>
10998
10999 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11000
11001 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11002
11003 * window.el (special-display-popup-frame): Don't use
11004 window--display-buffer (Bug#11651).
11005
11006 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11007
11008 Fix parallel builds: make sure loaddefs.el is not being written
11009 while Lisp files are compiled.
11010 (compile): Don't depend on 'mh-autoloads'.
11011 (compile-CMD, compile-SH): Depend on 'autoloads'.
11012 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11013
11014 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11015
11016 2012-06-09 Chong Yidong <cyd@gnu.org>
11017
11018 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11019 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11020 Doc fixes (Bug#11225).
11021
11022 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11025 a function if there's a clear indication that it has a compiler-macro.
11026 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11027 (macro-declarations-alist): Add arglist to declaration functions.
11028 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11029 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11030 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11031 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11032 Also add autoload to find the compiler macro.
11033 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11034 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11035 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11036 (cl--compiler-macro-get): New functions, replacing calls to
11037 cl-define-compiler-macro.
11038 (cl-typep) [compiler-macro]: Use macroexp-let².
11039
11040 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11041
11042 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11043 string properly, fixes Bug#11473.
11044
11045 2012-06-08 Chong Yidong <cyd@gnu.org>
11046
11047 * faces.el (set-face-attribute): Doc fix.
11048 (modify-face): Don't use :bold and :italic.
11049 (error, warning, success): Tweak definitions.
11050
11051 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11052 (custom-modified, custom-set, custom-changed, custom-themed)
11053 (custom-saved, custom-button, custom-button-mouse)
11054 (custom-button-pressed, custom-state, custom-comment-tag)
11055 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11056 (custom-group-subtitle): Use new-style face specs.
11057 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11058 (custom-set-face, custom-changed-face, custom-saved-face)
11059 (custom-button-face, custom-button-pressed-face)
11060 (custom-documentation-face, custom-state-face)
11061 (custom-comment-face, custom-comment-tag-face)
11062 (custom-variable-tag-face, custom-variable-button-face)
11063 (custom-face-tag-face, custom-group-tag-face-1)
11064 (custom-group-tag-face): Remove obsolete face alias.
11065
11066 * epa.el (epa-validity-high, epa-validity-medium)
11067 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11068 (epa-field-name, epa-field-body):
11069 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11070 (font-lock-keyword-face, font-lock-builtin-face)
11071 (font-lock-function-name-face, font-lock-variable-name-face)
11072 (font-lock-type-face, font-lock-constant-face):
11073 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11074 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11075 * speedbar.el (speedbar-button-face, speedbar-file-face)
11076 (speedbar-directory-face, speedbar-tag-face)
11077 (speedbar-selected-face, speedbar-highlight-face)
11078 (speedbar-separator-face):
11079 * whitespace.el (whitespace-newline, whitespace-space)
11080 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11081 (whitespace-line, whitespace-space-before-tab)
11082 (whitespace-space-after-tab, whitespace-indentation)
11083 (whitespace-empty):
11084 * emulation/cua-base.el (cua-global-mark):
11085 * eshell/em-prompt.el (eshell-prompt):
11086 * net/newst-plainview.el (newsticker-new-item-face)
11087 (newsticker-old-item-face, newsticker-immortal-item-face)
11088 (newsticker-obsolete-item-face, newsticker-date-face)
11089 (newsticker-statistics-face, newsticker-default-face):
11090 * net/newst-reader.el (newsticker-feed-face)
11091 (newsticker-extra-face, newsticker-enclosure-face):
11092 * net/newst-treeview.el (newsticker-treeview-face)
11093 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11094 (newsticker-treeview-immortal-face)
11095 (newsticker-treeview-obsolete-face)
11096 (newsticker-treeview-selection-face):
11097 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11098 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11099 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11100 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11101 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11102 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11103 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11104 (mpuz-text):
11105 * progmodes/vera-mode.el (vera-font-lock-number)
11106 (vera-font-lock-function, vera-font-lock-interface):
11107 * textmodes/table.el (table-cell): Use new-style face specs, and
11108 don't use the old :bold and :italic attributes.
11109
11110 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11111 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11112 (ebrowse-member-class, ebrowse-progress): Likewise.
11113 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11114 (ebrowse-file-name-face, ebrowse-default-face)
11115 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11116 (ebrowse-progress-face): Remove obsolete faces.
11117
11118 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11119 Inherit from error and warning faces respectively.
11120
11121 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11122 Likewise.
11123 (flyspell-incorrect-face, flyspell-duplicate-face):
11124 Remove obsolete aliases.
11125
11126 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11127
11128 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11129 Avoid infloop.
11130
11131 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11132
11133 * startup.el (argv, argi): Make lexically scoped.
11134 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11135 * emacs-lisp/cl-macs.el: Use lexical-binding.
11136 Rename cl-bind-* to cl--bind-*.
11137 * files.el: Don't require `cl' since it doesn't use it.
11138 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11139
11140 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11141
11142 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11143 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11144 instead of calling external sort utility.
11145 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11146
11147 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11148
11149 * descr-text.el (describe-char): Mention how to insert the
11150 character, if the current input method doesn't support it.
11151 See the discussion in this thread for the details:
11152 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11153
11154 2012-06-08 Sam Steingold <sds@gnu.org>
11155
11156 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11157 XF86Back to previous-buffer.
11158 (minibuffer-local-map): Bind them to next-history-element and
11159 previous-history-element respectively.
11160 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11161 help-go-back respectively.
11162 * info.el (Info-mode-map): Bind them to Info-history-forward and
11163 Info-history-back respectively.
11164 These are the keys next to Up on the ThinkPad keyboard.
11165
11166 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11169 * emacs-lisp/cl-macs.el: Provide itself.
11170 (cl--labels-convert-cache): New var.
11171 (cl--labels-convert): New function.
11172 (cl-flet, cl-labels): New implementation with new semantics, relying on
11173 lexical-binding.
11174 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11175 (cl-closure-vars, cl--function-convert-cache)
11176 (cl--function-convert): Move from cl-macs.el.
11177 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11178 rename by removing the "cl-" prefix.
11179 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11180
11181 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11182
11183 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11184 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11185 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11186 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11187 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11188 (cl-hash-table-count): Add old compatibility aliases.
11189
11190 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11191 Use macroexpand-all-environment instead.
11192 (cl--old-macroexpand): New var.
11193 (cl--sm-macroexpand): New function.
11194 (cl-symbol-macrolet): Use it during macro expansion.
11195 (cl--function-convert-cache): New var.
11196 (cl--function-convert): New function, extracted from
11197 cl-macroexpand-all.
11198 (cl-lexical-let): Use it.
11199
11200 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11201 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11202 (cl-member): Remove old alias.
11203
11204 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11205 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11206 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11207 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11208 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11209 (cl-macroexpand-cmacs): Remove var.
11210 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11211 Use macroexpand-all instead.
11212
11213 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11216 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11217 (macroexp-copyable-p): New functions and macros.
11218 * emacs-lisp/edebug.el (edebug-unwrap):
11219 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11220 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11221 (pcase--let*): Remove.
11222 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11223 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11224 macroexp-const-p instead.
11225 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11226
11227 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11228 instead of "cl-" for internal definitions. Use macroexp-const-p.
11229 (cl-old-bc-file-form): Remove var.
11230 (cl-const-exprs-p): Remove fun.
11231 (cl-labels, cl-macrolet): Use backquote.
11232 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11233 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11234 (cl-define-setf-expander): Rename from cl-define-setf-method.
11235 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11236
11237 * international/mule-cmds.el: Don't require CL.
11238 (view-hello-file): Don't use `letf'.
11239
11240 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11241
11242 * tmm.el (tmm-prompt): Use string-prefix-p.
11243 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11244 (tmm-add-prompt): Use minibuffer-completion-help.
11245 (tmm-delete-map): Remove.
11246
11247 * subr.el (kbd): Make it its own function.
11248
11249 2012-06-07 Stefan Merten <smerten@oekonux.de>
11250
11251 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11252 Silence compiler warnings. Fix versions.
11253 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11254 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11255 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11256 (rst-package-emacs-version-alist): Correct Emacs version to
11257 represent major merge with upstream.
11258 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11259
11260 2012-06-06 Glenn Morris <rgm@gnu.org>
11261
11262 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11263 Only print environment variables if set.
11264
11265 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11268 (macroexp--cons): Rename from maybe-cons.
11269 (macroexp--accumulate): Rename from macroexp-accumulate.
11270 (macroexp--all-forms): Rename from macroexpand-all-forms.
11271 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11272 (macroexp--expand-all): Rename from macroexpand-all-1.
11273
11274 2012-06-06 Sam Steingold <sds@gnu.org>
11275
11276 * calendar/calendar.el (calendar-in-read-only-buffer):
11277 Call `special-mode' to enable the standard read-only keybindings.
11278
11279 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11280
11281 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11282 with "loading" messages (bug#11635).
11283
11284 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11285
11286 * files.el (enable-remote-dir-locals): New option.
11287 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11288
11289 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11290 Ensure, that the temp directory is local.
11291
11292 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11293 `temporary-file-directory'.
11294
11295 * progmodes/python.el (python-send-region): Ensure, that the
11296 temporary file is created also in the remote case.
11297
11298 2012-06-06 Glenn Morris <rgm@gnu.org>
11299
11300 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11301 (vc-rcs-update-changelog): Use it.
11302
11303 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11304
11305 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11306 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11307 (vc-sccs-diff): Replace use of the external vcdiff script.
11308
11309 2012-06-05 Glenn Morris <rgm@gnu.org>
11310
11311 * ledit.el: Move to obsolete/.
11312
11313 2012-06-05 Sam Steingold <sds@gnu.org>
11314
11315 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11316 patch (Bug#11140).
11317
11318 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 * emacs-lisp/cust-print.el: Move to obsolete.
11321
11322 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11323 compiler-macro expansion.
11324
11325 Add native compiler-macro support.
11326 * emacs-lisp/macroexp.el (macroexpand-all-1):
11327 Support compiler-macros directly. Properly follow aliases and apply
11328 the compiler macros more thoroughly.
11329 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11330 macroexpand now properly follows aliases.
11331 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11332 (cl-compiler-macroexpand): Use new prop.
11333 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11334
11335 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11336
11337 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11338
11339 * window.el (get-lru-window, get-mru-window, get-largest-window):
11340 New argument NOT-SELECTED to avoid picking the selected window.
11341 (window--display-buffer-1, window--display-buffer-2): Replace by
11342 new function window--display-buffer
11343 (display-buffer-same-window, display-buffer-reuse-window)
11344 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11345 Use window--display-buffer.
11346 (display-buffer-use-some-window): Remove temporary dedication
11347 hack by calling get-lru-window and get-largest-window with
11348 NOT-SELECTED argument non-nil. Call window--display-buffer.
11349
11350 2012-06-05 Glenn Morris <rgm@gnu.org>
11351
11352 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11353 Replace external vcdiff script.
11354
11355 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11356
11357 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11358
11359 2012-06-04 Chong Yidong <cyd@gnu.org>
11360
11361 * image.el (imagemagick-types-inhibit): Revert last change.
11362 Add INFO and M.
11363 (imagemagick-enabled-types): Remove CIN and EPS*.
11364
11365 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11366
11367 * emacs-lisp/cl-lib.el: Rename from cl.el.
11368 * emacs-lisp/cl.el: New compatibility file.
11369 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11370 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11371 to obey the "cl-" prefix.
11372 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11373
11374 2012-06-03 Glenn Morris <rgm@gnu.org>
11375
11376 * emacs-lisp/authors.el (authors-aliases): Addition.
11377
11378 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11379 Fix :version.
11380
11381 2012-06-03 Stefan Merten <smerten@oekonux.de>
11382
11383 * textmodes/rst.el: Add comments.
11384 (rst-transition, rst-adornment): New faces.
11385 (rst-adornment-faces-alist): Make default safe to reevaluate.
11386 Fixes
11387 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11388 Improve customization tags.
11389 (rst-define-level-faces): Clarify meaning.
11390
11391 2012-06-03 Chong Yidong <cyd@gnu.org>
11392
11393 * progmodes/compile.el (compilation-mode-line-fail)
11394 (compilation-mode-line-run, compilation-mode-line-exit):
11395 New faces.
11396 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11397
11398 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11399
11400 * progmodes/which-func.el (which-func-update-ediff-windows):
11401 New function. Use it in ediff-select-hook (Bug#11478).
11402
11403 2012-06-03 Chong Yidong <cyd@gnu.org>
11404
11405 * bindings.el: Remove explicit help text from format-mode-line.
11406 It is now supplied by mode-line-default-help-echo.
11407 (mode-line-front-space, mode-line-end-spaces)
11408 (mode-line-misc-info): New variables.
11409 (mode-line-modes, mode-line-position): Move the default value to
11410 the variable definition.
11411 (mode-line-default-help-echo): New defcustom.
11412 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11413 (mode-line-modified-help-echo): New functions.
11414 (mode-line-mule-info, mode-line-modified): Use them.
11415 (mode-line-eol-desc, propertized-buffer-identification):
11416 Consistency fixes for help text.
11417 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11418 set-buffer-file-coding-system (Bug#289).
11419 (mode-line-mule-info-help-echo): Update help text.
11420
11421 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11422
11423 * simple.el (execute-extended-command): Set real-this-command
11424 (bug#11506).
11425
11426 2012-06-02 Chong Yidong <cyd@gnu.org>
11427
11428 Remove incorrect uses of "modeline" in comments, docstrings, and
11429 function/variable names (Bug#10329).
11430
11431 * cus-edit.el (mode-line):
11432 * dframe.el (dframe-mouse-hscroll):
11433 * emacs-lisp/re-builder.el:
11434 * emacs-lisp/easy-mmode.el (define-minor-mode):
11435 * frame.el (set-frame-name):
11436 * help.el (lookup-minor-mode-from-indicator):
11437 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11438 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11439 (c-toggle-hungry-state):
11440 * progmodes/antlr-mode.el (antlr-language-alist):
11441 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11442 * progmodes/vhdl-mode.el (vhdl-mode):
11443 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11444 * term/ns-win.el (ns-face-at-pos):
11445 * term/sup-mouse.el (sup-mouse-report):
11446 * textmodes/flyspell.el (flyspell-mode-line-string):
11447 * textmodes/ispell.el (ispell-highlight-face):
11448 * textmodes/reftex-global.el:
11449 * vc/vc-arch.el (vc-arch-mode-line-string):
11450 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11451 * vc/vc-git.el (vc-git-mode-line-string):
11452 * vc/vc-hooks.el (vc-display-status)
11453 (vc-default-mode-line-string):
11454 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11455
11456 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11457
11458 * dired.el (dired-sort-set-mode-line): Rename from
11459 dired-sort-set-modeline. All callers changed.
11460
11461 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11462 eshell-status-in-modeline.
11463
11464 * foldout.el (foldout-mode-line-string): Rename from
11465 foldout-modeline-string. All callers changed.
11466 (foldout-update-mode-line): Rename from foldout-update-modeline.
11467
11468 * subr.el (redraw-modeline): Make into obsolete alias.
11469
11470 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11471 timeclock-modeline-display. Make old name an alias.
11472 (timeclock-update-mode-line): Likewise. All callers changed.
11473 (timeclock-mode-line-display): No need to check before using
11474 add-hook.
11475 (timeclock-relative, timeclock-day-over-hook)
11476 (timeclock-use-elapsed, timeclock-mode-string)
11477 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11478
11479 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11480 crisp-mode-modeline-string.
11481
11482 * play/solitaire.el (solitaire-build-mode-line): Rename from
11483 solitaire-build-modeline. All callers changed.
11484
11485 * play/zone.el (zone-hiding-mode-line): Rename from
11486 zone-hiding-modeline. All callers changed.
11487 (zone): Remove unusued `modeline-hidden-level' property.
11488
11489 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11490 xscheme-modeline-initialize. All callers changed.
11491
11492 * strokes.el (strokes-lighter): Rename from
11493 strokes-modeline-string.
11494
11495 * textmodes/sgml-mode.el (html-face-tag-alist)
11496 (html-tag-face-alist): Use mode-line face instead of obsolete
11497 alias modeline.
11498
11499 2012-06-02 Stefan Merten <smerten@oekonux.de>
11500
11501 * textmodes/rst.el: Always require `cl'.
11502 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11503
11504 2012-06-02 Chong Yidong <cyd@gnu.org>
11505
11506 * image.el (imagemagick-enabled-types): Rename from
11507 imagemagick-types-enable. Add many more types.
11508 (imagemagick-types-inhibit): Change default to nil.
11509 (imagemagick-filter-types): Caller changed.
11510
11511 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * emacs-lisp/cl-macs.el: Use backquotes.
11514 (cl-transform-function-property): Use eval-and-compile rather than
11515 abusing `require'.
11516 (defstruct): Use declare-function instead of with-no-warnings.
11517
11518 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11519 (byte-compile-output-docform): Re-add the print-circle bindings.
11520 (byte-compile-fix-header): Use #$ just because it's shorter.
11521 (byte-compile-output-file-form): Remove defun/defmacro.
11522
11523 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11524
11525 * simple.el (choose-completion): Remove now obsolete binding for
11526 owindow.
11527
11528 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11529
11530 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11531 in order to avoid "Stack overflow in regexp matcher".
11532
11533 2012-05-31 Glenn Morris <rgm@gnu.org>
11534
11535 * image.el: For clarity, call imagemagick-register-types at
11536 top-level, rather than relying on a custom :initialize.
11537 (imagemagick-types-enable): New option. (Bug#11557)
11538 (imagemagick-filter-types): New function. (Bug#7406)
11539 (imagemagick-register-types): Use imagemagick-filter-types.
11540 If disabling support, remove elements altogether rather
11541 than using an impossible regexp.
11542 (imagemagick-types-inhibit): Give it the default init function.
11543
11544 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11545
11546 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11547 Handle arbitrary file name lengths (Bug#11585).
11548
11549 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11550
11551 * desktop.el (desktop-read): Clear previous and next buffers for
11552 all windows and bury *Messages* buffer (bug#11556).
11553
11554 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 Add `declare' for `defun'. Align `defmacro's with it.
11557 * emacs-lisp/easy-mmode.el (define-minor-mode)
11558 (define-globalized-minor-mode): Don't autoload the var definitions.
11559 * emacs-lisp/byte-run.el: Use lexical-binding.
11560 (defun-declarations-alist, macro-declarations-alist): New vars.
11561 (defmacro, defun): Use them.
11562 (make-obsolete, define-obsolete-function-alias)
11563 (make-obsolete-variable, define-obsolete-variable-alias):
11564 Use `declare'.
11565 (macro-declaration-function): Mark obsolete.
11566 * emacs-lisp/autoload.el: Use lexical-binding.
11567 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11568
11569 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11570
11571 * textmodes/ispell.el (ispell-with-no-warnings):
11572 Define as a macro.
11573 (ispell-kill-ispell, ispell-change-dictionary):
11574 Use `called-interactively-p' for Emacs instead of obsolete
11575 `interactive-p'.
11576
11577 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11578
11579 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11580 (macro-declaration-function): Move var from C code.
11581 (macro-declaration-function): Define function with defalias.
11582 * emacs-lisp/macroexp.el (macroexpand-all-1):
11583 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11584 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11585 defun/defmacro any more.
11586 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11587 Provide fallback for unknown arglist.
11588 (byte-compile-arglist-warn): Change calling convention.
11589 (byte-compile-output-file-form): Move print-vars binding.
11590 (byte-compile-output-docform): Simplify accordingly.
11591 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11592 (byte-compile-defmacro-declaration): Remove.
11593 (byte-compile-file-form-defmumble): Generalize to defalias.
11594 (byte-compile-output-as-comment): Return byte-positions.
11595 Simplify callers accordingly.
11596 (byte-compile-lambda): Use `assert'.
11597 (byte-compile-defun, byte-compile-defmacro): Remove.
11598 (byte-compile-file-form-defalias):
11599 Use byte-compile-file-form-defmumble.
11600 (byte-compile-defalias-warn): Remove.
11601
11602 2012-05-29 Stefan Merten <smerten@oekonux.de>
11603
11604 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11605 possible. Fix authors. Improve comments. Improve loading of `cl'.
11606
11607 (rst-mode-abbrev-table): Merge definition.
11608 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11609 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11610
11611 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11612
11613 * calendar/icalendar.el
11614 (icalendar-export-region): Export UID properly.
11615
11616 2012-05-29 Leo Liu <sdl.web@gmail.com>
11617 * calendar/icalendar.el (icalendar-import-format):
11618 Add `icalendar-import-format-uid' (Bug#11525).
11619 (icalendar-import-format-uid): New.
11620 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11621 Export UID.
11622
11623 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11624
11625 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11626 different alternative patterns.
11627 (pcase-codegen): Be more careful to preserve identity.
11628 (pcase--u1): Don't forget to mark vars as used.
11629
11630 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11631 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11632 (byte-compile-from-buffer): ...rather than here.
11633
11634 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11635 functions from byte-compile-function-environment.
11636
11637 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11638
11639 * window.el (window-deletable-p): Avoid deleting the root window
11640 of a frame with an active minibuffer.
11641
11642 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11643
11644 * simple.el (choose-completion): Use quit-window (Bug#11567).
11645
11646 2012-05-29 Chong Yidong <cyd@gnu.org>
11647
11648 * whitespace.el (whitespace-cleanup): Fix usage of
11649 whitespace-empty-at-bob-regexp (Bug#11492).
11650
11651 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11652
11653 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11654 revert (Bug#11488).
11655
11656 2012-05-29 Juri Linkov <juri@jurta.org>
11657
11658 * isearch.el (isearch-mode-map): Bind `M-s _' to
11659 `isearch-toggle-symbol'. Bind `M-s c' to
11660 `isearch-toggle-case-fold'.
11661 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11662 (isearch-forward): Add `M-s _' to the docstring.
11663 (isearch-forward-symbol, isearch-toggle-case-fold)
11664 (isearch-symbol-regexp): New functions. (Bug#11381)
11665
11666 2012-05-29 Juri Linkov <juri@jurta.org>
11667
11668 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11669 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11670 a function, call it to get the regexp.
11671 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11672 property `isearch-message-prefix' instead of the string "word ".
11673 (isearch-search-fun-default): For the case of `isearch-word',
11674 return a lambda that calls re-search-forward/re-search-backward
11675 with a regexp returned by `word-search-regexp' or by the function
11676 in `isearch-word'.
11677
11678 2012-05-29 Juri Linkov <juri@jurta.org>
11679
11680 * isearch.el (isearch-search-fun-default): New function.
11681 (isearch-search-fun): Move default part to the new function
11682 `isearch-search-fun-default'.
11683 (isearch-search-fun-function): Set the default value to
11684 `isearch-search-fun-default'. (Bug#11381)
11685
11686 * comint.el (comint-history-isearch-end):
11687 Use `isearch-search-fun-default'.
11688 (comint-history-isearch-search): Use `isearch-search-fun-default'
11689 and remove spacial case for `isearch-word'.
11690 (comint-history-isearch-wrap): Remove spacial case for
11691 `isearch-word'.
11692
11693 * hexl.el (hexl-isearch-search-function):
11694 Use `isearch-search-fun-default'.
11695
11696 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11697 Use `word-search-regexp' for `isearch-word'.
11698
11699 * misearch.el (multi-isearch-search-fun):
11700 Use `isearch-search-fun-default'.
11701
11702 * simple.el (minibuffer-history-isearch-search):
11703 Use `isearch-search-fun-default' and remove spacial case for
11704 `isearch-word'.
11705 (minibuffer-history-isearch-wrap): Remove spacial case for
11706 `isearch-word'.
11707
11708 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11709 Remove spacial case for `isearch-word'.
11710 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11711
11712 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11713
11714 Decrease XEmacs incompatibilities.
11715 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11716 Use `string-match'.
11717 (flyspell-delete-region-overlays): Use alternative definition for
11718 XEmacs.
11719 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11720 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11721 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11722 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11723 `define-obsolete-face-alias' under XEmacs, but old method.
11724
11725 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11726 `with-no-warnings' definition or Emacs alias.
11727 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11728 (ispell-word): Do not use `region-p' if XEmacs.
11729
11730 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11731
11732 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11733 Check for `ispell-dictionary-base-alist' instead of full
11734 `ispell-dictionary-alist'.
11735 (ispell-init-process): Show spellchecker when starting new Ispell
11736 process.
11737
11738 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11739
11740 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11741 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11742
11743 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11744
11745 * version.el (motif-version-string, gtk-version-string)
11746 (ns-version-string): Declare.
11747
11748 2012-05-27 Juri Linkov <juri@jurta.org>
11749
11750 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11751 after the `eval-defun-1' specialcaseing
11752 like in `edebug-eval-defun' (bug#10181).
11753
11754 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11755 like in `eval-defun-1'.
11756
11757 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11758
11759 * mail/sendmail.el (mail-yank-region):
11760 Recognize rmail-yank-current-message in addition to insert-buffer.
11761 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11762 a *mail* buffer created through rmail-start-mail with sendmail as
11763 mail-user-agent.
11764
11765 2012-05-27 Chong Yidong <cyd@gnu.org>
11766
11767 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11768 Default to 256 (Bug#11267).
11769
11770 * help.el (describe-mode): Doc fix.
11771
11772 2012-05-26 Glenn Morris <rgm@gnu.org>
11773
11774 * w32-fns.el (w32-init-info): Remove.
11775 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11776
11777 * info.el (info-initialize): For self-contained NS builds, put the
11778 included info/ directory at the front. (Bug#2791)
11779
11780 * paths.el (Info-default-directory-list): Make it a defcustom,
11781 mainly so that we can use custom-initialize-delay.
11782
11783 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 * subr.el (buffer-has-markers-at): Mark obsolete.
11786
11787 * subr.el (lambda): Use declare.
11788
11789 * emacs-lisp/lisp-mode.el (lambda):
11790 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11791
11792 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11793
11794 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11795
11796 2012-05-26 Glenn Morris <rgm@gnu.org>
11797
11798 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11799
11800 2012-05-25 Glenn Morris <rgm@gnu.org>
11801
11802 * paths.el: Remove no-byte-compile.
11803 * loadup.el: No need to load paths.el uncompiled.
11804
11805 * image.el (imagemagick-types-inhibit): Doc fix.
11806
11807 * version.el: Remove no-byte-compile and associated formatting.
11808 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11809 is ancient code from when there was an "inc-vers.el".
11810
11811 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 * progmodes/gdb-mi.el: Minor style changes.
11814 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11815 Turn into minor modes.
11816 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11817 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11818 (gdb-shell): Remove unneeded let-binding.
11819 (gdb-get-many-fields): Eliminate O(n²) behavior.
11820
11821 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11822
11823 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11824 platforms that don't link in fontset.c.
11825
11826 2012-05-25 Juri Linkov <juri@jurta.org>
11827
11828 Use the same diff color scheme as in modern VCSes (bug#10181).
11829
11830 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11831 to avoid confusion with `diff-added' that now uses green colors.
11832 (diff-removed): Use shades of red.
11833 (diff-added): Use shades of green.
11834 (diff-changed): Leave just the yellow color.
11835 (diff-use-changed-face): New variable.
11836 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11837 how to highlight context diff changes.
11838 (diff-refine-change): Use shades of yellow.
11839 (diff-refine-removed): New face that uses shades of red.
11840 (diff-refine-added): New face that uses shades of green.
11841 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11842 `diff-refine-removed' in the call to `smerge-refine-subst'
11843 depending on the value of `diff-use-changed-face'.
11844
11845 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11846 (smerge-other): Use shades of green.
11847 (smerge-base): Use shades of yellow.
11848 (smerge-refined-change): Empty face.
11849 (smerge-refined-removed): New face that uses shades of red.
11850 (smerge-refined-added): New face that uses shades of green.
11851 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11852 args `props-r' and `props-a', and use them. Doc fix.
11853 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11854 on its value use different faces `smerge-refined-change',
11855 `smerge-refined-removed', `smerge-refined-added' in the call to
11856 `smerge-refine-subst'.
11857
11858 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11859 Add face condition `min-colors 88' with shades of red.
11860 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11861 `min-colors 88' with shades of green.
11862 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11863 `min-colors 88' with shades of yellow.
11864
11865 2012-05-24 Glenn Morris <rgm@gnu.org>
11866
11867 * paths.el (prune-directory-list, remote-shell-program): Move to...
11868 * files.el (prune-directory-list, remote-shell-program): ...here.
11869 For the latter, delay initialization, prefer ssh, just search PATH.
11870
11871 * paths.el (term-file-prefix): Move to faces.el (the only user).
11872 * faces.el (term-file-prefix): Move here, make it a defcustom.
11873
11874 * paths.el (news-directory, news-path, news-inews-program):
11875 Move to gnus/nnspool.el.
11876
11877 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11878
11879 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11880 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11881 Make the latter a defcustom, with a delayed initialization.
11882
11883 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11884 These were deleted from Gnus itself late 2010.
11885
11886 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11887
11888 * progmodes/which-func.el (which-func-ff-hook):
11889 Check against user-error, not error.
11890
11891 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11892 cl-specs.el, which no longer exists.
11893
11894 2012-05-22 Glenn Morris <rgm@gnu.org>
11895
11896 * info.el (info-emacs-bug): New command.
11897 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11898 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11899
11900 2012-05-21 Glenn Morris <rgm@gnu.org>
11901
11902 * makefile.w32-in (update-subdirs-SH):
11903 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11904
11905 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11906
11907 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11908
11909 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11910 Simplify Maven regexp, and make sure the file can't start with a space
11911 (bug#11517).
11912
11913 2012-05-21 Glenn Morris <rgm@gnu.org>
11914
11915 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11916 Scrap superfluous subshells.
11917
11918 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11921 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11922
11923 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11924
11925 * calc/calc.el (calc-ensure-consistent-units): New variable.
11926
11927 * calc/calc-units.el (math-consistent-units-p)
11928 (math-check-unit-consistency): New functions.
11929 (calc-quick-units, calc-convert-units):
11930 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11931 is non-nil.
11932 (calc-extract-units): Fix typo.
11933
11934 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11937
11938 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11939 (flyspell-default-deplacement-commands): Don't spell check after
11940 repeated window/frame switches (e.g. triggered by mouse-movement).
11941 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11942 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11943 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11944 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11945 Remove unused vars.
11946 (flyspell-get-casechars, flyspell-get-not-casechars):
11947 Simplify; Don't bother removing a ] just to add it back.
11948 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11949
11950 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11951
11952 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11953 New functions.
11954 (math-function-table): Add support for more C functions.
11955
11956 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11957
11958 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11959 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11960 Protect delay handling for otherchars against empty otherchars.
11961
11962 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11963
11964 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11965 their respective macro declarations.
11966 * skeleton.el (define-skeleton):
11967 * progmodes/compile.el (define-compilation-mode):
11968 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11969 (define-ibuffer-filter):
11970 * emacs-lisp/generic.el (define-generic-mode):
11971 * emacs-lisp/easy-mmode.el (define-minor-mode)
11972 (define-globalized-minor-mode):
11973 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11974 * emacs-lisp/byte-run.el (defsubst):
11975 * custom.el (deftheme): Add doc-string metadata.
11976
11977 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11980
11981 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11982
11983 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11984
11985 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11986 * emacs-lisp/cl-macs.el: Idem.
11987 * emacs-lisp/cl-specs.el: Remove.
11988
11989 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 Minor renaming of internal CL functions and variables.
11992 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11993 (cl--position): Rename from cl-position.
11994 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11995 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11996 (cl--random-state): Rename from *random-state*.
11997
11998 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11999
12000 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12001 parens around the arg list (bug#11499).
12002
12003 2012-05-17 Juri Linkov <juri@jurta.org>
12004
12005 * isearch.el (word-search-regexp, word-search-backward)
12006 (word-search-forward, word-search-backward-lax)
12007 (word-search-forward-lax): Move functions from search.c
12008 (bug#10145, bug#11381).
12009
12010 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12011
12012 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12013 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12014 Delay for otherchars as for normal word components.
12015
12016 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * minibuffer.el (completion--sifn-requote): Fix last change.
12019 (minibuffer-local-must-match-filename-map):
12020 Move define-obsolete-variable-alias before its var.
12021
12022 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12023
12024 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12025
12026 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12027 behavior.
12028 (completion--string-equal-p): New function.
12029 (completion--twq-all): Use it to get better assertion failure data.
12030
12031 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12032 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12033 (shell--requote-argument): New functions.
12034 (shell-completion-vars): Use them.
12035 (shell--parse-pcomplete-arguments): Rename from
12036 shell-parse-pcomplete-arguments.
12037 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12038 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12039 Obey comint-file-name-quote-list.
12040
12041 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12042 (smie-indent-keyword): Use it.
12043
12044 2012-05-14 Stefan Merten <smerten@oekonux.de>
12045
12046 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12047
12048 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * net/rlogin.el (rlogin-mode-map): Fix last change.
12051
12052 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12053
12054 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12055 the following \r\n using a single `process-send-string', since the
12056 Lotus SMTP server refuses to accept any commands if they are sent
12057 with two `process-send-string's (Bug#11444).
12058
12059 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * shell.el (shell-parse-pcomplete-arguments):
12062 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12063
12064 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12065
12066 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12067 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12068 (image-transform-width, image-transform-fit-width): New functions.
12069 (image-transform-properties): Use them.
12070 (image-transform-check-size): New function.
12071 (image-toggle-display-image): Use it (for testing).
12072 (image-transform-set-rotation): Reduce angle mod 360.
12073 Delete obsolete comment.
12074
12075 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12076
12077 * image-mode.el: Fix scaling (bug#11399).
12078 (image-transform-resize): Doc fix.
12079 (image-transform-properties): Default scale is 1 and height should
12080 be an integer.
12081
12082 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12083
12084 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12085 than hard-coding `car', to fix misbehavior when moving forward.
12086
12087 2012-05-13 Chong Yidong <cyd@gnu.org>
12088
12089 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12090 (tabulated-list-entries, tabulated-list-padding)
12091 (tabulated-list-sort-key): Make permanent-local.
12092
12093 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12094 (electric-buffer-list): Put electric buffer menu
12095 command descriptions in this docstring, instead of the docstring
12096 of electric-buffer-menu-mode. Code cleanups.
12097 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12098 Electric-buffer-menu-mode.
12099 (electric-buffer-update-highlight): Minor code cleanup.
12100
12101 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12102
12103 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12104 (Bug#11447)
12105
12106 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 Move define-obsolete-variable-alias before the var's definition.
12109 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12110 * tooltip.el (tooltip-hook):
12111 * textmodes/reftex-toc.el (reftex-toc-map):
12112 * textmodes/reftex-sel.el (reftex-select-label-map)
12113 (reftex-select-bib-map):
12114 * textmodes/reftex-index.el (reftex-index-map)
12115 (reftex-index-phrases-map):
12116 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12117 * progmodes/meta-mode.el (meta-mode-map):
12118 * novice.el (disabled-command-hook):
12119 * loadhist.el (unload-hook-features-list):
12120 * frame.el (blink-cursor):
12121 * files.el (find-file-not-found-hooks, write-file-hooks)
12122 (write-contents-hooks):
12123 * emulation/tpu-edt.el (GOLD-map):
12124 * emacs-lock.el (emacs-lock-from-exiting):
12125 * emacs-lisp/generic.el (generic-font-lock-defaults):
12126 * emacs-lisp/chart.el (chart-map):
12127 * dos-fns.el (register-name-alist):
12128 * dired-x.el (dired-omit-files-p):
12129 * desktop.el (desktop-enable):
12130 * cus-edit.el (custom-mode-hook):
12131 * buff-menu.el (buffer-menu-mode-hook):
12132 * bookmark.el (bookmark-read-annotation-text-func)
12133 (bookmark-exit-hooks):
12134 * allout.el (allout-mode-deactivate-hook)
12135 (allout-exposure-change-hook, allout-structure-added-hook)
12136 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12137 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12138 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12139 comes before the corresponding variable's definition.
12140
12141 2012-05-12 Chong Yidong <cyd@gnu.org>
12142
12143 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12144 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12145 (Buffer-menu-mode-map): Bind it.
12146 (Buffer-menu--pretty-name): Add a mouse-face property.
12147
12148 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12151 (prolog-upper-case-string, prolog-lower-case-string)
12152 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12153 (prolog-use-smie, prolog-smie-grammar): New vars.
12154 (prolog-smie-forward-token, prolog-smie-backward-token)
12155 (prolog-smie-rules): New funs.
12156 (prolog-comment-indent): Remove.
12157 (prolog-mode-variables): Use default comment indentation instead.
12158 Setup SMIE.
12159 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12160 (prolog-mode): Don't call them any more.
12161 (prolog-electric-colon, prolog-electric-dash)
12162 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12163
12164 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12165
12166 * minibuffer.el (completion--twq-all): Again, allow case differences.
12167
12168 * term.el: Move keymap initialization code to be more idiomatic.
12169 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12170 (term-terminal-menu): Move initialization into declaration.
12171 (term-escape-char): Let the user set it in her .emacs.
12172
12173 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12174 Provide SMIE-based indentation (not enabled by default yet).
12175 (sh-mode-map): Don't bind electric keys.
12176 Use electric-pair-mode instead of skeleton-pair.
12177 (sh-assignment-regexp): Fit within 80 columns.
12178 (sh-indent-supported): Specify actual shell name instead of boolean.
12179 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12180 (sh-maybe-here-document): Use it. Make obsolete.
12181 (sh-electric-here-document-mode) New minor mode.
12182 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12183 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12184 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12185 (sh-smie-rc-grammar, sh-use-smie): New vars.
12186 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12187 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12188 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12189 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12190 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12191 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12192 (sh-set-shell): Use smie-setup if requested.
12193
12194 * term.el (term-set-escape-char): Properly set term-escape-char.
12195 See http://stackoverflow.com/questions/10524656.
12196
12197 2012-05-10 Chong Yidong <cyd@gnu.org>
12198
12199 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12200 Use url-generic-parse-url, and handle host names and Windows
12201 filenames properly.
12202 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12203 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12204 URL schemes to work on.
12205 (ffap--toggle-read-only): New function.
12206 (ffap-read-only, ffap-read-only-other-window)
12207 (ffap-read-only-other-frame): Use it.
12208 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12209 necessary for ffap-url-unwrap-remote.
12210
12211 2012-05-10 Dave Abrahams <dave@boostpro.com>
12212
12213 * cus-start.el (create-lockfiles): Add it.
12214
12215 2012-05-09 Chong Yidong <cyd@gnu.org>
12216
12217 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12218 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12219
12220 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12221
12222 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12223
12224 2012-05-09 Chong Yidong <cyd@gnu.org>
12225
12226 * ansi-color.el (ansi-color-process-output): Check for validity of
12227 comint-last-output-start before using it. This avoids a bad
12228 interaction with gdb-mi's input/output buffer.
12229
12230 2012-05-09 Glenn Morris <rgm@gnu.org>
12231
12232 * files.el (dir-locals-read-from-file):
12233 Mention dir-locals in any error message.
12234
12235 2012-05-09 Chong Yidong <cyd@gnu.org>
12236
12237 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12238 package (Bug#11410).
12239
12240 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12241 variables into description.
12242
12243 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12244
12245 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12246 shell-delimiter-argument-list (bug#11348).
12247 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12248
12249 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12250
12251 * textmodes/rst.el: Silence byte-compiler warnings.
12252 (rst-re-alist, rst-reset-section-caches): Move around.
12253 (rst-re): Use `characterp', not `char-valid-p'.
12254 (font-lock-beg, font-lock-end): Declare.
12255
12256 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12257 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12258
12259 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12260
12261 2012-05-08 Glenn Morris <rgm@gnu.org>
12262
12263 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12264
12265 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * vc/log-edit.el: Add GNU coding standards highlighting.
12268 (log-edit-font-lock-gnu-style)
12269 (log-edit-font-lock-gnu-keywords): New vars.
12270 (log-edit-font-lock-keywords): New fun.
12271 (log-edit-mode): Don't fold case in font-lock.
12272 (log-edit-font-lock-keywords): Do not assume case-folding.
12273
12274 * imenu.el: Misc cleanup. Make docstrings out of comments.
12275 Use lexical-binding.
12276 (imenu--index-alist, imenu--last-menubar-index-alist)
12277 (imenu-menubar-modified-tick): Use defvar-local.
12278 (imenu--split-menu): Remove unused var.
12279 (imenu--cleanup-seen): Declare as global.
12280 (imenu--cleanup): Use dolist.
12281
12282 * subr.el (defvar-local): Add debug spec and doc-string position.
12283
12284 2012-05-08 Glenn Morris <rgm@gnu.org>
12285
12286 * language/burmese.el, language/cham.el, language/czech.el:
12287 * language/english.el, language/georgian.el, language/greek.el:
12288 * language/japanese.el, language/khmer.el, language/korean.el:
12289 * language/lao.el, language/misc-lang.el, language/romanian.el:
12290 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12291 * language/thai.el, language/utf-8-lang.el:
12292 Remove no-byte-compile setting.
12293
12294 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12295
12296 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12297
12298 * progmodes/make-mode.el (makefile-browse):
12299 Remove unnecessary interactive. (Bug#11324)
12300
12301 2012-05-07 Glenn Morris <rgm@gnu.org>
12302
12303 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12304
12305 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12306
12307 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12308
12309 * loadup.el: Preload newcomment.el.
12310 * newcomment.el: Move autoload-only code to toplevel.
12311
12312 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12313 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12314 Handle new :right-align column property.
12315 (tabulated-list-print-col): Idem, plus use `display' text-property to
12316 try and preserve alignment for variable pitch fonts.
12317
12318 2012-05-07 Chong Yidong <cyd@gnu.org>
12319
12320 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12321 (tabulated-list-use-header-line): New var.
12322 (tabulated-list-init-header): Use it.
12323 (tabulated-list-print-fake-header): New function.
12324 (tabulated-list-print): Use it.
12325 (tabulated-list-sort-button-map): Add non-header-line commands.
12326 (tabulated-list-init-header): Add column name property to basic
12327 labels as well.
12328 (tabulated-list-col-sort): Handle non-header-line button case.
12329 (tabulated-list--sort-by-column-name): Fix a corner case.
12330
12331 * buff-menu.el (list-buffers--refresh):
12332 Handle Buffer-menu-use-header-line.
12333
12334 2012-05-06 Chong Yidong <cyd@gnu.org>
12335
12336 * buff-menu.el: Convert to Tabulated List mode.
12337 (Buffer-menu-buffer+size-width): Make obsolete.
12338 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12339 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12340 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12341 documentation into docstring of buffer-menu.
12342 (Buffer-menu-toggle-files-only): Add an informative message.
12343 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12344 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12345 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12346 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12347 (Buffer-menu-execute, Buffer-menu-select)
12348 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12349 (Buffer-menu-bury): Use Tabulated List machinery.
12350 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12351 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12352 Delete.
12353 (list-buffers--refresh): New function.
12354 (list-buffers-noselect): Use it.
12355 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12356 (Buffer-menu--pretty-file-name): New helper functions.
12357
12358 * loadup.el: Preload tabulated-list.
12359
12360 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12361 tabulated-list-sort-column.
12362 (tabulated-list-init-header): Add the initial aligning space even
12363 if tabulated-list-padding is zero.
12364
12365 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12366
12367 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12368 whose cdr is not a cons cell correctly (bug#11038).
12369
12370 2012-05-06 Chong Yidong <cyd@gnu.org>
12371
12372 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12373 Accept additional plist in column descriptors.
12374 (tabulated-list-init-header): Obey it.
12375 (tabulated-list-get-entry): New function.
12376 (tabulated-list-put-tag): Use it. Use string-width instead of
12377 length.
12378 (tabulated-list--column-number): New function.
12379 (tabulated-list-print): Use it.
12380 (tabulated-list-print-col): New function.
12381 Set `tabulated-list-column-name' property on each column's text.
12382 (tabulated-list-print-entry): Use it.
12383 (tabulated-list-delete-entry, tabulated-list-set-col):
12384 New functions.
12385 (tabulated-list-sort-column): New command (Bug#11337).
12386
12387 * buff-menu.el (list-buffers): Move C-x C-b binding from
12388 buff-menu.el to bindings.el.
12389
12390 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12391 :advertised-binding feature.
12392
12393 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12394
12395 * progmodes/compile.el (compilation-internal-error-properties):
12396 Calculate start position correctly when end-col is set but
12397 end-line is not (Bug#11382).
12398
12399 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12400
12401 * man.el (Man-unindent): Use text-property-default-nonsticky to
12402 prevent untabify from inheriting face properties (Bug#11408).
12403
12404 2012-05-05 Stefan Merten <smerten@oekonux.de>
12405
12406 * textmodes/rst.el: Major merge with upstream development up to
12407 Docutils SVN r7399 / rst.el V1.2.1.
12408
12409 Clarify maintainership and authors.
12410
12411 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12412 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12413 (rst-official-version, rst-official-cvs-rev, rst-version)
12414 (rst-package-emacs-version-alist): New functions and variables
12415 for version information.
12416
12417 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12418 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12419 (rst-mode-syntax-table, rst-mode): New and corrected functions
12420 and variables representing reStructuredText features.
12421
12422 (rst-re): New function for reStructuredText regexes. Use in
12423 many places.
12424
12425 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12426 (rst-mode-map): Rebind keys.
12427
12428 (rst-mode-lazy, rst-font-lock-keywords)
12429 (rst-font-lock-extend-region)
12430 (rst-font-lock-extend-region-internal)
12431 (rst-font-lock-extend-region-extend)
12432 (rst-font-lock-find-unindented-line-limit)
12433 (rst-font-lock-find-unindented-line-match)
12434 (rst-adornment-level, rst-font-lock-adornment-level)
12435 (rst-font-lock-adornment-match)
12436 (rst-font-lock-handle-adornment-pre-match-form)
12437 (rst-font-lock-handle-adornment-matcher): Major revision of
12438 font-locking. Integrate with other code. Use `jit-lock-mode'.
12439
12440 (rst-preferred-adornments, rst-adjust-hook)
12441 (rst-new-adornment-down, rst-preferred-bullets)
12442 (rst-preferred-bullets, rst-indent, rst-indent-width)
12443 (rst-indent-field, rst-indent-literal-normal)
12444 (rst-indent-literal-minimized, rst-indent-comment): Change,
12445 extend and improve customization.
12446
12447 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12448 (rst-normalize-cursor-position, rst-get-decoration)
12449 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12450 (rst-rstrip, rst-toc-insert-find-delete-contents)
12451 (rst-shift-fill-region, rst-compute-bullet-tabs)
12452 (rst-debug-print-tabs, rst-debug-mark-found)
12453 (rst-shift-region-guts, rst-shift-region-right)
12454 (rst-shift-region-left, rst-use-char-classes)
12455 (rst-font-lock-keywords-function)
12456 (rst-font-lock-indentation-point)
12457 (rst-font-lock-find-unindented-line-begin)
12458 (rst-font-lock-find-unindented-line-end)
12459 (rst-font-lock-find-unindented-line)
12460 (rst-font-lock-adornment-point, rst-font-lock-level)
12461 (rst-adornment-level-alist): Remove functions and variables.
12462
12463 (rst-compare-adornments, rst-get-adornment-match)
12464 (rst-suggest-new-adornment, rst-get-adornments-around)
12465 (rst-adornment-complete-p, rst-get-next-adornment)
12466 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12467 (rst-straighten-adornments): Standardize function names to
12468 use "adornment" instead of "decoration". Correct callers.
12469 Similar standardizing in many places.
12470
12471 (rst-update-section, rst-adjust, rst-promote-region)
12472 (rst-enumerate-region, rst-bullet-list-region)
12473 (rst-repeat-last-character): Correct use of `interactive'.
12474
12475 (rst-classify-adornment, rst-find-all-adornments)
12476 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12477 (rst-find-leftmost-column, rst-repeat-last-character):
12478 Refactor functions.
12479
12480 (rst-find-title-line, rst-reset-section-caches)
12481 (rst-get-adornments-around, rst-adjust-adornment-work)
12482 (rst-arabic-to-roman, rst-roman-to-arabic)
12483 (rst-insert-list-pos, rst-insert-list-new-item)
12484 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12485 New functions.
12486
12487 (rst-all-sections, rst-section-hierarchy)
12488 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12489 New variables.
12490
12491 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12492 configuration instead of only buffer. Change where necessary.
12493
12494 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12495 (rst-shift-region, rst-adaptive-fill): New functions for
12496 indentation and filling.
12497
12498 (rst-comment-line-break, rst-comment-indent)
12499 (rst-comment-insert-comment, rst-comment-region)
12500 (rst-uncomment-region): New functions for handling comments.
12501
12502 (rst-compile): Quote shell arguments.
12503
12504 (rst-compile-pdf-preview, rst-compile-slides-preview):
12505 Delete temporary files after use.
12506
12507 2012-05-05 Glenn Morris <rgm@gnu.org>
12508
12509 * calendar/cal-html.el: Optionally include holidays in the output.
12510 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12511 (cal-html-holidays): New option.
12512 (cal-html-css-default): Add holiday entry.
12513 (holiday-in-range): Autoload it.
12514 (cal-html-htmlify-entry): Add optional class argument.
12515 (cal-html-htmlify-list): Add optional holidays argument.
12516 (cal-html-insert-agenda-days): Include holidays in the output.
12517 (cal-html-one-month): Maybe include holidays.
12518
12519 * calendar/holidays.el (holiday-in-range):
12520 Move here from cal-tex-list-holidays.
12521 * calendar/cal-tex.el (cal-tex-list-holidays):
12522 Make it an obsolete alias for holiday-in-range. Update all callers.
12523
12524 2012-05-05 Chong Yidong <cyd@gnu.org>
12525
12526 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12527 Nextstep.
12528
12529 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12530
12531 * files.el (file-auto-mode-skip): New var.
12532 (set-auto-mode-1): Use it.
12533
12534 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12535
12536 * repeat.el: Use lexical-binding.
12537 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12538 (repeat-undo-count): Remove.
12539 (repeat):
12540 * progmodes/octave-mod.el (octave-abbrev-start):
12541 * progmodes/f90.el (f90-abbrev-start):
12542 * face-remap.el (text-scale-adjust):
12543 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12544
12545 * emacs-lisp/pcase.el (pcase--let*): New function.
12546 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12547 a bit more.
12548 (pcase--split-pred): Be more clever about ruling out overlap between
12549 a predicate and some constant pattern.
12550 (pcase--q1): Use `null' instead of (eq foo nil).
12551
12552 * subr.el (setq-local, defvar-local): New macros.
12553 (kbd): Redefine as an alias.
12554 (with-selected-window): Leave unrelated frames alone.
12555 (set-temporary-overlay-map): New function.
12556
12557 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12558
12559 * subr.el (user-error): New function.
12560 * window.el (switch-to-buffer):
12561 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12562 (smerge-match-conflict):
12563 * simple.el (previous-matching-history-element)
12564 (next-matching-history-element, goto-history-element, undo-more)
12565 (undo-start):
12566 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12567 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12568 (next-file, tags-loop-scan, list-tags, complete-tag):
12569 * progmodes/compile.el (compilation-loop):
12570 * mouse.el (mouse-minibuffer-check):
12571 * man.el (Man-bgproc-sentinel, Man-goto-page):
12572 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12573 (Info-history-forward, Info-follow-reference, Info-menu)
12574 (Info-extract-menu-item, Info-extract-menu-counting)
12575 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12576 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12577 (Info-next-reference, Info-prev-reference, Info-index)
12578 (Info-index-next, Info-follow-nearest-node)
12579 (Info-copy-current-node-name):
12580 * imenu.el (imenu--make-index-alist)
12581 (imenu-default-create-index-function, imenu-add-to-menubar):
12582 * files.el (basic-save-buffer, recover-file):
12583 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12584 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12585 (checkdoc-message-text, checkdoc-defun):
12586 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12587 * cus-edit.el (customize-changed-options, customize-rogue)
12588 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12589 (custom-variable-mark-to-reset-standard)
12590 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12591 (custom-file):
12592 * completion.el (check-completion-length):
12593 * comint.el (comint-search-arg)
12594 (comint-previous-matching-input-string-position)
12595 (comint-previous-matching-input)
12596 (comint-replace-by-expanded-history-before-point, comint-send-input)
12597 (comint-copy-old-input, comint-backward-matching-input)
12598 (comint-goto-process-mark, comint-set-process-mark):
12599 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12600 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12601
12602 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12603
12604 * dabbrev.el (dabbrev--ignore-case-p): New function.
12605 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12606 Use it.
12607
12608 * files.el (automount-dir-prefix): Mark as obsolete.
12609
12610 2012-05-04 Glenn Morris <rgm@gnu.org>
12611
12612 * patcomp.el, play/bruce.el: Move to obsolete/.
12613
12614 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12615
12616 Fix minor Y10k bugs.
12617 * arc-mode.el (archive-unixdate):
12618 * autoinsert.el (auto-insert-alist):
12619 * calc/calc-forms.el (math-this-year):
12620 * emacs-lisp/copyright.el (copyright-current-year)
12621 (copyright-update-year, copyright):
12622 * tar-mode.el (tar-clip-time-string):
12623 * time.el (display-time-update):
12624 Don't assume years have 4 digits.
12625
12626 2012-05-04 Chong Yidong <cyd@gnu.org>
12627
12628 * dos-w32.el (file-name-buffer-file-type-alist)
12629 (direct-print-region-use-command-dot-com):
12630 * ffap.el (ffap-menu-regexp):
12631 * find-file.el (ff-special-constructs):
12632 * follow.el (follow-debug):
12633 * forms.el (forms--debug):
12634 * iswitchb.el (iswitchb-all-frames):
12635 * ido.el (ido-all-frames):
12636 * emacs-lisp/timer.el (timer-max-repeats):
12637 * mail/feedmail.el (feedmail-mail-send-hook)
12638 (feedmail-mail-send-hook-queued):
12639 * mail/footnote.el (footnote-signature-separator):
12640 * mail/mailabbrev.el (mail-alias-separator-string)
12641 (mail-abbrev-mode-regexp):
12642 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12643 * progmodes/idlwave.el (idlwave-libinfo-file)
12644 (idlwave-default-completion-case-is-down)
12645 (idlwave-library-routines): Convert defvars to defcustoms.
12646
12647 * mail/rmail.el (rmail-decode-mime-charset):
12648 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12649 (idlwave-shell-fix-inserted-breaks)
12650 (idlwave-shell-activate-alt-keybindings)
12651 (idlwave-shell-use-breakpoint-glyph):
12652 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12653
12654 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12655
12656 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12657
12658 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12659
12660 * progmodes/verilog-mode.el (font-lock-keywords):
12661 Fix mis-highligting auto. Reported by Craig Barner.
12662 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12663 defines from global name space. Reported by Dan Dever.
12664 (verilog-auto-reset, verilog-auto-reset-widths)
12665 (verilog-auto-tieoff): Support using unbased numbers for
12666 AUTORESET and AUTOTIEOFF.
12667 (verilog-submit-bug-report): Update variable list.
12668 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12669 parenthesis from not matching. Reported by Michael Rytting.
12670 (verilog-auto-template-lint): Fix hash error when linting modules
12671 with no used templates.
12672 (verilog-warn, verilog-warn-error)
12673 (verilog-warn-fatal): When non-interactive report multiple
12674 warnings before exiting. Suggested by Brad Dobbie.
12675 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12676 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12677 to report unused template errors. Reported by Brad Dobbie.
12678 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12679 nets, bug438. Reported by Vns Blore.
12680 (verilog-auto-inout-module, verilog-auto-reg)
12681 (verilog-read-decls, verilog-read-sub-decls-sig)
12682 (verilog-signals-edit-wire-reg, verilog-signals-with):
12683 Fix passing of Verilog data types in ANSI input/output ports
12684 such as "output logic" into the AUTOs. Special case "wire" and
12685 "reg" for backwards compatibility presuming Verilog 2001.
12686 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12687 (verilog-preprocess): Fix replication of preprocess output.
12688 Reported by Brad Dobbie.
12689 (verilog-auto-inst-interfaced-ports):
12690 Create verilog-auto-inst-interfaced-ports, bug429.
12691 Reported by Julian Gorfajn.
12692 (verilog-after-save-font-hook)
12693 (verilog-before-save-font-hook): New variable.
12694 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12695 (verilog-save-font-mods): Wrap disabling fontification, reported
12696 by David Rogoff.
12697 (verilog-do-indent, verilog-pretty-declarations-auto)
12698 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12699 Reported by Pierre-David Pfister.
12700 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12701 of class declarations, bug292. Reported by Kevin Heilman.
12702 (verilog-read-decls): Fix 'parameter type' not appearing in
12703 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12704 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12705 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12706 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12707 Reported by David Kravitz.
12708
12709 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12710
12711 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12712 assignment with tests in ifs and for loops.
12713 (verilog-extended-complete-re, verilog-complete-reg): Change so
12714 that DPI inport functions don't look like fuction declarations.
12715 (verilog-pretty-expr): Don't line up assignment
12716 operations to the test and increment in if and for loops
12717 (verilog-extended-complete-re, verilog-complete-reg): Change so
12718 that DPI inport functions don't look like fuction declarations.
12719
12720 2012-05-03 Kenichi Handa <handa@m17n.org>
12721
12722 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12723 decoding, and show a warning message without signaling an error
12724 (Bug#11282).
12725
12726 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12727
12728 * emacs-lisp/bytecomp.el
12729 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12730 since cconv.el might have introduced :fun-body, internal-make-closure,
12731 and friends for bytecomp to handle (bug#11391).
12732 * custom.el (defcustom): Avoid ((λ ..) ..).
12733
12734 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12735
12736 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12737
12738 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12739
12740 * notifications.el (dbus-debug):
12741 * term/linux.el (gpm-mouse-enable):
12742 * term/screen.el (xterm-register-default-colors): Declare.
12743
12744 2012-05-02 Chong Yidong <cyd@gnu.org>
12745
12746 * cus-start.el (gc-cons-percentage, exec-suffixes)
12747 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12748 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12749 (make-cursor-line-fully-visible, void-text-area-pointer)
12750 (font-list-limit): Add customization data.
12751
12752 * allout.el (allout-exposure-change-functions)
12753 (allout-structure-added-functions)
12754 (allout-structure-deleted-functions)
12755 (allout-structure-shifted-functions): Rename abnormal hooks from
12756 *-hook, and convert to defcustoms.
12757 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12758 Convert to defcustoms.
12759 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12760
12761 * allout-widgets.el: Hook callers changed.
12762
12763 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12764
12765 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12766 the yanked message in preference to the default value of
12767 buffer-file-coding-system.
12768
12769 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12770
12771 * window.el (display-buffer--action-function-custom-type):
12772 Fix entry.
12773
12774 2012-05-02 Alan Mackenzie <acm@muc.de>
12775
12776 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12777
12778 2012-05-01 Glenn Morris <rgm@gnu.org>
12779
12780 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12781
12782 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12783
12784 * cus-edit.el (custom-variable-documentation): Simplify with format.
12785
12786 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12787 Stefan Monnier <monnier@iro.umontreal.ca>
12788
12789 * simple.el (suggest-key-bindings, execute-extended-command):
12790 Move from keyboard.c.
12791
12792 2012-05-01 Chong Yidong <cyd@gnu.org>
12793
12794 * follow.el: Eliminate advice.
12795 (set-process-filter, process-filter, sit-for): Advice deleted.
12796 (follow-mode-off-hook): Obsolete hook removed.
12797 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12798 Vars deleted.
12799 (follow-auto): Use a :set function.
12800 (follow-mode): Rewritten. Don't advise process filters.
12801 (follow-switch-to-current-buffer-all, follow-scroll-up)
12802 (follow-scroll-down): Assume follow-mode is bound.
12803 (follow-comint-scroll-to-bottom)
12804 (follow-align-compilation-windows): New functions.
12805 (follow--window-sorter): New function.
12806 (follow-all-followers): Use it to explicitly sort windows by their
12807 positions; don't make assumptions about next-window order.
12808 (follow-windows-start-end, follow-delete-other-windows-and-split)
12809 (follow-calc-win-start): Doc fix.
12810 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12811 vertical-motion unnecessarily.
12812 (follow-adjust-window): New function.
12813 (follow-post-command-hook): Use it.
12814 (follow-call-set-process-filter, follow-call-process-filter)
12815 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12816 (follow-stop-intercept-process-output, follow-generic-filter):
12817 Functions deleted.
12818 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12819 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12820 New functions, replacing advice on scroll-bar-* commands.
12821 (follow-mwheel-scroll): New function (Bug#4112).
12822
12823 * comint.el (comint-adjust-point): New function.
12824 (comint-postoutput-scroll-to-bottom): Use it.
12825 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12826
12827 2012-05-01 Glenn Morris <rgm@gnu.org>
12828
12829 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12830 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12831 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12832 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12833 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12834 Remove no-byte-compile setting.
12835
12836 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12837
12838 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12839 all-completions code to not return a number in the last cdr.
12840
12841 2012-04-30 Leo Liu <sdl.web@gmail.com>
12842
12843 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12844 read-only error.
12845
12846 2012-04-29 Chong Yidong <cyd@gnu.org>
12847
12848 * follow.el (follow-calc-win-end): Rewrite to handle partial
12849 screen lines correctly (Bug#8390).
12850 (follow-avoid-tail-recenter): Minor cleanup.
12851
12852 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12853
12854 Avoid the obsolete `assoc' package.
12855 * speedbar.el (speedbar-refresh): Avoid adelete.
12856 (speedbar-file-lists): Simplify and avoid aput.
12857 * man.el (Man--sections, Man--refpages): New vars, replacing
12858 Man-sections-alist and Man-refpages-alist.
12859 (Man-build-section-alist, Man-build-references-alist):
12860 Use them; avoid aput.
12861 (Man--last-section, Man--last-refpage): New vars.
12862 (Man-follow-manual-reference): Use them.
12863 Use the `default' arg of completing-read.
12864 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12865
12866 2012-04-27 Chong Yidong <cyd@gnu.org>
12867
12868 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12869
12870 * startup.el (x-apply-session-resources): New function.
12871
12872 * term/ns-win.el (ns-initialize-window-system):
12873 * term/w32-win.el (w32-initialize-window-system):
12874 * term/x-win.el (x-initialize-window-system): Use it to properly
12875 set menu-bar-mode and other vars from X resources, even if the
12876 initial frame is not a window-system frame (Bug#2299).
12877
12878 * subr.el (read-key): Avoid running filter function when setting
12879 up temporary tool bar entries (Bug#9922).
12880
12881 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12882
12883 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12884 (Bug#11344)
12885
12886 2012-04-27 Chong Yidong <cyd@gnu.org>
12887
12888 * select.el (xselect--encode-string): New function, split from
12889 xselect-convert-to-string.
12890 (xselect-convert-to-string): Use it.
12891 (xselect-convert-to-filename, xselect-convert-to-os)
12892 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12893 returned strings are properly encoded (Bug#11315).
12894
12895 2012-04-27 Chong Yidong <cyd@gnu.org>
12896
12897 * simple.el (delete-active-region): Move to killing custom group.
12898
12899 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12900
12901 * progmodes/which-func.el (which-func-current): Quote %
12902 characters for mode-line processing.
12903
12904 2012-04-27 Chong Yidong <cyd@gnu.org>
12905
12906 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12907 reaching eob (Bug#11286).
12908
12909 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12910
12911 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12912 (gdb): Make it buffer-local and init to zero.
12913 (gdb-control-commands-regexp): New variable.
12914 (gdb-send): Don't wrap in "-interpreter-exec console" if
12915 gdb-control-level is positive. Increment gdb-control-level
12916 whenever the command matches gdb-control-commands-regexp, and
12917 decrement it each time the command is "end". (Bug#11279)
12918
12919 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12920
12921 * window.el (adjust-window-trailing-edge, enlarge-window)
12922 (shrink-window, window-resize):
12923 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12924 windows (Bug#11276).
12925
12926 2012-04-27 Chong Yidong <cyd@gnu.org>
12927
12928 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12929 fix "missing prefix" warning. All callers changed.
12930
12931 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12932
12933 * emacs-lisp/assoc.el: Move to obsolete/.
12934
12935 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12936
12937 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12938
12939 * term/ns-win.el (ns-define-service):
12940 * progmodes/pascal.el (pascal-goto-defun):
12941 * progmodes/js.el (js--read-tab):
12942 * progmodes/etags.el (tags-lazy-completion-table):
12943 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12944 * emacs-lisp/ewoc.el (ewoc--wrap):
12945 * emacs-lisp/assoc.el (aput, adelete, amake):
12946 * doc-view.el (doc-view-convert-current-doc):
12947 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12948
12949 2012-04-26 Chong Yidong <cyd@gnu.org>
12950
12951 * image.el (image-type-from-buffer): Only return supported image
12952 type (Bug#9045).
12953
12954 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12955 value, for symmetry with diff-end-of-hunk.
12956 (diff-split-hunk, diff-find-source-location)
12957 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12958 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12959 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12960 compute the relevant hunk or file properly (Bug#6005).
12961 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12962
12963 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 * vc/vc-mtn.el:
12966 * vc/vc-hg.el:
12967 * vc/vc-git.el:
12968 * vc/vc-dir.el:
12969 * vc/vc-cvs.el:
12970 * vc/vc-bzr.el:
12971 * vc/vc-arch.el:
12972 * vc/vc.el: Replace lexical-let by lexical-binding.
12973 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12974 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12975 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12976
12977 2012-04-26 Chong Yidong <cyd@gnu.org>
12978
12979 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12980 (diff-mode-shared-map): Bind it to / and [remap undo].
12981
12982 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12983 (ediff-window-setup-function): Use it as the default, to set up
12984 windows based on whether the current frame is graphical (Bug#2138).
12985 (ediff-choose-window-setup-function-automatically): Make obsolete.
12986
12987 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12988
12989 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12990
12991 * ffap.el: Remove old code for obsolete package.
12992 (ffap-complete-as-file-p): Remove.
12993
12994 Use completion-table-with-quoting for comint and pcomplete.
12995 * comint.el (comint--unquote&requote-argument)
12996 (comint--unquote-argument, comint--requote-argument): New functions.
12997 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12998 (comint-quote-filename): Use regexp-opt-charset.
12999 (comint--common-suffix, comint--common-quoted-suffix)
13000 (comint--table-subvert): Remove.
13001 (comint-unquote-function, comint-requote-function): New vars.
13002 (comint--complete-file-name-data): Use them with
13003 completion-table-with-quoting.
13004 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13005 * pcomplete.el (pcomplete-arg-quote-list)
13006 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13007 (pcomplete-unquote-argument-function): Default to non-nil.
13008 (pcomplete-unquote-argument): Simplify.
13009 (pcomplete--common-quoted-suffix): Remove.
13010 (pcomplete-requote-argument-function): New var.
13011 (pcomplete--common-suffix): New function.
13012 (pcomplete-completions-at-point): Use completion-table-with-quoting
13013 and completion-table-subvert.
13014
13015 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13016 (minibuffer--double-dollars): Preserve properties.
13017 (completion--sifn-requote): New function.
13018 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13019
13020 * minibuffer.el: Add support for completion of quoted/escaped data.
13021 (completion-table-with-quoting, completion-table-subvert): New funs.
13022 (completion--twq-try, completion--twq-all): New functions.
13023 (completion--nth-completion): New function.
13024 (completion-try-completion, completion-all-completions): Use it.
13025
13026 2012-04-25 Leo Liu <sdl.web@gmail.com>
13027
13028 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13029 Use compilation-message if available to find real filename.
13030
13031 2012-04-25 Chong Yidong <cyd@gnu.org>
13032
13033 * vc/diff-mode.el (diff-setup-whitespace): New function.
13034 (diff-mode): Use it.
13035
13036 * vc/diff.el (diff-sentinel):
13037 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13038 Whitespace mode variables based on diff style (Bug#8612).
13039
13040 2012-04-25 Leo Liu <sdl.web@gmail.com>
13041
13042 * progmodes/python.el (python-send-region): Add suffix .py to the
13043 temp file.
13044
13045 * files.el (auto-mode-alist): Use javascript-mode instead.
13046
13047 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13048
13049 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13050
13051 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13052 (soap-resolve-references-for-array-type): Hack to prevent self
13053 references, see Bug#9.
13054 (soap-parse-envelope): Report the contents of the 'detail' node
13055 when receiving a fault reply.
13056 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13057
13058 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13059 (soap-inspect-simple-type): New function.
13060
13061 * net/soap-client.el (soap-simple-type): New struct.
13062 (soap-default-xsd-types, soap-default-soapenc-types)
13063 (soap-decode-basic-type, soap-encode-basic-type):
13064 support unsignedInt and double basic types.
13065 (soap-resolve-references-for-simple-type)
13066 (soap-parse-simple-type, soap-encode-simple-type): New function.
13067 (soap-parse-schema): Parse xsd:simpleType declarations.
13068
13069 * net/soap-client.el (soap-default-xsd-types)
13070 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13071 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13072 the local name of "soapenc:Array".
13073 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13074 decoding integer, byte and anyURI xsd types.
13075
13076 2012-04-25 Chong Yidong <cyd@gnu.org>
13077
13078 * cus-edit.el (custom-buffer-create-internal): Update header text.
13079
13080 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13081
13082 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13083 settings on 'system-type', not on 'window-system'. On MS-Windows,
13084 set interactive-mode on in GDB.
13085
13086 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13089 (ruby-syntax-propertize-regexp): Remove.
13090 (ruby-syntax-propertize-function): Split regexp into chunks.
13091 Match following code directly.
13092
13093 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13094
13095 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13096 (ruby-syntax-propertize-regexp): New function.
13097 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13098 by a special keyword.
13099
13100 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13101 (ruby-syntax-general-delimiters-goto-beg)
13102 (ruby-syntax-propertize-general-delimiters): New functions.
13103 (ruby-syntax-propertize-function): Use them to handle GDL.
13104 (ruby-font-lock-keywords): Move old handling of GDL...
13105 (ruby-font-lock-syntactic-keywords): .. to here.
13106 (ruby-calculate-indent): Adjust indentation for GDL.
13107
13108 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13109
13110 * notifications.el (top): Remove unneeded declarations.
13111 (notifications-specification-version): Change to "1.2".
13112 (notifications-interface, notifications-notify-method)
13113 (notifications-close-notification-method): Fix docstring.
13114 (notifications-get-capabilities-method): New defconst.
13115 (notifications-notify): Add :action-items, :resident and
13116 :transient hints. Change "image_data" to "image-data" and
13117 "image_path" to "image-path".
13118 (notifications-get-capabilities): New defun.
13119
13120 2012-04-24 Leo Liu <sdl.web@gmail.com>
13121
13122 * progmodes/python.el: Move hideshow setup to the end.
13123
13124 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13125
13126 * window.el (handle-select-window): Clear echo area since this is
13127 no more done by read_char (Bug#11304).
13128
13129 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13132 and `/ M' to filter-derived-mode.
13133 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13134 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13135 (ibuffer-mark-by-mode): Use default rather than initial-input.
13136 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13137
13138 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13139
13140 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13141 (ibuffer-filter-by-derived-mode): New filter.
13142 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13143
13144 2012-04-23 Andreas Politz <politza@fh-trier.de>
13145
13146 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13147
13148 2012-04-23 Chong Yidong <cyd@gnu.org>
13149
13150 * cus-edit.el (customize-apropos, customize-apropos-options):
13151 Disable matching of non-option variables (Bug#11176).
13152 (customize-option, customize-option-other-window)
13153 (customize-changed-options): Doc fix.
13154 (customize-apropos-options, customize-apropos-faces)
13155 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13156
13157 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13158 Fix word list splitting (Bug#11132).
13159 (apropos-symbol, apropos-keybinding, apropos-label)
13160 (apropos-property, apropos-function-button)
13161 (apropos-variable-button, apropos-misc-button): New faces.
13162 (apropos-symbol-face, apropos-keybinding-face)
13163 (apropos-label-face, apropos-property-face, apropos-match-face):
13164 Variables removed (Bug#8396).
13165 (apropos-library-button, apropos-format-plist, apropos-print)
13166 (apropos-print-doc, apropos-describe-plist): Callers changed.
13167
13168 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13169
13170 * net/xesam.el (xesam-mode-map): Use let-bound map in
13171 initialization. (Bug#11292)
13172
13173 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13174
13175 Preserve ispell session localwords when switching back to
13176 original buffer.
13177
13178 * textmodes/ispell.el (ispell-buffer-session-localwords):
13179 New buffer-local variable to hold buffer session localwords.
13180 (ispell-kill-ispell): Add option 'clear to delete session
13181 localwords.
13182 (ispell-command-loop, ispell-change-dictionary)
13183 (ispell-buffer-local-words): Preserve session localwords when
13184 needed.
13185
13186 * textmodes/flyspell.el (flyspell-process-localwords)
13187 (flyspell-do-correct): Preserve session localwords when needed.
13188
13189 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13190
13191 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13192 using obsolete `translation-table-for-input'.
13193 (ispell-word, ispell-process-line, ispell-complete-word):
13194 Use plain `insert' instead of removed `ispell-insert-word'.
13195
13196 2012-04-22 Chong Yidong <cyd@gnu.org>
13197
13198 * cus-edit.el (custom-variable-menu)
13199 (custom-variable-reset-saved, custom-face-menu)
13200 (custom-face-reset-saved): If there is no saved value, make the
13201 "reset-saved" operation bring back the default (Bug#9509).
13202 (custom-face-state): Properly detect themed faces.
13203
13204 * faces.el (face-spec-set): Stop supporting deprecated form of
13205 third arg.
13206
13207 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13208
13209 Move functions from C to Lisp. Make non-blocking method calls
13210 the default. Implement further D-Bus standard interfaces.
13211
13212 * net/dbus.el (dbus-message-internal): Declare function.
13213 Remove unneeded function declarations.
13214 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13215 (dbus-message-type-method-return, dbus-message-type-error)
13216 (dbus-message-type-signal): Declare variables. Remove local
13217 definitions.
13218 (dbus-interface-dbus, dbus-interface-peer)
13219 (dbus-interface-introspectable, dbus-interface-properties)
13220 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13221 Adapt docstring.
13222 (dbus-interface-objectmanager): New defconst.
13223 (dbus-call-method, dbus-call-method-asynchronously)
13224 (dbus-send-signal, dbus-method-return-internal)
13225 (dbus-method-error-internal, dbus-register-service)
13226 (dbus-register-signal, dbus-register-method): New defuns, moved
13227 from dbusbind.c
13228 (dbus-call-method-handler, dbus-setenv)
13229 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13230 New defuns.
13231 (dbus-call-method-non-blocking): Make it an obsolete function.
13232 (dbus-unregister-object, dbus-unregister-service)
13233 (dbus-handle-event, dbus-register-property)
13234 (dbus-property-handler): Obey the new structure of
13235 `bus-registered-objects'.
13236 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13237 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13238 Use `dbus-call-method'.
13239
13240 2012-04-22 Chong Yidong <cyd@gnu.org>
13241
13242 * cus-edit.el (custom-commands, custom-reset-menu)
13243 (Custom-reset-standard): Tweak labels.
13244 (custom-reset-button-menu): Change default to t.
13245 (custom-buffer-create-internal): For the custom-reset-button-menu
13246 case, put the revert button first.
13247 (custom-group-subtitle): New face.
13248 (custom-group-value-create): Align docstring to a specific column.
13249
13250 * wid-edit.el (widget-documentation-link-add): Don't handle
13251 indentation in this function.
13252 (widget-documentation-string-indent-to): New function.
13253 (widget-documentation-string-value-create): Use it.
13254
13255 * autorevert.el (auto-revert):
13256 * epg-config.el (epg):
13257 * ibuffer.el (ibuffer):
13258 * mpc.el (mpc):
13259 * ses.el (ses):
13260 * eshell/eshell.el (eshell):
13261 * net/ange-ftp.el (ange-ftp):
13262 * progmodes/ebnf2ps.el (postscript):
13263 * progmodes/flymake.el (flymake):
13264 * progmodes/prolog.el (prolog):
13265 * progmodes/verilog-mode.el (verilog-mode):
13266 * progmodes/which-func.el (which-func):
13267 * term/xterm.el (xterm):
13268 * textmodes/picture.el (picture):
13269 * textmodes/tildify.el (tildify):
13270 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13271 customization buffers.
13272
13273 2012-04-22 Alan Mackenzie <acm@muc.de>
13274
13275 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13276 Adding a ) can hide the resulting (..) from searches. Fix it.
13277 Bound the backward search to the position of the existing (.
13278
13279 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13280
13281 * progmodes/verilog-mode.el (verilog-mode): Check whether
13282 which-func-modes is t before adding verilog-mode.
13283 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13284
13285 2012-04-21 Leo Liu <sdl.web@gmail.com>
13286
13287 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13288
13289 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13290
13291 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13292 filling of the last column of a table (Bug#5635).
13293 (woman-find-next-control-line): New arg, specifying an additional
13294 regexp component for the control line.
13295 (woman2-roff-buffer): Use it.
13296 (woman-break-table): New function.
13297 (woman2-TS): Use it.
13298
13299 2012-04-21 Chong Yidong <cyd@gnu.org>
13300
13301 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13302 (woman-horizontal-escapes, woman-negative-vertical-space)
13303 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13304 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13305
13306 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13307
13308 * minibuffer.el (completion-file-name-table): Complete user names.
13309
13310 2012-04-20 Leo Liu <sdl.web@gmail.com>
13311
13312 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13313 and pcase-let*.
13314
13315 2012-04-20 Chong Yidong <cyd@gnu.org>
13316
13317 * server.el (server-execute): Respect initial-buffer-choice if it
13318 is a string and there are no files to open (Bug#2825).
13319 (server-create-window-system-frame, server-create-tty-frame):
13320 Don't switch buffers here.
13321 (server-process-filter): Only try to open a window system frame if
13322 compiled with graphical support (Bug#8314).
13323
13324 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13325
13326 * battery.el (battery-echo-area-format): Display remaining time
13327 for sysfs backend too (Bug#11269).
13328 (battery-linux-sysfs): Fix conditional for the charge.
13329
13330 2012-04-20 Chong Yidong <cyd@gnu.org>
13331
13332 * progmodes/gdb-mi.el (gdb): Revert previous change.
13333 (gdb-inferior-io--init-proc): New function.
13334 (gdb-init-1): Use it.
13335 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13336 responsible for allocating a new pty and hooking it to gdb when
13337 the old pty gets an EIO due to process exit.
13338 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13339 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13340 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13341
13342 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13343
13344 * window.el (window-min-size, window-sizable, window-min-delta)
13345 (window-max-delta, window--resizable, window-resizable)
13346 (window-total-size, window-full-height-p, window-full-width-p)
13347 (window-in-direction, window--resize-mini-window, window-resize)
13348 (window--resize-child-windows-normal)
13349 (window--resize-child-windows, window--resize-siblings)
13350 (window--resize-this-window, adjust-window-trailing-edge)
13351 (enlarge-window, shrink-window): Doc fixes.
13352
13353 2012-04-20 Chong Yidong <cyd@gnu.org>
13354
13355 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13356 New function to call delete-process on the gdb-inferior buffer's pty.
13357 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13358 pty process (Bug#11273).
13359 (gdb-update): New arg to suppress talking to the gdb process.
13360 (gdb-done-or-error): Use it.
13361 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13362 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13363 sentinel not being called.
13364
13365 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13366
13367 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13368
13369 2012-04-20 Glenn Morris <rgm@gnu.org>
13370
13371 * net/network-stream.el (open-network-stream): Doc fix.
13372
13373 2012-04-20 Chong Yidong <cyd@gnu.org>
13374
13375 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13376
13377 2012-04-20 Alan Mackenzie <acm@muc.de>
13378
13379 Ensure searching for keywords is case sensitive.
13380
13381 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13382 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13383 (c-defun-name, c-mark-function, c-cpp-define-name)
13384 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13385 (c-context-line-break): Bind case-fold-search to nil.
13386
13387 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13388 Bind case-fold-search to nil.
13389
13390 2012-04-20 Chong Yidong <cyd@gnu.org>
13391
13392 * mail/sendmail.el (mail-bury): Call return action with the right
13393 Rmail buffer (Bug#11242).
13394
13395 * server.el (server-process-filter): Handle corner case where both
13396 tty and nowait options are present (Bug#11102).
13397
13398 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13399
13400 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13401 (top level): Put into the executable the ident-style '$Id:' tag on
13402 windows-nt as well.
13403
13404 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13405
13406 * electric.el (electric-indent-post-self-insert-function): Check that
13407 electric-indent-mode is enabled in current buffer.
13408
13409 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13410
13411 * imenu.el (imenu-progress-message): Restore; it is "used" in
13412 erc/erc-imenu.el and net/snmp-mode.el.
13413
13414 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13415
13416 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13417 (mouse-avoidance-nudge-mouse): Remove unused binding.
13418
13419 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13420
13421 * descr-text.el (describe-char):
13422 * progmodes/python.el (python-describe-symbol):
13423 Don't call `toggle-read-only', set `buffer-read-only'.
13424
13425 * imenu.el (imenu-default-goto-function): Mark unused args.
13426 (imenu-progress-message): Remove obsolete macro; all callers changed.
13427
13428 * subr.el (keymap-canonicalize): Remove unused binding.
13429 (read-passwd): Mark unused arg.
13430
13431 * tutorial.el (tutorial--display-changes): Remove unused binding.
13432 (tutorial--save-tutorial-to): Remove unused variable.
13433
13434 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13435 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13436 (package-generate-autoloads, package-menu--generate)
13437 (package-menu--find-upgrades): Remove unused bindings.
13438
13439 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13440 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13441 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13442 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13443 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13444 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13445 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13446 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13447 (cua-delete-char-rectangle): Mark unused args.
13448 (cua-align-rectangle): Remove unused binding.
13449
13450 * mail/rmail.el (compilation--message->loc)
13451 (epa--find-coding-system-for-mime-charset): Declare.
13452
13453 * net/dbus.el (dbus-register-service): Declare.
13454 (dbus-name-owner-changed-handler): Remove unused binding.
13455
13456 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13457 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13458 (nxml-scan-backward-within): Mark unused arg.
13459 (nxml-dynamic-markup-word): Remove unused binding.
13460
13461 * mouse.el (mouse-menu-major-mode-map):
13462 * emacs-lisp/authors.el (authors-scan-change-log)
13463 (authors-add-to-author-list):
13464 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13465 * emacs-lisp/smie.el (smie-auto-fill):
13466 * mail/sendmail.el (mail-bury):
13467 * mail/unrmail.el (unrmail):
13468 * net/tls.el (open-tls-stream):
13469 * textmodes/picture.el (picture-mouse-set-point):
13470 Remove unused bindings.
13471
13472 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13473
13474 * net/tramp.el (tramp-action-password): Let-bind
13475 `enable-recursive-minibuffers' to t.
13476
13477 2012-04-18 Sam Steingold <sds@gnu.org>
13478
13479 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13480 instead of 'string to accommodate values like [f11].
13481 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13482 * progmodes/gdb-mi.el: Likewise.
13483
13484 2012-04-18 Leo Liu <sdl.web@gmail.com>
13485
13486 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13487 current buffer.
13488 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13489 LOCAL is nil.
13490
13491 2012-04-18 Chong Yidong <cyd@gnu.org>
13492
13493 * simple.el (line-move): Use forward-line if in batch mode
13494 (Bug#11053).
13495
13496 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13497
13498 * files.el (after-find-file): Do not try to add a final newline if
13499 the buffer is read-only (Bug#11156).
13500
13501 2012-04-17 Richard Stallman <rms@gnu.org>
13502
13503 * mail/rmail.el (rmail-start-mail):
13504 Pass (rmail-mail-return...) for the return-action.
13505 Pass (rmail-yank-current-message...) for the yank-action.
13506 (rmail-yank-current-message): New function.
13507 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13508 (rmail-reply): Likewise.
13509 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13510
13511 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13512 buffer, not the last. Reject temp buffers. Use the rmail-mode
13513 buffer, not newbuf.
13514
13515 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13516
13517 * server.el (server-ensure-safe-dir): Simplify.
13518
13519 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 * emacs-lisp/smie.el: Provide smarter auto-filling.
13522 (smie-auto-fill): New function.
13523 (smie-setup): Use it.
13524
13525 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13526
13527 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13528
13529 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13530 (comment-indent): Use it.
13531
13532 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13533
13534 * ses.el: The overall change is to add cell renaming, that is
13535 setting fancy names for cell symbols other than name matching
13536 "\\`[A-Z]+[0-9]+\\'" regexp .
13537 (ses-localvars): Add ses--renamed-cell-symb-list.
13538 (ses-create-cell-variable): New defun.
13539 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13540 (ses-relocate-formula): Relocate formulas only for cells the
13541 symbols of which are not renamed, i.e. symbols whose names do not
13542 match regexp "\\`[A-Z]+[0-9]+\\'".
13543 (ses-relocate-all): Relocate values only for cells the symbols of
13544 which are not renamed.
13545 (ses-load): Create cells variables as the (ses-cell ...) are read,
13546 in order to check row col consistency with cell symbol name only
13547 for cells that are not renamed.
13548 (ses-replace-name-in-formula): New defun.
13549 (ses-rename-cell): New defun.
13550
13551 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13552
13553 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13554 New option (bug#11118).
13555 (perl-calculate-indent): Respect it.
13556
13557 2012-04-17 Glenn Morris <rgm@gnu.org>
13558
13559 * dired-aux.el (dired-mark-read-string): Doc fix.
13560
13561 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13562
13563 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13564 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13565
13566 2012-04-17 Glenn Morris <rgm@gnu.org>
13567
13568 * mouse.el (mouse-drag-track):
13569 * speedbar.el (speedbar-frame-mode):
13570 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13571
13572 2012-04-16 Leo Liu <sdl.web@gmail.com>
13573
13574 * progmodes/python.el: Trivial cleanup.
13575
13576 2012-04-16 Glenn Morris <rgm@gnu.org>
13577
13578 * vc/vc.el (vc-string-prefix-p):
13579 * vc/pcvs-util.el (cvs-string-prefix-p):
13580 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13581 * mpc.el (mpc-string-prefix-p):
13582 Make all of these into obsolete aliases for string-prefix-p.
13583 Update callers.
13584 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13585
13586 * textmodes/two-column.el: Move custom options to the start.
13587 (frame-width): Remove compat definition.
13588 (2C-associate-buffer, 2C-dissociate):
13589 Use with-current-buffer rather than save-excursion.
13590 (2C-dissociate): Force a mode-line update.
13591 (2C-autoscroll): Use ignore-errors.
13592
13593 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13594 Autoload trivia.
13595
13596 * emacs-lisp/cl-extra.el (*random-state*):
13597 Remove unnecessary declaration.
13598
13599 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13600
13601 * play/cookie1.el (cookie-snarf):
13602 Give an explicit error if input file cannot be read.
13603
13604 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13605
13606 * progmodes/perl-mode.el (c-macro-expand):
13607 Remove unnecessary autoload (it is in loaddefs.el).
13608
13609 * textmodes/picture.el (picture-desired-column)
13610 (picture-update-desired-column): Convert comments to doc-strings.
13611 (picture-substitute): Remove function.
13612 (picture-mode-map): Initialize in the defvar.
13613
13614 * woman.el: Remove eval-after-load for tar-mode.
13615 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13616 (woman-tar-extract-file): Autoload it.
13617
13618 * frame.el (automatic-hscrolling): Make this alias obsolete.
13619
13620 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13621
13622 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13623 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13624 (ispell-dictionary-base-alist): Revert to original XEmacs
13625 friendly version for default. [:alpha:] will be added in
13626 `ispell-set-spellchecker-params' if needed.
13627
13628 2012-04-16 Chong Yidong <cyd@gnu.org>
13629
13630 * image.el (imagemagick--file-regexp): New variable.
13631 (imagemagick-register-types): Use it.
13632 (imagemagick-types-inhibit): Add :set function. Allow new value
13633 of t to inhibit all types.
13634
13635 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13636 so we can preload it.
13637
13638 * loadup.el (fboundp): Preload regexp-opt, needed by
13639 imagemagick-register-types.
13640
13641 2012-04-15 Chong Yidong <cyd@gnu.org>
13642
13643 * frame.el (scrolling): Remove nearly unused customization group.
13644
13645 * scroll-all.el (scroll-all-mode): Move to windows group.
13646
13647 2012-04-15 Chong Yidong <cyd@gnu.org>
13648
13649 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13650
13651 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13652
13653 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13654 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13655
13656 2012-04-15 Glenn Morris <rgm@gnu.org>
13657
13658 * simple.el (process-file-side-effects): Doc fix.
13659
13660 2012-04-15 Glenn Morris <rgm@gnu.org>
13661
13662 * international/mule-cmds.el (set-language-environment): Doc fix.
13663
13664 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13665
13666 * server.el (server-auth-key, server-generate-key): Doc fixes.
13667 (server-get-auth-key): Doc fix. Use `string-match-p'.
13668 (server-start): Reflow docstring.
13669
13670 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13671
13672 * server.el (server-generate-key): `called-interactively-p'
13673 requires a parameter.
13674
13675 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13676
13677 * server.el (server-auth-key): New variable.
13678 (server-generate-key, server-get-auth-key): New function.
13679 (server-start): Use the new variable and functions to allow
13680 setting a permanent server key (bug#9423).
13681
13682 2012-04-14 Leo Liu <sdl.web@gmail.com>
13683
13684 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13685
13686 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13687
13688 Spelling fixes.
13689 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13690 Emacs uses American spelling.
13691
13692 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13693
13694 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13695 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13696 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13697 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13698
13699 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13700
13701 * progmodes/which-func.el (which-func-modes): Change default.
13702
13703 2012-04-14 Kim F. Storm <storm@cua.dk>
13704
13705 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13706 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13707
13708 2012-04-14 Chong Yidong <cyd@gnu.org>
13709
13710 * custom.el (custom-theme-set-variables): Doc fix.
13711
13712 2012-04-14 Glenn Morris <rgm@gnu.org>
13713
13714 * international/mule.el (set-auto-coding-for-load): Doc fix.
13715
13716 2012-04-14 Alan Mackenzie <acm@muc.de>
13717
13718 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13719 imenu work again for Objective C Mode. Correct the *-index values,
13720 these having been disturbed by a previous change in 2011-08.
13721
13722 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13723 Correct two search limits.
13724
13725 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13726
13727 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13728
13729 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13730
13731 * international/characters.el: Fix sorting.
13732
13733 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13734
13735 * international/characters.el: Add more missing Latin case pairs.
13736
13737 2012-04-14 Glenn Morris <rgm@gnu.org>
13738
13739 * files.el (dir-locals-set-class-variables): Doc fix.
13740
13741 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13742
13743 * international/characters.el: Add set-case-syntax-pair call for
13744 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13745 counterpart. (Bug#11209)
13746
13747 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13748
13749 2012-04-14 Glenn Morris <rgm@gnu.org>
13750
13751 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13752
13753 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13754
13755 * textmodes/ispell.el (ispell-dictionary-base-alist):
13756 Add data for Hebrew.
13757
13758 2012-04-14 Chong Yidong <cyd@gnu.org>
13759
13760 * net/rcirc.el (rcirc-cmd-quit):
13761 Revert 2012-03-18 change (Bug#11192).
13762
13763 2012-04-14 Glenn Morris <rgm@gnu.org>
13764
13765 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13766
13767 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13768
13769 * minibuffer.el (completion-in-region-mode-map):
13770 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13771
13772 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13773
13774 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13775
13776 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13777
13778 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13779 to allow `C-M-f' and `C-M-b' to move to the nearest path
13780 separator (bug#9511).
13781
13782 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13783
13784 * avoid.el: Require cl when compiling. And also move the
13785 `provide' to the end.
13786
13787 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13788
13789 * avoid.el (mouse-avoidance-banish-position): New variable.
13790 (mouse-avoidance-banish-destination): Use it (bug#10165).
13791
13792 2012-04-13 Leo Liu <sdl.web@gmail.com>
13793
13794 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13795
13796 2012-04-13 Ken Brown <kbrown@cornell.edu>
13797
13798 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13799 this is no longer needed now that cygstart understands file:// URLs.
13800 (browse-url-filename-alist): For the same reason, don't modify
13801 file:// URLs on Cygwin.
13802
13803 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13804
13805 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13806 the region on shift if the binding is already shifted (bug#11221).
13807
13808 2012-04-12 Glenn Morris <rgm@gnu.org>
13809
13810 * mail/mailpost.el: Move to obsolete/.
13811
13812 2012-04-12 Drew Adams <drew.adams@oracle.com>
13813
13814 * imenu.el (imenu--generic-function): Ignore invisible definitions
13815 (bug#10123).
13816
13817 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13818
13819 * hexl.el (hexl-bits): New variable.
13820 (hexl-options): Mention the variable in the doc string.
13821 (hexl-rulerise, hexl-line-displen): New functions.
13822 (hexl-mode): Mention the new variable.
13823 (hexl-mode, hexl-current-address, hexl-current-address):
13824 Use the displen.
13825 (hexl-ascii-start-column): New function.
13826 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13827 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13828
13829 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13830
13831 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13832 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13833 the encoding, as expected by hunspell.
13834
13835 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13836
13837 * battery.el (battery--linux-sysfs-regexp): New const.
13838 (battery-status-function): Use it. Remove yeeloong special case.
13839 (battery-yeeloong-sysfs): Remove.
13840 (battery-echo-area-format): Remove yeeloong special case.
13841
13842 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13845 Reported by Noah Friedman.
13846
13847 * subr.el (read-passwd): Use read-string.
13848
13849 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13850
13851 * vcursor.el (vcursor-move): Increase the priority of the overlay
13852 (bug#9663).
13853
13854 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13855
13856 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13857 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13858
13859 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13860
13861 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13862 define-minor-mode (bug#10760).
13863
13864 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13865
13866 * progmodes/grep.el (rgrep): Tweak the find command line so
13867 that directories matching `grep-find-ignored-files' won't be
13868 pruned (bug#10351).
13869
13870 2012-04-11 Chong Yidong <cyd@gnu.org>
13871
13872 * startup.el (command-line): Remove support for long-obsolete
13873 variable font-lock-face-attributes.
13874
13875 2012-04-11 Glenn Morris <rgm@gnu.org>
13876
13877 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13878
13879 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * window.el (window--state-get-1): Obey window-point-insertion-type.
13882
13883 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13884
13885 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13886 to previous function when point is on the first character of a
13887 function. Take care of that in `narrow-to-defun' (bug#6157).
13888
13889 2012-04-11 Glenn Morris <rgm@gnu.org>
13890
13891 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13892 not just file-errors.
13893
13894 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13895 (vc-bzr-sha1): Use internal sha1.
13896
13897 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13898
13899 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13900
13901 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13902
13903 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13904 that start in the middle of the line (bug#10496).
13905
13906 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13907
13908 * battery.el (battery-linux-proc-acpi): Only one battery is
13909 discharged at a time, but that seems to confuse battery.el when
13910 computing `rate-type' for the battery not being discharged
13911 (bug#10332).
13912
13913 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13914
13915 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13916
13917 * international/quail.el: Use dolist and simplify.
13918 (quail-define-package, quail-update-keyboard-layout)
13919 (quail-define-rules): Use dolist.
13920 (quail-insert-kbd-layout, quail-get-translation): CSE.
13921
13922 * tmm.el: Use dolist, remove left over hook.
13923 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13924 Use dolist.
13925 (calendar-load-hook): Don't mess with it.
13926
13927 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13928 Use derived-mode-p. Run the diff asynchronously.
13929
13930 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13931
13932 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13933
13934 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13935
13936 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13937 (list-dynamic-libraries--loaded): New function.
13938 (list-dynamic-libraries--refresh): Use it.
13939
13940 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13941
13942 * progmodes/python.el (python-fill-paragraph):
13943 Make python-fill-region in a multiline string work when font-lock is
13944 disabled (bug#7018).
13945
13946 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13947
13948 * language/european.el (cp775): Add oem/legacy (en)coding on
13949 DOS/MS Windows for the Baltic languages. There are still plenty
13950 of texts written in this encoding/codepage (bug#6519).
13951
13952 2012-04-10 Glenn Morris <rgm@gnu.org>
13953
13954 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13955 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13956
13957 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13958
13959 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13960 next-line "n" and previous-line "p" in order to make recentf more
13961 consistent with ibuffer, dired or org-mode (bug#9387).
13962
13963 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13964
13965 * image.el (put-image): Return the overlay created instead of the
13966 optional input string (bug#7834). Note that this may break code
13967 that is (for some reason or other) depending on `put-image'
13968 returning the string.
13969
13970 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13971
13972 * simple.el (zap-to-char): Allow zapping using input methods
13973 (bug#1580).
13974
13975 * textmodes/fill.el (fill-region): Leave point and mark where they
13976 were before filling (bug#5399).
13977
13978 2012-04-09 Glenn Morris <rgm@gnu.org>
13979
13980 * version.el (emacs-bzr-get-version):
13981 Handle lightweight checkouts of local branches.
13982
13983 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13984
13985 * international/characters.el: Recover lost case pairs. (Bug#11209)
13986
13987 2012-04-09 Chong Yidong <cyd@gnu.org>
13988
13989 * custom.el (custom-variable-p): Return nil for non-symbol
13990 arguments instead of signaling an error.
13991 (user-variable-p): Obsolete alias for custom-variable-p.
13992
13993 * apropos.el (apropos-variable):
13994 * files-x.el (read-file-local-variable):
13995 * simple.el (set-variable):
13996 * woman.el (woman-mini-help):
13997 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13998
13999 2012-04-09 Glenn Morris <rgm@gnu.org>
14000
14001 * startup.el (normal-top-level): Don't look for leim-list.el
14002 in places where it will not be found. (Bug#910)
14003
14004 * international/mule-cmds.el (set-default-coding-systems):
14005 * files.el (normal-mode):
14006 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14007 This function was removed with ucs-tables.el in 2008.
14008
14009 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14010
14011 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14012 ispell-encoding8-command to "-i", without a trailing space.
14013 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14014 separate command-line arguments, to specify the encoding, since
14015 that's how hunspell expects it.
14016
14017 2012-04-08 Glenn Morris <rgm@gnu.org>
14018
14019 * loadup.el: Load bindings before cus-start.
14020 This reduces somewhat the number of "rogue" settings in emacs -Q.
14021
14022 2012-04-07 Glenn Morris <rgm@gnu.org>
14023
14024 * version.el (emacs-bzr-get-version): New function.
14025 (emacs-bzr-version): New variable.
14026 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14027 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14028
14029 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14030
14031 * international/uni-bidi.el, international/uni-category.el:
14032 * international/uni-combining.el, international/uni-decimal.el:
14033 * international/uni-decomposition.el, international/uni-digit.el:
14034 * international/uni-lowercase.el, international/uni-mirrored.el:
14035 * international/uni-name.el, international/uni-numeric.el:
14036 * international/uni-titlecase.el, international/uni-uppercase.el:
14037 Update for Unicode 6.1.
14038
14039 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14040
14041 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14042
14043 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14044
14045 * window.el (shrink-window): Mention the `window-min-height'
14046 variable in the doc string.
14047
14048 2012-04-05 Bastien Guerry <bzg@altern.org>
14049
14050 * color.el (color-lighten-name): Fix typo.
14051
14052 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14053
14054 * server.el (server--on-display-p): New function.
14055 (server--on-display-p): Use it.
14056
14057 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14058
14059 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14060 (bug#11145).
14061
14062 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14063
14064 * comint.el (comint--common-quoted-suffix): Check string boundary
14065 before comparing (bug#11158).
14066 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14067
14068 2012-04-04 Chong Yidong <cyd@gnu.org>
14069
14070 * minibuffer.el (completion-extra-properties): Doc fix.
14071
14072 * subr.el (delayed-warnings-hook): Doc fix.
14073
14074 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14075
14076 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14077 selection (Bug#11159).
14078 (epa-insert-keys): Inform that the default public key will be
14079 exported if no key is selected.
14080
14081 2012-04-04 Richard Stallman <rms@gnu.org>
14082
14083 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14084
14085 2012-04-03 Chong Yidong <cyd@gnu.org>
14086
14087 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14088 mail-insert-file, not its obsolete alias mail-attach-file.
14089
14090 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14091
14092 * notifications.el (notifications-notify): Fix docstring.
14093
14094 2012-04-02 Glenn Morris <rgm@gnu.org>
14095
14096 * emacs-lisp/authors.el (authors-aliases): Another addition.
14097
14098 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14099
14100 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14101 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14102 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14103
14104 2012-04-01 Chong Yidong <cyd@gnu.org>
14105
14106 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14107 Handle root directory properly.
14108 (copy-directory): Caller changed.
14109
14110 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14111 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14112
14113 2012-03-31 Glenn Morris <rgm@gnu.org>
14114
14115 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14116
14117 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14118
14119 * calendar/calendar.el (calendar-window-list)
14120 (calendar-hide-window): Restore. (Bug#11140)
14121 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14122
14123 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14124
14125 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14126
14127 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14128 Check if file is a symlink (Bug#10489).
14129
14130 * files.el (copy-directory): Likewise.
14131
14132 2012-03-30 Chong Yidong <cyd@gnu.org>
14133
14134 * image.el (imagemagick-types-inhibit)
14135 (imagemagick-register-types): Doc fix.
14136
14137 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14138
14139 * textmodes/ispell.el (ispell-get-extended-character-mode):
14140 Disable extended-char-mode for hunspell. hunspell does not support it
14141 and treats ~word as ordinary words in pipe mode.
14142
14143 2012-03-30 Glenn Morris <rgm@gnu.org>
14144
14145 * tutorial.el (help-with-tutorial): Ensure local variables don't
14146 happen to make the buffer read-only. (Bug#11127)
14147
14148 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14149
14150 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14151 (perl-calculate-indent): Return `noindent' in strings.
14152
14153 2012-03-28 Sam Steingold <sds@gnu.org>
14154
14155 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14156 instead of the broken adhockery which does not prevent calendar
14157 buffers from being displayed at random after exit.
14158 (calendar-window-list, calendar-hide-window): Remove the broken
14159 adhockery.
14160
14161 2012-03-28 Glenn Morris <rgm@gnu.org>
14162
14163 * replace.el (query-replace-map): Doc fix.
14164
14165 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14166
14167 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14168 contents. (Bug#11109)
14169
14170 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14173 (bug#11077).
14174 (avl-tree--check, avl-tree--check-node): New funs.
14175
14176 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14177
14178 * window.el (switch-to-visible-buffer): New option.
14179 (switch-to-prev-buffer, switch-to-next-buffer):
14180 Observe switch-to-visible-buffer. Make sure that checking for a window
14181 showing a buffer already is done on the same frame.
14182
14183 2012-03-27 Glenn Morris <rgm@gnu.org>
14184
14185 * startup.el (mail-host-address): Doc fix.
14186
14187 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14188
14189 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14190 than 197 variables.
14191
14192 2012-03-26 Ami Fischman <ami@fischman.org>
14193
14194 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14195
14196 2012-03-26 Glenn Morris <rgm@gnu.org>
14197
14198 * files.el (save-buffers-kill-emacs): Doc fix.
14199
14200 * startup.el (normal-top-level, command-line, command-line-1):
14201 Give them doc strings.
14202
14203 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14204
14205 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14206 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14207
14208 2012-03-25 Chong Yidong <cyd@gnu.org>
14209
14210 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14211 theme if it was previously enabled before (Bug#11031).
14212
14213 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14214 spec with custom-face-get-current-spec if its :shown-value is not
14215 determined yet (Bug#9337).
14216 (customize-create-theme, custom-theme-revert): Doc fixes.
14217
14218 * button.el (button-at): Minor addition to docstring.
14219
14220 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14221
14222 * vc/vc.el (vc-merge): Fix a prompt.
14223
14224 2012-03-24 Chong Yidong <cyd@gnu.org>
14225
14226 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14227 point (Bug#9623).
14228
14229 * button.el (button-at): Minor addition to docstring.
14230
14231 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14232
14233 * newcomment.el (comment-choose-indent): No space after BOL.
14234
14235 2012-03-22 Sam Steingold <sds@gnu.org>
14236
14237 * window.el (switch-to-prev-buffer): Revert last patch because the
14238 bug turned out to be an advertised feature (Elisp manual 28.14).
14239
14240 2012-03-22 Glenn Morris <rgm@gnu.org>
14241
14242 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14243 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14244
14245 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14246
14247 * net/network-stream.el (network-stream-open-starttls): Make error
14248 message under Windows be less misleading.
14249
14250 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14251
14252 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14253 understands (bug#9942).
14254
14255 2012-03-22 Chong Yidong <cyd@gnu.org>
14256
14257 * simple.el (end-of-visible-line): Handle return value of
14258 next-single-property-change properly (Bug#9371).
14259
14260 2012-03-22 Kenichi Handa <handa@m17n.org>
14261
14262 * international/quail.el (quail-insert-kbd-layout): Fix previous
14263 change. To avoid unwanted bidi reordering, use
14264 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14265
14266 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14267
14268 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14269 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14270 (ruby-beginning-of-indent): Be more careful with the difference
14271 between word-boundary and symbol boundary.
14272 (ruby-mode-syntax-table): Make : a symbol constituent.
14273
14274 2012-03-21 Andreas Politz <politza@fh-trier.de>
14275
14276 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14277
14278 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14279
14280 * progmodes/etags.el (tags-completion-at-point-function):
14281 Improve last fix.
14282
14283 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14284
14285 2012-03-21 Sam Steingold <sds@gnu.org>
14286
14287 * progmodes/etags.el (tags-completion-at-point-function):
14288 Avoid the error when point is inside the pattern.
14289
14290 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14291
14292 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14293 line (Bug#10855).
14294
14295 2012-03-21 Drew Adams <drew.adams@oracle.com>
14296
14297 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14298
14299 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14300
14301 * ido.el (ido-set-current-directory, ido-read-internal)
14302 (ido-choose-completion-string, ido-completion-help): Handle nil
14303 value of ido-completion-buffer (Bug#11008).
14304
14305 2012-03-21 Sam Steingold <sds@gnu.org>
14306
14307 * window.el (switch-to-prev-buffer): Do not switch to a visible
14308 window previous buffer, just like with the frame previous buffers.
14309
14310 2012-03-21 Chong Yidong <cyd@gnu.org>
14311
14312 * faces.el (make-face, make-empty-face, copy-face):
14313 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14314 Doc fixes.
14315
14316 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14317
14318 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14319 (widget-complete): Remove broken use of it.
14320
14321 2012-03-20 Chong Yidong <cyd@gnu.org>
14322
14323 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14324 Use string-width and truncate-string-width to handle arbitrary
14325 characters.
14326
14327 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14328
14329 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14330 to draw rectangles, not squares. (Regression introduced by revno
14331 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14332
14333 2012-03-18 Chong Yidong <cyd@gnu.org>
14334
14335 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14336 it is not yet defined (for temacs).
14337
14338 2012-03-18 Leo Liu <sdl.web@gmail.com>
14339
14340 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14341 prefix.
14342
14343 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14344
14345 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14346 (ispell-choices-win-default-height, ispell-silently-savep)
14347 (ispell-dictionary-alist, ispell-encoding8-command)
14348 (ispell-check-version, ispell-aspell-find-dictionary)
14349 (ispell-valid-dictionary-list, ispell-words-keyword)
14350 (ispell-get-word, ispell-internal-change-dictionary)
14351 (ispell-region, ispell-skip-region-list)
14352 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14353 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14354 (ispell-message-text-end, ispell-message)
14355 (ispell-buffer-local-parsing): Doc fix.
14356
14357 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14358
14359 * htmlfontify.el: Add support for code block fontification for ODT
14360 export (Bug #9914).
14361 (hfy-optimisations): Define new option
14362 `body-text-only'
14363 (hfy-fontify-buffer): Honor above setting.
14364 (hfy-begin-span, hfy-end-span): New routines factored out form
14365 `hfy-fontify-buffer'.
14366 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14367 that permit insertion of custom tags.
14368 (hfy-fontify-buffer): Use above handlers.
14369 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14370 (hfy-face-to-css): Re-defined to be a variable.
14371 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14372 over multiple runs. This is made possible by having the caller let
14373 bind a special variable `hfy-user-sheet-assoc'.
14374 (htmlfontify-string): New defun.
14375 (hfy-compile-face-map): Make sure that the last char in the
14376 buffer is correctly fontified.
14377 (hfy-face-resolve-face): Whitespace only change.
14378
14379 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14380
14381 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14382 message more clear.
14383
14384 2012-03-16 Leo Liu <sdl.web@gmail.com>
14385
14386 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14387
14388 2012-03-16 Alan Mackenzie <acm@muc.de>
14389
14390 Further optimize the handling of large macros.
14391
14392 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14393 limit to a call of `c-literal-limits'.
14394 (c-determine-+ve-limit): New function.
14395 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14396 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14397 In CASE 5B, restrict a search limit to 500.
14398 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14399
14400 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14401 Restrict macro bounds to +-500 from after-change's BEG END.
14402
14403 2012-03-16 Leo Liu <sdl.web@gmail.com>
14404
14405 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14406
14407 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14408
14409 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14410 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14411
14412 2012-03-16 Glenn Morris <rgm@gnu.org>
14413
14414 * view.el (view-buffer, view-buffer-other-window)
14415 (view-buffer-other-frame): Doc fixes re special mode-class.
14416
14417 * subr.el (eval-after-load): If named feature is provided not from
14418 a file, run after-load forms. (Bug#10946)
14419
14420 * calendar/calendar.el (calendar-insert-at-column):
14421 Handle non-unit-width characters a bit better. (Bug#10978)
14422
14423 2012-03-15 Chong Yidong <cyd@gnu.org>
14424
14425 * emacs-lisp/ring.el (ring-extend): New function.
14426 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14427
14428 * comint.el (comint-read-input-ring)
14429 (comint-add-to-input-history): Grow comint-input-ring lazily.
14430
14431 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14432
14433 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14434 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14435
14436 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14437 (imenu-add-to-menubar): Don't add a redundant index.
14438 (imenu-update-menubar): Handle a dynamically composed keymap.
14439
14440 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14441
14442 * mail/sendmail.el (mail-encode-header):
14443 Bind rfc2047-encode-encoded-words to nil.
14444
14445 2012-03-13 Glenn Morris <rgm@gnu.org>
14446
14447 * calendar/calendar.el (calendar-string-spread):
14448 Handle non-unit-width characters a bit better. (Bug#10978)
14449
14450 2012-03-13 Leo Liu <sdl.web@gmail.com>
14451
14452 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14453 directory and file as argument (Bug#10822).
14454
14455 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14456
14457 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14458 For dynamically generated code, follow $PC.
14459 (gdb-disassembly-handler-custom): Handle no function name case.
14460
14461 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14462
14463 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14464 * emulation/ws-mode.el (ws-query-replace):
14465 * sort.el (sort-regexp-fields):
14466 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14467
14468 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14469
14470 * dabbrev.el: Fix cycle completion order (bug#10963).
14471 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14472 (dabbrev-completion): Don't use an obarray; provide
14473 a cycle-sort-function.
14474
14475 2012-03-12 Leo Liu <sdl.web@gmail.com>
14476
14477 * simple.el (kill-new): Use equal-including-properties for comparison.
14478 (kill-do-not-save-duplicates): Doc fix.
14479
14480 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14481
14482 * dabbrev.el: Fix cycle completion (bug#10963).
14483 Use lexical binding and wrap to 80 columns.
14484 (dabbrev-completion): Delay computing the list of completions.
14485
14486 2012-03-12 Kenichi Handa <handa@m17n.org>
14487
14488 * international/quail.el (quail-insert-kbd-layout): Surround each
14489 row by LRO and PDF instead of inserting many LRMs. Pad the left
14490 and right of each non-spacing marks. Insert invisible space
14491 between lower and upper characters to prevent composition.
14492
14493 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 * minibuffer.el (minibuffer-complete): Don't get confused when the
14496 function is run twice via different commands (bug#10958).
14497 (complete-with-action): Fix docstring.
14498
14499 2012-03-12 Chong Yidong <cyd@gnu.org>
14500
14501 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14502 (nxml-completion-at-point-function): New function.
14503 (nxml-mode): Use it.
14504 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14505
14506 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14507 Load generated autoloads file before byte compiling (Bug#10970).
14508 (package--make-autoloads-and-compile): New helper fun.
14509
14510 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14511
14512 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14513
14514 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14515
14516 * autorevert.el (auto-revert-handler): Ensure, that
14517 file-readable-p is applied only for local files or in
14518 auto-revert-tail-mode.
14519
14520 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14521
14522 * server.el (server-eval-at): Handle non-tcp connections.
14523 Decode result string.
14524
14525 * server.el (server-msg-size): New constant.
14526 (server-reply-print): New function.
14527 (server-eval-and-print): Use it.
14528 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14529 Handle -print-nonl.
14530
14531 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14532
14533 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14534 (Bug#10987).
14535
14536 2012-03-11 Chong Yidong <cyd@gnu.org>
14537
14538 * simple.el (goto-line): Doc fix (Bug#9938).
14539
14540 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14541
14542 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14543 when finished (Bug#10963).
14544
14545 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14546
14547 * window.el (split-window-below): Fix bug in case where
14548 split-window-keep-point is nil (Bug#10971).
14549
14550 2012-03-11 Juri Linkov <juri@jurta.org>
14551
14552 * replace.el (replace-highlight): Set isearch-word to nil
14553 unconditionally. (Bug#10887)
14554
14555 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14556
14557 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14558 mairix-replace-illegal-chars; all callers changed. Don't remove
14559 ^, ~, and = characters: they are meaningful in mairix search specs.
14560 (mairix-widget-create-query): Add usage information about mairix
14561 search forms: negating words, searching for substrings, etc.
14562
14563 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14564
14565 * international/fontset.el (font-encoding-alist): Add an entry for
14566 ksx1001 (Bug#5667).
14567
14568 2012-03-10 Richard Stallman <rms@gnu.org>
14569
14570 * mail/sendmail.el (mail-encode-header):
14571 Set rfc2047-encode-encoded-words.
14572
14573 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14574
14575 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14576 view buffer means not swapped.
14577 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14578 (rmail-write-region-annotate): Error if real text has disappeared.
14579
14580 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14581
14582 2012-03-10 Chong Yidong <cyd@gnu.org>
14583
14584 * emulation/cua-rect.el (cua--init-rectangles):
14585 * emulation/cua-base.el (cua--init-keymaps):
14586 Add delete-forward-char to remappings (Bug#9666).
14587
14588 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14589
14590 * speedbar.el (speedbar-unhighlight-one-tag-line):
14591 Avoid unhighlighting due to frame switching (Bug#10275).
14592
14593 2012-03-10 Chong Yidong <cyd@gnu.org>
14594
14595 * minibuffer.el (completion-in-region, completion-help-at-point):
14596 Give the completion field overlay a high priority (Bug#6830).
14597
14598 * dired.el (dired-goto-file): Recognize absolute file name
14599 listings (Bug#7126).
14600 (dired-goto-file-1): New helper function.
14601 (dired-toggle-read-only): Inhibit warnings.
14602
14603 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14604
14605 * net/dbus.el (dbus-property-handler): Return empty array if
14606 there are no properties.
14607
14608 2012-03-09 Leo Liu <sdl.web@gmail.com>
14609
14610 * savehist.el (savehist-printable): Stricter check for string
14611 value (Bug#10937).
14612
14613 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14614
14615 * mail/smtpmail.el (smtpmail-send-it):
14616 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14617 valid mbox format.
14618
14619 2012-03-09 Glenn Morris <rgm@gnu.org>
14620
14621 * files.el (dir-locals-find-file):
14622 Don't check result is regular, readable.
14623 (dir-locals-read-from-file): Demote errors.
14624
14625 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14626
14627 * international/quail.el (quail-insert-kbd-layout):
14628 Insert invisible LRM characters before each character in a keyboard
14629 layout cell, to prevent their reordering by bidi display engine.
14630 For details, see the discussion in
14631 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14632
14633 2012-03-08 Alan Mackenzie <acm@muc.de>
14634
14635 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14636 the starting position; make it extend the marked region when
14637 invoked repeatedly - all under appropriate circumstances.
14638 Fixes bugs #5525, #10906.
14639
14640 2012-03-08 Glenn Morris <rgm@gnu.org>
14641
14642 * files.el (locate-dominating-file, dir-locals-find-file):
14643 Undo 2012-03-06 change.
14644
14645 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14646
14647 * international/quail.el (quail-help):
14648 Force bidi-paragraph-direction be left-to-right. See discussion in
14649 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14650 for the reason.
14651
14652 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14653
14654 Avoid superfluous registering of signals. (Bug#10807)
14655
14656 * notifications.el (notifications-on-action-object)
14657 (notifications-on-close-object): New defvars.
14658 (notifications-on-action-signal, notifications-on-closed-signal):
14659 Unregister the signal if not needed any longer.
14660 (notifications-notify): Register `notifications-action-signal' or
14661 `notifications-closed-signal', if :on-action or :on-close has been
14662 passed as argument.
14663
14664 2012-03-07 Chong Yidong <cyd@gnu.org>
14665
14666 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14667 non-X platforms.
14668
14669 2012-03-06 Glenn Morris <rgm@gnu.org>
14670
14671 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14672 (x-disown-selection-internal, x-get-selection-internal):
14673 Doc fix (add arglist signatures). (Bug#10783)
14674
14675 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14676
14677 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14678 Handle breakpoints with no "type".
14679
14680 2012-03-06 Glenn Morris <rgm@gnu.org>
14681
14682 * files.el (locate-dominating-file): Add optional predicate argument.
14683 (dir-locals-find-file): Make use of above change.
14684
14685 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14686
14687 * info.el (Info-insert-dir): Also try "dir.gz".
14688
14689 2012-03-06 Glenn Morris <rgm@gnu.org>
14690
14691 * files.el (dir-locals-find-file):
14692 Ignore non-readable or non-regular files. (Bug#10928)
14693
14694 * files.el (locate-dominating-file): Doc fix.
14695
14696 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14697
14698 * calendar/calendar.el (calendar-set-mode-line):
14699 `getenv' returns a string. (Bug#10951)
14700
14701 2012-03-05 Leo Liu <sdl.web@gmail.com>
14702
14703 * simple.el (backward-delete-char-untabify): Constrain point to
14704 field (Bug#10939).
14705
14706 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14707
14708 2012-03-05 Chong Yidong <cyd@gnu.org>
14709
14710 * simple.el (count-words): If called from Lisp, return the word
14711 count, for symmetry with `count-lines'. Arglist changed.
14712 (count-words--message): Args changed. Consolidate counting code
14713 from count-words and count-words-region.
14714 (count-words-region): Caller changed.
14715 (count-lines-region): Make it an obsolete alias.
14716
14717 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14718
14719 * saveplace.el (save-place-to-alist)
14720 (save-place-ignore-files-regexp): Allow value nil to disable this
14721 feature.
14722
14723 2012-03-04 Chong Yidong <cyd@gnu.org>
14724
14725 * faces.el (face-spec-reset-face): For the default face, reset the
14726 attributes to default values (Bug#10748).
14727
14728 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14729
14730 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14731 previous patch: Check `message-send-mail-function', and not the
14732 default function (bug#10897).
14733
14734 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14735
14736 * notifications.el (notifications-on-action-signal)
14737 (notifications-on-closed-signal): Check for unique service name of
14738 incoming event. Fix error in removing entry.
14739 (top): Register for signals with wildcard service name.
14740 (notifications-notify): Use daemon unique service name for map entries.
14741
14742 2012-03-04 Chong Yidong <cyd@gnu.org>
14743
14744 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14745
14746 2012-03-04 Glenn Morris <rgm@gnu.org>
14747
14748 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14749 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14750 (expand-abbrev, define-abbrev-table): Doc fixes.
14751
14752 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14753
14754 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14755 `message-default-send-mail-function' and not `send-mail-function'
14756 when doing the prompting for `sendmail-query-once' before sending
14757 in Message buffers (bug#10897).
14758
14759 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14760 This is inconsistent with all the other stream functions, which leave
14761 the setting up to the higher levels (if so wanted) (bug#10931).
14762
14763 2012-03-02 Alan Mackenzie <acm@muc.de>
14764
14765 Depessimize the handling of very large macros.
14766
14767 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14768 (c-macro-cache-syntactic): New variables to implement a one
14769 element macro cache.
14770 (c-invalidate-macro-cache): New function.
14771 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14772 Adapt to use the new cache.
14773 (c-state-safe-place): Use better the cache of safe positions.
14774 (c-state-semi-nonlit-pos-cache)
14775 (c-state-semi-nonlit-pos-cache-limit):
14776 New variables for...
14777 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14778 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14779 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14780 Use c-state-semi-safe-place.
14781
14782 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14783 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14784
14785 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14786
14787 * jka-compr.el (jka-compr-call-process):
14788 Apply `file-accessible-directory-p' only when the default directory is
14789 not remote.
14790
14791 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14792
14793 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14794 access of FILE2, if FILE1 does not exist.
14795
14796 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14797 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14798
14799 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14800 Add "PAGER=" to `process-environment'.
14801
14802 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14803
14804 * progmodes/sql.el: Bug fix
14805 (sql-get-login-ext): Save login values in globals.
14806 (sql-get-login): Use new version of `sql-get-login-ext'.
14807 (sql-interactive-mode): Set global `sql-connection' to nil.
14808 (sql-connect): Set global values for connection.
14809 (sql-product-interactive): Save global values as buffer local.
14810
14811 2012-02-29 Leo Liu <sdl.web@gmail.com>
14812
14813 * abbrev.el (define-abbrevs): Reset sys to nil.
14814
14815 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14816
14817 * files.el (file-equal-p): Rename from `files-equal-p'.
14818 Return nil when one or both files don't exist.
14819 (file-subdir-of-p): Now only top directory must exists,
14820 return nil if it doesn't.
14821 (copy-directory): No need to test with `file-subdir-of-p' after
14822 creating dir.
14823 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14824 to `file-equal-p'.
14825
14826 2012-02-28 Glenn Morris <rgm@gnu.org>
14827
14828 * shell.el (shell-mode):
14829 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14830 * play/landmark.el (landmark-font-lock-face-O):
14831 * play/handwrite.el (handwrite):
14832 * play/gomoku.el (gomoku-O):
14833 * net/browse-url.el (browse-url-browser-display):
14834 * international/mule.el (define-charset):
14835 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14836 * filesets.el (filesets-find-file-delay):
14837 * eshell/em-xtra.el (eshell-xtra):
14838 * eshell/em-unix.el (eshell-grep):
14839 * emulation/viper.el (viper-mode):
14840 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14841 * emacs-lisp/easymenu.el (easy-menu-define):
14842 * calendar/timeclock.el (timeclock-use-display-time):
14843 * bs.el (bs-mode):
14844 * bookmark.el (bookmark-save-flag):
14845 Doc fix (standardize possessive apostrophe usage).
14846
14847 2012-02-27 Chong Yidong <cyd@gnu.org>
14848
14849 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14850 Fix key-binding lookup for ESC key (Bug#9146).
14851
14852 * font-lock.el (font-lock-specified-p): Rename from
14853 font-lock-spec-present. Callers changed.
14854
14855 2012-02-27 Daniel Hackney <dan@haxney.org>
14856
14857 * emacs-lisp/package.el (package-compute-transaction):
14858 Handle holding a package version to t in package-load-list.
14859
14860 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14861
14862 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14863 (tramp-get-inode, tramp-get-device): Use cached values.
14864
14865 2012-02-26 Alan Mackenzie <acm@muc.de>
14866
14867 Check there is a font-lock specification before doing initial
14868 fontification.
14869
14870 * font-core.el (font-lock-mode): Move the conditional from
14871 :after-hook to font-lock-initial-fontify.
14872 (font-lock-default-function): Move the check for a specification
14873 to font-lock-spec-present.
14874
14875 * font-lock.el (font-lock-initial-fontify): Call ...
14876 (font-lock-spec-present): New function.
14877
14878 2012-02-26 Jim Blandy <jimb@red-bean.com>
14879
14880 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14881 (gdb-send): Apply it to the operand of the '-interpreter-exec
14882 console' command, so that we can pass arguments with (say) quotes
14883 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14884
14885 2012-02-26 Chong Yidong <cyd@gnu.org>
14886
14887 * help-fns.el (describe-function-1): Clarify description of
14888 remapping (Bug#10844).
14889
14890 * files.el (files-equal-p): Doc fix.
14891 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14892 and quit the loop once a mismatch is found.
14893
14894 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14895
14896 * bs.el (bs--show-with-configuration): Don't throw an error
14897 if the window cannot be split; otherwise, subsequent calls to
14898 bs-show fail, restoring a stale window config. (Bug#10882)
14899
14900 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14901
14902 * term/ns-win.el (global-map): Bind ns-drag-file to
14903 ns-find-file (Bug#5855, Bug#10050).
14904
14905 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14906
14907 * calendar/parse-time.el (parse-time-string): Allow extractor to
14908 return nil.
14909
14910 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14911
14912 * net/tramp.el (tramp-file-name-for-operation):
14913 Add `files-equal-p' and `file-subdir-of-p'.
14914
14915 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14916 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14917 Add COPY-CONTENTS argument.
14918
14919 2012-02-25 Chong Yidong <cyd@gnu.org>
14920
14921 Add custom groups for VC backends, for consistency with vc-bzr.
14922
14923 * vc/vc-arch.el (vc-arch):
14924 * vc/vc-cvs.el (vc-cvs):
14925 * vc/vc-git.el (vc-git):
14926 * vc/vc-hg.el (vc-hg):
14927 * vc/vc-mtn.el (vc-mtn):
14928 * vc/vc-rcs.el (vc-rcs):
14929 * vc/vc-sccs.el (vc-sccs):
14930 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14931 All relevant defcustoms reassigned.
14932
14933 2012-02-25 Chong Yidong <cyd@gnu.org>
14934
14935 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14936
14937 * term/x-win.el (x-initialize-window-system): Reduce default for
14938 x-selection-timeout to 5 seconds (Bug#8869).
14939
14940 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14941
14942 * files.el (files-equal-p, file-subdir-of-p): New functions.
14943 (copy-directory): Error when trying to copy a directory on itself.
14944 Add missing copy-contents arg to tramp handler.
14945 * dired-aux.el (dired-copy-file-recursive): Same.
14946 (dired-create-files): Modify destination when source is equal to
14947 dest when copying files.
14948 Return also when dest is a subdir of source. (Bug#10489)
14949
14950 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14951
14952 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14953 (Bug#10874)
14954
14955 2012-02-23 Alan Mackenzie <acm@muc.de>
14956
14957 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14958 parameter "after-hook:" to allow the expansion to run code after
14959 the execution of the mode hooks.
14960
14961 * font-lock.el (font-lock-initial-fontify): New function extracted
14962 from font-lock-mode-internal.
14963
14964 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14965 :after-hook.
14966
14967 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14968
14969 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14970 (completion--cache-all-sorted-completions): New function.
14971 (completion-all-sorted-completions): Use it.
14972 (completion--do-completion, minibuffer-force-complete):
14973 Use it to re-instate the flush hook.
14974
14975 * icomplete.el (icomplete-completions): Replace last fix with a better
14976 one (bug#10850).
14977
14978 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14979
14980 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14981 when it might call us back infinitely (bug#10797).
14982
14983 2012-02-23 Glenn Morris <rgm@gnu.org>
14984
14985 * minibuffer.el (completion-category-overrides): Doc fix.
14986
14987 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14988
14989 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14990 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14991
14992 2012-02-23 Glenn Morris <rgm@gnu.org>
14993
14994 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14995 (authors-obsolete-files-regexps, authors-ignored-files)
14996 (authors-ambiguous-files, authors-renamed-files-alist):
14997 Add more entries.
14998
14999 2012-02-23 Juri Linkov <juri@jurta.org>
15000
15001 * isearch.el (isearch-occur): Sync interactive spec with occur's
15002 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15003
15004 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15005
15006 2012-02-22 Juri Linkov <juri@jurta.org>
15007
15008 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15009 (ucs-insert): Doc fix. Check for hex digits in the string.
15010 Don't display `nil' in the error message. (Bug#10857)
15011
15012 2012-02-22 Alan Mackenzie <acm@muc.de>
15013
15014 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15015
15016 2012-02-22 Glenn Morris <rgm@gnu.org>
15017
15018 * ffap.el (ffap-c-path):
15019 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15020
15021 2012-02-22 Chong Yidong <cyd@gnu.org>
15022
15023 * custom.el (load-theme): Doc fix.
15024
15025 2012-02-22 Glenn Morris <rgm@gnu.org>
15026
15027 * dired-x.el (dired-guess-shell-alist-default):
15028 Remove escape sequences from nroff output. (Bug#172)
15029
15030 2012-02-21 Glenn Morris <rgm@gnu.org>
15031
15032 * vc/emerge.el (emerge-defvar-local):
15033 Set `permanent-local' property rather than unused `preserved'.
15034
15035 * textmodes/picture.el (picture-delete-char): New alias.
15036 (picture-mode-map): Use it. (Bug#10860)
15037 (picture-mode): Doc fix.
15038
15039 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15040
15041 * newcomment.el (uncomment-region-default): Remove unused binding.
15042
15043 2012-02-21 Glenn Morris <rgm@gnu.org>
15044
15045 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15046 (picture-self-insert, picture-tab-chars): Doc fix.
15047 (picture-mode-map): Fix C-a, C-e.
15048
15049 2012-02-20 Glenn Morris <rgm@gnu.org>
15050
15051 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15052
15053 2012-02-20 Leo Liu <sdl.web@gmail.com>
15054
15055 * icomplete.el (icomplete-completions): Check FROM arg before
15056 passing to substring (Bug#10850).
15057
15058 2012-02-19 Chong Yidong <cyd@gnu.org>
15059
15060 * comint.el: Require ansi-color.
15061 (comint-output-filter-functions): Add ansi-color-process-output.
15062
15063 * ansi-color.el: Don't set comint-output-filter-functions; it is
15064 now in the initial value defined in comint.el.
15065 (ansi-color-apply-face-function): New variable.
15066 (ansi-color-apply-on-region): Use it.
15067 (ansi-color-apply-overlay-face): New function.
15068
15069 * shell.el (shell): No need to require ansi-color.
15070 (shell-mode): Use ansi-color-apply-face-function to highlight
15071 color escapes using font-lock-face property (Bug#10835).
15072
15073 2012-02-19 Chong Yidong <cyd@gnu.org>
15074
15075 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15076 mode-line formats (Bug#10839).
15077
15078 2012-02-18 Glenn Morris <rgm@gnu.org>
15079
15080 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15081
15082 * mail/undigest.el (unforward-rmail-message): Doc fix.
15083
15084 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15085
15086 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15087
15088 * international/characters.el (script-list): Sync with the latest
15089 Unicode Character Database.
15090
15091 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15092
15093 * international/titdic-cnv.el: Remove duplicate coding tag.
15094 * language/cham.el: Likewise.
15095 * language/tai-viet.el: Likewise.
15096
15097 2012-02-18 Glenn Morris <rgm@gnu.org>
15098
15099 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15100 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15101 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15102 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15103 * calendar/holidays.el (holiday-bahai-holidays)
15104 (calendar-holidays, list-holidays):
15105 Use utf-8 Bahá'í in doc-strings, menus, etc.
15106
15107 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15108
15109 * saveplace.el (save-place-ignore-files-regexp): New variable
15110 allowing for excluding files from saving their location of point.
15111 The default value matches the temporary commit message editing
15112 files from Git, SVN, Bazaar, and Mercurial.
15113 (save-place-to-alist): Use it.
15114
15115 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15116 Stefan Monnier <monnier@iro.umontreal.ca>
15117
15118 * newcomment.el (uncomment-region-default): Don't leave extra space
15119 when an arg is provided (bug#8150).
15120
15121 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15122
15123 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15124
15125 2012-02-17 Glenn Morris <rgm@gnu.org>
15126
15127 * net/socks.el: Require network-stream. (Bug#10599)
15128
15129 2012-02-17 Kenichi Handa <handa@m17n.org>
15130
15131 * international/charprop.el:
15132 * international/uni-name.el:
15133 * international/uni-old-name.el:
15134 * international/uni-comment.el: Regenerate.
15135
15136 2012-02-16 Glenn Morris <rgm@gnu.org>
15137
15138 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15139 Interactively in calendar buffer, give an error if not on a date.
15140
15141 2012-02-15 Glenn Morris <rgm@gnu.org>
15142
15143 * shell.el (shell-delimiter-argument-list):
15144 Revert 2011-02-17 change. (Bug#8027)
15145
15146 2012-02-15 Chong Yidong <cyd@gnu.org>
15147
15148 * minibuffer.el (completion-at-point-functions): Doc fix.
15149
15150 * custom.el (defcustom): Doc fix; note use of defvar.
15151
15152 2012-02-15 Glenn Morris <rgm@gnu.org>
15153
15154 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15155 Doc fixes.
15156
15157 2012-02-14 Glenn Morris <rgm@gnu.org>
15158
15159 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15160
15161 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15162
15163 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15164 way the ports list is computed.
15165 (smtpmail-query-smtp-server): Prompt the user for a port number if
15166 we can't connect to any of the standard ports (bug#10810).
15167
15168 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15169
15170 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15171
15172 2012-02-13 Glenn Morris <rgm@gnu.org>
15173
15174 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15175
15176 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15177
15178 * net/gnutls.el (gnutls-trustfiles): New variable.
15179 (gnutls-negotiate): Use it.
15180
15181 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15182
15183 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15184 does its stuff if Gnus is running.
15185
15186 2012-02-13 Alan Mackenzie <acm@muc.de>
15187
15188 Fix a loop in c-set-fl-decl-start.
15189
15190 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15191 c-backward-syntactic-ws actually moves backwards.
15192
15193 2012-02-13 Leo Liu <sdl.web@gmail.com>
15194
15195 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15196 beginning so that all \C-o chars are removed.
15197
15198 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15199
15200 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15201
15202 2012-02-12 Alan Mackenzie <acm@muc.de>
15203
15204 Fix infinite loop with long macros.
15205 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15206
15207 2012-02-12 Chong Yidong <cyd@gnu.org>
15208
15209 * window.el (display-buffer): Doc fix (Bug#10785).
15210
15211 2012-02-12 Glenn Morris <rgm@gnu.org>
15212
15213 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15214 (x-disown-selection-internal, x-get-selection-internal):
15215 Sync docs with the xselect.c versions.
15216
15217 * allout-widgets.el: Add missing license notice.
15218
15219 2012-02-11 Glenn Morris <rgm@gnu.org>
15220
15221 * select.el (x-get-selection-internal, x-own-selection-internal)
15222 (x-disown-selection-internal):
15223 * x-dnd.el (x-get-selection-internal): Update declarations.
15224
15225 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15226
15227 * window.el (window-sides-slots):
15228 * tool-bar.el (tool-bar-position):
15229 * term/xterm.el (xterm-extra-capabilities):
15230 * ses.el (ses-self-reference-early-detection):
15231 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15232 (verilog-auto-wire-type)
15233 (verilog-auto-delete-trailing-whitespace)
15234 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15235 (verilog-auto-tieoff-declaration):
15236 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15237 (sql-oracle-statement-starters, sql-oracle-scan-on):
15238 * progmodes/prolog.el (prolog-align-comments-flag)
15239 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15240 (prolog-left-indent-regexp, prolog-paren-indent-p)
15241 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15242 (prolog-types, prolog-mode-specificators)
15243 (prolog-determinism-specificators, prolog-directives)
15244 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15245 (prolog-electric-dot-flag)
15246 (prolog-electric-dot-full-predicate-template)
15247 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15248 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15249 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15250 (prolog-program-switches, prolog-prompt-regexp)
15251 (prolog-debug-on-string, prolog-debug-off-string)
15252 (prolog-trace-on-string, prolog-trace-off-string)
15253 (prolog-zip-on-string, prolog-zip-off-string)
15254 (prolog-use-standard-consult-compile-method-flag)
15255 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15256 (prolog-imenu-max-lines, prolog-info-predicate-index)
15257 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15258 (prolog-char-quote-workaround):
15259 * progmodes/cc-vars.el (c-defun-tactic):
15260 * net/tramp.el (tramp-encoding-command-interactive)
15261 (tramp-local-end-of-line):
15262 * net/soap-client.el (soap-client):
15263 * net/netrc.el (netrc-file):
15264 * net/gnutls.el (gnutls):
15265 * minibuffer.el (completion-category-overrides)
15266 (completion-cycle-threshold)
15267 (completion-pcm-complete-word-inserts-delimiters):
15268 * man.el (Man-name-local-regexp):
15269 * mail/feedmail.el (feedmail-display-full-frame):
15270 * international/characters.el (glyphless-char-display-control):
15271 * eshell/em-ls.el (eshell-ls-date-format):
15272 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15273 (lisp-lambda-list-keyword-parameter-indentation)
15274 (lisp-lambda-list-keyword-parameter-alignment):
15275 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15276 * dired-x.el (dired-omit-verbose):
15277 * cus-theme.el (custom-theme-allow-multiple-selections):
15278 * calc/calc.el (calc-highlight-selections-with-faces)
15279 (calc-lu-field-reference, calc-lu-power-reference)
15280 (calc-note-threshold):
15281 * battery.el (battery-mode-line-limit):
15282 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15283 (archive-7z-update):
15284 * allout.el (allout-prefixed-keybindings)
15285 (allout-unprefixed-keybindings)
15286 (allout-inhibit-auto-fill-on-headline)
15287 (allout-flattened-numbering-abbreviation):
15288 * allout-widgets.el (allout-widgets-auto-activation)
15289 (allout-widgets-icons-dark-subdir)
15290 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15291 (allout-widgets-theme-dark-background)
15292 (allout-widgets-theme-light-background)
15293 (allout-widgets-item-image-properties-emacs)
15294 (allout-widgets-item-image-properties-xemacs)
15295 (allout-widgets-run-unit-tests-on-load)
15296 (allout-widgets-time-decoration-activity)
15297 (allout-widgets-hook-error-post-time)
15298 (allout-widgets-track-decoration):
15299 Add missing :version tags to new defcustoms and defgroups.
15300
15301 * progmodes/sql.el (sql-ansi-statement-starters)
15302 (sql-oracle-statement-starters): Add custom type.
15303
15304 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15305 (prolog-system-version): Give it a type.
15306
15307 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15308
15309 * term/pc-win.el (x-select-text, x-selection-owner-p)
15310 (x-own-selection-internal, x-disown-selection-internal)
15311 (x-get-selection-internal): Sync doc strings and argument lists
15312 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15313
15314 2012-02-11 Leo Liu <sdl.web@gmail.com>
15315
15316 * progmodes/python.el (python-end-of-statement): Fix infinite
15317 loop. (Bug#10788)
15318
15319 2012-02-10 Glenn Morris <rgm@gnu.org>
15320
15321 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15322 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15323
15324 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15325
15326 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15327 about SMTP before checking the From header.
15328
15329 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15330 into own function for reuse by emacsbug.el.
15331
15332 2012-02-10 Leo Liu <sdl.web@gmail.com>
15333
15334 * subr.el (condition-case-unless-debug): Rename from
15335 condition-case-no-debug. All callers changed.
15336 (with-demoted-errors): Fix caller.
15337
15338 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15339 * nxml/rng-valid.el (rng-do-some-validation):
15340 * emacs-lisp/package.el (package-refresh-contents)
15341 (package-menu-execute):
15342 * desktop.el (desktop-create-buffer):
15343 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15344
15345 2012-02-10 Glenn Morris <rgm@gnu.org>
15346
15347 * textmodes/bibtex.el:
15348 Add missing :version tags for new/changed defcustoms.
15349
15350 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15351
15352 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15353
15354 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15355 (smtpmail-via-smtp): Use it, or fall back on the From address.
15356 (smtpmail-send-it): Ditto.
15357
15358 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15359
15360 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15361 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15362 (byte-compile-tmp-var): New const.
15363 (byte-compile-defvar): Use it to minimize .elc size.
15364 Just use `defvar' rather than simulate it (bug#10761).
15365
15366 2012-02-09 Glenn Morris <rgm@gnu.org>
15367
15368 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15369
15370 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15371 Add :version tags.
15372
15373 * progmodes/compile.el (compilation-error-screen-columns)
15374 (compilation-first-column, compilation-filter-start): Doc fixes.
15375
15376 * vc/log-view.el (log-view-toggle-entry-display):
15377 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15378
15379 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15380 (report-emacs-bug-can-use-xdg-email):
15381 (report-emacs-bug-insert-to-mailer): Doc fixes.
15382 (report-emacs-bug): Message fix.
15383
15384 * net/browse-url.el (browse-url-can-use-xdg-open)
15385 (browse-url-xdg-open): Doc fixes.
15386
15387 * electric.el (electric-indent-mode, electric-pair-mode)
15388 (electric-layout-rules, electric-layout-mode): Doc fixes.
15389 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15390
15391 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15392
15393 * server.el (server-unselect-display): Don't inadvertently kill
15394 the current buffer. (Bug#10729)
15395
15396 2012-02-08 Glenn Morris <rgm@gnu.org>
15397
15398 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15399 (sql-list-table): Doc fixes.
15400
15401 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15402 Comment out (does nothing).
15403
15404 * completion.el (dynamic-completion-mode):
15405 * dirtrack.el (dirtrack-debug-mode):
15406 * electric.el (electric-layout-mode):
15407 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15408 * face-remap.el (text-scale-mode, buffer-face-mode):
15409 * iimage.el (iimage-mode):
15410 * image-mode.el (image-transform-mode):
15411 * minibuffer.el (completion-in-region-mode):
15412 * scroll-lock.el (scroll-lock-mode):
15413 * simple.el (next-error-follow-minor-mode):
15414 * tar-mode.el (tar-subfile-mode):
15415 * tooltip.el (tooltip-mode):
15416 * vcursor.el (vcursor-use-vcursor-map):
15417 * wid-browse.el (widget-minor-mode):
15418 * emulation/tpu-edt.el (tpu-edt-mode):
15419 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15420 * international/iso-ascii.el (iso-ascii-mode):
15421 * language/thai-util.el (thai-word-mode):
15422 * mail/supercite.el (sc-minor-mode):
15423 * net/goto-addr.el (goto-address-mode):
15424 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15425 * progmodes/cwarn.el (cwarn-mode):
15426 * progmodes/flymake.el (flymake-mode):
15427 * progmodes/glasses.el (glasses-mode):
15428 * progmodes/hideshow.el (hs-minor-mode):
15429 * progmodes/pascal.el (pascal-outline-mode):
15430 * textmodes/enriched.el (enriched-mode):
15431 * vc/smerge-mode.el (smerge-mode):
15432 Doc fixes (minor mode argument).
15433
15434 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15435
15436 * ls-lisp.el (ls-lisp-sanitize): New function.
15437 (ls-lisp-insert-directory): Use it to fix or remove any elements
15438 in file-alist with missing attributes. (Bug#4673)
15439
15440 2012-02-07 Alan Mackenzie <acm@muc.de>
15441
15442 Fix spurious recognition of c-in-knr-argdecl.
15443
15444 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15445 putative K&R region.
15446
15447 2012-02-07 Alan Mackenzie <acm@muc.de>
15448
15449 * progmodes/cc-engine.el (c-forward-objc-directive):
15450 Prevent looping in "#pragma mark @implementation".
15451
15452 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15453
15454 * notifications.el (notifications-on-closed-signal): Make `reason'
15455 optional. (Bug#10744)
15456
15457 2012-02-07 Glenn Morris <rgm@gnu.org>
15458
15459 * emacs-lisp/easy-mmode.el (define-minor-mode):
15460 Doc fixes for the macro and the mode it defines.
15461
15462 * image.el (imagemagick-types-inhibit): Doc fix.
15463
15464 * cus-start.el (imagemagick-render-type): Add it.
15465
15466 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15467
15468 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15469 Set the default at load time, too, so that `font-lock-fontify-buffer'
15470 can be called without setting up the entire mode first. This fixes
15471 a bug in `mm-inline-text' with C MIME parts.
15472
15473 2012-02-06 Chong Yidong <cyd@gnu.org>
15474
15475 * simple.el (list-processes--refresh): Delete exited processes
15476 (Bug#8094).
15477
15478 * comint.el (comint-next-prompt): next-single-char-property-change
15479 and prev-single-char-property-change never return nil (Bug#8657).
15480
15481 * custom.el (defcustom): Doc fix (Bug#9711).
15482
15483 2012-02-05 Chong Yidong <cyd@gnu.org>
15484
15485 * cus-edit.el (custom-variable-reset-backup): Quote the value
15486 before storing it in the customized-value property (Bug#6712).
15487 (custom-display): Add a customization type tag.
15488 (custom-buffer-create-internal): Improve tooltip message.
15489
15490 * wid-edit.el (widget-field-value-get): New optional arg to
15491 suppress trailing whitespace truncation.
15492 (character): Use it (Bug#2689).
15493
15494 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15495
15496 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15497 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15498
15499 2012-02-05 Chong Yidong <cyd@gnu.org>
15500
15501 * cus-edit.el (custom-variable-value-create): For mismatched
15502 types, show the current value (Bug#7600).
15503
15504 * custom.el (defcustom): Doc fix.
15505
15506 2012-02-05 Glenn Morris <rgm@gnu.org>
15507
15508 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15509
15510 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15511
15512 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15513 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15514 (pp-last-sexp): Use `looking-at-p'.
15515
15516 2012-02-04 Glenn Morris <rgm@gnu.org>
15517
15518 * files.el (revert-buffer):
15519 Doc fix (mention revert-buffer-in-progress-p).
15520
15521 * emacs-lisp/ert-x.el (ert-simulate-command):
15522 Check deferred-action-list (which is obsolete) is bound.
15523
15524 * subr.el (with-wrapper-hook): Doc fixes.
15525
15526 * simple.el (filter-buffer-substring-functions)
15527 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15528
15529 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15530
15531 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15532 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15533
15534 2012-02-04 Leo Liu <sdl.web@gmail.com>
15535
15536 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15537
15538 2012-02-04 Glenn Morris <rgm@gnu.org>
15539
15540 * image.el (image-extension-data): Add obsolete alias.
15541
15542 * isearch.el (isearch-update): Doc fix.
15543
15544 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15545
15546 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15547
15548 2012-02-03 Glenn Morris <rgm@gnu.org>
15549
15550 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15551 (image-animate-timeout): Doc fix.
15552
15553 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15554
15555 2012-02-02 Glenn Morris <rgm@gnu.org>
15556
15557 * server.el (server-auth-dir): Doc fix.
15558 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15559
15560 * subr.el (run-mode-hooks): Doc fix.
15561
15562 2012-02-02 Juri Linkov <juri@jurta.org>
15563
15564 * image-mode.el (image-toggle-display-image): Remove tautological
15565 `major-mode' from the `derived-mode-p' test.
15566
15567 2012-02-02 Kenichi Handa <handa@m17n.org>
15568
15569 * composite.el (compose-region): Cancel previous change.
15570
15571 2012-02-02 Kenichi Handa <handa@m17n.org>
15572
15573 * composite.el (compose-region, compose-string): Signal error for
15574 a null string component (Bug#6988).
15575
15576 2012-02-01 Chong Yidong <cyd@gnu.org>
15577
15578 * view.el (view-buffer-other-window, view-buffer-other-frame):
15579 Handle special modes like view-buffer (Bug#10650).
15580 (view-buffer): Simplify.
15581
15582 * frame.el (set-frame-font): Tweak meaning of third argument.
15583
15584 * dynamic-setting.el (font-setting-change-default-font):
15585 Use set-frame-font (Bug#9982).
15586
15587 2012-02-01 Glenn Morris <rgm@gnu.org>
15588
15589 * progmodes/compile.el (compilation-internal-error-properties):
15590 Respect compilation-first-column in the "*compilation*" buffer.
15591
15592 * emacs-lisp/easy-mmode.el (define-minor-mode):
15593 Relax :variable's test for a named function.
15594
15595 2012-01-31 Alan Mackenzie <acm@muc.de>
15596
15597 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15598 off by one error.
15599
15600 2012-01-31 Chong Yidong <cyd@gnu.org>
15601
15602 * frame.el (set-frame-font): New arg ALL-FRAMES.
15603
15604 * menu-bar.el (menu-set-font): Use set-frame-font.
15605
15606 * faces.el (face-spec-reset-face): Don't apply unspecified
15607 attribute values to the default face.
15608
15609 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15610
15611 * progmodes/cwarn.el (cwarn): Remove dead link.
15612 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15613 Remove * from defcustom docstrings.
15614 (turn-on-cwarn-mode): Make obsolete.
15615 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15616 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15617
15618 2012-01-31 Glenn Morris <rgm@gnu.org>
15619
15620 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15621 Fix :variable handling of mode a symbol not equal to modefun.
15622 Allow named functions to be used as the cdr of :variable.
15623
15624 2012-01-30 Glenn Morris <rgm@gnu.org>
15625
15626 * emacs-lisp/authors.el (authors-fixed-entries):
15627 Remove reference to deleted file rnewspost.el.
15628
15629 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15630
15631 * window.el (window-with-parameter): Remove unused variable `windows'.
15632 (window--side-check): Remove unused variable `code'.
15633 (window--resize-siblings): Remove unused variable `first'.
15634 (adjust-window-trailing-edge): Remove unused variable `failed'.
15635 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15636 Use `let', not `let*'.
15637 (balance-windows-2): Remove unused variable `found'.
15638 (window--state-put-2): Remove unused variable `splits'.
15639 (window-state-put): Remove unused variable `selected'.
15640 (same-window-p): Use `string-match-p'.
15641 (display-buffer-assq-regexp): Remove unused variable `value'.
15642 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15643 Mark argument ALIST as ignored.
15644 (pop-to-buffer): Remove unused variable `old-window'.
15645
15646 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15647
15648 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15649 and .lzma compressed files.
15650
15651 2012-01-29 Chong Yidong <cyd@gnu.org>
15652
15653 * frame.el (window-system-default-frame-alist): Doc fix.
15654
15655 * dynamic-setting.el (font-setting-change-default-font): Don't
15656 change the default face if SET-FONT argument is non-nil (Bug#9982).
15657
15658 2012-01-29 Samuel Bronson <naesten@gmail.com>
15659
15660 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15661
15662 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15663
15664 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15665 breakpoints in files outside current directory (Bug#6098).
15666
15667 2012-01-29 Chong Yidong <cyd@gnu.org>
15668
15669 * progmodes/python.el: Require ansi-color at top-level.
15670
15671 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15672 Define and use in Emacs Lisp mode (Bug#9360).
15673 (lisp-mode-abbrev-table): Add doc.
15674 (lisp-mode-variables): Don't set local-abbrev-table.
15675 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15676
15677 2012-01-28 Roland Winkler <winkler@gnu.org>
15678
15679 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15680
15681 2012-01-28 Roland Winkler <winkler@gnu.org>
15682
15683 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15684 (bibtex-set-dialect): Use it. Either set global values of
15685 dialect-dependent variables or bind these variables buffer-locally
15686 (Bug#10254).
15687 (bibtex-mode): Call bibtex-set-dialect via
15688 hack-local-variables-hook.
15689 (bibtex-dialect): Update docstring.
15690 Add safe-local-variable predicate.
15691 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15692 bibtex-set-dialect.
15693 (bibtex-mode-map): Define menu for each dialect.
15694 (bibtex-entry): Fix docstring.
15695
15696 2012-01-28 Chong Yidong <cyd@gnu.org>
15697
15698 * eshell/esh-arg.el (eshell-quote-argument): New function.
15699
15700 * eshell/esh-ext.el (eshell-invoke-batch-file):
15701 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15702 first arg to eshell-parse-command (Bug#10523).
15703
15704 2012-01-28 Drew Adams <drew.adams@oracle.com>
15705
15706 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15707 `default-directory' is non-nil.
15708
15709 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15710
15711 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15712 line that displays system-configuration-options. (Bug#9924)
15713
15714 2012-01-28 Drew Adams <drew.adams@oracle.com>
15715
15716 * descr-text.el (describe-char): Show information about POS, in
15717 addition to information about the character at POS. Improve and
15718 update the doc string. Change "code point" to "code point in
15719 charset", to avoid confusion with the character's Unicode code
15720 point shown above that. (Bug#10129)
15721
15722 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15723
15724 * descr-text.el (describe-char): Show the raw character, not only
15725 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15726 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15727 for the reasons.
15728
15729 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15730
15731 * emacs-lisp/package.el (package-install):
15732 Run package-refresh-contents if there is no archive yet (Bug#9798).
15733
15734 2012-01-28 Chong Yidong <cyd@gnu.org>
15735
15736 * emacs-lisp/package.el (package-maybe-load-descriptor):
15737 New function, split from package-maybe-load-descriptor.
15738 (package-maybe-load-descriptor): Use it.
15739 (package-download-transaction): Fully load required packages
15740 inside the loop, so that `require' calls work (Bug#10593).
15741 (package-install): No need to call package-initialize now.
15742
15743 2012-01-28 Chong Yidong <cyd@gnu.org>
15744
15745 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15746
15747 * tooltip.el (tooltip-mode): Doc fix.
15748 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15749
15750 * frame.el (set-cursor-color): Doc fix (Bug#352).
15751
15752 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15753 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15754
15755 * cus-edit.el (custom-buffer-create-internal): Fix search button
15756 action (Bug#10542).
15757 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15758
15759 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15760
15761 * dired.el (dired-mark-files-regexp):
15762 Include any subdirectory components. (Bug#10445)
15763
15764 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15765
15766 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15767 Handle [host]:port syntax. (Bug#10533)
15768
15769 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15770
15771 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15772
15773 2012-01-26 Glenn Morris <rgm@gnu.org>
15774
15775 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15776 * term.el (term-raw-escape-map): Use Control-X-prefix.
15777 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15778
15779 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15780
15781 * window.el (window-state-get, window--state-get-1): Don't deal
15782 with fixed-sizeness of windows. Simplify code.
15783
15784 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15785
15786 * window.el (window--state-get-1, window--state-put-2):
15787 Don't save and restore the mark.
15788
15789 2012-01-25 Chong Yidong <cyd@gnu.org>
15790
15791 * custom.el (custom-variable-p): Doc fix.
15792
15793 2012-01-25 Glenn Morris <rgm@gnu.org>
15794
15795 * dired.el (dired-goto-file): Handle some of the more common
15796 characters that `ls -b' escapes. (Bug#10596)
15797
15798 * progmodes/compile.el (compilation-next-error-function):
15799 Respect compilation-first-column in the "*compilation*" buffer.
15800 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15801
15802 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15803
15804 2012-01-24 Glenn Morris <rgm@gnu.org>
15805
15806 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15807
15808 2012-01-24 Julien Danjou <julien@danjou.info>
15809
15810 * color.el (color-rgb-to-hsl): Fix value computing.
15811 (color-hue-to-rgb): New function.
15812 (color-hsl-to-rgb): New function.
15813 (color-clamp, color-saturate-hsl, color-saturate-name)
15814 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15815 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15816
15817 2012-01-24 Glenn Morris <rgm@gnu.org>
15818
15819 * vc/vc-rcs.el (vc-rcs-create-tag):
15820 * vc/vc-sccs.el (vc-sccs-create-tag):
15821 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15822
15823 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15824
15825 * eshell/esh-util.el (eshell-read-hosts-file):
15826 Skip comment lines. (Bug#10549)
15827
15828 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15829
15830 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15831
15832 * subr.el (display-delayed-warnings): Doc fix.
15833 (collapse-delayed-warnings): New function to collapse identical
15834 adjacent warnings.
15835 (delayed-warnings-hook): Add it.
15836
15837 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15838
15839 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15840
15841 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15842 (tramp-default-user-alist): Don't add "pscp".
15843 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15844 property "login-as", if set. (Bug#10530)
15845
15846 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15847
15848 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15849 "plink1" and "psftp". (Bug#10530)
15850
15851 2012-01-21 Kenichi Handa <handa@m17n.org>
15852
15853 * international/mule-cmds.el (prefer-coding-system): Show a
15854 warning message if the default value of file-name-coding-system
15855 was not changed.
15856
15857 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15858
15859 * windmove.el (windmove-reference-loc):
15860 Fix windmove-reference-loc miscalculation.
15861
15862 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15863
15864 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15865 default unit.
15866
15867 2012-01-21 Glenn Morris <rgm@gnu.org>
15868
15869 * international/mule.el (auto-coding-alist): Add .tbz.
15870
15871 * files.el (local-enable-local-variables): Doc fix.
15872 (inhibit-local-variables-regexps): Rename from
15873 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15874 Doc fix. Add some extensions from auto-coding-alist.
15875 (inhibit-local-variables-suffixes):
15876 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15877 (inhibit-local-variables-p):
15878 New function, extracted from set-auto-mode-1.
15879 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15880 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15881 (hack-local-variables): Doc fix. Make the mode-only case
15882 respect enable-local-variables and friends.
15883 Respect inhibit-local-variables-regexps for file-locals, but
15884 not for directory-locals.
15885 (set-visited-file-name):
15886 Take account of inhibit-local-variables-regexps.
15887 Whether it applies may change as the file name is changed.
15888 * jka-cmpr-hook.el (jka-compr-install):
15889 * jka-compr.el (jka-compr-uninstall):
15890 Update for inhibit-first-line-modes-suffixes name change.
15891
15892 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15893
15894 * help-macro.el (make-help-screen): Temporarily restore original
15895 binding for minor-mode-map-alist (Bug#10454).
15896
15897 2012-01-19 Julien Danjou <julien@danjou.info>
15898
15899 * color.el (color-name-to-rgb): Use the white color to find the max
15900 color component value and return correctly computed values.
15901 (color-name-to-rgb): Add missing float conversion for max value.
15902
15903 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15904
15905 * window.el (window--state-get-1, window-state-get): Do not use
15906 special state value for window-persistent-parameters.
15907 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15908 (window--state-put-2): Reset all window parameters to nil before
15909 assigning values of persistent parameters.
15910
15911 2012-01-18 Alan Mackenzie <acm@muc.de>
15912
15913 Eliminate sluggishness and hangs in fontification of "semicolon
15914 deserts".
15915
15916 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15917 Change value 10000 -> 3000.
15918 (c-state-safe-place): Reformulate so it doesn't stack up an
15919 infinite number of wrong entries in c-state-nonlit-pos-cache.
15920 (c-determine-limit-get-base, c-determine-limit): New functions to
15921 determine backward search limits disregarding literals.
15922 (c-find-decl-spots): Amend commenting.
15923 (c-cheap-inside-bracelist-p): New function which detects "={".
15924
15925 * progmodes/cc-fonts.el
15926 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15927 backward search.
15928 (c-font-lock-declarations): Fix an occurrence of point being
15929 undefined. Check additionally for point being in a bracelist or
15930 near a macro invocation without a semicolon so as to avoid a
15931 fruitless time consuming search for a declarator. Give a more
15932 precise search limit for declarators using the new
15933 c-determine-limit.
15934
15935 2012-01-18 Glenn Morris <rgm@gnu.org>
15936
15937 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15938 (set-auto-mode): Doc fixes.
15939
15940 2012-01-17 Glenn Morris <rgm@gnu.org>
15941
15942 * isearch.el (search-nonincremental-instead): Fix doc typo.
15943
15944 * dired.el (dired-insert-directory): Handle newlines in directory name.
15945 (dired-build-subdir-alist): Unescape newlines in directory name.
15946
15947 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15948
15949 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15950 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15951 (tramp-action-terminal): Use it. (Bug#10530)
15952
15953 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15954
15955 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15956
15957 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15958
15959 * window.el (window-state-ignored-parameters): Remove variable.
15960 (window--state-get-1): Rename argument MARKERS to IGNORE.
15961 Handle persistent window parameters. Make copy of clone-of
15962 parameter only if requested. (Bug#10348)
15963 (window--state-put-2): Install a window parameter only if it has
15964 a non-nil value or an existing parameter shall be overwritten.
15965
15966 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15967
15968 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15969
15970 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15971
15972 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15973 don't pass the (nil) value of `upnode' to string-match.
15974
15975 2012-01-14 Chong Yidong <cyd@gnu.org>
15976
15977 * startup.el (command-line): Fix X resource class for cursorColor.
15978 Fix values recognized by the cursorBlink resource.
15979
15980 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15981
15982 * epg.el (epg--make-temp-file): Avoid permission race condition
15983 when running on old Emacs versions (bug#10403).
15984
15985 2012-01-14 Glenn Morris <rgm@gnu.org>
15986
15987 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15988
15989 2012-01-13 Alan Mackenzie <acm@muc.de>
15990
15991 Fix filling for when filladapt mode is enabled.
15992
15993 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15994 c-mask-paragraph, pass in `fill-paragraph' rather than
15995 `fill-region-as-paragraph'. (This is a reversion of a previous
15996 change.)
15997 * progmodes/cc-mode.el (c-basic-common-init):
15998 Make fill-paragraph-handle-comment buffer local and set it to nil.
15999
16000 2012-01-13 Glenn Morris <rgm@gnu.org>
16001
16002 * dired.el (dired-switches-escape-p): New function.
16003 (dired-insert-directory): Use dired-switches-escape-p.
16004 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16005
16006 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16007
16008 2012-01-12 Glenn Morris <rgm@gnu.org>
16009
16010 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16011 changes in adaptive-fill-regexp. (Bug#10276)
16012
16013 2012-01-11 Alan Mackenzie <acm@muc.de>
16014
16015 Fix Emacs bug #10463 - put `widen's around the critical spots.
16016
16017 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16018 widen around each invocation of c-state-pp-to-literal. Remove an
16019 unused let variable.
16020
16021 2012-01-11 Glenn Morris <rgm@gnu.org>
16022
16023 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16024 Doc fix.
16025
16026 2012-01-10 Chong Yidong <cyd@gnu.org>
16027
16028 * net/network-stream.el (network-stream-open-starttls):
16029 Avoid emitting a confusing error message when the server gives a bad
16030 response to the capability command.
16031
16032 2012-01-10 Glenn Morris <rgm@gnu.org>
16033
16034 * mail/unrmail.el (unrmail): Tweak previous change.
16035
16036 2012-01-09 Chong Yidong <cyd@gnu.org>
16037
16038 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16039
16040 2012-01-08 Alan Mackenzie <acm@muc.de>
16041
16042 Optimize font locking in long enum definitions.
16043
16044 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16045 arm to a cond form to handle enums.
16046 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16047 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16048
16049 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16050
16051 * files.el (move-file-to-trash): Preserve default file modes on error.
16052 (Bug#10401)
16053
16054 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16055
16056 * faces.el (set-face-attribute): Clarify the meaning of the nil
16057 frame (bug#10294).
16058
16059 * subr.el (with-selected-frame): Mention that the selected frame
16060 is restored (bug#9980).
16061
16062 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16063 (bug#9759).
16064
16065 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16066 (password-read): Don't autoload unused function.
16067
16068 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16069
16070 * progmodes/which-func.el (which-func-mode): Turn into a
16071 non-interactive function and mark as obsolete (bug#10428).
16072
16073 2012-01-06 Chong Yidong <cyd@gnu.org>
16074
16075 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16076 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16077 functions, along with 1 and -1.
16078
16079 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16080
16081 * time.el (display-time-load-average)
16082 (display-time-default-load-average): Doc fixes. See the thread
16083 starting at
16084 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16085 for the details.
16086
16087 2012-01-06 Glenn Morris <rgm@gnu.org>
16088
16089 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16090 has no messages. (Bug#10377)
16091
16092 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16093 than Info-edit. (Bug#10385)
16094
16095 * time.el (display-time-load-average, display-time-next-load-average):
16096 Doc fixes.
16097
16098 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16099 local setting of buffer-read-only to the input buffer. (Bug#10419)
16100
16101 * calendar/calendar.el (calendar-mode):
16102 Locally set scroll-margin to 0. (Bug#10379)
16103
16104 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16105
16106 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16107
16108 2012-01-05 Glenn Morris <rgm@gnu.org>
16109
16110 * eshell/em-unix.el (diff-no-select): Autoload it.
16111 (eshell/diff): Use diff-no-select. (Bug#10420)
16112
16113 2012-01-05 Chong Yidong <cyd@gnu.org>
16114
16115 * shell.el (shell-dynamic-complete-functions): Revert last change.
16116 (shell-command-completion-function): New function.
16117 (shell-completion-vars): Use it to implement
16118 shell-completion-execonly (Bug#10417).
16119
16120 * custom.el (enable-theme): Don't set custom-safe-themes.
16121
16122 * cus-theme.el (custom-theme-merge-theme):
16123 Ignore custom-enabled-themes and custom-safe-themes.
16124
16125 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16126
16127 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16128 first prompt in `sql-interacive-mode'.
16129 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16130 keywords.
16131 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16132 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16133 context of original buffer. Invoke `sql-login-hook'.
16134
16135 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16136
16137 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16138 letters in cite-prefix.
16139
16140 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16141
16142 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16143
16144 2012-01-03 Chong Yidong <cyd@gnu.org>
16145
16146 * shell.el (shell-dynamic-complete-functions):
16147 Put pcomplete-completions-at-point, so as to try
16148 comint-filename-completion first (Bug#10417).
16149
16150 2012-01-02 Richard Stallman <rms@gnu.org>
16151
16152 * battery.el (battery-status-function):
16153 Detect when to use battery-yeeloong-sysfs.
16154 (battery-echo-area-format): Add string for Yeeloong.
16155 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16156 (battery-yeeloong-sysfs): New function.
16157
16158 2012-01-02 Chong Yidong <cyd@gnu.org>
16159
16160 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16161 (dirtrack): Merge code for handling relative filenames in prompt
16162 from shell-dir-cookie-watcher.
16163 (dirtrack-debug-message): New arg to avoid excess format calls.
16164
16165 * shell.el (shell-dir-cookie-re): Variable deleted.
16166 (shell-dir-cookie-watcher): Function deleted.
16167 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16168 with dirtrack-mode.
16169
16170 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16171
16172 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16173 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16174 libgnutls-26.dll.
16175
16176 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16177
16178 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16179
16180 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16181
16182 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16183 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16184
16185 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16186
16187 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16188 also for alternative shells.
16189 (tramp-open-connection-setup-interactive-shell): Check, whether
16190 the shell is a busybox.
16191 (tramp-send-command): Don't suppress multiple prompts for
16192 busyboxes, it hurts.
16193
16194 2011-12-28 Chong Yidong <cyd@gnu.org>
16195
16196 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16197 (gdb-get-source-file): Move mode line update to
16198 gdb-get-source-file (Bug#10087).
16199
16200 2011-12-25 Chong Yidong <cyd@gnu.org>
16201
16202 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16203 gud-gdb-marker-filter without taking it as an argument.
16204 (gud-gdb-run-command-fetch-lines): Caller changed.
16205 (gud-gdb-completion-function): New variable.
16206 (gud-gdb-completion-at-point): Use it.
16207 (gud-gdb-completions-1): Split from gud-gdb-completions.
16208
16209 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16210 function as separate arguments.
16211 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16212 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16213 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16214 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16215 (gdb-stopped, def-gdb-auto-update-trigger)
16216 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16217 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16218 Callers changed.
16219 (gud-gdbmi-completions): New function.
16220 (gdb): Use it for generating the completion table.
16221
16222 2011-12-24 Alan Mackenzie <acm@muc.de>
16223
16224 Introduce a mechanism to widen the region used in context font
16225 locking. Use this to protect declarations from losing their contexts.
16226
16227 * progmodes/cc-langs.el (c-before-font-lock-functions):
16228 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16229 (c-before-context-fontification-functions): New defvar, a list of
16230 functions to be run just before context (etc.) font locking.
16231
16232 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16233 New, functionality extracted from
16234 c-neutralize-syntax-in-and-mark-CPP.
16235 (c-in-after-change-fontification): New variable.
16236 (c-after-change): Set c-in-after-change-fontification.
16237 (c-set-fl-decl-start): Rejig its interface, so it can be called
16238 from both after-change and context fontifying.
16239 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16240 New functions.
16241 (c-standard-font-lock-fontify-region-function): New variable.
16242 (c-font-lock-fontify-region): New function.
16243
16244 2011-12-24 Juri Linkov <juri@jurta.org>
16245
16246 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16247 (Bug#10348)
16248
16249 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16250
16251 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16252 existence of source file. (Bug#10325)
16253
16254 2011-12-23 Alan Mackenzie <acm@muc.de>
16255
16256 Fix unstable fontification inside templates.
16257
16258 * progmodes/cc-langs.el (c-before-font-lock-functions):
16259 Newly created from the singular version. The (c c++ objc) entry now
16260 additionally has c-set-fl-decl-start. The other languages (apart
16261 from AWK) have that as a single entry.
16262
16263 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16264 The functionality for "local" declarations has been extracted to
16265 c-set-fl-decl-start.
16266
16267 * progmodes/cc-mode.el (c-common-init, c-after-change):
16268 Changes due to pluralisation of c-before-font-lock-functions.
16269 (c-set-fl-decl-start): New function, extracted from
16270 c-font-lock-enclosing-decls and enhanced.
16271
16272 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16273
16274 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16275
16276 2011-12-22 Juri Linkov <juri@jurta.org>
16277
16278 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16279
16280 2011-12-22 Chong Yidong <cyd@gnu.org>
16281
16282 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16283
16284 2011-12-21 Drew Adams <drew.adams@oracle.com>
16285
16286 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16287
16288 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16289
16290 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16291
16292 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16293
16294 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16295 highlighting and support. Fix up comments for capitalization.
16296 (cfengine-mode-debug): New var.
16297 (cfengine3-mode): Change the modeline indicator to "CFE3".
16298 (cfengine3-font-lock-keywords): Improve defun highlighting.
16299 (cfengine2-actions): Rename from `cfengine-actions'.
16300 (cfengine2-font-lock-keywords): Rename from
16301 `cfengine-font-lock-keywords'.
16302 (cfengine2-imenu-expression): Rename from
16303 `cfengine-imenu-expression'.
16304 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16305 (cfengine2-beginning-of-defun): Rename from
16306 `cfengine-beginning-of-defun'.
16307 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16308 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16309 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16310 modeline indicator to "CFE2".
16311 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16312 (cfengine-mode-abbrevs): Mark obsolete.
16313
16314 2011-12-21 Chong Yidong <cyd@gnu.org>
16315
16316 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16317 filename argument.
16318
16319 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16320
16321 * window.el (window-normalize-buffer-to-display): Remove.
16322 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16323
16324 2011-12-19 Chong Yidong <cyd@gnu.org>
16325
16326 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16327 Don't signal an error in a predicate function; return non-nil.
16328 (vc-dir-mark-file): Move the error here.
16329 (vc-dir-mark-unmark): If acting on the region, keep going if one
16330 of the entries cannot be marked/unmarked.
16331 (vc-dir-mark-all-files): If current entry is a directory, mark
16332 only child files, as documented.
16333
16334 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16335
16336 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16337 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16338 addition.
16339
16340 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16341
16342 * term/ns-win.el (ns-get-selection-internal)
16343 (ns-store-selection-internal): Declare.
16344 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16345 Declare as obsolete.
16346 (ns-get-pasteboard, ns-paste-secondary):
16347 Use ns-get-selection-internal.
16348 (ns-set-pasteboard, ns-copy-including-secondary):
16349 Use ns-store-selection-internal.
16350
16351 2011-12-17 Chong Yidong <cyd@gnu.org>
16352
16353 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16354 (vc-deduce-fileset): Doc fix.
16355
16356 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16357
16358 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16359
16360 2011-12-13 Sam Steingold <sds@gnu.org>
16361
16362 * man.el (Man-getpage-in-background): When running under a
16363 window-system, ignore $MANWIDTH and $COLUMNS.
16364
16365 2011-12-15 Kenichi Handa <handa@m17n.org>
16366
16367 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16368 (setup-ethiopic-environment-internal): Comment out key-binding for
16369 ethio-toggle-punctuation.
16370
16371 2011-12-13 Alan Mackenzie <acm@muc.de>
16372
16373 Add the switch statement to AWK Mode.
16374
16375 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16376 "default" to the keywords regexp.
16377
16378 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16379 expression as the rest.
16380 (c-nonlabel-token-key): Allow string literals for AWK.
16381 Refactor for the other modes.
16382
16383 Large brace-block initialisation makes CC Mode slow: Fix.
16384 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16385 routines. Limit backward searching in c-font-lock-enclosing.decl.
16386
16387 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16388 pp-state and literal type in addition to the limits.
16389 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16390 (c-state-literal-at): Use the above new defun.
16391 (c-slow-in-literal, c-fast-in-literal): Remove.
16392 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16393
16394 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16395 being in a literal. Add a limit for backward searching.
16396
16397 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16398 c-slow-in-literal.
16399
16400 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16401
16402 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16403
16404 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16405
16406 * window.el (delete-other-windows): Use correct frame in call to
16407 window-with-parameter.
16408
16409 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16410
16411 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16412 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16413 (makefile-gmake-statements, makefile-makepp-statements):
16414 Use it and add new makepp keywords.
16415 (makefile-makepp-font-lock-keywords): Add new patterns.
16416 (makefile-match-function-end): Match new [...] and [[...]].
16417
16418 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16419
16420 * ses.el (ses-call-printer-return, ses-cell-property-get)
16421 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16422 (ses-create-cell-variable, ses-reset-header-string)
16423 (ses-cell-set-formula, ses-repair-cell-reference-all)
16424 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16425 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16426 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16427 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16428 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16429 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16430 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16431 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16432 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16433 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16434 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16435 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16436
16437 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16438
16439 * ses.el: The overall change is to add cell renaming, that is
16440 setting fancy names for cell symbols other than name matching
16441 "\\`[A-Z]+[0-9]+\\'" regexp .
16442 (ses-create-cell-variable): New defun.
16443 (ses-relocate-formula): Relocate formulas only for cells the
16444 symbols of which are not renamed, i.e. symbols whose names do not
16445 match regexp "\\`[A-Z]+[0-9]+\\'".
16446 (ses-relocate-all): Relocate values only for cells the symbols of
16447 which are not renamed.
16448 (ses-load): Create cells variables as the (ses-cell ...) are read,
16449 in order to check row col consistency with cell symbol name only
16450 for cells that are not renamed.
16451 (ses-replace-name-in-formula): New defun.
16452 (ses-rename-cell): New defun.
16453
16454 2011-12-11 Chong Yidong <cyd@gnu.org>
16455
16456 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16457 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16458
16459 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16460
16461 * window.el (other-window): Fix docstring.
16462
16463 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16464
16465 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16466 `from' or `to' address before taking its substring.
16467 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16468 encoded name is chopped in the middle of the encoded string, and
16469 thus displayed encoded.
16470
16471 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16472
16473 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16474
16475 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16476
16477 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16478 to use texinfo-update-node and commands that call it if the
16479 Texinfo file uses @node lines without next/prev/up pointers.
16480 Correct outdated description about texinfo-master-menu.
16481 (texinfo-all-menus-update, texinfo-master-menu)
16482 (texinfo-update-node, texinfo-every-node-update)
16483 (texinfo-multiple-files-update): Doc fix. Warn against updating
16484 all the @node lines.
16485 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16486 argument is numeric. Explain better in the doc string what the
16487 function really does.
16488 (texinfo-insert-master-menu-list): Improve the error message
16489 displayed if there's no menu in the Top node.
16490 (Bug#2975) See also this thread:
16491 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16492
16493 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16494
16495 * speedbar.el (speedbar-supported-extension-expressions):
16496 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16497
16498 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16499
16500 * printing.el (pr-mode-alist):
16501 * simple.el (filter-buffer-substring-functions)
16502 (completion-list-insert-choice-function):
16503 * window.el (window-with-parameter, window-atom-root)
16504 (window-sides-slots, window-size-fixed, window-min-delta)
16505 (window-max-delta, window--resize-mini-window)
16506 (window--resize-child-windows-normal, window-tree)
16507 (delete-other-windows, quit-window, split-window)
16508 (display-buffer-record-window, special-display-buffer-names)
16509 (special-display-regexps, special-display-popup-frame)
16510 (same-window-p, split-window-sensibly)
16511 (display-buffer-overriding-action, display-buffer-alist)
16512 (display-buffer-base-action, display-buffer, switch-to-buffer)
16513 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16514 (fit-window-to-buffer, recenter-positions)
16515 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16516 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16517 and remove unneeded backslashes in docstrings.
16518
16519 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16520
16521 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16522
16523 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16524 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16525 end in ".mk".
16526 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16527 when reading the makefile (bug#10116).
16528
16529 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16530
16531 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16532 (bug#10116).
16533
16534 2011-12-06 Glenn Morris <rgm@gnu.org>
16535
16536 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16537
16538 2011-12-06 Chong Yidong <cyd@gnu.org>
16539
16540 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16541
16542 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16543
16544 * textmodes/table.el (table-shorten-cell): Fix typo.
16545
16546 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16547
16548 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16549
16550 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16551
16552 * descr-text.el (describe-char): Fix display of strong
16553 right-to-left characters and directional embeddings and overrides.
16554
16555 * simple.el (what-cursor-position): Fix display of codepoints of
16556 strong right-to-left characters.
16557
16558 2011-12-05 Chong Yidong <cyd@gnu.org>
16559
16560 * faces.el (read-color): Doc fix.
16561
16562 2011-12-05 Glenn Morris <rgm@gnu.org>
16563
16564 * align.el (align--set-marker): Add doc-string.
16565 Don't try to move something that is not a marker. (Bug#10216)
16566
16567 2011-12-04 Glenn Morris <rgm@gnu.org>
16568
16569 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16570 overly zealous deletion of trailing whitespace.
16571
16572 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16573
16574 * server.el (server-delete-client): On Windows, do not try to delete
16575 the only terminal.
16576 (server-process-filter): On Windows, treat requests for a tty frame as
16577 if they were for a GUI frame if the running server is in GUI mode.
16578
16579 2011-12-03 Glenn Morris <rgm@gnu.org>
16580
16581 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16582
16583 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16584
16585 * electric.el: Streamline electric-indent's hook.
16586 (electric-indent-chars): Revert to simple list.
16587 (electric-indent-functions): New var.
16588 (electric-indent-post-self-insert-function): Use it.
16589
16590 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16591 there's no inferior buffer (bug#10196).
16592 (prolog-consult-compile): Don't use toggle-read-only.
16593
16594 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16595
16596 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16597 interrupt. (Bug#10187)
16598
16599 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16600
16601 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16602 (bug#9160).
16603
16604 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16605 (bug#10191).
16606
16607 2011-12-02 Juri Linkov <juri@jurta.org>
16608
16609 * info.el (Info-search): Display "end of manual" when Isearch
16610 reaches the end of single-file Info manual. (Bug#9918)
16611
16612 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16613
16614 * isearch.el (isearch-message-prefix): Run the input method part
16615 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16616
16617 2011-12-02 Juri Linkov <juri@jurta.org>
16618
16619 * isearch.el (isearch-occur): Use `word-search-regexp' for
16620 `isearch-word'.
16621 (isearch-search-and-update): Add condition for `isearch-word' and
16622 call `word-search-regexp'. (Bug#10145)
16623
16624 2011-12-01 Glenn Morris <rgm@gnu.org>
16625
16626 * eshell/em-hist.el (eshell-hist-initialize):
16627 Handle eshell-history-size nil and HISTSIZE set or unset.
16628 (eshell-history-file-name, eshell-history-size): Fix custom type.
16629
16630 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16631
16632 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16633
16634 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16635
16636 * progmodes/verilog-mode.el (verilog-pretty-expr):
16637 Rework verilog-pretty-expr to handle new assignment operators in system
16638 verilog, such as += *= and the like.
16639 (verilog-assignment-operator-re): Regular expression to find the
16640 assigment operator in a verilog assignment.
16641 (verilog-assignment-operation-re): Regular expression to find an
16642 assignment statement for pretty-expr.
16643 (verilog-in-attribute-p): Query returns true if point is in an
16644 attribute context; used to skip these for expression line up from
16645 pretty-expr.
16646 (verilog-in-parameter-p): Query returns true if point is in an
16647 parameter definition context; used to skip these for expression
16648 line up from pretty-expr.
16649 (verilog-in-parenthesis-p): Query returns true if point is in a
16650 parenthetical expression, specifically ( ) but not [ ] or { };
16651 used by pretty-expr.
16652 (verilog-just-one-space): If there is no space, don't add one.
16653 (verilog-get-lineup-indent-2): Specifically skip just attribute
16654 contexts for expression lineup, rather than skipping all
16655 parenthetical expressions.
16656 (verilog-calculate-indent): Fix comment, and fix indent.
16657 (verilog-do-indent): Indent declarations in lists (suggested by
16658 Joachim Lechner).
16659 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16660 skeleton items.
16661 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16662 by Alain Mellan).
16663
16664 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16665
16666 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16667 parameters with embedded comments. Reported by Ray Stevens.
16668 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16669 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16670 Reported by Tim Holt.
16671 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16672 instantiated by upper module causing wrong expansion until AUTOed a
16673 second time. Reported by K C Buckenmaier.
16674 (verilog-diff-auto): Fix showing .* as a difference when
16675 `verilog-auto-star-save' off. Reported by Dan Dever.
16676 (verilog-auto-reset, verilog-read-always-signals)
16677 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16678 temporary signals in reset list if
16679 verilog-auto-reset-blocking-in-non is nil, and match assignment
16680 style to each signal's assignment type, bug381.
16681 Reported by Thomas Esposito.
16682 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16683 (verilog-uvm-statement-re): Support UVM indentation and
16684 highlighting, with old OVM keywords only.
16685 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16686 Support AUTOTIEOFF creating non-wire data types.
16687 Suggested by Jonathan Greenlaw.
16688 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16689 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16690 (verilog-inject-sense, verilog-read-inst-pins)
16691 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16692 Fix mismatching parenthesis inside commented out code when deleting
16693 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16694 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16695 non-numeric vector width. Reported by Alex Reed.
16696 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16697 detecting signals with parameter widths. Reported by Alex Reed.
16698 (verilog-auto-delete-trailing-whitespace):
16699 With `verilog-auto-delete-trailing-whitespace' remove trailing
16700 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16701 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16702 Fix verilog-scan-cache corruption when running user AUTO expansion
16703 hooks that call indentation routines.
16704 (verilog-simplify-range-expression): Fix typo ignoring lower case
16705 identifiers.
16706 (verilog-delete-auto): Fix delete-autos to also remove user created
16707 automatics, as long as they start with AUTO.
16708 (verilog-batch-diff-auto, verilog-diff-auto)
16709 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16710 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16711 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16712 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16713 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16714 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16715 is disabled and its cache will get corrupt, causing AUTOS not to
16716 expand. Instead use only -quick functions.
16717 (verilog-scan-region): Fix scanning over escaped quotes.
16718 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16719 (verilog-re-search-backward-quick)
16720 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16721 related functions now ignore strings, to fix misparsing of strings
16722 with magic comments embedded in them.
16723 (verilog-read-auto-template):
16724 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16725 Reported by Brad Dobbie.
16726 (verilog-read-auto-template):
16727 Fix 'verilog-auto-inst-template-numbers' with comments.
16728 Reported by Brad Dobbie.
16729 (verilog-auto-inst, verilog-auto-inst-param)
16730 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16731 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16732 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16733 debugging templates without merge conflicts, bug357.
16734 Reported by Brad Dobbie.
16735 (verilog-read-auto-template):
16736 Fix verilog-auto-inst-template-numbers with multiple templates.
16737 Reported by Brad Dobbie.
16738 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16739 abbrevs so user won't be asked to save.
16740 (verilog-read-auto-lisp-present): Fix to start at beginning of
16741 buffer in case called outside of verilog-auto.
16742 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16743 to "X-2". Reported by Matthew Myers.
16744 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16745 all inputs from module templates. Reported by Leith Johnson.
16746 (verilog-module-inside-filename-p): Fix locating programs as with
16747 modules.
16748 (verilog-auto-inst-port): Fix vl-width expressions when using
16749 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16750 (verilog-decls-get-regs, verilog-decls-get-signals,
16751 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16752 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16753 verilog-read-decls): Combine reg and wire structures into one var
16754 structure to represent SystemVerilog concepts.
16755 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16756 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16757 (verilog-auto-wire-type, verilog-insert-definition):
16758 Add verilog-auto-wire-type and AUTOLOGIC to support using
16759 SystemVerilog "logic" keyword instead of "wire"/"reg".
16760 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16761 to declares outputs that also have assignments (presumably in an
16762 ifdef or generate if so there's not a driver conflict).
16763 Reported by Matthew Myers.
16764 (verilog-auto-declare-nettype, verilog-insert-definition):
16765 Add verilog-auto-declare-nettype to fix declarations using
16766 `default_nettype none. Reported by Julian Gorfajn.
16767 (verilog-read-always-signals-recurse, verilog-read-decls)
16768 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16769 malformed end statement, bug325. Reported by Joshua Wise and
16770 Andrew Drake.
16771 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16772 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16773 when expanding .* in interfaces, bug320.
16774 Reported by Pierre-David Pfister.
16775 (verilog-read-module-name): Fix import statements between module
16776 name and open parenthesis, bug317.
16777 Reported by Pierre-David Pfister.
16778 (verilog-simplify-range-expression): Fix simplification of
16779 multiplications inside AUTOWIRE connections, bug303.
16780 (verilog-auto-inst-port): Support parameter expansion in
16781 multidimensional arrays.
16782 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16783 after "assert property". Reported by Julian Gorfajn.
16784 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16785 with multiplication, bug303.
16786 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16787 Reported by Jan Frode Lonnum.
16788
16789 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16790
16791 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16792 (hfy-shell-file-name, hfy-shell):
16793 * international/fontset.el (x-decompose-font-name): Fix typos.
16794
16795 2011-11-29 Ken Brown <kbrown@cornell.edu>
16796
16797 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16798 (gdb-version): Remove defvar.
16799 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16800 (gdb-gud-context-command, gdb-non-stop-handler)
16801 (gdb-current-context-command, gdb-stopped): Use it.
16802 (gdb-init-1): Enable pretty printing here.
16803 (gdb-non-stop-handler): Don't enable pretty-printing here.
16804 Check to see if the target supports non-stop mode; if not, turn off
16805 non-stop mode. Use the following.
16806 (gdb-check-target-async): New defun.
16807 (gud-watch, gdb-stopped): Fix whitespace.
16808 (gdb-get-source-file): Don't try to display the source file if
16809 `gdb-main-file' is nil.
16810
16811 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16812
16813 * align.el: Try to generate fewer markers (bug#10047).
16814 (align--set-marker): New macro.
16815 (align-region): Use it.
16816
16817 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16820
16821 2011-11-29 Chong Yidong <cyd@gnu.org>
16822
16823 * indent.el (indent-for-tab-command, indent-according-to-mode):
16824 Doc fix.
16825 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16826
16827 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16828
16829 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16830 aware of remote file names. (Bug#10124)
16831
16832 2011-11-29 Chong Yidong <cyd@gnu.org>
16833
16834 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16835
16836 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16837
16838 * files.el (find-file): Don't use force-same-window (bug#10144).
16839 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16840 use pop-to-buffer if the selected window can't be used.
16841 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16842
16843 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16844
16845 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16846 special-mode-map.
16847
16848 2011-11-28 Chong Yidong <cyd@gnu.org>
16849
16850 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16851
16852 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16853
16854 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16855 gdb-get-source-file-list on gdb-create-source-file-list.
16856
16857 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16858
16859 * whitespace.el (whitespace-newline): Use a different foreground
16860 color for 16-color light-background displays.
16861
16862 2011-11-24 Chong Yidong <cyd@gnu.org>
16863
16864 * window.el (display-buffer--special-action): Doc fix.
16865
16866 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16867
16868 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16869 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16870 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16871 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16872 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16873 (avl-tree-stack-first):
16874 * emacs-lisp/cconv.el (cconv--analyse-use):
16875 * net/gnutls.el (gnutls-negotiate): Fix typos.
16876
16877 2011-11-24 Glenn Morris <rgm@gnu.org>
16878
16879 * lpr.el (lpr-windows-system, lpr-lp-system):
16880 * mail/binhex.el (binhex-begin-line):
16881 * progmodes/grep.el (grep-history, grep-find-history):
16882 * textmodes/flyspell.el:
16883 * vc/pcvs-defs.el (cvs-global-menu):
16884 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16885 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16886 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16887
16888 * net/tls.el: Fix case of "GnuTLS".
16889
16890 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16891
16892 * version.el (emacs-build-system): Give it a doc-string.
16893
16894 2011-11-24 Juri Linkov <juri@jurta.org>
16895
16896 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16897
16898 2011-11-24 Glenn Morris <rgm@gnu.org>
16899
16900 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16901 if called on a non-mime message just toggle the headers. (Bug#8006)
16902
16903 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16904
16905 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16906 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16907 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16908 (allout-rebullet-heading, allout-open-sibtopic)
16909 (allout-toggle-current-subtree-encryption)
16910 (allout-toggle-subtree-encryption, allout-encrypt-string)
16911 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16912 (allout-distinctive-bullets-string, allout-auto-activation):
16913 * window.el (window-normalize-buffer-to-display):
16914 * progmodes/verilog-mode.el (verilog-batch-indent):
16915 * textmodes/bibtex.el (bibtex-field-braces-opt)
16916 (bibtex-field-strings-opt):
16917 * vc/cvs-status.el (cvs-tree-merge):
16918 Fix typos.
16919
16920 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16921
16922 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16923 `non-essential' to t, in order to avoid remote connections.
16924
16925 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16926
16927 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16928 On MS-DOS and MS-Windows, compare with loaddefs.el
16929 case-insensitively.
16930
16931 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16932
16933 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16934
16935 2011-11-23 Glenn Morris <rgm@gnu.org>
16936
16937 * paths.el (rmail-file-name): Reformat the doc-string so that it
16938 is picked up.
16939
16940 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16941 (rmail-auto-file): Ignore case in the "special" field names,
16942 as mail-fetch-field does for all others.
16943
16944 * mail/rmail.el (rmail-forward):
16945 * mail/rmailkwd.el (rmail-set-label):
16946 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16947 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16948
16949 * mail/rmail.el (rmail-current-message): Doc fix.
16950
16951 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16952
16953 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16954
16955 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16956
16957 2011-11-22 Glenn Morris <rgm@gnu.org>
16958
16959 * mail/rmailmm.el (test-rmail-mime-handler)
16960 (test-rmail-mime-bulk-handler)
16961 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16962
16963 2011-11-21 Juri Linkov <juri@jurta.org>
16964
16965 * calc/calc.el (calc-read-key-sequence):
16966 Let-bind `input-method-function' to nil. (Bug#10018)
16967
16968 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16969
16970 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16971 Tell the caller that the next line needs recomputation, even
16972 though it doesn't start a sexp (bug#10094).
16973
16974 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16975
16976 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16977
16978 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16979
16980 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16981 Use force-same-window.
16982
16983 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16984
16985 * descr-text.el (describe-char-unicode-data):
16986 * json.el (json-string-escape):
16987 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16988 (Footnote-unicode, Footnote-style-p):
16989 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16990
16991 2011-11-20 Chong Yidong <cyd@gnu.org>
16992
16993 * window.el (replace-buffer-in-windows): Restore interactive spec.
16994
16995 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16996
16997 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16998
16999 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17000 (byte-compile-global-not-obsolete-vars): New var.
17001 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17002 Use it.
17003 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17004
17005 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17006
17007 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17008 * progmodes/pascal.el (electric-pascal-equal):
17009 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17010 * xml.el (xml-substitute-special): Fix typos.
17011
17012 2011-11-20 Glenn Morris <rgm@gnu.org>
17013
17014 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17015 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17016 Doc fixes.
17017 (rmail-decode-mime-charset): Mark as obsolete.
17018
17019 * mail/rmailsum.el (rmail-message-regexp-p-1):
17020 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17021 Before using mime functions, check they are set. (Bug#10077)
17022
17023 2011-11-19 Juri Linkov <juri@jurta.org>
17024
17025 * info.el (Info-finder-find-node): Use `package--builtins' instead
17026 of `package-alist'. Use node names formed by the pattern "Keyword "
17027 and the keyword name.
17028
17029 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17030
17031 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17032
17033 2011-11-19 Juri Linkov <juri@jurta.org>
17034
17035 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17036 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17037 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17038 `old-history', `old-history-forward'. Add let-binding
17039 `window-selected'. Remove calls to `kill-buffer',
17040 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17041 before calling `Info-find-node', so `Info-find-node-2' will reread
17042 the Info file. Restore window positions only when `window-selected'
17043 is non-nil.
17044
17045 2011-11-19 Juri Linkov <juri@jurta.org>
17046
17047 * isearch.el (isearch-lazy-highlight-new-loop):
17048 Remove condition `(not isearch-error)'. (Bug#9918)
17049
17050 * misearch.el (multi-isearch-search-fun): Add condition
17051 `(not bound)' to ignore lazy-highlighting search.
17052 Add the search-failed message "end of multi" when the end of
17053 multi-sequence is reached. Uncapitalize the search-failed
17054 message "Repeat for next buffer".
17055
17056 * info.el (Info-search): Add the search-failed message
17057 "end of the manual" when the end of the manual is reached
17058 in Isearch mode.
17059
17060 2011-11-19 Juri Linkov <juri@jurta.org>
17061
17062 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17063 Use non-destructive `remove' instead of `delete' because
17064 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17065 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17066
17067 2011-11-19 Juri Linkov <juri@jurta.org>
17068
17069 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17070 to nil instead of binding `search-ring' and `regexp-search-ring'.
17071 (Bug#9185)
17072
17073 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17074
17075 * simple.el (line-move): Force movement by logical lines for any
17076 hscrolled window, not only when auto-hscroll-mode is on.
17077 (line-move-visual): Update doc string to that effect. (Bug#10076)
17078
17079 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17080
17081 * language/european.el (macintosh): Define as alias for mac-roman.
17082
17083 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17084
17085 * mail/rmailmm.el (rmail-mime-display-header)
17086 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17087 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17088 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17089 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17090 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17091 of a raw aref.
17092 (rmail-mime-entity-segment): To get past the tagline, move forward
17093 2 more lines, to account for the 2 empty lines that precede and
17094 follow the line with the buttons.
17095 (rmail-mime-update-tagline): Move one more line, to get past the
17096 empty line that follows the buttons in the tagline. (Bug#9520)
17097
17098 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17099
17100 * window.el (window-max-delta-1, window-min-delta-1)
17101 (window-min-size-1, window-state-get-1, window-state-put-1)
17102 (window-state-put-2): Use "window--" prefix.
17103
17104 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17105
17106 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17107 (smie-warning-count): New var.
17108 (smie-set-prec2tab): Use it.
17109 (smie-bnf->prec2): Improve warnings. Add docstring.
17110 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17111 (smie-bnf--set-class): New function.
17112 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17113 corner case.
17114
17115 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17116 (compilation-error-properties, compilation-move-to-column):
17117 Handle compilation-first-column while in the target buffer.
17118
17119 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17120 Don't hardcode point-min==1.
17121
17122 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17123 (eshell-rewrite-for-command): Remove workaround.
17124 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17125 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17126 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17127
17128 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17129
17130 2011-11-17 Glenn Morris <rgm@gnu.org>
17131
17132 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17133 Ignore buffer-local generated-autoload-file if it is the same
17134 as the global value. (Bug#10049)
17135
17136 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17137
17138 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17139 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17140 (reftex-toc-previous-heading, reftex-toc-max-level)
17141 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17142 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17143 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17144 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17145 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17146 (reftex-toc-rename-label, reftex-toc-visit-location)
17147 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17148 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17149 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17150 leaving "*toc*" only for references to the buffer.
17151
17152 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17153
17154 * window.el (window-resize, delete-window, split-window):
17155 Replace window-splits by window-combination-resize.
17156 * cus-start.el (window-splits): Replace by window-combination-resize.
17157
17158 2011-11-17 Glenn Morris <rgm@gnu.org>
17159
17160 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17161 Make bash entry derive from sh entry, not shell entry.
17162
17163 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17164
17165 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17166 local file name.
17167
17168 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17169
17170 * menu-bar.el (menu-bar-file-menu):
17171 * printing.el (pr-ps-utility):
17172 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17173 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17174 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17175 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17176 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17177 (icalendar--convert-cyclic-to-ical)
17178 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17179 (icalendar--convert-ical-to-diary)
17180 (icalendar--convert-recurring-to-diary)
17181 (icalendar--convert-non-recurring-all-day-to-diary)
17182 (icalendar-import-format-sample):
17183 * progmodes/idlw-shell.el (idlwave-shell-mode):
17184 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17185 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17186 (vhdl-ps-print-init): Fix typos.
17187
17188 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17189
17190 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17191 FSF and collapse date sequence, obscure author/maintainer email address
17192 better, remove extra version line, track relocation of author's webpage.
17193
17194 * progmodes/python.el (python-pdbtrack-input-prompt)
17195 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17196 regular python pdb prompts. Adjustments shamelessly taken exactly as
17197 suggested in EmacsWiki page (tiny change):
17198 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17199
17200 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17201
17202 * expand.el (expand-pos, expand-index, expand-point):
17203 Remove redundant info from docstring.
17204 (expand-add-abbrevs): Doc fix.
17205 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17206 (expand-sample-perl-mode-expand-list): Fix typos.
17207
17208 * net/dbus.el (dbus-event-member-name):
17209 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17210 * term/pc-win.el (msdos-create-frame-with-faces):
17211 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17212
17213 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17214
17215 * window.el (split-window, window-state-get-1)
17216 (window-state-put-1, window-state-put-2): Rename occurrences of
17217 window-nest to window-combination-limit.
17218 * cus-start.el (window-nest): Rename to window-combination-limit.
17219
17220 2011-11-16 Chong Yidong <cyd@gnu.org>
17221
17222 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17223 regexp (Bug#10033).
17224
17225 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17226
17227 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17228 `completing-read' will remove *Completions* and will preserve
17229 current-buffer for us.
17230 (tmm-add-prompt): Users of *Completions* will always (re)set its
17231 major mode.
17232 (tmm-old-comp-map): Remove.
17233
17234 2011-11-16 Glenn Morris <rgm@gnu.org>
17235
17236 * mail/rmailedit.el: Require rmailmm when compiling.
17237 (rmail-old-mime-state): New declaration.
17238 (rmail-edit-current-message): If editing a mime message,
17239 edit the "raw" message from the mbox buffer.
17240 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17241
17242 2011-11-15 Glenn Morris <rgm@gnu.org>
17243
17244 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17245 which wasn't being used. Add optional arg to force given state.
17246 (rmail-mime): Add optional arg to force given state.
17247
17248 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17249
17250 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17251 * frame.el (display-mm-dimensions-alist):
17252 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17253 (outline-move-subtree-down):
17254 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17255 (newsticker--treeview-do-get-node):
17256 * net/quickurl.el (quickurl-list-buffer-name):
17257 * progmodes/dcl-mode.el (dcl-mode):
17258 * progmodes/gdb-mi.el (gdb-mapcar*):
17259 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17260
17261 2011-11-15 Glenn Morris <rgm@gnu.org>
17262
17263 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17264 in a boolean sense, so just make it a boolean, and fix the doc.
17265 (rmail-show-mime-function, rmail-mime-feature)
17266 (rmail-require-mime-maybe): Doc fixes.
17267 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17268
17269 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17270
17271 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17272
17273 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17274 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17275 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17276 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17277
17278 2011-11-15 Glenn Morris <rgm@gnu.org>
17279
17280 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17281 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17282 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17283 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17284 (rmail-mime, rmail-show-mime): Doc fixes.
17285
17286 * term/ns-win.el (mode-line-frame-identification):
17287 Leave it alone. (Bug#10051)
17288
17289 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17290
17291 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17292 Handle empty buffers. (Bug#9978)
17293
17294 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17295
17296 * international/mule.el (define-charset):
17297 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17298 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17299 * progmodes/verilog-mode.el (verilog-backward-token):
17300 * textmodes/ispell.el (lookup-words):
17301 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17302
17303 2011-11-14 Glenn Morris <rgm@gnu.org>
17304
17305 * progmodes/executable.el
17306 (executable-make-buffer-file-executable-if-script-p):
17307 Handle file-modes returning nil.
17308
17309 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17310 message - not necessary, and causes problems. (Bug#9831)
17311
17312 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17313
17314 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17315
17316 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17317 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17318 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17319
17320 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17321
17322 * window.el (window-resize, delete-window): Use window-splits
17323 variable instead of function.
17324 (window-state-get-1, window-state-put-2, window-state-put):
17325 Don't deal with windows' splits status.
17326
17327 2011-11-12 Glenn Morris <rgm@gnu.org>
17328
17329 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17330 (apropos-documentation): Doc fixes.
17331
17332 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17333
17334 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17335 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17336
17337 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17338
17339 * electric.el (electric-indent-post-self-insert-function): Make it
17340 possible for a char to only indent in some circumstances.
17341 (electric-indent-mode): Simplify.
17342
17343 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17344
17345 * window.el (windows-with-parameter): Remove unused function.
17346 (windows-at-side): Rename to window-at-side-list.
17347 (window-check, window-atom-check, window-atom-check-1)
17348 (window-side-check, window-size-ignore, window-size-fixed-1)
17349 (window-in-direction-2): Prefix with "window--".
17350 (window-tree-1): Rename to window--subtree, fix doc-string.
17351
17352 2011-11-11 Glenn Morris <rgm@gnu.org>
17353
17354 * subr.el (eval-after-load): If FILE is already loaded,
17355 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17356
17357 2011-11-10 Glenn Morris <rgm@gnu.org>
17358
17359 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17360 Call svn via vc-svn-command rather than vc-do-command.
17361 (vc-svn-command): Add --non-interactive. (Bug#9993)
17362 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17363
17364 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17365 Add toggle-read-only. (Bug#7292)
17366 * files.el (toggle-read-only): Mention that it should only
17367 be used interactively. (Bug#10006)
17368
17369 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17370
17371 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17372 Adjust regexp for OCaml warnings.
17373
17374 * electric.el (electric-pair-post-self-insert-function): Let user
17375 turn it off buffer-locally (bug#9932).
17376
17377 * progmodes/python.el (python-beginning-of-statement):
17378 Rewrite (bug#2703).
17379
17380 * progmodes/compile.el: Better handle TABs (bug#9749).
17381 (compilation-internal-error-properties)
17382 (compilation-next-error-function): Obey the target buffer's
17383 compilation-error-screen-columns.
17384
17385 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17386
17387 * progmodes/meta-mode.el: Remove obsolete comments.
17388 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17389 Fix typos in docstrings.
17390
17391 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17392
17393 * window.el (window-size-fixed-p): Rewrite doc-string.
17394 (window-resizable-p): Rename to window--resizable-p. Update callers.
17395 (window--resizable): New function. Make all callers of
17396 window-resizable call window--resizable instead.
17397 (window-resizable): Rewrite in terms of window--resizable.
17398
17399 2011-11-08 Glenn Morris <rgm@gnu.org>
17400
17401 * progmodes/delphi.el (delphi-mode-syntax-table):
17402 Let define-derived-mode define a proper syntax table. (Bug#9994)
17403
17404 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17405
17406 * window.el: Stay away from defsubst.
17407 (window-list-no-nils): Remove.
17408 (window-state-get-1, window-state-get): Use backquote instead.
17409
17410 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17411
17412 * emacs-lisp/find-func.el (find-function-read):
17413 Fix incorrect use of default argument in `completing-read'.
17414
17415 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17416
17417 * window.el (display-buffer-function, special-display-function):
17418 Mention display-buffer-record-window but do not mention
17419 help-setup parameter in doc-strings.
17420 (window-min-delta): Fix doc-string typo.
17421
17422 2011-11-08 Chong Yidong <cyd@gnu.org>
17423
17424 * window.el (window-total-height, window-total-width): Doc fix.
17425 (window-body-size): Move from C.
17426 (window-body-height, window-body-width): Move to C.
17427
17428 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17429
17430 * window.el: Make special-display like display-buffer-alist (bug#9532).
17431 (display-buffer--special-action): New function, morphed
17432 from display-buffer--special.
17433 (display-buffer): Use it to handle special-display-buffers at higher
17434 priority (just after display-buffer-alist).
17435 (display-buffer-fallback-action, display-buffer--other-frame-action)
17436 (pop-to-buffer-same-window): Remove display-buffer--special.
17437
17438 2011-11-07 Glenn Morris <rgm@gnu.org>
17439
17440 * calendar/cal-menu.el (cal-menu-set-date-title):
17441 Do nothing if not in a calendar. (Bug#9976)
17442
17443 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17444
17445 * files.el (find-file): Always use selected-window.
17446
17447 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17448
17449 * window.el (window-combinations): Make WINDOW argument
17450 mandatory. Rewrite doc-string.
17451 (walk-window-subtree, window-atom-check, window-min-delta)
17452 (window-max-delta, window--resize-this-window)
17453 (window--resize-root-window-vertically, window-tree)
17454 (balance-windows, window-state-put): Rewrite doc-strings as to
17455 not mention the term "subwindow".
17456 (window--resize-subwindows-skip-p): Rename to
17457 window--resize-child-windows-skip-p.
17458 (window--resize-subwindows-normal): Rename to
17459 window--resize-child-windows-normal.
17460 (window--resize-subwindows): Rename to
17461 window--resize-child-windows.
17462 (window-or-subwindow-p): Rename to window--in-subtree-p.
17463
17464 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17465
17466 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17467 Ensure that mbox format messages end in two newlines (Bug#9974).
17468
17469 2011-11-06 Chong Yidong <cyd@gnu.org>
17470
17471 * window.el (window-combination-p): Function deleted; its
17472 side-effect is not used in any existing code.
17473 (window-combinations, window-combined-p): Call window-*-child
17474 directly.
17475
17476 2011-11-05 Chong Yidong <cyd@gnu.org>
17477
17478 * window.el (window-valid-p): Rename from window-any-p.
17479 (window-size-ignore, window-state-get): Callers changed.
17480 (window-normalize-window): Rename from window-normalize-any-window.
17481 New arg LIVE-ONLY, replacing window-normalize-live-window.
17482 (window-normalize-live-window): Delete.
17483 (window-combination-p, window-combined-p, window-combinations)
17484 (walk-window-subtree, window-atom-root, window-min-size)
17485 (window-sizable, window-sizable-p, window-size-fixed-p)
17486 (window-min-delta, window-max-delta, window-resizable)
17487 (window-resizable-p, window-full-height-p, window-full-width-p)
17488 (window-current-scroll-bars, window-point-1, set-window-point-1)
17489 (window-at-side-p, window-in-direction, window-resize)
17490 (adjust-window-trailing-edge, maximize-window, minimize-window)
17491 (window-deletable-p, delete-window, delete-other-windows)
17492 (record-window-buffer, unrecord-window-buffer)
17493 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17494 (quit-window, split-window, window-state-put)
17495 (set-window-text-height, fit-window-to-buffer)
17496 (shrink-window-if-larger-than-buffer): Callers changed.
17497
17498 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17499
17500 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17501 rfc2047-decode-string.
17502 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17503 warnings.
17504
17505 * window.el (window-body-height, window-body-width): Mention in
17506 the doc string that the return values are in frame's canonical
17507 units. (Bug#9949)
17508
17509 2011-11-03 Alan Mackenzie <acm@muc.de>
17510
17511 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17512 change in cc-engine.el.
17513
17514 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17515
17516 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17517
17518 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17519
17520 * window.el (quit-window): Call unrecord-window-buffer after
17521 showing another buffer in the window. (Bug#9937)
17522 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17523
17524 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17525
17526 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17527 Accept status with more than 9 shelves. (Bug#9935)
17528 Reported by Colin D Bennett <colin@gibibit.com>.
17529
17530 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17531
17532 * help.el (with-help-window): Don't reference
17533 temp-buffer-show-specifiers in doc-string.
17534
17535 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17536
17537 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17538 menu-item.
17539
17540 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17541
17542 * whitespace.el: New version 13.2.2.
17543 (whitespace-newline-mode): Disable properly. Reported by Sarah
17544 <EmacsWiki>.
17545
17546 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17547
17548 * net/newst-treeview.el: Remove "Time-stamp".
17549 (newsticker--group-manage-orphan-feeds): Do not call
17550 newsticker--treeview-tree-update.
17551 (newsticker-treeview-update, newsticker-treeview):
17552 Call newsticker--treeview-tree-update if necessary.
17553
17554 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17555
17556 * window.el (window-iso-combination-p, window-iso-combined-p)
17557 (window-iso-combinations): Remove "iso-" infix.
17558 Suggested by Chong Yidong.
17559 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17560 (window-max-delta-1, window-resize, window--resize-siblings)
17561 (window--resize-this-window, adjust-window-trailing-edge)
17562 (split-window, balance-windows-1)
17563 (shrink-window-if-larger-than-buffer):
17564 * calendar/calendar.el (calendar-generate-window):
17565 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17566
17567 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17568
17569 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17570 in place (bug#9907).
17571 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17572 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17573 (eshell-structure-basic-command, eshell-rewrite-while-command)
17574 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17575 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17576 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17577 (eshell-do-pipelines-synchronously, eshell-eval-command):
17578 Use backquotes and prefer setq to set.
17579 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17580 (eshell-macrop): Use functionp.
17581 (eshell-do-eval): Handle multiple expressions in `while' body.
17582
17583 2011-10-30 Chong Yidong <cyd@gnu.org>
17584
17585 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17586 instead of set-mark (Bug#9810).
17587
17588 2011-10-30 Chong Yidong <cyd@gnu.org>
17589
17590 * window.el (split-window-below, split-window-right): Rename from
17591 split-window-above-each-other and split-window-side-by-side
17592 respectively. All callers changed.
17593 (split-window-sensibly, split-window-sensibly): Use them.
17594 (split-window-keep-point): Doc fix.
17595
17596 * isearch.el: Add isearch-scroll property to split-window-below
17597 and split-window-right.
17598
17599 * follow.el (follow-mode):
17600 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17601 * progmodes/ada-xref.el (ada-gdb-application):
17602 * emulation/vip.el (vip-buffer-in-two-windows):
17603 * image-dired.el (image-dired-dired-with-window-configuration):
17604 * dired-x.el (dired-do-find-marked-files):
17605 * dired.el (dired-pop-to-buffer):
17606 * bs.el (bs--show-with-configuration):
17607 * vc/emerge.el (emerge-setup-windows):
17608 * textmodes/two-column.el (2C-two-columns):
17609 * textmodes/reftex-toc.el (reftex-toc):
17610 * progmodes/gdb-mi.el (gdb-setup-windows):
17611 * progmodes/fortran.el (fortran-window-create):
17612 * net/newst-treeview.el (newsticker--treeview-window-init):
17613 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17614 * emulation/tpu-edt.el (tpu-gold-map):
17615 * emulation/crisp.el (crisp-mode-map):
17616 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17617
17618 2011-10-29 Chong Yidong <cyd@gnu.org>
17619
17620 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17621
17622 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17623
17624 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17625 forged Ispell output (Bug#7904).
17626
17627 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17628
17629 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17630
17631 * doc-view.el: Avoid ugly errors about not finding nil.
17632 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17633 (doc-view-dvipdf-program, doc-view-unoconv-program)
17634 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17635 Avoid nil or absolute file name as default value.
17636 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17637
17638 2011-10-28 Alan Mackenzie <acm@muc.de>
17639
17640 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17641
17642 2011-10-28 Alan Mackenzie <acm@muc.de>
17643
17644 Amend the handling of c-beginning/end-of-defun in nested declaration
17645 scopes.
17646
17647 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17648 cc-langs.el. Change it to a defcustom.
17649
17650 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17651 cc-vars.el.
17652
17653 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17654 Prevent "class foo : bar" being spuriously recognized as a label.
17655
17656 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17657 Add parameter `inclusive' (to include enclosing braces in the region).
17658 (c-widen-to-enclosing-decl-scope): New function.
17659 (c-while-widening-to-decl-block): New macro.
17660 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17661 outward for defun boundaries, and correspondingly change symbol
17662 `respect-enclosure' to `go-outward'.
17663 (c-declaration-limits): Change algorithm to report only the "innermost"
17664 defun's boundaries.
17665
17666 2011-10-28 Deniz Dogan <deniz@dogan.se>
17667
17668 * net/rcirc.el (rcirc-mode): Use hard newlines.
17669
17670 2011-10-28 Alan Mackenzie <acm@muc.de>
17671
17672 Amend to indent and fontify macros "which include their own semicolon"
17673 correctly, using the "virtual semicolon" mechanism.
17674
17675 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17676
17677 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17678 Recode to scan one line at a time rather than having \n and \r
17679 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17680 (c-forward-label): Amend for virtual semicolons.
17681 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17682
17683 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17684 of the new C macros.
17685
17686 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17687 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17688 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17689 (c-opt-cpp-macro-define): Make into a full language variable.
17690 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17691 AWK Mode (including \n, \r) removed, no longer needed.
17692
17693 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17694 Invoke c-make-macro-with-semi-re.
17695
17696 * progmodes/cc-vars.el (c-macro-with-semi-re):
17697 (c-macro-names-with-semicolon): New variables.
17698 (c-make-macro-with-semi-re): New function.
17699
17700 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17701
17702 * vc/log-edit.el: Fill empty field rather than adding new one.
17703 (log-edit-add-field): New function.
17704 (log-edit-insert-changelog): Use it.
17705
17706 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17707
17708 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17709
17710 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17711
17712 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17713 (gdb--check-interpreter): New function.
17714 (gdb): Use it.
17715
17716 2011-10-27 Glenn Morris <rgm@gnu.org>
17717
17718 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17719 (least-positive-float, least-negative-float)
17720 (least-positive-normalized-float, least-negative-normalized-float)
17721 (float-epsilon, float-negative-epsilon):
17722 Remove unnecessary declarations.
17723
17724 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17725 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17726 (least-positive-float, least-negative-float)
17727 (least-positive-normalized-float, least-negative-normalized-float)
17728 (float-epsilon, float-negative-epsilon): Add doc-strings,
17729 based on those in cl.texi.
17730
17731 * files.el (set-visited-file-name): If the major-mode changed,
17732 reload the local variables. (Bug#9796)
17733
17734 2011-10-27 Chong Yidong <cyd@gnu.org>
17735
17736 * subr.el (change-major-mode-after-body-hook): New hook.
17737 (run-mode-hooks): Run it.
17738
17739 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17740 Use change-major-mode-before-body-hook.
17741
17742 * simple.el (fundamental-mode):
17743 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17744 change introducing fundamental-mode-hook.
17745
17746 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17747
17748 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17749
17750 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17751
17752 * ido.el (ido-file-name-all-completions-1): Do not require
17753 tramp.el explicitly. (Bug#7583)
17754
17755 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17756
17757 * progmodes/octave-mod.el:
17758 * progmodes/octave-inf.el: Update maintainer.
17759
17760 2011-10-26 Chong Yidong <cyd@gnu.org>
17761
17762 * subr.el (with-wrapper-hook): Rewrite doc.
17763
17764 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17765
17766 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17767 filenames "/method:foo:". (Bug#9793)
17768
17769 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17770
17771 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17772 (bug#9865).
17773
17774 2011-10-24 Glenn Morris <rgm@gnu.org>
17775
17776 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17777
17778 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17779
17780 * notifications.el: Add the requirement of a running D-Bus session
17781 bus to the Commentary.
17782
17783 2011-10-24 Juri Linkov <juri@jurta.org>
17784
17785 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17786 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17787 (Bug#9364)
17788
17789 2011-10-24 Juri Linkov <juri@jurta.org>
17790
17791 * info.el (Info-following-node-name-re): Add newline to the list
17792 of allowed characters for leading space. (Bug#9824)
17793
17794 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17795
17796 * progmodes/octave-inf.el (inferior-octave-mode-map):
17797 Fix C-c C-h binding.
17798 * progmodes/octave-mod.el (octave-help): Remove.
17799
17800 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17801
17802 Sync with Tramp 2.2.3.
17803
17804 * net/tramp-cache.el (top): Pacify byte-compiler using
17805 `init-file-user' and `site-run-file'.
17806
17807 * net/trampver.el: Update release number.
17808
17809 2011-10-23 Chong Yidong <cyd@gnu.org>
17810
17811 * files.el (toggle-read-only): Remove obsolete comment about
17812 version control.
17813
17814 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17815 for toggle-read-only. Note that this hasn't called vc-next-action
17816 since 2008-05-02, though it wasn't documented at the time.
17817
17818 * vc/ediff-init.el (ediff-toggle-read-only-function):
17819 Use toggle-read-only.
17820
17821 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17822
17823 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17824 of c-parse-state.
17825
17826 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17827 correct faulty logical expression.
17828 (c-parse-state-state, c-record-parse-state-state):
17829 (c-replay-parse-state-state): New defvar/defuns.
17830 (c-debug-parse-state): Use new functions.
17831
17832 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17833
17834 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17835 last fix. Use window-in-direction correctly.
17836
17837 2011-10-21 Chong Yidong <cyd@gnu.org>
17838
17839 * progmodes/idlwave.el (idlwave-mode):
17840 * progmodes/vera-mode.el (vera-mode): No need to set
17841 require-final-newline; that's done in prog-mode.
17842 Suggested by Stefan Monnier.
17843
17844 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17845
17846 * mouse.el (mouse-drag-window-above)
17847 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17848 (mouse-drag-mode-line-1, mouse-drag-header-line)
17849 (mouse-drag-vertical-line-rightward-window): Remove.
17850 (mouse-drag-line): New function.
17851 (mouse-drag-mode-line, mouse-drag-header-line)
17852 (mouse-drag-vertical-line): Call mouse-drag-line.
17853 * window.el (window-at-side-p, windows-at-side): New functions.
17854
17855 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17856
17857 * tar-mode.el (tar-grind-file-mode):
17858 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17859
17860 2011-10-21 Chong Yidong <cyd@gnu.org>
17861
17862 * progmodes/idlwave.el (idlwave-mode):
17863 * progmodes/vera-mode.el (vera-mode):
17864 Use mode-require-final-newline.
17865
17866 2011-10-20 Glenn Morris <rgm@gnu.org>
17867
17868 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17869
17870 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17871
17872 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17873
17874 2011-10-20 Chong Yidong <cyd@gnu.org>
17875
17876 * emulation/cua-base.el (cua-mode):
17877 * mail/footnote.el (footnote-mode):
17878 * mail/mailabbrev.el (mail-abbrevs-mode):
17879 * net/xesam.el (xesam-minor-mode):
17880 * progmodes/bug-reference.el (bug-reference-mode):
17881 * progmodes/cap-words.el (capitalized-words-mode):
17882 * progmodes/compile.el (compilation-minor-mode)
17883 (compilation-shell-minor-mode):
17884 * progmodes/gud.el (gud-tooltip-mode):
17885 * progmodes/hideif.el (hide-ifdef-mode):
17886 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17887 * progmodes/subword.el (subword-mode):
17888 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17889 * progmodes/which-func.el (which-function-mode):
17890 * term/tvi970.el (tvi970-set-keypad-mode):
17891 * term/vt100.el (vt100-wide-mode):
17892 * textmodes/flyspell.el (flyspell-mode):
17893 * textmodes/ispell.el (ispell-minor-mode):
17894 * textmodes/nroff-mode.el (nroff-electric-mode):
17895 * textmodes/paragraphs.el (use-hard-newlines):
17896 * textmodes/refill.el (refill-mode):
17897 * textmodes/reftex.el (reftex-mode):
17898 * textmodes/rst.el (rst-minor-mode):
17899 * textmodes/sgml-mode.el (html-autoview-mode)
17900 (sgml-electric-tag-pair-mode):
17901 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17902 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17903 * emulation/crisp.el (crisp-mode):
17904 * emacs-lisp/eldoc.el (eldoc-mode):
17905 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17906 minor mode behavior.
17907
17908 2011-10-19 Juri Linkov <juri@jurta.org>
17909
17910 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17911 the list of hard-coded chars with escape-glyph face.
17912
17913 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17914
17915 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17916
17917 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17918
17919 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17920 running process.
17921
17922 2011-10-19 Glenn Morris <rgm@gnu.org>
17923
17924 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17925 Ignore ignored files. (Bug#9726)
17926
17927 2011-10-19 Chong Yidong <cyd@gnu.org>
17928
17929 Doc fix for minor modes, stating that an omitted argument enables
17930 the mode unconditionally when called from Lisp.
17931
17932 * abbrev.el (abbrev-mode):
17933 * allout.el (allout-mode):
17934 * autoinsert.el (auto-insert-mode):
17935 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17936 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17937 (global-auto-revert-mode):
17938 * battery.el (display-battery-mode):
17939 * composite.el (global-auto-composition-mode)
17940 (auto-composition-mode):
17941 * delsel.el (delete-selection-mode):
17942 * desktop.el (desktop-save-mode):
17943 * dired-x.el (dired-omit-mode):
17944 * dirtrack.el (dirtrack-mode):
17945 * doc-view.el (doc-view-minor-mode):
17946 * double.el (double-mode):
17947 * electric.el (electric-indent-mode, electric-pair-mode):
17948 * emacs-lock.el (emacs-lock-mode):
17949 * epa-hook.el (auto-encryption-mode):
17950 * follow.el (follow-mode):
17951 * font-core.el (font-lock-mode):
17952 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17953 * help.el (temp-buffer-resize-mode):
17954 * hilit-chg.el (highlight-changes-mode)
17955 (highlight-changes-visible-mode):
17956 * hi-lock.el (hi-lock-mode):
17957 * hl-line.el (hl-line-mode, global-hl-line-mode):
17958 * icomplete.el (icomplete-mode):
17959 * ido.el (ido-everywhere):
17960 * image-file.el (auto-image-file-mode):
17961 * image-mode.el (image-minor-mode):
17962 * iswitchb.el (iswitchb-mode):
17963 * jka-cmpr-hook.el (auto-compression-mode):
17964 * linum.el (linum-mode):
17965 * longlines.el (longlines-mode):
17966 * master.el (master-mode):
17967 * mb-depth.el (minibuffer-depth-indicate-mode):
17968 * menu-bar.el (menu-bar-mode):
17969 * minibuf-eldef.el (minibuffer-electric-default-mode):
17970 * mouse-sel.el (mouse-sel-mode):
17971 * msb.el (msb-mode):
17972 * mwheel.el (mouse-wheel-mode):
17973 * outline.el (outline-minor-mode):
17974 * paren.el (show-paren-mode):
17975 * recentf.el (recentf-mode):
17976 * reveal.el (reveal-mode, global-reveal-mode):
17977 * rfn-eshadow.el (file-name-shadow-mode):
17978 * ruler-mode.el (ruler-mode):
17979 * savehist.el (savehist-mode):
17980 * scroll-all.el (scroll-all-mode):
17981 * scroll-bar.el (scroll-bar-mode):
17982 * server.el (server-mode):
17983 * shell.el (shell-dirtrack-mode):
17984 * simple.el (auto-fill-mode, transient-mark-mode)
17985 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17986 (line-number-mode, column-number-mode, size-indication-mode)
17987 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17988 * strokes.el (strokes-mode):
17989 * time.el (display-time-mode):
17990 * t-mouse.el (gpm-mouse-mode):
17991 * tool-bar.el (tool-bar-mode):
17992 * tooltip.el (tooltip-mode):
17993 * type-break.el (type-break-mode-line-message-mode)
17994 (type-break-query-mode):
17995 * view.el (view-mode):
17996 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17997 (global-whitespace-mode, global-whitespace-newline-mode):
17998 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17999
18000 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18001 Fix autogenerated docstring.
18002
18003 2011-10-19 Juri Linkov <juri@jurta.org>
18004
18005 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18006 by checking environment variables "DESKTOP_SESSION" and
18007 "XDG_CURRENT_DESKTOP". (Bug#9779)
18008
18009 2011-10-19 Juri Linkov <juri@jurta.org>
18010
18011 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18012 (browse-url-chromium-program, browse-url-chromium-arguments):
18013 New defcustoms.
18014 (browse-url-default-browser): Check for `browse-url-chromium' and
18015 call `browse-url-chromium-program'.
18016 (browse-url-chromium): New command. (Bug#9779)
18017
18018 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18019
18020 * facemenu.el (list-colors-duplicates): On Windows, detect more
18021 duplicates by assuming that only colors matching "^System" are
18022 special "system colors". (Bug#9722)
18023
18024 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18025
18026 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18027 to distinguish the author from the committer.
18028
18029 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18030
18031 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18032
18033 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18034
18035 * international/mule.el (sgml-html-meta-auto-coding-function):
18036 Add support for detecting encoding in HTML5 specified only as
18037 <meta charset="UTF-8">. Implementation just makes http-equiv and
18038 content-type parts from HTML4 encoding string optional. (Bug#9716)
18039
18040 2011-10-18 Glenn Morris <rgm@gnu.org>
18041
18042 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18043
18044 2011-10-18 Chong Yidong <cyd@gnu.org>
18045
18046 * faces.el (cursor): Doc fix.
18047
18048 2011-10-17 Chong Yidong <cyd@gnu.org>
18049
18050 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18051
18052 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18053
18054 * dirtrack.el (dirtrack): Support shell buffers with path
18055 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18056
18057 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18058
18059 * json.el: Bump version to 1.3 and note change in History.
18060 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18061
18062 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18063
18064 * comint.el (comint-insert-input, comint-send-input)
18065 (comint-get-old-input-default, comint-backward-matching-input)
18066 (comint-next-prompt): Use nil instead of `input' for field property of
18067 past user input (bug#114).
18068
18069 * minibuffer.el (completion--replace): Inherit surrounding properties
18070 (bug#114).
18071 (minibuffer-complete-and-exit): Use it.
18072
18073 * comint.el (comint--table-subvert): Quote the all-completions output
18074 (bug#9160).
18075
18076 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18077
18078 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18079
18080 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18081 window on right of selected. (Bug#9350) Reword other window
18082 entries and separate them from frame entries.
18083
18084 2011-10-15 Glenn Morris <rgm@gnu.org>
18085
18086 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18087 Doc fixes.
18088
18089 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18090
18091 * net/network-stream.el (network-stream-open-starttls):
18092 Improve detection of failure due to lack of TLS support.
18093
18094 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18095 putting the input text in front and in bold.
18096
18097 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18098
18099 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18100
18101 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18102 empty buffer.
18103
18104 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18105 unread-command-events rather than pushing yet-another event.
18106
18107 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18108
18109 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18110 the explanation of the possible choices. Make the options passed
18111 to completing-read shorter.
18112
18113 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18114
18115 * textmodes/flyspell.el (flyspell-large-region): Make sure
18116 extended character mode is used if defined (Bug#1339).
18117
18118 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18119
18120 * simple.el (what-cursor-position): Fix the display of the
18121 character info for LRE, LRO, RLE, and RLO characters by appending
18122 an invisible PDF.
18123
18124 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18125
18126 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18127 even in case of error; add debug spec; simplify data flow.
18128 (with-timeout-handler): Remove.
18129
18130 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18131
18132 Fix Bug#6019, Bug#9315.
18133
18134 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18135 complete `buffer-file-name', the local file name part could look
18136 remotely (for example on VMS).
18137
18138 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18139 `tramp-run-real-handler'.
18140 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18141 already quoted by '"'.
18142
18143 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18144 Let `file-name-handler-alist' be nil, the local file name part
18145 could look remotely (for example on VMS).
18146
18147 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18148
18149 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18150 from here...
18151 (flyspell-post-command-hook): ...to here.
18152
18153 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18154
18155 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18156 if not needed.
18157 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18158 using completion. Protect against "slow" callers.
18159 Remove the "message hack".
18160
18161 2011-10-11 Juri Linkov <juri@jurta.org>
18162
18163 * isearch.el (isearch-lazy-highlight-word): New variable.
18164 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18165 Use it. (Bug#9727)
18166
18167 2011-10-11 Glenn Morris <rgm@gnu.org>
18168
18169 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18170 like f90-previous-statement does.
18171
18172 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18173
18174 * eshell/eshell.el (eshell-command): History should be saved
18175 only in interactive use, to avoid error.
18176
18177 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18178
18179 * minibuffer.el (completion-file-name-table): Fix last change,
18180 i.e. ignore normal errors but not the other ones.
18181
18182 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18183
18184 * window.el (special-display-buffer-names)
18185 (special-display-regexps): Remove some remnants of earlier
18186 changes from doc-strings.
18187 (quit-windows-on): New function.
18188
18189 * vc/vc.el (vc-revert, vc-rollback):
18190 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18191 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18192 (Bug#6183) (Bug#7074) (Bug#7447)
18193
18194 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18195
18196 * window.el (frame-auto-hide-function): Add version tag.
18197 (Bug#9699)
18198
18199 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18200
18201 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18202 condition.
18203
18204 2011-10-09 Leo Liu <sdl.web@gmail.com>
18205
18206 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18207 (Bug#9701)
18208
18209 2011-10-08 Glenn Morris <rgm@gnu.org>
18210
18211 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18212 before the first code statement zero indent. (Bug#9690)
18213
18214 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18215
18216 * simple.el (count-words-region): Always count in the region.
18217 Report the number of lines and characters too.
18218 (count-words): New command, which counts in the buffer if the
18219 region is inactive, as count-words-region used to.
18220 (count-words--message): New function. Handle plurals.
18221 (count-lines-region): Make it an alias for count-words-region.
18222
18223 * bindings.el (esc-map): Replace count-lines-region with
18224 count-words-region.
18225
18226 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18227
18228 * window.el (window--delete): Delete dedicated frame
18229 unconditionally when argument KILL is non-nil. (Bug#9699)
18230 (switch-to-buffer): Fix doc-string typo.
18231
18232 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18233
18234 * eshell/eshell.el (eshell-command): Avoid using hooks.
18235
18236 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18237
18238 * bindings.el ([M-left],[M-right]): Bind to left-word and
18239 right-word respectively.
18240
18241 2011-10-07 Glenn Morris <rgm@gnu.org>
18242
18243 * cus-start.el (debug-on-quit): Fix custom type.
18244
18245 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18246
18247 * subr.el (define-key-after): Clarify that the function is not
18248 useful for non-menu keymaps.
18249
18250 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18251
18252 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18253
18254 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18255 in current minibuffer (Fix bug with recursive minibuffers).
18256
18257 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18258
18259 * progmodes/gdb-mi.el (gdb): Doc fix.
18260
18261 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18262
18263 * window.el (frame-auto-hide-function): New option replacing
18264 frame-auto-delete. Suggested by Stefan Monnier.
18265 (window--delete): Call frame-auto-hide-function instead of
18266 investigating frame-auto-delete.
18267 (window-point-1, set-window-point-1): New functions.
18268 (window-in-direction, record-window-buffer, window-state-get-1)
18269 (display-buffer-record-window): Use window-point-1 instead of
18270 window-point.
18271 (set-window-buffer-start-and-point): Use set-window-point-1.
18272
18273 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18274
18275 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18276
18277 2011-10-05 Glenn Morris <rgm@gnu.org>
18278
18279 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18280 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18281
18282 2011-10-05 Leo Liu <sdl.web@gmail.com>
18283
18284 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18285 works with buffer object.
18286
18287 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18288
18289 * mpc.el (mpc-tool-bar-map): Add labels.
18290
18291 2011-10-04 Glenn Morris <rgm@gnu.org>
18292
18293 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18294
18295 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18296
18297 * window.el (window--delete): New function.
18298 (frame-auto-delete): Resuscitate option.
18299 (bury-buffer, replace-buffer-in-windows)
18300 (quit-window): Rewrite using window--delete.
18301 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18302 Pass display-buffer-mark-dedicated to window--display-buffer-2
18303 (Bug#9639).
18304
18305 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18306
18307 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18308 returns a list (bug#9554). Add remote file name completion.
18309 * comint.el (comint--table-subvert): Curry and get quote&unquote
18310 functions as arguments.
18311 (comint--complete-file-name-data): Adjust call accordingly.
18312 * pcomplete.el (pcomplete--table-subvert): Remove.
18313 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18314
18315 * minibuffer.el (completion-table-case-fold): Use currying.
18316 (completion--styles-type, completion--cycling-threshold-type):
18317 New constants.
18318 (completion-styles, completion-category-overrides)
18319 (completion-cycle-threshold): Use them.
18320 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18321 completion-table-case-fold.
18322
18323 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18324
18325 * minibuffer.el (completion-category-overrides): Fix type of styles
18326 and add more user friendly tags (bug#9660).
18327
18328 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18329
18330 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18331 (mule-input-method-string): New widget.
18332 (default-input-method, language-info-custom-alist): Use it.
18333
18334 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18335
18336 * pcomplete.el: Require comint.
18337 (pcomplete--common-suffix): Remove.
18338 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18339 (pcomplete--table-subvert): Sync with comint--table-subvert.
18340 (pcomplete--entries): Use comint-completion-file-name-table.
18341 * comint.el (comint-unquote-filename): Simplify.
18342 (comint-completion-file-name-table): New function (bug#9616).
18343 (comint--complete-file-name-data): Use it.
18344
18345 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18346 (pcmpl-gnu-tar-buffer): Remove.
18347 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18348 around. Make sure pcomplete-suffix-list is only changed temporarily.
18349 Don't look inside the tar's file if it's too large.
18350
18351 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18352
18353 * cus-edit.el (custom-mode-map):
18354 * epa.el (epa-key-list-mode-map):
18355 * man.el (Man-mode-map):
18356 * startup.el (splash-screen-keymap):
18357 * simple.el (special-mode-map): Use scroll-up-command and
18358 scroll-down-command.
18359
18360 * progmodes/idlw-help.el (idlwave-help-mode-map):
18361 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18362 * net/newst-plainview.el (newsticker-mode-map):
18363 * emulation/ws-mode.el (wordstar-mode-map):
18364 * emulation/vi.el (vi-com-map):
18365 * calc/calc-graph.el (calc-graph-show-dumb):
18366 * term/sun.el (terminal-init-sun):
18367 * term/ns-win.el (global-map):
18368 * progmodes/grep.el (grep-mode-map):
18369 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18370 * mail/rmail.el (rmail-mode-map):
18371 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18372
18373 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18374 custom-safe-themes as special.
18375
18376 2011-10-01 Julien Danjou <julien@danjou.info>
18377
18378 * notifications.el (notifications-notify): Fix docstring.
18379
18380 2011-10-01 Per Starbäck <per@starback.se>
18381
18382 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18383
18384 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18385
18386 * startup.el (command-line-1): Fix last fix by inserting
18387 initial-scratch-message into *scratch* before displaying it.
18388 (Bug#9605) and (Bug#9636)
18389
18390 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18391
18392 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18393 window is hscrolled, move by logical lines. (Bug#9607)
18394 (line-move-visual): Update the doc string to the above effect.
18395
18396 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18397
18398 * window.el (display-buffer-record-window): When WINDOW is the
18399 selected window use `point' instead of `window-point'. (Bug#9626)
18400
18401 * startup.el (command-line-1): Use insert-before-markers when
18402 inserting initial-scratch-message. (Bug#9605)
18403
18404 * help.el (help-window): Remove variable.
18405
18406 2011-09-29 Glenn Morris <rgm@gnu.org>
18407
18408 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18409
18410 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18411
18412 * descr-text.el (describe-char-categories): Accept category
18413 descriptions more than one line long.
18414
18415 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18416
18417 * simple.el (delete-trailing-whitespace): Fix last change.
18418
18419 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18420 Don't confuse "y => 3" as the beginning of a `y' operation.
18421
18422 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18423 object has more than 4 slots (bug#9613).
18424
18425 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18426
18427 * subr.el (with-output-to-temp-buffer):
18428 * net/quickurl.el (quickurl, quickurl-browse-url):
18429 Fix typos in docstrings.
18430
18431 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18432
18433 * minibuffer.el (completion-styles)
18434 (completion-category-overrides): Cross reference each other in doc
18435 strings.
18436
18437 2011-09-27 Glenn Morris <rgm@gnu.org>
18438
18439 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18440 to split-string. (Bug#9606)
18441
18442 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18443
18444 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18445 (bug#9615).
18446
18447 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18448
18449 * emacs-lisp/package.el (list-packages): Fix echo area message.
18450
18451 2011-09-27 Leo Liu <sdl.web@gmail.com>
18452
18453 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18454
18455 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18456
18457 * net/dbus.el (dbus-unregister-object): Don't release services for
18458 registered signals. (Bug#9581)
18459
18460 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18461
18462 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18463 function that picks between cfengine 2 and 3 support
18464 automatically. Update docs accordingly.
18465
18466 2011-09-22 Kenichi Handa <handa@m17n.org>
18467
18468 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18469 ZERO.
18470 (indian-itrans-v5-table-for-tamil): New variable.
18471 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18472
18473 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18474
18475 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18476 that's true if the current command involved collapsing of text.
18477 It's reset to false at the beginning of the next command.
18478 (allout-post-command-business): Move the cursor to the beginning
18479 of entry if the cursor is hidden and collapsing activity just
18480 happened.
18481
18482 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18483
18484 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18485 tracking (Bug#9541).
18486
18487 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18488
18489 * net/newst-reader.el (newsticker-html-renderer)
18490 (newsticker-show-news): Automatically load html rendering package
18491 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18492 because w3m-fill-column is let-bound" and the error "Symbol's value
18493 as variable is void: w3m-fill-column".
18494
18495 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18496
18497 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18498 Release services only if they are defined. (Bug#9581)
18499
18500 2011-09-23 Richard Stallman <rms@gnu.org>
18501
18502 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18503 distinguish start of paragraph from start of its text.
18504
18505 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18506
18507 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18508 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18509 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18510
18511 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18512
18513 * international/mule-diag.el (mule-diag): Insert a newline after
18514 each fontset description.
18515
18516 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18517
18518 * simple.el (delete-trailing-whitespace):
18519 Document last change; simplify.
18520
18521 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18522
18523 * simple.el (delete-trailing-whitespace): Also delete
18524 extra newlines at the end of the buffer.
18525
18526 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18527 (picture-newline): Use forward-line so as to ignore fields.
18528
18529 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18530
18531 * subr.el (with-wrapper-hook): Fix edebug spec.
18532
18533 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18534
18535 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18536 (bug#4538).
18537
18538 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18539
18540 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18541 Fix nasty bug using wrong cached values.
18542
18543 2011-09-23 Alan Mackenzie <acm@muc.de>
18544
18545 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18546
18547 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18548
18549 * window.el (pop-to-buffer): Ensure right window is selected if we
18550 chose another frame.
18551
18552 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18553
18554 * simple.el (what-cursor-position): Use get-char-property-change
18555 and next-single-char-property-change, to be able to show display
18556 properties that come from overlays as well as text properties.
18557
18558 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18559
18560 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18561
18562 * cmuscheme.el (run-scheme, switch-to-scheme):
18563 * cus-edit.el (customize-group, custom-buffer-create)
18564 (customize-browse):
18565 * info.el (info):
18566 * shell.el (shell):
18567 * mail/sendmail.el (mail):
18568 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18569
18570 2011-09-22 Richard Stallman <rms@gnu.org>
18571
18572 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18573 move back only to line beg, don't move back over blank lines.
18574
18575 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18576
18577 * files.el (copy-directory): Set directory attributes only in case
18578 they could be retrieved from the source directory. (Bug#9565)
18579
18580 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18581
18582 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18583 (hs-find-block-beginning, hs-hide-level-recursive):
18584 Ignore strings as well as comments. (Bug#9502)
18585
18586 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18587
18588 * progmodes/sql.el (sql-comint-postgres):
18589 Convert port number to a string. (Bug#9566)
18590
18591 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18592
18593 * window.el (quit-window): Undedicate window when switching to
18594 previous buffer. Reported by Thierry Volpiatto
18595 <thierry.volpiatto@gmail.com>.
18596 (special-display-popup-frame): When popping up a new frame reset
18597 its previous buffers to nil. Simplify code.
18598
18599 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18600
18601 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18602 and process filter, as done also in `shell-command'.
18603
18604 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18605
18606 * window.el (set-window-buffer-start-and-point):
18607 Call set-window-start with NOFORCE argument t.
18608 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18609 (quit-window): Reword doc-string. Handle new format of
18610 quit-restore parameter. Don't delete window if it has a
18611 previous buffer we can show instead of the present one.
18612 (display-buffer-record-window): Rewrite using a new format for
18613 the quit-restore window parameter
18614 (special-display-popup-frame, display-buffer-same-window)
18615 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18616 (display-buffer-pop-up-window, display-buffer-use-some-window):
18617 Adapt symbol passed to display-buffer-record-window.
18618 * help.el (help-window-setup): Handle new format of quit-restore
18619 parameter.
18620
18621 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18622
18623 * faces.el (face-list): Fix docstring (bug#9564).
18624
18625 * window.el (display-buffer--action-function-custom-type):
18626 Don't include internal functions in the Custom interface.
18627
18628 2011-09-20 Juri Linkov <juri@jurta.org>
18629
18630 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18631 (Info-forward-node, Info-backward-node, Info-next-preorder)
18632 (Info-last-preorder): Use it. (Bug#9528)
18633
18634 2011-09-20 Juri Linkov <juri@jurta.org>
18635
18636 * info.el (Info-last-preorder): Visit last menu item only when
18637 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18638
18639 2011-09-20 Julien Danjou <julien@danjou.info>
18640
18641 * password-cache.el (password-cache-remove): Remove entries even if the
18642 value is nil, so that password with a nil value (negative caching) is
18643 possible to invalidate.
18644
18645 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18646
18647 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18648 all whitespace around breakpoint. (Bug#9553)
18649 (f90-find-breakpoint): Only break at whitespace inside a comment.
18650
18651 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18652
18653 * minibuffer.el (completion-file-name-table): Keep track of errors.
18654 (completion-table-with-predicate): Handle the case where pred1 is nil.
18655 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18656
18657 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18658
18659 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18660 (debugger-return-value): Signal an error if the debugging context does
18661 not await any return value.
18662
18663 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18664 * image-mode.el (image-toggle-display-text)
18665 (image-toggle-display-image): Stay away from evil `intangible'.
18666
18667 2011-09-19 Leo Liu <sdl.web@gmail.com>
18668
18669 * replace.el (occur-revert-arguments): Make it permanent-local.
18670 (occur-mode): Don't call font-lock-defontify.
18671
18672 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18673
18674 * net/ldap.el (ldap-search-internal): Don't push empty search
18675 result (Bug#9508).
18676
18677 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18678
18679 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18680
18681 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18682
18683 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18684 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18685
18686 2011-09-18 Juri Linkov <juri@jurta.org>
18687
18688 * buff-menu.el (Buffer-menu-mode-map):
18689 * dired.el (dired-mode-map):
18690 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18691 (lisp-interaction-mode-map):
18692 * emacs-lisp/package.el (package-menu-mode-map):
18693 * epa.el (epa-key-list-mode-map):
18694 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18695 (menu-bar-options-menu):
18696 * outline.el (outline-mode-menu-bar-map):
18697 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18698 * vc/vc-dir.el (vc-dir-menu-map):
18699 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18700 Capitalize non-function content words in menu item strings.
18701
18702 * dired.el (dired-mode-map): Add menu item for
18703 `image-dired-dired-toggle-marked-thumbs'.
18704
18705 2011-09-18 Juri Linkov <juri@jurta.org>
18706
18707 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18708 to `isearch-case-fold-search' and restore its original value
18709 after the `isearch-mode' call.
18710
18711 2011-09-18 Juri Linkov <juri@jurta.org>
18712
18713 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18714 because `zgrep' returns 1 for successful matches (bug#9226).
18715
18716 2011-09-18 Juri Linkov <juri@jurta.org>
18717
18718 * info.el (Info-extract-menu-node-name): Check the second match
18719 for empty string (second test-case of bug#9528).
18720 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18721 intermediate nodes to the history (first test-case of bug#9528).
18722
18723 2011-09-18 Juri Linkov <juri@jurta.org>
18724
18725 * info.el (Info-mode-syntax-table): New variable.
18726 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18727
18728 2011-09-18 Juri Linkov <juri@jurta.org>
18729
18730 * info.el (Info-file-supports-index-cookies):
18731 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18732 outputs one more line for long file names (bug#4142).
18733
18734 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18735
18736 * newcomment.el (comment-normalize-vars): If prompting for
18737 comment-start, set comment-start-skip too (Bug#8424).
18738
18739 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18740
18741 * icomplete.el: Fix previous fix of Bug#5849.
18742 (icomplete-mode): Don't set completion-show-inline-help.
18743 (icomplete-minibuffer-setup): Set completion-show-inline-help
18744 locally during icompletion.
18745
18746 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18747
18748 * woman.el (woman2-process-escapes): Don't delete unrecognized
18749 escapes (Bug#7843).
18750
18751 * files.el (inhibit-first-line-modes-regexps): Add image files.
18752 (hack-local-variables-prop-line): Return nil for malformed
18753 prop-lines (Bug#9044).
18754
18755 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18756
18757 * net/tramp.el (top): Don't require 'shell.
18758 (tramp-methods): Fix docstring.
18759 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18760 Return complete remote file name. Handle "smb" case.
18761 Use `tramp-tmpdir', if defined for the respective method.
18762 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18763
18764 * net/tramp-compat.el (top): Require 'shell.
18765
18766 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18767 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18768 `tramp-current-host'.
18769 (tramp-get-remote-tmpdir): Remove.
18770
18771 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18772 `tramp-tmpdir' entries.
18773 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18774 (tramp-smb-handle-file-attributes): Ignore errors.
18775 (tramp-smb-wait-for-output): Check also for process end.
18776
18777 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18778
18779 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18780 when sending QUIT (bug#9312).
18781
18782 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18783
18784 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18785 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18786 occur-mode-display-occurrence.
18787 (occur-edit-mode): Add usage message.
18788 (occur-cease-edit): New command.
18789 (occur-after-change-function): Use text properties to find the
18790 position of the prefix text.
18791 (occur-engine): Set stickiness of prefix text properties.
18792
18793 2011-09-17 Glenn Morris <rgm@gnu.org>
18794
18795 * progmodes/etags.el (complete-tag):
18796 Fix call to completion-in-region. (Bug#9526)
18797
18798 2011-09-17 Juri Linkov <juri@jurta.org>
18799
18800 * textmodes/ispell.el (ispell-word): Add to the error message
18801 the word, ispell program name and current dictionary (bug#9121).
18802 (ispell-tex-arg-end): Capitalize "error" in the error message.
18803
18804 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18805
18806 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18807 check. (Bug#4251)
18808
18809 2011-09-17 Juri Linkov <juri@jurta.org>
18810
18811 * window.el (window-safe-min-height, window-safe-min-width):
18812 Fix typos (followup to bug#9522).
18813
18814 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18815
18816 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18817
18818 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18819
18820 * simple.el (line-move): If goal-column is set, move by logical
18821 lines, not by display lines. (Bug#971)
18822 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18823 to reflect the above change.
18824
18825 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18826
18827 * image.el (imagemagick-register-types): Use regexp-opt.
18828
18829 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18830
18831 * window.el (display-buffer-base-action): Rename from
18832 display-buffer-default-action. Make default value empty.
18833 (display-buffer-overriding-action): Convert to defvar.
18834 (display-buffer-fallback-action): New var.
18835
18836 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18837
18838 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18839 declaration.
18840 (package--add-to-archive-contents): If there is a duplicate entry
18841 with an older version, remove it.
18842 (package-menu-mark-delete, package-menu-mark-install)
18843 (package-menu-mark-unmark): Make unused args optional.
18844 (package-menu-mark-obsolete-for-deletion):
18845 Use package-menu-get-status instead of a regexp search.
18846 (package-menu-get-status): Use tabulated-list-entry.
18847 (package-menu-mark-upgrades): New command.
18848 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18849 (package-menu-execute): Do installation before deletion.
18850 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18851 instead of checking major-mode.
18852 (package-menu--find-upgrades): New function.
18853
18854 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18855
18856 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18857 passwords in the log buffer.
18858 (smtpmail-process-filter): Update the process marker so that the
18859 "broken by peer" status message is inserted in the right place.
18860
18861 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18862
18863 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18864 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18865 bibtex-completion-at-point-function.
18866 (bibtex-completion-at-point-function): Use them.
18867
18868 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18869
18870 * mpc.el (mpc-constraints-tag-lookup): New function.
18871 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18872 also to browser "album|playlist".
18873
18874 2011-09-14 Juri Linkov <juri@jurta.org>
18875
18876 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18877 (isearch-edit-string): Use length of `isearch-string' when
18878 `isearch-fail-pos' returns nil.
18879 (isearch-message): Remove duplicate code and call
18880 `isearch-fail-pos' with arg `t'.
18881
18882 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18883
18884 * replace.el (occur-mode-goto-occurrence): Don't force using other
18885 window (Bug#9499).
18886
18887 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18888
18889 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18890
18891 * window.el (display-buffer-window): Remove.
18892 (display-buffer-record-window): Use help-setup window parameter
18893 instead of variable display-buffer-window.
18894 (display-buffer-function, special-display-buffer-names)
18895 (special-display-function): Mention help-setup parameter instead
18896 of display-buffer-window in doc-string.
18897 * help.el (help-window-setup): New argument help-window.
18898 Use help-window-setup parameter instead of display-buffer-window.
18899 Reword some messages.
18900 (with-help-window): Pass window used for displaying the buffer
18901 to help-window-setup. Don't set display-buffer-window.
18902
18903 2011-09-13 Glenn Morris <rgm@gnu.org>
18904
18905 * emacs-lisp/debug.el (debugger-make-xrefs):
18906 Preserve point. (Bug#9462)
18907
18908 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18909
18910 * window.el (window-deletable-p): Use next-frame.
18911
18912 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18913
18914 * window.el (window-auto-delete): Remove.
18915 (window-deletable-p): Remove argument FORCE. Don't deal with
18916 dedication and previous buffers.
18917 (switch-to-prev-buffer): Don't delete window.
18918 (delete-windows-on): Delete a window's frame if and only if the
18919 window is dedicated.
18920 (replace-buffer-in-windows): Delete buffer's window or frame if
18921 and only if window is dedicated.
18922 (quit-window): Handle quit-restore as before last change.
18923 (bury-buffer): Delete window only if window-deletable-p returns t.
18924
18925 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18926
18927 * window.el (window-deletable-p): Never delete the last frame on a
18928 given terminal.
18929
18930 2011-09-13 Glenn Morris <rgm@gnu.org>
18931
18932 * help.el (describe-key-briefly): Copy previous standard-output change.
18933
18934 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18935
18936 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18937
18938 2011-09-13 Glenn Morris <rgm@gnu.org>
18939
18940 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18941 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18942
18943 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18944
18945 * dired-aux.el (dired-mark-read-string): Don't return default
18946 value on empty input (Bug#9361).
18947 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18948 Omit initial minibuffer contents.
18949 (dired-do-chmod): Signal an error on empty input.
18950 (dired-mark-read-string): Don't return default on empty input.
18951
18952 * files.el (file-modes-symbolic-to-number): Doc fix.
18953
18954 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18955
18956 * international/mule-cmds.el (ucs-completions): Remove.
18957 (read-char-by-name): Use complete-with-action instead; add metadata.
18958
18959 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18960
18961 * window.el (display-buffer--action-function-custom-type)
18962 (display-buffer--action-custom-type): New vars.
18963 (display-buffer-alist, display-buffer-default-action)
18964 (display-buffer-overriding-action): Add defcustom types.
18965
18966 * frame.el (delete-other-frames): Doc fix (Bug#276).
18967
18968 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18969
18970 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18971
18972 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18973
18974 Change modes that used same-window-* vars to use switch-to-buffer.
18975
18976 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18977 Use switch-to-buffer.
18978
18979 * cus-edit.el (customize-group, custom-buffer-create)
18980 (customize-browse, custom-buffer-create-other-window):
18981 Use switch-to-buffer or switch-to-buffer-other-window.
18982
18983 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18984 (Info-prev, Info-up, Info-speedbar-goto-node)
18985 (info-display-manual): Use switch-to-buffer.
18986 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18987
18988 * mail/sendmail.el (mail): Use switch-to-buffer.
18989 (mail-recover): Use switch-to-buffer-other-window.
18990
18991 * cmuscheme.el (run-scheme, switch-to-scheme):
18992 * ielm.el (ielm):
18993 * shell.el (shell):
18994 * net/rlogin.el (rlogin):
18995 * net/telnet.el (telnet, rsh):
18996 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18997
18998 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18999
19000 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19001
19002 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19003
19004 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19005 so don't mention it (bug#9301).
19006 (dired-sort-toggle-or-edit): Clarify string further.
19007
19008 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19009 match `x', `w32' and `ns', like the manual says (bug#9029).
19010
19011 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19012 (process-kill-buffer-query-function): Mention the buffer name in
19013 the query.
19014
19015 * image-mode.el (image-next-line): The line parameter is mandatory
19016 (bug#9258).
19017
19018 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19019 which can be useful (bug#9301).
19020
19021 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19022
19023 * subr.el (match-string): Mention that the current buffer should
19024 be the same as the search was done in (bug#9282).
19025
19026 * facemenu.el: Disable the remove-* commands if the mark isn't
19027 active (bug#9162).
19028
19029 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19030
19031 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19032 of display-buffer.
19033 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19034
19035 * replace.el (occur-mode-goto-occurrence)
19036 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19037 and display-buffer.
19038
19039 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19040 display-buffer.
19041
19042 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19043 special-display and same-window variables.
19044 (mail-other-window): Use switch-to-buffer-other-window.
19045 (mail-other-frame): USe switch-to-buffer-other-frame.
19046
19047 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19048 Use display-buffer-other-frame.
19049 (gdb-display-gdb-buffer): Use pop-to-buffer.
19050
19051 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19052
19053 * progmodes/python.el: Don't set same-window-buffer-names.
19054
19055 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19056
19057 * window.el (display-buffer-alist): Add *Python*.
19058
19059 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19060
19061 * window.el (display-buffer-alist): Add entry for buffers
19062 previously handled same-window-*.
19063 (display-buffer-alist, display-buffer-default-action)
19064 (display-buffer-overriding-action): Mark as risky.
19065 (display-buffer-alist): Document action function changes.
19066 (display-buffer--same-window-action)
19067 (display-buffer--other-frame-action): New variables.
19068 (switch-to-buffer, display-buffer-other-frame): Use them.
19069 (display-buffer): Rename reuse-frame entry to reusable-frames.
19070 (display-buffer-reuse-selected-window): Function deleted.
19071 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19072 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19073 (display-buffer-special): New function.
19074 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19075 display-buffer-reuse-or-pop-window. Split off special-display
19076 part into display-buffer-special.
19077 (display-buffer-use-some-window): Don't perform any special
19078 pop-up-frames handling.
19079 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19080 (display-buffer--maybe-same-window): Rename from
19081 display-buffer-maybe-same-window.
19082
19083 * info.el: Don't set same-window-regexps.
19084 (info-setup): New function.
19085 (info-other-window, info): Call it.
19086
19087 * cus-edit.el: Don't set same-window-regexps.
19088 (customize-group): New argument.
19089 (customize-group-other-window): Use it.
19090 (customize-face, customize-face-other-window): Likewise.
19091 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19092
19093 * net/rlogin.el:
19094 * net/telnet.el:
19095 * progmodes/gud.el: Don't set same-window-regexps.
19096
19097 * cmuscheme.el:
19098 * ielm.el:
19099 * shell.el:
19100 * mail/sendmail.el:
19101 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19102
19103 2011-09-10 Juri Linkov <juri@jurta.org>
19104
19105 * isearch.el (isearch-edit-string): Remove obsolete mention of
19106 `C-w' (`isearch-yank-word-or-char') from docstring.
19107 (isearch-query-replace): Fix typo in docstring (bug#9466).
19108
19109 2011-09-10 Juri Linkov <juri@jurta.org>
19110
19111 * paren.el (show-paren-function): Don't show escaped parens.
19112 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19113
19114 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19115
19116 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19117 (mm-default-file-encoding): Remove autoload forms, they are
19118 replaced with autoload cookies in mml.el and mm-encode.el.
19119 (mail-add-attachment): New command.
19120 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19121 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19122 the doc string.
19123 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19124
19125 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19126
19127 * simple.el (count-words-region): Use buffer if there's no region
19128 (bug#9429).
19129
19130 2011-09-09 Juri Linkov <juri@jurta.org>
19131
19132 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19133 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19134 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19135
19136 2011-09-09 Alan Mackenzie <acm@muc.de>
19137
19138 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19139 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19140
19141 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19142
19143 Fix for Savannah bug#9392.
19144 * simple.el (mail-encode-mml): New defvar.
19145
19146 * mail/rmail.el (mail-encode-mml): Add a defvar.
19147 (rmail-enable-mime-composing): Default to t.
19148 (rmail-forward): Use MIME method of forwarding only if both
19149 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19150 Set mail-encode-mml non-nil if the MIME method was used.
19151
19152 * mail/sendmail.el (mml-to-mime): Add autoload form.
19153 (mail-encode-mml): Add a defvar.
19154 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19155 to nil.
19156 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19157 message through mml-to-mime, and reset mail-encode-mml to nil.
19158
19159 2011-09-09 Glenn Morris <rgm@gnu.org>
19160
19161 * woman.el (woman-if-body): When processing an .el block,
19162 do not delete the next .el block as well. (Bug#9447)
19163 (woman-special-characters): Add oq, cq, and hy characters.
19164
19165 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19166
19167 * window.el (window-deletable-p): Make sure window is live before
19168 invoking window-prev-buffers.
19169
19170 2011-09-08 Leo Liu <sdl.web@gmail.com>
19171
19172 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19173
19174 2011-09-08 Juri Linkov <juri@jurta.org>
19175
19176 * progmodes/compile.el (compilation-environment): Make it
19177 a defcustom (bug#8340).
19178
19179 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19180
19181 * window.el (frame-auto-delete): Rename to window-auto-delete.
19182 Make it control auto-deletion of windows and/or frames.
19183 (window-deletable-p): New argument FORCE. Rewrite conditions
19184 for deleting window/frame. (Bug#9419)
19185 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19186 Rewrite handling of case when window/frame can be deleted.
19187 (delete-windows-on): Call window-deletable-p with new FORCE
19188 argument t. (Bug#9456)
19189
19190 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19191
19192 * help-mode.el (help-mode): Restore autoload.
19193
19194 2011-09-07 Juri Linkov <juri@jurta.org>
19195
19196 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19197 `compilation-environment'. Set buffer-local
19198 `compilation-environment' to `thisenv' later after (funcall mode).
19199 (Bug#8340)
19200
19201 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19202 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19203 instead of replacing its value. (Bug#8340)
19204
19205 2011-09-07 Juri Linkov <juri@jurta.org>
19206
19207 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19208 based on text properties put by `grep-filter' instead of matching
19209 escape sequences.
19210 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19211 to the value of `grep-error-screen-columns' (bug#9438).
19212
19213 2011-09-07 Juri Linkov <juri@jurta.org>
19214
19215 * simple.el (next-error-highlight, next-error-highlight-no-select):
19216 Doc fix (bug#9432).
19217
19218 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19219
19220 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19221 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19222
19223 2011-09-07 Leo Liu <sdl.web@gmail.com>
19224
19225 * net/rcirc.el (rcirc-mode): Conditionally initialize
19226 rcirc-input-ring.
19227
19228 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19229
19230 * emacs-lisp/find-func.el (find-function-C-source): Only set
19231 find-function-C-source-directory after checking that we found a source
19232 file there (bug#9440).
19233
19234 2011-09-06 Alan Mackenzie <acm@muc.de>
19235
19236 * isearch.el (isearch-other-meta-char): Wherever a key list is
19237 unread, "unread" the prefix arg, too. This fixes bug #8901.
19238
19239 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19240
19241 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19242
19243 2011-09-05 Juri Linkov <juri@jurta.org>
19244
19245 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19246
19247 2011-09-05 Juri Linkov <juri@jurta.org>
19248
19249 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19250 keeping point where processing of grep matches begins, and
19251 continue to delete remaining escape sequences from the same point.
19252 (grep-filter): Make leading zero optional in "0?1;31m" because
19253 git-grep emits "\033[1;31m" escape sequences unlike expected
19254 "\033[01;31m" as GNU Grep does (bug#9408).
19255 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19256
19257 2011-09-05 Juri Linkov <juri@jurta.org>
19258
19259 * subr.el (y-or-n-p): Capitalize "yes".
19260
19261 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19262
19263 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19264 `tramp-cache-unload-hook' where appropriate.
19265 (tramp-methods): Rename `tramp-remote-sh' to
19266 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19267 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19268
19269 * net/tramp-sh.el (top): Don't require 'shell.
19270 (tramp-methods): Add `tramp-remote-shell' and
19271 `tramp-remote-shell-args' entries.
19272 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19273 (tramp-sh-handle-shell-command): Remove.
19274 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19275 Use `tramp-remote-shell'.
19276
19277 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19278
19279 * mail/sendmail.el (sendmail-query-once-function): Delete.
19280 (sendmail-query-once): Save directly to send-mail-function.
19281 Update message-send-mail-function too.
19282
19283 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19284
19285 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19286
19287 * progmodes/python.el (python-mode-map): Use correct function to
19288 start python interpreter from menu-bar (as reported by Geert
19289 Kloosterman).
19290 (inferior-python-mode-map): Fix typo.
19291 (python-shell-map): Remove.
19292
19293 2011-09-03 Deniz Dogan <deniz@dogan.se>
19294
19295 * net/rcirc.el (rcirc-print): Simplify code for
19296 rcirc-scroll-show-maximum-output. There is no need to walk
19297 through all windows to find the right one.
19298
19299 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19300
19301 * help.el (help-return-method): Doc fix.
19302
19303 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19304
19305 * window.el (window-deletable-p): Don't return a non-nil value
19306 when there's a buffer that was shown in the window before.
19307 (Bug#9419)
19308 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19309 Set window's previous buffers to nil.
19310
19311 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19312
19313 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19314 newline before and after the tag line, so it doesn't interfere
19315 with determining the paragraph direction of bidirectional text.
19316
19317 2011-09-03 Leo Liu <sdl.web@gmail.com>
19318
19319 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19320
19321 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19322
19323 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19324 (pop-to-buffer): Change interactive spec. Pass second argument
19325 directly to display-buffer.
19326 (display-buffer): Fix interactive spec. Use functionp to
19327 distinguish between a function and a list of functions.
19328
19329 * abbrev.el (edit-abbrevs):
19330 * arc-mode.el (archive-extract):
19331 * autoinsert.el (auto-insert):
19332 * bookmark.el (bookmark-bmenu-list):
19333 * files.el (find-file):
19334 * view.el (view-buffer):
19335 * progmodes/compile.el (compilation-goto-locus):
19336 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19337
19338 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19339
19340 * window.el (display-buffer-alist): Doc fix.
19341 (display-buffer): Add docstring. Don't treat
19342 display-buffer-default specially.
19343 (display-buffer-reuse-selected-window)
19344 (display-buffer-same-window, display-buffer-maybe-same-window)
19345 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19346 (display-buffer-pop-up-window)
19347 (display-buffer-reuse-or-pop-window)
19348 (display-buffer-use-some-window): New functions.
19349 (display-buffer-default-action): Use them.
19350 (display-buffer-default): Delete.
19351 (pop-to-buffer-1): Fix choice of actions.
19352
19353 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19354
19355 * minibuffer.el (completion--insert-strings): Don't get confused by
19356 completion entries that end with an LF char.
19357
19358 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19359
19360 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19361
19362 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19363
19364 * window.el (display-buffer): Restore interactive spec.
19365 (display-buffer-same-window, display-buffer-other-window):
19366 New functions.
19367 (pop-to-buffer-1): New function. Use the above.
19368 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19369 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19370
19371 * view.el (view-buffer-other-window, view-buffer-other-frame):
19372 Just use pop-to-buffer.
19373
19374 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19375
19376 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19377
19378 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19379
19380 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19381
19382 2011-08-31 Richard Stallman <rms@gnu.org>
19383
19384 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19385 of the separation of rmail-view-buffer from rmail-buffer.
19386 If you say no to "replace original", the decrypt is in the
19387 view buffer. If you say yes, the decrypt goes into the
19388 rmail buffer also.
19389
19390 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19391
19392 * window.el (display-buffer-window): Rewrite doc-string.
19393 (display-buffer-record-window): New function.
19394 (display-buffer-macro-specifiers)
19395 (display-buffer-even-window-sizes, display-buffer-set-height)
19396 (display-buffer-set-width, display-buffer-in-window)
19397 (display-buffer-reuse-window, display-buffer-split-specifiers)
19398 (display-buffer-side-specifiers, display-buffer-split-window-1)
19399 (display-buffer-split-window, display-buffer-split-atom-window)
19400 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19401 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19402 (display-buffer-other-window-means-other-frame)
19403 (display-buffer-normalize-special)
19404 (display-buffer-normalize-default)
19405 (display-buffer-normalize-argument)
19406 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19407 (display-buffer-normalize-specifiers, display-buffer-frame)
19408 (display-buffer-same-window, display-buffer-same-frame)
19409 (display-buffer-other-window)
19410 (display-buffer-same-frame-other-window)
19411 (display-buffer-other-frame, pop-to-buffer-same-window)
19412 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19413 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19414 (switch-to-buffer-same-frame)
19415 (switch-to-buffer-other-window-same-frame)
19416 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19417 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19418 (display-buffer-alist-set): Remove.
19419 (display-buffer-function, special-display-buffer-names)
19420 (special-display-regexps, special-display-function):
19421 In doc-string refer to display-buffer-window and quit-restore
19422 parameter.
19423 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19424 (special-display-frame-alist, special-display-popup-frame)
19425 (same-window-buffer-names, same-window-regexps, same-window-p)
19426 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19427 (split-window-preferred-function, split-height-threshold)
19428 (split-width-threshold, window-splittable-p)
19429 (split-window-sensibly, window--try-to-split-window)
19430 (window--frame-usable-p, even-window-heights)
19431 (window--even-window-heights, window--display-buffer-1)
19432 (window--display-buffer-2, display-buffer-other-frame):
19433 Restore old Emacs 23 code, order and doc-strings where applicable.
19434 (display-buffer-default, display-buffer-assq-regexp): New functions.
19435 (display-buffer-alist): Rewrite doc-string.
19436 (display-buffer-default-action)
19437 (display-buffer-overriding-action): New variables.
19438 (display-buffer, switch-to-buffer): Rewrite.
19439 (pop-to-buffer): Restore Emacs 23 behavior but use
19440 window-normalize-buffer-to-display.
19441 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19442 Restore Emacs 23 behavior but use
19443 window-normalize-buffer-to-switch-to.
19444 (pop-to-buffer-same-window): Rewrite.
19445 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19446 Rewrite using Emacs 23 options.
19447
19448 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19449
19450 * net/tramp.el (tramp-root-regexp): Remove.
19451 (tramp-completion-file-name-regexp-unified)
19452 (tramp-completion-file-name-regexp-separate)
19453 (tramp-completion-file-name-regexp-url): Don't use leading volume
19454 letter on w32 systems. (Bug#5303, Bug#9311)
19455 (tramp-drop-volume-letter): Simplify definition.
19456 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19457
19458 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19459
19460 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19461 (bug#9356).
19462
19463 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19464
19465 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19466
19467 2011-08-29 Juri Linkov <juri@jurta.org>
19468
19469 * isearch.el (isearch-done): Don't display message "Mark saved"
19470 when arg `edit' is non-nil to prevent its flicker in the echo area.
19471
19472 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19473
19474 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19475 obsolete packages for deletion.
19476
19477 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19478
19479 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19480 (help-mode): Derive help-mode from special-mode. Don't invoke
19481 view-mode from help-mode.
19482 (help-xref-override-view-map): Remove.
19483 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19484 view-mode is not used anymore.
19485
19486 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19487
19488 * server.el (server-port): Doc fix.
19489
19490 * cus-theme.el (custom-theme-choose-mode): Inherit from
19491 special-mode (Bug#9124).
19492 (custom-theme-choose-mode-map): Add special-mode to parent.
19493
19494 2011-08-28 Alan Mackenzie <acm@muc.de>
19495
19496 * progmodes/cc-fonts.el
19497 (c-make-font-lock-BO-decl-search-function): New function.
19498 (c-basic-matchers-after - "Fontify the clauses after various
19499 keywords"): Extract the three keyword lists for the 3 erroneous
19500 constructs from the list of four, and use the new function above
19501 in place of an old one.
19502
19503 2011-08-28 Deniz Dogan <deniz@dogan.se>
19504
19505 * net/rcirc.el (rcirc-insert-prev-input)
19506 (rcirc-insert-next-input): Remove unused argument.
19507
19508 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19509
19510 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19511
19512 2011-08-27 Alan Mackenzie <acm@muc.de>
19513
19514 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19515 handle function pointer parameters properly.
19516
19517 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19518
19519 * window.el (display-buffer-reuse-window): Fix case where
19520 selected window was reused with non-nil OTHER-WINDOW argument.
19521 (Bug#9381)
19522
19523 2011-08-27 Deniz Dogan <deniz@dogan.se>
19524
19525 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19526 oftc's NickServ messages.
19527
19528 2011-08-27 Glenn Morris <rgm@gnu.org>
19529
19530 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19531
19532 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19533
19534 * emacs-lisp/package.el (package-install): Call package-initialize
19535 if called interactively.
19536
19537 2011-08-26 Leo Liu <sdl.web@gmail.com>
19538
19539 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19540
19541 2011-08-25 Juri Linkov <juri@jurta.org>
19542
19543 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19544 `search-whitespace-regexp' (bug#9364).
19545
19546 2011-08-25 Juri Linkov <juri@jurta.org>
19547
19548 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19549 `regexp-search-ring' to their global values to protect from
19550 updating by `read-from-minibuffer' (bug#9185).
19551
19552 2011-08-25 Juri Linkov <juri@jurta.org>
19553
19554 * textmodes/ispell.el (ispell-command-loop): Add newline
19555 at the end of the "Use option `i'..." line.
19556
19557 2011-08-25 Juri Linkov <juri@jurta.org>
19558
19559 * battery.el (display-battery-mode): If `battery-status-function'
19560 or `battery-mode-line-format' is nil, display the message and set
19561 `display-battery-mode' to nil (bug#9363).
19562
19563 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19564
19565 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19566 bidi-string-mark-left-to-right; they are unnecessary now.
19567
19568 2011-08-25 Deniz Dogan <deniz@dogan.se>
19569
19570 * net/quickurl.el: Documentation typo fixes.
19571
19572 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19573
19574 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19575
19576 2011-08-25 Glenn Morris <rgm@gnu.org>
19577
19578 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19579
19580 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19581 (smtpmail-via-smtp): Handle nil response from smtp.
19582
19583 2011-08-24 Juri Linkov <juri@jurta.org>
19584
19585 * proced.el (proced-marked): Inherit from `error' instead of
19586 `font-lock-warning-face'.
19587
19588 * ibuffer.el (ibuffer-marked-face): Change default face from
19589 `font-lock-warning-face' to `warning'.
19590 (ibuffer-deletion-face): Change default face from
19591 `font-lock-type-face' to `error'.
19592
19593 * battery.el (battery-update): Use the face `error' instead of
19594 `font-lock-warning-face' (bug#6117).
19595
19596 2011-08-24 Juri Linkov <juri@jurta.org>
19597
19598 * faces.el (success): Change face color from "Green3" to
19599 "ForestGreen" on light background (bug#9353).
19600
19601 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19602
19603 * window.el (quit-window): Rename from quit-restore-window.
19604 Use same arglist as old quit-window.
19605 (frame-auto-delete): Doc fix.
19606
19607 * view.el (view-mode-exit): Use quit-window.
19608
19609 2011-08-24 Juri Linkov <juri@jurta.org>
19610
19611 * isearch.el (isearch-ring-adjust1): Start visiting previous
19612 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19613 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19614 for empty search string (when the last search string is reused
19615 automatically) to adjust the isearch ring to the last element and
19616 prepare the correct index for further M-p commands (bug#9185).
19617
19618 2011-08-24 Kenichi Handa <handa@m17n.org>
19619
19620 * international/ucs-normalize.el: If decomposition property of
19621 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19622 nil.
19623 (nfd, nfkd): Likewise.
19624
19625 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19626
19627 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19628 from process filters aren't reliably transmitted to the surrounding
19629 accept-process-output.
19630 (mpc-proc-check): New function.
19631 (mpc-proc-sync): Use it (bug#8293)
19632
19633 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19634
19635 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19636 Add compatibility functions (bug#9313).
19637
19638 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19639
19640 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19641
19642 * international/uni-bidi.el: Regenerate.
19643
19644 2011-08-23 Kenichi Handa <handa@m17n.org>
19645
19646 * international/charprop.el:
19647 * international/uni-bidi.el:
19648 * international/uni-category.el:
19649 * international/uni-combining.el:
19650 * international/uni-comment.el:
19651 * international/uni-decimal.el:
19652 * international/uni-decomposition.el:
19653 * international/uni-digit.el:
19654 * international/uni-lowercase.el:
19655 * international/uni-mirrored.el:
19656 * international/uni-name.el:
19657 * international/uni-numeric.el:
19658 * international/uni-old-name.el:
19659 * international/uni-titlecase.el:
19660 * international/uni-uppercase.el: Regenerate.
19661
19662 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19663
19664 * help.el (help-window-setup): Fix message displayed when other
19665 window is reused. (Bug#9341)
19666
19667 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19668
19669 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19670 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19671
19672 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19673 Mark obsolete.
19674 * shell.el (shell-parse-pcomplete-arguments): New function.
19675 (shell-completion-vars): Use it instead (bug#9160).
19676
19677 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19678
19679 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19680 strings and comments (bug#9333).
19681
19682 * emacs-lisp/debug.el (debug-arglist): New function.
19683 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19684 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19685
19686 2011-08-22 Juri Linkov <juri@jurta.org>
19687
19688 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19689 Revert regexp that highlights output switches to its old
19690 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19691
19692 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19693 to check for empty output (bug#9226).
19694
19695 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19696
19697 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19698 symbol-constituent as the default, as that stops font-lock from
19699 working properly (Bug#8843).
19700
19701 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19702
19703 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19704 `coding-system-for-*' around the process open call to avoid
19705 auth-source side effects.
19706 (smtpmail-try-auth-methods): Expand the secret password.
19707 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19708 probe hangs.
19709
19710 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19711
19712 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19713
19714 * emacs-lisp/find-func.el (find-function-noselect): New arg
19715 lisp-only.
19716
19717 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19718 signal an error for built-in functions (Bug#6664).
19719
19720 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19721
19722 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19723 (smtpmail-try-auth-methods): Use it.
19724
19725 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19726
19727 * font-lock.el (font-lock-fontify-region)
19728 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19729 (font-lock-default-unfontify-buffer)
19730 (font-lock-default-fontify-region)
19731 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19732
19733 * progmodes/compile.el (compilation-error-properties):
19734 Fix confusion between file struct and message struct (Bug#9319).
19735 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19736 `ant' regexp.
19737
19738 * net/browse-url.el (browse-url-firefox): Don't call
19739 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19740
19741 2011-08-20 Glenn Morris <rgm@gnu.org>
19742
19743 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19744
19745 * tutorial.el (tutorial--default-keys): Update some default bindings.
19746
19747 * files.el (hack-local-variables): Fully ignore case for "mode:".
19748
19749 2011-08-20 Alan Mackenzie <acm@muc.de>
19750
19751 Resolve invalid use of a regexp in regexp-opt.
19752
19753 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19754 detection for a java annotation.
19755
19756 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19757 detection for a java annotation.
19758
19759 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19760 handling for java.
19761 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19762
19763 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19764
19765 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19766 (Bug#9274).
19767
19768 2011-08-20 Alan Mackenzie <acm@muc.de>
19769
19770 Fontify CPP expressions correctly when starting in the middle of
19771 such a construct. Mainly for when jit-lock etc. starts a chunk
19772 here.
19773
19774 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19775 variable.
19776 (c-make-font-lock-search-form): New function, extracted from
19777 c-make-font-lock-search-function.
19778 (c-make-font-lock-search-function): Use the above function.
19779 (c-make-font-lock-context-search-function): New function.
19780 (c-cpp-matchers): Enhance the preprocessor expression case with
19781 the above function
19782 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19783 which takes an expression.
19784
19785 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19786
19787 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19788
19789 * window.el (display-buffer-reuse-window)
19790 (display-buffer-pop-up-window): Don't reuse or split a side
19791 window.
19792
19793 2011-08-19 Glenn Morris <rgm@gnu.org>
19794
19795 * files.el (hack-local-variables-prop-line, hack-local-variables):
19796 Downcase "Mode:". (Bug#9331)
19797
19798 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19799
19800 * international/characters.el: Add L and R categories.
19801
19802 * subr.el (bidi-string-mark-left-to-right): Rename from
19803 string-mark-left-to-right. Use category search.
19804
19805 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19806
19807 2011-08-18 Juri Linkov <juri@jurta.org>
19808
19809 * faces.el (error, warning, success): New faces with definitions
19810 copied from old default values of `font-lock-warning-face',
19811 `compilation-warning', `compilation-info' (bug#6117).
19812
19813 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19814
19815 * progmodes/compile.el (compilation-error): Inherit from `error'.
19816 (compilation-warning): Inherit from `warning'.
19817 (compilation-info): Inherit from `success'.
19818
19819 * dired.el (dired-marked): Inherit from `warning'.
19820 (dired-flagged): Inherit from `error'.
19821
19822 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19823
19824 * mail/smtpmail.el (auth-source): Require to avoid problems with
19825 binding variables (bug#9298). Also clean up some unused
19826 autoloads.
19827
19828 * net/network-stream.el (network-stream-open-starttls):
19829 Support using starttls.el without using gnutls-cli.
19830
19831 2011-08-17 Juri Linkov <juri@jurta.org>
19832
19833 * progmodes/grep.el (rgrep): Handle the case when
19834 `grep-find-command' is a cons cell (bug#9278).
19835
19836 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19837
19838 * window.el (display-buffer-pop-up-frame): Run frame creation
19839 function with BUFFER current (as special-display-popup-frame
19840 does). Reported by Drew Adams.
19841
19842 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19843
19844 * epa-mail.el: Simplify GnuPG group expansion using
19845 epg-expand-group.
19846 (epa-mail-group-alist, epa-mail-group-modtime)
19847 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19848 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19849 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19850 Remove.
19851
19852 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19853
19854 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19855
19856 2011-08-16 Alan Mackenzie <acm@muc.de>
19857
19858 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19859 Correct, to avoid the inside of macros.
19860
19861 2011-08-16 Richard Stallman <rms@gnu.org>
19862
19863 * epa-mail.el: Handle GnuPG group definitions.
19864 (epa-mail-group-alist, epa-mail-group-modtime)
19865 (epa-mail-gnupg-conf-file): New variables.
19866 (epa-mail-parse-groups, epa-mail-sync-groups)
19867 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19868 (epa-mail-expand-recipients): New functions.
19869 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19870
19871 * mail/rmail.el (rmail-epa-decrypt): New command.
19872
19873 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19874 Don't bind buffer-read-only, just inhibit-read-only.
19875 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19876 (epa-decrypt-armor-in-region): Make error message clearer.
19877
19878 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19879
19880 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19881 and "a2b" to "ab" for `prefix'.
19882
19883 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19884
19885 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19886 filter groups.
19887 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19888 Fourquet (Bug#8804).
19889
19890 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19891
19892 * startup.el (argi): Declare as global variable (bug#9275).
19893
19894 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19895
19896 * subr.el (string-mark-left-to-right): Search the entire string
19897 for RTL script, not just the terminating character. Doc fix.
19898
19899 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19900
19901 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19902 New function.
19903 (js--regexp-literal, js-syntax-propertize-function): Remove.
19904 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19905 (js-mode-map): Don't rebind electric keys.
19906 (js-insert-and-indent): Remove.
19907 (js-mode): Setup electric-layout and electric-indent instead.
19908
19909 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19910
19911 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19912
19913 * epa.el (epa-progress-callback-function): Fix the logic of
19914 displaying progress.
19915 * epa-file.el (epa-file-insert-file-contents): Make progress
19916 display more user-friendly.
19917 (epa-file-write-region): Ditto.
19918
19919 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19920
19921 * subr.el (string-mark-left-to-right): New function.
19922
19923 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19924 Use string-mark-left-to-right.
19925 (list-buffers-noselect): Caller changed.
19926
19927 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19928 Use string-mark-left-to-right.
19929 (tabulated-list-print): Recenter after moving point.
19930
19931 2011-08-10 Juri Linkov <juri@jurta.org>
19932
19933 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19934 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19935 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19936
19937 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19938
19939 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19940 (Bug#7554).
19941
19942 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19943
19944 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19945 character. (Bug#6594)
19946
19947 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19948
19949 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19950 (image-dired--with-db-file): New macro.
19951 (image-dired-write-tags, image-dired-remove-tag)
19952 (image-dired-create-gallery-lists, image-dired-write-comments)
19953 (image-dired-get-comment, image-dired-mark-tagged-files)
19954 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19955 (image-dired-gallery-generate): Use insert-file-contents.
19956
19957 * time.el (display-time-world-list, display-time-world-display):
19958 * time-stamp.el (time-stamp-string):
19959 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19960 set-time-zone-rule (Bug#7337).
19961
19962 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19963
19964 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19965 (epg-error-to-string, epg-errors-to-string): New function.
19966 (epg-wait-for-completion): Reverse errors list.
19967 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19968 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19969 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19970 (epg-sign-keys, epg-generate-key-from-file)
19971 (epg-generate-key-from-string): Format errors by using
19972 epg-errors-to-string (bug#9255).
19973 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19974
19975 2011-08-07 Juri Linkov <juri@jurta.org>
19976
19977 * faces.el (list-faces-display): Remove extra angle bracket
19978 from `help-mode-map'.
19979
19980 * info.el (Info-history-toc-nodes): Doc fix.
19981
19982 * longlines.el (longlines-mode): Doc fix.
19983
19984 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19985
19986 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19987 of statements and in a few more cases (bug#9183).
19988
19989 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19990 New functions.
19991 (cl-transform-lambda): Use them (bug#9239).
19992
19993 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19994
19995 * window.el (display-buffer-same-window)
19996 (display-buffer-same-frame, display-buffer-other-window)
19997 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19998 (pop-to-buffer-other-window)
19999 (pop-to-buffer-same-frame-other-window)
20000 (pop-to-buffer-other-frame): Make them defuns.
20001 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20002
20003 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20004
20005 * subr.el (make-composed-keymap): Move from C. Change calling
20006 convention, and improve docstring to bring attention to a subtle point.
20007 * minibuffer.el (completing-read-default): Adjust accordingly.
20008
20009 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20010
20011 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20012 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20013
20014 * net/trampver.el: Update release number.
20015
20016 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20017
20018 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20019 "in" (bug#9190).
20020
20021 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20022
20023 * mail/sendmail.el (sendmail-query-once): Restore the current
20024 buffer after querying (bug#9074).
20025
20026 * dired.el (dired-flagged): Use different faces for marked and
20027 flagged files (bug#6117).
20028
20029 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20030 (bug#4433).
20031
20032 * ido.el (ido-mode): Switch off the message if called
20033 non-interactively.
20034
20035 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20036 before 587, since it appears that that's more likely to work for
20037 more people.
20038
20039 * cus-edit.el (custom-file): When running under emacs -q, always
20040 refuse to save the customizations, even if the .emacs file doesn't
20041 exist.
20042
20043 * info.el: Remove the `Info-beginning-of-buffer' function
20044 (bug#8325).
20045
20046 * net/network-stream.el (network-stream-open-starttls):
20047 Use `starttls-available-p' to see whether starttls.el can be used.
20048
20049 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20050
20051 * window.el (display-buffer-in-window): Don't set dedicated status
20052 of window here (Bug#9215).
20053 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20054 (display-buffer-pop-up-side-window)
20055 (display-buffer-in-side-window): Set dedicated status of window here.
20056
20057 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20058
20059 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20060 before binding generated-autoload-file.
20061
20062 2011-08-01 Deniz Dogan <deniz@dogan.se>
20063
20064 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20065
20066 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20067
20068 Sync with Tramp 2.2.2.
20069
20070 * net/trampver.el: Update release number.
20071
20072 2011-07-30 Juri Linkov <juri@jurta.org>
20073
20074 * dired-aux.el (dired-touch-initial): Remove function.
20075 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20076 current time, and `default' to the last modification time of the
20077 current marked file (bug#6887).
20078
20079 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20080
20081 * simple.el (goto-line): Use string-to-number to provide a
20082 numeric argument to read-number (bug#9163).
20083
20084 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20085
20086 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20087 connection process, it could be nil.
20088
20089 2011-07-27 Leo Liu <sdl.web@gmail.com>
20090
20091 Simplify url handling in rcirc-mode.
20092
20093 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20094 (rcirc-browse-url-at-mouse): Remove.
20095 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20096
20097 2011-07-26 Alan Mackenzie <acm@muc.de>
20098
20099 Fontify bitfield declarations properly.
20100
20101 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20102 (c-symbol-chars): Now exported as a lang variable.
20103 (c-not-primitive-type-keywords): New lang variable.
20104
20105 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20106 QT keyword "more" to prevent "more slots: ...." being spuriously
20107 parsed as a bitfield declaration.
20108
20109 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20110 Refactor and enhance to handle bitfield declarations.
20111 (c-punctuation-in): New function.
20112 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20113 declarations properly.
20114
20115 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20116
20117 * calendar/icalendar.el (icalendar--all-events): Take care of
20118 multiple vcalendars in a single file.
20119 (icalendar--convert-float-to-ical): Checkdoc fixes.
20120
20121 2011-07-25 Deniz Dogan <deniz@dogan.se>
20122
20123 * image.el (insert-image): Clarifying docstring.
20124
20125 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20126
20127 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20128 `tramp-send-command-and-check' if there is no error.
20129 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20130
20131 2011-07-22 Alan Mackenzie <acm@muc.de>
20132
20133 Prevent cc-langs.elc being loaded at run time.
20134
20135 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20136 cc-langs.
20137
20138 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20139 "(require 'cc-langs)". Quote a form so it will evaluate at
20140 (cc-mode's) compilation time.
20141
20142 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20143
20144 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20145 loading. (Bug#9114)
20146
20147 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20148
20149 * window.el (display-buffer-pop-up-window)
20150 (display-buffer-pop-up-side-window)
20151 (display-buffer-in-side-window): Call display-buffer-set-height
20152 and display-buffer-set-width after setting the new window's
20153 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20154
20155 2011-07-20 Sam Steingold <sds@gnu.org>
20156
20157 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20158 (etags-tags-included-tables): Call `convert-standard-filename' on
20159 the file names contained in TAGS so that windows Emacs can handle
20160 TAGS files created by cygwin ctags.
20161
20162 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20163
20164 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20165 which apparently didn't work.
20166
20167 2011-07-19 Roland Winkler <winkler@gnu.org>
20168
20169 * proced.el (proced-send-signal): For *Marked Processes* buffer
20170 put point at beginning of buffer.
20171
20172 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20173
20174 * proced.el (proced-format): Make header lines align with the text
20175 (bug#1779).
20176
20177 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20178
20179 * view.el (view-buffer): Allow running in `special' modes if we're
20180 visiting a file (bug#8615).
20181
20182 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20183
20184 * window.el (display-buffer-alist-of-strings-p)
20185 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20186 New functions.
20187 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20188 more accurately.
20189
20190 2011-07-18 Alan Mackenzie <acm@muc.de>
20191
20192 Fontify declarators properly when, e.g., a jit-lock chunk begins
20193 inside a declaration.
20194
20195 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20196
20197 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20198 New function.
20199 (c-complex-decl-matchers): Insert reference to
20200 c-font-lock-enclosing-decls.
20201
20202 * progmodes/cc-engine.el (c-backward-single-comment):
20203 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20204 to nil around calls to (forward-comment -1).
20205
20206 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20207
20208 * image.el (put-image): Doc typo fix.
20209
20210 * progmodes/etags.el (tags-search): Doc typo fix.
20211
20212 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20213 password if we get errors 550 to 554.
20214
20215 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20216
20217 * net/gnutls.el (gnutls-log-level): Remove.
20218
20219 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20220 indentation character (bug#6380).
20221
20222 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20223
20224 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20225 to clarify what the problem is (bug#4291).
20226
20227 * simple.el (current-kill): Clarify what
20228 `interprogram-paste-function' does (bug#7500).
20229 (auto-fill-mode): Document `auto-fill-function' in relation to
20230 `auto-fill-mode' (bug#2470).
20231
20232 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20233
20234 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20235 method if slot is read-only (bug#9035).
20236
20237 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20238
20239 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20240 * window.el (pop-to-buffer): Select window used even if it was
20241 selected before, see discussion of (Bug#8615), (Bug#6954).
20242 Pass argument NORECORD on to select-frame-set-input-focus.
20243
20244 2011-07-15 Glenn Morris <rgm@gnu.org>
20245
20246 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20247 Respect help-form.
20248
20249 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20250
20251 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20252 (gnutls-negotiate): Use it.
20253
20254 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20255
20256 * net/gnutls.el (gnutls-negotiate):
20257 Upcase `gnutls-algorithm-priority'.
20258
20259 2011-07-15 Glenn Morris <rgm@gnu.org>
20260
20261 * jka-compr.el (jka-compr-verbose): Move from here...
20262 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20263 Add missing :version tag.
20264 * info.el: No need to require jka-compr when compiling.
20265
20266 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20267
20268 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20269 (gnutls-negotiate): Use it.
20270
20271 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20272
20273 * info.el (Info-beginning-of-buffer): New command.
20274 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20275 announcing `b' as the key (bug#8325).
20276 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20277
20278 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20279
20280 * international/mule-cmds.el
20281 (describe-specified-language-support): Make the error message
20282 clearer (bug#8905).
20283
20284 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20285
20286 * isearch.el (isearch-barrier): Add a doc string, since it's
20287 mentioned in a function doc string (bug#8678).
20288
20289 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20290
20291 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20292 buffer argument (Bug#9083) and self-identifying label argument.
20293
20294 2011-07-15 Glenn Morris <rgm@gnu.org>
20295
20296 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20297
20298 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20299
20300 * man.el (Man-fontify-manpage): Fix message when formatting the
20301 man page (bug#7929).
20302
20303 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20304
20305 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20306 argument LRM; if non-nil, append an invisible LRM character to the
20307 buffer name.
20308 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20309 last argument non-nil, when formatting buffer names.
20310 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20311 paragraph direction.
20312
20313 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20314
20315 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20316 the man page name (bug#7929).
20317
20318 * image.el (put-image): Mention the `put-image' overlay property
20319 (bug#7834).
20320
20321 * scroll-bar.el (set-scroll-bar-mode): Mention that
20322 `scroll-bar-mode' lists the values (bug#7772).
20323
20324 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20325 command (bug#7729).
20326
20327 * rect.el (apply-on-rectangle): Return the point after the last
20328 operation.
20329 (string-rectangle): Go to the point after the last operation
20330 (bug#7522).
20331
20332 * printing.el (pr-toggle-region): Clarify the documentation
20333 slightly (bug#7493).
20334
20335 * time.el (display-time-update):
20336 Allow `display-time-mail-function' to return nil (bug#7158).
20337 Fix suggested by Detlev Zundel.
20338
20339 * vc/diff.el (diff): Clarify the order the file names are read
20340 (bug#7111).
20341
20342 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20343 the doc string (bug#7015).
20344
20345 * font-lock.el (font-lock-maximum-decoration): Mention what
20346 numeric levels mean (bug#6935).
20347
20348 * startup.el (initial-buffer-choice): Don't mention the `none'
20349 selection, which is against policy.
20350
20351 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20352
20353 * window.el (display-buffer-normalize-special):
20354 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20355
20356 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20357
20358 * subr.el (version<, version<=, version=): Mention "-CVS" and
20359 "-12345" alpha version numbers.
20360
20361 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20362
20363 * bindings.el: Add advertised binding for set-mark-command
20364 (Bug#5772).
20365
20366 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20367
20368 * bindings.el (mode-line-other-buffer):
20369 * bookmark.el (bookmark-bmenu-2-window):
20370 * bs.el (bs-cycle-next, bs-cycle-previous):
20371 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20372 switch-to-buffer.
20373
20374 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20375 Delete.
20376
20377 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20378
20379 * follow.el (follow-debug-message, follow-redisplay):
20380 * jka-cmpr-hook.el (with-auto-compression-mode):
20381 Fix typos in docstrings.
20382
20383 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20384
20385 * subr.el (with-silent-modifications): Clarify somewhat what the
20386 macro inhibits (bug#6525).
20387
20388 * simple.el (eval-expression): Note what it does if called
20389 interactively (bug#6495).
20390
20391 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20392
20393 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20394 Use pop-to-buffer buffer-or-name if it is nil.
20395
20396 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20397 Remove switch-to-buffer.
20398
20399 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20400
20401 * files.el (make-directory): Clarify that an error will be raised
20402 if there's an error (bug#6397).
20403
20404 * startup.el (initial-buffer-choice): Add `none' as a choice
20405 (bug#6234).
20406
20407 * subr.el (add-hook): Clarify section about buffer-local hooks
20408 (bug#6218).
20409
20410 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20411
20412 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20413
20414 * tabify.el (untabify): Preserve the current column so that point
20415 doesn't move (bug#6032).
20416
20417 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20418
20419 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20420 Rewrite to avoid awkward possessive "s" (bug#5986).
20421
20422 2011-07-13 Glenn Morris <rgm@gnu.org>
20423
20424 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20425 (dired-insert-directory): Give a message the first time
20426 if ls is found not to support --dired.
20427
20428 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20429
20430 * simple.el (toggle-truncate-lines): Clarify what is toggled
20431 (bug#5580). Text by Drew Adams.
20432
20433 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20434
20435 * simple.el (blink-matching-open): Make the error message from the
20436 last change less verbose.
20437
20438 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20439
20440 * font-lock.el (font-lock-comment-face): Use the high contrast
20441 "yellow" color for font-lock-comment-face on low color terminals
20442 using a dark background color (bug#4221).
20443
20444 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20445
20446 * dired.el (dired-insert-set-properties): Make the doc string
20447 reflect what it does now (bug#5325).
20448
20449 * simple.el (blink-matching-open): Say that we were unable to find
20450 the match within the limit, if we're limited (bug#5122).
20451
20452 * international/mule-cmds.el (prefer-coding-system): Add an
20453 example (bug#4869).
20454
20455 * progmodes/etags.el (tags-search): Document `file-list-form'
20456 (bug#4731).
20457
20458 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20459
20460 * net/browse-url.el (browse-url-default-browser)
20461 (browse-url-browser-function): Make the default browser choice a
20462 bit more logical (bug#4300). Also clean up the doc string.
20463
20464 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20465
20466 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20467 binary endings (bug#4440).
20468
20469 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20470
20471 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20472 which can be pretty annoying (bug#8971).
20473
20474 * jka-compr.el (jka-compr-verbose): New variable, and use
20475 throughout (bug#8971).
20476
20477 * info.el (Info-find-file): Fall back on the installation
20478 directory if we can't find the info node anywhere else.
20479
20480 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20481
20482 * vc/vc.el (vc-revert-file):
20483 Don't set file time-stamp in the past. (Bug#5181)
20484
20485 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20486
20487 * files.el (after-find-file): Give a better error message when
20488 trying to find a symlink that points to a file that doesn't exist
20489 (bug#4398).
20490
20491 * progmodes/cc-vars.el: Remove (probably) misleading comment
20492 (bug#4396).
20493
20494 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20495
20496 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20497
20498 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20499
20500 * mouse-sel.el: Hack restoring functionality, while keeping
20501 compatibility with 2010-07-03 changes to mouse selection.
20502 (mouse-sel-primary-overlay): New var.
20503 (mouse-sel-selection-alist): Use it.
20504 (mouse-sel-mode): Doc fix; remove points that are default features
20505 of mouse.el.
20506
20507 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20508
20509 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20510 Fix previous fix (bug#2490).
20511
20512 2011-07-12 Roland Winkler <winkler@gnu.org>
20513
20514 * textmodes/bibtex.el (bibtex-initialize):
20515 Use pop-to-buffer-same-window.
20516 (bibtex-search-entries): Fix interactive call.
20517
20518 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20519
20520 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20521 Fontise bytecomp Error lines more correctly (bug#2490).
20522 Fix suggested by Johan Bockgård.
20523
20524 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20525
20526 * dired-x.el (dired-guess-default): Use `delete-dups'.
20527
20528 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20529
20530 * dired.el (dired-mark-prompt):
20531 * dired-aux.el (dired-read-shell-command): Doc fix.
20532
20533 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20534
20535 * mail/sendmail.el (sendmail-query-once):
20536 Use `customize-save-variable' unconditionally, now that it works under
20537 emacs -Q.
20538
20539 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20540
20541 * cus-edit.el (custom-file): Take an optional no-error variable.
20542 (customize-save-variable): Set the variable, and give a warning if
20543 running under "emacs -q".
20544
20545 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20546
20547 * loadhist.el (unload-feature-special-hooks):
20548 Add `auto-coding-functions', `fill-nobreak-predicate' and
20549 `find-directory-functions' (bug#5327).
20550
20551 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20552
20553 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20554
20555 * cus-edit.el (custom-guess-name-alist): -alist variables should
20556 use the `alist' type (bug#3120). Suggested by Drew Adams.
20557
20558 * printing.el: Add documentation to all the `pr-toggle-' commands.
20559
20560 2011-07-11 Leo Liu <sdl.web@gmail.com>
20561
20562 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20563 backends where it makes sense (bug#2623).
20564
20565 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20566
20567 * dired-x.el (dired-guess-default): Remove duplicate shell command
20568 entries (bug#2028).
20569 (dired-guess-default): Fix grammar in doc string (bug#2028).
20570 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20571
20572 * subr.el (remove-duplicates): New conveniency function.
20573
20574 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20575
20576 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20577 (bug#1526).
20578
20579 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20580
20581 * window.el (display-buffer-normalize-default): Don't invert
20582 meaning of even-window-heights. Reported by Eli Zaretskii
20583 <eliz@gnu.org>.
20584
20585 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20586
20587 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20588
20589 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20590
20591 * window.el (display-buffer): Fix arguments to
20592 display-buffer-reuse-window in last change.
20593
20594 * faces.el (link): Use a less saturated blue on light backgrounds.
20595
20596 * startup.el (fancy-startup-text, fancy-about-text)
20597 (fancy-startup-tail): Use font-lock faces, for background safety.
20598
20599 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20600
20601 * emulation/viper-cmd.el (viper-change-state-to-vi):
20602 Limit triggering of abbrev expansion (Bug#9038).
20603
20604 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20605
20606 * window.el (display-buffer-default-specifiers): Remove.
20607 (display-buffer-macro-specifiers): Remove default specifiers.
20608 (display-buffer-alist): Default to nil.
20609 (display-buffer-reuse-window): New optional argument other-window.
20610 (display-buffer-pop-up-window): Allow splitting internal
20611 windows. Check whether a live window was created.
20612 (display-buffer-other-window-means-other-frame)
20613 (display-buffer-normalize-arguments): Rename to
20614 display-buffer-normalize-argument and rewrite. Set the
20615 other-window specifier.
20616 (display-buffer-normalize-special): New function.
20617 (display-buffer-normalize-options): Rename to
20618 display-buffer-normalize-default and rewrite.
20619 (display-buffer-normalize-options-inhibit): Remove.
20620 (display-buffer-normalize-specifiers): Rewrite.
20621 (display-buffer): Process other-window specifier and call
20622 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20623 more faithfully.
20624 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20625 (display-buffer-alist-set): Don't handle 'unset default values.
20626 (display-buffer-in-window, display-buffer-alist-set):
20627 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20628 <tassilo@member.fsf.org>.
20629
20630 2011-07-09 Leo Liu <sdl.web@gmail.com>
20631
20632 * register.el (insert-register): Restore accidental change on
20633 2011-06-26. (Bug#9028)
20634
20635 2011-07-09 Glenn Morris <rgm@gnu.org>
20636
20637 * subr.el (remq): Handle the empty list. (Bug#9024)
20638
20639 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20640
20641 * mail/sendmail.el (send-mail-function): No longer delay custom
20642 initialization.
20643 * custom.el (custom-initialize-delay): Doc fix.
20644
20645 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20646
20647 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20648
20649 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20650
20651 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20652 human-friendly prompt.
20653
20654 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20655
20656 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20657 provided by a particular plugin.
20658
20659 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20660
20661 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20662 save customizations (with "emacs -Q"), just set the variable
20663 instead of erroring out.
20664
20665 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20666
20667 2011-07-08 Juri Linkov <juri@jurta.org>
20668
20669 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20670 (archive-zip-update-case): Use 7z if found by `executable-find'.
20671 The order of searching the available programs is the same as in
20672 `archive-zip-extract' (bug#8968).
20673
20674 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20675
20676 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20677 (menu-bar-options-menu): Tweak descriptions.
20678
20679 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20680
20681 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20682 menu items into verb phrases (bug#1421). Also refill to fit under
20683 80 columns.
20684
20685 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20686
20687 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20688 (Info-read-node-name): Doc fix (Bug#1084).
20689
20690 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20691 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20692 (end-of-sexp, beginning-of-sexp)
20693 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20694 (forward-symbol, forward-same-syntax, word-at-point)
20695 (sentence-at-point): Doc fix (Bug#1144).
20696
20697 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20698
20699 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20700 should cover it (bug#1281).
20701
20702 * cus-edit.el (custom-show): Mark as obsolete.
20703
20704 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20705 negotiation fails, then possibly try again with a non-encrypted
20706 connection (bug#9017).
20707
20708 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20709 be used.
20710
20711 2011-07-07 Richard Stallman <rms@gnu.org>
20712
20713 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20714 property, and handle its changed format.
20715 Look for the correct line number.
20716 Use file's line contents (but not past first =) to find
20717 correct line in message.
20718
20719 2011-07-07 Kenichi Handa <handa@m17n.org>
20720
20721 * international/characters.el (build-unicode-category-table):
20722 Delete it.
20723 (unicode-category-table): Set it by unicode-property-table-internal.
20724
20725 * international/mule-cmds.el (char-code-property-alist): Move to
20726 to src/chartab.c.
20727 (get-char-code-property): Call unicode-property-table-internal to
20728 load a file. Call get-unicode-property-internal where necessary.
20729 (put-char-code-property): Call unicode-property-table-internal to
20730 load a file. Call put-unicode-property-internal where necessary.
20731 put-unicode-property-internal where necessary.
20732 (char-code-property-description):
20733 Call unicode-property-table-internal to load a file.
20734
20735 * international/charprop.el:
20736 * international/uni-bidi.el:
20737 * international/uni-category.el:
20738 * international/uni-combining.el:
20739 * international/uni-comment.el:
20740 * international/uni-decimal.el:
20741 * international/uni-decomposition.el:
20742 * international/uni-digit.el:
20743 * international/uni-lowercase.el:
20744 * international/uni-mirrored.el:
20745 * international/uni-name.el:
20746 * international/uni-numeric.el:
20747 * international/uni-old-name.el:
20748 * international/uni-titlecase.el:
20749 * international/uni-uppercase.el: Regenerate.
20750
20751 * loadup.el: Load international/charprop.el before
20752 international/characters.
20753
20754 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20755
20756 * window.el (next-buffer, previous-buffer): Signal an error if
20757 called from a minibuffer window.
20758
20759 * bindings.el: Revert 2011-07-04 change.
20760
20761 2011-07-06 Richard Stallman <rms@gnu.org>
20762
20763 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20764 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20765 Treat markers like ints.
20766 (rmail-mime-entity): Doc fix.
20767
20768 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20769
20770 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20771 defcustom again for backwards compatibility.
20772
20773 * simple.el (shell-command-on-region): Fill.
20774
20775 * dired-aux.el (dired-kill-line): Add a doc string.
20776
20777 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20778 to "\\sw\\|\\s_" (bug#358).
20779
20780 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20781 (dired-unmark-backward): Ditto.
20782 (dired-flag-backup-files): Ditto.
20783
20784 * dired-x.el (dired-mark-sexp): Ditto.
20785
20786 2011-07-06 Richard Stallman <rms@gnu.org>
20787
20788 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20789 (rmail-mime-entity): New arg TRUNCATED.
20790 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20791 New functions.
20792 (rmail-mime-save): Warn if entity is truncated.
20793 (rmail-mime-toggle-hidden): Likewise, for showing.
20794 (rmail-mime-process-multipart): Record when an entity is truncated.
20795
20796 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20797 if ENTITY is a string.
20798
20799 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20800
20801 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20802 of faces when `M-C-x'-ing their definitions (bug#8378).
20803 Also clean up the code slightly.
20804
20805 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20806 because that makes the colors go away.
20807
20808 * mail/sendmail.el (send-mail-function): Change the default to
20809 `sendmail-query-once'.
20810 (sendmail-query-once): Add an autoload cookie.
20811
20812 * net/network-stream.el (network-stream-open-starttls): Try using
20813 a plain connection even if the server offered STARTTLS, and we
20814 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20815 capability. This should make smtpmail.el work in slightly more
20816 configurations.
20817
20818 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20819
20820 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20821 New defun.
20822 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20823
20824 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20825
20826 * progmodes/sql.el: Version 3.0
20827 (sql-product-alist): Add product :completion-object,
20828 :completion-column, and :statement attributes.
20829 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20830 (sql-mode-syntax-table): Mark all punctuation.
20831 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20832 ansi keywords.
20833 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20834 (sql-mode-oracle-font-lock-keywords): Improve.
20835 (sql-oracle-show-reserved-words): New function for development.
20836 (sql-product-font-lock): Simplify for source code buffers.
20837 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20838 New functions.
20839 (sql-highlight-product): Set product specific syntax table.
20840 (sql-mode-map): Add statement movement functions.
20841 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20842 New variable.
20843 (sql-statement-regexp, sql-beginning-of-statement)
20844 (sql-end-of-statement, sql-signum): New functions.
20845 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20846 (sql-show-sqli-buffer): Bug fix.
20847 (sql-interactive-mode): Store connection data as buffer local.
20848 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20849 with sql-interactive-mode.
20850 (sql-save-connection): Save buffer local settings.
20851 (sql-connection-menu-filter): Change menu entry name.
20852 (sql-product-interactive): Bug fix.
20853 (sql-preoutput-hold): New variable.
20854 (sql-interactive-remove-continuation-prompt): Bug fixes.
20855 (sql-debug-redirect): New variable.
20856 (sql-str-literal): New function.
20857 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20858 Redesign.
20859 (sql-oracle-save-settings, sql-oracle-restore-settings)
20860 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20861 (sql-completion-object, sql-completion-column)
20862 (sql-completion-sqlbuf): New variables.
20863 (sql-build-completions-1, sql-build-completions)
20864 (sql-try-completion): New functions.
20865 (sql-read-table-name): Use them.
20866 (sql-contains-names): New buffer local variable.
20867 (sql-list-all, sql-list-table): Use it.
20868 (sql-oracle-completion-types): New variable.
20869 (sql-oracle-completion-object, sql-sqlite-completion-object)
20870 (sql-postgres-completion-object): New functions.
20871
20872 2011-07-06 Glenn Morris <rgm@gnu.org>
20873
20874 * window.el (pop-to-buffer): Doc fix.
20875
20876 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20877
20878 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20879
20880 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20881
20882 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20883
20884 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20885
20886 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20887
20888 * button.el (button): Inherit from link face. Suggested by Dan
20889 Nicolaescu.
20890
20891 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20892
20893 * progmodes/gdb-mi.el: Fit in 80 columns.
20894 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20895 switch-to-buffer.
20896
20897 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20898 if imenu is simply not configured (bug#8941).
20899
20900 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20901
20902 * allout.el (allout-post-undo-hook): New allout outline-change
20903 event hook to signal undo activity.
20904 (allout-post-command-business): Run allout-post-undo-hook if an
20905 undo just occurred.
20906 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20907 * allout-widgets.el (allout-widgets-after-undo-function):
20908 Ensure the integrity of the current item's decoration after it has been
20909 in the vicinity of an undo.
20910 (allout-widgets-mode): Include allout-widgets-after-undo-function
20911 on the new allout-post-undo-hook.
20912
20913 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20914
20915 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20916 Let define-derived-mode define it.
20917 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20918 cycles of abbrev-table inheritance (bug#8998).
20919
20920 2011-07-05 Roland Winkler <winkler@gnu.org>
20921
20922 * textmodes/bibtex.el: Add support for biblatex.
20923 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20924 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20925 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20926 (bibtex-entry-alist, bibtex-field-alist): New variables.
20927 (bibtex-entry-field-alist): Obsolete alias for
20928 bibtex-BibTeX-entry-alist.
20929 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20930 (bibtex-set-dialect): New command.
20931 (bibtex-entry-type, bibtex-entry-head)
20932 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20933 Bind via bibtex-set-dialect.
20934 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20935 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20936 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20937 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20938 Define via bibtex-set-dialect.
20939 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20940 Obey bibtex-no-opt-remove-re.
20941 (bibtex-vec-push, bibtex-vec-incr): New functions.
20942 (bibtex-format-entry, bibtex-field-list)
20943 (bibtex-print-help-message, bibtex-validate)
20944 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20945
20946 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20947
20948 * progmodes/compile.el (compilation-goto-locus):
20949 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20950 * bs.el (bs-cycle-next, bs-cycle-previous):
20951 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20952 * bindings.el (mode-line-other-buffer):
20953 * autoinsert.el (auto-insert):
20954 * arc-mode.el (archive-extract):
20955 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20956
20957 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20958
20959 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20960 Fix check of `emacs-lock-unlockable-modes'.
20961 Coerce true values of `emacs-lock--try-unlocking' to t.
20962
20963 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20964
20965 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20966 * emacs-lock.el: New file.
20967
20968 2011-07-05 Julien Danjou <julien@danjou.info>
20969
20970 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20971 than `boundp' to check if face is set.
20972
20973 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20974
20975 * register.el (registerv-make):
20976 * window.el (window-min-height): Fix typos in docstrings.
20977
20978 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20979
20980 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20981 Update doc string.
20982
20983 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20984
20985 * server.el (server-execute): Catch quit and call
20986 `server-return-error' to pass the error back to emacsclient and
20987 close the connection (bug#8942).
20988
20989 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20990
20991 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20992 insecure exception for current topic. Also note that auto-saves
20993 are handled differently.
20994
20995 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20996 State variables for tracking auto-save inhibition situation.
20997
20998 (allout-write-contents-hook-handler): Rename from
20999 'allout-write-file-hook-handler', and describe how it depends on
21000 write-contents-functions sensitivity to non-nil value to prevent
21001 file write.
21002
21003 (allout-auto-save-hook-handler): Remove. auto-save does not check
21004 this in individual buffers, only in the starting buffer, so this
21005 is not the right way for us to inhibit auto-save in a buffer
21006 according to its condition.
21007
21008 (allout-mode): Use new allout-write-contents-hook-handler, and
21009 only with write-contents-functions. Remove auto-save provisions -
21010 they're implemented elsewhere.
21011
21012 (allout-before-change-handler): If undo is in progress, note that
21013 for attention of allout-post-command-business.
21014
21015 (allout-post-command-business): If the command we're following was
21016 an undo, check for change in the status of encrypted items and
21017 adjust auto-save inhibitions accordingly.
21018
21019 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21020 according to whether there are or aren't any plain-text topics
21021 pending encryption.
21022
21023 (allout-inhibit-auto-save-info-for-decryption):
21024 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21025 if there are plain-text topics pending encryption.
21026
21027 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21028 buffer-saved-size and some allout state to not inhibit auto-saves
21029 if there are no longer any plain-text topics pending encryption.
21030
21031 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21032 No longer provide for exemption of the current topic.
21033
21034 2011-07-04 Juri Linkov <juri@jurta.org>
21035
21036 Add 7z operations to delete and save changed members (bug#8968).
21037 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21038 New defcustoms.
21039 (archive-7z-write-file-member): New function.
21040 (archive-7z-summarize): Fix the number of dashes in the
21041 listing output.
21042
21043 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21044
21045 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21046 (bug#8958).
21047
21048 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21049
21050 * bindings.el: Ignore next-buffer and previous-buffer in
21051 minibuffer-local-map.
21052
21053 * font-lock.el (font-lock-builtin-face): Change light background
21054 color to dark slate blue (Bug#6693).
21055
21056 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21057
21058 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21059
21060 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21061
21062 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21063 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21064 Add switch-to-buffer.
21065
21066 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21067
21068 * isearch.el (isearch-search-fun-function): Clarify further the
21069 meaning of the function returned.
21070
21071 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21072
21073 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21074
21075 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21076 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21077 Use it.
21078 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21079 `tramp-default-remote-path' does not exist.
21080 (tramp-send-command-and-read): New optional argument NOERROR.
21081 (tramp-open-connection-setup-interactive-shell)
21082 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21083 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21084 (tramp-process-sentinel): Flush also process' connection property.
21085 (tramp-sh-handle-start-file-process): Do not set process
21086 sentinel. It is done now ...
21087 (tramp-maybe-open-connection): ... here. (Bug#8929)
21088
21089 2011-07-04 MON KEY <monkey@sandpframing.com>
21090
21091 * play/animate.el (animate-string): Doc fixes and allow changing
21092 the buffer name (bug#5417).
21093
21094 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21095
21096 * play/animate.el (animation-buffer-name): Rename from *animate*.
21097
21098 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21099
21100 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21101 This is simpler and helps future-proof the code.
21102 (timer-until): Use time-subtract and float-time.
21103 (timer--time-less-p): Use time-less-p.
21104
21105 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21106
21107 * type-break.el (timep): Use the value of `float-time' to avoid a
21108 byte-compiler warning.
21109
21110 * server.el (server-eval-and-print): Return any result, even nil.
21111
21112 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21113
21114 * type-break.el: Accept time formats that the builtins accept.
21115 (timep, type-break-time-difference): Accept any format that
21116 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21117 This is simpler and helps future-proof the code.
21118 (type-break-time-difference): Round rather than ignoring
21119 subseconds components.
21120
21121 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21122
21123 * info.el (Info-apropos-matches): Make non-interactive, since it
21124 doesn't seem to do anything useful as a command (bug#8829).
21125
21126 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21127
21128 * frame.el (frame-background-mode, frame-set-background-mode):
21129 Move from faces.el.
21130 (frame-default-terminal-background): New function.
21131
21132 * custom.el (custom-push-theme): Don't record faces in `changed'
21133 theme; this doesn't work correctly for per-frame face settings.
21134 (disable-theme): Use face-set-after-frame-default to reset faces.
21135 (custom--frame-color-default): New function.
21136
21137 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21138
21139 * dired.el (dired-flagging-regexp): Remove unused variable
21140 (bug#8769).
21141
21142 2011-03-29 Kevin Ryde <user42@zip.com.au>
21143
21144 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21145 `perl-Test2' extend to match possible "fail #N" rep count
21146 (bug#8377).
21147
21148 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21149
21150 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21151 `smtpmail-via-smtp' now returns the error instead of nil.
21152
21153 * isearch.el (isearch-search-fun-function): Clarify the doc string
21154 (bug#8101).
21155
21156 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21157
21158 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21159 unnecessary spaces (bug#8987).
21160
21161 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21162
21163 * net/network-stream.el (open-network-stream): Use the
21164 :end-of-capability command thoughout.
21165
21166 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21167
21168 * net/network-stream.el (open-network-stream): Add the
21169 :end-of-capability command parameter, used by pop3.el.
21170
21171 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21172
21173 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21174
21175 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21176 for list)" (bug#6475).
21177
21178 * files.el (file-expand-wildcards): Ignore non-readable
21179 sub-directories while trying to find matches instead of signaling
21180 an error (bug#6297).
21181
21182 * man.el (Man-reference-regexp): Allow matching possible
21183 word-wrapped references (bug#6289).
21184
21185 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21186 for consistency with the other vc buffers (bug#6197).
21187 (vc-checkin): Ditto.
21188
21189 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21190
21191 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21192
21193 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21194
21195 * custom.el (defcustom): Clarify that :set is only used in the
21196 Customize user interface (bug#6089).
21197
21198 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21199 associated with a file, refuse to run instead of erroring out
21200 (bug#6084).
21201
21202 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21203 the doc string, since it appears that using `fill-column' always
21204 controls the width (bug#7845).
21205
21206 * simple.el (shell-command-on-region): Say where the error output
21207 went if `shell-command-default-error-buffer' is set (bug#6857).
21208
21209 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21210
21211 * allout.el (allout-yank-processing): Adjust cursor position for
21212 backwards-deleted space.
21213
21214 (allout-rebullet-heading): Register changes with
21215 allout-exposure-changed-hook, so the modified topic is properly
21216 decorated.
21217
21218 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21219
21220 * minibuffer.el (completion-in-region): Document PREDICATE
21221 (bug#7136).
21222
21223 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21224 of keyword/argument pairs (bug#6904).
21225
21226 * replace.el (multi-occur):
21227 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21228
21229 2011-07-02 Drew Adams <drew.adams@oracle.com>
21230
21231 * dired.el (dired-mark-if): Make the message about whether it's
21232 marking or unmarking clearer (bug#8523).
21233
21234 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21235
21236 * disp-table.el (display-table-print-array): New function.
21237 (describe-display-table): Use it to print the vectors more pretty
21238 (Bug#8859).
21239
21240 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21241
21242 * window.el (window-state-get-1): Don't assign clone numbers.
21243 Add clone-of item to list of window parameters.
21244 (window-state-put-2): Don't process clone numbers.
21245 (display-buffer-alist): Fix doc-string.
21246
21247 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21248
21249 * subr.el (remq): Don't allocate if it's not needed.
21250 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21251 (keymap--merge-bindings): New functions.
21252 (keymap-canonicalize): Use them to refine the canonicalization.
21253 * minibuffer.el (minibuffer-local-completion-map)
21254 (minibuffer-local-must-match-map): Move initialization from C.
21255 (minibuffer-local-filename-completion-map): Move initialization from C;
21256 don't inherit from anything here.
21257 (minibuffer-local-filename-must-match-map): Make obsolete.
21258 (completing-read-default): Use make-composed-keymap to combine
21259 minibuffer-local-filename-completion-map with either
21260 minibuffer-local-must-match-map or
21261 minibuffer-local-filename-completion-map.
21262
21263 2011-07-01 Glenn Morris <rgm@gnu.org>
21264
21265 * type-break.el (type-break-time-sum): Use dolist.
21266
21267 * textmodes/flyspell.el (flyspell-word-search-backward):
21268 Replace CL function.
21269
21270 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21271
21272 * mouse.el (mouse--strip-first-event): New function.
21273 (function-key-map): Use it to map fringe clicks to normal clicks
21274 by default.
21275
21276 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21277 (vc-bzr-revision-completion-table): Add support for annotate and date.
21278
21279 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21280 inherit from parent.
21281
21282 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21283
21284 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21285 (dired-show-file-type): Doc fixup (bug#8818).
21286
21287 * dired.el (dired-mode): Fix up the doc string as suggested by
21288 Drew Adams (bug#8817).
21289
21290 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21291 cookie, since the manual says that it should be possible to add
21292 this function to `find-file-hook' (bug#8709).
21293
21294 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21295
21296 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21297 here. Noted Ted Zlatanov as the maintainer.
21298 (cfengine-common-settings, cfengine-common-syntax): New functions
21299 to set up common things between `cfengine-mode' and
21300 `cfengine3-mode'.
21301 (cfengine3-mode): New mode.
21302 (cfengine3-defuns cfengine3-defuns-regex
21303 (cfengine3-class-selector-regex cfengine3-category-regex)
21304 (cfengine3-vartypes cfengine3-font-lock-keywords)
21305 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21306 (cfengine3-indent-line): Add from cfengine3.el.
21307
21308 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21309
21310 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21311
21312 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21313
21314 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21315
21316 * window.el (same-window-buffer-names, same-window-regexps)
21317 (same-window-p, special-display-frame-alist)
21318 (special-display-popup-frame, special-display-function)
21319 (special-display-buffer-names, special-display-regexps)
21320 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21321 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21322 (split-window-preferred-function, split-height-threshold)
21323 (split-width-threshold, even-window-heights)
21324 (display-buffer-mark-dedicated, window-splittable-p)
21325 (split-window-sensibly, window-safely-shrinkable-p):
21326 Un-obsolete.
21327 (display-buffer): Don't spread args with function specifier
21328 because special-display-popup-frame won't like it.
21329
21330 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21331
21332 Time-stamp simplifications and fixes.
21333 These improve accuracy slightly, and future-proof the code
21334 against some potential changes to current-time format.
21335
21336 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21337 by using time-since and float-time.
21338
21339 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21340 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21341 + NNN microseconds".
21342
21343 * type-break.el (type-break-time-sum): Rewrite using time-add.
21344
21345 * play/hanoi.el (hanoi-current-time-float): Remove.
21346 All uses replaced by float-time.
21347
21348 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21349 This yields a more-accurate answer.
21350 (rng-time-to-float): Remove; no longer needed.
21351
21352 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21353
21354 * calendar/timeclock.el (timeclock-seconds-to-time):
21355 Defalias to seconds-to-time, since they're the same thing.
21356
21357 * emacs-lisp/elp.el (elp-elapsed-time):
21358 * emacs-lisp/benchmark.el (benchmark-elapse):
21359 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21360
21361 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21362
21363 * window.el (bury-buffer): Don't iconify the only frame.
21364 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21365 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21366
21367 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21368
21369 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21370 Add mouse-yank-primary.
21371
21372 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21373
21374 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21375
21376 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21377
21378 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21379 (find-library-name): Use it to find relative load names when provided
21380 absolute file name (bug#8803).
21381
21382 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21383
21384 * textmodes/flyspell.el (flyspell-word): Consider words that
21385 differ only in case as potential doublons (bug#5687).
21386
21387 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21388 Remove two rather uninteresting debugging-like messages to make
21389 debbugs.el more silent.
21390
21391 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21392 a password-like phrase.
21393
21394 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21395
21396 * progmodes/cc-guess.el: New file.
21397
21398 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21399
21400 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21401 derived from `c-basic-common-init'.
21402
21403 * progmodes/cc-mode.el (top-level): Require cc-guess.
21404 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21405
21406 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21407
21408 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21409
21410 2011-06-30 Alan Mackenzie <acm@muc.de>
21411
21412 * progmodes/cc-engine.el (c-guess-continued-construct):
21413 Correct the handling of template-args-cont, particularly for when font
21414 lock is disabled. Name this case as "CASE G".
21415
21416 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21417
21418 * allout.el (allout-yank-processing): Fix injection of extra space
21419 between bullet and non-whitespace character in first topic when
21420 pasting, ensuring that the actual spacing in the pasted topic
21421 following the bullet char is preserved. This extra space was
21422 causing pasted encrypted topics to get a decrypted status even
21423 when the content was actually still encrypted. Now the decryption
21424 status from before the paste is preserved.
21425
21426 (allout-flag-region): Set all allout overlays so they evaporate
21427 when reduced to zero length (evanescent), to prevent overlay
21428 leakage.
21429
21430 2011-06-30 Glenn Morris <rgm@gnu.org>
21431
21432 * w32-fns.el (w32-charset-info-alist): Declare.
21433
21434 * find-dired.el (find-grep-options): Simplify.
21435
21436 * term/ns-win.el (ns-set-resource): Declare.
21437
21438 * ses.el (row, col): Declare dynamic variables honestly.
21439
21440 * textmodes/reftex-parse.el (index-tags): Declare.
21441
21442 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21443
21444 * cus-edit.el (customize-push-and-save): New function.
21445
21446 * files.el (hack-local-variables-confirm): Use it.
21447
21448 * custom.el (load-theme): New arg NO-CONFIRM.
21449 Use customize-push-and-save (Bug#8720).
21450 (custom-enabled-themes): Doc fix.
21451
21452 * cus-theme.el (customize-create-theme)
21453 (custom-theme-merge-theme): Callers to load-theme changed.
21454
21455 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21456
21457 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21458 short URLs have at least one dot in them (bug #7614).
21459
21460 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21461 nil, because using a pty is apparently too slow (bug #895).
21462
21463 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21464
21465 * mail/sendmail.el (sendmail-query-once): New function.
21466 (sendmail-query-once-function): New variable.
21467
21468 2011-06-29 Glenn Morris <rgm@gnu.org>
21469
21470 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21471
21472 * ses.el (top-level): Require cl when compiling.
21473 (ses-set-localvars): Fix error statement.
21474 Call it at compile time to silence a storm of warnings.
21475
21476 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21477
21478 * window.el (normalize-live-buffer): Rename to
21479 window-normalize-buffer.
21480 (normalize-live-frame): Rename to window-normalize-frame.
21481 (normalize-any-window): Rename to window-normalize-any-window.
21482 (normalize-live-window): Rename to window-normalize-live-window.
21483 (make-window-atom): Rename to window-make-atom.
21484 (window-resize-reset): Rename to window--resize-reset.
21485 (window-resize-reset-1): Rename to window--resize-reset-1.
21486 (resize-mini-window): Rename to window--resize-mini-window.
21487 (resize-subwindows-skip-p): Rename to
21488 window--resize-subwindows-skip-p.
21489 (resize-subwindows-normal): Rename to
21490 window--resize-subwindows-normal.
21491 (resize-subwindows): Rename to window--resize-subwindows.
21492 (resize-other-windows): Rename to window--resize-siblings.
21493 (resize-this-window): Rename to window--resize-this-window.
21494 (resize-root-window): Rename to window--resize-root-window.
21495 (resize-root-window-vertically): Rename to
21496 window--resize-root-window-vertically.
21497 (normalize-buffer-to-display): Rename to
21498 window-normalize-buffer-to-display.
21499 (normalize-buffer-to-switch-to): Rename to
21500 window-normalize-buffer-to-switch-to.
21501 Correspondingly update all callers of the functions listed
21502 above.
21503 (display-buffer-alist, display-buffer-normalize-arguments)
21504 (display-buffer-normalize-options, display-buffer)
21505 (display-buffer-alist-set): Use "function" instead of
21506 "fun-with-args".
21507
21508 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21509
21510 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21511 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21512 debbugs.gnu.org. Mention acknowledgment email.
21513
21514 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21515
21516 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21517 buffer multibyteness, since it shouldn't matter.
21518
21519 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21520
21521 * window.el (display-buffer-in-side-window): Handle dedicated
21522 windows as in display-buffer-reuse-window.
21523 (display-buffer-normalize-alist): Use value of override
21524 specifier.
21525 (display-buffer-normalize-specifiers): Use value of
21526 other-window-means-other-frame specifier.
21527 (display-buffer-alist): Rewrite some texts in widgets.
21528 (display-buffer): Spread arguments when calling function
21529 specified by fun-with-args.
21530
21531 2011-06-28 Deniz Dogan <deniz@dogan.se>
21532
21533 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21534 Unnest `let'.
21535
21536 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21537 selectors (Bug#5732).
21538 (css-proprietary-nmstart-re): Use `regexp-opt'.
21539
21540 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21541
21542 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21543 (eshell-ls-date-format): New defcustom.
21544 (eshell-ls-file): Use it.
21545
21546 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21547
21548 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21549
21550 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21551
21552 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21553 (ange-ftp-make-tmp-name): New arg.
21554 (ange-ftp-file-local-copy): Use it.
21555
21556 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21557
21558 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21559 no-conversion (Bug#8870).
21560
21561 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21562
21563 * window.el (window-right, window-left, window-child)
21564 (window-child-count, window-last-child)
21565 (window-iso-combination-p, walk-window-tree-1)
21566 (window-atom-check-1, window-tree-1, delete-window)
21567 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21568 new naming conventions - window-vchild, window-hchild,
21569 window-next and window-prev are now called window-top-child,
21570 window-left-child, window-next-sibling and window-prev-sibling
21571 respectively.
21572 (resize-window-reset): Rename to window-resize-reset.
21573 (resize-window-reset-1): Rename to window-resize-reset-1.
21574 (resize-window): Rename to window-resize.
21575 (window-min-height, window-min-width)
21576 (resize-mini-window, resize-this-window, resize-root-window)
21577 (resize-root-window-vertically, adjust-window-trailing-edge)
21578 (enlarge-window, shrink-window, maximize-window)
21579 (minimize-window, delete-window, quit-restore-window)
21580 (split-window, balance-windows, balance-windows-area-adjust)
21581 (balance-windows-area, window-state-put-2)
21582 (display-buffer-even-window-sizes, display-buffer-set-height)
21583 (display-buffer-set-width, set-window-text-height)
21584 (fit-window-to-buffer): Rename all "resize-window" prefixed
21585 calls to use the "window-resize" prefix convention.
21586 (display-buffer-alist): Fix symbol for label specifier.
21587 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21588 corresponding specifier.
21589 Reported by Juanma Barranquero <lekktu@gmail.com>.
21590
21591 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21592
21593 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21594 convention.
21595 (ses-call-printer): Does not pass an empty string to formatter when the
21596 cell is empty to keep from barking printer Calc math-format-value.
21597
21598 2011-06-27 Richard Stallman <rms@gnu.org>
21599
21600 * battery.el (battery-mode-line-limit): New variable.
21601 (battery-update): Handle it.
21602
21603 * mail/rmailmm.el (rmail-mime-process-multipart):
21604 Handle truncated messages.
21605
21606 2011-06-27 Glenn Morris <rgm@gnu.org>
21607
21608 * progmodes/flymake.el (flymake-err-line-patterns):
21609 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21610
21611 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21612
21613 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21614 (ses--clean-!, ses--clean-_): New functions.
21615 (ses-range): Add configurability of readout order, and conversion
21616 to Calc vector.
21617
21618 * ses.el (ses-repair-cell-reference-all): New function.
21619 (ses-cell-symbol): Set macro as safe, so that it can be used in
21620 formulas.
21621
21622 * ses.el: Update cycle detection algorithm.
21623 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21624 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21625 (ses-set-localvars): New function.
21626 (ses-make-cell): Add property-list as a cell element.
21627 (ses-cell-property-get-fun, ses-cell-property-get)
21628 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21629 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21630 New functions.
21631 (ses-cell-property-set, ses-cell-property-pop)
21632 (ses-cell-property-get-handle): New macro.
21633 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21634 New aliases, used for code readability.
21635 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21636 cycle detection.
21637 (ses-self-reference-early-detection): New defcustom.
21638 (ses-formula-references): Robustify against self-referring cells.
21639 (ses-mode): Use ses-set-localvars.
21640 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21641 before lauching the update processing.
21642 (ses-initialize-Dijkstra-attempt): New function.
21643 (ses-recalculate-cell): Update for cycle detection based on
21644 Dijkstra algorithm.
21645
21646 * ses.el: Fix commenting and indenting convention.
21647
21648 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21649
21650 * bs.el (bs-cycle-next): Complete last change.
21651
21652 2011-06-27 Drew Adams <drew.adams@oracle.com>
21653
21654 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21655
21656 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21657
21658 * net/network-stream.el (network-stream-open-starttls):
21659 Don't re-get capabilities unless we've reestablished connection.
21660 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21661
21662 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21663 to binary to possibly avoid line encoding issues on Windows (among
21664 other things).
21665
21666 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21667
21668 * net/network-stream.el (open-network-stream): Return an :error
21669 saying what the problem was, if possible.
21670
21671 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21672 server.
21673
21674 * net/network-stream.el (network-stream-open-starttls): If we
21675 wanted to use STARTTLS, and the server offered it, but we weren't
21676 able to because we had no STARTTLS support, then close the connection.
21677 (open-network-stream): Return an :error element, if present.
21678
21679 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21680
21681 * hl-line.el (hl-line-sticky-flag): Doc fix.
21682 (global-hl-line-sticky-flag): New option (Bug#8323).
21683 (global-hl-line-highlight): Obey it.
21684
21685 * vc/vc.el (vc-revert-show-diff): Default to t.
21686
21687 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21688
21689 * allout-widgets.el (allout-widgets-post-command-business):
21690 Stop decorating intermediate isearch matches. They're not being
21691 undecorated when an isearch is continued past, and isearch
21692 automatically collapses them. This leads to "widget leaks", where
21693 decorated items accumulate in collapsed areas. Lines with lots of
21694 hidden widgets can slow down cursor travel, substantially.
21695 Too much complicated machinery would be needed to ensure undecoration,
21696 so we're doing without this nicety.
21697
21698 (allout-widgets-tally-string): Don't try to do a hash-table-count
21699 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21700 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21701 *Messages* when allout-widgets-maintain-tally is t.
21702
21703 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21704
21705 * window.el (display-buffer-normalize-argument): Rename to
21706 display-buffer-normalize-arguments. Handle special meaning of
21707 LABEL argument. Respect special-display-function when popping up
21708 a new frame. Fix code searching for a window showing the buffer
21709 on another frame.
21710 (display-buffer-normalize-specifiers):
21711 Call display-buffer-normalize-arguments.
21712 (display-buffer-in-window): Don't undedicate the window if its
21713 buffer remains the same.
21714 Reported by Drew Adams <drew.adams@oracle.com>.
21715 (display-buffer-alist): Add choice for same-window macro
21716 specfier.
21717 (display-buffer): Mention special meaning of LABEL argument in
21718 doc-string. Fix quoting. Don't pop up a new frame even as
21719 fallback.
21720
21721 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21722
21723 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21724 avoid deleting the current window in some cases (bug#8911).
21725
21726 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21727
21728 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21729 (Bug#8934)
21730
21731 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21732
21733 * net/network-stream.el (network-stream-open-starttls):
21734 Use built-in TLS support if `gnutls-available-p' is true.
21735 (network-stream-open-tls): Ditto.
21736
21737 2011-06-26 Leo Liu <sdl.web@gmail.com>
21738
21739 * register.el (registerv): New struct.
21740 (registerv-make): New function.
21741 (jump-to-register, describe-register-1, insert-register):
21742 Support the jump-func, print-func and insert-func slot of a registerv
21743 struct. (Bug#8415)
21744
21745 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21746
21747 * vc/vc.el (vc-revert-show-diff): New defcustom.
21748 (vc-diff-internal): New arg specifying diff buffer.
21749 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21750 reuse an existing *vc-diff* buffer (Bug#8927).
21751
21752 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21753
21754 2011-06-26 Glenn Morris <rgm@gnu.org>
21755
21756 * progmodes/f90.el (f90-critical-indent): New option.
21757 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21758 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21759 (f90-mode): Doc fix.
21760 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21761 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21762 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21763 (f90-match-end): Handle block, critical.
21764
21765 2011-06-25 Glenn Morris <rgm@gnu.org>
21766
21767 * calendar/diary-lib.el (diary-included-files): Doc fix.
21768 (diary-include-files): New function, extracted from
21769 diary-include-other-diary-files and diary-mark-included-diary-files.
21770 (diary-include-other-diary-files, diary-mark-included-diary-files):
21771 Just call diary-include-files.
21772 (diary-mark-entries): Reset diary-included-files on first call.
21773
21774 * calendar/diary-lib.el (diary-mark-entries)
21775 (diary-mark-included-diary-files):
21776 Visit included diary-files in temp buffers.
21777
21778 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21779 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21780 (f90-start-block-re, f90-imenu-generic-expression)
21781 (f90-looking-at-program-block-start, f90-no-block-limit):
21782 Add support for submodules.
21783
21784 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21785 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21786
21787 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21788
21789 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21790 buffer-file-type before setting its value, to avoid disastrous
21791 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21792
21793 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21794
21795 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21796
21797 * ses.el (ses-unload-function):
21798 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21799
21800 * proced.el (proced-unload-function):
21801 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21802
21803 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21804
21805 * server.el (server-create-window-system-frame): Add parameters arg.
21806 (server-process-filter): Doc fix. Handle frame-parameters.
21807
21808 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21809
21810 Fix bug#8730, bug#8781.
21811
21812 * loadhist.el (unload--set-major-mode): New function.
21813 (unload-feature): Use it.
21814
21815 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21816 (python-unload-function): New function.
21817
21818 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21819
21820 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21821
21822 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21823
21824 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21825 the candidates list.
21826
21827 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21828
21829 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21830
21831 2011-06-23 Richard Stallman <rms@gnu.org>
21832
21833 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21834 (rmail-variables): Set next-error-move-function.
21835 (rmail-what-message): Take argument POS.
21836 (rmail-next-error-move): New function.
21837
21838 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21839
21840 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21841 messages for adjacent non-terminals.
21842
21843 2011-06-23 Richard Stallman <rms@gnu.org>
21844
21845 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21846 (rmail-show-message-1): Preserve buffer modified flag.
21847 (rmail-start-mail): Don't specify use of rmail-mail-return;
21848 that's done by mail-bury now.
21849 (rmail-mail-return): Handle arg NEWBUF.
21850
21851 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21852
21853 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21854 SIZE is a number.
21855
21856 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21857
21858 * window.el (get-lru-window, get-mru-window)
21859 (get-largest-window): Never return a minibuffer window.
21860 (display-buffer-pop-up-window): Fix a bug that could lead to
21861 reusing the minibuffer window.
21862 (display-buffer): Pass original specifier argument to
21863 display-buffer-function instead of the normalized one.
21864 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21865
21866 2011-06-22 Leo Liu <sdl.web@gmail.com>
21867
21868 * minibuffer.el (completing-read-function)
21869 (completing-read-default): Move from minibuf.c.
21870
21871 2011-06-22 Richard Stallman <rms@gnu.org>
21872
21873 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21874 to Rmail even if not started by a special Rmail command.
21875
21876 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21877 Copy the buffer currently showing just one message.
21878
21879 2011-06-22 Roland Winkler <winkler@gnu.org>
21880
21881 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21882 (bibtex-clean-entry): First delete the old key so that a
21883 customized algorithm for generating the new key does not get
21884 confused by the old key.
21885 (bibtex-url): Obey regexp of first step.
21886 (bibtex-search-entries): Do not use add-to-list with local
21887 list-var.
21888
21889 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21890
21891 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21892 stored a user name, then query for the password first, instead of
21893 waiting for SMTP to give an error message and the trying again.
21894
21895 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21896
21897 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21898 BUFFER in call-process.
21899
21900 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21901
21902 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21903 QUIT twice.
21904 (smtpmail-try-auth-methods): Require user name and password from
21905 auth-source.
21906
21907 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21908
21909 * window.el (display-buffer-default-specifiers)
21910 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21911 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21912 (split-window): Normalize SIDE argument (Bug#8916).
21913
21914 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21915 (special-display-frame-alist, special-display-popup-frame):
21916 Remove duplicate declarations. These are now in window.el.
21917
21918 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21919
21920 * mail/smtpmail.el (smtpmail-via-smtp):
21921 Set :use-starttls-if-possible so that we always use STARTTLS if the
21922 server supports it. SMTP servers that support STARTTLS commonly
21923 require it.
21924
21925 * net/network-stream.el (network-stream-open-starttls): Support
21926 upgrading to STARTTLS always, even if we don't have built-in support.
21927 (open-network-stream): Add the :always-query-capabilities keyword.
21928
21929 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21930 upgrades with `open-network-stream', and rely solely on
21931 auth-source for all credentials. Big changes throughout the file,
21932 but in particular:
21933 (smtpmail-auth-credentials): Remove.
21934 (smtpmail-starttls-credentials): Remove.
21935 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21936 MAIL FROM, too.
21937
21938 * net/network-stream.el (network-stream-open-starttls):
21939 Provide support for client certificates both for external and built-in
21940 STARTTLS.
21941 (auth-source): Require.
21942 (open-network-stream): Document the :client-certificate keyword.
21943 (network-stream-certificate): Change cert-cert to cert and
21944 cert-key to key.
21945
21946 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21947
21948 * net/tramp-cache.el (top): Don't load the persistency file when
21949 "emacs -Q" has been called.
21950
21951 2011-06-21 Tim Harper <timcharper@gmail.com>
21952
21953 * term/ns-win.el (ns-initialize-window-system):
21954 Set application-specific `ApplePressAndHoldEnabled' system
21955 resource to NO as it is not yet supported by the NS port.
21956
21957 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21958
21959 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21960 (list-dynamic-libraries): ...not here.
21961
21962 2011-06-21 Leo Liu <sdl.web@gmail.com>
21963
21964 * subr.el (sha1): Implement sha1 using secure-hash.
21965
21966 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21967
21968 * window.el (display-buffer-alist): In default value do not
21969 enforce searching a window on any but the selected frame.
21970 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21971 (display-buffer-select-window): Remove function.
21972 (display-buffer-in-window): When a window on another frame gets
21973 reused, do not select it any more but just raise its frame if
21974 necessary (Bug#8851) and (Bug#8856).
21975 (display-buffer-normalize-options): Handle pop-up-frames related
21976 options more faithfully.
21977 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21978 window if it is on another frame.
21979 (display-buffer-alist, display-buffer-default-specifiers):
21980 Don't make new frame unsplittable by default.
21981 (display-buffer-normalize-argument): Fix doc-string typo and use
21982 'same-frame-other-window instead of 'other-window when associating
21983 with display-buffer-macro-specifiers.
21984
21985 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21986
21987 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21988 New functions.
21989 (5x5-mode-map, 5x5-mode-menu): Bind them.
21990 (5x5-draw-grid): Tweak the solver's rendering.
21991
21992 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21993
21994 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21995 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21996
21997 2011-06-21 Drew Adams <drew.adams@oracle.com>
21998
21999 * menu-bar.el: Use function variable instead of switch-to-buffer.
22000 (menu-bar-select-buffer-function): New variable.
22001 (menu-bar-update-buffers): Use it (bug#8876).
22002
22003 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22004
22005 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22006 variable's status.
22007
22008 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22009
22010 * x-dnd.el (x-dnd-version-from-flags)
22011 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22012 and long as number (Bug#8899).
22013 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22014
22015 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22016
22017 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22018 (completion-try-completion, completion-all-completions): Compute the
22019 metadata argument if it's missing; make it optional (bug#8795).
22020
22021 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22022 (widget-complete): Use new :completion-function property.
22023 (widget-completions-at-point): New function.
22024 (default): Use :completion-function instead of :complete.
22025 (widget-default-completions): Rename from widget-default-complete;
22026 Rewrite.
22027 (widget-string-complete, widget-file-complete, widget-color-complete):
22028 Remove functions.
22029 (file, symbol, function, variable, coding-system, color):
22030 * international/mule-cmds.el (default-input-method, charset)
22031 (language-info-custom-alist):
22032 * cus-edit.el (face): Use new property :completions.
22033
22034 * progmodes/pascal.el (pascal-completions-at-point): New function.
22035 (pascal-mode): Use it.
22036 (pascal-mode-map): Use completion-at-point.
22037 (pascal-toggle-completions): Make obsolete.
22038 (pascal-complete-word, pascal-show-completions):
22039 * progmodes/octave-mod.el (octave-complete-symbol):
22040 Redefine as obsolete alias.
22041 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22042 Signal absence of completion info for old Octave,
22043 (inferior-octave-complete): Redefine as obsolete alias.
22044 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22045 (meta-completions-at-point): Rename from meta-complete-symbol and
22046 adapt it for use on completion-at-point-functions.
22047 (meta-common-mode): Use it.
22048 (meta-looking-at-backward, meta-match-buffer): Remove.
22049 (meta-complete-symbol): Redefine as obsolete alias.
22050 (meta-common-mode-map): Use completion-at-point.
22051 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22052 (makefile-mode-map): Use completion-at-point.
22053 (makefile-completions-at-point): Rename from makefile-complete and
22054 adapt it for use on completion-at-point-functions.
22055 (makefile-mode): Use it.
22056 (makefile-complete): Redefine as obsolete alias.
22057
22058 2011-06-20 Deniz Dogan <deniz@dogan.se>
22059
22060 * net/rcirc.el: Delete trailing whitespaces once and for all.
22061
22062 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22063
22064 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22065
22066 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22067
22068 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22069
22070 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22071
22072 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22073
22074 * window.el (display-buffer-other-window-means-other-frame):
22075 Call display-buffer-normalize-alist.
22076 (display-buffer-normalize-specifiers-1): Rename to
22077 display-buffer-normalize-argument. New argument other-frame.
22078 Rewrite.
22079 (display-buffer-normalize-specifiers-2): Rename to
22080 display-buffer-normalize-options.
22081 (display-buffer-normalize-alist-1): New function.
22082 (display-buffer-normalize-specifiers-3): Rename to
22083 display-buffer-normalize-alist.
22084 Call display-buffer-normalize-alist-1.
22085 (display-buffer-normalize-options-inhibit): New variable.
22086 (display-buffer-normalize-specifiers): Rewrite calling
22087 display-buffer-normalize-alist,
22088 display-buffer-normalize-argument, and
22089 display-buffer-normalize-options. Don't call the latter if
22090 display-buffer-normalize-options-inhibit is non-nil.
22091 (frame-auto-delete): New option.
22092 (window-deletable-p): Use frame-auto-delete.
22093 (window-list-no-nils, window-state-ignored-parameters)
22094 (window-state-get-1, window-state-get, window-state-put-list)
22095 (window-state-put-1, window-state-put-2, window-state-put):
22096 New functions.
22097 (display-buffer-normalize-options): Move special-display-p group
22098 after pop-up-frame group (Bug#8851) and (Bug#8856).
22099
22100 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22101
22102 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22103 groups (Bug#8776).
22104 (rx-submatch-n): New function.
22105 (rx): Document it.
22106
22107 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22108 (Bug#8768).
22109
22110 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22111
22112 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22113
22114 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22115 anytime existing face settings are present (Bug#8889).
22116
22117 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22118 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22119 Remove unused argument.
22120
22121 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22122
22123 * window.el (display-buffer-default-specifiers):
22124 Remove pop-up-frame. Add pop-up-window-min-height,
22125 pop-up-window-min-width, and another reuse-window specifier
22126 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22127 (display-buffer-normalize-specifiers-2):
22128 Handle split-height-threshold and split-width-threshold also when
22129 pop-up-windows is unset. Add a reuse-window specifier for the
22130 case popping up a new window fails.
22131 (special-display-popup-frame): Remove double quoting.
22132 (display-buffer-normalize-specifiers-1): Fix thinko.
22133
22134 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22135
22136 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22137 according to comint-completion-addsuffix.
22138
22139 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22140 (pcomplete-suffix-list): Mark as obsolete.
22141 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22142 pcomplete-seen in the closure.
22143 (pcomplete-comint-setup): Setup completion-at-point as well.
22144 (pcomplete--entries): New function.
22145 (pcomplete--env-regexp): New var.
22146 (pcomplete-entries): Rewrite to work with partial-completion and
22147 without relying on pcomplete-suffix-list.
22148 (pcomplete-pare-list): Remove, unused.
22149
22150 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22151
22152 * window.el (display-buffer-alist): Set pop-up-window-min-height
22153 and pop-up-window-min-width in default value. Reported by
22154 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22155 other-window-means-other-frame.
22156 (display-buffer-macro-specifiers): Comment out entry for
22157 other-window specifier.
22158 (display-buffer-other-window-means-other-frame): New function.
22159 (display-buffer-normalize-specifiers-1): New arguments
22160 buffer-name and label. Treat other-window case specially.
22161 (display-buffer-normalize-specifiers-2): Treat other-window case
22162 specially.
22163 (display-buffer-normalize-specifiers-3): New function.
22164 (display-buffer-normalize-specifiers):
22165 Call display-buffer-normalize-specifiers-3.
22166
22167 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22168
22169 * window.el (same-window-p): Fix two typos introduced when
22170 adding with-no-warnings.
22171 (display-buffer-normalize-specifiers-1): Don't check
22172 pop-up-frames for 'unset initialization.
22173 (display-buffer-normalize-specifiers-2): Major rewrite using
22174 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22175 (pop-up-frames, display-buffer-reuse-frames)
22176 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22177 Suggested by David Engster <deng@randomsample.de>.
22178 (even-window-heights): Initialize to 'unset.
22179 (display-buffer-alist-set): Handle new 'unset initializations.
22180 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22181 other window case.
22182
22183 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22184
22185 * window.el (display-buffer-normalize-specifiers-1):
22186 Respect current value of pop-up-frames for most reasonable values of
22187 second argument of display-buffer (Bug#8865).
22188 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22189 (switch-to-buffer-other-window-same-frame)
22190 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22191 Adams (Bug#8875).
22192 (display-buffer): Don't check noninteractive when calling
22193 display-buffer-pop-up-frame.
22194 (display-buffer-pop-up-frame): Never pop up a frame in
22195 noninteractive mode (Bug#8857).
22196 (enlarge-window, shrink-window): Don't report an error when the
22197 window can't be resized as requested (Bug#8862).
22198
22199 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22200
22201 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22202
22203 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22204
22205 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22206
22207 2011-06-15 Alan Mackenzie <acm@muc.de>
22208
22209 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22210 for declarators, disable knr checking to speed up for normal files.
22211 2: Refactor, replacing a sequence of nested if forms by a cond form.
22212
22213 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22214
22215 * net/network-stream.el (open-network-stream): Add the keyword
22216 :always-query-capabilities for the case where you want to force a
22217 `plain' network connection, but the protocol still requires the
22218 capabilitiy command (i.e., SMTP and EHLO).
22219
22220 * subr.el (process-live-p): Rename from `process-alive-p' for
22221 consistency with other `-live-p' functions.
22222
22223 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22224
22225 * window.el (same-window-buffer-names, same-window-regexps)
22226 (special-display-frame-alist, special-display-popup-frame)
22227 (special-display-function, special-display-buffer-names)
22228 (special-display-regexps, pop-up-frame-alist)
22229 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22230 (pop-up-windows, split-window-preferred-function)
22231 (split-height-threshold, split-width-threshold, even-window-heights)
22232 (display-buffer-mark-dedicated): Don't encourage the use of
22233 display-buffer-alist from Elisp code.
22234
22235 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22236
22237 * progmodes/python.el (python-mode): Derive from prog-mode.
22238 * progmodes/ps-mode.el (ps-mode):
22239 * progmodes/mixal-mode.el (mixal-mode):
22240 * progmodes/cfengine.el (cfengine-mode):
22241 * progmodes/ld-script.el (ld-script-mode): Likewise.
22242
22243 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22244
22245 * window.el (display-buffer-alist): Trim default value to avoid
22246 popping up a new frame (Bug#8857) or reusing an arbitrary window
22247 on another frame.
22248 (display-buffer): Do not fall back on popping up a new frame in
22249 batch mode (Bug#8857).
22250
22251 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22252
22253 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22254 (custom-theme-summary): New function.
22255 (customize-themes): Use it.
22256
22257 2011-06-13 Glenn Morris <rgm@gnu.org>
22258
22259 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22260
22261 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22262
22263 * help.el (help-window): Remove variable.
22264 (help-window-point-marker, temp-buffer-max-height)
22265 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22266 (help-print-return-message): Don't set help-window.
22267 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22268 (help-window-setup-finish): Remove.
22269 (help-window-display-message, help-window-setup)
22270 (with-help-window): Major rewrite based on new
22271 display-buffer-window variable.
22272
22273 * help-mode.el (help-mode-finish): Remove help-window related
22274 code.
22275
22276 * view.el (view-exits-all-viewing-windows): Remove reference to
22277 view-return-to-alist in doc-string.
22278 (view-return-to-alist): Make obsolete.
22279 (view-buffer): Call pop-to-buffer-same-window and remove
22280 undo-window code.
22281 (view-buffer-other-window): Call pop-to-buffer-other-window and
22282 simplify code. Ignore second argument.
22283 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22284 simplify code. Ignore second argument.
22285 (view-return-to-alist-update): Make obsolete.
22286 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22287 Rewrite using quit-restore window parameters.
22288 (view-mode-exit): Rename second argument to EXIT-ONLY.
22289 Rewrite using quit-restore-window.
22290 (View-exit, View-exit-and-edit, View-leave, View-quit)
22291 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22292 appropriate arguments.
22293 (view-end-message): Use quit-restore window parameter.
22294
22295 * window.el (display-buffer-function): Rewrite doc-string.
22296 (display-buffer-window, display-buffer-alist): New variables.
22297 (display-buffer-split-specifiers)
22298 (display-buffer-side-specifiers)
22299 (display-buffer-macro-specifiers): New constants.
22300 (display-buffer-even-window-sizes, display-buffer-set-height)
22301 (display-buffer-set-width, display-buffer-select-window)
22302 (display-buffer-in-window, display-buffer-reuse-window)
22303 (display-buffer-split-window-1, display-buffer-split-window)
22304 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22305 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22306 (display-buffer-in-side-window, normalize-buffer-to-display)
22307 (display-buffer-normalize-specifiers-1)
22308 (display-buffer-normalize-specifiers-2)
22309 (display-buffer-normalize-specifiers, display-buffer-frame):
22310 New functions.
22311 (display-buffer): Major rewrite.
22312 (display-buffer-other-window, display-buffer-other-frame)
22313 (pop-to-buffer, switch-to-buffer-other-window)
22314 (switch-to-buffer-other-frame): Rewrite.
22315 (display-buffer-same-window, display-buffer-same-frame)
22316 (display-buffer-same-frame-other-window)
22317 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22318 (pop-to-buffer-other-window)
22319 (pop-to-buffer-same-frame-other-window)
22320 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22321 (switch-to-buffer-other-window-same-frame): New functions.
22322 (same-window-p, special-display-p): Rewrite disabling warnings.
22323 Make obsolete.
22324 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22325 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22326 Make obsolete
22327 (same-window-buffer-names, same-window-regexps)
22328 (special-display-frame-alist, special-display-popup-frame)
22329 (special-display-function, special-display-buffer-names)
22330 (special-display-regexps, pop-up-frame-alist)
22331 (pop-up-frame-function, split-window-preferred-function)
22332 (split-height-threshold, split-width-threshold)
22333 (even-window-heights): Make obsolete.
22334
22335 2011-06-12 Glenn Morris <rgm@gnu.org>
22336
22337 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22338 Misc simplifications.
22339
22340 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22341
22342 * window.el (window-safely-shrinkable-p): Restore function which
22343 was inadvertently removed in change from 2011-06-11. Declare as
22344 obsolete.
22345
22346 * calendar/calendar.el (calendar-generate-window):
22347 Use window-iso-combined-p instead of combination of one-window-p and
22348 window-safely-shrinkable-p.
22349
22350 2011-06-12 Glenn Morris <rgm@gnu.org>
22351
22352 * progmodes/fortran.el (fortran-mode-syntax-table):
22353 * progmodes/f90.el (f90-mode-syntax-table):
22354 Set % to punctuation. (Bug#8820)
22355 (f90-find-tag-default): Remove, no longer needed.
22356
22357 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22358
22359 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22360
22361 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22362
22363 * image.el (image-animated-p): Return animation delay in seconds.
22364 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22365 (image-animate-timeout): Remove DELAY argument. Don't assume
22366 every subimage has the same delay; get it from image-animated-p.
22367 (image-animate): Caller changed.
22368
22369 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22370
22371 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22372 to ignored backtrace functions.
22373
22374 2011-06-11 Glenn Morris <rgm@gnu.org>
22375
22376 * calendar/appt.el (appt-disp-window-function): Doc fix.
22377 (appt-check): Handle overlapping appointments. (Bug#8337)
22378
22379 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22380
22381 * window.el (window-tree-1, window-tree): New functions, moving
22382 the latter to window.el.
22383 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22384 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22385 (bw-refresh-edges): Remove.
22386 (balance-windows-1, balance-windows-2): New functions.
22387 (balance-windows): Rewrite in terms of window tree functions,
22388 balance-windows-1 and balance-windows-2.
22389 (bw-adjust-window): Remove.
22390 (balance-windows-area-adjust): New function with functionality of
22391 bw-adjust-window but using resize-window.
22392 (set-window-text-height): Rewrite doc-string.
22393 Use normalize-live-window and resize-window.
22394 (enlarge-window-horizontally, shrink-window-horizontally):
22395 Rename argument to DELTA.
22396 (window-buffer-height): New function.
22397 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22398 Rewrite using new window resize routines.
22399 (kill-buffer-and-window, mouse-autoselect-window-select):
22400 Use ignore-errors instead of condition-case.
22401 (quit-window): Call delete-frame instead of delete-windows-on
22402 for the only buffer on frame.
22403
22404 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22405
22406 * loadup.el (top-level): Load window before files for the sake
22407 of replace-buffer-in-windows.
22408
22409 * files.el (read-buffer-to-switch)
22410 (switch-to-buffer-other-window)
22411 (switch-to-buffer-other-frame, display-buffer-other-frame):
22412 Move to window.el.
22413
22414 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22415 (previous-buffer): Move to window.el.
22416
22417 * bindings.el (unbury-buffer): Move to window.el.
22418
22419 * window.el (delete-other-windows-vertically): Move after
22420 definition of delete-other-windows.
22421 (other-window, delete-windows-on, replace-buffer-in-windows):
22422 Move here from window.c.
22423 (record-window-buffer, unrecord-window-buffer)
22424 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22425 (switch-to-next-buffer): New functions.
22426 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22427 from simple.el. Call switch-to-next-buffer.
22428 (previous-buffer): Move here from simple.el.
22429 Call switch-to-prev-buffer.
22430 (bury-buffer): Move here from buffer.c. Switch to previous
22431 buffer when window cannot be deleted.
22432 (unbury-buffer): Move here from bindings.el.
22433 (ctl-x-map): Move binding for other-window from window.c to
22434 here.
22435 (read-buffer-to-switch, switch-to-buffer-other-window)
22436 (switch-to-buffer-other-frame): Move here from files.el.
22437 (normalize-buffer-to-switch-to): New functions.
22438 (switch-to-buffer): Move here from buffer.c.
22439 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22440
22441 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22442
22443 * window.el (window-min-height, window-min-width): Move here
22444 from window.c. Add defcustoms and rewrite doc-strings.
22445 (resize-mini-window, resize-window): New functions.
22446 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22447 Move here from window.c.
22448 (maximize-window, minimize-window): New functions.
22449 (delete-window, delete-other-windows, split-window): Move here
22450 from window.c.
22451 (window-split-min-size): New function.
22452 (split-window-keep-point): Mention split-window-above-each-other
22453 instead of split-window-vertically.
22454 (split-window-above-each-other, split-window-vertically):
22455 Rename split-window-vertically to split-window-above-each-other
22456 and provide defalias for old definition.
22457 (split-window-side-by-side, split-window-horizontally):
22458 Rename split-window-horizontally to split-window-side-by-side
22459 and provide defalias for the old definition.
22460 (ctl-x-map): Move bindings for delete-window,
22461 delete-other-windows and enlarge-window here from window.c.
22462 Replace bindings for split-window-vertically and
22463 split-window-horizontally by bindings for
22464 split-window-above-each-other and split-window-side-by-side.
22465
22466 * cus-start.el (all): Remove entries for window-min-height and
22467 window-min-width. Add entries for window-splits and
22468 window-nest.
22469
22470 2011-06-09 Glenn Morris <rgm@gnu.org>
22471
22472 * calendar/appt.el (appt-mode-line): New function.
22473 (appt-check, appt-disp-window): Use it.
22474
22475 * files.el (hack-one-local-variable-eval-safep):
22476 Allow minor-modes with explicit +/-1 arguments.
22477
22478 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22479
22480 * term/xterm.el (xterm): Add defgroup.
22481 (xterm-extra-capabilities): Add defcustom to supply known xterm
22482 capabilities, skip querying them, or query them (default).
22483 (terminal-init-xterm): Use it.
22484 (terminal-init-xterm-modify-other-keys): New function to set up
22485 modifyOtherKeys support to simplify `terminal-init-xterm'.
22486
22487 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22488
22489 * window.el (resize-window-reset, resize-window-reset-1)
22490 (resize-subwindows-skip-p, resize-subwindows-normal)
22491 (resize-subwindows, resize-other-windows, resize-this-window)
22492 (resize-root-window, resize-root-window-vertically)
22493 (window-deletable-p, window-or-subwindow-p)
22494 (frame-root-window-p): New functions.
22495
22496 2011-06-09 Glenn Morris <rgm@gnu.org>
22497
22498 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22499 (ange-ftp-get-files): Use it.
22500
22501 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22502
22503 * mail/sendmail.el (mail-recover-1, mail-recover):
22504 * files.el (recover-file, recover-session):
22505 Handle dired-listing-switches not being just a single short option.
22506
22507 2011-06-09 Glenn Morris <rgm@gnu.org>
22508
22509 * calendar/appt.el (appt-display-message, appt-disp-window):
22510 Handle lists of appointments.
22511
22512 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22513
22514 * window.el (one-window-p): Move down in code.
22515 Rewrite doc-string.
22516 (window-current-scroll-bars): Rewrite doc-string.
22517 Normalize live window argument.
22518 (walk-windows, get-window-with-predicate, count-windows):
22519 Rewrite doc-string. Use window-list-1.
22520 (window-in-direction-2, window-in-direction, get-mru-window):
22521 New functions.
22522
22523 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22524
22525 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22526 Doc fix (Bug#8713).
22527
22528 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22529
22530 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22531
22532 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22533
22534 * loadhist.el (unload-feature-special-hooks):
22535 Add `comint-output-filter-functions'.
22536
22537 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22538
22539 * calendar/appt.el (appt-check): Move some initializations into the let.
22540
22541 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22542
22543 * window.el (window-height): Defalias to window-total-height.
22544 (window-width): Defalias to window-body-width.
22545
22546 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22547
22548 * image-mode.el (image-toggle-animation): New command.
22549 (image-mode-map): Bind it to RET.
22550 (image-mode): Update message.
22551 (image-toggle-display-image): Avoid a spurious cache flush.
22552 (image-transform-rotation): Doc fix.
22553 (image-transform-properties): Return quickly in the normal case.
22554 (image-animate-loop): Rename from image-animate-max-time.
22555
22556 * image.el (image-animate-max-time): Move to image-mode.el.
22557 (create-animated-image): Remove unnecessary function.
22558 (image-animate): Rename from image-animate-start. New arg.
22559 (image-animate-stop): Remove; just use image-animate-timer.
22560 (image-animate-timer): Use car-safe.
22561 (image-animate-timeout): Rename argument.
22562
22563 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22564
22565 * window.el (get-lru-window, get-largest-window): Move here from
22566 window.c. Rename first argument to ALL-FRAMES.
22567 Rephrase doc-strings.
22568 (get-buffer-window-list): Rewrite using window-list-1.
22569 Rephrase doc-string.
22570 (window-safe-min-height, window-safe-min-width): New constants.
22571 (window-size-ignore, window-min-size, window-min-size-1)
22572 (window-sizable, window-sizable-p, window-size-fixed-1)
22573 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22574 (window-max-delta-1, window-max-delta, window-resizable)
22575 (window-resizable-p, window-total-height, window-total-width)
22576 (window-body-width): New functions.
22577 (window-full-height-p, window-full-width-p): Rewrite using
22578 window-total-size.
22579 (window-body-height): Rewrite using window-body-size.
22580
22581 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22582
22583 * window.el (window-right, window-left, window-child)
22584 (window-child-count, window-last-child, window-any-p)
22585 (normalize-live-buffer, normalize-live-frame)
22586 (normalize-any-window, normalize-live-window)
22587 (window-iso-combination-p, window-iso-combined-p)
22588 (window-iso-combinations)
22589 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22590 (windows-with-parameter, window-with-parameter)
22591 (window-atom-root, make-window-atom, window-atom-check-1)
22592 (window-atom-check, window-side-check, window-check):
22593 New functions.
22594 (ignore-window-parameters, window-sides, window-sides-vertical)
22595 (window-sides-slots): New variables.
22596 (window-size-fixed): Move down in code. Minor doc-string fix.
22597
22598 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22599
22600 * comint.el (comint-dynamic-complete-as-filename)
22601 (comint-dynamic-complete-filename): Correctly call
22602 completion-in-region.
22603
22604 2011-06-05 Deniz Dogan <deniz@dogan.se>
22605
22606 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22607 in last change.
22608
22609 2011-06-05 Deniz Dogan <deniz@dogan.se>
22610
22611 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22612 (rcirc): Use it to prompt for encryption.
22613
22614 2011-06-05 Roland Winkler <winkler@gnu.org>
22615
22616 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22617 (bibtex-search-entries): New command bound to C-c C-a.
22618 (bibtex-display-entries): New function.
22619
22620 2011-06-05 Roland Winkler <winkler@gnu.org>
22621
22622 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22623 (bibtex-insert-kill): After yanking insert newline if necessary.
22624 (bibtex-initialize): Call bibtex-string-files-init only once.
22625 (bibtex-mode): Do not call easy-menu-add.
22626 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22627 (bibtex-yank): Set arg properly if nil.
22628
22629 2011-06-05 Roland Winkler <winkler@gnu.org>
22630
22631 * textmodes/bibtex.el (bibtex-search-entry-globally):
22632 New variable.
22633 (bibtex-search-entry): Use it.
22634
22635 2011-06-05 Roland Winkler <winkler@gnu.org>
22636
22637 * textmodes/bibtex.el (bibtex-entry-format): New option
22638 sort-fields.
22639 (bibtex-format-entry, bibtex-reformat): Honor this option.
22640 (bibtex-parse-entry): Return fields in proper order.
22641
22642 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22643
22644 * doc-view.el (doc-view-remove-if): Move computation of result out
22645 of `dolist' to silence misleading lexical-binding warning.
22646
22647 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22648
22649 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22650 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22651
22652 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22653
22654 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22655 "SunOS 5.10".
22656
22657 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22658
22659 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22660 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22661 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22662 (tramp-parse-putty):
22663 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22664 (tramp-completion-function-alist-ssh)
22665 (tramp-completion-function-alist-telnet)
22666 (tramp-completion-function-alist-su)
22667 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22668 cookie.
22669
22670 * net/tramp-ftp.el:
22671 * net/tramp-sh.el:
22672 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22673 load "tramp.el" `tramp-set-completion-function'.
22674
22675 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22676
22677 * shell.el: Require and use pcomplete.
22678 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22679 (shell-completion-vars): Set pcomplete-default-completion-function.
22680
22681 2011-06-04 Deniz Dogan <deniz@dogan.se>
22682
22683 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22684 `memq' (Bug#8799).
22685
22686 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22687
22688 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22689
22690 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22691
22692 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22693 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22694 * vc/log-view.el (log-view-beginning-of-defun):
22695 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22696 (smerge-refine-forward, smerge-refine-chopup-region):
22697 Silence warning for unused `dotimes' counter variables.
22698
22699 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22700
22701 * net/tramp.el (tramp-with-progress-reporter): Rename from
22702 with-progress-reporter. Use `declare'.
22703 * net/tramp-smb.el:
22704 * net/tramp-sh.el:
22705 * net/tramp-gvfs.el: Update all uses.
22706
22707 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22708
22709 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22710 buffer isn't killed before making it current.
22711
22712 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22713
22714 Silence various byte-compiler warnings.
22715 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22716 `access-type' and new obsolescence format.
22717 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22718 new format.
22719 (byte-compile-check-variable): New `access-type' argument.
22720 Only warn if the access-type is obsolete.
22721 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22722 (byte-compile-variable-set): Adjust callers.
22723 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22724 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22725 setting it as obsolete.
22726 * simple.el (minibuffer-completing-symbol):
22727 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22728 access as obsolete.
22729 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22730 obsolete yet.
22731 * international/quail.el (quail-mouse-choose-completion): Remove unused
22732 code referring to obsolete var.
22733 (quail-choose-completion-string): Remove.
22734 * server.el (server-clients-with, server-kill-buffer-query-function)
22735 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22736 * proced.el (proced-send-signal):
22737 * emacs-lisp/lisp.el (lisp-complete-symbol):
22738 Replace completion-annotate-function with completion-extra-properties.
22739
22740 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22741
22742 * simple.el (goto-line): Use read-number.
22743 (overriding-map-is-bound): Remove.
22744 (saved-overriding-map): Change default.
22745 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22746 Take the map as argument.
22747 (universal-argument, negative-argument, digit-argument): Use it.
22748 (restore-overriding-map): Adjust.
22749 (do-auto-fill): Use fill-forward-paragraph.
22750 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22751
22752 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22753 (minibuffer-inactive-mode): New major mode.
22754 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22755 the *Messages* buffer" hack.
22756 (mouse-popup-menubar): Don't burp if the event is a normal key.
22757
22758 Miscellaneous tweaks.
22759 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22760 lexical scoping as in subr.el's dolist and dotimes.
22761 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22762 Silence compiler warning.
22763 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22764 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22765 * international/ccl.el (ccl-compile): Trivial simplification.
22766 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22767 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22768 `printflag' argument.
22769 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22770 Purecopy the whole obsolescence data.
22771
22772 2011-06-01 Leo Liu <sdl.web@gmail.com>
22773
22774 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22775 improve doc-string as suggested by Marco Pessotto
22776 <melmothx@gmail.com>.
22777 (rcirc-print): Fix last change.
22778
22779 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22780
22781 * minibuffer.el (complete-with-action): Return nil for the metadata and
22782 boundaries of non-functional tables.
22783 (completion-table-dynamic): Return nil for the metadata.
22784 (completion-table-with-terminator): Add default case, using
22785 complete-with-action.
22786 (completion--metadata): New function.
22787 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22788 to try and avoid pathological performance problems.
22789 (completion--embedded-envvar-table): Return `category' metadata.
22790
22791 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22792
22793 * subr.el (process-alive-p): New tiny convenience function.
22794
22795 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22796
22797 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22798 content but also its previous major mode.
22799
22800 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22801
22802 * emacs-lisp/debug.el (debug): Restore the previous content of the
22803 *Backtrace* buffer when we exit with C-M-c.
22804
22805 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22806
22807 * minibuffer.el: Add metadata method to completion tables.
22808 (completion-category-overrides): New defcustom.
22809 (completion-metadata, completion--field-metadata)
22810 (completion-metadata-get, completion--styles)
22811 (completion--cycle-threshold): New functions.
22812 (completion-try-completion, completion-all-completions):
22813 Add `metadata' argument to choose completion-styles.
22814 (completion--do-completion): Use metadata to choose cycling.
22815 (completion-all-sorted-completions): Use metadata for sorting.
22816 Remove :completion-cycle-penalty which is not needed any more.
22817 (completion--try-word-completion): Add `metadata' argument.
22818 (minibuffer-completion-help): Check metadata for annotation function
22819 and sorting.
22820 (completion-file-name-table): Return `category' metadata.
22821 (minibuffer-completing-file-name): Make obsolete.
22822 * simple.el (minibuffer-completing-symbol): Make obsolete.
22823 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22824 completion-try-completion.
22825
22826 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22827
22828 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22829
22830 2011-05-30 Leo Liu <sdl.web@gmail.com>
22831
22832 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22833 (rcirc-print): Decode all incoming messages (bug#8744).
22834 (rcirc-decode-coding-system): Allow value nil for automatic coding
22835 system detection.
22836
22837 2011-06-01 Glenn Morris <rgm@gnu.org>
22838
22839 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22840
22841 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22842
22843 * image.el (image-animate-max-time): Allow nil and t values.
22844 Default to nil.
22845 (create-animated-image): Doc fix.
22846 (image-animate-start): Remove second arg; just use
22847 image-animate-max-time.
22848 (image-animate-timeout): Doc fix. Args changed.
22849
22850 * image-mode.el (image-toggle-display-image): Ensure that the
22851 image spec passed to the animate timer is the same object as in
22852 the buffer's display property (Bug#6981).
22853 (image-transform-properties): Doc fix.
22854
22855 * image.el (image-animate-max-time): Default to nil.
22856
22857 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22858
22859 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22860 entire buffer list (Bug#8184).
22861
22862 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22863
22864 * image.el (imagemagick-types-inhibit)
22865 (imagemagick-register-types): Doc fix.
22866
22867 2011-05-29 Deniz Dogan <deniz@dogan.se>
22868
22869 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22870 default.
22871
22872 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22873
22874 * select.el: Don't perform clipboard-manager saving in hooks;
22875 leave the hooks empty.
22876
22877 2011-05-28 Leo Liu <sdl.web@gmail.com>
22878
22879 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22880 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22881 (occur-edit-mode): New major mode (Bug#8463).
22882 (occur-after-change-function): New function.
22883 (occur-engine): Give Occur tags a read-only property.
22884
22885 2011-05-28 Kevin Ryde <user42@zip.com.au>
22886
22887 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22888
22889 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22890
22891 * bindings.el (help-echo): Make the initial non-indicator dash
22892 empty on graphical terminals (Bug#7295).
22893
22894 * files.el (auto-mode-alist): Move config rule after the
22895 in-stripping one (Bug#8547).
22896
22897 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22898
22899 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22900 setting (Bug#8740).
22901
22902 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22903
22904 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22905 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22906 (Bug#8539).
22907
22908 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22909
22910 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22911
22912 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22913
22914 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22915 (hs-hide-block-at-point, hs-find-block-beginning)
22916 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22917 (Bug#8279).
22918
22919 2011-05-28 Glenn Morris <rgm@gnu.org>
22920
22921 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22922
22923 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22924
22925 * help-fns.el (describe-function-1): If the function is a derived
22926 major mode, print the parent mode.
22927
22928 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22929 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22930
22931 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22932
22933 * minibuffer.el (completion--capf-wrapper): Check applicability before
22934 returning non-nil for non-exclusive completion data.
22935 * progmodes/etags.el (tags-completion-at-point-function):
22936 * info-look.el (info-lookup-completions-at-point): Mark as
22937 non-exclusive.
22938 (info-complete): Adjust accordingly.
22939
22940 * info-look.el: Convert to lexical-binding and completion-at-point.
22941 (info-lookup-completions-at-point): New function.
22942 (info-complete): Use it and completion-in-region.
22943
22944 2011-05-28 Drew Adams <drew.adams@oracle.com>
22945
22946 * isearch.el: Let M-e start with point at the first mismatched char.
22947 (isearch-fail-pos): New function.
22948 (isearch-edit-string): Use it.
22949
22950 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22951
22952 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22953
22954 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22955
22956 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22957 traversal functions for avl-trees.
22958 (avl-tree--stack): New struct.
22959 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22960 (avl-tree-enter): Add optional `updatefun' arg.
22961 (avl-tree--do-enter): Add optional `updatefun' arg.
22962 Change return value.
22963 (avl-tree-delete): Add optional `test' and `nilflag' args.
22964 (avl-tree--do-delete): Add `test' and `nilflag' args.
22965 Change return value.
22966 (avl-tree-member): Add optional `nilflag'
22967 (avl-tree-member-p): New function.
22968 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22969 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22970 (avl-tree-stack-empty-p): New functions.
22971
22972 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22973 avl-tree--del-balance1 and make it work both ways.
22974 (avl-tree--del-balance2): Remove.
22975 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22976 make it work both ways.
22977 (avl-tree--enter-balance2): Remove.
22978 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22979 New macros.
22980 (avl-tree--mapc, avl-tree-map): Add direction argument.
22981
22982 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22983
22984 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22985
22986 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22987
22988 * select.el: Support clipboard managers with built-in function
22989 x-clipboard-manager-save, via delete-frame-functions and
22990 kill-emacs-hook.
22991 (xselect-convert-to-targets): Add MULTIPLE target to list.
22992 (xselect-convert-to-save-targets): New function.
22993
22994 2011-05-27 Kenichi Handa <handa@m17n.org>
22995
22996 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22997 let-binding rfc2047-encode-encoded-words to nil.
22998
22999 2011-05-27 Glenn Morris <rgm@gnu.org>
23000
23001 * mail/emacsbug.el: Don't require url-util.
23002
23003 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23004
23005 * files.el (set-auto-mode):
23006 Also respect mode: entries at the end of the file. (Bug#8586)
23007
23008 2011-05-26 Glenn Morris <rgm@gnu.org>
23009
23010 * files.el (hack-local-variables-prop-line, hack-local-variables):
23011 Downcase mode names, as seems to be traditional.
23012 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23013
23014 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23015 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23016
23017 2011-05-25 Julien Danjou <julien@danjou.info>
23018
23019 * textmodes/rst.el (rst-define-level-faces): Do not define face
23020 symbol if it is already defined.
23021
23022 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23023
23024 * play/5x5.el (5x5-new-game, 5x5-randomize):
23025 Reset 5x5-solver-output to nil when a new grid is cast.
23026 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23027 these debugging traces, as defmacro breaks the compiled code.
23028
23029 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23030
23031 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23032
23033 2011-05-24 Leo Liu <sdl.web@gmail.com>
23034
23035 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23036 (vc-bzr-sha1): Adapt.
23037
23038 * sha1.el: Remove. Function `sha1' is now builtin.
23039
23040 * bindings.el: Provide sha1 feature.
23041
23042 2011-05-24 Kenichi Handa <handa@m17n.org>
23043
23044 * mail/sendmail.el: Require `rfc2047'.
23045 (mail-insert-from-field): Do not perform RFC2047 encoding.
23046 (mail-encode-header): New function.
23047 (sendmail-send-it): Set buffer-file-coding-system of the work
23048 buffer to the return value of select-message-coding-system.
23049 Call mail-encode-header.
23050
23051 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23052
23053 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23054
23055 * mail/supercite.el (sc-default-cite-frame):
23056 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23057
23058 2011-05-24 Glenn Morris <rgm@gnu.org>
23059
23060 * progmodes/python.el (brm-menu): Declare.
23061
23062 * emulation/viper.el (viper-set-hooks): Declare.
23063
23064 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23065 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23066 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23067 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23068 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23069 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23070
23071 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23072
23073 Add an :exit-function for completion-at-point.
23074
23075 * minibuffer.el (completion--done): New fun.
23076 (completion--do-completion): Use it. New arg `expect-exact'.
23077 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23078 since completion--do-completion does it for us now.
23079 (minibuffer-force-complete): Use completion--done and
23080 completion--replace. Handle sole-completion case with more care.
23081 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23082 (completion-extra-properties): New var.
23083 (completion-annotate-function): Make obsolete.
23084 (minibuffer-completion-help): Adjust accordingly.
23085 Use completion-list-insert-choice-function.
23086 (completion-at-point, completion-help-at-point):
23087 Bind completion-extra-properties.
23088 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23089 * simple.el (completion-list-insert-choice-function): New var.
23090 (completion-setup-function): Preserve it.
23091 (choose-completion): Pay attention to it, shuffle the code a bit.
23092 (choose-completion-string): New arg `insert-function'.
23093
23094 * textmodes/bibtex.el: Convert to lexical binding.
23095 (bibtex-mode-map): Use completion-at-point.
23096 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23097 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23098 (bibtex-complete): Define as obsolete alias.
23099 (bibtex-complete-internal): Remove.
23100 (bibtex-format-entry): Remove unused sub-group in regexp.
23101 * shell.el (shell--command-completion-data)
23102 (shell-environment-variable-completion):
23103 * pcomplete.el (pcomplete-completions-at-point):
23104 * comint.el (comint--complete-file-name-data): Use :exit-function
23105 instead of completion-table-with-terminator so it also works for
23106 choose-completion.
23107
23108 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23109
23110 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23111
23112 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23113 (bug#8710).
23114
23115 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23116
23117 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23118
23119 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23120 customization variable and implement: If non-nil, auto-fill will
23121 be inhibited while on topic's header line.
23122
23123 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23124
23125 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23126 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23127 always have a solution in grid size = 5 cases.
23128 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23129 (5x5-solver-output, 5x5-log-buffer): New vars.
23130 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23131 Make these variables buffer local to achieve 5x5 multi-session-ness.
23132 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23133 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23134 (5x5-solve-suggest): New funs.
23135 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23136 randomize a grid so that we ensure that there is always a solution.
23137 (5x5-make-random-grid): Allow other movement than flipping.
23138
23139 2011-05-23 Kevin Ryde <user42@zip.com.au>
23140
23141 * emacs-lisp/advice.el (ad-read-advised-function):
23142 Use `function-called-at-point' as the default, if it has
23143 advice and passes PREDICATE.
23144
23145 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23146
23147 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23148 byte-compile-lambda if it's actually a lambda.
23149
23150 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23151 Fix function quoting. Use backquote better.
23152
23153 2011-05-22 Yuanle Song <sylecn@gmail.com>
23154
23155 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23156 matching (Bug#8516).
23157
23158 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23159
23160 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23161 different face (Bug#8178).
23162
23163 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23164
23165 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23166 defface (Bug#8144).
23167
23168 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23169
23170 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23171 funcall as well (bug#8712). Warn when performing those conversions.
23172 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23173
23174 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23175
23176 2011-05-22 Glenn Morris <rgm@gnu.org>
23177
23178 * files.el (hack-local-variables-prop-line): Small simplifications.
23179 (hack-local-variables, hack-local-variables-prop-line):
23180 If MODE-ONLY, return the mode, rather than just `t'.
23181
23182 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23183
23184 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23185
23186 2011-05-21 Glenn Morris <rgm@gnu.org>
23187
23188 * files.el (hack-local-variables-prop-line, hack-local-variables):
23189 If only interested in the mode, don't bother doing the other stuff.
23190
23191 * image-mode.el (image-after-revert-hook):
23192 Redraw all frames on which the image is visible. (Bug#8567)
23193
23194 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23195
23196 * wid-edit.el (widget-checklist-match-inline):
23197 Fix 2011-04-19 change. (Bug#8649)
23198
23199 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23200
23201 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23202 Also allow singlespace after single-letter capitals followed by a dot.
23203
23204 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23205 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23206
23207 2011-05-20 Nix <nix@esperi.org.uk>
23208
23209 * files.el (basic-save-buffer-2):
23210 Fix handling of break-hardlink-on-save with non-existent files.
23211
23212 2011-05-19 Deniz Dogan <deniz@dogan.se>
23213
23214 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23215 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23216
23217 2011-05-19 Glenn Morris <rgm@gnu.org>
23218
23219 * progmodes/f90.el (f90-type-def-re):
23220 Handle "type, bind(c)". (Bug#8691)
23221
23222 * emacs-lisp/autoload.el (batch-update-autoloads):
23223 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23224
23225 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23226
23227 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23228 property for the correct connection in case of multihops.
23229
23230 2011-05-18 Glenn Morris <rgm@gnu.org>
23231
23232 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23233 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23234
23235 Rationalize calendar handling of day and month abbrev-arrays.
23236 * calendar/calendar.el (calendar-customized-p): New function.
23237 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23238 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23239 Add :set function.
23240 (calendar-abbrev-length, calendar-day-abbrev-array)
23241 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23242 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23243 Elements may no longer be nil.
23244 (calendar-day-name, calendar-month-name):
23245 Update for changed nature of abbrev arrays.
23246 * calendar/diary-lib.el (diary-name-pattern):
23247 Update for changed nature of abbrev arrays.
23248 (diary-mark-entries-1): Update calendar-make-alist calls.
23249 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23250 * calendar/cal-html.el (cal-html-day-abbrev-array):
23251 Simply inherit from calendar-day-abbrev-array.
23252
23253 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23254
23255 * progmodes/grep.el (grep-mode): Disable default
23256 compilation-directory-matcher setting (bug#8684).
23257
23258 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23259
23260 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23261 instead of "head" and "tail". There were problems with SunOS 5.9,
23262 and it performs better.
23263
23264 2011-05-17 Glenn Morris <rgm@gnu.org>
23265
23266 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23267
23268 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23269 Replace obsolete function.
23270
23271 * shell.el (pcomplete-parse-arguments-function): Declare.
23272
23273 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23274 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23275 (appt-check): Doc fixes.
23276 (appt-disp-window-function, appt-delete-window-function):
23277 Remove needless special case in custom :type.
23278 (appt-display-count): Default to 0, not nil.
23279 (appt-check): Reset appt-display-count to 0, not nil.
23280
23281 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23282
23283 * progmodes/python.el (python-font-lock-keywords):
23284 Add the Python 3.X keyword "nonlocal" (bug#8639).
23285
23286 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23287
23288 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23289
23290 2011-05-16 Kevin Ryde <user42@zip.com.au>
23291
23292 * info-look.el (makefile-automake-mode): New setups, looking in
23293 automake manual, then makefile-mode.
23294 (makefile-mode): Remove automake manual, have it just in
23295 makefile-automake-mode since there's various things different or
23296 not relevant to plain make.
23297 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23298 believe a hypothetical automake-mode would go to makefile-mode,
23299 not the other way around.
23300
23301 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23302
23303 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23304 hunk-end tags (Bug#8672).
23305
23306 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23307 vc-annotate-show-diff-revision-at-line (Bug#8671).
23308
23309 2011-05-14 Glenn Morris <rgm@gnu.org>
23310
23311 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23312 in the middle of an existing one with multiple authors. (Bug#8645)
23313 (change-log-font-lock-keywords): Also handle multiple author lines
23314 with leading tabs. (Bug#8644)
23315
23316 * calendar/appt.el (appt-check): Rename some local variables.
23317 Some simplification/reordering.
23318
23319 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23320 (feedmail-sendmail-f-doesnt-sell-me-out)
23321 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23322 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23323 (feedmail-queue-runner-message-sender): Set :version.
23324 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23325 (bbdb-dwim-net-address, vm-mail): Declare.
23326 (feedmail-binmail-gnulinuxish-template):
23327 Rename from feedmail-binmail-linuxish-template.
23328 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23329 Use insert-buffer-substring.
23330
23331 2011-05-14 Bill Carpenter <bill@carpenter.org>
23332
23333 * mail/feedmail.el (feedmail-patch-level): Increase.
23334 (feedmail-debug): New custom group.
23335 (feedmail-confirm-outgoing-timeout)
23336 (feedmail-sendmail-f-doesnt-sell-me-out)
23337 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23338 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23339 (feedmail-sender-line, feedmail-from-line)
23340 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23341 (feedmail-spray-this-address)
23342 (feedmail-spray-address-fiddle-plex-list)
23343 (feedmail-queue-use-send-time-for-date)
23344 (feedmail-queue-use-send-time-for-message-id)
23345 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23346 (feedmail-buffer-eating-function):
23347 Doc fixes.
23348 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23349 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23350 (feedmail-message-action-scroll-down): New functions.
23351 (feedmail-queue-directory, feedmail-queue-draft-directory):
23352 Use expand-file-name.
23353 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23354 Remove C-v help entry.
23355 (feedmail-queue-buffer-file-name): New variable.
23356 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23357 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23358 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23359 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23360 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23361 (feedmail-message-action-toggle-spray)
23362 (feedmail-run-the-queue-no-prompts)
23363 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23364 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23365 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23366 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23367 (feedmail-envelope-deducer, feedmail-fiddle-from)
23368 (feedmail-fiddle-sender, feedmail-default-date-generator)
23369 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23370 (feedmail-fiddle-spray-address)
23371 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23372 (feedmail-fiddle-list-of-fiddle-plexes)
23373 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23374 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23375 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23376 Change default. Doc fix.
23377 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23378 (feedmail-binmail-linuxish-template): New constant.
23379 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23380 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23381 (feedmail-send-it): Add debug call.
23382 Use feedmail-queue-buffer-file-name, and
23383 feedmail-send-it-immediately-wrapper.
23384 (feedmail-message-action-send): Add debug call.
23385 Use feedmail-send-it-immediately-wrapper.
23386 (feedmail-queue-express-to-queue): Add debug call.
23387 Run feedmail-queue-express-hook.
23388 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23389 (feedmail-message-action-help-blat):
23390 Rename from feedmail-queue-send-edit-prompt-help-first.
23391 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23392 Check line-endings. Handle errors better.
23393 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23394 Doc fix. Add debug call.
23395 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23396 Use feedmail-queue-send-edit-prompt-inner.
23397 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23398 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23399 from feedmail-queue-send-edit-prompt.
23400 (feedmail-queue-send-edit-prompt-help)
23401 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23402 (feedmail-tidy-up-slug): Add debug call.
23403 Respect feedmail-queue-slug-suspect-regexp.
23404 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23405 (feedmail-dump-message-to-queue): Add debug call.
23406 Expand queue-directory.
23407 (feedmail-dump-message-to-queue): Change message slightly.
23408 Use feedmail-say-chatter.
23409 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23410 (feedmail-send-it-immediately-wrapper): New function.
23411 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23412 Insert empty string rather than newline. Handle full-frame case.
23413 Use catch/throw. Use feedmail-say-chatter.
23414 (feedmail-fiddle-from): Try mail-host-address.
23415 (feedmail-default-message-id-generator): Doc fix.
23416 Bind system-time-locale. Handle missing end.
23417 (feedmail-fiddle-x-mailer): Add debug call.
23418 Handle feedmail-x-mailer-line being nil.
23419 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23420 Add debug call. Use buffer-substring-no-properties.
23421 (feedmail-say-debug, feedmail-say-chatter): New functions.
23422 (feedmail-find-eoh): Give an explicit error.
23423
23424 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23425
23426 * net/newst-treeview.el (newsticker-treeview-face): Change default
23427 family from helvetica to sans.
23428 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23429 etc/images/newsticker.
23430
23431 * net/newst-reader.el (newsticker-feed-face): Change default
23432 family from helvetica to sans.
23433
23434 * net/newst-plainview.el (newsticker-new-item-face)
23435 (newsticker-old-item-face, newsticker-immortal-item-face)
23436 (newsticker-obsolete-item-face, newsticker-date-face)
23437 (newsticker-statistics-face): Change default family from
23438 helvetica to sans.
23439 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23440 etc/images/newsticker.
23441
23442 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23443 (newsticker--process-auto-mark-filter-match): Tell user about
23444 auto-marking.
23445
23446 2011-05-13 Didier Verna <didier@xemacs.org>
23447
23448 Common Lisp indentation improvements on defmethod and lambda-lists.
23449 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23450 TODO entries.
23451 (lisp-lambda-list-keyword-parameter-indentation)
23452 (lisp-lambda-list-keyword-parameter-alignment)
23453 (lisp-lambda-list-keyword-alignment): New customizable user options.
23454 (lisp-indent-defun-method): Improve docstring.
23455 (extended-loop-p): Fix comment.
23456 (lisp-indent-lambda-list-keywords-regexp): New variable.
23457 (lisp-indent-lambda-list): New function.
23458 (lisp-indent-259): Use it.
23459 (lisp-indent-defmethod): Support for more than one
23460 method qualifier and properly indent methods lambda-lists.
23461 (defgeneric): Provide a missing common-lisp-indent-function property.
23462
23463 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23464
23465 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23466 bounds for the empty string (bug#8667).
23467
23468 2011-05-13 Glenn Morris <rgm@gnu.org>
23469
23470 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23471
23472 * mail/sendmail.el (sendmail-program): Try executable-find first.
23473 (sendmail-send-it): `sendmail-program' cannot be unbound.
23474
23475 * calendar/appt.el (appt-make-list): Simplify.
23476 (appt-time-msg-list): Doc fix.
23477 (appt-check): Change mode-line message at the time of the appointment.
23478
23479 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23480
23481 * progmodes/ld-script.el (ld-script-keywords)
23482 (ld-script-builtins): Update keywords list.
23483
23484 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23485
23486 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23487
23488 * shell.el (shell-completion-vars): New function.
23489 (shell-mode):
23490 * simple.el (read-shell-command): Use it.
23491 (blink-matching-open): No need for " [...]" in minibuffer-message.
23492
23493 2011-05-12 Glenn Morris <rgm@gnu.org>
23494
23495 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23496 (appt-check): Simplify.
23497
23498 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23499
23500 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23501 literal "/dev/null".
23502
23503 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23504
23505 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23506 Fix typo.
23507
23508 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23509
23510 * progmodes/which-func.el (which-function):
23511 Use add-log-current-defun instead of add-log-current-defun-function,
23512 which might not be defined (Bug#8260).
23513
23514 2011-05-12 Glenn Morris <rgm@gnu.org>
23515
23516 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23517 Let byte-compile-initial-macro-environment always take precedence.
23518
23519 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23520
23521 * net/rcirc.el: Add support for SSL/TLS connections.
23522 (rcirc-server-alist): New field `encryption'.
23523 (rcirc): Check `encryption' settings.
23524 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23525 Merge make-local-variable into `set'.
23526 (rcirc--connection-open-p): New function.
23527 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23528 the process is not a network process (e.g. running gnutls-cli).
23529 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23530 Make rcirc-(en|de)code-coding-system local here.
23531 (rcirc-mode): Merge make-local-variable into `set'.
23532 (rcirc-parent-buffer): Make permanent buffer-local.
23533 (rcirc-multiline-minor-mode): Don't do it here.
23534 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23535 there's no server buffer.
23536
23537 2011-05-11 Glenn Morris <rgm@gnu.org>
23538
23539 * newcomment.el (comment-kill): Prefix "unused" local.
23540
23541 * term/w32console.el (get-screen-color): Declare.
23542
23543 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23544 Handle symbol elements of byte-compile-initial-macro-environment.
23545
23546 2011-05-10 Leo Liu <sdl.web@gmail.com>
23547
23548 * bookmark.el (bookmark-bmenu-mode-map):
23549 Bind bookmark-bmenu-search to `/'.
23550
23551 * mail/footnote.el: Convert to utf-8 encoding.
23552 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23553 (Footnote-unicode): New function.
23554 (footnote-style-alist): Add unicode style to the list.
23555 (footnote-style): Doc fix.
23556
23557 2011-05-10 Jim Meyering <meyering@redhat.com>
23558
23559 Fix doubled-word typos.
23560 * international/quail.el (quail-insert-kbd-layout): and and -> and
23561 * kermit.el: and and -> and
23562 * net/ldap.el (ldap-search-internal): to to -> to
23563 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23564 * progmodes/js.el (js-mode): and and -> and
23565 * textmodes/artist.el (artist-move-to-xy): at at -> at
23566 (artist-draw-region-trim-line-endings): if if -> if
23567 And Safetyc -> Safety.
23568 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23569
23570 2011-05-10 Glenn Morris <rgm@gnu.org>
23571 Stefan Monnier <monnier@iro.umontreal.ca>
23572
23573 * files.el (hack-one-local-variable-eval-safep):
23574 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23575
23576 2011-05-10 Glenn Morris <rgm@gnu.org>
23577
23578 * calendar/diary-lib.el (diary-list-entries-hook)
23579 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23580 (diary-nongregorian-marking-hook, diary-list-entries)
23581 (diary-include-other-diary-files, diary-mark-entries)
23582 (diary-mark-included-diary-files): Doc fixes.
23583
23584 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23585
23586 * misc.el: Require tabulated-list.el during compilation.
23587
23588 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23589
23590 * progmodes/compile.el (compilation-start):
23591 Run compilation-filter-hook for the async case too.
23592 (compilation-filter-hook): Doc fix.
23593
23594 2011-05-09 Deniz Dogan <deniz@dogan.se>
23595
23596 * wdired.el: Remove outdated installation comment. Fix usage
23597 comment.
23598
23599 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23600
23601 * misc.el: Implement new command `list-dynamic-libraries'.
23602 (list-dynamic-libraries--loaded-only-p): New variable.
23603 (list-dynamic-libraries--refresh): New function.
23604 (list-dynamic-libraries): New command.
23605
23606 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23607
23608 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23609 Fix the ant regexp to handle end-line and end-column info from jikes.
23610 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23611 higher priority to avoid clobbering by gnu.
23612
23613 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23614
23615 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23616 if the face has existing theme settings (Bug#8454).
23617
23618 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23619
23620 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23621 Only match variables declared via `my' or `our' (Bug#8261).
23622
23623 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23624 special file names `.' and `..' (Bug#8259).
23625
23626 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23627
23628 * progmodes/grep.el (grep-mode-font-lock-keywords):
23629 Remove buffer-changing entries.
23630 (grep-filter): New function.
23631 (grep-mode): Add it to compilation-filter-hook.
23632
23633 * progmodes/compile.el (compilation-filter-hook)
23634 (compilation-filter-start): New defvars.
23635 (compilation-filter): Call compilation-filter-hook prior to
23636 updating the process mark.
23637
23638 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23639
23640 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23641
23642 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23643
23644 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23645 mailclient-send-it even if window-system is nil. (Bug#8595)
23646
23647 * term/w32console.el (terminal-init-w32console):
23648 Call get-screen-color and use its output to set the frame
23649 background-mode. (Bug#8597)
23650
23651 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23652
23653 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23654 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23655 New functions.
23656 (defgeneric, eieio--defmethod): Use them.
23657 (eieio-defgeneric): Remove.
23658 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23659
23660 2011-05-07 Glenn Morris <rgm@gnu.org>
23661
23662 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23663 Use let rather than let*.
23664 (timeclock-find-discrep): Remove unused local.
23665
23666 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23667
23668 * calendar/appt.el (appt-time-msg-list): Doc fix.
23669
23670 2011-05-06 Noah Friedman <friedman@splode.com>
23671
23672 * apropos.el (apropos-print-doc): Only use
23673 emacs-lisp-docstring-fill-column when it is bound to an integer,
23674 per that variable's documentation.
23675
23676 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23677
23678 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23679 and warnings are not silently discarded (e.g. use -d instead of -P).
23680
23681 2011-05-06 Glenn Morris <rgm@gnu.org>
23682
23683 * calendar/appt.el (appt-message-warning-time): Doc fix.
23684 (appt-warning-time-regexp): New option.
23685 (appt-make-list): Respect appt-message-warning-time.
23686
23687 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23688 New options.
23689 (diary-add-to-list): Strip comments from the displayed string.
23690 (diary-mode): Set comment-start and comment-end.
23691
23692 * vc/diff-mode.el (smerge-refine-subst): Declare.
23693 (diff-refine-hunk): Don't require smerge-mode when compiling.
23694
23695 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23696
23697 * simple.el (list-processes): Return nil as the docstring says.
23698
23699 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23700
23701 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23702 to "".
23703 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23704 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23705 determining of binary transfer. (Bug#7383)
23706
23707 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23708
23709 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23710 Fix port computation bug. (Bug#8618)
23711
23712 2011-05-05 Glenn Morris <rgm@gnu.org>
23713
23714 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23715
23716 * simple.el (shell-dynamic-complete-functions)
23717 (comint-dynamic-complete-functions): Declare.
23718
23719 * net/network-stream.el (gnutls-negotiate):
23720 * simple.el (tabulated-list-print): Fix declarations.
23721
23722 * progmodes/gud.el (syntax-symbol, syntax-point):
23723 Remove unnecessary and incorrect declarations.
23724
23725 * emacs-lisp/check-declare.el (check-declare-scan):
23726 Handle byte-compile-initial-macro-environment in bytecomp.el.
23727
23728 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23729
23730 Fix earlier half-done eieio-defmethod change (bug#8338).
23731 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23732 Streamline and change calling convention.
23733 (defmethod): Adjust accordingly and simplify.
23734 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23735 new eieio--defmethod.
23736 (slot-boundp): Minor CSE simplification.
23737
23738 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23739
23740 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23741 (glasses-make-readable): Use glasses-separate-capital-groups.
23742
23743 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23744
23745 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23746 (warning-series): Doc fix.
23747 (display-warning): Don't try to create the buffer if we just found it.
23748
23749 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23750
23751 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23752 (autoload-find-generated-file): New function.
23753 (generate-file-autoloads): Bind generated-autoload-file to
23754 buffer-file-name.
23755 (update-file-autoloads, update-directory-autoloads):
23756 Use autoload-find-generated-file. If called interactively, prompt for
23757 output file (Bug#7989).
23758 (batch-update-autoloads): Doc fix.
23759
23760 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23761
23762 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23763
23764 2011-05-04 Glenn Morris <rgm@gnu.org>
23765
23766 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23767 function, so it follows changes in calendar-date-style.
23768 (diary-fancy-date-matcher): New function.
23769 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23770 (diary-fancy-font-lock-fontify-region-function):
23771 Use diary-fancy-date-pattern as a function.
23772
23773 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23774 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23775
23776 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23777
23778 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23779 instead of positional arguments. Allow :keylist and :crlfiles
23780 arguments.
23781 (open-gnutls-stream): Call it.
23782
23783 * net/network-stream.el (network-stream-open-starttls): Adjust to
23784 call `gnutls-negotiate' with :process and :hostname arguments.
23785
23786 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23787
23788 * minibuffer.el (completion--message): New function.
23789 (completion--do-completion, minibuffer-complete)
23790 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23791 (completion--do-completion): Don't ignore completion-auto-help when in
23792 icomplete-mode.
23793
23794 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23795 internal encoding (e.g. tibetan zero is not whitespace).
23796 (global-whitespace-mode): Prefer save-current-buffer.
23797 (whitespace-trailing-regexp): Remove useless save-match-data.
23798 (whitespace-empty-at-bob-regexp): Minor simplification.
23799
23800 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23801
23802 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23803
23804 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23805
23806 * textmodes/ispell.el (ispell-add-per-file-word-list):
23807 Use `concat' to create string for insertion.
23808
23809 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23810
23811 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23812 Avoid open-line which runs post-self-insert-hook.
23813 (bibtex-fill-entry): Remove unused `end' var.
23814
23815 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23816
23817 * textmodes/ispell.el (ispell-add-per-file-word-list):
23818 Protect against `nil' value of `comment-start' (Bug#8579).
23819
23820 2011-05-03 Leo Liu <sdl.web@gmail.com>
23821
23822 * isearch.el (isearch-yank-pop): New command.
23823 (isearch-mode-map): Bind it to `M-y'.
23824 (isearch-forward): Mention it.
23825
23826 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23827
23828 * simple.el (minibuffer-complete-shell-command): Remove.
23829 (minibuffer-local-shell-command-map): Use completion-at-point.
23830 (read-shell-command): Setup completion vars here instead.
23831 (read-expression-map): Bind TAB to symbol completion.
23832
23833 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23834 error directly rather via storing it into `results'.
23835
23836 2011-05-02 Leo Liu <sdl.web@gmail.com>
23837
23838 * vc/diff.el: Fix description.
23839
23840 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23841
23842 * server.el (server-eval-at): New function.
23843
23844 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23845
23846 * net/network-stream.el (open-network-stream): Take a :nowait
23847 parameter and pass it on to `make-network-process'.
23848 (network-stream-open-plain): Ditto.
23849
23850 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23851
23852 * faces.el (face-spec-set-match-display): Don't match toolkit
23853 options on terminal frames.
23854
23855 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23856
23857 * progmodes/pascal.el: Use lexical binding.
23858 (pascal-mode-map): Remove author preferences.
23859
23860 * pcomplete.el (pcomplete-std-complete): Don't abuse
23861 completion-at-point.
23862
23863 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23864
23865 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23866 removing code that has been dead since 1991 or so.
23867
23868 * startup.el (command-line): When warning about "_emacs", use a
23869 delayed warning to allow the user to filter it out.
23870
23871 2011-04-28 Deniz Dogan <deniz@dogan.se>
23872
23873 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23874 user has not joined.
23875
23876 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23877
23878 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23879 aren't any completions at point.
23880
23881 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23882
23883 * subr.el (display-delayed-warnings): New function.
23884 (delayed-warnings-hook): New variable.
23885
23886 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23887
23888 * minibuffer.el (completion-at-point, completion-help-at-point):
23889 Don't presume that a given completion-at-point-function will always
23890 use the same calling convention.
23891
23892 * pcomplete.el (pcomplete-completions-at-point):
23893 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23894 pcomplete-seen is non-nil.
23895 (pcomplete-comint-setup): Also recognize the new comint/shell
23896 completion functions.
23897 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23898 pcomplete-seen is non-nil.
23899
23900 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23901
23902 * calendar/icalendar.el (diary-lib): Add require statement.
23903 (icalendar--create-uid): Read out a uid from a text-property on
23904 the first character in the entry. This allows for code to add its
23905 own uid to the entry.
23906 (icalendar--convert-float-to-ical): Add export of
23907 `diary-float'-entries save for those with the optional DAY
23908 argument.
23909
23910 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23911
23912 * subr.el (shell-quote-argument): Use alternate escaping strategy
23913 when we spot a variable reference in a string.
23914
23915 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23916
23917 * cus-start.el (all): Define customization for debug-on-event.
23918
23919 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23920
23921 * subr.el (shell-quote-argument): Escape correctly under Windows.
23922
23923 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23924
23925 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23926
23927 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23928
23929 * net/tramp.el (tramp-process-actions): Add POS argument.
23930 Delete region between POS and (pos).
23931
23932 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23933 Use `nil' position in `tramp-process-actions' call.
23934 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23935
23936 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23937 position in `tramp-process-actions' call.
23938
23939 * net/trampver.el: Update release number.
23940
23941 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23942
23943 * custom.el (defcustom): Obey lexical-binding.
23944
23945 Fix octave-inf completion problems reported by Alexander Klimov.
23946 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23947 Inherit from octave-mode-syntax-table.
23948 (inferior-octave-mode): Set info-lookup-mode.
23949 (inferior-octave-completion-at-point): New function.
23950 (inferior-octave-complete): Use it and completion-in-region.
23951 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23952 comint-filename-completion.
23953 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23954 symbol elements which shouldn't be word elements.
23955 (octave-font-lock-keywords, octave-beginning-of-defun)
23956 (octave-function-header-regexp): Adjust regexps accordingly.
23957 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23958
23959 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23960
23961 * net/gnutls.el (gnutls-errorp): Declare before first use.
23962
23963 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23964
23965 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23966 verify-error, and verify-hostname-error parameters. Check whether
23967 default trustfile exists before going to use it. Add missing
23968 argument to gnutls-message-maybe call. Return value.
23969 Reported by Claudio Bley <claudio.bley@gmail.com>.
23970 (open-gnutls-stream): Add usage example.
23971
23972 * net/network-stream.el (network-stream-open-starttls): Give host
23973 parameter to `gnutls-negotiate'.
23974 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23975 * subr.el (shell-quote-argument): Escape correctly under Windows.
23976
23977 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23978
23979 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23980 Use correct match group (bug#8438).
23981
23982 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23983
23984 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23985 (package-menu--generate): New arg specifying packages to show.
23986 (package-menu-refresh, package-menu-execute, list-packages):
23987 Callers changed.
23988 (package-show-package-list): New function, replacing deleted
23989 package--list-packages (renamed because it is non-internal).
23990
23991 * finder.el (finder-list-matches): Use package-show-package-list
23992 instead of deleted package--list-packages.
23993
23994 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23995 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23996 (vc-annotate-mode-map): Bind it to RET.
23997
23998 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23999
24000 * progmodes/etags.el (next-file): Don't use set-buffer to change
24001 buffers (Bug#8478).
24002
24003 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24004
24005 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24006
24007 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24008 (apropos-accumulator): Doc fix.
24009 (apropos-function, apropos-macro, apropos-command)
24010 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24011 (apropos-plist): Add face property.
24012 (apropos-symbols-internal): Fix indentation.
24013 (apropos-print): Simplify help, and recognize apropos-multi-type.
24014 (apropos-print-doc): Use button-type-get to extract the button's
24015 face property. Fill docstring (Bug#8352).
24016
24017 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24018
24019 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24020
24021 * play/mpuz.el (mpuz-silent): Doc fix.
24022 (mpuz-mode-map): Use mapc.
24023 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24024 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24025 Fix typos in docstrings.
24026
24027 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24028 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24029
24030 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24031
24032 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24033
24034 * minibuffer.el (completion--do-completion): Avoid the "Next char
24035 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24036
24037 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24038 mouse-2 into unread-command-events, it is interpreted correctly.
24039
24040 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24041 (image-toggle-display): Doc fix.
24042
24043 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24044
24045 * textmodes/page.el (what-page): Use line-number-at-pos to
24046 calculate line number (Bug#6825).
24047
24048 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24049
24050 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24051 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24052 Pass argument NO-DEFAULT to `find-tag-interactive'.
24053
24054 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24055
24056 Lexical-binding cleanup.
24057
24058 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24059 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24060 * progmodes/ada-prj.el (ada-prj-initialize-values)
24061 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24062 (ada-prj-show-value):
24063 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24064 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24065 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24066 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24067 * progmodes/bug-reference.el (bug-reference-push-button):
24068 * progmodes/fortran.el (fortran-line-length):
24069 * progmodes/glasses.el (glasses-change):
24070 * progmodes/octave-mod.el (octave-fill-paragraph):
24071 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24072 (python-pdbtrack-grub-for-buffer, python-sentinel):
24073 * progmodes/sql.el (sql-save-connection):
24074 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24075 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24076 Mark unused parameters.
24077
24078 * progmodes/compile.el (compilation--flush-directory-cache)
24079 (compilation--flush-parse, compile-internal): Mark unused parameters.
24080 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24081 (compilation-next-error-function): Remove unused variable `timestamp'.
24082
24083 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24084 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24085
24086 * progmodes/dcl-mode.el (dcl-end-of-command):
24087 Remove unused variable `start'.
24088 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24089 (dcl-option-value-basic, dcl-option-value-offset)
24090 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24091 Mark unused parameters.
24092 (dcl-save-local-variable): Remove unused variable `val'.
24093 (mode): Declare.
24094
24095 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24096 Mark unused parameters.
24097 (delphi-ignore-changes): Move before first use.
24098 (delphi-charset-token-at): Remove unused variable `start'.
24099 (delphi-else-start): Remove unused variable `if-count'.
24100 (delphi-comment-block-start, delphi-comment-block-end):
24101 Remove unused variable `kind'.
24102 (delphi-indent-line): Remove unused variable `new-point'.
24103
24104 * progmodes/ebrowse.el (ebrowse-files-list)
24105 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24106 Mark unused parameters. Don't quote `lambda'.
24107 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24108 Don't quote `lambda'.
24109 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24110 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24111 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24112 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24113 Use `ignore-errors'.
24114 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24115 (ebrowse-view/find-file-and-search-pattern)
24116 (ebrowse-view/find-member-declaration/definition):
24117 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24118 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24119 Rename parameter PREFIX-ARG to PREFIX.
24120 (ebrowse-tags-read-name): Remove unused variables `start' and
24121 `member-info'.
24122 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24123 to `tags-file'.
24124
24125 * progmodes/etags.el (local-find-tag-hook): Declare.
24126 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24127 Mark unused parameters.
24128
24129 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24130 (executable-interpret): Mark unused parameter.
24131
24132 * progmodes/flymake.el (flymake-process-sentinel)
24133 (flymake-after-change-function)
24134 (flymake-create-temp-with-folder-structure)
24135 (flymake-get-include-dirs-dot): Mark unused parameters.
24136 (flymake-safe-delete-directory): Remove unused variable `err'.
24137
24138 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24139 (speedbar-timer-fn, speedbar-line-text)
24140 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24141 (speedbar-center-buffer-smartly): Declare functions.
24142 (gdb-find-watch-expression): Remove unused variable `array'.
24143 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24144 (gdb-starting): Mark unused parameters.
24145 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24146 (gdb-table-string): Remove unused variable `res'.
24147 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24148 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24149 (gdb-display-buffer): Remove unused variable `cur-size'.
24150
24151 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24152 allow lexical-binding compilation.
24153 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24154 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24155 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24156 Mark unused parameters.
24157 (gud-gdb-marker-filter): Remove unused variable `match'.
24158 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24159 lambda expressions and funcall them, instead of using `fset'.
24160
24161 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24162 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24163
24164 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24165 variable `header-beg'; use `let'.
24166
24167 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24168 `restart', `last-sexp' and `at-do'.
24169
24170 * progmodes/js.el (js--debug): Mark unused parameter.
24171 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24172 (js--splice-into-items): Remove unused variable `item'.
24173 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24174
24175 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24176 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24177 (makefile-complete): Remove unused variable `try'.
24178 (makefile-fill-paragraph, makefile-match-function-end):
24179 Mark unused parameters.
24180
24181 * progmodes/octave-inf.el (inferior-octave-complete):
24182 Remove unused variable `proc'.
24183 (inferior-octave-output-digest): Mark unused parameter.
24184
24185 * progmodes/perl-mode.el (perl-calculate-indent):
24186 Remove unused variable `err'.
24187
24188 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24189 (prolog-indent-line): Mark unused parameters.
24190 (prolog-indent-line): Remove unused variable `beg'.
24191
24192 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24193 (reporter-dont-compact-list): Declare.
24194
24195 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24196 Remove unused variable `char'.
24197 (sh-debug): Mark unused parameter.
24198 (sh-get-indent-info): Remove unused variable `start'.
24199 (sh-calculate-indent): Remove unused variable `var'.
24200
24201 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24202 (simula-electric-keyword): Remove unused variable `null'.
24203 (simula-search-backward, simula-search-forward): Remove unused
24204 variables `begin' and `end'.
24205
24206 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24207 Remove unused variable `pos'.
24208 (vera-electric-tab, vera-comment-uncomment-region):
24209 Mark unused parameters.
24210 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24211
24212 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24213
24214 * emacs-lisp/package.el (package--builtins, package-alist)
24215 (package-load-descriptor, package-built-in-p, package-activate)
24216 (define-package, package-installed-p)
24217 (package-compute-transaction, package-buffer-info)
24218 (package--push): Doc fix. Distinguish more clearly between
24219 version strings and version lists.
24220
24221 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24222
24223 Lexical-binding cleanup.
24224
24225 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24226 (5x5-make-mutate-best):
24227 * play/fortune.el (fortune-in-buffer):
24228 * play/gomoku.el (gomoku-init-display):
24229 * play/solitaire.el (solitaire, solitaire-do-check):
24230 * play/tetris.el (tetris-default-update-speed-function):
24231 Mark unused parameters.
24232
24233 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24234 (bubbles--shift): Remove unused variable `char-org'.
24235 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24236 (bubbles--show-images): Remove unused variable `char'.
24237
24238 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24239 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24240 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24241 (decipher-analyze-buffer): Use ?\s.
24242 (decipher-make-checkpoint): Remove unused variable `mapping'.
24243
24244 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24245
24246 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24247 Remove unused variable `result'; use `let'.
24248
24249 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24250 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24251 (gametree-children-shown-p, gametree-compute-reduced-score):
24252 Use `ignore-errors'.
24253
24254 * play/handwrite.el (ps-lpr-switches): Declare.
24255 (handwrite): Remove unused variables `pmin' and `lastp'.
24256
24257 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24258
24259 * play/landmark.el (landmark-init-display)
24260 (landmark-update-naught-weights): Mark unused parameters.
24261 (landmark-y): Remove unused variable `noise'. Simplify.
24262 (landmark-human-plays): Remove unused variable `score'.
24263
24264 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24265 (mpuz-try-proposal): Remove unused variable `game'.
24266
24267 * play/zone.el (life-patterns): Declare.
24268
24269 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24270
24271 * vc/vc.el (ediff-vc-internal): Declare function.
24272
24273 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24274
24275 * shell.el: Use lexical-binding and std completion UI.
24276 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24277 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24278 comint-preoutput-filter-functions rather than on
24279 comint-output-filter-functions.
24280 (shell-command-completion, shell--command-completion-data)
24281 (shell-filename-completion, shell-environment-variable-completion)
24282 (shell-c-a-p-replace-by-expanded-directory): New functions.
24283 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24284 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24285 (shell-dynamic-complete-environment-variable): Use them.
24286 (shell-dynamic-complete-as-environment-variable)
24287 (shell-dynamic-complete-as-command): Remove.
24288 (shell-match-partial-variable): Match past point.
24289 * comint.el: Clean up use of completion-at-point-functions.
24290 (comint-completion-at-point): New function.
24291 (comint-mode): Use it completion-at-point-functions.
24292 (comint-dynamic-complete): Make it obsolete.
24293 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24294 (comint-c-a-p-replace-by-expanded-history): New function.
24295 (comint-dynamic-complete-functions)
24296 (comint-replace-by-expanded-history): Use it.
24297 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24298 termination strings. Try harder to avoid second try-completion.
24299 (completion-in-region-mode-map): Disable bindings that don't work yet.
24300
24301 * comint.el: Use lexical-binding. Require CL.
24302 (comint-dynamic-complete-functions): Use comint-filename-completion.
24303 (comint-completion-addsuffix): Tweak custom type.
24304 (comint-filename-completion, comint--common-suffix)
24305 (comint--common-quoted-suffix, comint--table-subvert)
24306 (comint--complete-file-name-data): New functions.
24307 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24308 (comint-dynamic-list-filename-completions): Use them.
24309 (comint-dynamic-simple-complete): Make obsolete.
24310
24311 * minibuffer.el (completion-in-region-mode):
24312 Keep completion-in-region-mode--predicate global.
24313 (completion-in-region--postch):
24314 Assume completion-in-region-mode--predicate is not null.
24315
24316 * progmodes/flymake.el (flymake-start-syntax-check-process):
24317 Obey `dir'. Simplify.
24318
24319 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24320 we're in VC after all.
24321
24322 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24323
24324 * vc/vc.el (vc-diff-build-argument-list-internal)
24325 (vc-version-ediff, vc-ediff): New commands.
24326 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24327
24328 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24329
24330 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24331 add sanity check.
24332
24333 * obsolete/erc-hecomplete.el: Make obsolete.
24334 * obsolete/: Standardize obsolescence info in the header.
24335
24336 2011-04-20 Glenn Morris <rgm@gnu.org>
24337
24338 * calendar/solar.el (solar-horizontal-coordinates):
24339 Use the longitude argument rather than `calendar-longitude'.
24340 (solar-date-next-longitude): Remove unused locals.
24341
24342 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24343
24344 * whitespace.el: New version 13.2.1.
24345
24346 2011-04-20 felix <EmacsWiki> (tiny change)
24347
24348 * whitespace.el (global-whitespace-mode): Keep highlight when
24349 switching between major modes on a file.
24350
24351 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24352
24353 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24354 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24355 multi-line comments as well.
24356
24357 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24358
24359 Lexical-binding cleanup.
24360
24361 * arc-mode.el (archive-mode-revert):
24362 * cmuscheme.el (scheme-interactively-start-process):
24363 * custom.el (custom-initialize-delay):
24364 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24365 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24366 * emacs-lock.el (emacs-lock-clear-sentinel):
24367 * ezimage.el (defezimage):
24368 * follow.el (follow-avoid-tail-recenter):
24369 * fringe.el (set-fringe-mode-1):
24370 * generic-x.el (bat-generic-mode-compile):
24371 * help-mode.el (help-info-variable, help-do-xref)
24372 (help-mode-revert-buffer):
24373 * help.el (view-emacs-todo):
24374 * iswitchb.el (iswitchb-completion-help):
24375 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24376 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24377 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24378 * locate.el (locate-update):
24379 * longlines.el (longlines-encode-region)
24380 (longlines-after-change-function):
24381 * outline.el (outline-isearch-open-invisible):
24382 * ps-def.el (declare-function, charset-dimension, char-width)
24383 (encode-char):
24384 * ps-mule.el (ps-mule-plot-string):
24385 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24386 (recentf-edit-list-select, recentf-edit-list-validate)
24387 (recentf-open-files-action):
24388 * rect.el (delete-whitespace-rectangle-line)
24389 (rectangle-number-line-callback):
24390 * register.el (window-configuration-to-register)
24391 (frame-configuration-to-register):
24392 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24393 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24394 (xselect-convert-to-targets, xselect-convert-to-delete)
24395 (xselect-convert-to-filename, xselect-convert-to-charpos)
24396 (xselect-convert-to-lineno, xselect-convert-to-colno)
24397 (xselect-convert-to-os, xselect-convert-to-host)
24398 (xselect-convert-to-user, xselect-convert-to-class)
24399 (xselect-convert-to-name, xselect-convert-to-integer)
24400 (xselect-convert-to-atom, xselect-convert-to-identity):
24401 * subr.el (declare, ignore, process-kill-without-query)
24402 (text-clone-maintain):
24403 * terminal.el (te-get-char, te-tic-sentinel):
24404 * tool-bar.el (tool-bar-make-keymap):
24405 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24406 * type-break.el (type-break-mode, type-break-noninteractive-query):
24407 * view.el (View-back-to-mark):
24408 * wid-browse.el (widget-browse-action, widget-browse-widget)
24409 (widget-browse-widgets, widget-browse-sexp):
24410 * widget.el (define-widget-keywords):
24411 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24412 Mark unused parameters.
24413
24414 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24415 (align-areas): Remove unused variable `look'.
24416 (align-region): Remove unused variables `real-end' and `pos-list'.
24417
24418 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24419
24420 * bindings.el (mode-line-modified, mode-line-remote):
24421 Mark unused parameters.
24422 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24423
24424 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24425 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24426
24427 * comint.el (comint-history-isearch-pop-state)
24428 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24429 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24430 (comint-substitute-in-file-name): Doc fix.
24431
24432 * completion.el (cmpl-statistics-block): Mark unused parameter.
24433 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24434 (save-completions-to-file, load-completions-from-file):
24435 Remove unused local variable `e'.
24436
24437 * composite.el (compose-chars): Remove unused variable `len'.
24438 (lgstring-insert-glyph): Remove unused variable `g'.
24439 (compose-glyph-string): Remove unused variables `ascent',
24440 `descent', `lbearing' and `rbearing'.
24441 (compose-glyph-string-relative): Remove unused variables
24442 `lbearing', `rbearing' and `wadjust'.
24443 (compose-gstring-for-graphic): Remove unused variables `header',
24444 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24445 (compose-gstring-for-terminal): Remove unused variables `header'
24446 and `nchars'. Use `let', not `let*'.
24447
24448 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24449 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24450 (Custom-buffer-done, custom-buffer-create-internal)
24451 (custom-browse-visibility-action, custom-browse-group-tag-action)
24452 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24453 (widget-magic-mouse-down-action, custom-toggle-parent)
24454 (custom-add-parent-links, custom-toggle-hide-variable)
24455 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24456 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24457 (custom-face-menu-create, custom-variable-menu-create, get)
24458 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24459 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24460 (customize-apropos): Remove unused variable `tests'.
24461 (custom-group-value-create): Remove unused variable `hidden-p'.
24462 (sort-fold-case): Declare.
24463
24464 * cus-theme.el (custom-reset-standard-faces-list)
24465 (custom-reset-standard-variables-list): Declare.
24466 (customize-create-theme, custom-theme-revert, custom-theme-write)
24467 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24468 Mark unused parameters.
24469
24470 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24471
24472 * delim-col.el (delimit-columns-max): Move defvar before first use.
24473
24474 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24475 (describe-char): Don't quote `lambda'. Mark unused parameter.
24476
24477 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24478 (auto-insert): Declare.
24479 (desktop-restore-file-buffer): Rename desktop-* parameters;
24480 mark unused ones.
24481 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24482 (desktop-buffer): Rename desktop-* parameters.
24483
24484 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24485 (dframe-reposition-frame-xemacs, dframe-help-echo)
24486 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24487 Mark unused parameters.
24488
24489 * dired-aux.el (backup-extract-version-start, overwrite-query)
24490 (overwrite-backup-query, rename-regexp-query)
24491 (rename-non-directory-query): Declare.
24492 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24493 (dired-add-entry): Remove unused variable `orig-file-name'.
24494 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24495 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24496 `dired-copy-preserve-time' directly.
24497 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24498 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24499
24500 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24501 (dired-virtual-revert, dired-make-relative-symlink):
24502 Mark unused parameters.
24503 (manual-program): Declare.
24504 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24505 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24506 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24507
24508 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24509
24510 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24511
24512 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24513 Declare.
24514
24515 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24516
24517 * electric.el (Electric-command-loop): Rename parameter
24518 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24519
24520 * expand.el (expand-in-literal): Remove unused variable `here'.
24521
24522 * facemenu.el (facemenu-add-new-color):
24523 Remove unused variable `docstring'.
24524
24525 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24526 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24527 (face-attr-construct): Mark unused parameter. Doc fix.
24528 (read-color): Remove unused variable `hex-string'.
24529
24530 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24531 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24532 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24533 (display-buffer-other-frame): Remove unused variable `old-window'.
24534 (kill-buffer-hook): Declare.
24535 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24536 Mark unused parameters.
24537 (after-find-file): Pass 1 to `auto-save-mode', not t.
24538
24539 * files-x.el (auto-insert): Declare.
24540 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24541
24542 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24543 variable `buf'. Mark unused parameter.
24544 (find-lisp-insert-directory): Mark unused parameter.
24545
24546 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24547 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24548 (format-common-tail): Remove, unused.
24549 (format-deannotate-region): Remove unused variable `loc'.
24550 (format-annotate-region): Remove unused variable `p'.
24551 (format-annotate-single-property-change): Remove unused variables
24552 `default' and `tail'.
24553
24554 * forms.el (read-file-filter): Declare.
24555 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24556
24557 * frame.el (frame-creation-function-alist): Mark unused parameter.
24558 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24559
24560 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24561 Remove unused parameters.
24562 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24563 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24564
24565 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24566 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24567 (hfy-prepare-tag-map): Mark unused parameters.
24568 (htmlfontify-buffer): Use `called-interactively-p'.
24569
24570 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24571 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24572 (ibuffer-do-occur): Mark unused parameters.
24573 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24574 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24575
24576 * ibuffer.el: Don't quote `lambda'.
24577 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24578 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24579 Mark unused parameters.
24580
24581 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24582 (ido-completing-read): Mark unused parameters.
24583 (ido-copy-current-word): Mark unused parameters;
24584 remove unused variable `name'.
24585 (ido-sort-merged-list): Remove unused parameter `dirs'.
24586
24587 * ielm.el (ielm-input-sender): Mark unused parameter.
24588 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24589 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24590 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24591 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24592 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24593
24594 * image-dired.el (image-dired-display-thumbs): Remove unused
24595 variables `curr-file' and `count'.
24596 (image-dired-remove-tag): Remove unused variable `start'.
24597 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24598 variable `curr-file'
24599 (image-dired-rotate-original): Remove unused variable `temp-file'.
24600 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24601 Remove unused variable `file'.
24602 (image-dired-gallery-generate): Remove unused variable `curr'.
24603 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24604
24605 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24606
24607 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24608
24609 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24610
24611 * isearch.el (minibuffer-history-symbol): Declare.
24612 (isearch-edit-string): Remove unused variable `err'.
24613 (isearch-message-prefix, isearch-message-suffix):
24614 Mark unused parameters.
24615
24616 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24617
24618 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24619
24620 * makesum.el (double-column): Remove unused variable `cnt'.
24621
24622 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24623 (ido-ignore-item-temp-list): Declare.
24624
24625 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24626 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24627 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24628 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24629 `mouse-col-delta'.
24630
24631 * mouse-sel.el (mouse-extend-internal):
24632 Remove unused variable `orig-window-frame'.
24633
24634 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24635 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24636 Move declarations before first use.
24637 (pcomplete-opt): Mark unused parameters; doc fix.
24638
24639 * proced.el (proced-revert): Mark unused parameter.
24640 (proced-send-signal): Remove unused variable `err'.
24641
24642 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24643 Rename parameter PREFIX-ARG to ARG.
24644 (ps-basic-plot-string, ps-basic-plot-whitespace):
24645 Mark unused parameters.
24646
24647 * replace.el (replace-count): Define.
24648 (occur-revert-function): Mark unused parameters.
24649 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24650 (isearch-case-fold-search, isearch-string): Declare.
24651 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24652 bind `case-fold-search'. Remove unused variables `beg' and `end',
24653 and simplify.
24654 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24655 COUNT and bind `replace-count'.
24656 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24657 to COUNT.
24658
24659 * savehist.el (print-readably, print-string-length): Declare.
24660
24661 * shadowfile.el (shadow-expand-cluster-in-file-name):
24662 Remove unused variable `cluster'.
24663 (shadow-copy-file): Remove unused variable `i'.
24664 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24665 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24666 (shadow-define-literal-group, shadow-define-regexp-group)
24667 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24668
24669 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24670 (shell): Use `called-interactively-p'.
24671 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24672
24673 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24674 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24675 (delete-backward-char): Remove unused variable `ocol'.
24676 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24677 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24678 (event-apply-hyper-modifier, event-apply-shift-modifier)
24679 (event-apply-control-modifier, event-apply-meta-modifier):
24680 Mark unused parameters.
24681 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24682 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24683
24684 * speedbar.el (speedbar-ignored-directory-expressions)
24685 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24686 (speedbar-find-file, speedbar-dir-follow)
24687 (speedbar-directory-buttons-follow, speedbar-tag-find)
24688 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24689 (speedbar-buffers-line-directory, speedbar-buffer-click):
24690 Mark unused parameters.
24691 (speedbar-tag-file): Remove unused variable `mode'.
24692 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24693
24694 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24695
24696 * talk.el (talk): Remove unused variable `display'.
24697
24698 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24699 (tar-write-region-annotate): Mark unused parameter.
24700
24701 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24702 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24703 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24704 warning by another.
24705
24706 * time-stamp.el (time-stamp-string-preprocess):
24707 Remove unused variable `require-padding'.
24708
24709 * tree-widget.el (widget-glyph-enable): Declare.
24710 (tree-widget-action): Mark unused parameter.
24711
24712 * w32-fns.el (x-get-selection): Mark unused parameter.
24713 (autoload-make-program, generated-autoload-file): Declare.
24714
24715 * wdired.el (wdired-revert): Mark unused parameters.
24716 (wdired-xcase-word): Remove unused variable `err'.
24717
24718 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24719 (whitespace-help-scroll): Remove unused variable `data-help'.
24720
24721 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24722 (widget-image-insert, widget-after-change, default)
24723 (widget-default-format-handler, widget-default-notify)
24724 (widget-default-prompt-value, widget-info-link-action)
24725 (widget-url-link-action, widget-function-link-action)
24726 (widget-variable-link-action, widget-file-link-action)
24727 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24728 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24729 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24730 (widget-insert-button-action, widget-delete-button-action, visibility)
24731 (widget-documentation-link-action, widget-documentation-string-action)
24732 (widget-const-prompt-value, widget-regexp-match, symbol)
24733 (widget-coding-system-prompt-value)
24734 (widget-key-sequence-value-to-external, sexp)
24735 (widget-sexp-value-to-internal, character, vector, cons)
24736 (widget-choice-prompt-value, widget-boolean-prompt-value)
24737 (widget-color--choose-action): Mark unused parameters.
24738 (widget-item-match-inline, widget-choice-match-inline)
24739 (widget-checklist-match, widget-checklist-match-inline)
24740 (widget-group-match): Rename parameter VALUES to VALS.
24741 (widget-field-value-set): Remove unused variable `size'.
24742 (widget-color-action): Remove unused variables `value' and `start'.
24743
24744 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24745 variable `dir'. Doc fix.
24746 (windmove-find-other-window): Don't pass it.
24747
24748 * window.el (count-windows): Mark unused parameter.
24749 (bw-adjust-window): Remove unused variable `err'.
24750
24751 * woman.el (woman-file-name): Remove unused variable `default'.
24752 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24753 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24754 (global-font-lock-mode): Declare.
24755 (woman-decode-region): Mark unused parameter.
24756 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24757
24758 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24759 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24760 (x-dnd-handle-moz-url): Remove unused variable `title'.
24761 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24762
24763 * xml.el (xml-parse-tag, xml-parse-attlist):
24764 Remove unused variable `pos'.
24765
24766 2011-04-19 Glenn Morris <rgm@gnu.org>
24767
24768 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24769 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24770 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24771 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24772 * calendar/cal-html.el (cal-html-insert-minical):
24773 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24774 (calendar-mark-date-pattern):
24775 Prefix "unused" locals.
24776
24777 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24778 optional argument `style'.
24779
24780 * calendar/appt.el (appt-make-list):
24781 * calendar/cal-china.el (calendar-chinese-date-string):
24782 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24783 (diary-hebrew-yahrzeit):
24784 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24785 * calendar/calendar.el (calendar-generate-window):
24786 * calendar/time-date.el (time-to-days):
24787 Remove unused local variables.
24788
24789 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24790
24791 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24792 glyphless-char-display table.
24793 (tabulated-list-glyphless-char-display): New var.
24794
24795 2011-04-18 Sam Steingold <sds@gnu.org>
24796
24797 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24798 to acknowledgments.
24799
24800 2011-04-17 Glenn Morris <rgm@gnu.org>
24801
24802 * calendar/diary-lib.el (diary-sexp-entry):
24803 * calendar/holidays.el (holiday-sexp):
24804 Set debug-on-error rather than the removed stack-trace-on-error.
24805
24806 2011-04-16 Glenn Morris <rgm@gnu.org>
24807
24808 * progmodes/f90.el: Use lexical-binding.
24809 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24810
24811 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24812
24813 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24814 (mail-mode): Setup mailalias completion here instead.
24815 * mail/mailalias.el: Use lexical-binding.
24816 (pattern, mailalias-done): Declare dynamic.
24817 (mail-completion-at-point-function): New function, from mail-complete.
24818 (mail-complete): Use it.
24819 (mail-completion-expand): New function.
24820 (mail-get-names): Use it.
24821 (mail-directory, mail-directory-process, mail-directory-stream):
24822 Don't use `pattern' for lexically bound arg.
24823
24824 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24825
24826 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24827 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24828 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24829
24830 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24831 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24832 (byte-interactive-p): Define them again, for use when inlining
24833 old code.
24834
24835 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24836
24837 * loadup.el: Use `string-to-number', not `string-to-int'.
24838
24839 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24840
24841 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24842 gud-gdb-complete-command.
24843 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24844 (gud-gdb-completion-at-point): New function.
24845 (gud-gdb-completions): Remove.
24846
24847 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24848
24849 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24850 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24851 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24852 whether `executable-find' is bound.
24853
24854 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24855
24856 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24857
24858 * minibuffer.el (completion-in-region-mode-predicate)
24859 (completion-in-region-mode--predicate): New vars.
24860 (completion-in-region, completion-in-region--postch)
24861 (completion-in-region-mode): Use them.
24862 (completion--capf-wrapper): Also return the hook function.
24863 (completion-at-point, completion-help-at-point):
24864 Adjust and provide a predicate.
24865
24866 Preserve arg names for advice of subr and lexical functions (bug#8457).
24867 * help-fns.el (help-function-arglist): Consolidate the subr and
24868 new-byte-code cases. Add argument `preserve-names' to extract names
24869 from the docstring when needed.
24870 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24871 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24872 (ad-arglist): Use help-function-arglist's new arg.
24873 (ad-definition-type): Use cond.
24874
24875 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24876
24877 * autorevert.el (auto-revert-handler):
24878 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24879 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24880 Don't quote lambda.
24881
24882 * image-mode.el (image-transform-set-scale):
24883 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24884
24885 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24886
24887 * net/network-stream.el (network-stream-open-starttls): Only do
24888 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24889 Upgrades via gnutls-cli are too slow to be done opportunistically.
24890
24891 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24892
24893 * dframe.el (dframe-current-frame): Remove spurious quote.
24894
24895 2011-04-12 Glenn Morris <rgm@gnu.org>
24896
24897 * calendar/cal-tex.el (cal-tex-end-document):
24898 Try to automatically use latin1 input if needed.
24899
24900 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24901 Don't try to cons a mark onto an empty element.
24902
24903 2011-04-11 Leo Liu <sdl.web@gmail.com>
24904
24905 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24906 buffers.
24907 (ido-kill-buffer-at-head): Support killing virtual buffers.
24908
24909 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24910
24911 * minibuffer.el (completion-show-inline-help): New var.
24912 (completion--do-completion, minibuffer-complete)
24913 (minibuffer-force-complete, minibuffer-complete-word):
24914 Inhibit minibuffer messages if completion-show-inline-help is nil.
24915
24916 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24917 to avoid interference from inline help (Bug#5849).
24918
24919 2011-04-10 Leo Liu <sdl.web@gmail.com>
24920
24921 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24922 Fix typo.
24923
24924 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24925
24926 * image-mode.el (image-toggle-display-image): Signal an error if
24927 not in Image mode.
24928 (image-transform-mode, image-transform-resize)
24929 (image-transform-set-rotation): Doc fix.
24930 (image-transform-set-resize): Delete.
24931 (image-transform-set-scale, image-transform-fit-to-height)
24932 (image-transform-fit-to-width): Handle image-toggle-display-image
24933 and image-transform-resize directly.
24934
24935 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24936
24937 * doc-view.el (doc-view-fit-width-to-window)
24938 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24939 New functions for fitting the shown image to the Emacs window size.
24940 (doc-view-mode-map): Add bindings for the new functions.
24941
24942 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24943
24944 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24945 Fix typo in docstring.
24946
24947 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24948
24949 * files.el (file-size-human-readable): Produce one digit after
24950 decimal, like "ls -lh" does.
24951
24952 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24953 the file size representation.
24954
24955 * simple.el (list-processes): If async subprocesses are not
24956 available, error out with a clear error message.
24957
24958 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24959
24960 * help.el (help-form-show): New function, to be called from C.
24961 Put help-form output in a buffer named differently than *Help*.
24962
24963 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24964
24965 * files.el (file-size-human-readable): New function.
24966
24967 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24968 computing the representation inline. Don't require `cl'.
24969
24970 2011-04-08 Glenn Morris <rgm@gnu.org>
24971
24972 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24973
24974 * net/browse-url.el (browse-url-firefox):
24975 Test system-type, not system-configuration.
24976
24977 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24978 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24979 Use log-edit-empty-buffer-p. (Bug#7598)
24980
24981 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24982 (rlogin-mode-map): Initialize in the defvar.
24983 (rlogin): Use ignore-errors.
24984
24985 * replace.el (occur-mode-map): Some fixes for menu items.
24986
24987 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24988
24989 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24990
24991 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24992
24993 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24994 issuing unused warnings.
24995
24996 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24997 macro directly.
24998
24999 * simple.el: Lisp reimplement of list-processes. Based on an
25000 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25001 (process-menu-mode): New major mode.
25002 (list-processes--refresh, list-processes):
25003 (process-menu-visit-buffer): New functions.
25004
25005 * files.el (save-buffers-kill-emacs): Don't assume any return
25006 value of list-processes, which is undocumented anyway.
25007
25008 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25009
25010 * emacs-lisp/tabulated-list.el: New file.
25011
25012 * emacs-lisp/package.el: Use Tabulated List mode.
25013 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25014 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25015 table format using Tabulated List mode variables.
25016 (package--push): New macro, replacing package-list-maybe-add.
25017 (package-menu--generate): Use package--push. Renamed from
25018 package--generate-package-list.
25019 (package-menu-refresh, list-packages): Use it.
25020 (package-menu--print-info): Rename from package-print-package.
25021 Return insertion data instead of inserting it directly.
25022 (package-menu-describe-package, package-menu-execute):
25023 Use tabulated-list-get-id.
25024 (package-menu-mark-delete, package-menu-mark-install)
25025 (package-menu-mark-unmark, package-menu-backup-unmark)
25026 (package-menu-mark-obsolete-for-deletion):
25027 Use tabulated-list-put-tag.
25028 (package--list-packages, package-menu-revert)
25029 (package-menu-get-package, package-menu-get-version)
25030 (package-menu-sort-by-column): Functions deleted.
25031 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25032 (package-menu--status-predicate, package-menu--version-predicate)
25033 (package-menu--name-predicate)
25034 (package-menu--description-predicate): Handle arguments in the
25035 Tabulated List format.
25036 (package-list-packages-no-fetch): Call list-packages.
25037
25038 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25039
25040 * files.el (after-find-file-from-revert-buffer): Remove variable.
25041 (after-find-file): Don't bind it.
25042 (revert-buffer-in-progress-p): New variable.
25043 (revert-buffer): Bind it.
25044 Pass nil for `after-find-file-from-revert-buffer'.
25045
25046 * saveplace.el (save-place-find-file-hook): Use new variable
25047 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25048
25049 2011-04-06 Glenn Morris <rgm@gnu.org>
25050
25051 * Makefile.in (AUTOGEN_VCS): New variable.
25052 (autoloads): Use $AUTOGEN_VCS.
25053
25054 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25055 * calendar/calendar.el (calendar-mode-map):
25056 Check for toolkit scroll bars. (Bug#8305)
25057
25058 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25059
25060 * minibuffer.el (completion-in-region--postch)
25061 (completion-in-region-mode): Remove unnecessary messages.
25062
25063 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25064
25065 * font-lock.el (font-lock-refresh-defaults):
25066 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25067 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25068
25069 * info.el (Info-directory-list, Info-read-node-name-2)
25070 (Info-split-parameter-string): Doc fixes.
25071 (Info-virtual-nodes): Reflow docstring.
25072 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25073 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25074 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25075 Fix typos in docstrings.
25076 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25077 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25078 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25079 (Info-restore-desktop-buffer): Mark unused parameters.
25080 (Info-directory-find-file, Info-directory-find-node)
25081 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25082 (Info-virtual-index-find-node, Info-apropos-find-file)
25083 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25084 Mark unused parameters; fix typos in docstrings.
25085 (Info-virtual-index): Remove unused local variable `nodename'.
25086
25087 2011-04-05 Deniz Dogan <deniz@dogan.se>
25088
25089 * net/rcirc.el: Update my e-mail address.
25090 (rcirc-mode-map): Remove M-o binding.
25091
25092 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25093
25094 * startup.el (command-line): Save the cursor's theme-face
25095 directly, instead of using face-override-spec.
25096
25097 * custom.el (load-theme): Minor optimization in assigning faces.
25098
25099 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25100
25101 * help-fns.el (describe-variable): Complete all variables having
25102 documentation, including keywords.
25103 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25104
25105 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25106
25107 Convert to lexical-binding.
25108
25109 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25110 (bs--get-marked-string, bs--get-modified-string)
25111 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25112 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25113 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25114
25115 * ehelp.el (electric-help-execute-extended)
25116 (electric-help-ctrl-x-prefix):
25117 * hexl.el (hexl-revert-buffer-function):
25118 * linum.el (linum-after-change, linum-after-scroll):
25119 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25120
25121 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25122
25123 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25124
25125 * epa-dired.el:
25126 * epa-mail.el:
25127 * epa-hook.el:
25128 * epa-file.el:
25129 * epa.el:
25130 * epg.el: Use lexical binding.
25131
25132 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25133
25134 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25135
25136 * textmodes/flyspell.el (flyspell-word): Recognize default
25137 dictionary case for flyspell-mark-duplications-exceptions.
25138 Use regexp matching for languages.
25139 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25140 default dictionary (Bug#7926).
25141
25142 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25143
25144 * emacs-lisp/package.el (package--with-work-buffer):
25145 Recognize https URLs.
25146
25147 * net/network-stream.el: Move from gnus/proto-stream.el.
25148 Change prefix to network-stream throughout.
25149 (open-protocol-stream): Merge into open-network-stream, leaving
25150 open-protocol-stream as an alias. Handle nil BUFFER args.
25151
25152 * subr.el (open-network-stream): Move to net/network-stream.el.
25153
25154 2011-04-02 Glenn Morris <rgm@gnu.org>
25155
25156 * find-dired.el (find-exec-terminator): New option.
25157 (find-ls-option): Test for -ls support.
25158 (find-ls-subdir-switches): Test for -b in find-ls-option.
25159 (find-dired, find-grep-dired): Doc fixes.
25160 (find-dired): Use find-exec-terminator.
25161
25162 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25163 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25164 (find-name-arg): Remove purecopy.
25165
25166 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25167 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25168 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25169 accordingly. Don't add the null-device if not needed.
25170
25171 * files.el (save-some-buffers): Doc fix.
25172
25173 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25174
25175 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25176
25177 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25178
25179 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25180 Use `dolist' rather than `mapcar'.
25181
25182 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25183
25184 Add lexical binding.
25185
25186 * subr.el (apply-partially): Use new closures rather than CL.
25187 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25188 (dolist, dotimes): Use slightly different expansion for lexical code.
25189 (functionp): Move to C.
25190 (letrec): New macro.
25191 (with-wrapper-hook): Use it and apply-partially instead of CL.
25192 (eval-after-load): Preserve lexical-binding.
25193 (save-window-excursion, with-output-to-temp-buffer): Turn them
25194 into macros.
25195
25196 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25197
25198 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25199 than the arglist.
25200 (help-add-fundoc-usage): Don't add `Not documented'.
25201 (help-function-arglist): Handle closures, subroutines, and new
25202 byte-code-functions.
25203 (help-make-usage): Remove leading underscores.
25204 (describe-function-1): Handle closures.
25205 (describe-variable): Use special-variable-p for completion.
25206
25207 * files.el (lexical-binding): Declare safe.
25208
25209 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25210 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25211 (pcase): Add `let' pattern.
25212 Change memoization so it actually works.
25213 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25214 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25215 <let>: New case.
25216
25217 * emacs-lisp/macroexp.el: Use lexical binding.
25218 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25219 Don't convert ' to #' without checking that it's indeed quoting
25220 a lambda.
25221
25222 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25223 Use eval-sexp-add-defvars.
25224 (eval-sexp-add-defvars): New fun.
25225
25226 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25227
25228 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25229 Don't autoload.
25230 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25231 than the internal `byte-compile-lambda'.
25232 (defmethod): Don't hide code under quotes.
25233 (eieio-defmethod): New `code' argument.
25234
25235 * emacs-lisp/eieio-comp.el: Remove.
25236
25237 * emacs-lisp/edebug.el (edebug-eval-defun)
25238 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25239 (edebug-toggle): Avoid `eval'.
25240
25241 * emacs-lisp/disass.el (disassemble-internal): Handle new
25242 `closure' objects.
25243 (disassemble-1): Handle new byte codes.
25244
25245 * emacs-lisp/cl.el (pushnew): Silence warning.
25246
25247 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25248 (cl-byte-compile-throw): Remove.
25249 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25250
25251 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25252 closures.
25253
25254 * emacs-lisp/cconv.el: New file.
25255
25256 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25257 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25258 (byte-compile-initial-macro-environment):
25259 Handle declare-function here.
25260 (byte-compile--lexical-environment): New var.
25261 (byte-stack-ref, byte-stack-set, byte-discardN)
25262 (byte-discardN-preserve-tos): New lap codes.
25263 (byte-interactive-p): Don't use any more.
25264 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25265 New macros.
25266 (byte-compile-lapcode): Use them and handle new lap codes.
25267 (byte-compile-obsolete): Remove.
25268 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25269 (byte-compile-arglist-warn): Check late def of inlinable funs.
25270 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25271 since they should have been expanded by now.
25272 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25273 (byte-compile-from-buffer): Remove unused second arg.
25274 (byte-compile-preprocess): New function.
25275 (byte-compile-toplevel-file-form): New function to distinguish
25276 file-form calls from outside from file-form calls from hunk-handlers.
25277 (byte-compile-file-form): Simplify.
25278 (byte-compile-file-form-defsubst): Remove.
25279 (byte-compile-file-form-defmumble): Simplify now that
25280 byte-compile-lambda always returns a byte-code-function.
25281 (byte-compile): Preprocess.
25282 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25283 Remove, not used any more.
25284 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25285 (byte-compile-make-args-desc): New funs.
25286 (byte-compile-lambda): Handle lexical functions. Always return
25287 a byte-code-function.
25288 (byte-compile-reserved-constants): New var, to make up room for
25289 closed-over variables.
25290 (byte-compile-constants-vector): Obey it.
25291 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25292 (byte-compile-macroexpand-declare-function): New function.
25293 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25294 byte-code-functions.
25295 (byte-compile-form): Check obsolescence here.
25296 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25297 (byte-compile-variable-ref): Remove.
25298 (byte-compile-dynamic-variable-op): New fun.
25299 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25300 (byte-compile-variable-set): New funs.
25301 (byte-compile-discard): Add 2 args.
25302 (byte-compile-stack-ref, byte-compile-stack-set)
25303 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25304 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25305 macroexpand-all instead.
25306 (byte-compile-quote-form): Remove.
25307 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25308 (byte-compile-bind, byte-compile-unbind): New funs.
25309 (byte-compile-let): Handle let* and lexical binding.
25310 (byte-compile-let*): Remove.
25311 (byte-compile-catch, byte-compile-unwind-protect)
25312 (byte-compile-track-mouse, byte-compile-condition-case):
25313 Handle a new :fun-body form, used for lexical scoping.
25314 (byte-compile-save-window-excursion)
25315 (byte-compile-with-output-to-temp-buffer): Remove.
25316 (byte-compile-defun): Simplify.
25317 (byte-compile-stack-adjustment): New fun.
25318 (byte-compile-out): Use it.
25319 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25320
25321 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25322 handler any more.
25323
25324 * emacs-lisp/byte-opt.el: Use lexical binding.
25325 (byte-inline-lapcode): Remove (to bytecomp).
25326 (byte-compile-inline-expand): Pay attention to inlining to/from
25327 lexically bound code.
25328 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25329 any more.
25330 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25331 any more and don't call compiler-macros.
25332 (byte-compile-splice-in-already-compiled-code): Remove.
25333 (byte-code): Don't inline any more.
25334 (disassemble-offset): Receive `bytes' as argument rather than via
25335 dynamic scoping.
25336 (byte-compile-tag-number): Declare before first use.
25337 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25338 `return' even if make-spliceable.
25339 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25340 obsolete interactive-p.
25341 (byte-optimize-lapcode): Optimize new lap-codes.
25342 Don't trip up on new form of `byte-constant' lap code.
25343
25344 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25345
25346 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25347
25348 * custom.el (custom-initialize-default, custom-declare-variable):
25349 Use `defvar'.
25350
25351 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25352 New variables.
25353 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25354 (COMPILE_FIRST): Add macroexp and cconv.
25355 * makefile.w32-in: Mirror changes in Makefile.in.
25356
25357 * vc/cvs-status.el:
25358 * vc/diff-mode.el:
25359 * vc/log-edit.el:
25360 * vc/log-view.el:
25361 * vc/smerge-mode.el:
25362 * textmodes/bibtex-style.el:
25363 * textmodes/css-mode.el:
25364 * startup.el:
25365 * uniquify.el:
25366 * minibuffer.el:
25367 * newcomment.el:
25368 * reveal.el:
25369 * server.el:
25370 * mpc.el:
25371 * emacs-lisp/smie.el:
25372 * doc-view.el:
25373 * dired.el:
25374 * abbrev.el: Use lexical binding.
25375
25376 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25377
25378 * info.el (info-display-manual): New function.
25379
25380 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25381
25382 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25383
25384 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25385
25386 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25387 an entry for that server in rcirc-authinfo. (Bug#8385)
25388
25389 2011-03-31 Glenn Morris <rgm@gnu.org>
25390
25391 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25392
25393 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25394
25395 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25396
25397 * progmodes/python.el (python-default-interpreter)
25398 (python-python-command-args, python-jython-command-args)
25399 (python-which-shell, python-which-args, python-which-bufname)
25400 (python-file-queue, python-comint-output-filter-function)
25401 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25402 variables and functions.
25403
25404 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25405
25406 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25407 (completion-in-region-mode): New minor mode.
25408 (completion-in-region): Use it.
25409 (completion-in-region--data, completion-in-region-mode-map): New vars.
25410 (completion-in-region--postch): New function.
25411 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25412 New vars.
25413 (completion--capf-wrapper): New function.
25414 (completion-at-point): Use it to track well-behavedness of
25415 hook functions.
25416 (completion-help-at-point): New command.
25417
25418 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25419
25420 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25421 syntax class to search for whitespace on a single line
25422 (Message-ID: <4D938140.4030905@redhat.com>).
25423
25424 2011-03-30 Leo Liu <sdl.web@gmail.com>
25425
25426 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25427 New commands.
25428 (edit-abbrevs-map): Bind them here.
25429 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25430
25431 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25432
25433 * allout.el (allout-hide-by-annotation, allout-flag-region):
25434 Reduce possibility of overlay leakage by making them volatile.
25435
25436 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25437 hash is not shared between buffers. Mode initialization is
25438 responsible for giving it a useful starting value.
25439 (allout-item-span): Reduce possibility of overlay leakage by
25440 making them volatile.
25441 (allout-widgets-count-buttons-in-region): Add diagnostic function
25442 for tracking down button overlay leaks.
25443
25444 2011-03-29 Leo Liu <sdl.web@gmail.com>
25445
25446 * ido.el (ido-read-internal): Use the default history var
25447 minibuffer-history if no HISTORY is specified.
25448
25449 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25450
25451 * net/imap.el (imap-shell-open, imap-process-connection-type):
25452 Use imap-process-connection-type for 'shell' streams as well as
25453 Kerberos, SSL, other subprocesses.
25454
25455 2011-03-28 Leo Liu <sdl.web@gmail.com>
25456
25457 * abbrev.el (abbrev-table-empty-p): New function.
25458 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25459 nonempty ones. (Bug#5937)
25460
25461 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25462
25463 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25464
25465 2011-03-27 Leo Liu <sdl.web@gmail.com>
25466
25467 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25468 for foreground and background colors.
25469 (ansi-color-make-color-map): Adapt.
25470
25471 2011-03-25 Leo Liu <sdl.web@gmail.com>
25472
25473 * midnight.el (midnight-time-float): Remove. Note it calculates
25474 the microsecond component incorrectly and seconds-to-time does the
25475 same job.
25476 Remove redundant (require 'timer).
25477
25478 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25479 (ido-completions): Remove unused arguments. (Bug#8329)
25480
25481 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25482
25483 * minibuffer.el (completion--flush-all-sorted-completions):
25484 Remove itself from hook.
25485 (completion-at-point): Let the functions perform the completion
25486 immediately and return nil or t.
25487 * comint.el (comint-dynamic-complete-functions): Now identical to
25488 completion-at-point-functions.
25489 (comint-dynamic-list-input-ring): Remove unused var `index'.
25490 (comint--match-partial-filename, comint--unquote&expand-filename):
25491 New funs, split from comint-match-partial-filename.
25492 (comint-dynamic-complete): Use completion-at-point.
25493 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25494
25495 2011-03-24 Drew Adams <drew.adams@oracle.com>
25496
25497 * thingatpt.el: Support `defun'.
25498
25499 2011-03-23 Leo Liu <sdl.web@gmail.com>
25500
25501 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25502
25503 * help-mode.el (help-mode-finish): Tweak regexp.
25504
25505 2011-03-23 Glenn Morris <rgm@gnu.org>
25506
25507 * eshell/esh-opt.el (eshell-eval-using-options):
25508 Do not bind unused local variable `eshell-option-stub'.
25509
25510 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25511
25512 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25513
25514 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25515 keymap variable in `with-no-warnings' to avoid a warning when the
25516 keymap has been already `defconst'ed.
25517
25518 2011-03-22 Leo Liu <sdl.web@gmail.com>
25519
25520 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25521 encode all chars in abbrevs; otherwise use emacs-mule or
25522 utf-8-emacs. (Bug#8308)
25523
25524 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25525
25526 * simple.el (backward-delete-char-untabify):
25527 Avoid warning about using `delete-backward-char'.
25528
25529 * image.el (image-type-file-name-regexps): Make it variable.
25530 `imagemagick-register-types' modifies it, and the user may want
25531 to add new extensions for known image types.
25532 (imagemagick-register-types): Throw error if not using ImageMagick.
25533
25534 2011-03-22 Leo Liu <sdl.web@gmail.com>
25535
25536 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25537 located before rcirc-prompt-end-marker.
25538 (rcirc-complete): Error if point is not after rcirc prompt.
25539 Handle the case when table is nil.
25540 (rcirc-user-authenticated): Define to fix compiler warning.
25541
25542 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25543
25544 * custom.el (custom--inhibit-theme-enable): Make it affect only
25545 custom-theme-set-variables and custom-theme-set-faces.
25546 (provide-theme): Ignore custom--inhibit-theme-enable.
25547 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25548 (custom-enabling-themes): Delete variable.
25549 (enable-theme): Accept only loaded themes as arguments.
25550 Ignore the special custom-enabled-themes variable.
25551 (custom-enabled-themes): Forbid themes from setting this.
25552 Eliminate use of custom-enabling-themes.
25553 (custom-push-theme): Quote "changed" custom var entry.
25554
25555 2011-03-21 Leo Liu <sdl.web@gmail.com>
25556
25557 * ido.el (ido-read-internal): Add ido-selected to history instead
25558 of user input.
25559
25560 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25561
25562 * subr.el (deferred-action-list, deferred-action-function):
25563 Mark obsolete.
25564
25565 2011-03-21 Leo Liu <sdl.web@gmail.com>
25566
25567 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25568 change on 2011-02-13 (bug#8309).
25569
25570 * minibuffer.el (read-file-name-function): Change default value.
25571 (read-file-name--defaults): Rename from read-file-name-defaults.
25572 (read-file-name-default): Rename from read-file-name.
25573 (read-file-name): Call read-file-name-function.
25574
25575 2011-03-21 Glenn Morris <rgm@gnu.org>
25576
25577 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25578 Doc fixes.
25579
25580 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25581
25582 * cus-theme.el: Add missing provide statement.
25583 (customize-create-theme): Extract theme value correctly.
25584 (custom-theme-visit-theme): Autoload.
25585 (customize-create-theme): Prompt before inserting default faces.
25586
25587 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25588
25589 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25590 units and musical notes.
25591
25592 2011-03-20 Leo Liu <sdl.web@gmail.com>
25593
25594 * ido.el (ido-read-internal): Use completing-read-default.
25595 (ido-completing-read): Fix compatibility with completing-read.
25596
25597 2011-03-20 Christian Ohler <ohler@gnu.org>
25598
25599 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25600 (ert-delete-all-tests): Use `called-interactively-p' rather than
25601 `interactive-p'.
25602 (ert--make-xrefs-region): Respect END.
25603
25604 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25605
25606 * dired-aux.el (dired-create-directory): Signal an error if the
25607 directory already exists (Bug#8246).
25608
25609 * facemenu.el (list-colors-display): Call list-faces-display
25610 inside with-help-window.
25611 (list-colors-print): Use display property to align the final
25612 column, instead of checking window-width.
25613
25614 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25615
25616 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25617 windows-nt systems.
25618 (emerge-protect-metachars): Quote correctly for ms-dos and
25619 windows-nt systems.
25620
25621 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25622
25623 * info.el (info-initialize): Replace all uses of `:' with
25624 path-separator for compatibility with non-Unix systems.
25625 Cache quoting of path-separator. (Bug#8258)
25626
25627 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25628
25629 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25630 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25631 (mouse-avoidance-mode): Fix typos in docstrings.
25632
25633 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25634
25635 * startup.el (package-subdirectory-regexp): Move from package.el.
25636 Omit \\` and \\', and let callers add them.
25637
25638 * emacs-lisp/package.el (package-strip-version)
25639 (package-load-all-descriptors): Add \\` and \\' to
25640 package-subdirectory-regexp before using it.
25641 (package-untar-buffer): New arg DIR; ensure that file untars only
25642 into this expected directory. Remove superfluous delete-region.
25643 (package-unpack): Caller changed.
25644 (package-tar-file-info): Use package-subdirectory-regexp.
25645
25646 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25647
25648 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25649 diff-mode-shared-map (bug#8284).
25650 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25651
25652 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25653
25654 * calendar/time-date.el (format-seconds): Use assoc instead of
25655 assoc-string, since assoc-string doesn't exist in XEmacs.
25656
25657 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25658
25659 * custom.el (custom-known-themes): Reflow docstring.
25660 (custom-theme-load-path): Fix typo in docstring.
25661 (load-theme): Fix typo in error message.
25662 (custom-available-themes, custom-variable-theme-value):
25663 Use `let', not `let*'.
25664
25665 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25666
25667 * calc/README: Mention inclusion of musical notes.
25668
25669 * calc/calc-units.el (calc-lu-quant): Rename from
25670 `calc-logunits-quantity'.
25671 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25672 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25673 (calc-db): Rename from `calc-dblevel'.
25674 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25675 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25676 (calc-np): Rename from `calc-nplevel'.
25677 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25678 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25679 (calc-lu-plus): Rename from `calc-logunits-add'.
25680 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25681 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25682 (calc-lu-minus): Rename from `calc-logunits-sub'.
25683 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25684 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25685 (calc-lu-times): Rename from `calc-logunits-mul'.
25686 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25687 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25688 (calc-lu-divide): Rename from `calc-logunits-div'.
25689 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25690 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25691
25692 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25693 functions being autoloaded.
25694
25695 * calc/calc.el (calc-lu-power-reference): Rename from
25696 `calc-logunits-power-reference'.
25697 (calc-lu-field-reference): Rename from
25698 `calc-logunits-field-reference'.
25699
25700 * calc/calc-help.el (calc-l-prefix-help):
25701 Mention musical note functions.
25702
25703 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25704
25705 * minibuffer.el (completion-all-sorted-completions):
25706 Use :completion-cycle-penalty text property if present.
25707
25708 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25709
25710 * allout.el (allout-yank-processing): Adjust for new rebulleting
25711 regime so bullet being yanked is used without prompting the user
25712 for a choice.
25713
25714 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25715
25716 * startup.el (command-line): Warn the user that _emacs is deprecated.
25717
25718 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25719
25720 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25721 (delphi-verbose, delphi-comment-face, delphi-string-face)
25722 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25723 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25724 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25725 (delphi-new-comment-line, delphi-font-lock-defaults)
25726 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25727 Fix typos in docstrings.
25728
25729 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25730
25731 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25732 Invert the roles of character and string values for INSTEAD, so a
25733 string is used for the more common case of a defaulting prompt.
25734
25735 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25736
25737 * progmodes/ruby-mode.el (ruby-backward-sexp):
25738 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25739 * play/gamegrid.el (gamegrid-make-face):
25740 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25741 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25742 * notifications.el (notifications-notify):
25743 * net/xesam.el (xesam-search-engines):
25744 * net/quickurl.el (quickurl-list-insert):
25745 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25746
25747 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25748
25749 * startup.el (command-line): Update package subdirectory regexp.
25750
25751 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25752
25753 * allout.el (allout-abbreviate-flattened-numbering)
25754 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25755
25756 * subr.el (read-char-choice): Only show the cursor after the prompt,
25757 not after the answer.
25758
25759 2011-03-15 Kevin Ryde <user42@zip.com.au>
25760
25761 * help-fns.el (variable-at-point): Skip leading quotes, if any
25762 (bug#8253).
25763
25764 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25765
25766 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25767 warning message.
25768
25769 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25770
25771 * shell.el (shell): When called interactively, offer to change the
25772 shell file name on remote hosts.
25773
25774 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25775
25776 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25777 integration for LDAP parameters. The host, base, user or binddn,
25778 and secret tokens can be specified in a netrc file, for instance.
25779 This is optional because an `auth-source' parameter must be
25780 specified in the search attributes.
25781
25782 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25783
25784 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25785
25786 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25787
25788 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25789 into declaration. Remove redundant and harmful binding.
25790
25791 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25792
25793 * files.el (file-ownership-preserved-p): Pass `integer' as an
25794 explicit 2nd argument to `file-attributes'. If the file's owner
25795 is the Administrators group on Windows, and the current user is
25796 Administrator, consider that a match.
25797
25798 * server.el (server-ensure-safe-dir): Consider server directory
25799 safe on MS-Windows if its owner is the Administrators group while
25800 the current Emacs user is Administrator. Use `=' to compare
25801 numerical UIDs, since they could be integers or floats.
25802
25803 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25804
25805 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25806
25807 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25808
25809 Sync with Tramp 2.2.1.
25810
25811 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25812
25813 * net/trampver.el: Update release number.
25814
25815 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25816
25817 * progmodes/compile.el (compilation--previous-directory): Fix up
25818 various nil/dead-marker mismatches (bug#8014).
25819 (compilation-directory-properties, compilation-error-properties):
25820 Don't call it at a position past the one we're about to change.
25821
25822 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25823 Disable obsolescence warnings in the file that declares it.
25824
25825 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25826
25827 * allout-widgets.el (allout-widgets-tally):
25828 Initialize allout-widgets-tally as a hash table rather than nil to
25829 prevent mode-line redisplay warnings. Also, clarify the module
25830 description and fix a comment typo.
25831
25832 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25833
25834 * help-fns.el (describe-variable): Don't complete keywords.
25835 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25836
25837 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25838
25839 * emacs-lisp/package.el (package-version-join): Impose a standard
25840 string representation for pre/alpha/beta version lists.
25841 (package-unpack-single): Standardize the directory name by passing
25842 it through package-version-join.
25843 (package-strip-rcs-id): Accept any version string that does not
25844 signal an error in version-to-list.
25845
25846 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25847
25848 * simple.el (delete-trailing-whitespace): Return nil for the
25849 benefit of `write-file-functions'.
25850
25851 2011-03-10 Glenn Morris <rgm@gnu.org>
25852
25853 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25854
25855 * vc/vc-git.el (vc-git-program): New option.
25856 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25857 (vc-git--call): Use it.
25858
25859 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25860
25861 * cus-edit.el (Custom-newline): If no button at point, look
25862 for a subgroup button at start-of-line. (Bug#2298)
25863
25864 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25865
25866 2011-03-10 Julien Danjou <julien@danjou.info>
25867
25868 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25869 `cursor-type' is nil.
25870
25871 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25872
25873 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25874
25875 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25876
25877 * allout.el: Change so yank of distinctive-bullet items
25878 preserves the existing header prefix, rebulleting it if necessary,
25879 rather than replacing it. This is necessary for proper operation
25880 of cooperative addons like allout-widgets.
25881 (allout-make-topic-prefix, allout-rebullet-heading):
25882 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25883 value as alternate bullet to be used, instead of prompting the user
25884 for a bullet character.
25885
25886 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25887
25888 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25889 Do not use `tramp-file-name-port', because this returns also
25890 `tramp-default-port'.
25891
25892 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25893
25894 * net/rcirc.el (rcirc-handler-001): Remove useless
25895 with-rcirc-process-buffer.
25896 (rcirc-check-auth-status): Swap arguments to string-match.
25897
25898 2011-03-09 Glenn Morris <rgm@gnu.org>
25899
25900 * shell.el (shell-mode):
25901 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25902
25903 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25904 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25905
25906 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25907
25908 * emacs-lisp/package.el (package-refresh-contents)
25909 (package-menu-execute): Use condition-case-no-debug.
25910
25911 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25912
25913 * simple.el (shell-command-to-string): Use `process-file'.
25914
25915 * emacs-lisp/package.el (package-tar-file-info): Handle also
25916 remote files.
25917
25918 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25919 Use `equal' for upload base check.
25920
25921 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25922
25923 * textmodes/texinfo.el (texinfo-environments):
25924 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25925
25926 2011-03-08 Glenn Morris <rgm@gnu.org>
25927
25928 * cus-start.el (cursor-in-non-selected-windows):
25929 Fix :set quoting oddness. (Bug#8192)
25930
25931 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25932 in some setf expressions. (Bug#2159)
25933
25934 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25935
25936 * custom.el (custom-available-themes): Return themes in
25937 alphabetical order.
25938
25939 See ChangeLog.15 for earlier changes.
25940
25941 ;; Local Variables:
25942 ;; coding: utf-8
25943 ;; End:
25944
25945 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25946
25947 This file is part of GNU Emacs.
25948
25949 GNU Emacs is free software: you can redistribute it and/or modify
25950 it under the terms of the GNU General Public License as published by
25951 the Free Software Foundation, either version 3 of the License, or
25952 (at your option) any later version.
25953
25954 GNU Emacs is distributed in the hope that it will be useful,
25955 but WITHOUT ANY WARRANTY; without even the implied warranty of
25956 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25957 GNU General Public License for more details.
25958
25959 You should have received a copy of the GNU General Public License
25960 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.