* lisp/emacs-lisp/nadvice.el (add-function): Default simple vars to their
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
4 global bindings.
5
6 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7
8 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9
10 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12 to nil.
13 (ruby-end-of-defun): Remove the unused arg, change the docstring
14 to reflect that this function is only used as the value of
15 `end-of-defun-function'.
16 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
17 to reflect an earlier change that beginning/end-of-defun functions
18 jump between methods in a class definition, as well as top-level
19 functions.
20
21 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * minibuffer.el (minibuffer-complete): Don't just scroll
24 a *Completions* that's been iconified.
25 (minibuffer-force-complete): Make sure repetitions do cycle when going
26 through completion-in-region -> minibuffer-complete.
27
28 2013-04-15 Alan Mackenzie <acm@muc.de>
29
30 Correct the placement of c-cpp-delimiters when there're #s not at
31 col 0.
32
33 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
34 place a submatch around the #.
35 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
36 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
37 on the #, not BOL.
38
39 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * emacs-lisp/nadvice.el: Properly test names when adding advice.
42 (advice--member-p): New arg `name'.
43 (advice--add-function, advice-member-p): Use it (bug#14202).
44
45 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
46
47 Reformulate java imenu-generic-expression.
48 The old expression contained ill formed regexps.
49
50 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
51 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
52 (cc-imenu-java-method-arg-regexp): New defconsts.
53 (cc-imenu-java-build-type-args-regex): New defun.
54 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
55 handling of spaces in the regexp.
56
57 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
58
59 * textmodes/ispell.el (ispell-command-loop): Remove
60 flyspell highlight of a word when ispell accepts it (bug #14178).
61
62 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
63
64 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
65 uses code from the previous `ange-ftp-run-real-handler'.
66 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
67 only in case that function exist. This is needed for proper
68 unloading of Tramp.
69
70 2013-04-15 Tassilo Horn <tsdh@gnu.org>
71
72 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
73
74 * textmodes/reftex.el (reftex-compile-variables): Use it.
75
76 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * files.el (normal-mode): Only use default major-mode if no other mode
79 was specified.
80
81 * emacs-lisp/trace.el (trace-values): New function.
82
83 * files.el: Allow : in local variables (bug#14089).
84 (hack-local-variable-regexp): New var.
85 (hack-local-variables-prop-line, hack-local-variables): Use it.
86
87 2013-04-13 Roland Winkler <winkler@gnu.org>
88
89 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
90 data before it gets modified by bibtex-beginning-of-entry.
91
92 2013-04-13 Roland Winkler <winkler@gnu.org>
93
94 * textmodes/bibtex.el (bibtex-url): Doc fix.
95
96 2013-04-13 Roland Winkler <winkler@gnu.org>
97
98 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
99 does not visit a BibTeX file, exclude it from the list of buffers
100 returned by bibtex-initialize.
101
102 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
103
104 * window.el (split-window): Remove interactive form, since as a
105 command this function is a special case of split-window-below.
106 Correct doc string.
107
108 2013-04-12 Roland Winkler <winkler@gnu.org>
109
110 * faces.el (read-face-name): Do not override value of arg default.
111 Allow single faces and strings as default values. Remove those
112 elements from return value that are not faces.
113 (describe-face): Simplify.
114 (face-at-point): New optional args thing and multiple so that this
115 function can provide the same functionality previously provided by
116 read-face-name.
117 (make-face-bold, make-face-unbold, make-face-italic)
118 (make-face-unitalic, make-face-bold-italic, invert-face)
119 (modify-face, read-face-and-attribute): Use face-at-point.
120
121 * cus-edit.el (customize-face, customize-face-other-window)
122 * cus-theme.el (custom-theme-add-face)
123 * face-remap.el (buffer-face-set)
124 * facemenu.el (facemenu-set-face): Use face-at-point.
125
126 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
127
128 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
129
130 2013-04-10 Tassilo Horn <tsdh@gnu.org>
131
132 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
133 off leading { and trailing } from field values.
134
135 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * emacs-lisp/timer.el (timer--check): New function.
138 (timer--time, timer-set-function, timer-event-handler): Use it.
139 (timer-set-idle-time): Simplify.
140 (timer--activate): CSE.
141 (timer-event-handler): Give more info in error message.
142 (internal-timer-start-idle): New function, moved from C.
143
144 * mpc.el (mpc-proc): Add `restart' argument.
145 (mpc-proc-cmd): Use it.
146 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
147 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
148 less often.
149
150 2013-04-10 Masatake YAMATO <yamato@redhat.com>
151
152 * progmodes/sh-script.el: Implement `sh-mode' own
153 `add-log-current-defun-function' (bug#14112).
154 (sh-current-defun-name): New function.
155 (sh-mode): Use the function.
156
157 2013-04-09 Bastien Guerry <bzg@gnu.org>
158
159 * simple.el (choose-completion-string): Fix docstring (bug#14163).
160
161 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
162
163 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
164
165 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
166 timer (bug#14156).
167
168 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
169
170 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
171 declaration.
172
173 2013-04-07 Leo Liu <sdl.web@gmail.com>
174
175 * pcmpl-x.el: New file.
176
177 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
178
179 Do not set x-display-name until X connection is established.
180 This is needed to prevent from weird situation described at
181 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
182 * frame.el (make-frame): Set x-display-name after call to
183 window system initialization function, not before.
184 * term/x-win.el (x-initialize-window-system): Add optional
185 display argument and use it.
186 * term/w32-win.el (w32-initialize-window-system):
187 * term/ns-win.el (ns-initialize-window-system):
188 * term/pc-win.el (msdos-initialize-window-system):
189 Add compatible optional display argument.
190
191 2013-04-06 Eli Zaretskii <eliz@gnu.org>
192
193 * files.el (normal-backup-enable-predicate): On MS-Windows and
194 MS-DOS compare truenames of temporary-file-directory and of the
195 file, so that 8+3 aliases (usually found in $TEMP on Windows)
196 don't fail comparison by compare-strings. Also, compare file
197 names case-insensitively on MS-Windows and MS-DOS.
198
199 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
200
201 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
202 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
203
204 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
205
206 * whitespace.el (whitespace-color-on, whitespace-color-off):
207 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
208
209 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
210
211 * ispell.el (ispell-set-spellchecker-params):
212 Really set `ispell-args' for all equivs.
213
214 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * ido.el (ido-completions): Use extra elements of ido-decorations
217 (bug#14143).
218 (ido-decorations): Update docstring.
219
220 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
221
222 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
223 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
224 nil during initialization, in order not to miss changes since the
225 file was opened. (Bug#14140)
226
227 2013-04-05 Leo Liu <sdl.web@gmail.com>
228
229 * kmacro.el (kmacro-call-macro): Fix bug#14135.
230
231 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
232
233 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
234
235 2013-04-04 Glenn Morris <rgm@gnu.org>
236
237 * electric.el (electric-pair-inhibit-predicate): Add :version.
238
239 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
242 when a package is required several times (bug#14082).
243
244 2013-04-04 Roland Winkler <winkler@gnu.org>
245
246 * faces.el (read-face-name): Behave as promised by the docstring.
247 Assume that arg default is a list of faces.
248 (describe-face): Call read-face-name with list of default faces.
249
250 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
251
252 * bookmark.el: Fix deletion of bookmarks (bug#13972).
253 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
254 (bookmark-bmenu-execute-deletions): Only skip first line if it's
255 the header.
256 (bookmark-exit-hook-internal): Save even if list is empty.
257
258 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
259
260 * emacs-lisp/package.el (package-pinned-packages): New var.
261 (package--add-to-archive-contents): Obey it (bug#14118).
262
263 2013-04-03 Alan Mackenzie <acm@muc.de>
264
265 Handle `parse-partial-sexp' landing inside a comment opener
266 (Bug#13244). Also adapt to the new values of element 7 of a parse
267 state.
268
269 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
270 parameter `not-in-delimiter'. Handle being inside comment opener.
271 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
272 character in case we're typing a '*' after a '/'.
273 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
274 instead by passing the parameter to c-state-pp-to-literal.
275
276 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
277 for elt. 7 of a parse state.
278
279 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
280
281 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
282 * international/latin1-disp.el, international/mule-util.el:
283 * language/cyril-util.el, language/european.el, language/ind-util.el:
284 * language/lao-util.el, language/thai.el, language/tibet-util.el:
285 * language/tibetan.el, language/viet-util.el:
286 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
287
288 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
291 (electric-pair-post-self-insert-function): Use it.
292 (electric-pair-default-inhibit): New function, extracted from
293 electric-pair-post-self-insert-function.
294
295 2013-03-31 Roland Winkler <winkler@gnu.org>
296
297 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
298
299 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
302
303 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
304
305 Un-indent after "pass" and "return" statements (Bug#13888)
306 * progmodes/python.el (python-indent-block-enders): New var.
307 (python-indent-calculate-indentation): Use it.
308
309 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
310
311 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
312 defun. Defining it as defalias could introduce too eager
313 byte-compiler optimization. (Bug#14030)
314
315 2013-03-30 Chong Yidong <cyd@gnu.org>
316
317 * iswitchb.el (iswitchb-read-buffer): Fix typo.
318
319 2013-03-30 Leo Liu <sdl.web@gmail.com>
320
321 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
322 (kmacro-execute-from-register): Pass the keyboard macro to
323 kmacro-call-macro or repeating won't work correctly.
324
325 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
326
327 * progmodes/subword.el: Back to using `forward-symbol'.
328
329 * subr.el (forward-whitespace, forward-symbol)
330 (forward-same-syntax): Move from thingatpt.el.
331
332 2013-03-29 Leo Liu <sdl.web@gmail.com>
333
334 * kmacro.el (kmacro-to-register): New command.
335 (kmacro-execute-from-register): New function.
336 (kmacro-keymap): Bind to 'x'. (Bug#14071)
337
338 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * mpc.el: Use defvar-local and setq-local.
341 (mpc--proc-connect): Connection failures are not bugs.
342 (mpc-mode-map): `follow-link' only applies to the buffer's content.
343 (mpc-volume-map): Bind to the up-events.
344
345 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
346
347 * progmodes/subword.el (superword-mode): Use `forward-sexp'
348 instead of `forward-symbol'.
349
350 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
353 (edebug--recursive-edit): Use it.
354 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
355 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
356
357 2013-03-28 Leo Liu <sdl.web@gmail.com>
358
359 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
360
361 2013-03-27 Eli Zaretskii <eliz@gnu.org>
362
363 * facemenu.el (list-colors-callback): New defvar.
364 (list-colors-redisplay): New function.
365 (list-colors-display): Install list-colors-redisplay as the
366 revert-buffer-function. (Bug#14063)
367
368 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
371 and suffixes don't overlap (bug#14061).
372
373 * case-table.el: Use lexical-binding.
374 (case-table-get-table): New function.
375 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
376
377 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
378
379 * progmodes/subword.el: Add `superword-mode' to do word motion
380 over symbol_words (parallels and leverages `subword-mode' which
381 does word motion inside MixedCaseWords).
382
383 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
384
385 * eshell/em-unix.el: Move su and sudo to...
386 * eshell/em-tramp.el: ...Eshell tramp module
387
388 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
391 Change return value to be a sexp. Delay `get-buffer' to after
392 restoring the desktop (bug#13951).
393
394 2013-03-26 Leo Liu <sdl.web@gmail.com>
395
396 * register.el: Move semantic tag handling back to
397 cedet/semantic/senator.el. (Bug#14052)
398
399 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
402 into the prompt either (bug#13963).
403
404 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
405
406 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
407 part of "(error-foo)".
408
409 2013-03-24 Juri Linkov <juri@jurta.org>
410
411 * replace.el (list-matching-lines-prefix-face): New defcustom.
412 (occur-1): Pass `list-matching-lines-prefix-face' to the function
413 `occur-engine' if `face-differs-from-default-p' returns t.
414 (occur-engine): Add `,' inside backquote construct to evaluate
415 `prefix-face'. Propertize the prefix with the `prefix-face' face.
416 Pass `prefix-face' to the functions `occur-context-lines' and
417 `occur-engine-add-prefix'.
418 (occur-engine-add-prefix, occur-context-lines): Add optional arg
419 `prefix-face' and propertize the prefix with `prefix-face'.
420 (Bug#14017)
421
422 2013-03-24 Leo Liu <sdl.web@gmail.com>
423
424 * nxml/rng-valid.el (rng-validate-while-idle)
425 (rng-validate-quick-while-idle): Guard against deleted buffer.
426 (Bug#13999)
427
428 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
429 is the last entry in kill-buffer-hook.
430
431 * files.el (kill-buffer-hook): Doc fix.
432
433 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
434
435 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
436 Make it safe-local.
437
438 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
439
440 2013-03-23 Leo Liu <sdl.web@gmail.com>
441
442 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
443 Remove.
444
445 * nxml/rng-valid.el (rng-validate-mode)
446 (rng-after-change-function, rng-do-some-validation):
447 * nxml/rng-maint.el (rng-validate-buffer):
448 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
449 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
450 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
451 (nxml-extend-after-change-region): Use with-silent-modifications.
452
453 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
454 timer-idle-list.
455
456 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
457 (rng-next-error-1, rng-previous-error-1): Do not let-bind
458 timer-idle-list. (Bug#13999)
459
460 2013-03-23 Juri Linkov <juri@jurta.org>
461
462 * info.el (info-index-match): New face.
463 (Info-index, Info-apropos-matches): Add a nested subgroup to the
464 main pattern and add text properties with the new face to matches
465 in index entries relative to the beginning of the index entry.
466 (Bug#14015)
467
468 2013-03-21 Eric Ludlam <zappo@gnu.org>
469
470 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
471 Inhibit read only while inserting objects.
472
473 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
474
475 * progmodes/cfengine.el: Update docs to mention
476 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
477 symbol motion. Remove "_" from the word syntax.
478
479 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
480
481 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
482 syntax for both `cfengine2-mode' and `cfengine3-mode'.
483
484 2013-03-20 Juri Linkov <juri@jurta.org>
485
486 * info.el (Info-next-reference-or-link)
487 (Info-prev-reference-or-link): New functions.
488 (Info-next-reference, Info-prev-reference): Use them.
489 (Info-try-follow-nearest-node): Handle footnote navigation.
490 (Info-fontify-node): Fontify footnotes. (Bug#13989)
491
492 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
495 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
496
497 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
498
499 Suppress unnecessary non-ASCII chatter during build process.
500 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
501 (batch-skkdic-convert): Suppress most of the chatter.
502 It's not needed so much now that machines are faster,
503 and its non-ASCII component was confusing; see Dmitry Gutov in
504 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
505
506 2013-03-20 Leo Liu <sdl.web@gmail.com>
507
508 * ido.el (ido-chop): Fix bug#10994.
509
510 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
511
512 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
513 Remove vars.
514 (whitespace-color-on, whitespace-color-off):
515 Use `font-lock-fontify-buffer' (Bug#13817).
516
517 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
520 remapping in mode-line.
521 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
522
523 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
524
525 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
526 value for `whitespace-line' face (Bug#13875).
527 (whitespace-font-lock-keywords): Change description.
528 (whitespace-color-on): Don't save `font-lock-keywords' value, save
529 the constructed keywords instead.
530 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
531
532 2013-03-19 Leo Liu <sdl.web@gmail.com>
533
534 * progmodes/compile.el (compilation-display-error): New command.
535 (compilation-mode-map, compilation-minor-mode-map): Bind it to
536 C-o. (Bug#13992)
537
538 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
539
540 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
541
542 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
543
544 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
545
546 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
547
548 * net/tramp-compat.el (tramp-compat-user-error): New defun.
549
550 * net/tramp-adb.el (tramp-adb-handle-shell-command):
551 * net/tramp-gvfs.el (top):
552 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
553 (tramp-handle-shell-command): Use it.
554 (tramp-dissect-file-name): Raise an error when hostname is a
555 method name, and neither method nor user is specified.
556
557 * net/trampver.el: Update release number.
558
559 2013-03-18 Leo Liu <sdl.web@gmail.com>
560
561 Make sure eldoc can be turned off properly.
562 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
563 eldoc-mode.
564 (eldoc-display-message-p): Revert last change.
565 (eldoc-display-message-no-interference-p)
566 (eldoc-print-current-symbol-info): Tweak.
567
568 2013-03-18 Tassilo Horn <tsdh@gnu.org>
569
570 * doc-view.el (doc-view-new-window-function): Check the new window
571 overlay's display property instead the char property of the
572 buffer's first char. Use `with-selected-window' instead of
573 `save-window-excursion' with `select-window'.
574 (doc-view-document->bitmap): Check the current doc-view overlay's
575 display property instead the char property of the buffer's first char.
576
577 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
578
579 Automate the build of ja-dic.el (Bug#13984).
580 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
581 from the input, rather than assume that it's been done for us by the
582 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
583 the current date into a ja-dic.el comment, as that complicates
584 regression testing.
585
586 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * whitespace.el: Fix double evaluation.
589 (whitespace-space, whitespace-hspace, whitespace-tab)
590 (whitespace-newline, whitespace-trailing, whitespace-line)
591 (whitespace-space-before-tab, whitespace-indentation)
592 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
593 obsolete defvars.
594 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
595 (whitespace-color-on): Use a single font-lock-add-keywords call.
596 Fix double-evaluation of face variables.
597
598 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
599
600 * net/tramp-adb.el (tramp-adb-parse-device-names):
601 Use `start-process' instead of `call-process'. Otherwise, the
602 function might be blocked under MS Windows. (Bug#13299)
603
604 2013-03-17 Leo Liu <sdl.web@gmail.com>
605
606 Extend eldoc to display info in the mode-line. (Bug#13978)
607 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
608 (eldoc-mode-line-string): New variable.
609 (eldoc-minibuffer-message): New function.
610 (eldoc-message-function): New variable.
611 (eldoc-message): Use it.
612 (eldoc-display-message-p)
613 (eldoc-display-message-no-interference-p):
614 Support eldoc-post-insert-mode.
615
616 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
617 (eval-expression): Run it.
618
619 2013-03-17 Roland Winkler <winkler@gnu.org>
620
621 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
622 strings in the list of return values.
623
624 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
625
626 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
627 radix before checking for HMS forms.
628
629 2013-03-16 Leo Liu <sdl.web@gmail.com>
630
631 * progmodes/scheme.el: Add indentation and font-locking for λ.
632 (Bug#13975)
633
634 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
637 token before point (bug#13942).
638
639 2013-03-16 Leo Liu <sdl.web@gmail.com>
640
641 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
642
643 2013-03-16 Eli Zaretskii <eliz@gnu.org>
644
645 * startup.el (command-line-normalize-file-name): Fix handling of
646 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
647 <xfq.free@gmail.com> in
648 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
649
650 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
651
652 Sync with Tramp 2.2.7.
653
654 * net/trampver.el: Update release number.
655
656 2013-03-14 Tassilo Horn <tsdh@gnu.org>
657
658 * doc-view.el Fix bug#13887.
659 (doc-view-insert-image): Don't modify overlay associated to
660 non-live windows, and implement horizontal centering of image in
661 case it's smaller than the window.
662 (doc-view-new-window-function): Force redisplay of new windows on
663 doc-view buffers.
664
665 2013-03-13 Karl Fogel <kfogel@red-bean.com>
666
667 * saveplace.el (save-place-alist-to-file): Don't sort
668 `save-place-alist', just pretty-print it (bug#13882).
669
670 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
671
672 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
673 whether `default-file-name-coding-system' is bound. It isn't in
674 XEmacs.
675
676 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
679 backquotes for `obsolete' (bug#13929).
680
681 * international/mule.el (find-auto-coding): Include file name in
682 obsolescence warning (bug#13922).
683
684 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
685
686 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
687 for CFEngine 3-specific indentation.
688 (cfengine3-indent-line): Use it. Fix up category regex.
689 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
690
691 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * type-break.el (type-break-file-name):
694 * textmodes/remember.el (remember-data-file):
695 * strokes.el (strokes-file):
696 * shadowfile.el (shadow-initialize):
697 * saveplace.el (save-place-file):
698 * ps-bdf.el (bdf-cache-file):
699 * progmodes/idlwave.el (idlwave-config-directory):
700 * net/quickurl.el (quickurl-url-file):
701 * international/kkc.el (kkc-init-file-name):
702 * ido.el (ido-save-directory-list-file):
703 * emulation/viper.el (viper-custom-file-name):
704 * emulation/vip.el (vip-startup-file):
705 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
706 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
707
708 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
709
710 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
711 * language/thai-word.el: Switch to UTF-8.
712
713 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
716
717 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
718
719 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
720 Use with-current-buffer and don't move point.
721 (net-utils-run-simple): Remove useless code.
722 (net-utils-remove-ctl-m): Remove unused custom.
723
724 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
725
726 * international/characters.el (glyphless-set-char-table-range): New fun.
727 (update-glyphless-char-display): Use it (bug#13744).
728
729 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
730
731 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
732 namespaces in the syntax, indent closer for hanging brace
733 correctly, allow single-quote delimited 'strings', and make
734 `cfengine3-mode' the default.
735
736 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
737
738 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
739 Use lexical-binding. Fix up docstring according to conventions.
740 (gdbmi-debug-mode): New var.
741 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
742 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
743 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
744 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
745 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
746 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
747 (gdbmi-bnf-incomplete-record-result): New functions.
748 (gdb-car<): Remove function.
749 (gdbmi-record-list): Remove variable.
750 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
751 (gdbmi-bnf-result-state-configs): New const.
752 (gud-gdbmi-marker-filter): Rewrite.
753 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
754 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
755 Add `token' argument.
756 (gdb-done, gdb-error): New functions.
757 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
758
759 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * term/xterm.el (xterm--report-background-handler): Don't burp
762 upon timeout.
763 (xterm--version-handler): Extract from terminal-init-xterm.
764 (xterm--query): Don't mishandle timeout. Remove debugging messages.
765 Allow multiple handlers.
766 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
767
768 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
769 (xterm--report-background-handler, xterm--query): New functions.
770 (terminal-init-xterm): Use them.
771
772 2013-03-11 Michael R. Mauger <michael@mauger.com>
773
774 * progmodes/sql.el Version 3.2
775 Please note that my address changed to <michael@mauger.com>;
776 the <mmaug@yahoo.com> address remains active.
777 (sql-connection-alist): Updates documentation to fix bug#13715.
778 (sql-connect): Handle missing `sql-connection-alist' correctly.
779 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
780 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
781 property.
782 (sql-default-value): New function.
783 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
784 values were not used.
785 (sql-rename-buffer): Make sure alternate buffer name has no text
786 properties.
787 (sql-input-sender, sql-execute-feature): Fetch variable with
788 `buffer-local-value' rather than `with-current-buffer'.
789 (sql-*): Use #' function syntax consistently.
790 (sql-*): Use message/error/user-error consistently.
791
792 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * xt-mouse.el (xterm-mouse-event-read): Remove.
795 (xterm-mouse--read-event-sequence-1000)
796 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
797
798 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * term/xterm.el (xterm-function-map): Support format used with
801 formatOtherKeys=1 (bug#13839).
802
803 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
804 (with-no-warnings): Use `declare'.
805
806 * whitespace.el (whitespace-enable-predicate): New variable.
807 (whitespace-enable-predicate): Use it.
808
809 * comint.el (comint-send-input, comint-snapshot-last-prompt)
810 (comint-output-filter, comint-update-fence):
811 Use with-silent-modifications.
812
813 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
814
815 * replace.el (occur-read-regexp-defaults-function): New var.
816 (occur-read-regexp-defaults): New defun.
817 (occur-read-primary-args): Propagate above change (bug#13892).
818
819 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * mouse.el (mouse-drag-track): Remove left-over debugging code.
822
823 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
824
825 Major rewrite due to changed D-Bus interface of GVFS 1.14.
826
827 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
828 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
829 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
830 New defconst.
831 (tramp-gvfs-file-name-handler-alist) [directory-files]
832 [directory-files-and-attributes, file-exists-p, file-modes]:
833 Use Tramp default handler.
834 [file-acl, file-selinux-context, process-file, set-file-acl]:
835 [set-file-modes, set-file-selinux-context, shell-command]:
836 [start-file-process]: Remove handler.
837 [verify-visited-file-modtime]: New handler.
838 (tramp-gvfs-dbus-string-to-byte-array)
839 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
840 calls of `dbus-string-to-byte-array' and
841 `tramp-gvfs-dbus-byte-array-to-string'.
842 (tramp-gvfs-handle-copy-file)
843 (tramp-gvfs-handle-delete-directory)
844 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
845 (tramp-gvfs-handle-file-directory-p)
846 (tramp-gvfs-handle-file-executable-p)
847 (tramp-gvfs-handle-file-name-all-completions)
848 (tramp-gvfs-handle-file-readable-p)
849 (tramp-gvfs-handle-file-writable-p)
850 (tramp-gvfs-handle-insert-directory)
851 (tramp-gvfs-handle-insert-file-contents)
852 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
853 (tramp-gvfs-handle-set-visited-file-modtime)
854 (tramp-gvfs-handle-write-region): Rewrite.
855 (tramp-gvfs-handle-file-acl)
856 (tramp-gvfs-handle-file-selinux-context)
857 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
858 (tramp-gvfs-handle-set-file-modes)
859 (tramp-gvfs-handle-set-file-selinux-context)
860 (tramp-gvfs-handle-shell-command)
861 (tramp-gvfs-handle-start-file-process)
862 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
863 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
864 over the symlinks. Fix user handling.
865 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
866 of the D-Bus signals.
867 (tramp-gvfs-connection-mounted-p): Handle different names of the
868 D-Bus methods.
869 (tramp-gvfs-mount-spec-entry): New defun.
870 (tramp-gvfs-mount-spec): Use it.
871 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
872 there is a share name. Handle different names of the D-Bus
873 signals and methods. Set connection properties needed for
874 `tramp-check-cached-permissions'.
875 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
876 Return t or nil.
877
878 * net/tramp.el (tramp-backtrace): Move up.
879 (tramp-error): Dump a backtrace into the debug buffer when
880 `tramp-verbose > 9.
881 (tramp-file-mode-type-map, tramp-file-mode-from-int)
882 (tramp-file-mode-permissions, tramp-get-local-uid)
883 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
884 tramp-sh.el.
885
886 * net/tramp-sh.el (tramp-file-mode-type-map)
887 (tramp-check-cached-permissions, tramp-file-mode-from-int)
888 (tramp-file-mode-permissions, tramp-get-local-uid)
889 (tramp-get-local-gid): Move to tramp.el.
890
891 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 Separate mouse-1-click-follows-link from mouse-drag-region.
894 * mouse.el (mouse--down-1-maybe-follows-link): New function.
895 (key-translation-map): Use it to implement mouse-1-click-follows-link.
896 (mouse-drag-line, mouse-drag-track):
897 Remove mouse-1-click-follows-link code.
898 (mouse--remap-link-click-p): Remove.
899
900 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
901
902 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
903 (hi-lock-read-regexp-defaults): New defun.
904 (hi-lock-line-face-buffer, hi-lock-face-buffer)
905 (hi-lock-face-phrase-buffer): Propagate above change.
906 Update docstring (bug#13892).
907
908 * subr.el (find-tag-default-as-regexp): New defun.
909 * replace.el (read-regexp): Propagate above change.
910
911 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
912
913 * calc/calc-units.el (calc-convert-units): Fix the way that default
914 new units are stored.
915
916 2013-03-07 Matthias Meulien <orontee@gmail.com>
917
918 * bookmark.el: Define a face to highlight bookmark names in
919 bookmark menu buffers, where the default is a bold face similarly
920 to buffer names in buffer menu buffers.
921 (bookmark-menu-bookmark): New face to highlight bookmark names.
922 (bookmark-insert-location): Remove duplicated text property to
923 conform to buffer list (see `list-buffers').
924 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
925 `bookmark-menu-bookmark' to bookmark names.
926
927 2013-03-07 Matthias Meulien <orontee@gmail.com>
928 Karl Fogel <kfogel@red-bean.com>
929
930 * bookmark.el: Display the bookmark list header similarly to the
931 buffer list header (see `list-buffers'), where the default is now
932 an immovable/immutable header line.
933 (bookmark-bmenu-use-header-line): New variable.
934 (bookmark-bmenu-inline-header-height): New name for
935 `bookmark-bmenu-header-height', to avoid confusion with the code
936 for the new immovable header. All references changed.
937 (bookmark-bmenu-set-header): New function.
938 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
939 Conditionalize header construction accordingly.
940 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
941 the inline header height.
942 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
943 Conditionalize the skipping of the inline header height.
944
945 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
946
947 * progmodes/js.el (js--multi-line-declaration-indentation):
948 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
949
950 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
951
952 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
953 Only propertize regexp when not inside a string (Bug#13885).
954
955 2013-03-06 Alan Mackenzie <acm@muc.de>
956
957 Correct the position of point in some line-up functions.
958 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
959 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
960 point at column 0 rather than at a random place in the line.
961
962 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
963
964 * net/tramp-compat.el (tramp-compat-delete-directory):
965 Implement TRASH argument.
966
967 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
968
969 Keep pre-existing highlighting in completion candidates (Bug#13250).
970 * minibuffer.el (completions-first-difference): State that the
971 face is "added" in the docstring.
972 (completions-common-part): Same. And don't inherit from default.
973 (completion-hilit-commonality): Prepend 'completions-common-part
974 and 'completion-first-difference faces to the 'face property,
975 instead of replacing the value(s).
976 (completion--insert-strings): Same with 'completions-annotations face.
977 (completion-hilit-commonality): Use 'face instead of
978 'font-lock-face, because it gets priority if the completion
979 strings already have 'face set.
980
981 2013-03-04 Alan Mackenzie <acm@muc.de>
982
983 Replace `last-command-event' by `last-command-char' in XEmacs.
984 * progmodes/cc-defs.el (c-last-command-char): New macro.
985 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
986 (c-semi&comma-no-newlines-before-nonblanks)
987 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
988 in place of `last-command-event'.
989 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
990 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
991 (c-electric-paren, c-electric-continued-statement): Use the new
992 macro in place of `last-command-event'.
993
994 2013-03-04 Glenn Morris <rgm@gnu.org>
995
996 * files.el (inhibit-local-variables-regexps):
997 Add .diff and .patch. (Bug#13862)
998
999 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1000
1001 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1002 whether the "su" command is available on the device.
1003
1004 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1005
1006 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1007 (tramp-adb-handle-process-file): Remove superfluous setting.
1008 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1009 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1010 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1011
1012 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1015 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1016 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1017 Use dict-key rather than dict-name for the error message.
1018
1019 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1020
1021 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1022 when reverting (bug#13831).
1023
1024 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1025
1026 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1027 Always expand affix-file before storing to protect against changed
1028 `default-directory'.
1029 (ispell-print-if-debug): Make sure message is printed at the end
1030 of the debug buffer.
1031
1032 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1033
1034 * net/tramp.el (tramp-obsolete-methods): New defconst.
1035 (tramp-warned-obsolete-methods): New defvar.
1036 (tramp-find-method): Check for obsolete methods. Map them to a
1037 replacement method if appropriate.
1038
1039 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1040 Remove methods.
1041 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1042 "ssh2" and "plink1".
1043
1044 2013-02-28 Dale Sedivec <dale@codefu.org>
1045
1046 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1047 Return valid syntax-table property value when converting
1048 quotes within text from string syntax to punctuation syntax (bug#13844).
1049
1050 2013-02-28 Juri Linkov <juri@jurta.org>
1051
1052 * dired-aux.el (dired-diff): If file at point is a backup file,
1053 use its original as the default value, and reverse the order
1054 of arguments to the `diff' call. Doc fix. (Bug#13772)
1055
1056 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1057
1058 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1059 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1060
1061 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1062
1063 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1064
1065 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1066 Ask hunspell about available and default dictionaries.
1067 (ispell-parse-hunspell-affix-file): Extract relevant info from
1068 hunspell affix file.
1069 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1070 `ispell-dictionary-alist' entry for given dictionary after info
1071 provided by `ispell-parse-hunspell-affix-file'.
1072 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1073 of parsed hunspell dicts and associated affix files.
1074 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1075 of parsed hunspell dicts and associated parameters.
1076 (ispell-set-spellchecker-params):
1077 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1078 previously done.
1079 (ispell-start-process):
1080 Call `ispell-hunspell-fill-dictionary-entry' for current
1081 dictionary if it is not initialized.
1082
1083 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * imenu.el: Comment nitpicks.
1086
1087 2013-02-28 Sam Steingold <sds@gnu.org>
1088
1089 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1090 See <http://stackoverflow.com/questions/14720205>.
1091
1092 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1093
1094 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1095 (net-utils-mode): Use it.
1096 (net-utils--revert-cmd): New var.
1097 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1098 (traceroute): Use net-utils-run-simple.
1099
1100 2013-02-28 Glenn Morris <rgm@gnu.org>
1101
1102 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1103
1104 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1107 (doc-view-fallback-mode): Remove overlays here.
1108 (doc-view-toggle-display): Instead of here. Don't throw away
1109 image-mode-winprops-alist.
1110 (doc-view-goto-page): Don't mess with hscroll.
1111
1112 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1113
1114 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1115 &optional (bug#13819).
1116
1117 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1118
1119 * net/tramp-adb.el (tramp-adb-parse-device-names)
1120 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1121
1122 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1123
1124 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1125 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1126 defined. POSIX environments fall back to the "C" locale then and
1127 emit a warning, which shall be suppressed.
1128
1129 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1132 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1133
1134 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1137
1138 2013-02-25 Juri Linkov <juri@jurta.org>
1139
1140 * replace.el (read-regexp): Let-bind `default' to the first
1141 element of `defaults' if it's a list, otherwise it should be
1142 a string or nil. Let-bind `suggestions' to `defaults' if it's
1143 a list, otherwise make a list with the string value. Doc fix.
1144 (Bug#13805)
1145
1146 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1147
1148 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1149 that match "\`\.#", to avoid compiling lock files, even if they
1150 are readable (as they are on MS-Windows).
1151
1152 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * files.el (basic-save-buffer): Remove redundant directory-creation.
1155
1156 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1157
1158 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1159 Add option to force `pi' to remain symbolic.
1160 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1161 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1162 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1163 derivatives, when necessary.
1164
1165 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1166
1167 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1168 (ps-mode-octal-region): Use string-make-unibyte.
1169
1170 2013-02-23 Glenn Morris <rgm@gnu.org>
1171
1172 * emulation/viper-cmd.el (viper-submit-report):
1173 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1174 * progmodes/vera-mode.el (vera-mode-help-address):
1175 * textmodes/artist.el (artist-maintainer-address):
1176 * textmodes/reftex.el (reftex-report-bug):
1177 * vc/ediff-util.el (ediff-submit-report):
1178 Add bug-gnu-emacs to bug report address.
1179
1180 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1181 Remove bug report entries.
1182 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1183
1184 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1185 (byte-compile-file, byte-compile-from-buffer):
1186 Use separate input/output buffers for each level of recursive
1187 byte-compile-file calls. (Bug#13787)
1188
1189 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1190
1191 * net/tramp.el (tramp-methods): Fix docstring.
1192 (tramp-ssh-controlmaster-options): Rename it from
1193 `tramp-ssh-controlmaster-template'. Return a string.
1194 (tramp-default-method): Adapt check for
1195 `tramp-ssh-controlmaster-options'.
1196
1197 * net/tramp-sh.el (tramp-methods):
1198 Replace `tramp-ssh-controlmaster-template' by "%c".
1199 (tramp-do-copy-or-rename-file-out-of-band)
1200 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1201 that it is applied for the first hop only.
1202
1203 2013-02-22 Juri Linkov <juri@jurta.org>
1204
1205 * isearch.el (isearch-lazy-highlight-new-loop):
1206 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1207 to `isearch-other-end' if it is not nil. (Bug#13402)
1208
1209 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1210 to `match-beg'.
1211
1212 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1213 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1214 and `isearch-error' to nil.
1215
1216 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1217
1218 * progmodes/python.el (python-info-current-defun):
1219 Enhance match-data cluttering prevention.
1220
1221 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1222
1223 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1224
1225 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1226 Handle multibyte file names.
1227
1228 2013-02-22 Glenn Morris <rgm@gnu.org>
1229
1230 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1231 (sgml-transformation-function): Give it a :set function.
1232 (sgml-tag): Doc fix.
1233
1234 * cmuscheme.el (scheme-buffer):
1235 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1236 * progmodes/tcl.el (inferior-tcl-buffer):
1237 * textmodes/tex-mode.el (tex-command): Doc fixes.
1238
1239 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1240
1241 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1242
1243 2013-02-21 Bastien Guerry <bzg@gnu.org>
1244
1245 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1246
1247 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1248
1249 * progmodes/python.el (python-info-current-defun):
1250 Enhance match-data cluttering prevention.
1251
1252 2013-02-21 Glenn Morris <rgm@gnu.org>
1253
1254 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1255 loaded while outline-regexp is let bound. (Bug#9584)
1256
1257 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1258
1259 * progmodes/python.el (python-info-current-defun): Fix failed
1260 defun name retrieval because of unwanted match-data cluttering.
1261
1262 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1263
1264 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1265 defconst. Apply independent check for ControlPersist.
1266
1267 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1268 temporarily, via "env".
1269
1270 2013-02-21 Glenn Morris <rgm@gnu.org>
1271
1272 * info.el (Info-enable-edit): Remove.
1273 (Info-edit): Disable it rather than using Info-enable.
1274 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1275 (Info-cease-edit): Make editing of Info files obsolete.
1276
1277 * informat.el (Info-tagify):
1278 Handle buffers not visiting files. (Bug#13763)
1279
1280 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1281
1282 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1283
1284 2013-02-21 Glenn Morris <rgm@gnu.org>
1285
1286 * files.el (basic-save-buffer): Move check for existing parent
1287 directory after hooks. (Bug#13773)
1288
1289 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * simple.el (command-execute): Move from C. Add obsolete check.
1292 (extended-command-history): Move from C.
1293
1294 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1295
1296 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1297 (jka-compr-mode-alist-additions): Handle .txz suffix for
1298 XZ-compressed tar archives (bug#13770).
1299
1300 2013-02-20 Bastien Guerry <bzg@gnu.org>
1301
1302 * outline.el (outline-regexp, outline-heading-end-regexp):
1303 Make variables, not options (bug#13731).
1304
1305 2013-02-20 Glenn Morris <rgm@gnu.org>
1306
1307 * image.el (image-current-frame): Change from variable to function.
1308 (image-show-frame): Rename from image-nth-frame. Update callers.
1309 * image-mode.el (image-multi-frame): New variable.
1310 (image-mode-map, image-mode, image-goto-frame):
1311 Use image-multi-frame rather than image-current-frame.
1312 (image-mode, image-goto-frame): Use image-current-frame as
1313 function rather than as variable.
1314
1315 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1316 * emacs-lisp/cl-macs.el (cl--make-type-test)
1317 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1318
1319 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1320
1321 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1322 (tramp-get-file-property, tramp-set-file-property)
1323 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1324 (tramp-flush-file-property, tramp-flush-directory-property):
1325 Rename argument to KEY.
1326 (tramp-flush-connection-property): Simplify a little bit.
1327 (tramp-connection-property-p): New defun.
1328 (top): Reapply saved values only if there isn't a corresponding
1329 entry in `tramp-connection-properties'.
1330
1331 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1332
1333 * progmodes/python.el (python-indent-context):
1334 Fix python-info-line-ends-backslash-p call.
1335 (python-info-line-ends-backslash-p)
1336 (python-info-beginning-of-backslash): Respect line-number argument.
1337 (python-info-current-line-comment-p):
1338 Fix behavior when not at beginning-of-line.
1339 (python-util-position): Remove function.
1340 (python-util-goto-line): New function.
1341
1342 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * eshell/em-unix.el (eshell/su): Require tramp.
1345 (eshell/sudo): Require tramp. Remove now unnecessary check.
1346
1347 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1348 `tramp-current-connection' in order to avoid an error when several
1349 commands are invoked in a short time in eshell and friends.
1350
1351 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 Cleanup some of EIEIO's namespace.
1354 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1355 Use it to define all the class-* and object-* field accessors (renamed
1356 to eieio--class-* and eieio--object-*). Update all uses.
1357 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1358 class-num-slots and object-num-slots.
1359 (eieio--check-type): New macro.
1360 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1361 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1362 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1363 (object-assoc-list-safe): Use it.
1364 (eieio-defclass): Tighten regexp.
1365 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1366 Remove unreachable code.
1367 (object-class-fast): Declare obsolete.
1368 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1369 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1370 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1371 Rename from class-name, object-name, object-set-name-string,
1372 object-class, object-class-name, class-parents, class-children,
1373 class-precedence-list, class-parent; with obsolete alias.
1374 (class-of, class-direct-superclasses, class-direct-subclasses):
1375 Declare obsolete.
1376 (eieio-defmethod): Use `memq'; remove unreachable code.
1377 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1378 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1379 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1380
1381
1382 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1383
1384 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1385 commentary.
1386
1387 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1388
1389 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1390 Use font-lock-keyword-face for macros and special forms (bug#8345).
1391
1392 2013-02-17 Didier Verna <didier@didierverna.net>
1393
1394 * net/network-stream.el (network-stream-open-starttls):
1395 Check that response to the starttls-command is non-nil. (Bug#13706)
1396
1397 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1400 Don't assume all identifier chars have syntax word.
1401 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1402 Remove bar-not-symbol. Adjust callers.
1403 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1404
1405 2013-02-17 Leo Liu <sdl.web@gmail.com>
1406
1407 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1408
1409 2013-02-17 Glenn Morris <rgm@gnu.org>
1410
1411 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1412
1413 * image-mode.el (image-mode-map): Add image-dired menu entry.
1414
1415 * image-dired.el (tumme): Make this alias obsolete.
1416
1417 2013-02-16 Glenn Morris <rgm@gnu.org>
1418
1419 * image.el (image-animated-types): Remove.
1420 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1421 (image-animated-p): Make obsolete alias.
1422 (image-animate, image-nth-frame, image-animate-timeout):
1423 Use image-multi-frame-p.
1424 (image-animate-timeout): If no delay, use image-default-frame-delay.
1425 * image-mode.el (image-mode, image-toggle-animation):
1426 Use image-multi-frame-p. (Bug#763, bug#10739)
1427 (image-mode): Adjust startup message for a multi-frame image.
1428
1429 * image-mode.el (image-mode-map): Give it a menu.
1430
1431 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1432
1433 * net/tramp-cache.el (tramp-connection-properties): New customer
1434 option.
1435 (tramp-get-connection-property): Use it.
1436
1437 * net/tramp-compat.el (top): Require 'trampver.
1438
1439 * net/tramp-sh.el (tramp-remote-process-environment):
1440 Set tramp-autoload cookie.
1441
1442 2013-02-16 Kevin Ryde <user42@zip.com.au>
1443
1444 * info-look.el (info-lookup-select-mode): If major-mode has no
1445 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1446
1447 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1448
1449 * replace.el (read-regexp): Tighten the regexp that matches tag.
1450 When tag is retrieved with `find-tag-default', use regexp that
1451 matches tag at point. Also update docstring (Bug#13687).
1452
1453 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1454
1455 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1456 add watch for the file, not its parent directory, since w32notify
1457 sets up the watch for the directory internally. (Bug#13725)
1458
1459 2013-02-16 Glenn Morris <rgm@gnu.org>
1460
1461 * image.el (image-default-frame-delay): New variable.
1462 (image-animated-p): Use image-default-frame-delay.
1463 (image-minimum-frame-delay): New constant.
1464 (image-animate-timeout): Use image-minimum-frame-delay.
1465
1466 * image.el (image-nth-frame): New, split from image-animate-timeout.
1467 (image-animate-timeout): Use image-nth-frame.
1468 * image-mode.el (image-goto-frame, image-next-frame)
1469 (image-previous-frame): New commands.
1470 (image-mode-map): Add new frame commands.
1471
1472 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1473
1474 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1475 If col-desc already has help-echo, use it. (Bug#13563)
1476
1477 2013-02-16 Glenn Morris <rgm@gnu.org>
1478
1479 * image.el (image-current-frame): New variable.
1480 (image-animate-timeout): Set image-current-frame.
1481 * image-mode.el (image-mode): For animated images,
1482 display a frame counter via mode-line-process.
1483
1484 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1485
1486 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1487
1488 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1489
1490 2013-02-15 Alan Mackenzie <acm@muc.de>
1491
1492 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1493 global minor mode has been enabled, call the minor mode function
1494 for a new buffer once only, after the major mode hook, whilst
1495 allowing that hook explicitly to disable the minor mode.
1496 (MODE-disable-in-buffer): New (generated) function.
1497 (disable-MODE): New (generated) buffer local variable.
1498
1499 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1500
1501 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1502 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1503 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1504 `ido-next-match' and `ido-prev-match' resply.
1505 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1506 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1507 `icomplete-backward-completions' (Bug#13708).
1508
1509 2013-02-15 Glenn Morris <rgm@gnu.org>
1510
1511 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1512
1513 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1516 (goto-address-fontify-region): Use them instead of narrowing, so
1517 syntax-ppss has access to the whole buffer.
1518
1519 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1520
1521 * progmodes/python.el: Explain how to restore "cc-mode"-like
1522 forward-sexp movement in header documentation (Bug#13642).
1523 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1524 comments and strings (GH bug 114).
1525
1526 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1527
1528 * progmodes/python.el (python-info-current-defun): Fix current
1529 defun detection (Bug#13618).
1530
1531 2013-02-15 Chong Yidong <cyd@gnu.org>
1532
1533 * xml.el (xml-parse-string): Fix typo in handling of bad character
1534 references.
1535
1536 2013-02-15 Glenn Morris <rgm@gnu.org>
1537
1538 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1539
1540 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1541
1542 * net/tramp.el (tramp-debug-message):
1543 Add `tramp-condition-case-unless-debug'.
1544 (tramp-debug-on-error): New defvar.
1545 (tramp-condition-case-unless-debug): New defun.
1546 (tramp-file-name-handler): Use it.
1547
1548 2013-02-14 Juri Linkov <juri@jurta.org>
1549
1550 * info.el (Info-isearch-filter): Treat non-nil values of
1551 `search-invisible' including its default value `open'
1552 like the value `t' to match hidden text. (Bug#13402)
1553
1554 2013-02-14 Glenn Morris <rgm@gnu.org>
1555
1556 * help-fns.el (find-lisp-object-file-name): Give special treatment
1557 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1558
1559 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1560
1561 * net/quickurl.el (quickurl-save-urls):
1562 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1563
1564 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1565
1566 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1567 depth for unfinished percent literal. Not using it in the caller.
1568 (ruby-move-to-block): Jump over multiline literals of all types,
1569 ignoring code-looking contents inside them.
1570 (ruby-add-log-current-method): Improve performance at the expense
1571 of accuracy. `ruby-block-contains-point' is relatively slow, so
1572 only use it for method and singleton class blocks.
1573
1574 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1575
1576 Use ControlMaster where applicable. (Bug#13677)
1577
1578 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1579 replacing `tramp-detect-ssh-controlmaster'.
1580 (tramp-default-method): Use it.
1581
1582 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1583 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1584 arguments.
1585 [scpc, rsyncc]: Remove methods.
1586 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1587 and "ssh2_old".
1588 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1589 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1590
1591 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * emacs-lisp/package.el (package--initialized): Move before first use.
1594
1595 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1596
1597 * icomplete.el (icomplete-hide-common-prefix): New user option.
1598 (icomplete-first-match): New face.
1599 (icomplete-completions): Correct handling of "complete but not
1600 unique" (Bug#12638).
1601
1602 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1603
1604 * descr-text.el (describe-char): Display the script (bug#13698).
1605
1606 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * tmm.el: Use lexical-binding and current-active-maps.
1609 (tmm-menubar): Use map-keymap and pcase.
1610 (tmm--completion-table): New function.
1611 (tmm-prompt): Use it to fix the menu order.
1612 (tmm-get-keybind): Use current-active-maps.
1613
1614 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1615
1616 Add dired-hide-details-mode. (Bug#6799)
1617
1618 * locate.el (locate-mode): Set parent mode property to dired-mode.
1619
1620 * find-dired.el (find-dired): Call dired-insert-set-properties on
1621 initial information line. Set process mark on end of buffer.
1622 (find-dired-sentinel):
1623 Call dired-insert-set-properties on summary.
1624
1625 * dired.el (dired-hide-details-hide-symlink-targets)
1626 (dired-hide-details-hide-information-lines): New options.
1627 (dired-insert-directory):
1628 Set properties after final treatment of output.
1629 (dired-insert-set-properties):
1630 Set dired-hide-details-* properties.
1631 (dired-mode-map): Bind dired-hide-details-mode.
1632 (dired-mode): Set buffer-invisibility-spec to a list.
1633 (dired-next-line): Skip hidden lines.
1634 (dired-previous-line): Use dired-next-line.
1635 (dired-hide-details-mode): New minor mode.
1636 (dired-hide-details-update-invisibility-spec): New function.
1637
1638 2013-02-13 Glenn Morris <rgm@gnu.org>
1639
1640 * play/yow.el: Move to obsolete/. (Bug#9384)
1641
1642 2013-02-13 Juri Linkov <juri@jurta.org>
1643
1644 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1645 to select `ediff-control-frame' and set input focus correctly on Xfce.
1646 (Bug#12218)
1647
1648 2013-02-13 Juri Linkov <juri@jurta.org>
1649
1650 * image-mode.el (image-mode-map):
1651 * doc-view.el (doc-view-mode-map):
1652 * vc/ediff-util.el (ediff-setup-keymap):
1653 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1654
1655 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1656
1657 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1658 performance. Instead of recalculating indentation fully for each
1659 line, sum up indentation depth based only on visited lines.
1660 (ruby-parse-partial): Increase the depth after "do" even when END
1661 is right after it.
1662 (ruby-parse-partial): When END is in the middle of a percent
1663 literal, increase the depth if the delimiter chars belong to the
1664 paren syntax class.
1665
1666 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1667
1668 * play/fortune.el (fortune-compile): Also make the compiled file
1669 if it does not exist at all, not just if it is old. (Bug#5338)
1670
1671 2013-02-13 Glenn Morris <rgm@gnu.org>
1672
1673 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1674
1675 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1676
1677 * lisp/emacs-lisp/package.el (package-menu-execute):
1678 Add optional noquery argument. (Bug#13625)
1679
1680 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1681
1682 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1683 if DIR exists and PARENTS is non-nil.
1684
1685 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1686
1687 * progmodes/js.el (js--multi-line-declaration-indentation):
1688 Silence byte-compiler warning.
1689
1690 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1691
1692 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1693
1694 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1695 only if it doesn't exist.
1696
1697 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1698 Set process marker.
1699
1700 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1701
1702 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1703 UserInstallation when calling soffice to work around LibreOffice
1704 bug 37531.
1705
1706 2013-02-12 Glenn Morris <rgm@gnu.org>
1707
1708 * files.el (basic-save-buffer):
1709 Offer to create a non-existing directory. (Bug#3016)
1710
1711 * calc/calc-graph.el (calc-graph-show-dumb):
1712 * calendar/calendar.el (calendar-mode-map):
1713 * cus-edit.el (custom-mode-map):
1714 * ehelp.el (electric-help-map):
1715 * emulation/vip.el (vip-mode-map):
1716 * epa.el (epa-key-list-mode-map):
1717 * info.el (Info-mode-map):
1718 * mail/rmail.el (rmail-mode-map):
1719 * mail/rmailsum.el (rmail-summary-mode-map):
1720 * man.el (Man-mode-map):
1721 * net/newst-plainview.el (newsticker-mode-map):
1722 * progmodes/cpp.el (cpp-edit-mode-map):
1723 * progmodes/grep.el (grep-mode-map):
1724 * progmodes/idlw-help.el (idlwave-help-mode-map):
1725 * simple.el (special-mode-map):
1726 * startup.el (splash-screen-keymap):
1727 * view.el (view-mode-map):
1728 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1729
1730 2013-02-11 Elias Pipping <pipping@lavabit.com>
1731
1732 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1733 (bug#13679).
1734
1735 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1738
1739 2013-02-11 Glenn Morris <rgm@gnu.org>
1740
1741 * vc/diff.el (diff-use-labels): New variable.
1742 (diff-no-select): Use --label rather than -L, and first
1743 check that it is supported. (Bug#11067)
1744
1745 * files.el (enable-dir-local-variables): New variable.
1746 (hack-dir-local-variables): Respect enable-dir-local-variables.
1747 * tutorial.el (help-with-tutorial):
1748 Ignore directory-local variables. (Bug#11127)
1749
1750 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1751 (vc-svn-global-switches): ... to here. (Bug#13513)
1752
1753 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1754
1755 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1756 Handle "foo (bar, default: xxx): " prompts.
1757
1758 2013-02-10 Chong Yidong <cyd@gnu.org>
1759
1760 * files.el (basic-save-buffer-1): Do not set
1761 buffer-file-coding-system-explicit (Bug#4533).
1762
1763 * mail/emacsbug.el (report-emacs-bug): Change binding of
1764 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1765
1766 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1767
1768 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1769 * calc/calc-units.el (calc-convert-units): Use new variable.
1770
1771 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1772
1773 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1774
1775 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1776 buffer-file-type.
1777
1778 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1779 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1780 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1781 coding-system-for-write instead.
1782
1783 * jka-compr.el (jka-compr-write-region): Don't bind
1784 buffer-file-type.
1785
1786 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1787 buffer-file-type.
1788
1789 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1790 (insert-file-contents-literally): Remove reference to
1791 file-name-buffer-file-type-alist.
1792
1793 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1794 make-obsolete.
1795 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1796 (find-buffer-file-type-coding-system): Remove references to
1797 find-buffer-file-type-match, find-buffer-file-type, and
1798 buffer-file-type.
1799 Don't put find-buffer-file-type-coding-system into
1800 file-coding-system-alist.
1801 (find-file-binary, find-file-text): Bind coding-system-for-read
1802 instead of file-name-buffer-file-type-alist.
1803
1804 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1805
1806 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1807 converter (Bug#13622).
1808 (doc-view-unoconv-program): Make obsolete alias.
1809 (doc-view-odf->pdf-converter-program): New variable.
1810 (doc-view-odf->pdf-converter-function): New variable.
1811 (doc-view-mode-p): Use it.
1812 (doc-view-odf->pdf-converter-unoconv):
1813 Rename from `doc-view-odf->pdf-converter-unoconv'.
1814 (doc-view-odf->pdf-converter-soffice): New function.
1815 (doc-view-convert-current-doc):
1816 Use `doc-view-odf->pdf-converter-function'.
1817
1818 2013-02-09 Chong Yidong <cyd@gnu.org>
1819
1820 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1821 view-echo-area-messages (Bug#13340).
1822
1823 * help.el (view-echo-area-messages): Use display-buffer.
1824
1825 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1826 (Bug#13561).
1827
1828 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1831 Eval body right away, now that we do eager macroexpansion (bug#13605).
1832
1833 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1834 (fundamental-mode): Use run-mode-hooks.
1835
1836 * eshell/esh-proc.el (eshell/kill): Fix last change.
1837 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1838
1839 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1840
1841 * eshell/esh-proc.el (eshell/kill): Rewrite.
1842
1843 * eshell/em-ls.el (show-almost-all): Declare.
1844 (eshell-do-ls): Add support for -A argument.
1845
1846 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1847
1848 * icomplete.el (icomplete-forward-completions)
1849 (icomplete-backward-completions): Handle corner case (bug#13602).
1850
1851 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1852
1853 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1854 be nil. Handle this. (Bug#13636)
1855
1856 2013-02-07 Richard Stallman <rms@gnu.org>
1857
1858 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1859 `save-buffer-coding-system'.
1860
1861 2013-02-07 Alan Mackenzie <acm@muc.de>
1862
1863 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1864 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1865 (c-parse-state-get-strategy): Don't return 'BOD any more.
1866 (c-append-lower-brace-pair-to-state-cache):
1867 Extra parameter HERE instead of narrowing.
1868 Widen to top of buffer before searching backwards for a brace pair.
1869 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1870 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1871 Narrow to parameter HERE, in place of being called narrowed.
1872 (c-remove-stale-state-cache): Extra parameter HERE in place of
1873 narrowing. Check there's an open brace in the cache before
1874 searching for its match.
1875 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1876 (c-parse-state-1): Don't narrow here for 'forward strategy,
1877 instead passing extra parameter HERE to several functions.
1878 Remove 'BOD strategy.
1879
1880 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1881
1882 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1883 used to install the package.
1884
1885 2013-02-06 Glenn Morris <rgm@gnu.org>
1886
1887 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1888 if we can't get user input. (Bug#6567)
1889
1890 * startup.el (command-line): If simple.el is missing,
1891 test and warn about for some possible causes.
1892
1893 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1894
1895 * cus-start.el (all): Add ns-use-native-fullscreen.
1896
1897 2013-02-05 Glenn Morris <rgm@gnu.org>
1898
1899 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1900
1901 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1902 Fix directory creation in fallback case.
1903
1904 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1905
1906 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1907 (vc-update-change-log): Use dolist.
1908
1909 2013-02-04 Chong Yidong <cyd@gnu.org>
1910
1911 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1912 code from ffap.el.
1913 (thing-at-point-beginning-of-url-regexp): New var.
1914 (thing-at-point-uri-schemes): Update list of URI schemes.
1915 (thing-at-point-url-regexp): Variable deleted.
1916 (thing-at-point-markedup-url-regexp): Disallow newlines.
1917 (thing-at-point-newsgroup-regexp)
1918 (thing-at-point-newsgroup-heads)
1919 (thing-at-point-default-mail-uri-scheme): New variables.
1920 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1921 method to find the possible bounds of the URI at point.
1922 New optional argument to find ill-formed URIs.
1923 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1924 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1925 the scheme-adding heuristics from ffap-url-at-point.
1926 (thing-at-point--bounds-of-well-formed-url): New function.
1927 Do parens matching to decide whether to include parens in the URI
1928 (Bug#9153).
1929
1930 * ffap.el: Require thingatpt.
1931 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1932 All URI-valid characters are now recognized (Bug#5673).
1933 (ffap-string-at-point): Use use-region-p.
1934 (ffap-url-regexp): Extra character is handled by thing-at-point.
1935 (ffap-string-at-point-mode-alist): Allow parentheses.
1936 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1937 Convert to aliases; code moved to thingatpt.el.
1938 (ffap-gnus-hook): Use setq-local.
1939
1940 2013-02-04 Glenn Morris <rgm@gnu.org>
1941
1942 * emacs-lisp/ert.el (ert--explain-format-atom):
1943 Don't try to print non-characters as characters. (Bug#13543)
1944
1945 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1946
1947 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1948 (tramp-backtrace): New defun.
1949 (tramp-handle-insert-file-contents): Use `visit' when inserting
1950 the local copy.
1951
1952 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
1953 Use `remote-file-name-inhibit-cache'.
1954
1955 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
1958 (bug#13614).
1959
1960 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
1961 current-load-list (bug#13366).
1962
1963 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
1964
1965 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1966 Identify g++ template instantiation trace. (Bug#12287)
1967 (compilation-mode-hook, compilation-start-hook)
1968 (compilation-window-height): Simplify docstrings. (Bug#13379)
1969
1970 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * mouse.el (mouse-drag-track): Always deactivate the mark before
1973 running the final event's command since that command is in charge of
1974 activating the mark if needed (bug#13523).
1975
1976 2013-02-02 Juri Linkov <juri@jurta.org>
1977
1978 * replace.el (perform-replace): Move let-bindings of isearch-*
1979 variables deeper to the loop that searches for the next match.
1980 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
1981 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
1982 (Bug#13579)
1983
1984 * isearch.el (isearch-search-fun-default): Check for null
1985 first element of isearch-cmds as a precaution when it's used
1986 with inactive isearch.
1987
1988 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
1989
1990 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
1991 error when buffer in question is narrowed so position 1 is out of
1992 visible part.
1993
1994 2013-02-02 Glenn Morris <rgm@gnu.org>
1995
1996 * textmodes/remember.el (remember-clipboard): Doc fix.
1997
1998 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1999
2000 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2001 properties (bug#13179).
2002
2003 2013-02-02 Juri Linkov <juri@jurta.org>
2004
2005 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2006 instead of hard-coded default face `match'. (Bug#9438)
2007
2008 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2009
2010 * vc/vc-arch.el (vc-arch-registered):
2011 * vc/vc-bzr.el (vc-bzr-registered):
2012 * vc/vc-cvs.el (vc-cvs-registered):
2013 * vc/vc-git.el (vc-git-registered):
2014 * vc/vc-hg.el (vc-hg-registered):
2015 * vc/vc-mtn.el (vc-mtn-registered):
2016 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2017 (Bug#13139)
2018
2019 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2020 prefix argument. (Bug#11656)
2021
2022 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2025
2026 2013-02-01 Glenn Morris <rgm@gnu.org>
2027
2028 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2029 if the backend is known not to support it.
2030
2031 * imenu.el (imenu-default-create-index-function):
2032 Tweak infinite loop test to check for forward motion as well as none.
2033
2034 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2035
2036 * net/soap-client.el (soap-invoke): Encode the string for
2037 `url-request-data' as UTF-8.
2038 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2039
2040 2013-02-01 Glenn Morris <rgm@gnu.org>
2041
2042 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2043
2044 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2045
2046 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2047
2048 * net/tramp.el (tramp-tramp-file-p): Comment check for
2049 `string-as-unibyte'. The function does not exist on XEmacs, and
2050 likely we need another approach.
2051
2052 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2053 `tramp-gw-*' variables are bound.
2054
2055 2013-01-31 Glenn Morris <rgm@gnu.org>
2056
2057 * files.el (basic-save-buffer-2): Choose coding system for
2058 writing the file before backing it up, to reduce delay between
2059 backing up and writing the new version. (Bug#13522)
2060
2061 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2062
2063 * simple.el (cycle-spacing): New command.
2064 (just-one-space): Use it.
2065
2066 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2069 (opascal-newline-always-indents): Remove custom.
2070 (opascal-tab, opascal-newline): Remove commands.
2071 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2072 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2073 (opascal-save-match-data): Remove, use save-match-data instead.
2074 (opascal-save-state): Use with-silent-modifications.
2075
2076 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2077 (bug#13585).
2078
2079 2013-01-30 Juri Linkov <juri@jurta.org>
2080
2081 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2082 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2083 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2084
2085 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2088 column if we're just deleting the backslashes.
2089 (makefile-fill-paragraph): Use eolp.
2090
2091 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2092
2093 * autorevert.el (auto-revert-use-notify): Fix docstring.
2094
2095 2013-01-30 Leo Liu <sdl.web@gmail.com>
2096
2097 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2098
2099 2013-01-30 Glenn Morris <rgm@gnu.org>
2100
2101 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2102 unread-command-events twice in some cases. This tries to implement
2103 the 2012-07-26 changes in a different way. (Bug#13560)
2104
2105 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2106
2107 * progmodes/python.el
2108 (python-pdbtrack-comint-output-filter-function): Enhancements on
2109 stacktrace detection. (thanks @gnovak)
2110
2111 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2114 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2115 Use defvar-local.
2116 (jit-lock-register): Use setq-local.
2117
2118 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2119
2120 * calc-units.el (math-default-units-table): Remove initial value.
2121 (calc-convert-units): Treat expressions where all the units cancel as
2122 if they didn't have units.
2123
2124 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2125
2126 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2127 (tramp-completion-reread-directory-timeout): Fix type.
2128 (tramp-connection-min-time-diff): New defcustom.
2129
2130 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2131
2132 2013-01-30 Glenn Morris <rgm@gnu.org>
2133
2134 * imenu.el (imenu-default-create-index-function):
2135 Put back a version of the infinite loop test removed 2013-01-23.
2136
2137 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2138
2139 * progmodes/python.el (python-shell-parse-command):
2140 Find python-shell-interpreter with modified environment.
2141
2142 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2145
2146 2013-01-29 Alan Mackenzie <acm@muc.de>
2147
2148 Amend to fontify /regexp/s in actions correctly.
2149 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2150 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2151 are no longer included.
2152 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2153 What used to be these variables without "-line" in the name.
2154 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2155 (c-awk-non-arith-op-bra-re): Now also matches {.
2156 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2157 "return", and "case".
2158 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2159 by /.
2160 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2161 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2162
2163 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2164
2165 * autorevert.el (auto-revert-use-notify):
2166 Use `custom-initialize-default' for initialization. (Bug#13583)
2167
2168 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2169
2170 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2171 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2172 in `tramp-file-name-handler'.
2173 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2174 compatibility.
2175 (tramp-compute-multi-hops): Check, whether
2176 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2177
2178 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2179
2180 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2181 (bug#13297).
2182
2183 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2184
2185 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2186 checks made superfluous by the \_< operator.
2187 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2188 temporarily) broken indentation.
2189 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2190 Highlight nested constants, too. \_< broke that.
2191
2192 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2193
2194 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2195 instead of "\\b".
2196
2197 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2198
2199 * autorevert.el (auto-revert-handler): Notifications which result
2200 from a saved file shall not be taken into account. (Bug#13557)
2201
2202 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2203
2204 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2205 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2206 (lisp-mode): Pass t for it. (Bug#13556)
2207
2208 2013-01-25 Alan Mackenzie <acm@muc.de>
2209
2210 AWK Mode: Fix indentation bug at top level. Bug #12274.
2211
2212 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2213 just before CASE 5D.
2214
2215 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2216
2217 * net/socks.el (socks-nslookup-host): Use string-to-number.
2218
2219 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2220
2221 * autorevert.el (auto-revert-remote-files)
2222 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2223 (auto-revert-notify-enabled, auto-revert-use-notify)
2224 (auto-revert-notify-watch-descriptor-hash-list)
2225 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2226 (auto-revert-notify-event-descriptor)
2227 (auto-revert-notify-event-action)
2228 (auto-revert-notify-event-file-name): Doc fix.
2229 (global-auto-revert-mode): Reorder checks.
2230 (auto-revert-notify-rm-watch): Respect changed values of
2231 `auto-revert-notify-watch-descriptor-hash-list'.
2232 (auto-revert-notify-add-watch): Check for
2233 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2234 `inotify-add-watch'. Watch `default-directory' instead of
2235 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2236 has a changed meaning now. (Bug#13540)
2237 (auto-revert-notify-handler): Change implementation wrt events
2238 returning from a directory.
2239 (auto-revert-handler): Reorder implementation for checks of remote
2240 files.
2241 (auto-revert-buffers): Fix parentheses error.
2242
2243 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2244
2245 * progmodes/python.el: Enhancements to header documentation about
2246 skeletons. (Bug#5716)
2247
2248 * imenu.el (imenu-default-create-index-function): Remove useless
2249 infinite loop check. (Bug#13438)
2250
2251 2013-01-25 Alan Mackenzie <acm@muc.de>
2252
2253 Fix a bug in the state cache mechanism. Refactor this a bit.
2254
2255 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2256 `cache-pos' element from the return value.
2257 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2258 buffer to enable proper searching from beyond HERE. Amend the
2259 test for detecting the sought brace pair. Amend the value written
2260 to the "brace desert cache" when the brace isn't found.
2261 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2262 and several other variables analogously.
2263 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2264 parameter to a locally calculated variable.
2265 (c-parse-state-1): Change the calling conventions to the two
2266 defuns involving `cache-pos'.
2267
2268 2013-01-25 Chong Yidong <cyd@gnu.org>
2269
2270 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2271
2272 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2273
2274 * paren.el (show-paren-function): Make sure to set 'priority and
2275 'face only if the overlay does exist.
2276
2277 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2278
2279 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2280
2281 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2282 basic attributes.
2283 (tramp-sh-handle-set-file-acl): Improve error checking.
2284
2285 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2286
2287 * doc-view.el (doc-view-display): Force mode line update until all
2288 document is converted. Suggested by Stefan Monnier (Bug#13164).
2289
2290 2013-01-23 Bastien Guerry <bzg@gnu.org>
2291
2292 * paren.el (show-paren-function): Make sure an overlay exists
2293 before trying to delete it. Also use `pos' as a position only
2294 when it is an integer.
2295
2296 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2297
2298 * play/gametree.el (gametree-break-line-here): Use point-marker.
2299
2300 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2301
2302 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2303 Mark descriptive parts with `display' property.
2304
2305 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2306
2307 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2308 New variable to map standard dict names to hunspell ones.
2309 (ispell-set-spellchecker-params): Make sure specific dict names
2310 are used for standard dicts with hunspell.
2311
2312 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2313
2314 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2315 chars for note (%N) and url (%U).
2316 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2317
2318 2013-01-21 Juri Linkov <juri@jurta.org>
2319
2320 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2321 in addition to existing separate binding `meta f10' in `global-map'.
2322 (Bug#13484)
2323
2324 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2325
2326 Improve XEmacs compatibility.
2327
2328 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2329
2330 * net/tramp-adb.el (top): Require `time-date'.
2331 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2332 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2333 Use `tramp-file-name-handler'.
2334 (tramp-adb-maybe-open-connection):
2335 Use `tramp-compat-set-process-query-on-exit-flag'.
2336
2337 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2338 Use `tramp-compat-funcall'.
2339
2340 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2341 `tramp-compat-funcall'.
2342
2343 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2344
2345 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2346 reimplementation using "adb shell command ..." instead of running
2347 remote shell interactively.
2348
2349 2013-01-20 Glenn Morris <rgm@gnu.org>
2350
2351 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2352 Add native profiler menu entries.
2353
2354 * profiler.el (profiler-running-p): New function.
2355 (profiler-cpu-profile): Use profiler-running-p.
2356 (profiler-report-mode-map): Add some more menu entries.
2357
2358 2013-01-19 Glenn Morris <rgm@gnu.org>
2359
2360 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2361 fixes 2012-12-07 change. (Bug#13499)
2362
2363 2013-01-19 Leo Liu <sdl.web@gmail.com>
2364
2365 * dired.el (dired-get-marked-files): Prune erroneous values due to
2366 last change. (Bug#13152)
2367
2368 2013-01-19 Glenn Morris <rgm@gnu.org>
2369
2370 * progmodes/etags.el (tags-table-check-computed-list):
2371 Preserve point in tags buffer. (Bug#13412)
2372
2373 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2374
2375 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2376 Chong Yidong <cyd@gnu.org>
2377
2378 * image-mode.el (image-next-file, image-previous-file):
2379 New commands (Bug#8453).
2380 (image-mode-map): Bind them to n and p.
2381 (image-mode--images-in-directory): New helper function.
2382
2383 2013-01-19 Chong Yidong <cyd@gnu.org>
2384
2385 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2386 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2387 save and restore the old window configuration.
2388
2389 2013-01-18 Leo Liu <sdl.web@gmail.com>
2390
2391 * progmodes/js.el: Tweak autoload cookie for alias.
2392
2393 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2394
2395 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2396 buffer local, again. This was lost with the fix on 2013-01-12.
2397
2398 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2399
2400 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2401 order to support several eshell buffers in parallel.
2402
2403 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2404
2405 * autorevert.el (auto-revert-use-notify): In the :set function, do
2406 not modify `kill-buffer-hook'.
2407 (auto-revert-notify-rm-watch):
2408 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2409 (auto-revert-notify-add-watch): Do not call
2410 `auto-revert-notify-rm-watch', but add it to a buffer local
2411 `kill-buffer-hook'.
2412
2413 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2414
2415 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2416 call to `eval' rather than a backquoted lambda.
2417
2418 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2421 to return an explicit nil.
2422 (advice--remove-function): Change accordingly.
2423
2424 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2425 the use of nadvice.el.
2426
2427 * progmodes/which-func.el (which-function): Silence imenu errors
2428 (bug#13433).
2429
2430 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2431
2432 * progmodes/sql.el: (sql-imenu-generic-expression):
2433 (sql-mode-font-lock-object-name): Match schema qualified names.
2434 (sql-connect): Use string keys.
2435 (sql-product-interactive): Wait for interpreter prompt.
2436 (sql-comint-oracle): Set process coding based on NLS_LANG.
2437
2438 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2439
2440 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2441 (sql-interactive-remove-continuation-prompt):
2442 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2443
2444 2013-01-14 Leo Liu <sdl.web@gmail.com>
2445
2446 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2447 (Bug#13420)
2448
2449 2013-01-14 Glenn Morris <rgm@gnu.org>
2450
2451 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2452 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2453
2454 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2455
2456 * progmodes/python.el (python-nav-end-of-statement):
2457 Fix cornercase when handling multiline strings.
2458
2459 2013-01-13 Richard Stallman <rms@gnu.org>
2460
2461 * mail/sendmail.el (mail-position-on-field): Add doc string.
2462
2463 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2464 Get current message boundaries and pass them to
2465 message-forward-make-body-mime. Minor style changes.
2466
2467 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2468
2469 * cus-start.el (all): Avoid warnings about
2470 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2471
2472 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2473
2474 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2475
2476 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2479 (jit-lock--debug-fontifying): New var.
2480 (jit-lock--debug-fontify): New function.
2481 * subr.el (condition-case-unless-debug): Don't prevent catching the
2482 error, just let the debbugger run.
2483 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2484 timer code and don't drop errors silently.
2485
2486 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2487
2488 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2489 `permanent-local' property.
2490 (auto-revert-notify-handler): Use `file-equal-p'.
2491
2492 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2493
2494 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2495 file notification by ACTION. For filtering by file name, compare
2496 only the non-directory part of the file name.
2497
2498 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * autorevert.el: Use cl-lib instead of cl.
2501
2502 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2503 (vc-bzr-checkin): Use it.
2504 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2505 will preserve match-data.
2506
2507 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2508
2509 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2510 (js--declaration-keyword-re): New var.
2511 (js--multi-line-declaration-indentation): New function.
2512 (js--proper-indentation): Use it.
2513
2514 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2515
2516 * calc/calc.el (calc-highlight-selections-with-faces)
2517 (calc-dispatch):
2518 * comint.el (comint-history-isearch-message):
2519 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2520 * ffap.el (ffap-string-at-point-region, ffap-next)
2521 (ffap-string-at-point, ffap-string-around)
2522 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2523 (ffap-literally):
2524 * font-lock.el (font-lock-keywords-alist)
2525 (font-lock-removed-keywords-alist):
2526 * help-mode.el (help-xref-symbol-regexp):
2527 * info.el (Info-find-emacs-command-nodes):
2528 * international/mule.el (add-to-coding-system-list):
2529 * isearch.el (isearch-message-function, isearch-fail-pos):
2530 * misearch.el (multi-isearch-next-buffer-function):
2531 * newcomment.el (comment-box):
2532 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2533 (pr-setting-database):
2534 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2535 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2536 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2537 (pike-font-lock-keywords-3):
2538 * progmodes/compile.el (compile):
2539 * progmodes/etags.el (tags-table-files)
2540 (tags-table-files-function, tags-included-tables-function):
2541 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2542 (gdb-restore-windows):
2543 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2544 (ps-n-up-filling-database):
2545 * server.el (server-buffer, server-log):
2546 * simple.el (newline, delete-backward-char, delete-forward-char)
2547 (minibuffer-history-isearch-message, kill-line, track-eol)
2548 (temporary-goal-column):
2549 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2550 (flyspell-default-deplacement-commands):
2551 * textmodes/ispell.el (ispell-accept-output):
2552 * textmodes/sgml-mode.el (html-tag-help):
2553 * vc/compare-w.el (compare-ignore-whitespace)
2554 (compare-ignore-case, compare-windows-dehighlight):
2555 * vc/diff.el (diff):
2556 * whitespace.el (whitespace-point)
2557 (whitespace-font-lock-refontify, whitespace-bob-marker)
2558 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2559
2560 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2561
2562 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2563 (auto-revert-notify-rm-watch): Ignore errors.
2564 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2565 inotify, and '(size last-write-time) for w32notify.
2566 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2567 watch fails - this is a fallback to the file modification check.
2568 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2569 (auto-revert-notify-event-action)
2570 (auto-revert-notify-event-file-name): New defuns.
2571 (auto-revert-notify-handler): Use them. Implement first
2572 plausibility checks.
2573 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2574
2575 2013-01-11 Julien Danjou <julien@danjou.info>
2576
2577 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2578 max are almost equal. Also return the correct value for V which is
2579 already between 0 and 1.
2580
2581 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2582
2583 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2584
2585 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2586
2587 * autorevert.el (auto-revert-notify-rm-watch)
2588 (auto-revert-notify-add-watch): Fix typos in w32notify function
2589 names.
2590
2591 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2592
2593 * autorevert.el (auto-revert-notify-enabled): Move up.
2594 (auto-revert-use-notify): New defcustom.
2595 (auto-revert-mode, global-auto-revert-mode)
2596 (auto-revert-notify-add-watch, auto-revert-handler)
2597 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2598 `auto-revert-notify-enabled'.
2599
2600 2013-01-10 Elias Pipping <pipping@exherbo.org>
2601
2602 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2603 * doc-view.el (doc-view-document->bitmap):
2604 Use doc-view-single-page-converter-function instead of
2605 single-page-converter arg; adjust callers.
2606
2607 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2608
2609 * progmodes/which-func.el (which-function): Understand Semantic's use
2610 of overlays in imenu--index-alist.
2611
2612 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2613
2614 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2615 (Man-man-k-use-anchor): New var.
2616 (Man-parse-man-k): New function.
2617 (Man-completion-table): Use it.
2618 (man): Flush the completion cache between uses.
2619
2620 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2621
2622 * autorevert.el: Add file watch support.
2623 (auto-revert-notify-enabled): New defconst.
2624 (auto-revert-notify-watch-descriptor-hash-list)
2625 (auto-revert-notify-watch-descriptor)
2626 (auto-revert-notify-modified-p): New defvars.
2627 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2628 (auto-revert-notify-handler): New defuns.
2629 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2630 when mode is disabled.
2631 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2632 (auto-revert-buffers): Add file watches for active buffers.
2633
2634 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2635
2636 * cus-start.el (toplevel): Only allow float values for
2637 scroll-up-aggressively and scroll-down-aggressively.
2638 Allow any number for line-spacing.
2639
2640 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2641
2642 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2643 (doc-view-pdf->png-converter-function): Use mupdf if available.
2644 (doc-view-djvu->png-converter-function)
2645 (doc-view-ps->png-converter-function): Remove.
2646 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2647 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2648 (doc-view-already-converted-p): Adjust accordingly.
2649 (doc-view-mode-p): Simplify.
2650 (doc-view-enlarge): Use setq-local.
2651 (doc-view-pdf->png-converter-ghostscript)
2652 (doc-view-djvu->png-converter-ddjvu)
2653 (doc-view-pdf->png-converter-mupdf): Rework to call
2654 doc-view-start-process directly.
2655 (doc-view-pdf/ps->png): Simplify accordingly.
2656 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2657 (doc-view-document->bitmap): Rename from doc-view-document->png.
2658 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2659 (doc-view-set-slice-from-bounding-box): Fix completion table.
2660 (doc-view-mode): Use add-hook for after-revert-hook.
2661
2662 2013-01-10 Glenn Morris <rgm@gnu.org>
2663
2664 * emacs-lisp/authors.el (authors-ignored-files)
2665 (authors-valid-file-names, authors-renamed-files-alist):
2666 Add some more entries.
2667
2668 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2671 `t' pseudo-window entry.
2672
2673 2013-01-10 Alan Mackenzie <acm@muc.de>
2674
2675 Fix bugs in the c-parse-state mechanism. Reuse some markers
2676 instead of continually generating new ones.
2677
2678 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2679 (c-state-old-cpp-end-marker): New variables.
2680 (c-append-lower-brace-pair-to-state-cache): Start a backward
2681 search for "}" definitively outside CPP constructs.
2682 (c-remove-stale-state-cache): Inform the caller of a need to
2683 search back for a brace pair in certain circumstances.
2684 (c-state-maybe-marker): New macro.
2685 (c-parse-state): Reuse markers when appropriate.
2686
2687 2013-01-10 Glenn Morris <rgm@gnu.org>
2688
2689 * simple.el (execute-extended-command): Doc fix.
2690 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2691
2692 2013-01-10 Chong Yidong <cyd@gnu.org>
2693
2694 * faces.el (read-face-name): Doc fix.
2695
2696 2013-01-10 Roland Winkler <winkler@gnu.org>
2697
2698 * emacs-lisp/crm.el: Allow any regexp for separators.
2699 (crm-default-separator): All spaces around the default comma separator.
2700 (crm--completion-command): New macro.
2701 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2702 (crm-complete-and-exit): Handle non-single-char separators.
2703
2704 2013-01-09 Elias Pipping <pipping@lavabit.com>
2705
2706 * doc-view.el: Add support for DjVu (bug#13164).
2707 (doc-view-djvu->png-converter-function): New config var.
2708 (doc-view-single-page-converter-function, doc-view--image-type)
2709 (doc-view--image-file-extension): New vars.
2710 (doc-view-mode): Initialize them.
2711 (doc-view-goto-page): Use them.
2712 (doc-view-mode-p): Add support for ddjvu.
2713 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2714 (doc-view-set-up-single-converter): New funs.
2715 (doc-view-pdf/ps->png): Extend for djvu.
2716 (doc-view-document->png): Rename from doc-view-pdf->png.
2717 (doc-view-convert-current-doc): Handle djvu.
2718 (doc-view-insert-image, doc-view-display)
2719 (doc-view-already-converted-p): Don't hardcode png.
2720 (doc-view-set-doc-type): Recognize djvu docs.
2721
2722 2013-01-09 Elias Pipping <pipping@lavabit.com>
2723
2724 * doc-view.el: Add support for mupdf converter (bug#13164).
2725 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2726 (doc-view-ps->png-converter-function): New config vars.
2727 (doc-view-pdf->png-converter-ghostscript)
2728 (doc-view-ps->png-converter-ghostscript)
2729 (doc-view-pdf->png-converter-mupdf): New functions.
2730 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2731
2732 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2733
2734 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2735 first in session cache: When `tramp-own-remote-path' is in
2736 `tramp-remote-path', the remote path is only set in the session
2737 cache.
2738
2739 2013-01-09 Glenn Morris <rgm@gnu.org>
2740
2741 * emacs-lisp/trace.el (trace-function-foreground)
2742 (trace-function-background): Doc fix.
2743
2744 2013-01-09 Juri Linkov <juri@jurta.org>
2745
2746 * international/mule-cmds.el (read-char-by-name): Move let-binding
2747 of completion-ignore-case around completing-read to fix regression
2748 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2749 `string-match-p' using the nil value of `case-fold-search' and
2750 `completion-ignore-case' in `completion-pcm--all-completions'.
2751 (Bug#12615).
2752
2753 2013-01-09 Glenn Morris <rgm@gnu.org>
2754
2755 * progmodes/compile.el (compilation-parse-errors):
2756 Fix typo. (Bug#13369)
2757
2758 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2759
2760 * comint.el (comint-send-input): Check size of buffer before
2761 waiting for process output, in case already accepted. (Bug#13290)
2762
2763 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2764
2765 Spelling fixes.
2766 * net/tramp-adb.el (tramp-adb-get-toolbox):
2767 Fix misspelling of 'unknown'.
2768
2769 2013-01-08 Juri Linkov <juri@jurta.org>
2770
2771 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2772 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2773 Use underline style wave on terminals that support it. (Bug#13000)
2774
2775 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2778 the predicate returns nil.
2779
2780 * simple.el: Use lexical-binding.
2781 (primitive-undo): Use pcase.
2782 (minibuffer-history-isearch-push-state): Use a closure.
2783
2784 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2785
2786 * simple.el (primitive-undo): Move from undo.c.
2787
2788 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2791 (cvs-mode-remove-handled): Use it (bug#13380).
2792
2793 * emacs-lisp/nadvice.el (advice--tweak): New function.
2794 (advice--remove-function, advice--subst-main): Use it.
2795
2796 * emacs-lisp/advice.el: Update commentary.
2797
2798 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2799
2800 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2801 Remove spurious entry.
2802
2803 2013-01-08 Glenn Morris <rgm@gnu.org>
2804
2805 * net/tramp.el (tramp-default-host-alist): Add :version.
2806
2807 2013-01-08 Juri Linkov <juri@jurta.org>
2808
2809 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2810 single completion. (Bug#12456)
2811 (info--manual-names): Expand node completions into an explicit list
2812 before appending it to another list. Filter out internal buffers
2813 with the leading space in the buffer name. (Bug#10771)
2814
2815 2013-01-08 Juri Linkov <juri@jurta.org>
2816
2817 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2818 that defaults to the Top node.
2819 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2820 the short format (FILENAME) goes to the Top node.
2821 (Info-build-node-completions): Rename arg `file' to `filename'.
2822 (Bug#13365)
2823
2824 2013-01-07 Bastien Guerry <bzg@gnu.org>
2825
2826 * menu-bar.el (menu-bar-search-documentation-menu):
2827 Use `apropos-user-option' and fix the help message.
2828
2829 2013-01-07 Bastien Guerry <bzg@gnu.org>
2830
2831 * apropos.el (apropos-do-all): Update docstring.
2832 (apropos-user-option-button): New face.
2833 (apropos-user-option): Rename from `apropos-variable' and update
2834 docstring.
2835 (apropos-variable): Rewrite, now show all variables by default.
2836 (apropos-print): Mention "User option" instead of "Variable" when
2837 printing doc for user options. (Bug#13276)
2838
2839 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2840
2841 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2842 Handle filename correctly, when parsing "source -> target" symlink
2843 output.
2844 (tramp-adb-handle-set-file-times): New defun.
2845
2846 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2849 advice list when the interactive-spec of ad-Advice-* changes.
2850
2851 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2852
2853 * wid-edit.el (widget-default-get): Work for inlined elements.
2854 (Bug#12670)
2855
2856 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2857
2858 * net/tramp.el (tramp-default-host-alist): New defcustom.
2859 (tramp-find-host): Use it.
2860 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2861 `eshell-directory-change-hook'.
2862
2863 * net/tramp-adb.el (top): Add adb specific entry in
2864 `tramp-default-host-alist'.
2865 (tramp-adb-file-name-host): Remove function.
2866 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2867 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2868
2869 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2870
2871 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2872
2873 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2874
2875 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2876
2877 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2878 consist of more than one digit.
2879 (tramp-adb-file-name-handler-alist):
2880 Use `tramp-handle-file-exists-p' consistently.
2881 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2882 (tramp-adb-handle-file-exists-p): Remove function.
2883 (tramp-adb-file-name-host): New defun.
2884 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2885 Use it.
2886 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2887
2888 2013-01-06 Chong Yidong <cyd@gnu.org>
2889
2890 * vc/vc.el (vc-next-action): Detect buffer modifications
2891 conflicting with locking VCS operation (Bug#11490).
2892
2893 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2894
2895 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2896
2897 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2898 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2899
2900 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2901
2902 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2903 parsing of ls output using regular expression (handle filenames
2904 with spaces). Use virtual device number.
2905 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2906 cleanup).
2907
2908 2013-01-04 Daiki Ueno <ueno@gnu.org>
2909
2910 * epg.el: Silence byte-compiler warnings.
2911 (epg--start): Use delete-char instead of delete-backward-char.
2912 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2913
2914 2013-01-04 Daiki Ueno <ueno@gnu.org>
2915
2916 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2917 Suggested by Eli Zaretskii <eliz@gnu.org>.
2918
2919 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2920
2921 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2922 non-negative integers. Otherwise, the default values are used.
2923 (tramp-convert-file-attributes): Convert uid and gid to integers.
2924
2925 2013-01-04 Glenn Morris <rgm@gnu.org>
2926
2927 * term.el (term-handle-colors-array): Ensure face attributes
2928 are fully specified, not nil. (Bug#13337)
2929
2930 * term.el (term-default-fg-color, term-default-bg-color):
2931 Fix custom type.
2932
2933 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2934 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2935 rather than 'jka-compr being loaded. (Bug#13338)
2936
2937 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2938
2939 * icomplete.el (icomplete-completions):
2940 Honor icomplete-prospects-height once more following
2941 2012-11-29 changes. (Bug#13224)
2942
2943 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2946 of called-interactively-p as well (bug#13237).
2947
2948 * view.el (view--enable, view--disable): Rename from view-mode-enable
2949 and view-mode-disable and assume it's called from view-mode.
2950 (view-mode-enable, view-mode-disable): Redefine as obsolete
2951 compatibility layer above view-mode.
2952 (view-mode-enter): Call `view-mode'.
2953
2954 * files.el (after-find-file): Call `view-mode'.
2955
2956 * doc-view.el (doc-view-scale-internally): New var.
2957 (doc-view-enlarge, doc-view-insert-image): Obey it.
2958
2959 2013-01-03 Daiki Ueno <ueno@gnu.org>
2960
2961 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
2962 exist. (Bug#13344)
2963
2964 2013-01-03 Glenn Morris <rgm@gnu.org>
2965
2966 * mail/rmail.el (rmail-set-header-1): Ignore case.
2967 Handle multi-line headers. (Bug#13330)
2968
2969 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
2970 Handle paragraph starting at beginning of buffer.
2971
2972 * subr.el (eval-after-load): Don't purecopy the form, so that it
2973 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
2974
2975 * emacs-lisp/byte-run.el (defun): Place cl declarations
2976 after any interactive spec. (Bug#13265)
2977
2978 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
2979
2980 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
2981 defun. Don't check for DECL if DOCSTRING isn't a string.
2982 (defun): Likewise.
2983
2984 2013-01-02 Glenn Morris <rgm@gnu.org>
2985
2986 * eshell/em-cmpl.el (eshell-pcomplete):
2987 More thoroughly imitate pcomplete. (Bug#13293)
2988
2989 * files.el (parse-colon-path): Doc fix. (Bug#12351)
2990 Return nil for empty path elements. (Bug#13296)
2991
2992 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
2993
2994 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
2995 order to improve efficiency (Based on Daniel Colascione's
2996 <dancol@dancol.org> patch). (Bug#13182)
2997
2998 2013-01-02 Glenn Morris <rgm@gnu.org>
2999
3000 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3001
3002 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3003
3004 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3005 neither DOCSTRING nor DECL was given. (Bug#13316)
3006
3007 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3008
3009 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3010 `error' call.
3011 (tramp-do-copy-or-rename-file): Ignore errors when calling
3012 `set-file-extended-attributes'.
3013
3014 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3015 Add handler for `file-acl'.
3016 (tramp-smb-handle-file-acl): New defun.
3017
3018 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3019
3020 * calc/README: Mention ISO 8601 week-numbering dates.
3021
3022 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3023
3024 * view.el (view-mode-enable): New argument run-view-mode-hook.
3025 Run view-mode-hook only when it's non-nil (Bug#13315).
3026 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3027 argument t.
3028
3029 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3030
3031 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3032 (No device connected, invalid device name). (Bug #13299)
3033
3034 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3035
3036 * window.el (window-resizable--p): Rename to window-resizable-p.
3037 (window-resize-no-error): New function.
3038
3039 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3040 broken in fix from 2012-12-28.
3041
3042 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * subr.el (special-form-p): Don't signal errors on undef aliases.
3045
3046 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3047
3048 * calc/calc-forms.el (math-parse-date): Try using
3049 `math-parse-iso-date' when it looks like it might be needed.
3050 Allow times of 24:00.
3051 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3052 of 24:00.
3053
3054 2012-12-30 Glenn Morris <rgm@gnu.org>
3055
3056 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3057 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3058 (rmail-summary-displayed, rmail-summary): Declare.
3059 (mairix-rmail-display): Just require rmail.
3060
3061 2012-12-30 Chong Yidong <cyd@gnu.org>
3062
3063 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3064 check for the tarball contents.
3065
3066 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3067
3068 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3069 tarfile content listings (Bug#13136).
3070
3071 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3072
3073 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3074 Insert the undecoded text of the message being forwarded. (Bug#9521)
3075
3076 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3077
3078 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3079 integers, if they are real numbers. (Bug#13282)
3080
3081 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3082 Return `t' on success.
3083
3084 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3085 Add handler for `set-file-selinux-context'.
3086
3087 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3088
3089 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3090 (tramp-sh-handle-set-file-acl): Return `t' on success.
3091
3092 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3093
3094 * files.el (backup-buffer-copy, basic-save-buffer-2):
3095 If set-file-extended-attributes fails, fall back on set-file-modes
3096 instead of signaling an error. (Bug#13298)
3097 (basic-save-buffer): Likewise.
3098
3099 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3100
3101 * progmodes/python.el: Support other commands triggering
3102 python-indent-line so indentation cycling continues to work.
3103 (python-indent-trigger-commands): New defcustom.
3104 (python-indent-line): Use it.
3105
3106 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3107
3108 * progmodes/python.el (python-shell-send-region): Add blank lines
3109 for non sent code so backtraces remain correct.
3110
3111 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3112
3113 * progmodes/python.el: Remove cl dependency.
3114 (python-syntax-count-quotes): Replace incf call.
3115 (python-fill-string): Replace setf call.
3116
3117 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3118
3119 * info.el (info-other-window): New arg, for consistency with info.
3120
3121 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3122
3123 * mail/rmail.el (rmail-maybe-display-summary):
3124 Rewrite (Bug#13066).
3125
3126 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3127
3128 * epg.el (epg--start): Modify process-environment locally.
3129
3130 2012-12-28 Daiki Ueno <ueno@gnu.org>
3131
3132 * epg.el: Support pinentry-curses.
3133 Suggested by Werner Koch in
3134 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3135 (epg-agent-file, epg-agent-mtime): New variable.
3136 (epg--start): Record the modified time of gpg-agent socket file,
3137 to restore Emacs frame after pinentry-curses termination.
3138 (epg-wait-for-completion): Restore Emacs frame here.
3139
3140 2012-12-27 Juri Linkov <juri@jurta.org>
3141
3142 * info.el (Info-file-completions): New variable.
3143 (Info-read-node-name-1): Complete node names in the Info file
3144 when a file name is given. Call `Info-build-node-completions'
3145 with a file name.
3146 (Info-build-node-completions): Add new arg `file'. When it is
3147 non-nil, visit it in a temporary buffer and cache its completions in
3148 `Info-current-file-completions'. Move most of the function body to
3149 `Info-build-node-completions-1'.
3150 (Info-build-node-completions-1): New function with the body from
3151 `Info-build-node-completions'. (Bug#12456)
3152
3153 2012-12-27 Juri Linkov <juri@jurta.org>
3154
3155 * frame.el (frame-maximization-style): Remove user option.
3156 (cycle-frame-maximized): Remove function.
3157 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3158 (toggle-frame-fullscreen): New command bound to <f11> instead of
3159 `toggle-frame-maximized'.
3160 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3161
3162 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3163
3164 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3165
3166 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3167 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3168 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3169 for `file-accessible-directory-p'. (Bug#13275)
3170
3171 2012-12-27 Sam Steingold <sds@gnu.org>
3172
3173 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3174 continuations, see <http://stackoverflow.com/questions/3582436>.
3175
3176 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3177
3178 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3179 "module" and "def" to have indentation before them.
3180 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3181
3182 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3183
3184 2012-12-27 Alan Mackenzie <acm@muc.de>
3185
3186 Speed up fontification where there's large brace blocks.
3187 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3188 to a call of c-beginning-of-decl-1.
3189
3190 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3191
3192 * comint.el (comint-adjust-window-point): New function.
3193 (comint-postoutput-scroll-to-bottom):
3194 Call comint-adjust-window-point (Bug#13248).
3195
3196 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3197
3198 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3199 Rakefile regexp.
3200 (auto-mode-alist): Associate .gemspec files with ruby-mode
3201 (https://bugs.ruby-lang.org/issues/5453).
3202
3203 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3204
3205 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3206 Suppress coloring, if possible (required for BusyBox based systems like
3207 CyanogenMod).
3208 (tramp-adb-handle-file-attributes)
3209 (tramp-adb-handle-insert-directory)
3210 (tramp-adb-handle-file-name-all-completions): Use it.
3211 (tramp-adb-get-toolbox): New defun. Check for remote shell
3212 implementation (BusyBox or Toolbox).
3213
3214 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3215
3216 * startup.el (initial-buffer-choice): Allow function as value
3217 (Bug#13251).
3218 (command-line-1): Handle case where initial-buffer-choice
3219 specifies a function.
3220 * server.el (server-execute): Handle case where
3221 initial-buffer-choice specifies a function.
3222
3223 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3224
3225 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3226 its own function.
3227 (smtpmail-try-auth-methods): Forget the user name/password if the
3228 login is unsuccessful (bug#12424).
3229
3230 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3231
3232 * notifications.el (notifications-notify): Protect body with
3233 `with-demoted-errors'.
3234
3235 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3236 Check properties of remote device. Restart connection, if there is a
3237 change.
3238
3239 2012-12-21 Chong Yidong <cyd@gnu.org>
3240
3241 * sort.el (sort-subr): Doc fix (Bug#13056).
3242
3243 2012-12-21 Bastien Guerry <bzg@gnu.org>
3244
3245 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3246
3247 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * simple.el (process-file): Overwrite stderr file, if exists.
3250
3251 2012-12-21 Daiki Ueno <ueno@gnu.org>
3252
3253 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3254 (epg-error): Set `error-message' property.
3255
3256 2012-12-21 Chong Yidong <cyd@gnu.org>
3257
3258 * international/mule-cmds.el (read-char-by-name): Signal an error
3259 if the user does not supply a valid character (Bug#13177).
3260
3261 * simple.el (transpose-subr-1): Preserve marker positions by
3262 changing the insertion sequence (Bug#13122).
3263
3264 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3265
3266 * simple.el (kill-region): Deactivate mark even for empty regions
3267 (Bug#13169).
3268
3269 2012-12-21 Chong Yidong <cyd@gnu.org>
3270
3271 * help-fns.el (describe-variable): Make sure we get the right
3272 buffer name (Bug#13105). Suggested by Kelly Dean.
3273
3274 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3275
3276 * comint.el (comint-redirect-previous-input-string): New variable.
3277 (comint-redirect-setup, comint-redirect-cleanup)
3278 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3279 (comint-redirect-preoutput-filter): Fix verbose message.
3280
3281 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3282
3283 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3284 is too long for Tramp. See discussion in
3285 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3286
3287 * progmodes/compile.el (compilation-start): Remove line escape
3288 template.
3289
3290 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3291
3292 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3293 Adjust comment.
3294
3295 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3296
3297 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3298 following non-comment text (bug#13207).
3299 (lm-header-multiline): Continuation lines need to be indented more than
3300 the first line.
3301 (lm-homepage): New function.
3302 (lm-with-file): Don't be confused if narrowing is in effect.
3303
3304 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3305
3306 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3307 very beginning of a hunk (e.g. killing the first line).
3308
3309 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3310
3311 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3312 and text properties from returned ACL string.
3313 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3314 for "setfacl" command.
3315
3316 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3317
3318 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3319 `tramp-cleanup-this-connection', when the process has died.
3320 (Bug#13151)
3321
3322 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3323
3324 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3325
3326 2012-12-17 Kevin Ryde <user42@zip.com.au>
3327
3328 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3329
3330 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3331
3332 Add support for preserving ACL entries of files.
3333
3334 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3335 `set-file-acl' handlers.
3336
3337 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3338 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3339
3340 * net/tramp-compat.el (tramp-compat-copy-file):
3341 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3342
3343 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3344 Add `file-acl' and `set-file-acl' handlers.
3345 (tramp-gvfs-handle-copy-file):
3346 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3347 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3348 New defuns.
3349
3350 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3351 Add `file-acl' and `set-file-acl' handlers.
3352 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3353 (tramp-sh-handle-set-file-acl): New defuns.
3354 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3355 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3356
3357 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3358 Add `file-acl' and `set-file-acl' handlers.
3359 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3360
3361 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3362
3363 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3364 use pop-to-buffer with NORECORD argument t. As buffer name, use
3365 *Metahelp* with a leading space (Bug#13190).
3366
3367 2012-12-16 Romain Francoise <romain@orebokech.com>
3368
3369 * files.el (file-extended-attributes)
3370 (set-file-extended-attributes): New functions.
3371 (backup-buffer): Use them to handle both SELinux context and ACL
3372 entries.
3373 (backup-buffer-copy): Work with an alist of extended attributes,
3374 rather than an SELinux context.
3375 (basic-save-buffer-2): Ditto.
3376
3377 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3378
3379 * battery.el (battery-bsd-apm): New function.
3380
3381 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3382
3383 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3384 standard date formats.
3385
3386 2012-12-15 Juri Linkov <juri@jurta.org>
3387
3388 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3389 `isearch-insert-char-by-name'.
3390 (with-isearch-suspended): New defmacro with body mostly from
3391 `isearch-edit-string' except the part that sets
3392 `isearch-new-string' and `isearch-new-message'.
3393 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3394 body that sets `isearch-new-string' and `isearch-new-message'.
3395 (isearch-insert-char-by-name): New command.
3396 * international/mule-cmds.el (read-char-by-name): Let-bind
3397 `enable-recursive-minibuffers' to t.
3398 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3399
3400 2012-12-15 Juri Linkov <juri@jurta.org>
3401
3402 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3403 (Bug#13175)
3404
3405 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3406
3407 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3408 the prompt. (Bug#13045)
3409
3410 2012-12-14 Glenn Morris <rgm@gnu.org>
3411
3412 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3413 Try to include filename in non-bytecomp warning. (Bug#13132)
3414
3415 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3416
3417 Fix permissions bugs with setgid directories etc. (Bug#13125)
3418 * files.el (backup-buffer): Don't rely on 9th output of
3419 file-attributes, as it's now a placeholder. Instead, use the new
3420 optional arg of file-ownership-preserved-p.
3421 (file-ownership-preserved-p): New optional arg GROUP.
3422 Fix mishandling of setuid directories that would cause this
3423 function to return t when it should have returned nil.
3424 Document what happens if the file does not exist, and when
3425 it's not known whether the ownership will be preserved.
3426 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3427 Likewise.
3428 (tramp-get-local-gid): Use group-gid for integer, as that's
3429 faster and more reliable.
3430
3431 2012-12-14 Julien Danjou <julien@danjou.info>
3432
3433 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3434 Update keywords list, data type and PL/pgSQL.
3435
3436 2012-12-14 Dave Abrahams <dave@boostpro.com>
3437
3438 * vc/ediff-util.el (ediff-buffer-type): New function.
3439 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3440 rather than taking it as as argument.
3441 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3442
3443 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3444
3445 * json.el: Add pretty-print option (bug#12634).
3446 (json-encoding-separator, json-encoding-default-indentation)
3447 (json--encoding-current-indentation, json-encoding-pretty-print)
3448 (json-encoding-lisp-style-closings): New vars.
3449 (json--with-indentation): New macro.
3450 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3451 (json-encode-array): Use it to obey json-encoding-pretty-print.
3452 (json-pretty-print-buffer, json-pretty-print): New commands.
3453
3454 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3455
3456 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3457 Extract `ruby-syntax-propertize-expansions'.
3458 (ruby-syntax-propertize-expansions): Only change syntax on
3459 certain string delimiters, to punctuation. This way the common
3460 functions like forward-word and thing-at-point still work.
3461 (ruby-match-expression-expansion): Improve readability.
3462 (ruby-block-contains-point): New function.
3463 (ruby-add-log-current-method): Handle several edge cases.
3464
3465 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3466
3467 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3468 unload-feature finishes even when aborting an ongoing edebug session.
3469 Also, do not worry about edebug-mode, unload-feature takes care of it.
3470
3471 2012-12-13 Andreas Schwab <schwab@suse.de>
3472
3473 * net/tls.el (tls-program): Update customize type.
3474
3475 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3476
3477 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3478 (edebug-setup-hook, cl-read-load-hooks): Use it.
3479 (edebug-unload-function): New function. (Bug#13163)
3480
3481 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3482
3483 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3484 Otherwise, there could be errors in autoloading. (Bug#13151)
3485
3486 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3487
3488 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3489 sequences.
3490
3491 2012-12-13 Alan Mackenzie <acm@muc.de>
3492
3493 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3494 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3495 around `forward-comment' not recognizing ^M as whitespace.
3496
3497 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3498
3499 * progmodes/python.el (python-skeleton-class)
3500 (python-skeleton-def): Do not add space after defun name.
3501
3502 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3503
3504 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3505 (cl--symbol-function): Remove (now that funbound is like nil).
3506
3507 2012-12-12 Glenn Morris <rgm@gnu.org>
3508
3509 * button.el (button--area-button-p): Fix typo.
3510
3511 2012-12-12 Sam Steingold <sds@gnu.org>
3512
3513 * frame.el (frame-maximization-style): New user option.
3514 (toggle-frame-maximized): Toggle frame maximization according to
3515 `frame-maximization-style', bound to <f11>.
3516 (cycle-frame-maximized): Cycle between all maximization styles and
3517 non-maximized frame, bound to shift-<f11>.
3518
3519 2012-12-12 David Cadé <codename68@gmail.com>
3520
3521 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3522
3523 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3524
3525 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3526 (eieio-override-prin1): Don't quote kewords and booleans.
3527 (object-write) <eieio-default-superclass>: Don't put closing parens
3528 on new line, avoid needless empty lines, align values that are objects
3529 with the slot keyword (instead of beginning on the same line).
3530 (eieio-list-prin1): Align value with slot keyword; increase
3531 eieio-print-depth before printing members of the list.
3532
3533 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3536 a display text-property.
3537 (report-emacs-bug-hook): Don't bother deleting it any more.
3538
3539 * hilit-chg.el (highlight-save-buffer-state): Delete.
3540 Use with-silent-modifications instead.
3541 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3542
3543 * button.el: Handle buttons in display text-properties.
3544 (button--area-button-p, button--area-button-string):
3545 Use (STRING . STRING-POS) representation instead of just STRING.
3546
3547 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3548
3549 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3550 subdirectory be skipped.
3551
3552 2012-12-11 Glenn Morris <rgm@gnu.org>
3553
3554 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3555
3556 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3557 Treat preprocessor lines embedded in continuations like comments.
3558 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3559
3560 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3561
3562 * calc/calc.el (calc-standard-date-formats): Add more date
3563 formats.
3564 * calc/calc-forms.el (math-parse-iso-date): New function.
3565 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3566 (math-parse-iso-date-validate): Add extra error checking.
3567 (calc-date-notation): Add ability to access new date formats.
3568
3569 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3572 font-lock as well as when there's no text-property.
3573
3574 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3575
3576 * hi-lock.el: Refine the choice of default face.
3577 (hi-lock-keyword->face): New function. Use it wherever we used
3578 cadadadr instead.
3579 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3580 (hi-lock--last-face): Remove var.
3581 (hi-lock--unused-faces): New var to replace it.
3582 (hi-lock-read-face-name): Use/maintain it.
3583 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3584 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3585 if it has another face.
3586
3587 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3588
3589 * subr.el (w32notify-handle-event): New function.
3590 (inotify-handle-event): Doc fix.
3591
3592 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3593
3594 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3595
3596 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3597
3598 * simple.el (just-one-space): Doc fix.
3599
3600 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3601
3602 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3603
3604 2012-12-10 Le Wang <l26wang@gmail.com>
3605
3606 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3607 narrowed buffer (bug#12361).
3608
3609 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3610
3611 * vc/vc-hooks.el (vc-state): Doc fix.
3612
3613 2012-12-10 Glenn Morris <rgm@gnu.org>
3614
3615 * mail/rmail.el (rmail-maybe-display-summary):
3616 Preserve buffer, in case select-window changes it. (Bug#13066)
3617
3618 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3621 cl-load-hook where they belong.
3622
3623 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3626
3627 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3628
3629 Parallelize byte compilation on MS-Windows.
3630 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3631 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3632 (WINS_BASIC): Define as concatenation of the above.
3633 (compile): Subdivide into 4 separate and independent jobs that can
3634 be run in parallel.
3635 (compile0-CMD, compile0-SH): New targets for compiling
3636 COMPILE_FIRST files, which are prerequisites for the rest of the
3637 byte-compilation.
3638 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3639 New targets for parallel compilation with cmd.exe.
3640 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3641 compiling under a Unixy shell.
3642
3643 2012-12-09 Chong Yidong <cyd@gnu.org>
3644
3645 * simple.el (set-mark-default-inactive): Delete this
3646 accidentally-introduced option.
3647 (set-mark-command, exchange-point-and-mark): Remove calls.
3648
3649 2012-12-09 Glenn Morris <rgm@gnu.org>
3650
3651 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3652 Respect a defcustom's :set function, if appropriate. (Bug#109)
3653 (eval-defun): Doc fix.
3654
3655 2012-12-08 Juri Linkov <juri@jurta.org>
3656
3657 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3658 (Info-fontify-node, Info-bookmark-make-record): Remove the
3659 file extension from Info-current-file (Bug#13016).
3660
3661 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3664 point, still provide some default.
3665 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3666 names, since we don't use it right now. Actually return the list.
3667 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3668
3669 2012-12-07 Chong Yidong <cyd@gnu.org>
3670
3671 * novice.el (disabled-command-function): Remove a spurious help
3672 xref (Bug#13043). Suggested by Kelly Dean.
3673
3674 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3675 syntax is specified (Bug#13025).
3676
3677 * info.el (Info-set-mode-line): Remove the file extension from
3678 Info-current-file if there is one (Bug#13016).
3679
3680 2012-12-07 Glenn Morris <rgm@gnu.org>
3681
3682 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3683 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3684 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3685 and rmail-mime-decoded. (Bug#9841)
3686
3687 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3688 (batch-unrmail, unrmail): Doc fixes.
3689 (unrmail): Respect unrmail-mbox-format.
3690 * mail/rmail.el (rmail-mbox-format): New option.
3691 (rmail-show-message-1): Respect rmail-mbox-format.
3692
3693 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3696
3697 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3698
3699 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3700 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3701 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3702 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3703 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3704 (cl-progv): Don't rely on dynamic scoping to find the body.
3705 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3706 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3707 (cl-declaim): Use backquotes.
3708 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3709 Use "cl--" prefix for the object's tag.
3710
3711 * ses.el: Use advice-add/remove.
3712 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3713 (copy-region-as-kill, yank): Use advice-add.
3714 (ses-unload-function): Use advice-remove.
3715
3716 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3717
3718 * button.el: Make them work in header-lines (bug#12817).
3719 (button-map): Add bindings for header-line and mode-line use.
3720 (button-get, button-put, button-label): `button' may now be a string.
3721 (button-activate): Don't make it a defsubst.
3722 (button--area-button-p, button--area-button-string): New functions.
3723 (make-text-button): Fix the return value when `beg' was a string.
3724 (push-button): Handle the mode-line case.
3725
3726 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3729 (sql-signum): Remove. Use `cl-signum' instead.
3730 (sql-read-passwd): Remove; use read-passwd instread.
3731 (sql-get-login-ext): Use read-string.
3732 (sql-get-login): Use dolist and pcase.
3733 (sql--completion-table): Rename from sql-try-completion.
3734 Use complete-with-action.
3735 (sql-mode): Don't change abbrev-all-caps globally.
3736 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3737 (sql-postgres-completion-object): Initialize vars in their `let'.
3738 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3739 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3740 (sql-comint-interbase): Use a single append, without setq.
3741 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3742
3743 * hi-lock.el: Rework the default face and the serialize regexp code.
3744 (hi-lock--auto-select-face-defaults): Remove.
3745 (hi-lock-string-serialize-serial): Remove.
3746 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3747 make weak.
3748 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3749 equal string.
3750 (hi-lock-set-pattern): Adjust accordingly.
3751 (hi-lock--regexps-at-point): Simplify accordingly.
3752 (hi-lock--auto-select-face-defaults): Remove.
3753 (hi-lock--last-face): New var to replace it.
3754 (hi-lock-read-face-name): Rewrite (bug#11095).
3755 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3756
3757 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3758
3759 * net/tramp.el (tramp-replace-environment-variables):
3760 Hide compiler warning.
3761 (tramp-file-name-for-operation): Remove `executable-find',
3762 `start-process', `call-process' and `call-process-region'.
3763
3764 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3765
3766 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3767 compatibility.
3768
3769 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3770
3771 2012-12-06 Chong Yidong <cyd@gnu.org>
3772
3773 * ffap.el (ffap-replace-file-component): Fix typo.
3774
3775 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3776
3777 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3778 fix open-paren-like token test (bug#12785).
3779
3780 2012-12-06 Glenn Morris <rgm@gnu.org>
3781
3782 * mail/rmailsum.el (rmail-new-summary): Tweak for
3783 rmail-maybe-display-summary changing buffer. (Bug#13066)
3784
3785 2012-12-06 Juri Linkov <juri@jurta.org>
3786
3787 * info.el (Info-fontify-node): Don't hide the last newline.
3788 (Bug#12272)
3789
3790 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3791
3792 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3793 so as to enable message-read-from-minibuffer to expand mail aliases.
3794
3795 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3796
3797 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3798 the `intangible' property.
3799 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3800
3801 2012-12-05 Deniz Dogan <deniz@dogan.se>
3802
3803 * net/rcirc.el (rcirc-urls): Update documentation.
3804 (rcirc-condition-filter): New function.
3805 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3806 and exclude consecutive duplicate URLs (Bug#6082).
3807
3808 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3809
3810 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3811 Check return code of copy command.
3812
3813 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3814 Use group `tramp'. Add version.
3815
3816 2012-12-05 Chong Yidong <cyd@gnu.org>
3817
3818 * ffap.el (ffap-url-regexp): Don't require matching at front of
3819 string (Bug#4952).
3820 (ffap-url-p): If only a substring matches, return that.
3821 (ffap-url-at-point): Use the return value of ffap-url-p.
3822 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3823 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3824 (ffap-guess-file-name-at-point): Likewise.
3825 (ffap-replace-file-component): Fix typo.
3826
3827 * info.el (info-display-manual): Add existing Info buffers, whose
3828 files may not be in Info-directory-list, to the completion.
3829 (info--manual-names): New helper function.
3830
3831 2012-12-05 Glenn Morris <rgm@gnu.org>
3832
3833 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3834 New functions, for detecting and resolving conflicts. (Bug#10709)
3835
3836 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3837
3838 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3839 (hi-lock-auto-select-face-defaults): New buffer local variable.
3840 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3841 (hi-lock-unface-buffer): Prompt user with useful defaults.
3842 With prefix arg, unhighlight all hi-lock patterns in buffer.
3843
3844 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3847
3848 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3849
3850 * Makefile.in (TRAMP_SRC):
3851 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3852
3853 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3854
3855 * net/tramp-adb.el: New package.
3856
3857 2012-12-04 Chong Yidong <cyd@gnu.org>
3858
3859 * terminal.el: Move to obsolete/.
3860
3861 * longlines.el: Move to obsolete/.
3862
3863 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3864 Remove code referring to longlines mode.
3865
3866 2012-12-03 Juri Linkov <juri@jurta.org>
3867
3868 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3869
3870 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3871
3872 * textmodes/ispell.el (ispell-init-process)
3873 (ispell-start-process, ispell-internal-change-dictionary):
3874 Make sure personal dictionary name is expanded after initial
3875 `default-directory' value. Use expanded strings for
3876 keep/restart checks and for value (Bug#13019).
3877
3878 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3879
3880 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3881
3882 2012-12-03 Leo Liu <sdl.web@gmail.com>
3883
3884 * files.el (dir-locals-read-from-file): Check file non-empty
3885 before reading. (Bug#13038)
3886
3887 2012-12-03 Glenn Morris <rgm@gnu.org>
3888
3889 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3890 Remove any version extension before checking filename. (Bug#13006)
3891 (jka-compr-compression-info-list): Belated :version bump.
3892
3893 2012-12-03 Chong Yidong <cyd@gnu.org>
3894
3895 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3896
3897 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3898 (buffer-menu): Doc fix (Bug#12294).
3899
3900 2012-12-03 Roland Winkler <winkler@gnu.org>
3901
3902 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3903 of diary-show-all-entries in the diary buffer (Bug#12994).
3904
3905 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3906
3907 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3908 "<STDIN>". This is binary safe.
3909
3910 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3911
3912 * calc/calc-forms.el (math-absolute-from-iso-dt)
3913 (math-date-to-iso-dt, math-parse-iso-date-validate)
3914 (math-iso-dt-to-date): New functions.
3915 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3916 (math-fd-isoweekday): New variables.
3917 (calc-date-notation, math-parse-standard-date, math-format-date)
3918 (math-format-date-part): Add support for more formatting codes.
3919
3920 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3921
3922 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3923 current buffer's file name when called interactively (Bug#12488).
3924
3925 2012-12-02 Juri Linkov <juri@jurta.org>
3926
3927 * info.el (info-display-manual): Don't clobber an existing Info
3928 buffer (Bug#10770). Add completion (Bug#10771).
3929
3930 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3931
3932 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3933 before using it for comparison (Bug#5297).
3934
3935 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3936
3937 * textmodes/css-mode.el (css-current-defun-name): New function.
3938 (css-mode): Use it.
3939
3940 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3941 (html-mode): Use it.
3942
3943 2012-12-01 Chong Yidong <cyd@gnu.org>
3944
3945 Modularize add-log-current-defun (Bug#2224).
3946 Suggested by Jari Aalto.
3947
3948 * vc/add-log.el (add-log-current-defun-function): Doc fix.
3949 (add-log-current-defun): Move mode-specific code to other files.
3950 (add-log-lisp-like-modes, add-log-c-like-modes)
3951 (add-log-tex-like-modes): Variables deleted.
3952
3953 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
3954 (lisp-mode-variables): Use it.
3955
3956 * progmodes/cc-mode.el (c-common-init):
3957 * progmodes/cperl-mode.el (cperl-mode): Set a value for
3958 add-log-current-defun-function.
3959
3960 * progmodes/m4-mode.el (m4-current-defun-name): New function.
3961 (m4-mode): Use it.
3962
3963 * progmodes/perl-mode.el (perl-current-defun-name): New.
3964 (perl-mode): Use it.
3965
3966 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3967 Use lisp-current-defun-name.
3968
3969 * textmodes/tex-mode.el (tex-current-defun-name): New.
3970 (tex-common-initialization): Use it.
3971
3972 * textmodes/texinfo.el (texinfo-current-defun-name): New.
3973 (texinfo-mode): Use it.
3974
3975 2012-12-01 Chong Yidong <cyd@gnu.org>
3976
3977 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
3978 * progmodes/autoconf.el (autoconf-mode):
3979 * progmodes/js.el (js-mode):
3980 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
3981 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
3982 * progmodes/perl-mode.el (perl-mode):
3983 * progmodes/sh-script.el (sh-mode, sh-set-shell):
3984 * textmodes/css-mode.el (css-mode):
3985 * textmodes/sgml-mode.el (html-mode, sgml-mode)
3986 (sgml-tags-invisible, sgml-guess-indent):
3987 * textmodes/tex-mode.el (tex-common-initialization)
3988 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
3989 (doctex-mode, plain-tex-mode, latex-mode):
3990 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
3991
3992 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
3993
3994 * vc/vc-hg.el (vc-hg-next-revision):
3995 Ensure use of default "tip" output format. (Bug#6968)
3996
3997 2012-12-01 Kim F. Storm <storm@cua.dk>
3998
3999 * startup.el (fancy-startup-tail): Add a clickable link
4000 (Bug#2176).
4001
4002 2012-12-01 Chong Yidong <cyd@gnu.org>
4003
4004 * startup.el (fancy-startup-tail): Improve the message about
4005 auto-save files (Bug#2176).
4006
4007 * files.el (recover-session): Improve the descriptive message, and
4008 use substitute-command-keys.
4009
4010 2012-12-01 Glenn Morris <rgm@gnu.org>
4011
4012 * ido.el (ido-file-internal):
4013 Handle other-window, other-frame for dired. (Bug#13036)
4014
4015 2012-11-30 Glenn Morris <rgm@gnu.org>
4016
4017 * icomplete.el (icomplete-separator): Fix :version.
4018
4019 2012-11-30 Chong Yidong <cyd@gnu.org>
4020
4021 * shell.el (shell): For C-u M-x shell, use an inactive shell
4022 buffer as the default (Bug#1975).
4023 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4024 (shell-mode): Use them to reapply ansi colorization if Shell mode
4025 is re-enabled.
4026
4027 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4028
4029 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4030
4031 2012-11-30 Samuel Bronson <naesten@gmail.com>
4032
4033 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4034 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4035
4036 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4037
4038 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4039 by move-to-column (Bug#3234).
4040
4041 2012-11-30 Chong Yidong <cyd@gnu.org>
4042
4043 * longlines.el (longlines-wrap-line, longlines-encode-region):
4044 Preserve text properties (Bug#1425).
4045
4046 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4047
4048 * vc/vc.el (vc-register): Allow registering a file which is
4049 already registered with a different backend (Bug#10589).
4050
4051 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4052 Stefan Monnier <monnier@iro.umontreal.ca>
4053
4054 * icomplete.el: Change separator; add ido-style commands.
4055 (icomplete-show-key-bindings): Remove custom var.
4056 (icomplete-get-keys): Remove function.
4057 (icomplete-forward-completions, icomplete-backward-completions):
4058 New commands.
4059 (icomplete-minibuffer-map): New var.
4060 (icomplete-minibuffer-setup): Use it.
4061 (icomplete-exhibit): Don't delay if the list of completions is known.
4062 (icomplete-separator): New custom.
4063 (icomplete-completions): Use it.
4064 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4065 (minibuffer-force-complete-and-exit): New command.
4066 (minibuffer--complete-and-exit): New function extracted from
4067 minibuffer-complete-and-exit.
4068 (minibuffer-complete-and-exit): Use it.
4069
4070 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4071 error message when the file doesn't exist (bug#12974).
4072
4073 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4074
4075 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4076
4077 2012-11-29 Glenn Morris <rgm@gnu.org>
4078
4079 * files.el (hack-dir-local-variables): Warn if try to set
4080 coding via dir-locals, since it doesn't work. (Bug#7169)
4081
4082 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4083 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4084 Set buffer-local value of desktop-save-buffer.
4085 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4086 New functions.
4087 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4088 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4089
4090 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4091 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4092 Doc fix.
4093 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4094 Doc fixes.
4095
4096 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4097
4098 * calc/calc-forms.el (calc-date-notation): Fix regexp
4099 used to find time codes. Fix symbol for seconds.
4100
4101 2012-11-27 Glenn Morris <rgm@gnu.org>
4102
4103 * emacs-lisp/derived.el (derived-mode-make-docstring):
4104 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4105
4106 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4109 lexically scoped variables (bug#13005).
4110
4111 2012-11-27 Glenn Morris <rgm@gnu.org>
4112
4113 * vc/vc-hooks.el (vc-mistrust-permissions):
4114 Default to t, to avoid data-loss. (Bug#11490)
4115
4116 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4117
4118 * progmodes/python.el (python-indent-guess-indent-offset):
4119 If indentation is guessed make python-indent-offset buffer-local.
4120
4121 Fix Imenu regression.
4122 * progmodes/python.el (python-nav-beginning-of-defun):
4123 Fix forward movement when statement(s) separates point from defun.
4124 (python-imenu-prev-index-position): New function.
4125
4126 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4127
4128 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4129
4130 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4131 Don't set buffer-file-type. Return nil. (Bug#12989)
4132
4133 2012-11-27 Glenn Morris <rgm@gnu.org>
4134
4135 * hippie-exp.el (hippie-expand-try-functions-list):
4136 Re-autoload it. (Bug#12982)
4137
4138 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4139
4140 * descr-text.el (describe-char-padded-string):
4141 Call internal-char-font only on GUI frames. (Bug#11964)
4142
4143 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4144
4145 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4146 and obsoletion message.
4147
4148 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4151 the constructs to keep outside of the `cl-block' (bug#12977).
4152
4153 2012-11-27 Chong Yidong <cyd@gnu.org>
4154
4155 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4156 keep reading until we get the up-event anyway, in order to process
4157 the up-event for mouse-1-click-follows-link (Bug#12971).
4158
4159 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4160
4161 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4162 base function is not yet defined (bug#12965).
4163 (ad-activate-advised-definition): Use ad-compile-function.
4164 (ad-activate): Use cond.
4165
4166 2012-11-25 Leo Liu <sdl.web@gmail.com>
4167
4168 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4169 (Bug#12979)
4170
4171 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4172
4173 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4174 reftex-section-info-function in order to be compatible with
4175 Texinfo integration.
4176
4177 * textmodes/reftex.el (reftex-section-pre-regexp)
4178 (reftex-section-post-regexp, reftex-section-info-function):
4179 New variable.
4180 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4181 reftex-section-post-regexp, and reftex-section-info-function in order
4182 to be compatible with Texinfo integration.
4183
4184 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4185 use reftex-section-pre-regexp variable in order to be compatible with
4186 Texinfo integration.
4187
4188 2012-11-25 Chong Yidong <cyd@gnu.org>
4189
4190 * faces.el: Make face-spec-set more analogous to setq.
4191 (face-spec-set): Change the third arg to specify whether this
4192 function is being called via defface, customize, or a third party.
4193 Set the appropriate symbol properties. Clear the override spec if
4194 setting via Custom. Initialize face if necessary. (Bug#4988)
4195 (face-spec-recalc): Allow theme faces to completely replace the
4196 defface spec, in the same way as custom faces (Bug#8454).
4197
4198 * cus-face.el (custom-declare-face): Move face initialization to
4199 face-spec-set.
4200 (custom-theme-set-faces): Don't initialize the face name here, as
4201 that is now done in face-spec-set.
4202
4203 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4204 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4205 Simplify by using the new arg to face-spec-set.
4206
4207 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4208 reset face-override-spec too, and use custom-declare-face.
4209
4210 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4211
4212 * term/ns-win.el (ns-initialize-window-system): Move creation of
4213 fontsets here (Bug#11964).
4214
4215 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4216
4217 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4218 cell renaming.
4219
4220 2012-11-24 Chong Yidong <cyd@gnu.org>
4221
4222 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4223 obsolete.
4224
4225 * custom.el (custom-theme-set-variables): Use a topological sort
4226 for ordering by custom dependencies (Bug#12952).
4227 (custom--sort-vars, custom--sort-vars-1): New functions.
4228
4229 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4232 lexical-binding (bug#12938).
4233
4234 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4235
4236 * image-mode.el (image-transform-check-size): Use assertions only
4237 for images of type imagemagick.
4238
4239 Otherwise no error, image-transform-fit-to-{width,height} is
4240 silently ignored, as before. Doc fix.
4241
4242 2012-11-24 Chong Yidong <cyd@gnu.org>
4243
4244 * faces.el (color-defined-p): Doc fix (Bug#12853).
4245
4246 2012-11-24 Juri Linkov <juri@jurta.org>
4247
4248 * dired.el (dired-mark): Add optional arg `interactive'.
4249 Check for `use-region-p' if `interactive' is non-nil.
4250 (dired-unmark, dired-flag-file-deletion): Add optional arg
4251 `interactive'. Call `dired-mark' with the arg `interactive'.
4252 (Bug#10624)
4253
4254 * wdired.el: Revert 2012-10-17 change partly and replace it with
4255 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4256 (wdired-finish-edit): Add marks for new file names to
4257 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4258 after `revert-buffer'.
4259 (wdired-do-renames): Remove calls to `dired-remove-file',
4260 `dired-add-file', `dired-add-entry'. (Bug#11795)
4261
4262 2012-11-24 Alan Mackenzie <acm@muc.de>
4263
4264 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4265
4266 Fix bugs in the state cache. Enhance a debugging mechanism.
4267 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4268 "brace at column zero" strategy for C++.
4269 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4270 (c-parse-state-point): New variable.
4271 (c-record-parse-state-state): Record old parse state with
4272 `copy-tree'. Record previous value of point.
4273 (c-debug-parse-state-double-cons): New debugging function.
4274 (c-debug-parse-state): Call the above new function.
4275 (c-toggle-parse-state-debug): Output a confirmatory message.
4276
4277 * progmodes/cc-mode.el (c-before-change, c-after-change):
4278 Call c-invalidate-state-cache from `c-before-change' instead of
4279 `c-after-change'.
4280
4281 2012-11-23 Chong Yidong <cyd@gnu.org>
4282
4283 * find-cmd.el (find-constituents): Add executable, ipath,
4284 readable, samefile, writable, daystart, regextype (Bug#12856).
4285
4286 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4289
4290 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4291
4292 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4293 definition. This fixes a bootstrap failure.
4294 (calc-gregorian-switch): In menu, put dates before regions.
4295 This is easier to follow, lines up better in the menu, and lets us
4296 coalesce regions that switch at the same time. Give country
4297 names, not "Vatican", as that's better for non-expert users.
4298 Use names that are stable between the date of switch and now, e.g.,
4299 Bohemia and Moravia (which existed then and now) and not
4300 Czechoslovakia (which didn't exist then and doesn't exist now).
4301 What is now the U.S. mostly did not switch at the same time as
4302 Britain, so omit the U.S. Correct spelling of "Britain".
4303 Catholic Switzerland was too much of a mess, so omit it.
4304
4305 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4306
4307 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4308 after the variable is changed.
4309
4310 2012-11-21 Daniel Colascione <dancol@dancol.org>
4311
4312 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4313 in SQL declarations for font-lock.
4314 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4315
4316 2012-11-21 Glenn Morris <rgm@gnu.org>
4317
4318 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4319 (face-italic-p): Add optional argument "inherit".
4320
4321 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4322 Remove -p suffix from names, for consistency with other set-face-*.
4323 (set-face-inverse-video): Fix interactive spec.
4324 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4325 * textmodes/table.el (table--update-cell-face):
4326 Use set-face-inverse-video rather than now obsolete alias.
4327
4328 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4329
4330 * simple.el (line-move): Don't call line-move-partial if
4331 scroll-conservatively is in effect. (Bug#12927)
4332
4333 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4336 Fallback on completion-at-point rather than
4337 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4338 (eshell-cmpl-initialize): Setup completion-at-point.
4339
4340 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4341
4342 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4343
4344 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4345
4346 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4347 are remote, check out-of-band property for both.
4348
4349 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4352 code rewrite.
4353
4354 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4355
4356 More minor time fixes.
4357 * calendar/time-date.el: Commentary fix.
4358 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4359 too much other code depends on (0 0) time stamps.
4360 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4361 Add a couple of FIXME comments.
4362
4363 Minor cleanup for times as lists of four integers.
4364 * files.el (dir-locals-directory-cache):
4365 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4366 Doc fixes.
4367 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4368 * ps-bdf.el (bdf-file-newer-than-time):
4369 Process four-integers time stamps, not two. Doc fixes.
4370
4371 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4373 * uniquify.el (uniquify-managed): Use defvar-local.
4374 (rename-buffer, create-file-buffer): Advise with advice-add.
4375 (uniquify-unload-function): Unadvise accordingly.
4376
4377 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4378 (trace-buffer): Don't purecopy.
4379 (trace-entry-message, trace-exit-message): Add `context' arg.
4380 (trace--timer): New var.
4381 (trace-make-advice): Adjust for use in nadvice.
4382 Add `context' argument. Delay `display-buffer' via a timer.
4383 (trace-function-internal): Use advice-add.
4384 (trace--read-args): New function.
4385 (trace-function-foreground, trace-function-background): Use it.
4386 (trace-function): Rename to trace-function-foreground and redefine as
4387 an alias to that new name.
4388 (untrace-function, untrace-all): Adjust to the use of nadvice.
4389
4390 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4391
4392 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4393
4394 * subr.el (called-interactively-p-functions): New var.
4395 (internal--called-interactively-p--get-frame): New macro.
4396 (called-interactively-p, interactive-p): Rewrite in Lisp.
4397 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4398 (called-interactively-p-functions): Use it.
4399 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4400 (called-interactively-p-functions): Use it.
4401 * allout.el (allout-called-interactively-p): Don't assume
4402 called-interactively-p is a subr.
4403
4404 2012-11-20 Glenn Morris <rgm@gnu.org>
4405
4406 * profiler.el (profiler-report-mode-map): Add a menu.
4407 No need to bind `q' because we derive from special-mode.
4408 (profiler-report-find-entry): Handle calls from the menu-bar.
4409
4410 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * emacs-lisp/byte-run.el (defun-declarations-alist):
4413 Allow a compiler-macro to be a lambda expression.
4414
4415 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4416 eval-when-compile.
4417 (python-syntax-context): Add compiler-macro.
4418 (python-font-lock-keywords): Simplify with De Morgan.
4419
4420 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4421
4422 * files.el (load-file): Require match in minibuffer selection, as was
4423 the case in Emacs-20 before we changed the spec to allow .elc files
4424 (bug#12935).
4425
4426 * json.el: Don't require cl since we don't use it.
4427 * color.el: Don't require cl.
4428 (color-complement): `caddr' -> `nth 2'.
4429
4430 * calendar/time-date.el (time-to-seconds): De-obsolete.
4431
4432 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4433
4434 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4435 year numbers.
4436 (math-date-to-julian-dt): Adjust the initial approximation for the
4437 year to deal with the new definition of the DATE.
4438
4439 2012-11-19 Daniel Colascione <dancol@dancol.org>
4440
4441 * term/w32-win.el (cygwin-convert-path-from-windows):
4442 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4443
4444 2012-11-18 Chong Yidong <cyd@gnu.org>
4445
4446 * filecache.el (file-cache--read-list): New function.
4447 (file-cache-add-directory-list, file-cache-add-file-list)
4448 (file-cache-delete-file-list, file-cache-delete-directory-list):
4449 Use it to read a list of files or directories (Bug#12846).
4450 (file-cache-add-file, file-cache-add-directory)
4451 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4452 (file-cache-delete-directory): Print an message.
4453
4454 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4455
4456 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4457 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4458
4459 2012-11-18 Glenn Morris <rgm@gnu.org>
4460
4461 * image.el (insert-image, insert-sliced-image): Doc fix.
4462
4463 2012-11-18 Chong Yidong <cyd@gnu.org>
4464
4465 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4466 (Bug#12810).
4467
4468 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4469
4470 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4471 response when the target file is in a subdirectory (Bug#12757).
4472
4473 2012-11-18 Chong Yidong <cyd@gnu.org>
4474
4475 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4476
4477 2012-11-18 Glenn Morris <rgm@gnu.org>
4478
4479 * emacs-lisp/cl-lib.el (face-underline-p):
4480 Use set-face-underline rather than the alias set-face-underline-p.
4481
4482 * window.el (with-temp-buffer-window): Doc fix.
4483 * subr.el (with-output-to-temp-buffer):
4484 Add doc xref to with-temp-buffer-window.
4485
4486 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4489 * calc/calc.el (math-format-date-cache): Declare.
4490
4491 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4492
4493 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4494 It also uses January 1, 1 AD as its day number 1.
4495 * calc/calc-forms.el (math-julian-date-beginning)
4496 (math-julian-date-beginning-int): Implement this.
4497
4498 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * descr-text.el (quail-find-key):
4501 * dired.el (desktop-file-name):
4502 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4503 * generic-x.el (comint-mode, comint-exec):
4504 * image-dired.el (widget-forward):
4505 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4506 (speedbar-change-expand-button-char)
4507 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4508 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4509 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4510 (widget-field-action, widget-value-set):
4511 * speedbar.el (imenu--make-index-alist):
4512 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4513 (ring-length, ring-insert):
4514 * vcursor.el (compare-windows-skip-whitespace):
4515 * woman.el (dired-get-filename):
4516 Declare functions.
4517
4518 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4519
4520 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4521
4522 * calc/calc.el (calc-gregorian-switch): New variable.
4523
4524 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4525 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4526 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4527 (math-leap-year-p): Add option to distinguish between Julian
4528 and Gregorian calendars.
4529 (math-day-number): Use `math-day-in-year' to do the computations.
4530 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4531 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4532 to do the computations.
4533 (math-date-to-dt): Use `math-date-to-julian-dt' and
4534 `math-date-to-gregorian-dt' to do the computations.
4535 (calcFunc-weekday, math-format-date-part): Use the new version of
4536 the DATE to determine the weekday.
4537 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4538 when necessary.
4539
4540 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4541
4542 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4543 Cygwin; otherwise use 'file:'. (Bug#12914)
4544 (cygwin-convert-path-from-windows): Declare, to avoid
4545 byte-compiler warnings.
4546
4547 2012-11-17 Andreas Politz <politza@fh-trier.de>
4548
4549 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4550 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4551 prefix and negative numeric prefix args (Bug#12795).
4552
4553 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4554
4555 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4556 Don't signal an error with a score that is too low to add to the
4557 list of top scores. (Bug#12779)
4558
4559 2012-11-17 Chong Yidong <cyd@gnu.org>
4560
4561 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4562
4563 * filecache.el (file-cache-add-file): Handle relative file name in
4564 the argument (Bug#12694).
4565
4566 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4567
4568 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4569
4570 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4573
4574 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4575
4576 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4577
4578 * window.el (enlarge-window, shrink-window): Don't mention return
4579 value in doc-string (Bug#12896).
4580 (window--display-buffer): Don't resize frames - it won't work
4581 with all window managers and defeat pop-up-frame-alist.
4582 (display-buffer-alist): In doc-string explain that CONDITION can
4583 be a function and which arguments are passed to it (Bug#12854).
4584 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4585 expressions (Bug#12854).
4586 (display-buffer): Pass ACTION argument to
4587 display-buffer-assq-regexp.
4588
4589 2012-11-16 Glenn Morris <rgm@gnu.org>
4590
4591 * window.el (fit-frame-to-buffer-bottom-margin)
4592 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4593
4594 * faces.el (face-underline-p): Use face-attribute-specified-or.
4595
4596 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4597
4598 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4599
4600 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4603
4604 2012-11-16 Glenn Morris <rgm@gnu.org>
4605
4606 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4607 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4608
4609 * faces.el (face-underline-p): Doc fix. Handle :underline being
4610 things other than `t' (a string, a list).
4611 (face-inverse-video-p): Doc fix.
4612 (set-face-underline): Rename it back from set-face-underline-p.
4613 Doc fix. Allow interactive input of values other than t.
4614 (read-face-attribute): Apply formatting to :underline,
4615 since like :box and :stipple it can take list values.
4616
4617 * term.el (ansi-term): Don't let C-x escape-char binding
4618 clobber the more standard C-c binding. (Bug#12842)
4619
4620 * subr.el (set-temporary-overlay-map): Doc fix.
4621
4622 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4623
4624 * window.el (record-window-buffer)
4625 (display-buffer-record-window): When copying the markers to
4626 window-point preserve window-point-insertion-type. (Bug#12588)
4627
4628 2012-11-16 Glenn Morris <rgm@gnu.org>
4629
4630 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4631 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4632 Use new names for hooks rather than obsolete aliases.
4633
4634 2012-11-15 Daniel Colascione <dancol@dancol.org>
4635
4636 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4637 prefix instead of "file:" so that when FILE-NAME begins with "//",
4638 as it does when the target file is on a network share, url-handler
4639 isn't confused.
4640
4641 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4644 a preactivated advice from an old advice.el; they're not compatible!
4645
4646 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4647
4648 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4649 Fix string-spec case.
4650
4651 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4652
4653 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4656 (advice--buffer-local-function-sample): New var.
4657 (advice--set-buffer-local, advice--buffer-local): New functions.
4658 (add-function, remove-function): Use them.
4659
4660 2012-11-15 Drew Adams <drew.adams@oracle.com>
4661
4662 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4663
4664 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4667 potential binding of print-gensym to t, and prettify (back)quotes in
4668 case they appear in args's default values (bug#12884).
4669
4670 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4671
4672 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4673 (advice-eval-interactive-spec): New function.
4674 (advice--make-interactive-form): Support around advice (bug#12844).
4675
4676 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4677
4678 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4679 more strict. Add docstring.
4680 (ruby-expression-expansion-re): Extract from
4681 `ruby-match-expression-expansion'.
4682 (ruby-syntax-propertize-function): After everything else, search
4683 for expansions in string literals, mark their insides as
4684 whitespace syntax and save match data for font-lock.
4685 (ruby-font-lock-keywords): Use the 2nd group from expression
4686 expansion matches.
4687 (ruby-match-expression-expansion): Use the match data saved to the
4688 text property in ruby-syntax-propertize-function.
4689
4690 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4693 (bug#12879).
4694
4695 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4696
4697 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4698 start/end keyword a bit harder. Works with different values of N.
4699 Add more comments.
4700 (ruby-end-of-block): Update accordingly.
4701
4702 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * woman.el (woman-file-name): Don't mess with unread-command-events
4705 (bug#12861).
4706
4707 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4708 Remove out of date self-require hack.
4709 (ad-do-advised-functions): Use simple `dolist'.
4710 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4711 (ad-advice-definition): Redefine as functions.
4712 (ad-advice-classes): Move before first use.
4713 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4714 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4715 (ad--defalias-fset): Remove functions.
4716 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4717 (ad-get-orig-definition): Rewrite.
4718 (ad-make-advised-definition-docstring): Change base docstring.
4719 (ad-real-orig-definition): Rewrite.
4720 (ad-map-arglists): Change name of called function.
4721 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4722 (ad-make-advised-definition): Simplify.
4723 (ad-assemble-advised-definition): Tweak for new calling context.
4724 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4725 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4726 function and call ad-activate if needed.
4727 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4728 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4729 (ad-compile-function): Compile ad-Advice-*.
4730 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4731 (ad-start-advice, ad-stop-advice): Remove.
4732
4733 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4734
4735 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4736 period before class method names, not after. Remove handling of
4737 one impossible case. Add comments.
4738
4739 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * emacs-lisp/advice.el: Remove support for freezing.
4742 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4743 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4744 Remove support for `freeze'.
4745
4746 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4747 override the default.
4748 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4749 cl--dotimes/dolist.
4750 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4751 `cl' is loaded.
4752
4753 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4754 from add-advice.
4755 (advice--strip-macro): New function.
4756 (advice--defalias-fset): Use them to handle macros.
4757 (advice-add): Use them.
4758 (advice-member-p): Correctly handle macros.
4759
4760 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4761
4762 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4763 Never font-lock the beginning of singleton class as heredoc.
4764
4765 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4766
4767 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4768
4769 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4770
4771 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4772 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4773 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4774
4775 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4776
4777 Fix end-of-defun misbehavior.
4778 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4779 python-beginning-of-defun-function. Handle nested defuns
4780 correctly.
4781 (python-nav-end-of-defun): Rename from
4782 python-end-of-defun-function. Ensure forward movement.
4783 (python-info-current-defun): Reimplement to work as intended
4784 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4785 parent defuns as soon as possible.
4786
4787 2012-11-13 Glenn Morris <rgm@gnu.org>
4788
4789 * progmodes/flymake.el (flymake-error-bitmap)
4790 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4791 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4792
4793 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4794
4795 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4796 backward, always stop at indentation. Reverts the change from
4797 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4798
4799 2012-11-13 Glenn Morris <rgm@gnu.org>
4800
4801 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4802 Add ibuffer-filter-by-derived-mode.
4803
4804 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4805 the same name shadowing each other.
4806
4807 * window.el (with-temp-buffer-window): Doc tweak.
4808
4809 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4810
4811 * help.el (temp-buffer-max-height):
4812 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4813 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4814
4815 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4816
4817 * emacs-lisp/nadvice.el: New package.
4818 * subr.el (special-form-p): New function.
4819 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4820 (elp-all-instrumented-list): Remove var.
4821 (elp-not-profilable): Remove elp-wrapper.
4822 (elp-profilable-p): Use autoloadp and special-form-p.
4823 (elp--advice-name): New const.
4824 (elp-instrument-function): Use advice-add.
4825 (elp--instrumented-p): New predicate.
4826 (elp-restore-function): Use advice-remove.
4827 (elp-restore-all, elp-reset-all): Use mapatoms.
4828 (elp-set-master): Use elp--instrumented-p.
4829 (elp--make-wrapper): Rename from elp-wrapper, return a function
4830 suitable for advice-add. Use cl-inf.
4831 (elp-results): Use mapatoms+elp--instrumented-p.
4832 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4833 (debug-function-list): Remove var.
4834 (debug): Rename arg, and then let-bind it explicitly inside.
4835 (debugger-setup-buffer): Rename arg.
4836 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4837 (debugger-frame-number): Adjust to new debug-on-entry setup.
4838 (debug--implement-debug-on-entry): Rename from
4839 implement-debug-on-entry, add argument.
4840 (debugger-special-form-p): Remove, use special-form-p instead.
4841 (debug-on-entry): Use advice-add.
4842 (debug--function-list): New function.
4843 (cancel-debug-on-entry): Use it, along with advice-remove.
4844 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4845 (debugger-list-functions): Use debug--function-list instead of
4846 debug-function-list.
4847 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4848 (ad-special-form-p): Remove, use special-form-p instead.
4849 (ad-set-advice-info): Use add-function and remove-function.
4850 (ad--defalias-fset): Adjust accordingly.
4851
4852 2012-11-10 Glenn Morris <rgm@gnu.org>
4853
4854 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4855 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4856 (report-emacs-bug-create-existing-bugs-buffer)
4857 (report-emacs-bug-parse-query-results)
4858 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4859
4860 * term.el (term-default-fg-color, term-default-bg-color):
4861 Make obsolete, rather than just saying "deprecated" in the doc.
4862
4863 * term.el (term): Rename from `term-face'.
4864 (term-current-face, ansi-term-color-vector)
4865 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4866 Update all users.
4867
4868 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4869
4870 * server.el (server-create-window-system-frame): Handle Nextstep
4871 specially (Bug#12780).
4872
4873 2012-11-10 Glenn Morris <rgm@gnu.org>
4874
4875 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4876 Unautoload, and make obsolete. (Bug#7449)
4877
4878 2012-11-10 Chong Yidong <cyd@gnu.org>
4879
4880 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4881 rename from diff-remove-trailing-whitespace (Bug#12831).
4882
4883 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4886 miscompilation of trace.el.
4887
4888 2012-11-10 Glenn Morris <rgm@gnu.org>
4889
4890 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4891
4892 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4893
4894 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4895 (bug#12812).
4896
4897 2012-11-10 Chong Yidong <cyd@gnu.org>
4898
4899 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4900 a defcustom with an appropriate :set function.
4901 (minibuffer-default--in-prompt-regexps): New function.
4902
4903 2012-11-10 Glenn Morris <rgm@gnu.org>
4904
4905 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4906 (define-modify-macro): Doc fixes.
4907
4908 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4909 (gv-define-simple-setter): Update doc of `fix-return'.
4910
4911 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4914 twice when `fix-return' is set (bug#12813).
4915
4916 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4917 gv-define-simple-setter (bug#12812).
4918
4919 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4920 (bug#12756).
4921
4922 2012-11-10 Glenn Morris <rgm@gnu.org>
4923
4924 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4925
4926 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4927 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4928 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4929 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4930
4931 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4932
4933 2012-11-10 Leo Liu <sdl.web@gmail.com>
4934
4935 * ido.el (ido-set-matches-1): Improve flex matching performance by
4936 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4937
4938 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4941 (ad--defalias-fset): New function.
4942 (ad-safe-fset): Remove.
4943 (ad-make-freeze-definition): Use cl-letf*.
4944
4945 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * subr.el (dolist): Don't bind VAR in RESULT.
4948
4949 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
4950 (fset, documentation): Don't save real def since we don't advise.
4951 (ad-do-advised-functions): Remove problematic `result-form'.
4952 (ad-safe-fset): `ad-real-fset' => `fset'.
4953 (ad-read-advised-function): Don't assume that ad-do-advised-functions
4954 uses CL's dolist internally.
4955 (ad-arglist): Remove unused arg `name'.
4956 (ad-docstring, ad-make-advised-docstring):
4957 `ad-real-documentation' => `documentation'.
4958 (warning-suppress-types): Declare.
4959 (ad-set-arguments): Simple CSE.
4960 (ad-recover-normality): Sanity check.
4961
4962 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
4963 (funcall '(lambda ..) ..) into ((lambda ..) ..).
4964
4965 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
4966
4967 * ses.el: symbol to coordinate mapping is made by symbol property
4968 `ses-cell'. This means that the same mapping is done for all SES
4969 sheets. That is good enough for cells with standard A1 names, but
4970 not for named cell. So a hash map is added for the latter.
4971 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
4972 (ses-sym-rowcol): Use hashmap for named cell.
4973 (ses-is-cell-sym-p): New defun.
4974 (ses-decode-cell-symbol): New defun.
4975 (ses-create-cell-variable): Add cell to hashmap when name is not
4976 A1-like.
4977 (ses-rename-cell): Check that cell new name is not already in
4978 spreadsheet with the use of ses-is-cell-sym-p
4979 (ses-rename-cell): Use hash map for named cells, but accept also
4980 renaming back to A1-like.
4981
4982 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * emacs-lisp/advice.el: Use new dynamic docstrings.
4985 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4986 Use dynamic-docstring-function instead of ad-advice-info.
4987 (ad--make-advised-docstring): New function extracted from
4988 ad-make-advised-docstring.
4989 (ad-make-advised-docstring): Use it.
4990 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
4991 from sql-help.
4992 (sql-help): Use it with dynamic-docstring-function.
4993
4994 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
4995
4996 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * files.el (hack-one-local-variable--obsolete): New function.
4999 (hack-one-local-variable): Use it for obsolete settings.
5000
5001 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5002 the new name.
5003
5004 * progmodes/js.el (js--filling-paragraph): New var.
5005 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5006 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5007 less sneaky.
5008
5009 2012-11-08 Julien Danjou <julien@danjou.info>
5010
5011 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5012 `auto-mode-alist' (Bug#12835).
5013
5014 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5015
5016 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5017 (perl--prettify-symbols-alist): New const.
5018 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5019 New functions.
5020 (perl-font-lock-keywords-2): Use them.
5021 (perl-electric-noindent-p): New function.
5022 (perl-mode): Use it to set up electric-indent-mode.
5023 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5024 (perl-mode-map): Remove bindings for them.
5025 (perl-imenu-generic-expression, perl-outline-level):
5026 Match functions&packages in column>0.
5027
5028 * env.el (env--substitute-vars-regexp): New const.
5029 (substitute-env-vars): Use it. Add `only-defined' arg.
5030 * net/tramp.el (tramp-replace-environment-variables): Use it.
5031
5032 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5033 Byte-compile *before* eval in eval-and-compile.
5034 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5035 (byte-compile-file-form-autoload): Don't hide actual definition.
5036 (byte-compile-maybe-guarded): Accept `functionp' as well.
5037
5038 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5039
5040 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5041
5042 * notifications.el (notifications-get-server-information-method):
5043 New defconst.
5044 (notifications-get-capabilities): Fix docstring.
5045 (notifications-get-server-information): New defun.
5046
5047 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5048
5049 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5050 readability.
5051
5052 * textmodes/ispell.el: Experimental support for support debugging.
5053 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5054 buffer for ispell.
5055 (ispell-print-if-debug): New function to print stuff to
5056 `ispell-debug-buffer' if debugging is enabled.
5057 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5058 show some debugging info.
5059 (ispell-buffer-with-debug): New function that creates a debugging
5060 buffer and calls `ispell-buffer' with debugging enabled.
5061
5062 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5063 comment in autoconf mode. (Bug#12768)
5064
5065 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5066
5067 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5068 frame-first-window, frame-root-window, frame-selected-window,
5069 minibuffer-selected-window, minibuffer-window,
5070 window-absolute-pixel-edges, window-at, window-body-height,
5071 window-body-width, window-display-table, window-combination-limit,
5072 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5073 window-inside-edges, window-inside-pixel-edges, window-left-child,
5074 window-left-column, window-margins, window-next-buffers,
5075 window-next-sibling, window-new-normal, window-new-total,
5076 window-normal-size, window-parameter, window-parameters, window-parent,
5077 window-pixel-edges, window-point, window-prev-buffers,
5078 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5079 window-start, window-text-height, window-top-child, window-top-line,
5080 window-total-height, window-total-width and window-use-time to the list
5081 of functions without side-effects.
5082 (toplevel): Add window-valid-p to the list of error-free functions
5083 without side-effects.
5084
5085 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5086
5087 * textmodes/ispell.el (ispell-program-name):
5088 Update spellchecker parameters when customized.
5089
5090 2012-11-04 Glenn Morris <rgm@gnu.org>
5091
5092 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5093
5094 2012-11-04 Chong Yidong <cyd@gnu.org>
5095
5096 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5097 same-window-* variables.
5098
5099 2012-11-04 Juri Linkov <juri@jurta.org>
5100
5101 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5102 (isearch-describe-key, isearch-describe-mode): Use a display
5103 action instead of binding same-window-* variables (Bug#10040).
5104
5105 2012-11-03 Glenn Morris <rgm@gnu.org>
5106
5107 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5108 Rename handler properties back from cl-- to cl-. (Bug#12788)
5109
5110 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5111
5112 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5113
5114 * term/pc-win.el: Don't load term/internal from here.
5115
5116 * loadup.el: Load term/internal from here.
5117
5118 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5119
5120 * progmodes/python.el (inferior-python-mode): Fix hang in
5121 jit-lock (Bug#12645).
5122
5123 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5124
5125 * window.el (switch-to-visible-buffer)
5126 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5127
5128 2012-11-03 Glenn Morris <rgm@gnu.org>
5129
5130 * emacs-lisp/cl-lib.el (cl--random-time):
5131 Rename from cl-random-time. (Bug#12773)
5132 (cl--gensym-counter, cl--random-state): Update callers.
5133 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5134
5135 2012-11-03 Chong Yidong <cyd@gnu.org>
5136
5137 * cus-start.el: Make cursor-type customizable (Bug#11633).
5138
5139 2012-11-02 Glenn Morris <rgm@gnu.org>
5140
5141 * filecache.el: No need to load find-lisp when compiling.
5142 (find-lisp-find-files): Autoload it.
5143 (file-cache-add-directory-recursively): Don't require find-lisp.
5144
5145 * image.el (image-type-from-file-name): Trivial simplification.
5146
5147 * emacs-lisp/bytecomp.el (byte-compile-eval):
5148 Decouple "noruntime" and "cl-functions" warnings.
5149
5150 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5151
5152 * play/gomoku.el (gomoku-display-statistics): Update mode line
5153 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5154
5155 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5156
5157 * window.el (quit-restore-window): If the window has been
5158 created on an existing frame and ended up as the sole window on
5159 that frame, do not delete it (Bug#12764).
5160
5161 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5164 Rename from sh--inside-arithmetic-expression, handle more cases
5165 (bug#11263).
5166
5167 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5168 (sh-font-lock-open-heredoc): Use it (bug#12770).
5169
5170 2012-10-30 Glenn Morris <rgm@gnu.org>
5171
5172 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5173
5174 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5175
5176 2012-10-29 Chong Yidong <cyd@gnu.org>
5177
5178 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5179 function key is stored in a keyboard macro (Bug#4894).
5180
5181 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5182
5183 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5184
5185 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5186 header comments".
5187 (diff-unified->context, diff-context->unified)
5188 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5189
5190 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5191
5192 * files.el (find-alternate-file): Only ask one question (bug#12487).
5193
5194 2012-10-29 Chong Yidong <cyd@gnu.org>
5195
5196 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5197 Suggested by Dan Nicolaescu (Bug#6326).
5198
5199 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5200
5201 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5202
5203 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5204
5205 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5206
5207 * face-remap.el (face-remap-add-relative): Handle the case where a
5208 face-remapping-alist entry is a cons cell (Bug#12762).
5209
5210 2012-10-29 Kevin Ryde <user42@zip.com.au>
5211
5212 * woman.el (woman-parse-numeric-value): Handle picas correctly
5213 (Bug#12639).
5214
5215 2012-10-29 Glenn Morris <rgm@gnu.org>
5216
5217 * emacs-lisp/cl.el (defsetf): Doc fix.
5218
5219 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5222 syntax to the matching opener, if any (bug#12547).
5223 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5224 matching open as a "case-(".
5225 (sh-smie-rc-grammar): Add a corresponding rule for it.
5226
5227 2012-10-28 Daniel Hackney <dan@haxney.org>
5228
5229 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5230 "PKGNAME-autoloads.el" in case we created it.
5231
5232 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5233
5234 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5235 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5236 (completion--twq-all): Disable too-strict assertions.
5237
5238 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5239
5240 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5241
5242 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5243 text to match the real keybindings.
5244
5245 2012-10-27 Juri Linkov <juri@jurta.org>
5246
5247 * wdired.el (wdired-keep-marker-rename): New defcustom.
5248 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5249 (Bug#11795)
5250
5251 * dired.el (dired-keep-marker-rename): Add reference to
5252 `wdired-keep-marker-rename' in the docstring.
5253 Add default character value ?R to display initially in
5254 Customization UI instead of ?@.
5255
5256 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5257
5258 * window.el (display-buffer): In doc-string describe
5259 window-height and window-width alist entries.
5260
5261 * time.el (display-time-world): Restore fit-window-to-buffer
5262 behavior.
5263
5264 2012-10-27 Chong Yidong <cyd@gnu.org>
5265
5266 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5267
5268 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5269
5270 * minibuffer.el (completion-category-overrides): New completion
5271 category `bookmark' (bug#11131).
5272
5273 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5276 Silence bogus compiler warnings for ad-do-it.
5277
5278 * bookmark.el (bookmark-completing-read): Set the completion category
5279 to `bookmark' (bug#11131).
5280
5281 2012-10-26 Bastien <bzg@altern.org>
5282 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * face-remap.el: Use lexical-binding.
5285 (text-scale-adjust): Improve docstring. Use itself for the temporary
5286 overlay-map bindings, so as to repeat the "Use..." message each time.
5287
5288 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * emacs-lisp/macroexp.el (macroexp--expand-all):
5291 Obey byte-compile-warning-enabled-p (bug#12486).
5292
5293 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5294 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5295
5296 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5297
5298 * mouse.el (mouse-drag-line): Move last form into preceding when
5299 clause (Bug#12731).
5300
5301 * help.el (resize-temp-buffer-window): Fix doc-string.
5302
5303 2012-10-25 David Engster <deng@randomsample.de>
5304
5305 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5306 Remove. This feature is already integrated in imenu.
5307
5308 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5309 always loaded. Require `speedbar' unconditionally.
5310
5311 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5314
5315 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5316
5317 * net/ldap.el (ldap-search-internal): The official ldif format starts
5318 with a "version: 1" header (bug#12724).
5319
5320 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5321 (bug#12721).
5322
5323 2012-10-25 Glenn Morris <rgm@gnu.org>
5324
5325 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5326
5327 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * minibuffer.el (minibuffer-force-complete): Use one more marker
5330 for the temporary-overlay-map command (bug#12619).
5331
5332 2012-10-24 Chong Yidong <cyd@gnu.org>
5333
5334 * time.el (display-time-world-mode): Derive from special-mode.
5335 (display-time-world): Use display-buffer (Bug#12708).
5336 (display-time-world-mode-map): Variable deleted.
5337 (display-time-world-display): Wrap the final delete-char inside
5338 inhibit-read-only.
5339
5340 2012-10-24 Chong Yidong <cyd@gnu.org>
5341
5342 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5343 Doc fix.
5344
5345 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5346
5347 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * minibuffer.el (completion--all-sorted-completions-location): New var.
5350 (completion--cache-all-sorted-completions)
5351 (completion--flush-all-sorted-completions): Use it.
5352 (completion-in-region, completion-in-region--postch)
5353 (completion-at-point, completion-help-at-point): Use markers in
5354 completion-in-region--data (bug#12619).
5355
5356 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * progmodes/compile.el (compilation-start): Try to handle common
5359 quoting of `cd' argument (bug#12640).
5360
5361 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5362 (bug#12671).
5363
5364 2012-10-23 Glenn Morris <rgm@gnu.org>
5365
5366 * progmodes/gud.el (gud-menu-map):
5367 Check gdb-active-process is bound. (Bug#12358)
5368
5369 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * repeat.el (repeat): Set real-this-command (bug#12232).
5372
5373 * htmlfontify.el (hfy-post-html-hook):
5374 * filesets.el (filesets-cache-fill-content-hook):
5375 * arc-mode.el (archive-extract-hook):
5376 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5377 * net/rcirc.el (rcirc-sentinel-functions)
5378 (rcirc-receive-message-functions, rcirc-activity-functions)
5379 (rcirc-print-functions):
5380 * net/dbus.el (dbus-event-error-functions):
5381 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5382 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5383 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5384 * term/sun.el (sun-raw-prefix-hooks):
5385 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5386
5387 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5388
5389 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5390 Set `tramp-chunksize' to 1. This improves the performance.
5391 (tramp-smb-wait-for-output): Add timeout to
5392 `tramp-accept-process-output' calls.
5393
5394 2012-10-23 Chong Yidong <cyd@gnu.org>
5395
5396 * faces.el (font-list-limit): Define as an obsolete variable.
5397
5398 * startup.el (command-line):
5399 * cus-start.el: Don't refer to font-list-limit.
5400
5401 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5402
5403 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * subr.el (internal-temp-output-buffer-show): Rename from
5406 temp-output-buffer-show, since previously compiled files expect this name.
5407
5408 2012-10-23 Glenn Morris <rgm@gnu.org>
5409
5410 * image.el (image-type-from-file-name): If multiple types match,
5411 return the first one that is supported. (Bug#9045)
5412
5413 2012-10-22 Glenn Morris <rgm@gnu.org>
5414
5415 * image.el (imagemagick-enabled-types): Doc fix.
5416
5417 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5418
5419 * progmodes/which-func.el (which-func-current): The hash-table may have
5420 an explicit nil (bug#12338).
5421
5422 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 * electric.el (electric-pair-delete-selection-self-insert-function):
5425 Rename to electric-pair-will-use-region, return a boolean.
5426 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5427
5428 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5429 (delete-selection-pre-hook): Use use-region-p.
5430 (delete-selection-self-insert-function): Remove.
5431 (self-insert-command): Obey self-insert-uses-region-functions.
5432 (self-insert-iso): Revert to previous setting, since we don't actually
5433 know what that command does.
5434 (delete-selection-self-insert-hooks): Remove.
5435
5436 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5437
5438 * delsel.el (delete-selection-helper): New function, extracted from
5439 delete-selection-pre-hook.
5440 (delete-selection-pre-hook): Use it.
5441 (delete-selection-self-insert-function): New function.
5442 (delete-selection-self-insert-hooks): New hook.
5443 (self-insert-command, self-insert-iso): Use it.
5444 * electric.el (electric-pair-syntax): New function, extracted from
5445 electric-pair-post-self-insert-function.
5446 (electric-pair-post-self-insert-function): Use it.
5447 (electric-pair-delete-selection-self-insert-function): New function.
5448 (electric-pair-mode): Require delsel and setup
5449 delete-selection-self-insert-hooks (bug#11520).
5450
5451 2012-10-20 Chong Yidong <cyd@gnu.org>
5452
5453 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5454 no changes to show (Bug#12586).
5455
5456 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5457 list explicitly (Bug#12571).
5458
5459 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5460
5461 * progmodes/flymake.el (flymake-create-temp-inplace):
5462 Use file-truename.
5463
5464 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5465
5466 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5467
5468 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5469
5470 * calc/calc-units.el (math-extract-units): Properly extract powers
5471 of units.
5472
5473 2012-10-20 Daniel Colascione <dancol@dancol.org>
5474
5475 * frame.el (make-frame): Set x-display-name as we used to in order
5476 to unbreak creating an X11 frame from an Emacs daemon started
5477 without a display.
5478
5479 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5480
5481 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5482 the same completion-field (bug#12221).
5483
5484 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5485
5486 * emacs-lisp/debug.el (debug): Record height of debugger window
5487 also when debugger will be back (Bug#8789).
5488
5489 2012-10-18 Chong Yidong <cyd@gnu.org>
5490
5491 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5492 Convert to defcustom.
5493 (gdb-get-source-file): Don't bind pop-up-windows.
5494
5495 * progmodes/gud.el (gud-display-line): Don't specially re-use
5496 other frames for the gdb-mi case (Bug#12648).
5497
5498 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * emacs-lisp/advice.el: Clean up commentary a bit.
5501 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5502 (byte-code-function-p): Never redefine.
5503
5504 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5505
5506 2012-10-18 Glenn Morris <rgm@gnu.org>
5507
5508 * dired.el (dired-sort-toggle): Some ls implementations only allow
5509 a single option string. (Bug#12666)
5510
5511 * minibuffer.el (completion-cycle-threshold): Doc fix.
5512
5513 2012-10-17 Kenichi Handa <handa@gnu.org>
5514
5515 * international/mule.el (set-keyboard-coding-system):
5516 Recover input meta mode when the new coding system doesn not use 8-bit.
5517 Supply TERMINAL arg to set-input-meta-mode.
5518
5519 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5520
5521 * wdired.el (wdired-old-marks): New variable.
5522 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5523 (wdired-do-renames): Move point with renamed file and don't lose
5524 mark status (Bug#11795).
5525
5526 2012-10-16 Juri Linkov <juri@jurta.org>
5527
5528 * replace.el (query-replace-help): Mention multi-buffer replacement
5529 keys in the Help message. (Bug#12655)
5530
5531 2012-10-15 Chong Yidong <cyd@gnu.org>
5532
5533 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5534
5535 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5536
5537 * window.el (display-buffer): Doc fix.
5538
5539 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5540 Adjust the msft regexp to the output of Studio 2010, and move msft
5541 before edg-1. See the discussion on emacs-devel,
5542 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5543 for the details.
5544
5545 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5546
5547 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5548 (oset): Move uses of object-class-fast macro after its definition.
5549
5550 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5551
5552 2012-10-13 Chong Yidong <cyd@gnu.org>
5553
5554 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5555 enabled, re-enable it (Bug#11963).
5556
5557 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5558
5559 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5560 non-nil, restore window configuration (Bug#12623).
5561
5562 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * help-fns.el (describe-variable, describe-function-1):
5565 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5566
5567 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5568
5569 2012-10-12 Glenn Morris <rgm@gnu.org>
5570
5571 * mail/rmailsum.el (rmail-header-summary):
5572 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5573
5574 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5575
5576 * progmodes/python.el (python-mode-map):
5577 Replace subtitute-key-definition with proper command remapping.
5578 (python-nav--up-list): Fix behavior for blocks on the same level.
5579
5580 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5583
5584 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5585 changes to the format of load-history.
5586
5587 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5588 completion-ignore-case in case that var is buffer-local (bug#12615).
5589
5590 2012-10-11 Kenichi Handa <handa@gnu.org>
5591
5592 * international/eucjp-ms.el: Re-generated.
5593
5594 2012-10-10 Kenichi Handa <handa@gnu.org>
5595
5596 * select.el (xselect--encode-string): If a coding is specified for
5597 selection, and that is compatible with COMPOUND_TEXT, use it.
5598
5599 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5600
5601 * window.el (switch-to-buffer-preserve-window-point): New option.
5602 (switch-to-buffer):
5603 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5604
5605 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5608 Don't document nil as a useful value (bug#12583).
5609
5610 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5611
5612 * net/tramp.el (tramp-debug-message):
5613 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5614 (with-tramp-progress-reporter): Rename from
5615 `tramp-with-progress-reporter'.
5616 (with-tramp-file-property, with-tramp-connection-property):
5617 Move from tramp-cache.el, rename from `with-file-property' and
5618 `with-connection-property', respectively.
5619
5620 * net/tramp-cache.el: Remove `with-file-property' and
5621 `with-connection-property'.
5622
5623 * net/tramp.el:
5624 * net/tramp-gvfs.el:
5625 * net/tramp-sh.el:
5626 * net/tramp-smb.el: Adapt callees.
5627
5628 * net/trampver.el: Update release number.
5629
5630 2012-10-09 Glenn Morris <rgm@gnu.org>
5631
5632 * w32-fns.el (set-message-beep):
5633 * term/w32-win.el (set-message-beep): Update declarations.
5634
5635 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5638 (mode-line-widen, mode-line-input-method-map)
5639 (mode-line-coding-system-map, mode-line-remote)
5640 (mode-line-unbury-buffer, mode-line-bury-buffer)
5641 (mode-line-next-buffer, mode-line-previous-buffer):
5642 Replace save-selected-window+select-window => with-selected-window.
5643
5644 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5645 * progmodes/cc-vars.el (bq-process): Remove, unused.
5646
5647 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5648
5649 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5650
5651 Implemented `backward-up-list'-like navigation.
5652 * progmodes/python.el (python-nav-up-list)
5653 (python-nav-backward-up-list): New functions.
5654 (python-mode-map): Define substitute key for backward-up-list to
5655 python-nav-backward-up-list.
5656
5657 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5658
5659 * progmodes/python.el (python-fill-paragraph): Rename from
5660 python-fill-paragraph-function. Fixed fill-paragraph for
5661 decorators (Bug#12605).
5662
5663 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5664
5665 * progmodes/python.el (python-shell-output-filter): Handle extra
5666 carriage return in OSX (Bug#12409).
5667
5668 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5669
5670 Fix shell handling of unbalanced quotes and parens in output.
5671 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5672 (python-syntax-propertize-function): Use it.
5673 (python-shell-output-syntax-table): New var.
5674 (inferior-python-mode): Prevent unbalanced parens/quotes from
5675 previous output mess with current input context.
5676
5677 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5678
5679 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5680 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5681
5682 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5683
5684 * ffap.el (ffap-replace-file-component): Support Tramp file name
5685 syntax, not only ange-ftp's one.
5686
5687 2012-10-08 Glenn Morris <rgm@gnu.org>
5688
5689 * cus-start.el (message-log-max): Set :version.
5690
5691 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5692
5693 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5694
5695 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5696 the minibuffer window (Bug#10851).
5697
5698 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5699
5700 Enhancements on forward-sexp movement.
5701 * progmodes/python.el (python-nav-beginning-of-statement)
5702 (python-nav-end-of-statement): Return point-marker.
5703 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5704 (python-info-current-symbol)
5705 (python-info-statement-starts-block-p): Rename from
5706 python-info-beginning-of-block-p.
5707 (python-info-statement-ends-block-p): Rename from
5708 python-info-end-of-block-p.
5709 (python-info-beginning-of-statement-p)
5710 (python-info-end-of-statement-p)
5711 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5712 New functions.
5713
5714 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5717 frame-selected-windows.
5718
5719 2012-10-08 Daniel Colascione <dancol@dancol.org>
5720
5721 * battery.el (battery-status-function): Check for
5722 w32-battery-status itself, not system-time windows-nt.
5723
5724 * frame.el: Require cl-lib.
5725 (display-format-alist): New variable mapping frame types to
5726 functions that initialize them.
5727 (window-system-for-display): New function: interprets
5728 display-format-alist.
5729 (make-frame-on-display): Remove existing display-selection logic
5730 and just forward to make-frame, which will now DTRT.
5731 (make-frame): Restructure to use window-system-for-display to
5732 figure out how to create a frame on a given display.
5733 (display-mouse-p): Look for frame-type w32, not a particular
5734 system-type.
5735
5736 * loadup.el: Load w32 lisp code when we have the w32 feature.
5737
5738 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5739 system-type windows-nt.
5740
5741 * server.el (server-create-window-system-frame): Look for window
5742 type.
5743 (server-proces-filter): Only force a window system when windows-nt
5744 _and_ w32. Explain why.
5745
5746 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5747 of window systems we configure for the mode.
5748
5749 * startup.el (command-line): Mark window system is initialized
5750 after we've done it.
5751
5752 * common-win.el (x-select-text): Look for w32, not windows-nt.
5753
5754 * ns-win.el: Require cl-lib. Add ourselves to
5755 display-format-alist.
5756 (ns-initialize-window-system): Assert we're not initialized twice.
5757
5758 * w32-win.el: Enable lexical binding; require cl-lib; add
5759 ourselves to display-format-alist.
5760 (w32-handle-dropped-file): Convert incoming dropped files from
5761 Windows paths to Cygwin ones before passing them on to the rest of
5762 Emacs.
5763 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5764 (w32-initialize-window-system): Assert we're not initialized twice.
5765
5766 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5767 (x-initialize-window-system): Assert we're not initialized twice.
5768
5769 * w32-common-fns.el: New File.
5770 (w32-version, w32-using-nt, w32-get-clipboard-data)
5771 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5772 (w32-charset-info-alist, x-last-selected, text)
5773 (x-get-selection-value, x-selection-value): Move here.
5774
5775 * w32-fns.el: Require w32-common-fns.
5776 (w32-version, w32-using-nt, w32-get-clipboard-data)
5777 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5778 (w32-charset-info-alist, x-last-selected, text)
5779 (x-get-selection-value, x-selection-value): Move to
5780 w32-common-fns.
5781
5782 * w32-vars.el:
5783 (w32-allow-system-shell, w32-system-shells): Define only in
5784 non-cygwin case.
5785
5786 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5787
5788 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5789 (read-passwd): Remove a few more potential sources of leaks.
5790
5791 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5792
5793 * progmodes/python.el (inferior-python-mode)
5794 (python-shell-make-comint): Fix initialization of local
5795 variables copied from parent buffer.
5796
5797 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5798
5799 * term/ns-win.el (ns-read-file-name): Update declaration to match
5800 nsfns.m.
5801 (ns-respond-to-change-font): Change fontsize separately so we are sure
5802 it is set when font is acted upon.
5803
5804 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5805
5806 Enhancements to indentation.
5807 * progmodes/python.el (python-indent-context): Give priority to
5808 inside-string context. Make comments indentation markers.
5809 (python-indent-region): Do not mess with strings, unless it's the
5810 enclosing set of quotes.
5811
5812 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5813
5814 * window.el (internal--before-save-selected-window)
5815 (internal--after-save-selected-window): New functions extracted from
5816 save-selected-window. Make sure we return the `alist' we construct.
5817 (save-selected-window): Use them.
5818
5819 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5820 Use with-selected-window.
5821
5822 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5823 forms that define macros (bug#12593).
5824
5825 2012-10-07 Kenichi Handa <handa@gnu.org>
5826
5827 * international/mule-conf.el (compound-text-with-extensions):
5828 Add :mime-charset property as x-ctext.
5829
5830 2012-10-07 Stefan Merten <smerten@oekonux.de>
5831
5832 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5833 (rst-indent-literal-normal, rst-indent-literal-minimized)
5834 (rst-indent-comment): Correct :version tag.
5835 (rst-official-cvs-rev): Correct version string.
5836
5837 2012-10-07 Glenn Morris <rgm@gnu.org>
5838
5839 * mail/rmailmm.el (rmail-mime-process-multipart):
5840 Do not confuse a multipart message with an epilogue
5841 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5842
5843 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5844
5845 Fix shell output retrieval and comint-prompt-regexp init.
5846 * progmodes/python.el (inferior-python-mode):
5847 (python-shell-make-comint): Fix initialization of
5848 comint-prompt-regexp from copied file local variables.
5849 (python-shell-fetched-lines): Remove var.
5850 (python-shell-output-filter-in-progress): Rename from
5851 python-shell-fetch-lines-in-progress.
5852 (python-shell-output-filter-buffer): Rename from
5853 python-shell-fetch-lines-string.
5854 (python-shell-fetch-lines-filter): Delete function.
5855 (python-shell-output-filter): New function.
5856 (python-shell-send-string-no-output): Use them.
5857
5858 2012-10-07 Glenn Morris <rgm@gnu.org>
5859
5860 * hi-lock.el (hi-lock-process-phrase):
5861 Try to make it less fragile. (Bug#7161)
5862
5863 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5864
5865 2012-10-06 Glenn Morris <rgm@gnu.org>
5866
5867 * ehelp.el (electric-help-mode): Use help-mode rather than
5868 non-existent mode `help'.
5869 (electric-help-map): Use button-buffer-map. (Bug#10917)
5870
5871 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5872 (reftex-create-bibtex-footer): Fix custom types.
5873
5874 * progmodes/sh-script.el (sh-indent-after-continuation):
5875 Add explicit :group.
5876
5877 * textmodes/rst.el (rst-preferred-decorations)
5878 (rst-shift-basic-offset): Clarify obsolescence versions.
5879
5880 * profiler.el (profiler): Add missing group :version tag.
5881 * avoid.el (mouse-avoidance-banish-position):
5882 * proced.el (proced-renice-command):
5883 * calc/calc.el (calc-ensure-consistent-units):
5884 * calendar/icalendar.el (icalendar-import-format-uid):
5885 * net/tramp.el (tramp-save-ad-hoc-proxies):
5886 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5887 * progmodes/flymake.el (flymake-error-bitmap)
5888 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5889 * progmodes/sh-script.el (sh-indent-after-continuation):
5890 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5891 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5892 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5893 (vhdl-array-index-record-field-in-sensitivity-list)
5894 (vhdl-indent-comment-like-next-code-line):
5895 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5896 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5897 (reftex-cite-key-separator, reftex-create-bibtex-header)
5898 (reftex-create-bibtex-footer):
5899 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5900 (rst-indent-literal-normal, rst-indent-literal-minimized)
5901 (rst-indent-comment): Add missing custom :version tags.
5902
5903 * calendar/timeclock.el (timeclock-modeline-display):
5904 Add missing obsolete alias for renamed user option.
5905
5906 * strokes.el (strokes-modeline-string):
5907 * emulation/crisp.el (crisp-mode-modeline-string):
5908 * eshell/esh-mode.el (eshell-status-in-modeline):
5909 Aliases to defcustoms must come before the defcustom.
5910
5911 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5912 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5913 (cal-tex-cursor-week-monday): Doc fixes.
5914 (cal-tex-cursor-week2-summary): Doc fix.
5915 Rename from cal-tex-cursor-week-at-a-glance.
5916
5917 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5918 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5919
5920 * calendar/calendar.el (calendar-mode-map):
5921 Add cal-tex-cursor-week2-summary.
5922
5923 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5926
5927 * subr.el (read-passwd-map): New var.
5928 (read-passwd): Use `read-string' again.
5929 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5930
5931 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5932
5933 * register.el (append-to-register, prepend-to-register):
5934 Deactivate mark, as does `copy-to-register' (bug#12389).
5935
5936 2012-10-06 Chong Yidong <cyd@gnu.org>
5937
5938 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5939
5940 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5941
5942 * international/characters.el: Fix simple mistake ((car chars) ->
5943 elt), delete duplicated code.
5944
5945 2012-10-06 Glenn Morris <rgm@gnu.org>
5946
5947 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5948
5949 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
5950
5951 * color.el (color-hsl-to-rgb): Fix incorrect results for
5952 small and large hue values. (Bug#12559)
5953
5954 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
5955
5956 Enhancements to docstring formatting when filling paragraphs.
5957 * progmodes/python.el (python-fill-docstring-style): Rename from
5958 python-fill-string-style. Added new style.
5959 (python-fill-string): Use new style. Better checks for
5960 docstrings.
5961
5962 2012-10-05 Glenn Morris <rgm@gnu.org>
5963
5964 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
5965
5966 * color.el (color-name-to-rgb, color-rgb-to-hex)
5967 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
5968 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
5969 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5970 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
5971
5972 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
5973
5974 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
5975
5976 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
5977 to get the correct size across symlinks.
5978
5979 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
5980
5981 2012-10-04 Juri Linkov <juri@jurta.org>
5982
5983 * replace.el (query-replace-interactive): Declare obsolete.
5984 (query-replace-read-from): Add the last incremental search string
5985 to the list of default values accessible via M-n.
5986 (map-query-replace-regexp): Use `read-regexp'.
5987 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5988 (map-query-replace-regexp, replace-string, replace-regexp):
5989 Fix docstrings to replace mentions of `query-replace-interactive'
5990 with alternatives. (Bug#12526)
5991
5992 2012-10-04 Juri Linkov <juri@jurta.org>
5993
5994 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
5995 (dired-pop-to-buffer): Declare obsolete.
5996 (dired-mark-pop-up): Doc fix.
5997
5998 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
5999
6000 Allow user to set docstring style for fill-paragraph.
6001 * progmodes/python.el
6002 (python-fill-comment-function, python-fill-string-function)
6003 (python-fill-decorator-function, python-fill-paren-function):
6004 Remove :safe for defcustoms.
6005 (python-fill-string-style): New defcustom
6006 (python-fill-paragraph-function): Enhance context detection.
6007 (python-fill-string): Honor python-fill-string-style settings.
6008
6009 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6010
6011 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6012 after setting its buffer (Bug#10805).
6013
6014 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6015
6016 Fix cornercase for string syntax.
6017 * progmodes/python.el (python-syntax-propertize-function):
6018 Simplify and enhance the regexp for unescaped quotes. Now it also
6019 matches quotes in weird situations like the single quote in
6020 "something\"'".
6021 (python-syntax-stringify): Simplify num-quotes detecting code.
6022
6023 2012-10-03 Glenn Morris <rgm@gnu.org>
6024
6025 * help-macro.el (three-step-help):
6026 Revert 2012-09-29 change. (Bug#12567)
6027
6028 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6029
6030 * menu-bar.el (kill-this-buffer): Don't do anything when
6031 `menu-frame' is not alive or visible (Bug#8184).
6032
6033 * emacs-lisp/debug.el (debug): When quitting the debugger window
6034 restore current buffer (Bug#12502).
6035
6036 2012-10-02 Chong Yidong <cyd@gnu.org>
6037
6038 * progmodes/hideif.el (hif-lookup, hif-defined):
6039 Handle semantic-c-takeover-hideif.
6040
6041 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6042
6043 Change sampling interval units from ms to ns.
6044 * profiler.el (profiler-sampling-interval): Change units
6045 from ms to ns, multiplying the default by 1000000 so that
6046 it remains 1 ms.
6047 (profiler-report-cpu-line-format): Give enough room for
6048 the maximum counters on 64-bit hosts.
6049 (profiler-report-render-calltree-1): Call them "CPU samples",
6050 not "Time (ms)", since they are not milliseconds now (and
6051 never really were).
6052
6053 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6054
6055 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6056 Fix querying BBDB for entries without a last name (Bug#11580).
6057
6058 2012-10-02 Chong Yidong <cyd@gnu.org>
6059
6060 * emacs-lisp/eieio.el: Restore Version header.
6061
6062 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6063
6064 * vc/diff-mode.el (diff--auto-refine-data): New var.
6065 (diff-hunk): Use it to delay refinement.
6066 (diff-mode): Remove overlays when we turn off font-lock.
6067
6068 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6069 (table-initialize-table-fixed-width-mode)
6070 (table-set-table-fixed-width-mode): Remove functions.
6071 (table-command-list): Move initialization into declaration.
6072 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6073 (table-with-cache-buffer): Use `declare'.
6074 (table-span-cell): Simplify via CSE.
6075 (table-fixed-width-mode): Use define-minor-mode.
6076 (table-call-interactively, table-funcall, table-apply): Remove.
6077 (table-function): New function, to replace them.
6078
6079 * bookmark.el (bookmark-search-pattern): Remove var.
6080 (bookmark-read-search-input): Remove function.
6081 (bookmark-bmenu-search): Reimplement using a minibuffer.
6082
6083 * faces.el (modeline): Remove obsolete face name.
6084
6085 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6086 and give a non-nil default value.
6087 (add-change-log-entry): Simplify accordingly.
6088
6089 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6090
6091 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6092 (vc-git-log-edit-toggle-amend): New function.
6093 (vc-git-log-edit-toggle-signoff): New function.
6094 (vc-git-log-edit-mode): New major mode.
6095 (vc-git-log-edit-mode-map): Keymap for it.
6096 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6097
6098 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6099 header names.
6100 (log-edit-toggle-header): New function.
6101 (log-edit-extract-headers): Accept function values in HEADERS alist.
6102
6103 2012-10-01 David Engster <deng@randomsample.de>
6104
6105 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6106 from symbol property and change message to be more consistent with
6107 Emacs proper.
6108 (eieio-describe-generic): Add filename for each implementation.
6109 Fix indices for generic and normal methods.
6110 (eieio-method-def, eieio-class-def): New buttons.
6111 (eieio-help-find-method-definition)
6112 (eieio-help-find-class-definition): New functions.
6113 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6114 class, constructor and method definitions.
6115
6116 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6117 information in symbol property.
6118 (scoped-class): Remove.
6119 (eieio-slot-name-index, call-next-method): Check if it is bound.
6120
6121 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6122
6123 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6124 (eieio-custom-mode): New major mode.
6125 (eieio-customize-object): Use it.
6126
6127 2012-10-01 Eric Ludlam <zappo@gnu.org>
6128
6129 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6130 specifying the expected class, and whether subclassing is allowed.
6131 (eieio-persistent-convert-list-to-object):
6132 (eieio-persistent-validate/fix-slot-value)
6133 (eieio-persistent-slot-type-is-class-p): New functions.
6134 (eieio-named::slot-missing): Doc fix.
6135
6136 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6137 Stop using unused publd variable.
6138
6139 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6140 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6141 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6142 (eieio-speedbar-handle-click): Do not specify a class for the
6143 method. Fixes method invocation order problems with EDE.
6144
6145 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6148 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6149
6150 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6151
6152 * bookmark.el (bookmark-version-control): Give tags in the
6153 :type choices (Bug#12309), and improve doc string.
6154 (bookmark-write-file): Bind `print-circle' to `t' to allow
6155 circular custom bookmark types. (Bug#12503)
6156
6157 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6158
6159 Revert the FOLLOW-SYMLINKS change for file-attributes.
6160 * files.el (remote-file-name-inhibit-cache, after-find-file):
6161 * time.el (display-time-file-nonempty-p): Undo last change.
6162
6163 * profiler.el (profiler-sampling-interval): Change default back to 1.
6164 See Stefan Monnier in
6165 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6166
6167 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6168
6169 Shell output catching a la gud-gdb.
6170 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6171 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6172 New Vars.
6173 (python-shell-fetch-lines-filter): New function.
6174 (python-shell-send-string-no-output): Use them.
6175
6176 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6177
6178 * profiler.el (profiler-sampling-interval): Rename from
6179 profiler-sample-interval.
6180 (profiler-sampling-interval): Default to 10.
6181 (profiler-find-profile): New command (was profiler-find-log).
6182 (profiler-find-profile-other-window): New command.
6183 (profiler-find-profile-other-frame): New command.
6184 (profiler-profile): Introduce API-level data structure.
6185
6186 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6187
6188 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6189 * files.el (remote-file-name-inhibit-cache):
6190 * time.el (display-time-file-nonempty-p): Use it.
6191 * files.el (after-find-file): Don't chase links before calling
6192 file-exists-p, as file-exists-p already does the right thing.
6193
6194 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6195
6196 Merge from standalone RefTeX repository.
6197
6198 The following ChangeLog entries are shortened versions of the
6199 original ones with file paths adapted. A not so strongly edited
6200 version of the original ChangeLog can be found in the commit log.
6201
6202 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6203 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6204 Correctly handle new value type returned by `reftex-citation'.
6205
6206 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6207 that entries with whitespace at various places are found.
6208 Doc fix. Include entries that are cross-referenced from cited entries.
6209 Include @String definitions in the resulting bib file. Add header
6210 and footer defined in `reftex-create-bibtex-header' and
6211 `reftex-create-bibtex-footer'.
6212 (reftex-do-citation): Make it possible again to insert
6213 non-existent entries. Save match data when asking for optional
6214 arguments. Return all keys, not just the first one.
6215 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6216 all citations in the same line.
6217 (reftex-parse-bibtex-entry): Accept additional optional argument
6218 `raw' and keep quotes or braces if it is non-nil. Match fields
6219 containing hyphens besides word constituents.
6220 (reftex-get-string-refs): New function.
6221 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6222 and ask if it should be reread in case it did.
6223 (reftex-pop-to-bibtex-entry)
6224 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6225 entries with spaces or tabs in front of arguments.
6226 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6227 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6228 Match entries containing numbers and symbol constituents.
6229 (reftex-do-citation, reftex-figure-out-cite-format):
6230 Use `reftex-cite-key-separator'.
6231
6232 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6233 (reftex-mouse-view-crossref): Explain why point is set.
6234
6235 * textmodes/reftex-global.el: Whitespace changes.
6236
6237 * textmodes/reftex-index.el: Move provide statement to end of
6238 file.
6239 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6240 (reftex-index-visit-phrases-buffer): Set marker when visiting
6241 buffer. This allows for returning from the phrases file to the
6242 file one was just editing instead of the file where the last
6243 phrases was added from.
6244 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6245 punctuation syntax as it usually is not used as string quote in
6246 TeX-related modes and may occur unmatched. The change also
6247 prevents fontification of quoted content.
6248 (reftex-index-phrases-mode): Use it.
6249
6250 * textmodes/reftex-parse.el (reftex-parse-from-file):
6251 Move backward one char if a `\' was matched after a section macro.
6252 (reftex-parse-from-file): Use beginning of match instead of end as
6253 bound.
6254
6255 * textmodes/reftex-ref.el: Adapt creation of
6256 `reftex-<package>-<macro>' functions to new structure of
6257 `reftex-ref-style-alist'.
6258 (reftex-reference): Use `reftex-ref-style-list' function.
6259 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6260 reference macro if `reftex-ref-macro-prompt' is non-nil.
6261 (reftex-reference): Pass refstyle to `reftex-format-special'.
6262 Determine reference macro by looking at
6263 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6264 Use only one special format function.
6265 (reftex-varioref-vref, reftex-fancyref-fref)
6266 (reftex-fancyref-Fref): Remove definitions. The functions are now
6267 generated from `reftex-ref-style-alist'.
6268 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6269 Remove.
6270 (reftex-format-special): New function.
6271
6272 * textmodes/reftex-sel.el
6273 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6274 of `reftex-ref-style-alist'. Remove code for testing macro type.
6275 (reftex-select-toggle-varioref)
6276 (reftex-select-toggle-fancyref): Remove.
6277 (reftex-select-cycle-ref-style-internal)
6278 (reftex-select-cycle-ref-style-forward)
6279 (reftex-select-cycle-ref-style-backward): New functions.
6280 (reftex-select-label-map): Use `v' and `V' for general cycling
6281 through reference styles. Add `p' for switching between number
6282 and page reference types.
6283
6284 * textmodes/reftex-toc.el (reftex-re-enlarge):
6285 Call `enlarge-window' only if there is something to do because in Emacs
6286 the horizontal version throws an error even if the parameter is 0.
6287
6288 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6289 (reftex-plug-into-AUCTeX): Doc fix.
6290 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6291 string. Adapt to new name.
6292 (reftex-ref-style-alist): Change structure so that it is not
6293 possible to use multiple different package names within a style.
6294 Remove the symbols for symbols for macro type distinction.
6295 Add characters for macro selection.
6296 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6297 (reftex-create-bibtex-footer): New variables.
6298 (reftex-format-ref-function): Mention third argument of special
6299 format function.
6300 (reftex-ref-style-alist, reftex-ref-style-default-list):
6301 New variables.
6302 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6303 to new implementation. Mark as obsolete. Add compatibility code
6304 for honoring the variable values in case they are set.
6305 (reftex-cite-format-builtin, reftex-bibliography-commands):
6306 Add support for ConTeXt.
6307 (reftex-format-ref-function, reftex-format-cite-function):
6308 Fix custom type.
6309 (reftex-cite-key-separator): New variable.
6310
6311 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6312 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6313 `reftex-syntax-table' because parens have to retain their paren
6314 syntax in order for parsing of BibTeX entries like @book(...) to
6315 work.
6316 (reftex-in-comment): Do not error out if `comment-start-skip' is
6317 not set. Deal correctly with escaped comment characters.
6318 (reftex-tie-multifile-symbols): Add doc string.
6319 Initialize `reftex-ref-style-list'.
6320 (reftex-untie-multifile-symbols): Add doc string.
6321 (reftex-add-index-macros): Doc fix.
6322 (reftex-ref-style-activate, reftex-ref-style-toggle)
6323 (reftex-ref-style-list): New functions.
6324 (reftex-mode-menu): Use them. Adapt to new structure of
6325 `reftex-ref-style-alist'.
6326 (reftex-select-with-char): Kill the RefTeX Select buffer when
6327 done.
6328 (reftex-remove-if): New function.
6329 (reftex-erase-all-selection-and-index-buffers)
6330 (reftex-mode-menu): Reference styles are now computed from
6331 `reftex-ref-style-alist'. Fix typo.
6332 (reftex-report-bug): New function.
6333 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6334 algorithms with O(n log n). Introduce optional argument SORT (not
6335 yet used).
6336
6337 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6338
6339 Enhancements for triple-quote string syntax.
6340 * progmodes/python.el (python-syntax-propertize-function):
6341 Match both quote cases in one regexp.
6342 (python-syntax-stringify): Handle matches properly.
6343
6344 2012-09-30 Juri Linkov <juri@jurta.org>
6345
6346 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6347 to nil around the call to `insert' to prevent
6348 directory time modification by lock_file. (Bug#2295)
6349 * tar-mode.el (tar-summarize-buffer): Idem.
6350
6351 2012-09-30 Juri Linkov <juri@jurta.org>
6352
6353 * facemenu.el (list-colors-sort): Add option "Luminance".
6354 (list-colors-sort-key): Implement it.
6355
6356 * vc/diff-mode.el (diff-refine-removed):
6357 * vc/ediff-init.el (ediff-fine-diff-A):
6358 * vc/smerge-mode.el (smerge-refined-removed):
6359 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6360
6361 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6362
6363 * term/ns-win.el (x-file-dialog): New function.
6364
6365 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6366
6367 * ido.el (ido-max-directory-size): Default to nil; the current
6368 default is small for POSIX systems, and impractical on Windows 7
6369 now that lstat returns directory sizes for NTFS.
6370
6371 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6372
6373 In buffer display functions handle window-height/window-width
6374 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6375 * window.el (window--display-buffer): New argument ALIST.
6376 Obey window-height and window-width alist entries.
6377 (window--try-to-split-window): New argument ALIST.
6378 Bind window-combination-limit to t when the window's size shall be
6379 changed and window-combination-limit equals `window-size'.
6380 (display-buffer-in-atom-window)
6381 (display-buffer-in-major-side-window)
6382 (display-buffer-in-side-window, display-buffer-same-window)
6383 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6384 (display-buffer-pop-up-window, display-buffer-below-selected)
6385 (display-buffer-at-bottom, display-buffer-in-previous-window)
6386 (display-buffer-use-some-window): Adjust all callers of
6387 window--display-buffer and window--try-to-split-window.
6388 (fit-frame-to-buffer): New option.
6389 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6390 is non-nil.
6391 (display-buffer-in-major-side-window): Evaluate window-height /
6392 window-width alist entries.
6393
6394 * help.el (temp-buffer-resize-frames)
6395 (temp-buffer-resize-regexps): Remove options.
6396 (temp-buffer-resize-mode): Adjust doc-string.
6397 (resize-temp-buffer-window): Don't consult
6398 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6399 temp-buffer-resize-frames.
6400
6401 * dired.el (dired-mark-pop-up):
6402 Call display-buffer-below-selected with a fit-window-to-buffer alist
6403 entry.
6404
6405 2012-09-30 Chong Yidong <cyd@gnu.org>
6406
6407 * server.el (server-host): Document the security implications.
6408 (server-auth-key): Doc fix.
6409
6410 * startup.el (initial-buffer-choice): Doc fix.
6411
6412 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6413
6414 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6415 restriction change.
6416
6417 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6418
6419 * help-fns.el (help-fns--obsolete): Fix last change.
6420
6421 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6422
6423 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6424 (minor-mode-map-alist): Remove redundant code.
6425
6426 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6427 visited in a buffer.
6428 (cvs-insert-visited-file): New function.
6429 (find-file-hook): Use it.
6430
6431 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6432
6433 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6434 chose face.
6435 (log-edit-empty-buffer-p): Don't require a space after a header.
6436
6437 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6438
6439 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6440
6441 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6442 a proper minor-mode.
6443
6444 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6445
6446 2012-09-29 Glenn Morris <rgm@gnu.org>
6447
6448 * winner.el (winner-mode): Remove variable (let define-minor-mode
6449 handle it).
6450 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6451 Doc fixes.
6452 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6453 (winner-mode): Use define-minor-mode.
6454
6455 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6456 the full definition in loaddefs, rather than duplicating it.
6457
6458 * help-macro.el (three-step-help): No need to autoload defcustom.
6459
6460 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6461 (inferior-lisp-program, inferior-lisp-load-command)
6462 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6463 No need to autoload defcustoms.
6464
6465 * hippie-exp.el (hippie-expand-try-functions-list)
6466 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6467 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6468 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6469 (hippie-expand-only-buffers): No need to autoload defcustoms.
6470 * progmodes/vhdl-mode.el (vhdl-line-expand):
6471 Explicitly load hippie-exp, so it does not get autoloaded
6472 while hippie-expand-try-functions-list is let-bound.
6473
6474 2012-09-28 Glenn Morris <rgm@gnu.org>
6475
6476 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6477
6478 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6479 Only "cl.el" counts as cl these days.
6480
6481 2012-09-28 Juri Linkov <juri@jurta.org>
6482
6483 Display archive errors in the echo area instead of inserting
6484 to the file buffer.
6485
6486 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6487 to STDERR-TEST that can be a regexp matching a successful output.
6488 Create a temporary file and redirect stderr to it. Search for
6489 STDERR-TEST in the stderr output and display it in the echo area
6490 if no match is found.
6491 (archive-extract-by-file): New function like
6492 `archive-extract-by-stdout' but extracting archives to files
6493 and looking for successful matches in stdout. Function body is
6494 mostly copied from `archive-rar-extract'.
6495 (archive-rar-extract): Use `archive-extract-by-file'.
6496 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6497
6498 2012-09-28 Leo Liu <sdl.web@gmail.com>
6499
6500 * pcomplete.el (pcomplete-show-completions):
6501 Use minibuffer-message to make pcomplete usable in minibuffer.
6502
6503 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6504
6505 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6506
6507 * type-break.el: Use lexical-binding.
6508 (type-break-mode): Use define-minor-mode.
6509
6510 * emacs-lisp/pcase.el (pcase--mark-used): New.
6511 (pcase--u1): Use it (bug#12512).
6512
6513 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6514 in load-history with the right file name.
6515
6516 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6517
6518 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6519 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6520 (doc-view-get-bounding-box): Make bounding box slicing work for
6521 ODF and DVI documents.
6522
6523 2012-09-28 Glenn Morris <rgm@gnu.org>
6524
6525 * type-break.el (type-break-mode, type-break-interval)
6526 (type-break-good-rest-interval, type-break-keystroke-threshold):
6527 No need to autoload.
6528 (type-break-good-rest-interval, type-break-keystroke-threshold):
6529 Add :set-after.
6530
6531 2012-09-28 Chong Yidong <cyd@gnu.org>
6532
6533 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6534 Add :version tag.
6535
6536 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6537
6538 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6539
6540 2012-09-27 Glenn Morris <rgm@gnu.org>
6541
6542 * faces.el (x-display-name): Declare (for without-x builds).
6543
6544 * linum.el (linum-format): Don't autoload it. Improve :type.
6545
6546 * progmodes/tcl.el: Don't require outline when compiling.
6547 (outline-regexp, outline-level): Declare.
6548 * textmodes/sgml-mode.el: Don't require outline when compiling.
6549 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6550
6551 * term.el (term-ansi-reset):
6552 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6553
6554 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6555 files for RCS and SCCS. (Bug#9781)
6556
6557 2012-09-27 Chong Yidong <cyd@gnu.org>
6558
6559 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6560 change; value should be t.
6561
6562 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * image-mode.el: Use lexical-binding.
6565 (image-mode-winprops): Use t to stand for the window of
6566 a buffer that's not displayed.
6567 * doc-view.el (doc-view-new-window-function): Handle the new
6568 t in winprops.
6569 (doc-view-enlarge): Make it a real nop if the size is not changed.
6570 (doc-view-display): Handle the case where the buffer is not (yet?)
6571 displayed in any window.
6572 (doc-view-saved-settings): New var.
6573 (doc-view-mode): Use it.
6574 (doc-view-fallback-mode): Set it.
6575
6576 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6577 Set lexical-binding.
6578 (minibuffer-eldef-shorten-default): New var.
6579 (minibuffer-default-in-prompt-regexps): Use it for new default.
6580 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6581
6582 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6583
6584 * international/uni-bidi.el:
6585 * international/uni-category.el:
6586 * international/uni-name.el:
6587 * international/uni-numeric.el: Regenerate.
6588
6589 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6590 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * profiler.el: New file.
6593
6594 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6597 (testcover-reinstrument): Simplify with CSE.
6598
6599 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6600
6601 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6602
6603 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6604
6605 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6606 (verilog-auto-input, verilog-auto-insert-lisp)
6607 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6608 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6609 (verilog-auto-unused, verilog-auto-wire)
6610 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6611 newline. Reported by Andrew Jones.
6612 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6613 Reported by Brad Dobbie.
6614 (verilog-batch-delete-trailing-whitespace):
6615 Create verilog-batch-delete-trailing-whitespace.
6616 Reported by Brad Dobbie.
6617 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6618 parameters from another module. Reported by Dan Katz.
6619 (verilog-auto, verilog-auto-assign-modport)
6620 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6621 AUTOINOUTMODPORT for UVM interface module shell generation.
6622 Reported by Brad Dobbie.
6623 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6624 standard behavior.
6625 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6626 Reported by Matt Martin.
6627
6628 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6629
6630 * window.el (window--resize-child-windows): When resizing child
6631 windows proportionally, process them in reverse order to
6632 preserve the "when splitting a window the new one gets the odd
6633 line" behavior.
6634 (window--resize-root-window-vertically): When resizing the
6635 minibuffer window try to affect only windows at the bottom of the
6636 frame. (Bug#12419)
6637
6638 2012-09-25 Chong Yidong <cyd@gnu.org>
6639
6640 * subr.el (declare): Doc fix.
6641
6642 * help-fns.el (help-fns--obsolete): Handle macros properly.
6643
6644 2012-09-25 Chong Yidong <cyd@gnu.org>
6645
6646 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6647 this function obsolete.
6648
6649 * calendar/cal-x.el (calendar-two-frame-setup)
6650 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6651 * calendar/calendar.el (american-calendar, european-calendar)
6652 (calendar-for-loop):
6653 * comint.el (comint-dynamic-simple-complete)
6654 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6655 * desktop.el (desktop-load-default):
6656 * dired-x.el (dired-omit-here-always)
6657 (dired-hack-local-variables, dired-default-directory):
6658 * emacs-lisp/derived.el (derived-mode-class):
6659 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6660 * emacs-lock.el (toggle-emacs-lock):
6661 * epa.el (epa-display-verify-result):
6662 * epg.el (epg-sign-keys, epg-start-sign-keys)
6663 (epg-passphrase-callback-function):
6664 * eshell/esh-util.el (eshell-for):
6665 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6666 (eshell-add-to-window-buffer-names):
6667 * files.el (locate-file-completion):
6668 * imenu.el (imenu-example--create-c-index)
6669 (imenu-example--create-lisp-index)
6670 (imenu-example--lisp-extract-index-name)
6671 (imenu-example--name-and-position):
6672 * international/mule-cmds.el (princ-list):
6673 * international/mule-diag.el (decode-codepage-char):
6674 * international/mule-util.el (detect-coding-with-priority):
6675 * iswitchb.el (iswitchb-read-buffer):
6676 * mail/mailalias.el (mail-complete):
6677 * mail/sendmail.el (mail-sent-via):
6678 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6679 (mouse-major-mode-menu):
6680 * password-cache.el (password-read-and-add):
6681 * pcomplete.el (pcomplete-parse-comint-arguments):
6682 * progmodes/sh-script.el (sh-maybe-here-document):
6683 * replace.el (query-replace-regexp-eval):
6684 * savehist.el (savehist-load):
6685 * simple.el (choose-completion-delete-max-match):
6686 * term.el (term-dynamic-simple-complete):
6687 * vc/ediff-init.el (ediff-check-version):
6688 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6689 * vc/vc.el (vc-diff-switches-list):
6690 * view.el (view-return-to-alist-update): Likewise.
6691
6692 * subr.el (eval-next-after-load, makehash, insert-string)
6693 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6694 mark obsolete.
6695 (mode-line-inverse-video): Variable deleted.
6696
6697 * international/mule-util.el (string-to-sequence): Remove.
6698
6699 * calendar/calendar.el (calendar-version):
6700 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6701 (icalendar-convert-diary-to-ical):
6702 * cus-edit.el (custom-mode):
6703 * ansi-color.el (ansi-color-unfontify-region):
6704 * international/latin1-disp.el (latin1-char-displayable-p):
6705 * progmodes/cwarn.el (turn-on-cwarn-mode):
6706 * progmodes/which-func.el (which-func-update-1):
6707 Use define-obsolete-function-alias.
6708
6709 * net/newst-backend.el (newsticker-cache-filename):
6710 * net/newst-treeview.el (newsticker-groups-filename):
6711 Fix incorrect obsolescence declaration.
6712
6713 * allout.el (allout-passphrase-hint-string): Likewise.
6714 (allout-init): Use a declare form to mark obsolete.
6715
6716 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6717 this applies to functions.
6718
6719 * iswitchb.el (iswitchb-read-buffer): Move code of
6720 iswitchb-define-mode-map here, and delete that obsolete function.
6721
6722 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6723 font-lock-reference-face.
6724
6725 2012-09-25 Glenn Morris <rgm@gnu.org>
6726
6727 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6728 Doc fixes.
6729
6730 * eshell/em-term.el (eshell-term-name):
6731 Default to term-term-name. (Bug#12485)
6732
6733 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6734
6735 * progmodes/python.el (python-shell-send-buffer): Better handling
6736 of "if __name__ == '__main__':" conditionals when sending the buffer.
6737
6738 2012-09-24 Glenn Morris <rgm@gnu.org>
6739
6740 * eshell/esh-cmd.el (eshell-find-alias-function):
6741 Tighten up file-name regexp. (Bug#12499)
6742
6743 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6744
6745 Enhancements for triple-quote string syntax.
6746 * progmodes/python.el (python-quote-syntax): Remove.
6747 (python-syntax-propertize-function): New value.
6748 (python-syntax-count-quotes, python-syntax-stringify):
6749 New functions.
6750
6751 2012-09-24 Chong Yidong <cyd@gnu.org>
6752
6753 * mail/supercite.el (sc-version): Remove obsolete function.
6754 (sc-describe): Don't mark as obsolete, since it is bound.
6755 (sc-submit-bug-report): Remove.
6756
6757 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6758 (cvs-commit-buffer-require-final-newline): Remove.
6759 (log-edit-require-final-newline)
6760 (log-edit-changelog-full-paragraphs): Default to t.
6761
6762 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6763 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6764 * vc/vc.el (vc-checkout-carefully): Likewise.
6765
6766 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6767 (emerge-version): Remove.
6768
6769 * progmodes/compile.el (compile-internal): Remove.
6770 (compilation-parse-errors-function): Fix typo.
6771
6772 * international/mule.el (set-char-table-default): Remove.
6773 (set-coding-priority, make-coding-system, generic-char-p)
6774 (charset-list, charset-bytes, charset-id): Use declare to mark
6775 functions as obsolete.
6776
6777 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6778 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6779 * vc/vc-hooks.el (vc-default-registered): Don't use
6780 vc-master-templates.
6781
6782 * font-lock.el (font-lock-reference-face):
6783 Use define-obsolete-variable-alias.
6784
6785 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6786 * calendar/calendar.el (calendar-font-lock-keywords):
6787 * calendar/diary-lib.el (diary-font-lock-keywords)
6788 (diary-fancy-font-lock-keywords):
6789 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6790 * textmodes/reftex-index.el (reftex-insert-index):
6791 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6792 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6793 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6794 * progmodes/prolog.el (prolog-font-lock-keywords):
6795 * progmodes/idlwave.el (idlwave-idl-keywords):
6796 * progmodes/ada-mode.el (ada-font-lock-keywords):
6797 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6798
6799 2012-09-24 Glenn Morris <rgm@gnu.org>
6800
6801 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6802
6803 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6804
6805 * progmodes/python.el (python-indent-line): More consistent cursor
6806 movement behavior.
6807
6808 2012-09-23 Stefan Merten <smerten@oekonux.de>
6809
6810 * textmodes/rst.el: Fix compiler warning.
6811
6812 2012-09-23 Roland Winkler <winkler@gnu.org>
6813
6814 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6815 Transcribe also LaTeX hyphenation.
6816 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6817 bibtex-reformat-previous-options.
6818
6819 2012-09-23 Roland Winkler <winkler@gnu.org>
6820
6821 * proced.el (proced-renice-command): New variable.
6822 (proced-marked-processes): New function.
6823 (proced-with-processes-buffer): New macro.
6824 (proced-send-signal): Use them.
6825 (proced-renice): New command bound to r.
6826
6827 2012-09-23 Roland Winkler <winkler@gnu.org>
6828
6829 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6830 ibuffer-saved-filter-groups has one element, shortcut the call of
6831 completing-read. (Bug#12331)
6832
6833 2012-09-23 Chong Yidong <cyd@gnu.org>
6834
6835 * bindings.el (mode-line-toggle-read-only):
6836 * bs.el (bs-toggle-readonly):
6837 * buff-menu.el (Buffer-menu-toggle-read-only):
6838 * dired.el (dired-toggle-read-only):
6839 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6840
6841 2012-09-23 Chong Yidong <cyd@gnu.org>
6842
6843 * image.el (image-type-available-p): Adapt to init-image-library
6844 argument changes.
6845
6846 2012-09-22 Juri Linkov <juri@jurta.org>
6847
6848 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6849 `dired-toggle-read-only'. (Bug#12462)
6850
6851 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6852
6853 * subr.el (temp-output-buffer-show): New function.
6854 (with-output-to-temp-buffer): Call temp-output-buffer-show
6855 instead of internal-temp-output-buffer-show.
6856
6857 2012-09-22 Chong Yidong <cyd@gnu.org>
6858
6859 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6860 (Bug#12462).
6861
6862 * repeat.el (repeat): Doc fix (Bug#12348).
6863
6864 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6865 (Bug#10909).
6866
6867 * simple.el (shell-command-on-region): Doc fix.
6868 (read-only-mode): Doc fix.
6869
6870 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6871
6872 * emacs-lisp/timer.el (run-with-idle-timer)
6873 (timer-activate-when-idle): Warn against reinvoking an idle timer
6874 from within its own timer action. (Bug#12447)
6875
6876 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6877
6878 * cus-start.el (window-combination-limit): Add new optional
6879 values.
6880 * window.el (temp-buffer-window-show)
6881 (window--try-to-split-window): Handle new values of
6882 window-combination-limit (Bug#1806).
6883 (split-window): Test window-combination-limit for t instead of
6884 non-nil.
6885 (display-buffer-at-bottom): New buffer display action function.
6886 * help.el (temp-buffer-resize-regexps): New option.
6887 (temp-buffer-resize-mode): Rewrite doc-string.
6888 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6889 Don't resize reused window. Suggested by Glenn Morris.
6890
6891 2012-09-22 Stefan Merten <smerten@oekonux.de>
6892
6893 * textmodes/rst.el: Revamp section title faces.
6894 (rst-official-version)
6895 (rst-package-emacs-version-alist): Sync with official version
6896 V1.4.0.
6897 (rst-faces-defaults, rst-set-level-default)
6898 (rst-level-face-max, rst-level-face-base-color)
6899 (rst-level-face-base-light, rst-level-face-format-light)
6900 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6901 (rst-adornment-faces-alist): Match new setup.
6902 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6903 (rst-level-5, rst-level-6): New faces.
6904
6905 2012-09-22 Chong Yidong <cyd@gnu.org>
6906
6907 * simple.el (undo): Handle indirect buffers (Bug#8207).
6908
6909 2012-09-21 Leo Liu <sdl.web@gmail.com>
6910
6911 IDO: Disable match re-ordering for buffer switching.
6912 * ido.el (ido-buffer-disable-smart-matches): New variable.
6913 (ido-set-matches-1): Use it. (Bug#2042)
6914
6915 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6916
6917 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6918 Fix 2011-05-17 change. (Bug#12418)
6919
6920 2012-09-21 Leo Liu <sdl.web@gmail.com>
6921
6922 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6923
6924 2012-09-21 Glenn Morris <rgm@gnu.org>
6925
6926 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6927 Be more robust about locating simple.el.
6928
6929 2012-09-21 Glenn Morris <rgm@gnu.org>
6930
6931 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6932
6933 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6934
6935 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6936
6937 2012-09-20 Juri Linkov <juri@jurta.org>
6938
6939 * replace.el (query-replace-read-from): Use `read-regexp' instead
6940 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6941 (occur-read-primary-args): Use `read-regexp' instead of
6942 `read-string'.
6943 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6944 `read-from-minibuffer'.
6945 * isearch.el (isearch-occur): Use `read-regexp' instead of
6946 `read-string'.
6947 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6948 `read-from-minibuffer'.
6949 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
6950 of `read-string'. (Bug#7567)
6951
6952 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
6953 and allow accepting a list of strings prepended to a list of
6954 standard default values. Doc fix. (Bug#12321)
6955
6956 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
6957
6958 * replace.el (read-regexp): Don't add ": " when PROMPT already
6959 ends with a colon and space. (Bug#12321)
6960
6961 2012-09-20 Tassilo Horn <tsdh@gnu.org>
6962
6963 * doc-view.el (doc-view-display): Better fix for the cl-assertion
6964 error.
6965
6966 2012-09-20 Stefan Merten <smerten@oekonux.de>
6967
6968 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
6969 Fixes feature request bug#11711.
6970 (rst-mode): Create `imenu-create-index-function'.
6971 (rst-get-stripped-line): Delete after refactoring.
6972 (rst-section-tree, rst-section-tree-rec)
6973 (rst-section-tree-point): Refactor and document properly.
6974 (rst-imenu-find-adornments-for-position)
6975 (rst-imenu-convert-cell, rst-imenu-create-index):
6976 New function.
6977
6978 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
6981 (macroexp--expand-all): Use it.
6982 (macroexp--funcall-and-return): Remove by folding it into its sole
6983 caller (macroexp--warn-and-return).
6984 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
6985 Use macroexp--obsolete-warning.
6986
6987 * calc/calc.el: Fix last change by removing the whole chunk, since it
6988 was only needed back when Calc was not bundled.
6989
6990 2012-09-20 Martin Rudalics <rudalics@gmx.at>
6991
6992 * emacs-lisp/debug.el (debug): Restore assignment to
6993 debugger-old-buffer removed on 2012-09-08.
6994
6995 2012-09-20 Juri Linkov <juri@jurta.org>
6996
6997 * dired-aux.el (dired-diff): Remove (require 'diff) since
6998 `diff-latest-backup-file' is now autoloaded.
6999
7000 2012-09-20 Chong Yidong <cyd@gnu.org>
7001
7002 * vc/diff.el (diff-latest-backup-file): Autoload.
7003
7004 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * calc/calc.el: Remove redundant autoload shape check.
7007 (sel-mode): Don't defvar.
7008 (calc-get-stack-element): Add `sel-mode' arg instead.
7009 (calc-top, calc-top-list): Pass it this additional argument.
7010 * calc/calc-store.el (calc-store-map):
7011 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7012 (calc-map-equation, calc-outer-product, calc-inner-product):
7013 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7014
7015 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7016
7017 2012-09-19 Juri Linkov <juri@jurta.org>
7018
7019 * dired-aux.el (dired-diff): Add (require 'diff) because
7020 `diff-latest-backup-file' is not autoloaded.
7021 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7022 of `dired-get-filename' to t to not report error when there is
7023 no default file on the current line.
7024
7025 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7028 macroexp--eval-if-compile.
7029 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7030 (macroexp--expand-all): Use them (bug#12371).
7031
7032 * doc-view.el (doc-view-guess-paper-size)
7033 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7034
7035 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7036
7037 New feature: set optimal slice from BoundingBox information.
7038 * doc-view.el (doc-view-mode-map): Add keybinding.
7039 (doc-view-menu): Add menu entry.
7040 (doc-view-set-slice): Adapt docstring.
7041 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7042 (doc-view-scale-bounding-box)
7043 (doc-view-set-slice-from-bounding-box): New functions.
7044 (doc-view-paper-sizes): New defvar.
7045
7046 2012-09-19 Glenn Morris <rgm@gnu.org>
7047
7048 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7049 (byte-compile-log-warning): Autoload. (Bug#12371)
7050
7051 * calendar/calendar.el (calendar-american-month-header)
7052 (calendar-european-month-header, calendar-iso-month-header)
7053 (calendar-month-header): New options.
7054 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7055 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7056
7057 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7058
7059 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7060
7061 2012-09-18 Juri Linkov <juri@jurta.org>
7062
7063 * dired-aux.el (dired-diff): Restore original functionality of
7064 getting the default value, but keep new feature of using the
7065 latest existing backup file (`diff-latest-backup-file').
7066
7067 2012-09-18 Juri Linkov <juri@jurta.org>
7068
7069 * dired.el (dired-mark): If the region is active in Transient Mark
7070 mode, mark all files in the active region. Doc fix.
7071 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7072 Doc fix. (Bug#10624)
7073
7074 2012-09-18 Juri Linkov <juri@jurta.org>
7075
7076 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7077 attributes for M-n are pulled from the file at point.
7078 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7079 Suggested by Drew Adams. (Bug#10624)
7080
7081 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7082
7083 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7084 whitespace after "end".
7085 (ruby-do-end-to-brace): Collapse block to one line if it fits
7086 within fill-column.
7087
7088 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7089
7090 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7091 value.
7092 (debug): Don't remove debugger window when debugger is expected
7093 to be back.
7094
7095 2012-09-18 Chong Yidong <cyd@gnu.org>
7096
7097 * custom.el (defface): Doc fix.
7098
7099 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7100
7101 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7102
7103 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7104 to initialize query-on-exit; then test that instead (bug#12288).
7105
7106 2012-09-17 Stefan Merten <smerten@oekonux.de>
7107
7108 * textmodes/rst.el: Add support for `testcover'.
7109 (rst-defcustom-testcover, rst-testcover-add-compose)
7110 (rst-testcover-add-1value): New functions.
7111 (rst-portable-mark-active-p): Replace by `use-region-p'.
7112 (rst-update-section, rst-classify-adornment)
7113 (rst-find-title-line): Mark `1value' forms.
7114 (rst-classify-adornment): Remove superfluous form.
7115 (rst-update-section, rst-get-adornments-around)
7116 (rst-adornment-complete-p, rst-get-next-adornment)
7117 (rst-adjust, rst-promote-region)
7118 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7119 (rst-find-pfx-in-region, rst-section-tree-rec)
7120 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7121 (rst-toc-node, rst-toc, rst-forward-section)
7122 (rst-iterate-leftmost-paragraphs)
7123 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7124 (rst-bullet-list-region)
7125 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7126 (rst-compile-find-conf, rst-compile)
7127 (rst-repeat-last-character): Fix style.
7128
7129 2012-09-17 Chong Yidong <cyd@gnu.org>
7130
7131 * comint.el (comint--complete-file-name-data): Don't add a space
7132 if the status is `sole'; that adds a gratuitous space in the
7133 completion-cycling case (Bug#12092).
7134
7135 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7136
7137 2012-09-17 Richard Stallman <rms@gnu.org>
7138
7139 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7140 only in the mime-shown mode, not in raw mode.
7141 (rmail-mime): Toggle off mime by displaying the message without
7142 mime processing. (Bug#12305)
7143
7144 * mail/rmail.el (rmail-retry-failure):
7145 Turn off mime processing first. (Bug#12037)
7146
7147 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7148
7149 2012-09-17 Chong Yidong <cyd@gnu.org>
7150
7151 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7152 (shell-dynamic-complete-functions): Convert to defcustom.
7153 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7154
7155 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7156 * comint.el (comint-prompt-read-only):
7157 * custom.el (defcustom):
7158 * hi-lock.el (hi-lock-mode):
7159 * ibuffer.el (ibuffer-formats):
7160 * ielm.el (ielm-prompt-read-only):
7161 * novice.el (disable-command):
7162 * saveplace.el (toggle-save-place):
7163 * speedbar.el (speedbar-supported-extension-expressions):
7164 * startup.el (auto-save-list-file-prefix, init-file-user)
7165 (after-init-hook, inhibit-startup-echo-area-message):
7166 * strokes.el (strokes-help):
7167 * time-stamp.el (time-stamp):
7168 * calendar/calendar.el (calendar, diary-file):
7169 * calendar/diary-lib.el (diary-mail-entries, diary)
7170 (diary-list-entries-hook):
7171 * calendar/holidays.el (holidays, calendar-holidays):
7172 * calendar/lunar.el (lunar-phases):
7173 * calendar/solar.el (sunrise-sunset):
7174 * emulation/edt.el (edt-load-keys):
7175 * emulation/viper.el (viper-mode):
7176 * eshell/em-alias.el (eshell-command-aliases-list):
7177 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7178 * international/ogonek.el (ogonek-information):
7179 * net/tramp-cmds.el (tramp-bug):
7180 * net/quickurl.el (quickurl-reread-hook-postfix):
7181 * play/decipher.el (decipher-font-lock-keywords):
7182 * progmodes/cc-styles.el (c-set-style):
7183 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7184 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7185 * progmodes/octave-mod.el (octave-mode):
7186 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7187 * progmodes/verilog-mode.el (verilog-read-defines):
7188 * textmodes/two-column.el (2C-mode): Likewise.
7189
7190 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7191
7192 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7193 that holds many addresses.
7194
7195 2012-09-16 Chong Yidong <cyd@gnu.org>
7196
7197 * align.el (align-areas): Call the indication function with
7198 positions instead of markers for arguments (Bug#12343).
7199
7200 * files.el (parse-colon-path): Use split-string (Bug#12351).
7201
7202 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7203 (display-buffer-function): Mark as obsolete.
7204
7205 * progmodes/compile.el (compilation-parse-errors): Accept list
7206 values similar to font-lock-keywords (Bug#12136).
7207 Suggested by Oleksandr Manzyuk.
7208 (compilation-error-regexp-alist): Doc fix.
7209
7210 2012-09-15 Glenn Morris <rgm@gnu.org>
7211
7212 * version.el (emacs-bzr-version-bzr): New function.
7213 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7214
7215 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7216 checkouts, check the parent dirstate matches the branch.
7217 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7218 empty string.
7219
7220 * version.el (emacs-bzr-version): Doc fix.
7221 (emacs-bzr-version-dirstate): New function.
7222 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7223 is local try and check that it matches the branch. If not, just
7224 use dirstate information. (Bug#12441)
7225
7226 2012-09-14 Juri Linkov <juri@jurta.org>
7227
7228 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7229 (Bug#12399)
7230
7231 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7234
7235 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7236 Remove obsolete byte-compiler hack that tried to silence some warnings.
7237 (edebug-submit-bug-report): Remove.
7238 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7239 Remove aliases, use the un-prefixed name instead.
7240 (edebug-pop-to-buffer): Consider other frames.
7241 (edebug-original-read):: Make it more obvious that it's always defined.
7242 (edebug--make-form-data-entry, edebug--form-data-name)
7243 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7244 single-dashed name, and implement with cl-defstruct.
7245 (edebug-set-form-data-entry): Use the standard accessors.
7246 (edebug-make-top-form-data-entry): Use push.
7247 (edebug-no-match): Drop useless `funcall'.
7248 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7249 to functions.
7250 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7251 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7252 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7253 (easy-menu-define, with-custom-print): Remove redundant specs.
7254 (edebug-outside-overriding-local-map)
7255 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7256 (edebug--display): Bind unread-command-events directly to nil rather
7257 than binding it to unread-command-events and later setting it to nil.
7258 (edebug--display): Kill edebug-eval-buffer here...
7259 (edebug--recursive-edit): ...rather than here.
7260 Bind standard-output and standard-input.
7261 (edebug-eval): Check cl-macroexpand-all is fboundp.
7262 (edebug-temp-display-freq-count): Fix last change.
7263
7264 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7265 * subr.el (noreturn, 1value): Add `debug' spec.
7266 * emacs-lisp/advice.el: Require cl-lib.
7267 (ad-copy-tree): Remove, use copy-tree instead.
7268 (ad-dolist): Remove use dolist or cl-dolist instead.
7269 (ad-do-return): Remove, use cl-return instead.
7270 (defadvice): Add `debug' spec.
7271
7272 2012-09-13 Juri Linkov <juri@jurta.org>
7273
7274 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7275 (Bug#12399)
7276
7277 2012-09-13 Glenn Morris <rgm@gnu.org>
7278
7279 * calc/calc.el (math-compose-expr):
7280 * calc/calc-ext.el (math-compose-expr):
7281 * progmodes/cc-defs.el (cl-macroexpand-all):
7282 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7283 (cl-macroexpand-all): Update declarations.
7284
7285 * vc/vc.el: No need to require ediff.
7286 (ediff-load-version-control): Declare.
7287 (ediff-vc-internal): Fix declaration.
7288 (vc-version-ediff): Require ediff.
7289
7290 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7291
7292 Use a more backwards-compatible timer format (Bug#12430).
7293 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7294 being right after USECS, as that better supports old code that
7295 inadvisedly looked directly at the timer vector.
7296
7297 2012-09-13 Kenichi Handa <handa@gnu.org>
7298
7299 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7300 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7301 `coding-priority' property of these language environment.
7302
7303 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7304
7305 Fix glitches caused by addition of psec to timers (Bug#12430).
7306 * image.el (image-animate-timer):
7307 * time.el (display-time-world-timer):
7308 Use timer--function and timer--args rather than raw access to
7309 timer vector.
7310
7311 2012-09-13 Glenn Morris <rgm@gnu.org>
7312
7313 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7314 If not compiling a file, try using load-file-name.
7315
7316 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7319 Fix last change.
7320 (edebug-update-eval-list): Use `push'.
7321
7322 * emacs-lisp/edebug.el: Use lexical-binding.
7323 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7324 Mark unused args with underscore.
7325 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7326 (edebug-form-data): Use defvar-local.
7327 (edebug-make-before-and-after-form, edebug-make-after-form):
7328 Use backquote.
7329 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7330 Not dynamically scoped any more.
7331 (edebug--enter-trace): Add arguments `function' and `args'.
7332 Rename from edebug-enter-trace.
7333 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7334 (edebug--update-coverage): Add `after-index' and `value' args.
7335 Rename from edebug-update-coverage.
7336 (edebug-slow-after): Call it accordingly.
7337 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7338 edebug-recursive-edit.
7339 (edebug--display): Call it accordingly. Add args `value',
7340 `offset-index', and `arg-mode'. Rename from edebug-display.
7341 (edebug-debugger, edebug): Call it accordingly.
7342 (edebug-eval-display-list): Use dolist.
7343
7344 2012-09-12 Juri Linkov <juri@jurta.org>
7345
7346 * info.el (Info-search): Don't check for isearch-mode and
7347 isearch-regexp before let-binding search-spaces-regexp to
7348 Info-search-whitespace-regexp.
7349 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7350 search-whitespace-regexp if isearch-lax-whitespace or
7351 isearch-regexp-lax-whitespace is non-nil.
7352 (Info-mode): Don't set local variable search-whitespace-regexp.
7353 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7354
7355 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7358 (debugger-env-macro): Remove support for unread-command-char.
7359
7360 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7361 the temporary map re-appearing on emulation-mode-map-alists.
7362
7363 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7364 since 22.1.
7365
7366 * ehelp.el (with-electric-help): Accept functions in
7367 electric-help-form-to-execute.
7368 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7369 And replace unread-command-char -> unread-command-events.
7370
7371 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7372
7373 Sync with Tramp 2.2.6.
7374
7375 * net/tramp.el (tramp-accept-process-output): Don't use
7376 JUST-THIS-ONE in the XEmacs case.
7377
7378 * net/trampver.el: Update release number.
7379
7380 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7381
7382 * emacs-lisp/debug.el (debugger-previous-window-height):
7383 New variable.
7384 (debug): When debugger-jumping-flag is non-nil try to restore
7385 height of debugger window. (Bug#8789)
7386
7387 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7390 overriding-local-map and pre/post-command-hook here.
7391 (edebug-recursive-edit): Do it here instead (bug#12345).
7392 (edebug-outside-unread-command-char): Remove all uses of
7393 unread-command-char.
7394
7395 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7396 inhibit-debugger is bound instead.
7397
7398 2012-09-11 Bastien Guerry <bzg@gnu.org>
7399
7400 * subr.el (set-temporary-overlay-map): Add a docstring.
7401 (Bug#12346)
7402
7403 2012-09-11 Bastien Guerry <bzg@gnu.org>
7404
7405 * minibuffer.el (completion-table-subvert): Fix docstring.
7406 (Bug#12347)
7407
7408 2012-09-11 Bastien Guerry <bzg@gnu.org>
7409
7410 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7411
7412 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7413
7414 * progmodes/sql.el: Version 3.1
7415 (sql-db2-escape-newlines): New variable.
7416 (sql-escape-newlines-filter): Use it.
7417
7418 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7419
7420 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7421
7422 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7423
7424 * vc/diff-mode.el (diff-mode-menu):
7425 Bind diff-remove-trailing-whitespace.
7426
7427 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7430 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7431 (emacs-lisp-byte-code-mode): New functions.
7432 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7433 (eval-defun-2): Remove bogus interactive spec.
7434 (lisp-indent-line): Remove redundant whole-exp code, now done in
7435 indent-according-to-mode.
7436 (save-match-data): Remove redundant indent data.
7437
7438 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7439 Use `declare'.
7440
7441 2012-09-09 Juri Linkov <juri@jurta.org>
7442
7443 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7444 (replace-lax-whitespace, query-replace-regexp)
7445 (query-replace-regexp-eval, replace-regexp): Doc fix.
7446 (perform-replace, replace-highlight): Let-bind
7447 isearch-lax-whitespace to replace-lax-whitespace and
7448 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7449
7450 * isearch.el (isearch-query-replace): Let-bind
7451 replace-lax-whitespace to isearch-lax-whitespace and
7452 replace-regexp-lax-whitespace to
7453 isearch-regexp-lax-whitespace. (Bug#10885)
7454
7455 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7456
7457 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7458
7459 2012-09-09 Alan Mackenzie <acm@muc.de>
7460
7461 * progmodes/cc-engine.el (c-state-cache-init):
7462 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7463 (c-record-parse-state-state):
7464 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7465
7466 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7467
7468 * register.el (register-separator): Rename from
7469 separator-register. All uses changed. Doc fix.
7470 (register): Fix version.
7471
7472 2012-09-09 Chong Yidong <cyd@gnu.org>
7473
7474 * replace.el (query-replace-map): Bind four new symbols for
7475 requesting window scrolling.
7476
7477 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7478 query-replace-map (Bug#8948).
7479
7480 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7481
7482 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7483 since they are now in query-replace-map.
7484
7485 * window.el (scroll-other-window-down): Make the arg optional.
7486
7487 2012-09-09 Chong Yidong <cyd@gnu.org>
7488
7489 * files.el (hack-local-variables-confirm): Use quit-window to kill
7490 the *Local Variables* buffer.
7491
7492 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7493
7494 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7495 not just expect to be at its beginning. Adjust callees.
7496 Succeed when do-end block has no space before the pipe character.
7497 (ruby-brace-to-do-end): When the original block is one-liner,
7498 convert to multiline. Reindent the result.
7499
7500 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7501
7502 * register.el (register): New group.
7503 (separator-register): New user option.
7504 (increment-register): Route it to `append-to-register', if
7505 register contains text. Implication is that `C-x r +' can now be
7506 used for appending to a text register (bug#12217).
7507 (append-to-register, prepend-to-register): Add separator based on
7508 `separator-register'.
7509
7510 2012-09-08 Alan Mackenzie <acm@muc.de>
7511
7512 AWK Mode: make auto-newline work when there's "==" in the pattern.
7513 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7514 correctly.
7515 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7516 Test more rigorously for "=" token.
7517
7518 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7519
7520 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7521 Only fail when reached LIMIT.
7522
7523 2012-09-08 Chong Yidong <cyd@gnu.org>
7524
7525 * dired.el (dired-mode-map): Don't bind M-=.
7526
7527 * dired-aux.el (dired-diff): Use backup file as default.
7528
7529 2012-09-08 Drew Adams <drew.adams@oracle.com>
7530
7531 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7532
7533 2012-09-08 Chong Yidong <cyd@gnu.org>
7534
7535 * subr.el (syntax-after, syntax-class): Doc fix.
7536
7537 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7538
7539 * window.el (display-buffer-in-previous-window): New buffer
7540 display action function.
7541
7542 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7543 (debugger-previous-window): New variable.
7544 (debug): Rewrite using display-buffer-in-previous-window,
7545 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7546
7547 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7548
7549 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7550
7551 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7552
7553 * progmodes/python.el (python-shell-send-string):
7554 When default-directory is remote, create temp file on remote
7555 filesystem.
7556 (python-shell-send-file): When file is remote, pass local view of
7557 file paths to remote Python interpreter. (Bug#12340)
7558
7559 2012-09-07 Chong Yidong <cyd@gnu.org>
7560
7561 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7562
7563 * files.el (after-find-file): Don't fail on a read-only buffer if
7564 require-final-newline is `visit' or `visit-save' (Bug#11156).
7565
7566 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7567
7568 * userlock.el (ask-user-about-supersession-threat):
7569 Use read-char-choice (Bug#12093).
7570
7571 2012-09-07 Chong Yidong <cyd@gnu.org>
7572
7573 * subr.el (buffer-narrowed-p): New function.
7574
7575 * ses.el (ses-widen):
7576 * simple.el (count-words--buffer-message):
7577 * net/browse-url.el (browse-url-of-buffer): Use it.
7578
7579 * simple.el (count-words-region): Don't signal an error if there
7580 is a non-nil prefix arg and the mark is not set.
7581
7582 * help.el (describe-key-briefly): Allow the message to be seen
7583 when invoked from the minibuffer (Bug#7014).
7584
7585 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7586
7587 * progmodes/ruby-mode.el (ruby-end-of-defun)
7588 (ruby-beginning-of-defun): Simplify, allow indentation before
7589 block beginning and end keywords.
7590 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7591 (ruby-end-of-defun): Expect that the point is at the beginning of
7592 the defun.
7593
7594 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7597 (bug#12367).
7598 (cl--make-usage-args): Strip _ from argument names.
7599
7600 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7601
7602 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7603 obsolete alias speedbar-key-map.
7604 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7605 (vhdl-index-menu-init): Don't use obsolete variable
7606 font-lock-maximum-size.
7607
7608 2012-09-06 Chong Yidong <cyd@gnu.org>
7609
7610 * frame.el (window-system-version): Mark as obsolete.
7611
7612 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7613 of obsolete variable speedbar-key-map.
7614
7615 2012-09-06 Juri Linkov <juri@jurta.org>
7616
7617 * replace.el (replace-lax-whitespace): New defcustom.
7618 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7619 (replace-string, replace-regexp): Mention it in docstrings.
7620 (perform-replace, replace-highlight): Let-bind
7621 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7622 to the values of replace-lax-whitespace and regexp-flag.
7623 Don't let-bind search-whitespace-regexp. (Bug#10885)
7624
7625 * isearch.el (isearch-query-replace): Let-bind
7626 replace-lax-whitespace instead of let-binding
7627 replace-search-function and replace-re-search-function.
7628 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7629 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7630 (isearch-toggle-symbol): Set isearch-regexp to nil
7631 in isearch-word mode (like in isearch-toggle-word).
7632
7633 2012-09-06 Juri Linkov <juri@jurta.org>
7634
7635 * replace.el (replace-search-function)
7636 (replace-re-search-function): Set default values to nil.
7637 (perform-replace): Let-bind isearch-related variables based on
7638 replace-related values, call `isearch-search-fun' and let-bind
7639 the result to `search-function'. Remove code that sets
7640 `search-function' and `search-string' separately for
7641 `delimited-flag'.
7642 (replace-highlight): Add new argument `delimited-flag' and
7643 rename other arguments to the names used in `perform-replace'.
7644 Let-bind `isearch-word' to the argument `delimited-flag'.
7645 (Bug#10885, bug#10887)
7646
7647 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7648
7649 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7650 ruby-beginning-of-indent, simplify, allow all keywords to have
7651 indentation before them.
7652 (ruby-beginning-of-indent): Adjust for above. Search until the
7653 found point is not inside a string or comment.
7654 (ruby-font-lock-keywords): Allow symbols to start with "@"
7655 character, give them higher priority than variables.
7656 (ruby-syntax-propertize-function)
7657 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7658 matchers. Expression expansions are not comments when inside a
7659 string, and there comment syntax status is irrelevant.
7660 (ruby-match-expression-expansion): New function. Check that
7661 expression expansion is inside a string, and it's not escaped.
7662 (ruby-font-lock-keywords): Use it.
7663
7664 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7665
7666 * help.el (temp-buffer-max-height): New default value.
7667 (temp-buffer-resize-frames): New option.
7668 (resize-temp-buffer-window): Optionally resize frame.
7669
7670 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7671 (fit-frame-to-buffer): New function.
7672
7673 2012-09-05 Glenn Morris <rgm@gnu.org>
7674
7675 * emulation/cua-rect.el (cua--init-rectangles):
7676 * textmodes/picture.el (picture-mode-map):
7677 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7678 like forward-char and backward-char. (Bug#12317)
7679
7680 2012-09-05 Leo Liu <sdl.web@gmail.com>
7681
7682 * progmodes/flymake.el (flymake-warning-re): New variable.
7683 (flymake-parse-line): Use it.
7684
7685 2012-09-05 Glenn Morris <rgm@gnu.org>
7686
7687 * calendar/holidays.el (holiday-christian-holidays):
7688 Rename an entry. (Bug#12289)
7689
7690 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7693 (bug#12222).
7694
7695 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * loadup.el: Load macroexp. Remove hack.
7698 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7699 (macroexp--expand-all): Use it to get better warnings.
7700 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7701 (internal-macroexpand-for-load): New functions.
7702 (macroexp--pending-eager-loads): New var.
7703 (emacs-startup-hook): New hack to replace one in loadup.el.
7704 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7705 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7706 (cl-psetf): Simplify.
7707 (cl-defstruct): Add indent rule.
7708
7709 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7710
7711 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7712 over `user-mail-address' for the SMTP MAIL FROM envelope.
7713 (smtpmail-via-smtp): Ditto.
7714
7715 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7716
7717 * progmodes/ruby-mode.el: Clean up keybindings.
7718 (ruby-mode-map): Don't bind ruby-electric-brace,
7719 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7720 backward-kill-word, reindent-then-newline-and-indent.
7721 (ruby-mark-defun): Remove.
7722 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7723 (ruby-mode): Set local beginning-of-defun-function and
7724 end-of-defun-function values.
7725
7726 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7727
7728 * window.el (temp-buffer-window-setup-hook)
7729 (temp-buffer-window-show-hook): New hooks.
7730 (temp-buffer-window-setup, temp-buffer-window-show)
7731 (with-temp-buffer-window): New functions.
7732 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7733 (special-display-popup-frame): Make sure the window used shows BUFFER.
7734
7735 * help.el (temp-buffer-resize-mode): Fix doc-string.
7736 (resize-temp-buffer-window): New optional argument WINDOW.
7737
7738 * files.el (recover-file, save-buffers-kill-emacs):
7739 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7740
7741 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7742
7743 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7744 remote definition of `default-directory', ensure we can connect.
7745
7746 2012-09-02 Juri Linkov <juri@jurta.org>
7747
7748 Toggle whitespace matching mode with M-s SPC.
7749 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7750
7751 * isearch.el (search-whitespace-regexp): Doc fix.
7752 Remove cons cell customization.
7753 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7754 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7755 New variables.
7756 (isearch-forward, isearch-forward-regexp): Doc fix.
7757 (isearch-toggle-lax-whitespace): New command.
7758 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7759 (re-search-forward-lax-whitespace)
7760 (re-search-backward-lax-whitespace): New functions.
7761 (isearch-whitespace-regexp): Remove function.
7762 (isearch-query-replace): Let-bind replace-search-function and
7763 replace-re-search-function.
7764 (isearch-occur): Let-bind search-spaces-regexp according to the
7765 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7766 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7767 condition for C-q SPC.
7768 (isearch-search-fun-default): Use new functions mentioned above.
7769 (isearch-search-forward, isearch-search-backward): Remove functions.
7770 (isearch-search): Don't let-bind search-spaces-regexp.
7771 (isearch-lazy-highlight-space-regexp): Remove variable.
7772 (isearch-lazy-highlight-lax-whitespace)
7773 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7774 (isearch-lazy-highlight-new-loop): Use them.
7775 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7776
7777 2012-09-02 Chong Yidong <cyd@gnu.org>
7778
7779 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7780
7781 2012-09-02 Glenn Morris <rgm@gnu.org>
7782
7783 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7784
7785 2012-09-01 Glenn Morris <rgm@gnu.org>
7786
7787 * term.el: Tidy up menu definitions.
7788 (term-mode-map): Use easymenu for In/Out, Complete menus.
7789 (term-pager-break-map): Initialize in the defvar.
7790 (term-terminal-menu, term-signals-menu): Define with easymenu.
7791 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7792 (term-pager-menu): New, extracted from term-process-pager.
7793 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7794 (term-update-mode-line): Propertize line/char and page items.
7795 (term-process-pager): Move keymap initialization elsewhere.
7796
7797 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7798
7799 * window.el (switch-to-prev-buffer): Handle additional values of
7800 BURY-OR-KILL argument. Don't switch in minibuffer window.
7801 (switch-to-next-buffer): Don't switch in minibuffer window.
7802 (quit-restore-window): New function based on quit-window.
7803 Handle additional values of former KILL argument.
7804 (quit-window): Call quit-restore-window with appropriate
7805 interpretation of KILL argument.
7806 (display-buffer-below-selected): New buffer display action
7807 function.
7808
7809 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7810
7811 * minibuffer.el (completion-at-point-functions): Complete docstring
7812 (bug#12254).
7813
7814 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7815
7816 Better seed support for (random).
7817 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7818 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7819 * play/mpuz.el, play/tetris.el, play/zone.el:
7820 * calc/calc-comb.el (math-init-random-base):
7821 * play/blackbox.el (bb-init-board):
7822 * play/life.el (life):
7823 * server.el (server-use-tcp):
7824 * type-break.el (type-break):
7825 Remove unnecessary call to (random t).
7826 * net/sasl.el (sasl-unique-id-function):
7827 Change (random t) to (random), now that the latter is more random.
7828 * play/life.el (life-initialized): Remove no-longer-needed var.
7829
7830 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7831
7832 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7833 Consider frame's buffer predicate when choosing the buffer.
7834 (Bug#12081)
7835
7836 2012-08-30 Richard Stallman <rms@gnu.org>
7837
7838 * simple.el (special-mode-map): Delete binding for `z'.
7839
7840 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7841
7842 * progmodes/compile.el (compilation-always-kill): Doc fix.
7843
7844 2012-08-30 Chong Yidong <cyd@gnu.org>
7845
7846 * window.el (display-buffer-reuse-frames): Make the obsolescence
7847 message more informative.
7848
7849 2012-08-30 Glenn Morris <rgm@gnu.org>
7850
7851 * paren.el (show-paren-delay):
7852 Add a :set function. Doc fix. (Bug#12297)
7853
7854 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7855
7856 * progmodes/compile.el (compilation-always-kill): New var.
7857 (compilation-start): Use it.
7858
7859 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7860
7861 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7862 * files.el (read-only-mode): Move to simple.el.
7863
7864 * files.el (read-only-mode): New minor mode.
7865 (toggle-read-only): Use it and mark obsolete.
7866 (find-file--read-only):
7867 * vc/vc.el (vc-next-action, vc-checkout):
7868 * vc/vc-cvs.el (vc-cvs-checkout):
7869 * obsolete/vc-mcvs.el (vc-mcvs-update):
7870 * ffap.el (ffap--toggle-read-only): Update callers.
7871
7872 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7873
7874 * eshell/esh-ext.el (eshell-external-command): Do not examine
7875 remote shell scripts.
7876 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7877
7878 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7879 "/usr/local/sbin".
7880
7881 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7884
7885 2012-08-28 Leo Liu <sdl.web@gmail.com>
7886
7887 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7888 completion-at-point. (Bug#12220)
7889
7890 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7891
7892 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7893
7894 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7895
7896 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7897 be buffer-local; add delete-trailing-whitespace (bug#12259).
7898
7899 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7900
7901 * progmodes/hideif.el (hif-compress-define-list):
7902 Fix typo. (Bug#11951)
7903
7904 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7905
7906 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7907 buffer local setting.
7908
7909 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7910 rcirc-encode-coding-system.
7911
7912 2012-08-28 Leo Liu <sdl.web@gmail.com>
7913
7914 * net/rcirc.el (rcirc-split-message): New function.
7915 (rcirc-send-message): Use it. (Bug#12051)
7916
7917 2012-08-28 Juri Linkov <juri@jurta.org>
7918
7919 * info.el (Info-fontify-node): Hide empty lines at the end of
7920 the node. (Bug#12272)
7921
7922 2012-08-27 Drew Adams <drew.adams@oracle.com>
7923
7924 * dired.el (dired-pop-to-buffer): Make window start at beginning
7925 of buffer (Bug#12281).
7926
7927 2012-08-26 Chong Yidong <cyd@gnu.org>
7928
7929 * window.el (special-display-regexps, special-display-frame-alist)
7930 (special-display-buffer-names, special-display-function)
7931 (display-buffer-reuse-frames): Mark as obsolete.
7932
7933 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7934
7935 * help.el (help-print-return-message): Don't treat
7936 display-buffer-reuse-frames specially.
7937
7938 2012-08-26 Chong Yidong <cyd@gnu.org>
7939
7940 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7941 New variable, replacing gdb-frame-parameters.
7942 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7943 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7944 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7945 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7946 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7947 the functions directly with gdb-display-buffer-other-frame-action.
7948 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
7949 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
7950 (gdb-display-stack-buffer, gdb-display-locals-buffer)
7951 (gdb-display-registers-buffer): Define directly.
7952 (def-gdb-display-buffer): Macro deleted.
7953 (gdb-display-buffer): Remove second and third args, callers don't
7954 use them. Defer to the default display-buffer behavior, apart
7955 from making windows dedicated.
7956 (gdb-setup-windows): Don't call display-buffer unnecessarily.
7957
7958 * progmodes/gud.el (gud-display-line): Just use display-buffer.
7959
7960 * window.el (display-buffer-pop-up-frame): Handle a
7961 pop-up-frame-parameters alist entry.
7962 (display-buffer): Document it.
7963
7964 2012-08-26 Chong Yidong <cyd@gnu.org>
7965
7966 * isearch.el (search-whitespace-regexp): Make string and nil
7967 values apply to both ordinary and regexp search. Allow a cons
7968 cell value to distinguish between the two.
7969 (isearch-whitespace-regexp, isearch-search-forward)
7970 (isearch-search-backward): New functions.
7971 (isearch-occur, isearch-search-fun-default, isearch-search)
7972 (isearch-lazy-highlight-new-loop): Use them.
7973 (isearch-forward, isearch-forward-regexp): Doc fix.
7974
7975 2012-08-26 Chong Yidong <cyd@gnu.org>
7976
7977 * faces.el (help-argument-name): Always inherit from italic
7978 (Bug#12213).
7979
7980 2012-08-25 Martin Rudalics <rudalics@gmx.at>
7981
7982 * window.el (window--even-window-heights): Even heights when
7983 WINDOW and the selected window form a vertical combination.
7984 (display-buffer-use-some-window): Provide that window used gets
7985 sized back by quit-window. (Bug#11880) and (Bug#12091)
7986
7987 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
7988
7989 Fix file time stamp problem with bzr and CVS (Bug#12001).
7990 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
7991 in the file's time stamp, since the version control system loses
7992 that information.
7993
7994 2012-08-22 Juri Linkov <juri@jurta.org>
7995
7996 * info.el (Info-fontify-node): Hide the suffix of the
7997 Info file name in the header line. (Bug#12187)
7998
7999 2012-08-22 Glenn Morris <rgm@gnu.org>
8000
8001 * calendar/cal-tex.el (cal-tex-weekly-common):
8002 Restore leading blank page.
8003
8004 2012-08-22 Le Wang <l26wang@gmail.com>
8005
8006 * misc.el (forward-to-word, backward-to-word): Activate or extend
8007 the region under `shift-select-mode'. (Bug#12231)
8008
8009 2012-08-22 Bastien Guerry <bzg@gnu.org>
8010
8011 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8012 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8013 gives details on why the space is never needed.
8014
8015 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8016
8017 * window.el (walk-window-tree, window-with-parameter):
8018 New optional argument MINIBUF to control whether these functions
8019 should run on the minibuffer window.
8020 (window-at-side-list): Don't operate on minibuffer window.
8021 (window-in-direction): Simplify and rewrite doc-string.
8022 (window--size-ignore): Rename to window--size-ignore-p.
8023 Update callers.
8024 (display-buffer-in-atom-window, window--major-non-side-window)
8025 (window--major-side-window, display-buffer-in-major-side-window)
8026 (delete-side-window, display-buffer-in-side-window):
8027 New functions.
8028 (window--side-check, window-deletable-p, delete-window)
8029 (delete-other-windows, split-window): Handle side windows and
8030 atomic windows appropriately.
8031 (window--display-buffer): Call display-buffer-record-window also
8032 when the window buffer did not change.
8033
8034 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8035
8036 * help-fns.el (help-fns--key-bindings):
8037 Abbreviate non-symbol remap targets. (Bug#12174)
8038
8039 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8040
8041 * dired.el (dired-mark-remembered): Don't clobber point.
8042 (Bug#11795)
8043
8044 2012-08-22 Glenn Morris <rgm@gnu.org>
8045
8046 * progmodes/bug-reference.el (bug-reference): New custom group.
8047 (bug-reference-bug-regexp): Make it a defcustom.
8048
8049 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8050
8051 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8052 (js-paren-indent-offset, js-square-indent-offset)
8053 (js-curly-indent-offset): Add :safe (Bug#12257).
8054
8055 2012-08-22 Edward O'Connor <hober0@gmail.com>
8056
8057 * json.el (json-key-format): Add error properties.
8058 (json-encode-key): New function.
8059 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8060 Use json-encode-key.
8061
8062 2012-08-22 Glenn Morris <rgm@gnu.org>
8063
8064 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8065 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8066 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8067 Update for above change.
8068
8069 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8070
8071 * cus-face.el (custom-face-attributes): Fix customize type for the
8072 :underline attribute. (Bug#11805)
8073
8074 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8075
8076 * window.el (window-point-1, set-window-point-1): Remove.
8077 (window-in-direction, record-window-buffer)
8078 (set-window-buffer-start-and-point, split-window-below)
8079 (window--state-get-1, display-buffer-record-window):
8080 Replace calls to window-point-1 and set-window-point-1 by calls to
8081 window-point and set-window-point respectively.
8082
8083 2012-08-21 Glenn Morris <rgm@gnu.org>
8084
8085 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8086 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8087 Use it.
8088
8089 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8090 (cal-tex-shortday): New function.
8091 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8092 (cal-tex-cursor-filofax-daily): Use the above.
8093
8094 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8095 New functions.
8096 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8097 (cal-tex-cursor-filofax-week): Use them.
8098
8099 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8100 New constants.
8101 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8102 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8103
8104 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8105 (cal-tex-end-document): Don't rely on buffer name.
8106
8107 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8108 Use cal-tex-vspace.
8109 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8110 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8111 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8112 Use cal-tex-arg.
8113
8114 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8115 (cal-tex-cursor-week, cal-tex-cursor-week2)
8116 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8117 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8118 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8119 (cal-tex-insert-preamble, cal-tex-b-document)
8120 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8121 Improve cal-tex-cmd usage.
8122
8123 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8124 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8125 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8126 (cal-tex-weekly-paper): New function.
8127 (cal-tex-cursor-week, cal-tex-cursor-week2)
8128 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8129 (cal-tex-cursor-day): Use it.
8130
8131 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8132 (cal-tex-cursor-filofax-week): Remove leading blank page.
8133
8134 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8135 Add autoload cookie. For now at least, don't use color, since
8136 no other cal-tex function does.
8137
8138 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8139 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8140 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8141
8142 2012-08-21 Juri Linkov <juri@jurta.org>
8143
8144 * info.el (Info-file-attributes): New variable.
8145 (info-insert-file-contents): Add file attributes to
8146 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8147 `Info-toc-nodes' when previous modtime of the Info file is less
8148 than new modtime.
8149 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8150 of info.el. (Bug#12230)
8151
8152 2012-08-20 Glenn Morris <rgm@gnu.org>
8153
8154 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8155 * calendar/holidays.el (calendar-holiday-list):
8156 Report errors with display-warning rather than beep'n'sleep.
8157
8158 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8159
8160 * net/tramp.el (tramp-accept-process-output): Accept only output
8161 from PROC. Otherwise, process filters and sentinels might be
8162 confused. (Bug#12145)
8163
8164 2012-08-20 Chong Yidong <cyd@gnu.org>
8165
8166 * descr-text.el (describe-text-properties-1): Use overlays-in to
8167 report on empty overlays (Bug#3322).
8168
8169 2012-08-20 Glenn Morris <rgm@gnu.org>
8170
8171 * mail/rmailout.el (rmail-output-read-file-name):
8172 Trap and report errors in rmail-output-file-alist elements.
8173
8174 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8175 since most non-font-lock faces are not also variables).
8176
8177 2012-08-20 Edward Reingold <reingold@iit.edu>
8178
8179 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8180 New function. (Bug12160)
8181
8182 2012-08-19 Glenn Morris <rgm@gnu.org>
8183
8184 * mail/rmailout.el (rmail-output-read-file-name):
8185 Fix previous change (when the alist is nil or does not match).
8186
8187 2012-08-19 Chong Yidong <cyd@gnu.org>
8188
8189 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8190 (Bug#12228).
8191
8192 2012-08-18 Chong Yidong <cyd@gnu.org>
8193
8194 * simple.el (yank-handled-properties): New defcustom.
8195 (yank-excluded-properties): Add font-lock-face and category.
8196 (yank): Doc fix.
8197
8198 * subr.el (remove-yank-excluded-properties):
8199 Obey yank-handled-properties. The special handling of font-lock-face
8200 and category is now done this way, instead of being hard-coded.
8201 (insert-for-yank-1): Remove font-lock-face handling.
8202 (yank-handle-font-lock-face-property)
8203 (yank-handle-category-property): New function.
8204
8205 2012-08-17 Glenn Morris <rgm@gnu.org>
8206
8207 * mail/rmailout.el (rmail-output-read-file-name):
8208 Check rmail-output-file-alist against the full message body
8209 in the correct rmail buffer. (Bug#12214)
8210
8211 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8212
8213 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8214 Eliminate superfluous prompt. (Bug#12203)
8215
8216 2012-08-17 Chong Yidong <cyd@gnu.org>
8217
8218 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8219 font spec, set the font directly (Bug#3228).
8220
8221 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8222
8223 * window.el (delete-window): Fix last fix.
8224
8225 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8226
8227 * window.el (window-valid-p): Move to window.c.
8228 (window-child, window-child-count, window-last-child)
8229 (window-normalize-window, window-combined-p)
8230 (window-combinations, window-atom-root, window-min-size)
8231 (window-sizable, window-sizable-p, window-size-fixed-p)
8232 (window-min-delta, window-max-delta, window--resizable)
8233 (window--resizable-p, window-resizable, window-total-size)
8234 (window-full-height-p, window-full-width-p, window-body-size)
8235 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8236 (minimize-window, window-deletable-p, delete-window)
8237 (delete-other-windows, set-window-buffer-start-and-point)
8238 (next-buffer, previous-buffer, split-window, balance-windows-2)
8239 (set-window-text-height, window-buffer-height)
8240 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8241 (truncated-partial-width-window-p): Minor code adjustments.
8242 In doc-strings state whether the argument window has to denote a
8243 live, valid or any window.
8244
8245 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8246
8247 * progmodes/subword.el (subword-forward-function)
8248 (subword-backward-function, subword-forward-regexp)
8249 (subword-backward-regexp): New variables.
8250 (subword-forward, subword-forward-internal, subword-backward-internal):
8251 Use new variables, eg so that different "word" definitions
8252 can be easily used. (Bug#11411)
8253
8254 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8255
8256 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8257 for composite selectors.
8258 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8259 operation just because we can't find a previous revision.
8260
8261 2012-08-15 Chong Yidong <cyd@gnu.org>
8262
8263 * frame.el (set-frame-font): Accept font objects.
8264
8265 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8268
8269 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8270
8271 * man.el (Man-overstrike-face, Man-underline-face)
8272 (Man-reverse-face): Remove variables.
8273 (Man-overstrike, Man-underline, Man-reverse): New faces.
8274 (Man-fontify-manpage): Use them instead of the variables.
8275 (Man-cleanup-manpage): Comment change.
8276 (Man-ansi-color-map): New variable.
8277 (Man-fontify-manpage): Use it.
8278 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8279
8280 Implement ANSI SGR parameters 22-27 (bug#12146).
8281 * ansi-color.el (ansi-colors): Doc fix.
8282 (ansi-color-context, ansi-color-context-region): Doc fix.
8283 (ansi-color--find-face): New function.
8284 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8285 Rename the local variable `face' to `codes' since it is now a list of
8286 ansi codes. Doc fix.
8287 (ansi-color-get-face): Remove.
8288 (ansi-color-parse-sequence): New function, derived from
8289 ansi-color-get-face.
8290 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8291 codes 22-27.
8292
8293 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * subr.el (read-passwd): Allow use from a minibuffer.
8296
8297 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8298
8299 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8300 inside comments and strings as identifiers.
8301
8302 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8303 expression to evaluate. This allows to evaluate expressions with
8304 embedded whitespace.
8305 (gud-tooltip-tips): Add a blank before the newline in the
8306 message-box text, for the benefit of message-box emulation on
8307 MS-Windows.
8308
8309 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8310 messages from GDB, pop them up in a tooltip to give feedback to
8311 user.
8312 (gdb-tooltip-print-1): Quote the expression to evaluate.
8313 This allows to evaluate expressions with embedded whitespace.
8314 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8315 if the TTY name is nil or empty (which happens when communicating
8316 with the inferior via pipes, e.g. on MS-Windows).
8317 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8318 don't send that to the GUD buffer.
8319
8320 2012-08-14 Glenn Morris <rgm@gnu.org>
8321
8322 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8323 Optimize away setq-default with no args, as for setq. (Bug#12195)
8324
8325 2012-08-14 Chong Yidong <cyd@gnu.org>
8326
8327 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8328
8329 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8330 (Bug#12085).
8331
8332 2012-08-14 Glenn Morris <rgm@gnu.org>
8333
8334 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8335
8336 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8337
8338 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8339 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8340 Use cached shell name.
8341
8342 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8343
8344 * progmodes/python.el (python-shell-send-string):
8345 (python-shell-send-setup-code): Do not use `format' with `message'.
8346
8347 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8348
8349 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8350 (ruby-percent-literal-beg-re): New constant.
8351 (ruby-syntax-general-delimiters-goto-beg): Rename to
8352 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8353 (ruby-syntax-propertize-general-delimiters): Rename to
8354 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8355 popular term. Adjust comments everywhere.
8356 (ruby-syntax-propertize-percent-literal): Only propertize when not
8357 inside a simple string or comment. When the literal is unclosed,
8358 leave the text after it unpropertized.
8359 (ruby-syntax-methods-before-regexp): New constant.
8360 (ruby-syntax-propertize-function): Use it to recognize regexps.
8361 Don't look at the text after regexp, just use the whitelist.
8362
8363 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8364
8365 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8366 non-nil always load the compiled file if it exists. (Bug#12197)
8367
8368 2012-08-14 Chong Yidong <cyd@gnu.org>
8369
8370 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8371 (hi-lock-set-pattern): When deciding whether to use font lock or
8372 overlays, look at font-lock-mode instead of font-lock-fontified
8373 (Bug#12168).
8374 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8375 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8376
8377 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8378
8379 * subr.el (internal--after-with-selected-window): Fix typo
8380 (Bug#12193).
8381
8382 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8383
8384 Use `completion-table-dynamic' for completion functions.
8385 * progmodes/python.el
8386 (python-shell-completion--do-completion-at-point)
8387 (python-shell-completion--get-completions):
8388 Remove functions.
8389 (python-shell-completion-complete-at-point): New function.
8390 (python-completion-complete-at-point): Use it.
8391
8392 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8393
8394 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8395 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8396
8397 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * subr.el (function-get): Refine `autoload' arg so it can also
8400 autoload functions for gv.el (bug#12191).
8401 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8402 autoloads macros.
8403
8404 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8405 Prefer pcase-let over destructuring-bind.
8406 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8407 Also, remove whitespace as we go, rather than after accumulating the
8408 various places.
8409
8410 * subr.el (internal--before-with-selected-window)
8411 (internal--after-with-selected-window): Fix typo seleted->selected.
8412 (with-selected-window): Adjust callers.
8413 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8414
8415 2012-08-13 Bastien Guerry <bzg@gnu.org>
8416
8417 * window.el (special-display-popup-frame): Minor docstring
8418 enhancement. (Bug#12172)
8419
8420 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8421
8422 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8423 type 1-6.
8424 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8425 extended headers.
8426
8427 * files.el (hack-local-variables-filter): Remove useless eval.
8428
8429 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8430
8431 * subr.el (with-selected-window): Fix last change.
8432
8433 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * subr.el (internal--before-with-seleted-window)
8436 (internal--after-with-seleted-window): New functions.
8437 (with-selected-window): Use them, to replace dependency on
8438 tty-top-frame.
8439
8440 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8441
8442 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8443 binding for `newline'.
8444 (ruby-move-to-block): When moving backward, stop at block opening,
8445 not indentation.
8446 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8447 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8448 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8449 `ruby-toggle-block'.
8450
8451 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * ibuffer.el (ibuffer-do-toggle-read-only):
8454 * dired.el (dired-toggle-read-only):
8455 * buff-menu.el (Buffer-menu-toggle-read-only):
8456 * bindings.el (mode-line-toggle-read-only):
8457 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8458
8459 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8460
8461 * descr-text.el (describe-char): Put the overlays over the
8462 "displayed as" character.
8463
8464 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8465
8466 * calc/calc-units.el (math-default-units-table): Give an
8467 initial value.
8468 (math-put-default-units): Add options to put composite units and
8469 unit systems in the default units table.
8470 (calc-convert-units): Send composite units to
8471 `math-put-default-units' when appropriate.
8472
8473 2012-08-11 Glenn Morris <rgm@gnu.org>
8474
8475 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8476
8477 * tutorial.el (help-with-tutorial):
8478 * emacs-lisp/copyright.el (copyright-update-directory):
8479 * emacs-lisp/autoload.el (autoload-find-generated-file)
8480 (autoload-find-file): Disable local eval: (for insurance).
8481
8482 * files.el (hack-local-variables-filter): If an eval: form is not
8483 known to be safe, and enable-local-variables is :safe, then ignore
8484 the form totally, as is done for non-eval forms. (Bug#12155)
8485 This is CVE-2012-3479.
8486
8487 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8488
8489 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8490 (rx-form): Simplify.
8491
8492 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8493
8494 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8495 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8496 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8497 (ruby-syntax-propertize-function): Adjust for changes in
8498 `ruby-syntax-propertize-heredoc'.
8499
8500 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8501
8502 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8503 binding (use `M-;' instead).
8504 (ruby-singleton-class-p): New function.
8505 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8506
8507 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8510
8511 2012-08-10 Chong Yidong <cyd@gnu.org>
8512
8513 * progmodes/python.el (python-shell-get-process-name): Don't mess
8514 with same-window-buffer-names.
8515
8516 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8517 (eshell-remove-from-window-buffer-names): Make obsolete.
8518 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8519 (eshell): Just use pop-to-buffer-same-window instead.
8520
8521 2012-08-10 Chong Yidong <cyd@gnu.org>
8522
8523 * bindings.el: Bind M-= back to count-words-region.
8524
8525 * simple.el (count-words-region): Accept a prefix arg for acting
8526 on the entire buffer.
8527 (count-words--buffer-message): New helper function.
8528
8529 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8532 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8533 (event-start, event-end): Use posn-at-point to return a more
8534 informative posn.
8535 (posnp): New function.
8536 * mouse.el (popup-menu-normalize-position): Use it.
8537
8538 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8539
8540 * mouse.el (popup-menu-normalize-position): New function.
8541 (popup-menu): Use `popup-menu-normalize-position' to normalize
8542 the form for POSITION argument.
8543
8544 * term/x-win.el (x-menu-bar-open):
8545 Use the value returend from (posn-at-point) as position
8546 passed to `popup-menu'.
8547
8548 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8549
8550 * calc/calccomp.el (math-compose-expr): Add extra argument
8551 indicating that parentheses should be put around products in
8552 denominators. Give multiplication precedence over division during
8553 composition.
8554
8555 2012-08-09 Chong Yidong <cyd@gnu.org>
8556
8557 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8558 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8559 (Man-untabify-command, manual-program): Convert to defcustom
8560 (Bug#10429).
8561
8562 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8563
8564 * descr-text.el (describe-char): Don't insert extra newlines
8565 (Bug#10127).
8566
8567 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8568 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8569
8570 * align.el (align-region): Delete temporary markers (Bug#10047).
8571 Plus some code cleanups.
8572
8573 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8574
8575 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8576 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8577 (python-shell-internal-last-output): Use make-local-variable
8578 instead of make-variable-buffer-local.
8579
8580 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8581
8582 * progmodes/python.el: Enhancements to forward-sexp.
8583 (python-nav-forward-sexp): Rename from
8584 python-nav-forward-sexp-function.
8585 (python-nav--forward-sexp, python-nav--backward-sexp):
8586 New functions.
8587
8588 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8589
8590 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8591 modes and simplification modes.
8592
8593 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8594
8595 * delsel.el (delete-selection-pre-hook): Don't propagate the
8596 file-supersession signals (bug#12161).
8597
8598 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8601 (cl-map-extents): Add compatibility aliases (bug#12135).
8602
8603 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8604
8605 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8606 tests by `ignore-error'.
8607 (tramp-find-shell): Open also a new shell, when cache is already
8608 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8609
8610 2012-08-08 Juri Linkov <juri@jurta.org>
8611
8612 * bookmark.el: Add `defaults' property to the bookmark record.
8613 (bookmark-current-buffer): Doc fix.
8614 (bookmark-make-record): Add `defaults' property with default values
8615 to the bookmark record.
8616 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8617 with `bookmark-insert-current-bookmark'.
8618 (bookmark-set): Get `defaults' property from the bookmark record
8619 and use it in `read-from-minibuffer'.
8620 (bookmark-insert-current-bookmark): Remove function.
8621
8622 * info.el (Info-bookmark-make-record): Add `defaults' property
8623 with values of canonical Info node name, the current Info file
8624 name and the current Info node name. (Bug#12107)
8625
8626 2012-08-08 Juri Linkov <juri@jurta.org>
8627
8628 * files.el (basic-save-buffer): Use `buffer-name' as the default
8629 of `read-file-name' when buffer is not visiting a file (bug#12128).
8630
8631 2012-08-08 Juri Linkov <juri@jurta.org>
8632
8633 * info.el (Info-isearch-search): Doc fix.
8634 (Info-search): Change search-failed message from "initial node" to
8635 "end of node" (bug#12078).
8636 (Info-isearch-search): Change `isearch-string-state' to
8637 `isearch--state-string'.
8638
8639 2012-08-08 Glenn Morris <rgm@gnu.org>
8640
8641 * language/persian.el: Remove file.
8642 * language/misc-lang.el: Move unique part of persian.el here.
8643 * loadup.el: Remove language/persian.
8644
8645 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8646
8647 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8648
8649 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8650
8651 * progmodes/python.el: Fix defsubst warning.
8652 (python-syntax-context) Rename from python-info-ppss-context.
8653 (python-syntax-context-type): Rename from
8654 python-info-ppss-context-type.
8655 (python-syntax-comment-or-string-p): Rename from
8656 python-info-ppss-comment-or-string-p.
8657
8658 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8659
8660 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8661
8662 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8663
8664 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8665 a defcustom that is quoted with backquote.
8666
8667 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8668 Fix handling of interactive spec when the body uses return.
8669 (math-do-arg-check, math-define-function-body): Use backquote forms.
8670 * calc/calc-ext.el (math-defcache): Likewise.
8671 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8672 * allout.el (allout-new-exposure): Likewise.
8673 * calc/calcalg2.el (math-tracing-integral): Likewise.
8674 * info.el (Info-last-menu-item): Likewise.
8675 * emulation/vip.el (vip-loop): Likewise.
8676 * textmodes/artist.el (artist-funcall): Likewise.
8677 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8678 Construct menu-item directly.
8679
8680 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8681 Don't declare.
8682
8683 2012-08-07 Chong Yidong <cyd@gnu.org>
8684
8685 * simple.el (deactivate-mark): Preserve text properties when
8686 saving the primary selection (Bug#8384).
8687
8688 2012-08-07 Kevin Ryde <user42@zip.com.au>
8689
8690 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8691 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8692 and continue processing (Bug#12110).
8693
8694 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8697 syntax-propertize-function (bug#10095).
8698
8699 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8702 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8703 describe-function-1.
8704 (describe-function-1): Use them. Move compiler macro after sig.
8705 (help-fns--compiler-macro): Use function-get. Assume we're already in
8706 standard-output. Adjust layout to new call order.
8707
8708 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8709 re-binding a symbol that has a symbol-macro (bug#12119).
8710
8711 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8712
8713 * language/persian.el: New file. (Bug#11812)
8714 * loadup.el: Add language/persian.el.
8715
8716 2012-08-06 Chong Yidong <cyd@gnu.org>
8717
8718 * window.el (window--maybe-raise-frame): New function.
8719 (window--display-buffer): Split off from here.
8720 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8721 (display-buffer-pop-up-window, display-buffer-use-some-window):
8722 Obey an inhibit-switch-frame action alist entry.
8723 (display-buffer): Update doc.
8724
8725 * replace.el (occur-after-change-function): Avoid losing focus by
8726 using the inhibit-switch-frame display parameter (Bug#12139).
8727
8728 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8729
8730 Make internal shell process buffer names start with space.
8731 * progmodes/python.el (python-shell-make-comint): Add optional
8732 argument INTERNAL.
8733 (run-python-internal): Use it.
8734 (python-shell-internal-get-or-create-process): Check for new
8735 internal buffer names.
8736
8737 2012-08-06 Glenn Morris <rgm@gnu.org>
8738
8739 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8740 Do less getting and setting of environment variables.
8741
8742 2012-08-05 Chong Yidong <cyd@gnu.org>
8743
8744 * proced.el (proced): Add substitution string to docstring to
8745 trigger autoloading of the proced library on C-h f (Bug#1768).
8746
8747 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8748 Don't show defvars which have no second argument (Bug#8638).
8749
8750 * imenu.el (imenu-generic-expression): Move documentation here
8751 from imenu--generic-function.
8752 (imenu--generic-function): Refer to imenu-generic-expression.
8753
8754 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8755
8756 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8757 indentation declaration.
8758 (viper-loop): Add indentation declaration (Bug#7025).
8759
8760 2012-08-05 Chong Yidong <cyd@gnu.org>
8761
8762 * help-fns.el (describe-variable): Add hyperlink for
8763 directory-local variables files. Improve buffer-local and
8764 permanent-local reporting; suggested by MON KEY (Bug#6644).
8765
8766 * help-mode.el (help-dir-local-var-def): New button type.
8767
8768 * files.el (kill-buffer-hook): Provide a defvar.
8769
8770 2012-08-05 Glenn Morris <rgm@gnu.org>
8771
8772 * eshell/esh-ext.el (eshell/addpath):
8773 Also update eshell-path-env. (Bug#12013)
8774
8775 2012-08-05 Chong Yidong <cyd@gnu.org>
8776
8777 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8778
8779 * fringe.el (fringe-styles): Add docstring.
8780 (fringe--check-mode): New function.
8781 (set-fringe-mode, set-fringe-style): Use it.
8782 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8783
8784 * files.el (set-auto-mode): Fix invalid setq call.
8785
8786 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * isearch.el: Misc simplification; use defstruct.
8789 (isearch-mode-map): Dense maps now work like sparse ones.
8790 (isearch--state): New defstruct.
8791 (isearch-string-state, isearch-message-state, isearch-point-state)
8792 (isearch-success-state, isearch-forward-state)
8793 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8794 (isearch-wrapped-state, isearch-barrier-state)
8795 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8796 replaced by defstruct's accessors.
8797 (isearch--set-state): Rename from isearch-top-state and change
8798 calling convention.
8799 (isearch-push-state): Use new isearch--get-state.
8800 (isearch-toggle-word): Disable regexp when enabling word.
8801 (isearch-message-prefix): Remove unused arg _c-q-hack.
8802 (isearch-message-suffix): Remove unused arg _ellipsis.
8803
8804 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8805
8806 * simple.el (list-processes--refresh): For a server use :host or
8807 :local as the address.
8808 (list-processes): Doc fix.
8809
8810 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8811
8812 * lisp/mpc.el: Support password in host argument.
8813 (mpc--proc-connect): Parse and use new password element.
8814 Set mpc-proc variable instead of returning process.
8815 (mpc-proc): Adjust accordingly.
8816
8817 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8818
8819 * whitespace.el (whitespace-display-mappings): Use Unicode
8820 codepoints, instead of emacs-mule codepoints. See
8821 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8822 for the details.
8823
8824 * files.el (file-truename): Don't skip symlink-chasing part on
8825 windows-nt. Incorporate the resolution of 8+3 short aliases on
8826 Windows into the loop that recursively chases symlinks.
8827 Compare directory and its parent case-insensitively on MS-Windows and
8828 MS-DOS.
8829
8830 2012-08-03 Chong Yidong <cyd@gnu.org>
8831
8832 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8833
8834 * sort.el (sort-regexp-fields): Doc fix.
8835
8836 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8837
8838 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8839 labels regex position point at the expected place.
8840
8841 2012-08-03 MON KEY <monkey@sandpframing.com>
8842
8843 * net/imap.el (imap-interactive-login, imap-authenticate)
8844 (imap-mailbox-lsub, imap-mailbox-list)
8845 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8846 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8847 (imap-parse-response): Doc fix.
8848
8849 2012-08-03 João Távora <joaotavora@gmail.com>
8850
8851 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8852 if sexp scanning does not move point (Bug#5734).
8853
8854 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8855
8856 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8857 Add listings, minted, and ctable packages.
8858 (reftex-label-alist-builtin): Move listings, minted, and ctable
8859 entries before LaTeX.
8860 (reftex-label-alist): Docfix.
8861
8862 2012-08-02 Bastien Guerry <bzg@gnu.org>
8863
8864 * replace.el (occur): Fix docstring (bug#12122).
8865
8866 2012-08-02 Glenn Morris <rgm@gnu.org>
8867
8868 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8869
8870 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8871
8872 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8873 * international/mule-cmds.el: Create
8874 inactivate-current-input-method-function as an obsolete alias for
8875 deactivate-current-input-method-function. See Katsumi Yamaoka in
8876 <http://bugs.gnu.org/10150#46>.
8877
8878 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8879
8880 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8881 of nested `if's.
8882
8883 2012-08-01 Glenn Morris <rgm@gnu.org>
8884
8885 * progmodes/autoconf.el (autoconf-definition-regexp):
8886 Add AH_TEMPLATE, adjust submatch numbering.
8887 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8888 (autoconf-current-defun-function): Update for above change.
8889 (autoconf-current-defun-function): First skip to end of current word.
8890
8891 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8892
8893 * calendar/cal-html.el (cal-html-insert-agenda-days):
8894 Fix typo. (Bug#12018)
8895
8896 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8897
8898 Shell processes: enhancements to startup and CEDET compatibility.
8899 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8900 (python-shell-make-comint): accept-process-output at startup.
8901 (run-python-internal): Set inferior-python-mode-hook to nil.
8902 (python-shell-internal-get-or-create-process): call sit-for.
8903 (python-preoutput-result): Add obsolete alias.
8904 (python-shell-internal-send-string): Use it.
8905 (python-shell-send-setup-code): Remove call to
8906 accept-process-output.
8907
8908 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8909
8910 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8911 (Bug#12108)
8912
8913 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8914
8915 * calc-mode.el (calc-basic-simplification-mode): Rename from
8916 `calc-limited-simplification-mode'.
8917 (calc-alg-simplification-mode): New function.
8918 (calc-set-simplify-mode): Adjust message.
8919
8920 * calc.el (calc-set-mode-line): Adjust mode line display for
8921 basic simplification mode.
8922
8923 * calc-help.el (calc-m-prefix-help): Update help message.
8924
8925 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8926 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8927
8928 2012-07-31 Bastien Guerry <bzg@gnu.org>
8929
8930 * man.el (man): Fix comment. (bug#12101)
8931
8932 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8933
8934 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8935 Don't return a non-nil value when no suitable buffer was found.
8936
8937 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8938
8939 * progmodes/python.el (run-python-internal): Disable font lock for
8940 internal shells.
8941
8942 2012-07-30 Stefan Merten <smerten@oekonux.de>
8943
8944 * textmodes/rst.el: Silence `checkdoc-ispell'.
8945 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8946 (rst-official-version, rst-official-cvs-rev)
8947 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8948 (rst-mode-map): New key binding.
8949
8950 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
8951
8952 Update .PHONY listings in makefiles.
8953 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
8954 autoloads, update-subdirs, updates, bzr-update, update-authors,
8955 compile-onefile, compile-calc, backup-compiled-files,
8956 compile-after-backup, compile-one-process, mh-autoloads,
8957 bootstrap-clean, distclean, maintainer-clean.
8958
8959 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8960
8961 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
8962 (calc-set-mode-line): Don't display "AlgSimp ".
8963
8964 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
8965 (calc-lim-simplify-mode): New function.
8966 (calc-set-simplify-mode): Default to 'alg.
8967 (calc-default-simplify-mode): Make algebraic simplifications
8968 the default.
8969
8970 * calc/calc-ext.el (calc-init-extensions): Remove binding for
8971 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
8972
8973 * calc/calc-help.el (calc-m-prefix-help): Change messages to
8974 indicate new simplification modes.
8975
8976 * calc/README: Mention new default simplification mode.
8977
8978 * calc/calc.el (math-normalize-error): New variable.
8979 (math-normalize): Set `math-normalize-error' to t
8980 when there's an error.
8981
8982 * calc/calc-alg.el (math-simplify): Don't simplify when
8983 `math-normalize' returns an error.
8984
8985 2012-07-29 Eli Zaretskii <eliz@gnu.org>
8986
8987 * international/mule-cmds.el (set-locale-environment): Revert last
8988 change, since display-graphic-p returns nil when this function is
8989 called during startup. Instead...
8990
8991 * term/w32console.el (terminal-init-w32console): ...setup the
8992 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
8993
8994 2012-07-29 Juri Linkov <juri@jurta.org>
8995
8996 * simple.el (goto-line): Don't display default line number in the
8997 prompt because it should be displayed by `read-number' (bug#9952).
8998 Add the current line number to the defaults of `goto-line' to
8999 allow its easier modification by users with `M-n' (bug#9201).
9000
9001 * subr.el (read-number): Support multiple default values like in
9002 other minibuffer reading functions. Replace `read' with
9003 `string-to-number' for consistency with `number-to-string'.
9004
9005 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9006
9007 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9008 * emulation/viper-init.el (viper-deactivate-input-method-action):
9009 Rename from viper-inactivate-input-method-action.
9010 (viper-deactivate-input-method):
9011 Rename from viper-inactivate-input-method.
9012 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9013 * international/mule-cmds.el (deactivate-input-method):
9014 Rename from inactivate-input-method.
9015 Also run input-method-deactivate-hook.
9016 (deactivate-current-input-method-function):
9017 Rename from inactivate-current-input-method-function.
9018 (input-method-deactivate-hook): New hook.
9019 (input-method-inactivate-hook): Mark obsolete.
9020 (inactivate-input-method): Mark obsolete.
9021
9022 * international/quail.el (quail-activate):
9023 Also run quail-deactivate-hook.
9024 (quail-deactivate): Rename from quail-inactivate.
9025 * international/robin.el (robin-activate):
9026 Also run robin-deactivate-hook.
9027 (robin-deactivate): Rename from robin-inactivate.
9028
9029 2012-07-29 Chong Yidong <cyd@gnu.org>
9030
9031 * simple.el (indicate-copied-region): New function.
9032 (kill-ring-save): Split off from here.
9033
9034 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9035 (kill-rectangle): Set deactivate-mark to t on read-only error.
9036
9037 * register.el (copy-to-register, copy-rectangle-to-register):
9038 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9039 (append-to-register, prepend-to-register): Call indicate-copied-region.
9040
9041 2012-07-29 Juri Linkov <juri@jurta.org>
9042
9043 * simple.el (async-shell-command-buffer): New defcustom.
9044 (shell-command): Use it. (Bug#4719)
9045
9046 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9047
9048 * international/mule-cmds.el (set-locale-environment): In a
9049 console session on MS-Windows, set up keyboard and terminal
9050 encoding from the OEM codepage, not the ANSI codepage.
9051 (Bug#12055)
9052
9053 2012-07-28 Chong Yidong <cyd@gnu.org>
9054
9055 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9056 gdb-get-location.
9057
9058 2012-07-28 Leo Liu <sdl.web@gmail.com>
9059
9060 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9061 the alist (bug#12029).
9062
9063 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9064
9065 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9066 (compile-always, compile-first)
9067 ($(lisp)/calendar/cal-loaddefs.el)
9068 ($(lisp)/calendar/diary-loaddefs.el)
9069 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9070 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9071 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9072 instead of on update-subdirs.
9073 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9074
9075 2012-07-28 Chong Yidong <cyd@gnu.org>
9076
9077 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9078 directory if vc-deduce-backend returns nil (Bug#7350).
9079
9080 * simple.el (delete-trailing-lines): New option.
9081 (delete-trailing-whitespace): Obey it (Bug#11879).
9082
9083 2012-07-28 David Engster <deng@randomsample.de>
9084
9085 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9086 Explanation of new 'symbol-qnames feature in doc-strings.
9087 (xml-maybe-do-ns): Return expanded names as plain symbols if
9088 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9089 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9090
9091 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9092
9093 Consistent completion in inferior python with emacs -nw.
9094 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9095 binding in inferior-python-mode-map with "\t".
9096 (python-shell-completion-complete-at-point)
9097 (python-completion-complete-at-point): Remove interactive spec.
9098
9099 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9100
9101 * calc/calccomp.el (math-compose-expr): Undo previous change.
9102
9103 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9104
9105 * progmodes/python.el (python-mode-map): Add keybinding for
9106 run-python.
9107 (python-shell-make-comint): Fix pop-to-buffer call.
9108 (run-python): Autoload. New arg SHOW.
9109 (python-shell-get-or-create-process): Do not pop python process
9110 buffer.
9111
9112 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9113
9114 * notifications.el (notifications-on-action-signal)
9115 (notifications-on-closed-signal): Use also the bus address for the map.
9116 (notifications-notify, notifications-close-notification)
9117 (notifications-get-capabilities): Add optional argument BUS.
9118
9119 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9120
9121 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9122 Add support for the lstlisting and minted environments, and for the
9123 ctable macro.
9124 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9125 labels written in keyvals syntax.
9126
9127 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9128
9129 * calc/calccomp.el (math-compose-expr): Use parentheses when
9130 there is a product in the denominator of a fraction.
9131
9132 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9133
9134 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9135 ($(lisp)/calendar/diary-loaddefs.el)
9136 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9137 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9138 Fixes failures in parallel bootstrap because subdirs.el is being
9139 rewritten while the autoload files are built at the same time,
9140 which needs to load subdirs.el.
9141
9142 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9143
9144 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9145 (mouse-drag-line): Don't exit tracking when a switch-frame or
9146 switch-window event occurs (Bug#12006).
9147
9148 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * mouse.el (popup-menu): Fix last change.
9151
9152 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 Autoload from Lisp with more care. Follow aliases when looking for
9155 function properties.
9156 * subr.el (autoloadp): New function.
9157 (symbol-file): Use it.
9158 (function-get): New function.
9159 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9160 autoload-do-load.
9161 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9162 (lisp-indent-function):
9163 * emacs-lisp/gv.el (gv-get):
9164 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9165 * emacs-lisp/byte-opt.el (byte-optimize-form):
9166 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9167 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9168 Use function-get.
9169 * emacs-lisp/cl.el: Don't propagate function properties any more.
9170
9171 * speedbar.el (speedbar-add-localized-speedbar-support):
9172 * emacs-lisp/disass.el (disassemble-internal):
9173 * desktop.el (desktop-load-file):
9174 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9175 (describe-function-1):
9176 * emacs-lisp/find-func.el (find-function-noselect):
9177 * emacs-lisp/elp.el (elp-instrument-function):
9178 * emacs-lisp/advice.el (ad-has-proper-definition):
9179 * apropos.el (apropos-safe-documentation, apropos-macrop):
9180 * emacs-lisp/debug.el (debug-on-entry):
9181 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9182 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9183 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9184
9185 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9186
9187 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9188 function, not an obsolete variable (Bug#12046).
9189
9190 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9191
9192 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9193
9194 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9195
9196 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9197 window only if it is still live (Bug#12034).
9198
9199 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9200
9201 * subr.el (redirect-frame-focus): Add advertised calling
9202 convention (Bug#12030).
9203
9204 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9205
9206 Prefer typical American spelling for "acknowledgment".
9207 * vc/add-log.el (change-log-acknowledgment): Rename from
9208 change-log-acknowledgement, with an alias for the old name.
9209
9210 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9211
9212 * calc-alg.el (math-simplify-divide): Don't cross multiply
9213 in an equation when the lhs is a variable.
9214
9215 2012-07-24 Julien Danjou <julien@danjou.info>
9216
9217 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9218 Remove, unused.
9219
9220 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9221
9222 * startup.el (command-line): Don't display an empty user name in
9223 the error message about non-existent home directory, when
9224 init-file-user was set to an empty string. See
9225 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9226 for the details and context.
9227
9228 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9229
9230 * ses.el (ses-cell-formula-aset): New macro.
9231 (ses-cell-references-aset): New macro.
9232 (ses-cell-p): New function.
9233 (ses-rename-cell): Do no longer rely on complex operations like
9234 ses-cell-set-formula or ses-set-cell to change the cell and handle
9235 the undo at the same time, but rather use lower level new macros
9236 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9237 the undo directly. Refresh the mode line.
9238
9239 2012-07-21 Leo Liu <sdl.web@gmail.com>
9240
9241 * progmodes/cc-cmds.el (c-defun-name):
9242 Use match-string-no-properties instead for consistency.
9243
9244 2012-07-20 Leo Liu <sdl.web@gmail.com>
9245
9246 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9247 (Bug#7879)
9248
9249 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9250
9251 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9254 * progmodes/bug-reference.el, misearch.el: Provide themselves
9255 (bug#11915).
9256
9257 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9258 of narrowed buffer (bug#11966).
9259
9260 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9261
9262 * ses.el (ses-rename-cell): Set new name also in reference list of
9263 cells of which the renamed cell depends.
9264
9265 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9266
9267 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9268 to check whether menu-bar is shown or not. If not shown,
9269 show the menu-bar as a popup menu instead of using tmm.
9270 * mouse.el (popup-menu): Accept `point' as `position' argument.
9271
9272 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9273
9274 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9275 up inside string symbol literal (bug#11923).
9276
9277 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9278
9279 * startup.el (fancy-startup-text): Read the whole tutorial, not
9280 just its first 256 bytes. Prevents gibberish in display of the
9281 tutorial title.
9282
9283 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9284
9285 Drop idle buffer compaction due to an absence of the
9286 proved efficiency.
9287 * compact.el: Remove.
9288
9289 2012-07-19 Sam Steingold <sds@gnu.org>
9290
9291 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9292 vc-bzr-pull & vc-bzr-merge-branch.
9293 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9294 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9295 for consistency with compilation-error-regexp-alist.
9296 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9297 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9298 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9299 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9300
9301 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * emacs-lisp/chart.el: Use lexical-binding.
9304 (chart-emacs-storage): Don't hardcode the list of entries.
9305
9306 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9307
9308 Next round of tweaks caused by Fgarbage_collect changes.
9309 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9310
9311 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9312
9313 Compact buffers when idle.
9314 * compact.el: New file.
9315
9316 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9317
9318 * subr.el (eventp): Presume that if it looks vaguely like an event,
9319 it's an event (bug#10190).
9320
9321 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9322
9323 Enhancements to ppss related code (thanks Stefan).
9324 * progmodes/python.el (python-indent-context)
9325 (python-indent-calculate-indentation, python-indent-dedent-line)
9326 (python-indent-electric-colon, python-nav-forward-block)
9327 (python-mode-abbrev-table)
9328 (python-info-assignment-continuation-line-p): Simplify checks
9329 for ppss context.
9330 (python-info-continuation-line-p): Cleanup.
9331 (python-info-ppss-context): Do not catch 'quote.
9332 (python-info-ppss-context-type)
9333 (python-info-ppss-comment-or-string-p): Simplify.
9334
9335 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9336
9337 * progmodes/python.el: Enhancements to eldoc support.
9338 (python-info-current-symbol): New function.
9339 (python-eldoc-at-point): Use python-info-current-symbol.
9340 (python-info-current-defun): Fix cornercase on first defun scan.
9341 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9342 and signal error when no inferior python process is available.
9343
9344 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9345
9346 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9347 assume it's always t.
9348 (vc-git-registered): Remove caching, the function is only called
9349 once.
9350 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9351
9352 2012-07-18 Chong Yidong <cyd@gnu.org>
9353
9354 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9355
9356 * simple.el (count-words): Report on narrowing (Bug#9959).
9357
9358 * bindings.el: Bind M-= to count-words.
9359
9360 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9361
9362 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9363
9364 * progmodes/sh-script.el (sh-imenu-generic-expression):
9365 Capture a function with `function' keyword and without parentheses
9366 like "function FOO" (bug#11856).
9367
9368 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9369
9370 * window.el (split-window-sensibly): Make WINDOW argument
9371 optional.
9372
9373 2012-07-18 Chong Yidong <cyd@gnu.org>
9374
9375 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9376
9377 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9378 and make C-x 8 RET exit isearch (Bug#11439).
9379
9380 * international/iso-transl.el: Move isearch-mode-map key
9381 definitions to isearch.el.
9382
9383 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9386 (eieio-defclass): Use gv-define-setter when possible.
9387
9388 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9389
9390 Reflect recent changes in Fgarbage_collect.
9391 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9392 reflect new format of data returned by Fgarbage_collect.
9393
9394 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9395
9396 New utility functions + python-info-ppss-context fix (Bug#11910).
9397 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9398 (python-info-ppss-comment-or-string-p): New functions.
9399 (python-info-ppss-context): Small fix for string check.
9400
9401 2012-07-17 Juri Linkov <juri@jurta.org>
9402
9403 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9404 (dired-do-async-shell-command): Don't add `*' at the end of the
9405 command (Bug#11815).
9406 (dired-do-shell-command): Doc fix.
9407 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9408 Join the individual commands using either "&" or ";" as the
9409 separator depending on the values of these trailing characters.
9410 At the end re-add the trailing "&". (Bug#10598)
9411
9412 * simple.el (async-shell-command): Sync the interactive spec with
9413 `shell-command'. Doc fix.
9414 (shell-command): Doc fix.
9415
9416 2012-07-17 Juri Linkov <juri@jurta.org>
9417
9418 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9419
9420 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9421
9422 Final renames and doc fixes for movement commands (bug#11899).
9423 * progmodes/python.el (python-nav-beginning-of-statement):
9424 Rename from python-nav-statement-start.
9425 (python-nav-end-of-statement): Rename from
9426 python-nav-statement-end.
9427 (python-nav-beginning-of-block): Rename from
9428 python-nav-block-start.
9429 (python-nav-end-of-block): Rename from python-nav-block-end.
9430
9431 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9432
9433 * progmodes/python.el (python-shell-send-string-no-output):
9434 Allow accept-process-output to quit, keeping shell process ready for
9435 future interactions (Bug#11868).
9436
9437 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9440
9441 * emacs-lisp/elint.el (elint-find-args-in-code):
9442 Use help-function-arglist, so as to handle lexical byte-code.
9443
9444 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9445 change (bug#11826).
9446
9447 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9448
9449 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9450 Avoid spuriously marking the buffer as modified because of c-is-sws.
9451
9452 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9453 as not-a-comment (bug#11946).
9454
9455 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9456 for uninterned vars.
9457
9458 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9459 Use read-event since we don't really want to read chars but bytes.
9460
9461 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9462 $$..$$ but also $..$ using regexps (bug#11953).
9463 Use tex-verbatim for \url and \path.
9464 (tex-font-lock-keywords): Define as defconst like the others.
9465 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9466
9467 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9468
9469 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9470 alias for insert-char.
9471
9472 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9473
9474 * progmodes/python.el: Simplified imenu implementation.
9475 (python-nav-jump-to-defun): Remove command.
9476 (python-mode-map): Use `imenu' instead.
9477 (python-nav-list-defun-positions-cache)
9478 (python-imenu-include-defun-type, python-imenu-make-tree)
9479 (python-imenu-subtree-root-label, python-imenu-index-alist):
9480 Remove vars.
9481 (python-nav-list-defun-positions, python-nav-read-defun)
9482 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9483 (python-imenu-make-tree, python-imenu-create-index):
9484 Remove functions.
9485 (python-mode): Update to interact with imenu by setting
9486 `imenu-extract-index-name-function' only.
9487
9488 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9489
9490 * progmodes/python.el: Enhancements to navigation commands.
9491 (python-nav-backward-sentence)
9492 (python-nav-forward-sentence): Remove.
9493 (python-nav-backward-statement, python-nav-forward-statement)
9494 (python-nav-statement-start, python-nav-statement-end)
9495 (python-nav-backward-block, python-nav-forward-block)
9496 (python-nav-block-start, python-nav-block-end)
9497 (python-nav-forward-sexp-function)
9498 (python-info-current-line-comment-p)
9499 (python-info-current-line-empty-p): New functions.
9500 (python-indent-context): Use `python-nav-statement-start'.
9501
9502 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9503
9504 * eshell/em-ls.el (eshell/ls): Use `apply'.
9505
9506 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9507 multi-hops, instead of Tramp internals.
9508
9509 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9510
9511 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9512 when F1 and F2 are located on different hosts.
9513
9514 2012-07-14 Chong Yidong <cyd@gnu.org>
9515
9516 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9517 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9518 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9519 (xterm-mouse--read-event-sequence-1000)
9520 (xterm-mouse--read-event-sequence-1006): New functions. For old
9521 mouse protocol, handle M-mouse-X events correctly.
9522 (xterm-mouse-event): New arg specifying mouse protocol.
9523 (turn-on-xterm-mouse-tracking-on-terminal)
9524 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9525 sequence to toggle extended coordinates on newer XTerms.
9526 This appears to be harmless on terminals which do not support this.
9527
9528 2012-07-14 Leo Liu <sdl.web@gmail.com>
9529
9530 Add fringe bitmap indicators for flymake. (Bug#11253)
9531 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9532 (flymake-make-overlay): New arg BITMAP.
9533 (flymake-error-bitmap, flymake-warning-bitmap)
9534 (flymake-fringe-indicator-position): New user variables.
9535
9536 * fringe.el: New bitmap exclamation-mark.
9537
9538 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9539
9540 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9541 also (Bug#7879).
9542
9543 2012-07-14 Chong Yidong <cyd@gnu.org>
9544
9545 * electric.el (electric-pair-post-self-insert-function): Fix pair
9546 insertion in empty-region case (Bug#11520).
9547
9548 2012-07-14 Chong Yidong <cyd@gnu.org>
9549
9550 * bindings.el: Consolidate ctl-x-r-map bindings.
9551 Bind copy-rectangle-as-kill to C-x r w.
9552
9553 * rect.el, register.el: Move bindings to bindings.el.
9554
9555 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9556
9557 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9558
9559 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9560
9561 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9562
9563 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9564
9565 * bindings.el (top): Use `mapc' instead of `mapcar'.
9566
9567 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9568
9569 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9570
9571 * progmodes/sql.el (sql-comint): Suppress the check for program on
9572 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9573 (Bug#11908)
9574
9575 2012-07-13 Chong Yidong <cyd@gnu.org>
9576
9577 * bindings.el: Assign a non-nil permanent-local property to
9578 per-buffer variables which lack a default value (Bug#11930).
9579
9580 * help-fns.el (describe-variable): In the "automatically becomes
9581 local" notice, take note of permanent-local variables.
9582
9583 2012-07-13 Chong Yidong <cyd@gnu.org>
9584
9585 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9586 to allow printing the message when called from Lisp.
9587
9588 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9589 Remove toggle-read-only.
9590
9591 * bs.el (bs-toggle-readonly):
9592 * buff-menu.el (Buffer-menu-toggle-read-only):
9593 Remove with-no-warnings around toggle-read-only.
9594
9595 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9596 Remove with-no-warnings around toggle-read-only.
9597 (ffap-read-only, ffap-read-only-other-window)
9598 (ffap-read-only-other-frame): Callers changed.
9599
9600 * help-mode.el: Don't require view package.
9601 (help-mode-finish): Set buffer-read-only instead of calling
9602 toggle-read-only.
9603
9604 * bindings.el (mode-line-toggle-read-only):
9605 * dired.el (dired-toggle-read-only):
9606 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9607 with non-nil second arg.
9608
9609 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9610 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9611 directly.
9612
9613 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9614
9615 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9616 not incf.
9617
9618 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 More CL cleanups and reduction of use of cl.el.
9621 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9622 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9623 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9624 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9625 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9626 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9627 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9628 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9629 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9630 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9631 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9632 * eshell/em-cmpl.el, eshell/em-banner.el:
9633 * calendar/parse-time.el: Use cl-lib.
9634 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9635 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9636 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9637 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9638 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9639 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9640 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9641 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9642 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9643 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9644 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9645 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9646 `lambda' rather than with `quote'.
9647 (eshell-do-opt): Adjust accordingly.
9648 (eshell-process-option): Simplify.
9649 * eshell/esh-var.el:
9650 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9651 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9652 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9653 to `pcase--dontcare'.
9654 * emacs-lisp/cl.el (labels): Mark obsolete.
9655 (cl--letf, letf): Move to cl-lib.
9656 (cl--letf*, letf*): Remove.
9657 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9658 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9659 (cl-progv): Rewrite.
9660 (cl--letf, cl-letf): Move from cl.el.
9661 (cl-letf*): New macro.
9662 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9663
9664 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9665
9666 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9667
9668 2012-07-11 Chong Yidong <cyd@gnu.org>
9669
9670 * vc/log-edit.el (log-edit-vc-backend): New variable.
9671 (log-edit): Doc fix.
9672
9673 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9674 argument of log-edit to set up all local variables.
9675 (vc-start-logentry): New optional arg specifying VC backend.
9676
9677 * vc/vc.el (vc-checkin): Use it.
9678 (vc-deduce-fileset): Handle Log Edit buffers.
9679 (vc-diff): Make first argument optional too.
9680
9681 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9682
9683 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9684
9685 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9686 command, just in case. The function is not needed anymore.
9687 (eshell-external-command): Do not call `eshell-remote-command'.
9688
9689 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 Reduce use of (require 'cl).
9692 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9693 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9694 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9695 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9696 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9697 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9698 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9699 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9700 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9701 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9702 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9703 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9704 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9705 (byte-compile-unfold-bcf, byte-compile-check-variable):
9706 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9707 (byte-compile-nilconstp):
9708 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9709 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9710
9711 * emacs-lisp/gv.el (cond): Make it a valid place.
9712 (if): Simplify slightly.
9713
9714 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9715 (pcase--self-quoting-p): New function.
9716 (pcase--u1): Use it.
9717
9718 2012-07-10 Glenn Morris <rgm@gnu.org>
9719
9720 * emacs-lisp/authors.el (authors-fixed-entries):
9721 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9722
9723 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9724
9725 Rename configure.in to configure.ac (Bug#11603).
9726 * emacs-lisp/authors.el (authors-canonical-file-name):
9727 * progmodes/autoconf.el (autoconf-mode):
9728 Prefer configure.ac to configure.in.
9729
9730 2012-07-08 Chong Yidong <cyd@gnu.org>
9731
9732 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9733 Implement the mouse-1-click-follows-link handling properly.
9734
9735 * info.el (Info-link-keymap): Use follow-link mechanism for
9736 header-line links (Bug#374).
9737
9738 * simple.el (deactivate-mark): Do not set the primary selection
9739 if another program has acquired it (Bug#11772).
9740
9741 2012-07-07 Kevin Ryde <user42@zip.com.au>
9742
9743 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9744 (woman-decode-region): Replace escaped-escapes without destroying
9745 bold or underline (Bug#11552).
9746 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9747
9748 2012-07-07 Chong Yidong <cyd@gnu.org>
9749
9750 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9751 (interprogram-cut-function, interprogram-paste-function):
9752 Mention that we typically mean the clipboard.
9753
9754 2012-07-06 Glenn Morris <rgm@gnu.org>
9755
9756 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9757
9758 * files.el (toggle-read-only): Restrict message to interactive use.
9759
9760 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9761
9762 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9763
9764 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9765
9766 2012-07-06 Glenn Morris <rgm@gnu.org>
9767
9768 * Makefile.in (compile-one-process): Rename from "recompile".
9769
9770 * Makefile.in (bzr-update): "compile" is the same as "recompile
9771 autoloads", but parallelizable, so use that instead.
9772
9773 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9774
9775 * window.el (quit-window): Always restore window height when
9776 it's saved in quit-restore parameter (Bug#11810).
9777
9778 2012-07-06 Glenn Morris <rgm@gnu.org>
9779
9780 * simple.el (kill-whole-line): Doc tweak.
9781
9782 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9783
9784 * files.el (file-relative-name): Compare file names
9785 case-insensitively if on MS-Windows or MS-DOS, or if
9786 read-file-name-completion-ignore-case is non-nil. Don't use
9787 case-fold-search for this purpose. (Bug#11827)
9788
9789 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9790
9791 * calendar/cal-dst.el (calendar-current-time-zone):
9792 Return calendar-current-time-zone-cache if non-nil.
9793
9794 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9795 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9796
9797 * calendar/cal-dst.el (calendar-current-time-zone):
9798 Return calendar-current-time-zone-cache if non-nil.
9799
9800 2012-07-06 Glenn Morris <rgm@gnu.org>
9801
9802 * Makefile.in (cvs-update): Remove old alias.
9803
9804 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9805
9806 Sync with Tramp 2.2.6-pre.
9807
9808 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9809 compatible declaration.
9810
9811 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9812 Protect `list-load-path-shadows' call.
9813
9814 * net/tramp-compat.el (top): Require packages, which aren't
9815 autoloaded anymore for XEmacs. Protect call of
9816 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9817 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9818 it hurts at least for SXEmacs.
9819 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9820 standard-value for `temporary-file-directory'.
9821
9822 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9823 Redirect stderr to /dev/null.
9824 (tramp-sh-handle-write-region): uid and gid can be floats.
9825 Reported by Russell Sim <russell.sim@gmail.com>.
9826 (tramp-sh-handle-vc-registered): Hide errors.
9827 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9828 and `start-file-process'.
9829 (tramp-maybe-open-connection): Check also whether `non-essential'
9830 is bound.
9831
9832 2012-07-04 Chong Yidong <cyd@gnu.org>
9833
9834 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9835 (xml-parse-tag): Likewise, and avoid changing entity tables.
9836 (xml-syntax-table): Define from scratch, making sure not to give
9837 x2000 and other Unicode spaces whitespace syntax, since those are
9838 not spaces in XML.
9839 (xml-parse-fragment): Delete unused function.
9840 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9841 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9842 (xml-entity-ref, xml-pe-reference-re)
9843 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9844 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9845 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9846 (xml-entity-value-re): Use syntax references in regexps where
9847 possible; no need to define inside a let-binding.
9848 (xml-parse-dtd): Use xml-pe-reference-re.
9849 (xml-entity-or-char-ref-re): New defconst.
9850 (xml-parse-string, xml-substitute-special): Use it.
9851
9852 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9853
9854 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9855 (find-file--read-only): New function.
9856 (find-file-read-only, find-file-read-only-other-window)
9857 (find-file-read-only-other-frame): Use it.
9858 (insert-file-contents-literally): Don't `fset'.
9859 (get-free-disk-space): Use locate-dominating-file.
9860
9861 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9862 function is already compiled.
9863
9864 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9865
9866 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9867
9868 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9869 files on the same host.
9870
9871 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9872
9873 * help-fns.el (describe-function-1): Only call
9874 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9875
9876 2012-07-03 Chong Yidong <cyd@gnu.org>
9877
9878 * xml.el: Protect parser against XML bombs.
9879 (xml-entity-expansion-limit): New variable.
9880 (xml-parse-string, xml-substitute-special): Use it.
9881 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9882
9883 2012-07-03 Glenn Morris <rgm@gnu.org>
9884
9885 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9886 Allow linking to specific messages in debbugs reports (eg 123#5).
9887
9888 2012-07-02 Chong Yidong <cyd@gnu.org>
9889
9890 * xml.el: Fix entity and character reference expansion, allowing
9891 them to expand into markup as per XML spec.
9892 (xml-default-ns): New variable.
9893 (xml-entity-alist): Use XML spec definitions for lt and amp.
9894 (xml-parse-region): Make first two arguments optional.
9895 Discard text properties.
9896 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9897 All callers changed.
9898 (xml-parse-tag): Call xml-parse-tag-1. For backward
9899 compatibility, this function should not modify buffer contents.
9900 (xml-parse-tag-1): Fix opening-tag regexp.
9901 (xml-parse-string): Rewrite, handling entity and character
9902 references properly.
9903 (xml--entity-replacement-text): Signal an error if a parameter
9904 entity is undefined.
9905
9906 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * comint.el (comint-output-filter): Filter out repeated prompts.
9909
9910 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9911 and file-name-absolute-p.
9912 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9913 internal calls.
9914
9915 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9916
9917 Spelling fixes.
9918 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9919 Rename from byte-compile--refiy-function. All uses changed.
9920
9921 2012-07-01 Chong Yidong <cyd@gnu.org>
9922
9923 * xml.el (xml--parse-buffer): New function. Move most of
9924 xml-parse-region here.
9925 (xml-parse-region): Copy region into a temporary buffer, since
9926 parameter entity substitution requires changing buffer contents.
9927 Use xml--parse-buffer.
9928 (xml-parse-file): Use xml--parse-buffer.
9929 (xml-parse-dtd): Make parameter entity substitution work right.
9930 Use proper regexps for ELEMENT declarations (Bug#7172).
9931
9932 2012-06-30 Glenn Morris <rgm@gnu.org>
9933
9934 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9935
9936 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9937 Remove outdated and unnecessary dbus declarations.
9938
9939 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9940
9941 * emacs-lisp/timer.el (timer-until): Subtract results of
9942 float-time, instead of taking float-time of the result of
9943 time-subtract, since float-time signals an error for negative time
9944 arguments.
9945
9946 2012-06-30 Chong Yidong <cyd@gnu.org>
9947
9948 * xml.el (xml-*-re): Convert defvars into defconsts, and
9949 eval-and-compile them so eval-and-compile works on derivatives.
9950 (xml--entity-replacement-text): Use eval-and-comple.
9951
9952 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
9953
9954 * vc/vc-git.el (vc-git-registered): Use cache property
9955 `git-registered'.
9956 (vc-git-mode-line-string): Call `vc-working-revision' instead of
9957 `vc-git-working-revision' in order to benefit from the cache.
9958 (vc-git-root): Use cache property `git-root'. (Bug#11757)
9959
9960 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
9961
9962 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
9963 removed (likely outside Emacs). (Bug#11757)
9964
9965 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * emacs-lisp/cl-lib.el: Require macroexp.
9968
9969 2012-06-30 Chong Yidong <cyd@gnu.org>
9970
9971 * xml.el: Implement XML parameter entities.
9972 (xml-parameter-entity-alist): New variable.
9973 (xml-parse-region, xml-parse-fragment): Preserve previous values
9974 of xml-entity-alist and xml-parameter-entity-alist, so that
9975 repeated calls on different documents do not change them.
9976 (xml-parse-tag): Fix doctype regexp.
9977 (xml--entity-replacement-text): New function.
9978 (xml-parse-dtd): Use it. Don't handle system entities; doing that
9979 properly requires url retrieval which is unimplemented.
9980 (xml-escape-string): Doc fix.
9981
9982 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
9985
9986 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
9987
9988 * fringe.el (fringe-mode): Doc fix.
9989
9990 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
9991
9992 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
9993 is non-nil.
9994 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
9995 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
9996
9997 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
9998
9999 * calendar/cal-dst.el (calendar-current-time-zone):
10000 Return calendar-current-time-zone-cache if non-nil.
10001
10002 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10003
10004 * progmodes/which-func.el (which-func-format):
10005 Add mouse-face. (Bug#11698)
10006
10007 2012-06-29 Leo Liu <sdl.web@gmail.com>
10008
10009 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10010
10011 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * minibuffer.el (minibuffer-confirm-exit-commands):
10014 Add completion-at-point (bug#11725).
10015
10016 2012-06-29 Glenn Morris <rgm@gnu.org>
10017
10018 * progmodes/f90.el (f90-font-lock-keywords-2):
10019 Add some preprocessor elements. (Bug#10499)
10020
10021 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10022
10023 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10024 Use syntax-propertize (bug#11739).
10025
10026 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10027
10028 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10029
10030 2012-06-28 Julien Danjou <julien@danjou.info>
10031
10032 * term.el (term-handle-colors-array): Use a set of new faces to
10033 color the terminal. Also uses :inverse-video property.
10034 (term-default-fg-color): Set to nil by default, deprecate in favor
10035 of `term-face'.
10036 (term-default-bg-color): Set to nil by default, deprecate in favor
10037 of `term-face'.
10038 (term-current-face): Use `term-face' by default.
10039 (term-bold-attribute): Variable deleted.
10040
10041 2012-06-28 Glenn Morris <rgm@gnu.org>
10042
10043 * simple.el (completion-list-mode-finish):
10044 Don't use toggle-read-only. (Since completion-list-mode has
10045 a special mode-class, it wasn't doing anything extra anyway.)
10046
10047 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10048
10049 Make inlining of other-mode interpreted functions work (bug#11799).
10050 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10051 (byte-compile): Use it to fix compilation of lexical-binding closures.
10052 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10053 function, if needed.
10054
10055 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * help-mode.el (help-make-xrefs): Don't just withstand
10058 cyclic-variable-indirection but any error in documentation-property.
10059
10060 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10061 memory use.
10062 * bindings.el (bindings--define-key): New function.
10063 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10064 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10065 * bindings.el: Use it to purecopy define-key bindings.
10066
10067 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10068
10069 * emacs-lisp/cl.el (flet): Mark obsolete.
10070 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10071 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10072 * progmodes/js.el (js-c-fill-paragraph):
10073 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10074 (ebrowse-switch-member-buffer-to-derived-class):
10075 * play/5x5.el (5x5-solver): Use cl-flet.
10076
10077 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10078 (cl--symbol-function): New macro.
10079 (cl--letf, cl--letf*): Use it.
10080
10081 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10082 Strip "toggle-" if any.
10083
10084 2012-06-27 Glenn Morris <rgm@gnu.org>
10085
10086 * info.el (Info-default-directory-list): Move here from paths.el.
10087 * paths.el: Remove file, which is now empty.
10088 * loadup.el: No longer load "paths".
10089
10090 * custom.el (custom-initialize-delay): Doc fix.
10091
10092 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10093 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10094 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10095 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10096 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10097 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10098 * eshell/eshell.el (eshell-defgroup): Remove alias.
10099
10100 2012-06-27 Chong Yidong <cyd@gnu.org>
10101
10102 * help.el (help-enable-auto-load): New variable.
10103
10104 * help-fns.el (help-fns--autoloaded-p): New function.
10105 (describe-function-1): Refer to a function as "autoloaded" if it
10106 was autoloaded at any time in the past. Perform autoloading if
10107 help-enable-auto-load is non-nil.
10108
10109 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10110
10111 * makefile.w32-in (compile, compile-always): Depend on
10112 update-subdirs, not on subdirs.el. Otherwise, several different
10113 sub-targets of 'bootstrap' running in parallel could
10114 simultaneously write to subdirs.el, producing a garbled file.
10115
10116 2012-06-26 Sam Steingold <sds@gnu.org>
10117
10118 * files.el (file-name-base): New convenience function.
10119 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10120 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10121 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10122 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10123 * textmodes/ispell.el, textmodes/reftex-ref.el:
10124 * textmodes/tex-mode.el: Use it.
10125 Did not touch cedet and org because they are maintained elsewhere.
10126
10127 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10128
10129 * calendar/calendar.el (calendar-exit): Don't try to delete or
10130 iconify last frame. See:
10131 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10132
10133 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10134
10135 * server.el (server-process-filter): Remember dir in the
10136 process's `server-client-directory' properties.
10137
10138 2012-06-24 Chong Yidong <cyd@gnu.org>
10139
10140 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10141 non-tag text.
10142
10143 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10144
10145 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10146
10147 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * help-fns.el (describe-variable): Don't croak when doc is not found.
10150 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10151 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10152 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10153 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10154 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10155 ((lambda ..) ..).
10156 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10157
10158 2012-06-23 Chong Yidong <cyd@gnu.org>
10159
10160 * info.el (Info-mouse-follow-link): Accept symbol values of
10161 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10162 (Info-fontify-node): Use Info-link-keymap for all navigation
10163 buttons, with link-args property to perform the desired action.
10164 (Info-link-keymap): Doc fix.
10165 (Info-next-link-keymap, Info-prev-link-keymap)
10166 (Info-up-link-keymap): Delete now-unused keymaps.
10167
10168 2012-06-23 Chong Yidong <cyd@gnu.org>
10169
10170 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10171
10172 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10173 system abbrevs.
10174
10175 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10176
10177 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10180 (bug#11719).
10181
10182 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10183 the requote function doesn't work properly (bug#11714).
10184
10185 2012-06-23 Glenn Morris <rgm@gnu.org>
10186
10187 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10188
10189 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 Further GV/CL cleanups.
10192 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10193 gv-expander.
10194 (gv--defun-declaration): New function.
10195 (defun-declarations-alist): Use it.
10196 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10197 (gv-place): Autoload.
10198 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10199 original definition of dotimes and dolist.
10200 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10201 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10202 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10203 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10204 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10205 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10206 to the function's definition.
10207 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10208 * window.el:
10209 * files.el:
10210 * faces.el:
10211 * env.el: Don't use CL.
10212
10213 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10214
10215 Support higher-resolution time stamps (Bug#9000).
10216
10217 * calendar/time-date.el (with-decoded-time-value): New arg
10218 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10219 (encode-time-value): New optional arg PICO. New type 3.
10220 (time-to-seconds) [!float-time]: Support the new picoseconds
10221 component if it's used.
10222 (seconds-to-time, time-subtract, time-add):
10223 Support ps-resolution time stamps as well.
10224
10225 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10226 (timerp): Timer vectors now have length 9, not 8.
10227 (timer--time): Support new-style (4-part) time stamps.
10228 (timer-next-integral-multiple-of-time): Time stamps now have
10229 picosecond resolution, so take a bit more care about rounding.
10230 (timer-relative-time, timer-inc-time): New optional arg psecs.
10231 (timer-set-time-with-usecs): Set psecs to 0.
10232 (timer--activate): Check psecs component, too.
10233
10234 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10235
10236 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10239 Move the non-essential binding to the post/pre-command-hook where it is
10240 more obviously correct.
10241
10242 * subr.el (read-passwd): Don't use a history at all.
10243 * savehist.el (savehist-save): Remove password saved accidentally
10244 because of the above bug.
10245
10246 2012-06-22 Bastien Guerry <bzg@gnu.org>
10247
10248 * files.el (toggle-read-only): Display a message telling whether
10249 the buffer is read-only or not (bug#11726).
10250
10251 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10252
10253 * emacs-lisp/gv.el: New file.
10254 * subr.el (push, pop): Extend to generalized variables.
10255 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10256 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10257 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10258 gv-define-simple-setter, and gv-define-expander.
10259 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10260 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10261 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10262 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10263 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10264 gv-letplace.
10265 (cl-defstruct): Don't define setf-method any more.
10266 * emacs-lisp/cl.el (flet): Don't autoload.
10267 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10268 (define-setf-expander, defsetf, define-modify-macro)
10269 (cl-struct-setf-expander): Move from cl-lib.el.
10270 * emacs-lisp/syntax.el:
10271 * emacs-lisp/ewoc.el:
10272 * emacs-lisp/smie.el:
10273 * emacs-lisp/cconv.el:
10274 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10275 (timer--time): Use gv-define-simple-setter.
10276 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10277 to avoid coding-system problems in subr.el. Adjust all users.
10278 (macroexp--maxsize, macroexp-small-p): New functions.
10279 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10280 * scroll-bar.el (scroll-bar-mode):
10281 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10282 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10283 * winner.el (winner-configuration, winner-make-point-alist)
10284 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10285 * files.el (locate-file-completion-table): Avoid list*.
10286
10287 2012-06-22 Chong Yidong <cyd@gnu.org>
10288
10289 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10290 (dired-create-files): Doc fix (Bug#11329).
10291 (dired-do-copy): Doc fix (Bug#11334).
10292 (dired-mark-read-string): Doc fix (Bug#11553).
10293
10294 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10295 Doc fix (Bug#11326).
10296 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10297 (dired-dwim-target): Doc fix.
10298
10299 * wdired.el (wdired-mode): Doc fix.
10300
10301 2012-06-22 Glenn Morris <rgm@gnu.org>
10302
10303 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10304 (pcmpl-rpm-cache-stamp-file): New constant.
10305 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10306 (pcmpl-rpm-packages): Optionally cache list of packages.
10307
10308 * pcmpl-rpm.el (pcmpl-rpm): New group.
10309 (pcmpl-rpm-query-options): New option.
10310 (pcmpl-rpm-packages): No need to inline it.
10311 Use pcmpl-rpm-query-options.
10312
10313 * calendar/calendar.el (calendar-in-read-only-buffer):
10314 Avoid some needless mode changes.
10315
10316 2012-06-21 Chong Yidong <cyd@gnu.org>
10317
10318 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10319 (desktop-path): Remove . from the default value (Bug#10977).
10320 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10321
10322 2012-06-20 Chong Yidong <cyd@gnu.org>
10323
10324 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10325
10326 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10327
10328 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10329 (bug#11201).
10330
10331 2012-06-20 Chong Yidong <cyd@gnu.org>
10332
10333 * term.el (term-window-width): Handle the case of a missing right
10334 fringe (Bug#8837).
10335 (term-check-size): Use window-text-height (Bug#5445).
10336 (term-mode): Use define-derived-mode. Minor cleanups.
10337 Set font-lock-defaults (Bug#7692).
10338 (term-move-columns, term-insert-char, term-emulate-terminal)
10339 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10340
10341 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10342
10343 * net/ange-ftp.el (ange-ftp-get-passwd):
10344 Bind `enable-recursive-minibuffers'.
10345 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10346
10347 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10348
10349 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10350
10351 2012-06-19 Glenn Morris <rgm@gnu.org>
10352
10353 * progmodes/python.el (python-mode): Derive from prog-mode.
10354
10355 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10356
10357 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10358 (edt-user-menu-bar-update-buffers): New functions.
10359 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10360
10361 2012-06-19 Chong Yidong <cyd@gnu.org>
10362
10363 * subr.el (with-selected-window): Preserve the selected window's
10364 terminal's top-frame (Bug#4702).
10365
10366 * window.el (save-selected-window): Likewise.
10367
10368 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10369
10370 * progmodes/python.el (python-rx-constituents): Move backquote.
10371 (python-skeleton-define, python-define-auxiliary-skeleton):
10372 Use `declare'.
10373
10374 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10375
10376 * minibuffer.el (read-file-name-default): Revert the patch from
10377 2012-06-17.
10378
10379 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10380
10381 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10382 (pcase--u1, pcase--q1): Don't use apply-partially.
10383
10384 2012-06-18 Glenn Morris <rgm@gnu.org>
10385
10386 * progmodes/python.el (python-proc, python-buffer)
10387 (python-send-receive, python-send-string): Fix obsolete versions.
10388
10389 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10390
10391 * window.el (special-display-p): Completely remove stringp
10392 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10393
10394 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10395
10396 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10397
10398 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10399
10400 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10401 * net/tramp-sh.el (tramp-maybe-open-connection):
10402 Throw if `non-essential' is non-nil.
10403
10404 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10405
10406 * window.el (special-display-p): Signal an error if BUFFER-NAME
10407 is not a string (Bug#11713).
10408
10409 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10410
10411 * progmodes/python.el (python-info-beginning-of-backslash):
10412 Rename from python-info-beginning-of-backlash, as a spelling fix.
10413
10414 2012-06-17 Chong Yidong <cyd@gnu.org>
10415
10416 * term.el (term-emulate-terminal): If term-check-size is called,
10417 move point to the process mark without resetting point (Bug#4635).
10418
10419 2012-06-17 Glenn Morris <rgm@gnu.org>
10420
10421 * international/mule-cmds.el (mule-menu-keymap)
10422 (set-language-environment, set-locale-environment): Doc tweaks.
10423
10424 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10425
10426 * cus-face.el (custom-face-attributes): Add wave-style underline
10427 attribute.
10428 * faces.el (set-face-attribute): Update docstring to describe
10429 wave-style underline attribute.
10430
10431 2012-06-16 Chong Yidong <cyd@gnu.org>
10432
10433 * term/xterm.el (terminal-init-xterm): Discard input before
10434 querying background mode (Bug#10959).
10435
10436 2012-06-16 Stefan Merten <smerten@oekonux.de>
10437
10438 * textmodes/rst.el: Added and corrected some comments.
10439 (rst-re-alist-def): Improve symbol syntax.
10440 (rst-mode-syntax-table): Correct syntax entries.
10441 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10442 (rst-official-version, rst-official-cvs-rev): Update version
10443 information.
10444
10445 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10446
10447 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10448 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10449
10450 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10451
10452 * progmodes/python.el: New python.el merge.
10453 (python-guess-indent): Obsolete var.
10454 (python-indent-guess-indent-offset): New defcustom.
10455 (python-indent): Obsolete var.
10456 (python-indent-offset): New defcustom.
10457 (python-python-command, python-jython-command): Delete var.
10458 (python-shell-interpreter): New defcustom.
10459 (python-pdbtrack-do-tracking-p): Delete var.
10460 (python-pdbtrack-activate): New defcustom.
10461 (python-use-skeletons): Obsolete var.
10462 (python-skeleton-autoinsert): New defcustom.
10463 (inferior-python-filter-regexp, python-continuation-offset)
10464 (python-honour-comment-indentation, python-indent-string-contents)
10465 (python-jython-packages, python-mode-hook)
10466 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10467 (python-shell-prompt-alist)
10468 (python-source-modes): Delete defcustoms.
10469 (python-check-buffer-name, python-eldoc-setup-code)
10470 (python-eldoc-string-code, python-ffap-setup-code)
10471 (python-ffap-string-code, python-fill-comment-function)
10472 (python-fill-decorator-function, python-fill-paren-function)
10473 (python-fill-string-function, python-imenu-include-defun-type)
10474 (python-imenu-make-tree, python-imenu-subtree-root-label)
10475 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10476 (python-shell-compilation-regexp-alist)
10477 (python-shell-completion-module-string-code)
10478 (python-shell-completion-pdb-string-code)
10479 (python-shell-completion-setup-code)
10480 (python-shell-completion-string-code)
10481 (python-shell-enable-font-lock, python-shell-exec-path)
10482 (python-shell-extra-pythonpaths)
10483 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10484 (python-shell-process-environment)
10485 (python-shell-prompt-block-regexp)
10486 (python-shell-prompt-output-regexp)
10487 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10488 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10489 (python-shell-virtualenv-path): New defcustoms.
10490 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10491 (inferior-python-mode-syntax-table, python--prompt-regexp)
10492 (python-buffer, python-command python-python-command)
10493 (python-default-template, python-imports, python-indent-index)
10494 (python-indent-list, python-indent-list-length)
10495 (python-mode-running, python-pdbtrack-is-tracking-p)
10496 (python-preoutput-continuation, python-preoutput-leftover)
10497 (python-preoutput-result, python-preoutput-skip-next-prompt)
10498 (python-prev-dir/file, python-recursing)
10499 (python-saved-check-command, python-version-checked)
10500 (python-which-func-length-limit)
10501 (view-return-to-alist): Delete vars.
10502 (python-check-custom-command, python-dotty-syntax-table)
10503 (python-imenu-index-alist, python-indent-current-level)
10504 (python-indent-dedenters, python-indent-levels)
10505 (python-nav-beginning-of-defun-regexp)
10506 (python-nav-list-defun-positions-cache)
10507 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10508 (python-shell-internal-buffer)
10509 (python-skeleton-available): New vars.
10510 (def-python-skeleton): Delete macro.
10511 (python-skeleton-define): New macro.
10512 (python-define-auxiliary-skeleton, python-rx): New macros.
10513 (python-insert-class): Delete command.
10514 (python-skeleton-class): New command.
10515 (python-insert-def): Delete command.
10516 (python-skeleton-def): New command.
10517 (python-insert-for): Delete command.
10518 (python-skeleton-for): New command.
10519 (python-insert-if): Delete command.
10520 (python-skeleton-if): New command.
10521 (python-insert-try/except, python-insert-try/finally): Delete commands.
10522 (python-skeleton-try): New command.
10523 (python-insert-while): Delete command.
10524 (python-skeleton-while): New command.
10525 (python-backspace): Delete command.
10526 (python-indent-dedent-line-backspace): New command.
10527 (python-electric-colon): Delete command.
10528 (python-indent-electric-colon): New command.
10529 (python-guess-indent): Delete command.
10530 (python-indent-guess-indent-offset): New command.
10531 (python-shift-left): Delete command.
10532 (python-indent-shift-left): New command.
10533 (python-shift-right): Delete command.
10534 (python-indent-shift-right): New command.
10535 (python-find-function): Delete command.
10536 (python-nav-jump-to-defun): New command.
10537 (python-next-statement): Delete command.
10538 (python-nav-forward-sentence): New command.
10539 (python-previous-statement): Delete command.
10540 (python-nav-backward-sentence): New command.
10541 (python-fill-paragraph): Delete command.
10542 (python-fill-paragraph-function): New command.
10543 (python-send-buffer): Delete command.
10544 (python-shell-send-buffer): New command.
10545 (python-send-defun): Delete command.
10546 (python-shell-send-defun): New command.
10547 (python-send-region, python-send-region-and-go): Delete commands.
10548 (python-shell-send-region)
10549 (python-shell-switch-to-shell): New commands.
10550 (python-send-string): Delete command.
10551 (python-shell-send-string): New command.
10552 (python-switch-to-python): Delete command.
10553 (python-shell-switch-to-shell): New command.
10554 (python-describe-symbol): Delete command.
10555 (python-eldoc-at-point): New command.
10556 (python--set-prompt-regexp, python-args-to-list)
10557 (python-after-info-look, python-check-version)
10558 (python-check-comint-prompt, python-find-imports)
10559 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10560 (python-unload-function, python-expand-template)
10561 (python-maybe-jython, python-preoutput-filter)
10562 (python-pdbtrack-get-source-buffer)
10563 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10564 (python-pdbtrack-toggle-stack-tracking)
10565 (python-pdbtrack-track-stack-file, python-initial-text)
10566 (python-first-word, python-comment-line-p, python-send-command)
10567 (python-setup-brm, python-sentinel, python-set-proc)
10568 (python-skip-out, python-input-filter, python-outdent-p)
10569 (python-outline-level, python-backslash-continuation-line-p)
10570 (python-end-of-block, python-end-of-statement, python-mark-block)
10571 (python-beginning-of-block, python-beginning-of-statement)
10572 (python-blank-line-p, python-beginning-of-string)
10573 (python-open-block-statement-p): Delete functions.
10574 (python-indent-line, python-indent-line-1): Delete functions.
10575 (python-indent-line): New function.
10576 (python-indentation-levels): Delete function.
10577 (python-indent-calculate-levels): New function.
10578 (python-proc): Delete function.
10579 (python-shell-get-process): New function.
10580 (python-send-receive): Delete function.
10581 (python-shell-send-string-no-output): New function.
10582 (python-module-path): Delete function.
10583 (python-ffap-module-path): New function.
10584 (python-completion-at-point)
10585 (python-symbol-completions): Delete functions.
10586 (python-completion-complete-at-point): New function.
10587 (python-load-file): Delete function.
10588 (python-shell-send-file): New function.
10589 (python-calculate-indentation): Delete function.
10590 (python-indent-calculate-indentation): New function.
10591 (python-skip-comments/blanks): Delete function.
10592 (python-util-forward-comment): New function.
10593 (python-continuation-line-p): Delete function.
10594 (python-info-continuation-line-p): New function.
10595 (python-which-func, python-current-defun): Delete function.
10596 (python-info-current-defun): New function.
10597 (python-beginning-of-defun): Delete function.
10598 (python-nav-beginning-of-defun): New function.
10599 (python-close-block-statement-p)
10600 (python-block-end-p): Delete function.
10601 (python-info-closing-block): New function.
10602 (python-comint-output-filter-function)
10603 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10604 (python-fill-comment, python-fill-decorator, python-fill-paren)
10605 (python-fill-string, python-imenu-make-element-tree)
10606 (python-imenu-make-tree, python-imenu-tree-assoc)
10607 (python-indent-context, python-indent-dedent-line)
10608 (python-indent-line-function)
10609 (python-indent-post-self-insert-function)
10610 (python-indent-toggle-levels)
10611 (python-info-assignment-continuation-line-p)
10612 (python-info-beginning-of-backlash)
10613 (python-info-block-continuation-line-p)
10614 (python-info-closing-block-message)
10615 (python-info-line-ends-backslash-p)
10616 (python-info-looking-at-beginning-of-defun)
10617 (python-info-ppss-context, python-info-ppss-context-type)
10618 (python-nav-list-defun-positions, python-nav-read-defun)
10619 (python-nav-sentence-end, python-nav-sentence-start)
10620 (python-pdbtrack-comint-output-filter-function)
10621 (python-pdbtrack-set-tracked-buffer)
10622 (python-shell-calculate-exec-path)
10623 (python-shell-calculate-process-environment)
10624 (python-shell-completion--do-completion-at-point)
10625 (python-shell-completion--get-completions)
10626 (python-shell-completion-complete-at-point)
10627 (python-shell-completion-complete-or-indent)
10628 (python-shell-get-or-create-process)
10629 (python-shell-get-process-name)
10630 (python-shell-internal-get-or-create-process)
10631 (python-shell-internal-get-process-name)
10632 (python-shell-internal-send-string, python-shell-make-comint)
10633 (python-shell-parse-command, python-shell-send-setup-code)
10634 (python-skeleton-add-menu-items)
10635 (python-util-clone-local-variables, python-util-position)
10636 (run-python-internal, python-indentation-levels)
10637 (python-nav-beginning-of-defun)
10638 (python-completion-complete-at-point): New functions.
10639 (run-python): Change arguments. New API requirements.
10640
10641 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10642
10643 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10644 (bug#11649).
10645
10646 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10647 (macroexp--expand-all): Use it.
10648
10649 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10650 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10651 Use `cl-function' instead.
10652
10653 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10654
10655 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10656 Suggested by Stefan Monnier while discussing bug#11657.
10657
10658 2012-06-14 Sam Steingold <sds@gnu.org>
10659
10660 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10661
10662 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10663
10664 * play/doctor.el (doctor-doc): Remove parameter and use
10665 doctor-sent instead of sent.
10666 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10667
10668 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 * files.el: Require cl-lib.
10671 (file-name-non-special): Replace case -> cl-case.
10672
10673 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10674
10675 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10676 mapping from #' to function*.
10677
10678 2012-06-13 Chong Yidong <cyd@gnu.org>
10679
10680 * mouse.el (mouse-drag-track): Do not set the mark if the user
10681 releases the mouse without selecting anything (Bug#11588).
10682
10683 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10686 as well (bug#11646).
10687
10688 * loadup.el: Count byte-code functions as well.
10689
10690 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10691 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10692
10693 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10694 (bug#11649). Add cl-defun and cl-defmacro.
10695
10696 2012-06-13 Drew Adams <drew.adams@oracle.com>
10697
10698 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10699 Fix last change.
10700
10701 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10702
10703 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10704 Otherwise, it blocks in batch mode.
10705
10706 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10707
10708 * help-mode.el (bookmark-make-record-default): Declare.
10709
10710 2012-06-13 Chong Yidong <cyd@gnu.org>
10711
10712 * emacs-lisp/package.el (list-packages): Compute a list of
10713 packages that are newly-available since the last list-packages
10714 invocation.
10715 (package-menu--new-package-list): New var.
10716 (package-menu--generate, package-menu--print-info)
10717 (package-menu--status-predicate, package-menu-mark-install):
10718 Handle new status label "new".
10719
10720 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10721
10722 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10723 conversion to backquotes.
10724
10725 2012-06-12 Chong Yidong <cyd@gnu.org>
10726
10727 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10728 Rename from gud-inhibit-global-bindings.
10729
10730 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10731
10732 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10733 hook from nxml-glyph-set-hook.
10734
10735 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10736 declaration.
10737
10738 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10739
10740 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10741 Convert to defcustom.
10742
10743 2012-06-12 Drew Adams <drew.adams@oracle.com>
10744
10745 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10746 New functions.
10747 (help-mode): Use them.
10748
10749 2012-06-11 Glenn Morris <rgm@gnu.org>
10750
10751 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10752 Use preprocessor face for directives.
10753 (fortran-directive-re): Doc fix.
10754
10755 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10758 conversion to backquotes (bug#11652).
10759
10760 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10761 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10762 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10763 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10764 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10765 (cl-ninth, cl-tenth): Mark them as inlinable.
10766 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10767 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10768 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10769 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10770 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10771 (cl-list*, cl-adjoin): Don't put an autoload manually.
10772 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10773 (cl--compiler-macro-list*): Add autoload cookie.
10774 (cl--compiler-macro-cXXr): New function.
10775
10776 * help-fns.el (help-fns--compiler-macro): New function extracted from
10777 describe-function-1; follow aliases and use `compiler-macro' property.
10778 (describe-function-1): Use it.
10779
10780 2012-06-11 Chong Yidong <cyd@gnu.org>
10781
10782 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10783 is uninstalled, if imagemagick is installed.
10784
10785 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10786
10787 * emacs-lisp/cl-lib.el: Use lexical-binding.
10788 (cl-map-extents, cl-maclisp-member): Remove.
10789 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10790 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10791 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10792 * emacs-lisp/cl-extra.el: Use lexical-binding.
10793 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10794 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10795 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10796 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10797 * emacs-lisp/cl-seq.el: Use lexical-binding.
10798 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10799 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10800 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10801 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10802 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10803 CL's internals.
10804
10805 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10806
10807 Sync with Tramp 2.2.6-pre.
10808
10809 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10810 `print-length' and `print-level' to nil, in order to avoid
10811 truncation. Reported by Christopher Schmidt
10812 <christopher@ristopher.com>.
10813
10814 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10815
10816 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10817 New defmacro.
10818 (tramp-compat-copy-directory): Add optional argument
10819 COPY-CONTENTS. It is not handled yet.
10820
10821 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10822 (tramp-ftp-file-name-p): Simplify.
10823
10824 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10825 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10826 connection vector.
10827
10828 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10829 (tramp-methods): Do not use `tramp-password-end-of-line'.
10830 (tramp-completion-function-alist-putty): Handle UNIX case.
10831 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10832 (tramp-do-file-attributes-with-stat)
10833 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10834 gid as real numbers. They could run out of integer range on cygwin.
10835 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10836 (tramp-sh-handle-expand-file-name): Handle hops.
10837 (tramp-open-connection-setup-interactive-shell):
10838 Use `tramp-cleanup'. Move check for busyboxes ...
10839 (tramp-find-shell): ... here. Simplify implementation.
10840 Set "remote-shell" property also for alternative shells.
10841 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10842 If failing, a regular file would be written otherwise.
10843 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10844 (tramp-find-inline-encoding): Cache the coding commands in the
10845 process cache. Apply test command on the remote side, if defined.
10846 (tramp-find-inline-compress): Cache the compress commands in the
10847 process cache.
10848 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10849 when requested. Handle hops.
10850 (tramp-current-connection): New defvar.
10851 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10852 Throw `suppress', if there was a failed connection shortly before.
10853 Handle user interrupt. (Bug#10187)
10854 (tramp-get-inline-compress, tramp-get-inline-coding):
10855 Read connection properties from the process cache.
10856
10857 * net/tramp-smb.el (tramp-smb-server-version)
10858 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10859 New defconsts.
10860 (tramp-smb-prompt): Extend for powershell prompt.
10861 (tramp-smb-file-name-handler-alist): Add handlers for
10862 `process-file', `shell-command' and `start-file-process'.
10863 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10864 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10865 (tramp-smb-file-name-p): Simplify.
10866 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10867 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10868 (tramp-smb-shell-quote-argument): New defuns.
10869 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10870 Implement using "tar". By this, time-stamps are preserved.
10871 (tramp-smb-handle-copy-file): Handle also the case of directories.
10872 (tramp-smb-do-file-attributes-with-stat)
10873 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10874 Use `tramp-get-connection-buffer').
10875 (tramp-smb-handle-rename-file): Use "rename", when source and
10876 target are on the same share.
10877 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10878 Use `tramp-smb-server-version'.
10879 (tramp-smb-wait-for-output): Remove prompt.
10880
10881 * net/tramp.el (top): Require 'cl.
10882 (tramp-methods, tramp-rsh-end-of-line):
10883 Remove `tramp-password-end-of-line' from docstring.
10884 (tramp-save-ad-hoc-proxies): New defcustom.
10885 (tramp-completion-function-alist): Adapt docstring.
10886 (tramp-default-password-end-of-line): Remove defcustom.
10887 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10888 (tramp-user-regexp, tramp-file-name-regexp-unified)
10889 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10890 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10891 (tramp-remote-file-name-spec-regexp): New defconst.
10892 (tramp-file-name-structure): Extend structure for hops.
10893 (tramp-get-method-parameter): Move up.
10894 (tramp-file-name-p, tramp-dissect-file-name)
10895 (with-parsed-tramp-file-name): Handle hops.
10896 (tramp-file-name-hop): New defun.
10897 (tramp-make-tramp-file-name): New optional arg HOP.
10898 (tramp-message-show-progress-reporter-message): New defvar.
10899 (tramp-with-progress-reporter): Use it. We cannot use
10900 `tramp-message-show-message' here, because this suppresses also
10901 error buffers.
10902 (tramp-error-with-buffer): Suppress buffer view, if
10903 `tramp-message-show-message' is nil.
10904 Use `tramp-get-connection-buffer'.
10905 (tramp-cleanup): New defun.
10906 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10907 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10908 an error unchanged.
10909 (tramp-completion-handle-file-name-all-completions): Handle hops.
10910 Fix an error when called from ido.
10911 (tramp-completion-dissect-file-name): Use better local variable
10912 name. Add hop to the vector.
10913 (tramp-handle-insert-file-contents): Use progress-reporter for the
10914 whole scenario.
10915 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10916 to `t'.
10917 (tramp-check-for-regexp): Simplify search.
10918 (tramp-enter-password): Remove it. Move implementation ...
10919 (tramp-action-password): ... here.
10920 (tramp-mode-string-to-int, tramp-local-host-p)
10921 (tramp-make-tramp-temp-file, tramp-read-passwd)
10922 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10923 Set tramp-autoload cookie.
10924
10925 * net/trampver.el: Update release number.
10926
10927 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10928 Michael Albinus <michael.albinus@gmx.de>
10929
10930 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10931 (tramp-parse-group, tramp-parse-file)
10932 (tramp-parse-shostkeys-sknownhosts): New defuns.
10933 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10934 (tramp-parse-shosts-group, tramp-parse-sconfig)
10935 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10936 (tramp-parse-sknownhosts, tramp-parse-hosts)
10937 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10938 Use them.
10939 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10940 (tramp-parse-putty-group): Don't narrow.
10941 (tramp-parse-putty): Make a loop.
10942 (tramp-file-name-handler): Catch the `suppress' signal.
10943
10944 2012-06-11 Chong Yidong <cyd@gnu.org>
10945
10946 * image.el (imagemagick-register-types): Put the ImageMagick entry
10947 at the end of image-type-file-name-regexps.
10948
10949 2012-06-11 Johan Bockgård <bojohan@gnu.org>
10950
10951 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
10952 (pcase, pcase-let*, pcase-dolist): Use them.
10953
10954 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 * emacs-lisp/pcase.el (pcase--let*): New function.
10957 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
10958 (pcase--expand): Use macroexp-let².
10959
10960 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
10963 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
10964 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
10965 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
10966 * emacs-lisp/derived.el: Use pcase instead of `cl'.
10967 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
10968
10969 2012-06-10 Glenn Morris <rgm@gnu.org>
10970
10971 * mail/rmail.el (rmail-yank-current-message): Leave point at
10972 correct position. (Bug#11660)
10973
10974 2012-06-10 Chong Yidong <cyd@gnu.org>
10975
10976 * allout-widgets.el: Fix code header.
10977
10978 2012-06-10 Chong Yidong <cyd@gnu.org>
10979
10980 * cus-edit.el (customize-changed-options-previous-release):
10981 Bump to 24.1.
10982
10983 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
10984
10985 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
10986
10987 2012-06-09 Chong Yidong <cyd@gnu.org>
10988
10989 * ebuff-menu.el (electric-buffer-list): Preserve header line.
10990
10991 2012-06-09 Martin Rudalics <rudalics@gmx.at>
10992
10993 * window.el (special-display-popup-frame): Don't use
10994 window--display-buffer (Bug#11651).
10995
10996 2012-06-09 Eli Zaretskii <eliz@gnu.org>
10997
10998 Fix parallel builds: make sure loaddefs.el is not being written
10999 while Lisp files are compiled.
11000 (compile): Don't depend on 'mh-autoloads'.
11001 (compile-CMD, compile-SH): Depend on 'autoloads'.
11002 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11003
11004 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11005
11006 2012-06-09 Chong Yidong <cyd@gnu.org>
11007
11008 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11009 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11010 Doc fixes (Bug#11225).
11011
11012 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11015 a function if there's a clear indication that it has a compiler-macro.
11016 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11017 (macro-declarations-alist): Add arglist to declaration functions.
11018 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11019 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11020 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11021 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11022 Also add autoload to find the compiler macro.
11023 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11024 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11025 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11026 (cl--compiler-macro-get): New functions, replacing calls to
11027 cl-define-compiler-macro.
11028 (cl-typep) [compiler-macro]: Use macroexp-let².
11029
11030 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11031
11032 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11033 string properly, fixes Bug#11473.
11034
11035 2012-06-08 Chong Yidong <cyd@gnu.org>
11036
11037 * faces.el (set-face-attribute): Doc fix.
11038 (modify-face): Don't use :bold and :italic.
11039 (error, warning, success): Tweak definitions.
11040
11041 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11042 (custom-modified, custom-set, custom-changed, custom-themed)
11043 (custom-saved, custom-button, custom-button-mouse)
11044 (custom-button-pressed, custom-state, custom-comment-tag)
11045 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11046 (custom-group-subtitle): Use new-style face specs.
11047 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11048 (custom-set-face, custom-changed-face, custom-saved-face)
11049 (custom-button-face, custom-button-pressed-face)
11050 (custom-documentation-face, custom-state-face)
11051 (custom-comment-face, custom-comment-tag-face)
11052 (custom-variable-tag-face, custom-variable-button-face)
11053 (custom-face-tag-face, custom-group-tag-face-1)
11054 (custom-group-tag-face): Remove obsolete face alias.
11055
11056 * epa.el (epa-validity-high, epa-validity-medium)
11057 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11058 (epa-field-name, epa-field-body):
11059 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11060 (font-lock-keyword-face, font-lock-builtin-face)
11061 (font-lock-function-name-face, font-lock-variable-name-face)
11062 (font-lock-type-face, font-lock-constant-face):
11063 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11064 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11065 * speedbar.el (speedbar-button-face, speedbar-file-face)
11066 (speedbar-directory-face, speedbar-tag-face)
11067 (speedbar-selected-face, speedbar-highlight-face)
11068 (speedbar-separator-face):
11069 * whitespace.el (whitespace-newline, whitespace-space)
11070 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11071 (whitespace-line, whitespace-space-before-tab)
11072 (whitespace-space-after-tab, whitespace-indentation)
11073 (whitespace-empty):
11074 * emulation/cua-base.el (cua-global-mark):
11075 * eshell/em-prompt.el (eshell-prompt):
11076 * net/newst-plainview.el (newsticker-new-item-face)
11077 (newsticker-old-item-face, newsticker-immortal-item-face)
11078 (newsticker-obsolete-item-face, newsticker-date-face)
11079 (newsticker-statistics-face, newsticker-default-face):
11080 * net/newst-reader.el (newsticker-feed-face)
11081 (newsticker-extra-face, newsticker-enclosure-face):
11082 * net/newst-treeview.el (newsticker-treeview-face)
11083 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11084 (newsticker-treeview-immortal-face)
11085 (newsticker-treeview-obsolete-face)
11086 (newsticker-treeview-selection-face):
11087 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11088 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11089 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11090 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11091 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11092 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11093 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11094 (mpuz-text):
11095 * progmodes/vera-mode.el (vera-font-lock-number)
11096 (vera-font-lock-function, vera-font-lock-interface):
11097 * textmodes/table.el (table-cell): Use new-style face specs, and
11098 don't use the old :bold and :italic attributes.
11099
11100 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11101 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11102 (ebrowse-member-class, ebrowse-progress): Likewise.
11103 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11104 (ebrowse-file-name-face, ebrowse-default-face)
11105 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11106 (ebrowse-progress-face): Remove obsolete faces.
11107
11108 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11109 Inherit from error and warning faces respectively.
11110
11111 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11112 Likewise.
11113 (flyspell-incorrect-face, flyspell-duplicate-face):
11114 Remove obsolete aliases.
11115
11116 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11117
11118 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11119 Avoid infloop.
11120
11121 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11122
11123 * startup.el (argv, argi): Make lexically scoped.
11124 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11125 * emacs-lisp/cl-macs.el: Use lexical-binding.
11126 Rename cl-bind-* to cl--bind-*.
11127 * files.el: Don't require `cl' since it doesn't use it.
11128 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11129
11130 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11131
11132 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11133 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11134 instead of calling external sort utility.
11135 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11136
11137 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11138
11139 * descr-text.el (describe-char): Mention how to insert the
11140 character, if the current input method doesn't support it.
11141 See the discussion in this thread for the details:
11142 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11143
11144 2012-06-08 Sam Steingold <sds@gnu.org>
11145
11146 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11147 XF86Back to previous-buffer.
11148 (minibuffer-local-map): Bind them to next-history-element and
11149 previous-history-element respectively.
11150 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11151 help-go-back respectively.
11152 * info.el (Info-mode-map): Bind them to Info-history-forward and
11153 Info-history-back respectively.
11154 These are the keys next to Up on the ThinkPad keyboard.
11155
11156 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11157
11158 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11159 * emacs-lisp/cl-macs.el: Provide itself.
11160 (cl--labels-convert-cache): New var.
11161 (cl--labels-convert): New function.
11162 (cl-flet, cl-labels): New implementation with new semantics, relying on
11163 lexical-binding.
11164 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11165 (cl-closure-vars, cl--function-convert-cache)
11166 (cl--function-convert): Move from cl-macs.el.
11167 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11168 rename by removing the "cl-" prefix.
11169 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11170
11171 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11172
11173 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11174 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11175 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11176 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11177 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11178 (cl-hash-table-count): Add old compatibility aliases.
11179
11180 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11181 Use macroexpand-all-environment instead.
11182 (cl--old-macroexpand): New var.
11183 (cl--sm-macroexpand): New function.
11184 (cl-symbol-macrolet): Use it during macro expansion.
11185 (cl--function-convert-cache): New var.
11186 (cl--function-convert): New function, extracted from
11187 cl-macroexpand-all.
11188 (cl-lexical-let): Use it.
11189
11190 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11191 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11192 (cl-member): Remove old alias.
11193
11194 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11195 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11196 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11197 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11198 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11199 (cl-macroexpand-cmacs): Remove var.
11200 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11201 Use macroexpand-all instead.
11202
11203 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11206 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11207 (macroexp-copyable-p): New functions and macros.
11208 * emacs-lisp/edebug.el (edebug-unwrap):
11209 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11210 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11211 (pcase--let*): Remove.
11212 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11213 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11214 macroexp-const-p instead.
11215 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11216
11217 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11218 instead of "cl-" for internal definitions. Use macroexp-const-p.
11219 (cl-old-bc-file-form): Remove var.
11220 (cl-const-exprs-p): Remove fun.
11221 (cl-labels, cl-macrolet): Use backquote.
11222 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11223 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11224 (cl-define-setf-expander): Rename from cl-define-setf-method.
11225 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11226
11227 * international/mule-cmds.el: Don't require CL.
11228 (view-hello-file): Don't use `letf'.
11229
11230 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11231
11232 * tmm.el (tmm-prompt): Use string-prefix-p.
11233 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11234 (tmm-add-prompt): Use minibuffer-completion-help.
11235 (tmm-delete-map): Remove.
11236
11237 * subr.el (kbd): Make it its own function.
11238
11239 2012-06-07 Stefan Merten <smerten@oekonux.de>
11240
11241 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11242 Silence compiler warnings. Fix versions.
11243 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11244 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11245 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11246 (rst-package-emacs-version-alist): Correct Emacs version to
11247 represent major merge with upstream.
11248 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11249
11250 2012-06-06 Glenn Morris <rgm@gnu.org>
11251
11252 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11253 Only print environment variables if set.
11254
11255 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11258 (macroexp--cons): Rename from maybe-cons.
11259 (macroexp--accumulate): Rename from macroexp-accumulate.
11260 (macroexp--all-forms): Rename from macroexpand-all-forms.
11261 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11262 (macroexp--expand-all): Rename from macroexpand-all-1.
11263
11264 2012-06-06 Sam Steingold <sds@gnu.org>
11265
11266 * calendar/calendar.el (calendar-in-read-only-buffer):
11267 Call `special-mode' to enable the standard read-only keybindings.
11268
11269 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11270
11271 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11272 with "loading" messages (bug#11635).
11273
11274 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11275
11276 * files.el (enable-remote-dir-locals): New option.
11277 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11278
11279 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11280 Ensure, that the temp directory is local.
11281
11282 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11283 `temporary-file-directory'.
11284
11285 * progmodes/python.el (python-send-region): Ensure, that the
11286 temporary file is created also in the remote case.
11287
11288 2012-06-06 Glenn Morris <rgm@gnu.org>
11289
11290 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11291 (vc-rcs-update-changelog): Use it.
11292
11293 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11294
11295 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11296 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11297 (vc-sccs-diff): Replace use of the external vcdiff script.
11298
11299 2012-06-05 Glenn Morris <rgm@gnu.org>
11300
11301 * ledit.el: Move to obsolete/.
11302
11303 2012-06-05 Sam Steingold <sds@gnu.org>
11304
11305 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11306 patch (Bug#11140).
11307
11308 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * emacs-lisp/cust-print.el: Move to obsolete.
11311
11312 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11313 compiler-macro expansion.
11314
11315 Add native compiler-macro support.
11316 * emacs-lisp/macroexp.el (macroexpand-all-1):
11317 Support compiler-macros directly. Properly follow aliases and apply
11318 the compiler macros more thoroughly.
11319 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11320 macroexpand now properly follows aliases.
11321 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11322 (cl-compiler-macroexpand): Use new prop.
11323 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11324
11325 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11326
11327 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11328
11329 * window.el (get-lru-window, get-mru-window, get-largest-window):
11330 New argument NOT-SELECTED to avoid picking the selected window.
11331 (window--display-buffer-1, window--display-buffer-2): Replace by
11332 new function window--display-buffer
11333 (display-buffer-same-window, display-buffer-reuse-window)
11334 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11335 Use window--display-buffer.
11336 (display-buffer-use-some-window): Remove temporary dedication
11337 hack by calling get-lru-window and get-largest-window with
11338 NOT-SELECTED argument non-nil. Call window--display-buffer.
11339
11340 2012-06-05 Glenn Morris <rgm@gnu.org>
11341
11342 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11343 Replace external vcdiff script.
11344
11345 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11346
11347 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11348
11349 2012-06-04 Chong Yidong <cyd@gnu.org>
11350
11351 * image.el (imagemagick-types-inhibit): Revert last change.
11352 Add INFO and M.
11353 (imagemagick-enabled-types): Remove CIN and EPS*.
11354
11355 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11356
11357 * emacs-lisp/cl-lib.el: Rename from cl.el.
11358 * emacs-lisp/cl.el: New compatibility file.
11359 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11360 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11361 to obey the "cl-" prefix.
11362 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11363
11364 2012-06-03 Glenn Morris <rgm@gnu.org>
11365
11366 * emacs-lisp/authors.el (authors-aliases): Addition.
11367
11368 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11369 Fix :version.
11370
11371 2012-06-03 Stefan Merten <smerten@oekonux.de>
11372
11373 * textmodes/rst.el: Add comments.
11374 (rst-transition, rst-adornment): New faces.
11375 (rst-adornment-faces-alist): Make default safe to reevaluate.
11376 Fixes
11377 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11378 Improve customization tags.
11379 (rst-define-level-faces): Clarify meaning.
11380
11381 2012-06-03 Chong Yidong <cyd@gnu.org>
11382
11383 * progmodes/compile.el (compilation-mode-line-fail)
11384 (compilation-mode-line-run, compilation-mode-line-exit):
11385 New faces.
11386 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11387
11388 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11389
11390 * progmodes/which-func.el (which-func-update-ediff-windows):
11391 New function. Use it in ediff-select-hook (Bug#11478).
11392
11393 2012-06-03 Chong Yidong <cyd@gnu.org>
11394
11395 * bindings.el: Remove explicit help text from format-mode-line.
11396 It is now supplied by mode-line-default-help-echo.
11397 (mode-line-front-space, mode-line-end-spaces)
11398 (mode-line-misc-info): New variables.
11399 (mode-line-modes, mode-line-position): Move the default value to
11400 the variable definition.
11401 (mode-line-default-help-echo): New defcustom.
11402 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11403 (mode-line-modified-help-echo): New functions.
11404 (mode-line-mule-info, mode-line-modified): Use them.
11405 (mode-line-eol-desc, propertized-buffer-identification):
11406 Consistency fixes for help text.
11407 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11408 set-buffer-file-coding-system (Bug#289).
11409 (mode-line-mule-info-help-echo): Update help text.
11410
11411 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11412
11413 * simple.el (execute-extended-command): Set real-this-command
11414 (bug#11506).
11415
11416 2012-06-02 Chong Yidong <cyd@gnu.org>
11417
11418 Remove incorrect uses of "modeline" in comments, docstrings, and
11419 function/variable names (Bug#10329).
11420
11421 * cus-edit.el (mode-line):
11422 * dframe.el (dframe-mouse-hscroll):
11423 * emacs-lisp/re-builder.el:
11424 * emacs-lisp/easy-mmode.el (define-minor-mode):
11425 * frame.el (set-frame-name):
11426 * help.el (lookup-minor-mode-from-indicator):
11427 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11428 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11429 (c-toggle-hungry-state):
11430 * progmodes/antlr-mode.el (antlr-language-alist):
11431 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11432 * progmodes/vhdl-mode.el (vhdl-mode):
11433 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11434 * term/ns-win.el (ns-face-at-pos):
11435 * term/sup-mouse.el (sup-mouse-report):
11436 * textmodes/flyspell.el (flyspell-mode-line-string):
11437 * textmodes/ispell.el (ispell-highlight-face):
11438 * textmodes/reftex-global.el:
11439 * vc/vc-arch.el (vc-arch-mode-line-string):
11440 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11441 * vc/vc-git.el (vc-git-mode-line-string):
11442 * vc/vc-hooks.el (vc-display-status)
11443 (vc-default-mode-line-string):
11444 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11445
11446 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11447
11448 * dired.el (dired-sort-set-mode-line): Rename from
11449 dired-sort-set-modeline. All callers changed.
11450
11451 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11452 eshell-status-in-modeline.
11453
11454 * foldout.el (foldout-mode-line-string): Rename from
11455 foldout-modeline-string. All callers changed.
11456 (foldout-update-mode-line): Rename from foldout-update-modeline.
11457
11458 * subr.el (redraw-modeline): Make into obsolete alias.
11459
11460 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11461 timeclock-modeline-display. Make old name an alias.
11462 (timeclock-update-mode-line): Likewise. All callers changed.
11463 (timeclock-mode-line-display): No need to check before using
11464 add-hook.
11465 (timeclock-relative, timeclock-day-over-hook)
11466 (timeclock-use-elapsed, timeclock-mode-string)
11467 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11468
11469 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11470 crisp-mode-modeline-string.
11471
11472 * play/solitaire.el (solitaire-build-mode-line): Rename from
11473 solitaire-build-modeline. All callers changed.
11474
11475 * play/zone.el (zone-hiding-mode-line): Rename from
11476 zone-hiding-modeline. All callers changed.
11477 (zone): Remove unusued `modeline-hidden-level' property.
11478
11479 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11480 xscheme-modeline-initialize. All callers changed.
11481
11482 * strokes.el (strokes-lighter): Rename from
11483 strokes-modeline-string.
11484
11485 * textmodes/sgml-mode.el (html-face-tag-alist)
11486 (html-tag-face-alist): Use mode-line face instead of obsolete
11487 alias modeline.
11488
11489 2012-06-02 Stefan Merten <smerten@oekonux.de>
11490
11491 * textmodes/rst.el: Always require `cl'.
11492 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11493
11494 2012-06-02 Chong Yidong <cyd@gnu.org>
11495
11496 * image.el (imagemagick-enabled-types): Rename from
11497 imagemagick-types-enable. Add many more types.
11498 (imagemagick-types-inhibit): Change default to nil.
11499 (imagemagick-filter-types): Caller changed.
11500
11501 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11502
11503 * emacs-lisp/cl-macs.el: Use backquotes.
11504 (cl-transform-function-property): Use eval-and-compile rather than
11505 abusing `require'.
11506 (defstruct): Use declare-function instead of with-no-warnings.
11507
11508 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11509 (byte-compile-output-docform): Re-add the print-circle bindings.
11510 (byte-compile-fix-header): Use #$ just because it's shorter.
11511 (byte-compile-output-file-form): Remove defun/defmacro.
11512
11513 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11514
11515 * simple.el (choose-completion): Remove now obsolete binding for
11516 owindow.
11517
11518 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11519
11520 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11521 in order to avoid "Stack overflow in regexp matcher".
11522
11523 2012-05-31 Glenn Morris <rgm@gnu.org>
11524
11525 * image.el: For clarity, call imagemagick-register-types at
11526 top-level, rather than relying on a custom :initialize.
11527 (imagemagick-types-enable): New option. (Bug#11557)
11528 (imagemagick-filter-types): New function. (Bug#7406)
11529 (imagemagick-register-types): Use imagemagick-filter-types.
11530 If disabling support, remove elements altogether rather
11531 than using an impossible regexp.
11532 (imagemagick-types-inhibit): Give it the default init function.
11533
11534 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11537 Handle arbitrary file name lengths (Bug#11585).
11538
11539 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11540
11541 * desktop.el (desktop-read): Clear previous and next buffers for
11542 all windows and bury *Messages* buffer (bug#11556).
11543
11544 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11545
11546 Add `declare' for `defun'. Align `defmacro's with it.
11547 * emacs-lisp/easy-mmode.el (define-minor-mode)
11548 (define-globalized-minor-mode): Don't autoload the var definitions.
11549 * emacs-lisp/byte-run.el: Use lexical-binding.
11550 (defun-declarations-alist, macro-declarations-alist): New vars.
11551 (defmacro, defun): Use them.
11552 (make-obsolete, define-obsolete-function-alias)
11553 (make-obsolete-variable, define-obsolete-variable-alias):
11554 Use `declare'.
11555 (macro-declaration-function): Mark obsolete.
11556 * emacs-lisp/autoload.el: Use lexical-binding.
11557 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11558
11559 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11560
11561 * textmodes/ispell.el (ispell-with-no-warnings):
11562 Define as a macro.
11563 (ispell-kill-ispell, ispell-change-dictionary):
11564 Use `called-interactively-p' for Emacs instead of obsolete
11565 `interactive-p'.
11566
11567 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11570 (macro-declaration-function): Move var from C code.
11571 (macro-declaration-function): Define function with defalias.
11572 * emacs-lisp/macroexp.el (macroexpand-all-1):
11573 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11574 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11575 defun/defmacro any more.
11576 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11577 Provide fallback for unknown arglist.
11578 (byte-compile-arglist-warn): Change calling convention.
11579 (byte-compile-output-file-form): Move print-vars binding.
11580 (byte-compile-output-docform): Simplify accordingly.
11581 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11582 (byte-compile-defmacro-declaration): Remove.
11583 (byte-compile-file-form-defmumble): Generalize to defalias.
11584 (byte-compile-output-as-comment): Return byte-positions.
11585 Simplify callers accordingly.
11586 (byte-compile-lambda): Use `assert'.
11587 (byte-compile-defun, byte-compile-defmacro): Remove.
11588 (byte-compile-file-form-defalias):
11589 Use byte-compile-file-form-defmumble.
11590 (byte-compile-defalias-warn): Remove.
11591
11592 2012-05-29 Stefan Merten <smerten@oekonux.de>
11593
11594 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11595 possible. Fix authors. Improve comments. Improve loading of `cl'.
11596
11597 (rst-mode-abbrev-table): Merge definition.
11598 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11599 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11600
11601 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11602
11603 * calendar/icalendar.el
11604 (icalendar-export-region): Export UID properly.
11605
11606 2012-05-29 Leo Liu <sdl.web@gmail.com>
11607 * calendar/icalendar.el (icalendar-import-format):
11608 Add `icalendar-import-format-uid' (Bug#11525).
11609 (icalendar-import-format-uid): New.
11610 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11611 Export UID.
11612
11613 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11616 different alternative patterns.
11617 (pcase-codegen): Be more careful to preserve identity.
11618 (pcase--u1): Don't forget to mark vars as used.
11619
11620 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11621 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11622 (byte-compile-from-buffer): ...rather than here.
11623
11624 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11625 functions from byte-compile-function-environment.
11626
11627 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11628
11629 * window.el (window-deletable-p): Avoid deleting the root window
11630 of a frame with an active minibuffer.
11631
11632 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11633
11634 * simple.el (choose-completion): Use quit-window (Bug#11567).
11635
11636 2012-05-29 Chong Yidong <cyd@gnu.org>
11637
11638 * whitespace.el (whitespace-cleanup): Fix usage of
11639 whitespace-empty-at-bob-regexp (Bug#11492).
11640
11641 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11642
11643 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11644 revert (Bug#11488).
11645
11646 2012-05-29 Juri Linkov <juri@jurta.org>
11647
11648 * isearch.el (isearch-mode-map): Bind `M-s _' to
11649 `isearch-toggle-symbol'. Bind `M-s c' to
11650 `isearch-toggle-case-fold'.
11651 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11652 (isearch-forward): Add `M-s _' to the docstring.
11653 (isearch-forward-symbol, isearch-toggle-case-fold)
11654 (isearch-symbol-regexp): New functions. (Bug#11381)
11655
11656 2012-05-29 Juri Linkov <juri@jurta.org>
11657
11658 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11659 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11660 a function, call it to get the regexp.
11661 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11662 property `isearch-message-prefix' instead of the string "word ".
11663 (isearch-search-fun-default): For the case of `isearch-word',
11664 return a lambda that calls re-search-forward/re-search-backward
11665 with a regexp returned by `word-search-regexp' or by the function
11666 in `isearch-word'.
11667
11668 2012-05-29 Juri Linkov <juri@jurta.org>
11669
11670 * isearch.el (isearch-search-fun-default): New function.
11671 (isearch-search-fun): Move default part to the new function
11672 `isearch-search-fun-default'.
11673 (isearch-search-fun-function): Set the default value to
11674 `isearch-search-fun-default'. (Bug#11381)
11675
11676 * comint.el (comint-history-isearch-end):
11677 Use `isearch-search-fun-default'.
11678 (comint-history-isearch-search): Use `isearch-search-fun-default'
11679 and remove spacial case for `isearch-word'.
11680 (comint-history-isearch-wrap): Remove spacial case for
11681 `isearch-word'.
11682
11683 * hexl.el (hexl-isearch-search-function):
11684 Use `isearch-search-fun-default'.
11685
11686 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11687 Use `word-search-regexp' for `isearch-word'.
11688
11689 * misearch.el (multi-isearch-search-fun):
11690 Use `isearch-search-fun-default'.
11691
11692 * simple.el (minibuffer-history-isearch-search):
11693 Use `isearch-search-fun-default' and remove spacial case for
11694 `isearch-word'.
11695 (minibuffer-history-isearch-wrap): Remove spacial case for
11696 `isearch-word'.
11697
11698 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11699 Remove spacial case for `isearch-word'.
11700 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11701
11702 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11703
11704 Decrease XEmacs incompatibilities.
11705 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11706 Use `string-match'.
11707 (flyspell-delete-region-overlays): Use alternative definition for
11708 XEmacs.
11709 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11710 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11711 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11712 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11713 `define-obsolete-face-alias' under XEmacs, but old method.
11714
11715 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11716 `with-no-warnings' definition or Emacs alias.
11717 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11718 (ispell-word): Do not use `region-p' if XEmacs.
11719
11720 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11721
11722 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11723 Check for `ispell-dictionary-base-alist' instead of full
11724 `ispell-dictionary-alist'.
11725 (ispell-init-process): Show spellchecker when starting new Ispell
11726 process.
11727
11728 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11729
11730 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11731 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11732
11733 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11734
11735 * version.el (motif-version-string, gtk-version-string)
11736 (ns-version-string): Declare.
11737
11738 2012-05-27 Juri Linkov <juri@jurta.org>
11739
11740 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11741 after the `eval-defun-1' specialcaseing
11742 like in `edebug-eval-defun' (bug#10181).
11743
11744 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11745 like in `eval-defun-1'.
11746
11747 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11748
11749 * mail/sendmail.el (mail-yank-region):
11750 Recognize rmail-yank-current-message in addition to insert-buffer.
11751 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11752 a *mail* buffer created through rmail-start-mail with sendmail as
11753 mail-user-agent.
11754
11755 2012-05-27 Chong Yidong <cyd@gnu.org>
11756
11757 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11758 Default to 256 (Bug#11267).
11759
11760 * help.el (describe-mode): Doc fix.
11761
11762 2012-05-26 Glenn Morris <rgm@gnu.org>
11763
11764 * w32-fns.el (w32-init-info): Remove.
11765 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11766
11767 * info.el (info-initialize): For self-contained NS builds, put the
11768 included info/ directory at the front. (Bug#2791)
11769
11770 * paths.el (Info-default-directory-list): Make it a defcustom,
11771 mainly so that we can use custom-initialize-delay.
11772
11773 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * subr.el (buffer-has-markers-at): Mark obsolete.
11776
11777 * subr.el (lambda): Use declare.
11778
11779 * emacs-lisp/lisp-mode.el (lambda):
11780 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11781
11782 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11783
11784 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11785
11786 2012-05-26 Glenn Morris <rgm@gnu.org>
11787
11788 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11789
11790 2012-05-25 Glenn Morris <rgm@gnu.org>
11791
11792 * paths.el: Remove no-byte-compile.
11793 * loadup.el: No need to load paths.el uncompiled.
11794
11795 * image.el (imagemagick-types-inhibit): Doc fix.
11796
11797 * version.el: Remove no-byte-compile and associated formatting.
11798 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11799 is ancient code from when there was an "inc-vers.el".
11800
11801 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 * progmodes/gdb-mi.el: Minor style changes.
11804 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11805 Turn into minor modes.
11806 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11807 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11808 (gdb-shell): Remove unneeded let-binding.
11809 (gdb-get-many-fields): Eliminate O(n²) behavior.
11810
11811 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11812
11813 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11814 platforms that don't link in fontset.c.
11815
11816 2012-05-25 Juri Linkov <juri@jurta.org>
11817
11818 Use the same diff color scheme as in modern VCSes (bug#10181).
11819
11820 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11821 to avoid confusion with `diff-added' that now uses green colors.
11822 (diff-removed): Use shades of red.
11823 (diff-added): Use shades of green.
11824 (diff-changed): Leave just the yellow color.
11825 (diff-use-changed-face): New variable.
11826 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11827 how to highlight context diff changes.
11828 (diff-refine-change): Use shades of yellow.
11829 (diff-refine-removed): New face that uses shades of red.
11830 (diff-refine-added): New face that uses shades of green.
11831 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11832 `diff-refine-removed' in the call to `smerge-refine-subst'
11833 depending on the value of `diff-use-changed-face'.
11834
11835 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11836 (smerge-other): Use shades of green.
11837 (smerge-base): Use shades of yellow.
11838 (smerge-refined-change): Empty face.
11839 (smerge-refined-removed): New face that uses shades of red.
11840 (smerge-refined-added): New face that uses shades of green.
11841 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11842 args `props-r' and `props-a', and use them. Doc fix.
11843 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11844 on its value use different faces `smerge-refined-change',
11845 `smerge-refined-removed', `smerge-refined-added' in the call to
11846 `smerge-refine-subst'.
11847
11848 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11849 Add face condition `min-colors 88' with shades of red.
11850 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11851 `min-colors 88' with shades of green.
11852 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11853 `min-colors 88' with shades of yellow.
11854
11855 2012-05-24 Glenn Morris <rgm@gnu.org>
11856
11857 * paths.el (prune-directory-list, remote-shell-program): Move to...
11858 * files.el (prune-directory-list, remote-shell-program): ...here.
11859 For the latter, delay initialization, prefer ssh, just search PATH.
11860
11861 * paths.el (term-file-prefix): Move to faces.el (the only user).
11862 * faces.el (term-file-prefix): Move here, make it a defcustom.
11863
11864 * paths.el (news-directory, news-path, news-inews-program):
11865 Move to gnus/nnspool.el.
11866
11867 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11868
11869 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11870 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11871 Make the latter a defcustom, with a delayed initialization.
11872
11873 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11874 These were deleted from Gnus itself late 2010.
11875
11876 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11877
11878 * progmodes/which-func.el (which-func-ff-hook):
11879 Check against user-error, not error.
11880
11881 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11882 cl-specs.el, which no longer exists.
11883
11884 2012-05-22 Glenn Morris <rgm@gnu.org>
11885
11886 * info.el (info-emacs-bug): New command.
11887 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11888 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11889
11890 2012-05-21 Glenn Morris <rgm@gnu.org>
11891
11892 * makefile.w32-in (update-subdirs-SH):
11893 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11894
11895 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11896
11897 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11898
11899 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11900 Simplify Maven regexp, and make sure the file can't start with a space
11901 (bug#11517).
11902
11903 2012-05-21 Glenn Morris <rgm@gnu.org>
11904
11905 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11906 Scrap superfluous subshells.
11907
11908 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11911 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11912
11913 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11914
11915 * calc/calc.el (calc-ensure-consistent-units): New variable.
11916
11917 * calc/calc-units.el (math-consistent-units-p)
11918 (math-check-unit-consistency): New functions.
11919 (calc-quick-units, calc-convert-units):
11920 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11921 is non-nil.
11922 (calc-extract-units): Fix typo.
11923
11924 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11925
11926 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11927
11928 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11929 (flyspell-default-deplacement-commands): Don't spell check after
11930 repeated window/frame switches (e.g. triggered by mouse-movement).
11931 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11932 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11933 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11934 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11935 Remove unused vars.
11936 (flyspell-get-casechars, flyspell-get-not-casechars):
11937 Simplify; Don't bother removing a ] just to add it back.
11938 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11939
11940 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11941
11942 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11943 New functions.
11944 (math-function-table): Add support for more C functions.
11945
11946 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11947
11948 * textmodes/flyspell.el (flyspell-check-pre-word-p)
11949 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
11950 Protect delay handling for otherchars against empty otherchars.
11951
11952 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
11955 their respective macro declarations.
11956 * skeleton.el (define-skeleton):
11957 * progmodes/compile.el (define-compilation-mode):
11958 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
11959 (define-ibuffer-filter):
11960 * emacs-lisp/generic.el (define-generic-mode):
11961 * emacs-lisp/easy-mmode.el (define-minor-mode)
11962 (define-globalized-minor-mode):
11963 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
11964 * emacs-lisp/byte-run.el (defsubst):
11965 * custom.el (deftheme): Add doc-string metadata.
11966
11967 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11968
11969 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
11970
11971 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11972
11973 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
11974
11975 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
11976 * emacs-lisp/cl-macs.el: Idem.
11977 * emacs-lisp/cl-specs.el: Remove.
11978
11979 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11980
11981 Minor renaming of internal CL functions and variables.
11982 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
11983 (cl--position): Rename from cl-position.
11984 (cl--delete-duplicates): Rename from cl-delete-duplicates.
11985 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
11986 (cl--random-state): Rename from *random-state*.
11987
11988 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11989
11990 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
11991 parens around the arg list (bug#11499).
11992
11993 2012-05-17 Juri Linkov <juri@jurta.org>
11994
11995 * isearch.el (word-search-regexp, word-search-backward)
11996 (word-search-forward, word-search-backward-lax)
11997 (word-search-forward-lax): Move functions from search.c
11998 (bug#10145, bug#11381).
11999
12000 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12001
12002 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12003 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12004 Delay for otherchars as for normal word components.
12005
12006 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * minibuffer.el (completion--sifn-requote): Fix last change.
12009 (minibuffer-local-must-match-filename-map):
12010 Move define-obsolete-variable-alias before its var.
12011
12012 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12013
12014 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12015
12016 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12017 behavior.
12018 (completion--string-equal-p): New function.
12019 (completion--twq-all): Use it to get better assertion failure data.
12020
12021 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12022 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12023 (shell--requote-argument): New functions.
12024 (shell-completion-vars): Use them.
12025 (shell--parse-pcomplete-arguments): Rename from
12026 shell-parse-pcomplete-arguments.
12027 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12028 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12029 Obey comint-file-name-quote-list.
12030
12031 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12032 (smie-indent-keyword): Use it.
12033
12034 2012-05-14 Stefan Merten <smerten@oekonux.de>
12035
12036 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12037
12038 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12039
12040 * net/rlogin.el (rlogin-mode-map): Fix last change.
12041
12042 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12043
12044 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12045 the following \r\n using a single `process-send-string', since the
12046 Lotus SMTP server refuses to accept any commands if they are sent
12047 with two `process-send-string's (Bug#11444).
12048
12049 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * shell.el (shell-parse-pcomplete-arguments):
12052 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12053
12054 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12055
12056 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12057 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12058 (image-transform-width, image-transform-fit-width): New functions.
12059 (image-transform-properties): Use them.
12060 (image-transform-check-size): New function.
12061 (image-toggle-display-image): Use it (for testing).
12062 (image-transform-set-rotation): Reduce angle mod 360.
12063 Delete obsolete comment.
12064
12065 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12066
12067 * image-mode.el: Fix scaling (bug#11399).
12068 (image-transform-resize): Doc fix.
12069 (image-transform-properties): Default scale is 1 and height should
12070 be an integer.
12071
12072 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12073
12074 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12075 than hard-coding `car', to fix misbehavior when moving forward.
12076
12077 2012-05-13 Chong Yidong <cyd@gnu.org>
12078
12079 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12080 (tabulated-list-entries, tabulated-list-padding)
12081 (tabulated-list-sort-key): Make permanent-local.
12082
12083 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12084 (electric-buffer-list): Put electric buffer menu
12085 command descriptions in this docstring, instead of the docstring
12086 of electric-buffer-menu-mode. Code cleanups.
12087 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12088 Electric-buffer-menu-mode.
12089 (electric-buffer-update-highlight): Minor code cleanup.
12090
12091 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12092
12093 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12094 (Bug#11447)
12095
12096 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12097
12098 Move define-obsolete-variable-alias before the var's definition.
12099 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12100 * tooltip.el (tooltip-hook):
12101 * textmodes/reftex-toc.el (reftex-toc-map):
12102 * textmodes/reftex-sel.el (reftex-select-label-map)
12103 (reftex-select-bib-map):
12104 * textmodes/reftex-index.el (reftex-index-map)
12105 (reftex-index-phrases-map):
12106 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12107 * progmodes/meta-mode.el (meta-mode-map):
12108 * novice.el (disabled-command-hook):
12109 * loadhist.el (unload-hook-features-list):
12110 * frame.el (blink-cursor):
12111 * files.el (find-file-not-found-hooks, write-file-hooks)
12112 (write-contents-hooks):
12113 * emulation/tpu-edt.el (GOLD-map):
12114 * emacs-lock.el (emacs-lock-from-exiting):
12115 * emacs-lisp/generic.el (generic-font-lock-defaults):
12116 * emacs-lisp/chart.el (chart-map):
12117 * dos-fns.el (register-name-alist):
12118 * dired-x.el (dired-omit-files-p):
12119 * desktop.el (desktop-enable):
12120 * cus-edit.el (custom-mode-hook):
12121 * buff-menu.el (buffer-menu-mode-hook):
12122 * bookmark.el (bookmark-read-annotation-text-func)
12123 (bookmark-exit-hooks):
12124 * allout.el (allout-mode-deactivate-hook)
12125 (allout-exposure-change-hook, allout-structure-added-hook)
12126 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12127 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12128 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12129 comes before the corresponding variable's definition.
12130
12131 2012-05-12 Chong Yidong <cyd@gnu.org>
12132
12133 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12134 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12135 (Buffer-menu-mode-map): Bind it.
12136 (Buffer-menu--pretty-name): Add a mouse-face property.
12137
12138 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12139
12140 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12141 (prolog-upper-case-string, prolog-lower-case-string)
12142 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12143 (prolog-use-smie, prolog-smie-grammar): New vars.
12144 (prolog-smie-forward-token, prolog-smie-backward-token)
12145 (prolog-smie-rules): New funs.
12146 (prolog-comment-indent): Remove.
12147 (prolog-mode-variables): Use default comment indentation instead.
12148 Setup SMIE.
12149 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12150 (prolog-mode): Don't call them any more.
12151 (prolog-electric-colon, prolog-electric-dash)
12152 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12153
12154 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12155
12156 * minibuffer.el (completion--twq-all): Again, allow case differences.
12157
12158 * term.el: Move keymap initialization code to be more idiomatic.
12159 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12160 (term-terminal-menu): Move initialization into declaration.
12161 (term-escape-char): Let the user set it in her .emacs.
12162
12163 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12164 Provide SMIE-based indentation (not enabled by default yet).
12165 (sh-mode-map): Don't bind electric keys.
12166 Use electric-pair-mode instead of skeleton-pair.
12167 (sh-assignment-regexp): Fit within 80 columns.
12168 (sh-indent-supported): Specify actual shell name instead of boolean.
12169 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12170 (sh-maybe-here-document): Use it. Make obsolete.
12171 (sh-electric-here-document-mode) New minor mode.
12172 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12173 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12174 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12175 (sh-smie-rc-grammar, sh-use-smie): New vars.
12176 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12177 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12178 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12179 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12180 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12181 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12182 (sh-set-shell): Use smie-setup if requested.
12183
12184 * term.el (term-set-escape-char): Properly set term-escape-char.
12185 See http://stackoverflow.com/questions/10524656.
12186
12187 2012-05-10 Chong Yidong <cyd@gnu.org>
12188
12189 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12190 Use url-generic-parse-url, and handle host names and Windows
12191 filenames properly.
12192 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12193 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12194 URL schemes to work on.
12195 (ffap--toggle-read-only): New function.
12196 (ffap-read-only, ffap-read-only-other-window)
12197 (ffap-read-only-other-frame): Use it.
12198 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12199 necessary for ffap-url-unwrap-remote.
12200
12201 2012-05-10 Dave Abrahams <dave@boostpro.com>
12202
12203 * cus-start.el (create-lockfiles): Add it.
12204
12205 2012-05-09 Chong Yidong <cyd@gnu.org>
12206
12207 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12208 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12209
12210 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12213
12214 2012-05-09 Chong Yidong <cyd@gnu.org>
12215
12216 * ansi-color.el (ansi-color-process-output): Check for validity of
12217 comint-last-output-start before using it. This avoids a bad
12218 interaction with gdb-mi's input/output buffer.
12219
12220 2012-05-09 Glenn Morris <rgm@gnu.org>
12221
12222 * files.el (dir-locals-read-from-file):
12223 Mention dir-locals in any error message.
12224
12225 2012-05-09 Chong Yidong <cyd@gnu.org>
12226
12227 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12228 package (Bug#11410).
12229
12230 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12231 variables into description.
12232
12233 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12234
12235 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12236 shell-delimiter-argument-list (bug#11348).
12237 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12238
12239 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12240
12241 * textmodes/rst.el: Silence byte-compiler warnings.
12242 (rst-re-alist, rst-reset-section-caches): Move around.
12243 (rst-re): Use `characterp', not `char-valid-p'.
12244 (font-lock-beg, font-lock-end): Declare.
12245
12246 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12247 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12248
12249 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12250
12251 2012-05-08 Glenn Morris <rgm@gnu.org>
12252
12253 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12254
12255 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * vc/log-edit.el: Add GNU coding standards highlighting.
12258 (log-edit-font-lock-gnu-style)
12259 (log-edit-font-lock-gnu-keywords): New vars.
12260 (log-edit-font-lock-keywords): New fun.
12261 (log-edit-mode): Don't fold case in font-lock.
12262 (log-edit-font-lock-keywords): Do not assume case-folding.
12263
12264 * imenu.el: Misc cleanup. Make docstrings out of comments.
12265 Use lexical-binding.
12266 (imenu--index-alist, imenu--last-menubar-index-alist)
12267 (imenu-menubar-modified-tick): Use defvar-local.
12268 (imenu--split-menu): Remove unused var.
12269 (imenu--cleanup-seen): Declare as global.
12270 (imenu--cleanup): Use dolist.
12271
12272 * subr.el (defvar-local): Add debug spec and doc-string position.
12273
12274 2012-05-08 Glenn Morris <rgm@gnu.org>
12275
12276 * language/burmese.el, language/cham.el, language/czech.el:
12277 * language/english.el, language/georgian.el, language/greek.el:
12278 * language/japanese.el, language/khmer.el, language/korean.el:
12279 * language/lao.el, language/misc-lang.el, language/romanian.el:
12280 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12281 * language/thai.el, language/utf-8-lang.el:
12282 Remove no-byte-compile setting.
12283
12284 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12285
12286 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12287
12288 * progmodes/make-mode.el (makefile-browse):
12289 Remove unnecessary interactive. (Bug#11324)
12290
12291 2012-05-07 Glenn Morris <rgm@gnu.org>
12292
12293 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12294
12295 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12296
12297 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * loadup.el: Preload newcomment.el.
12300 * newcomment.el: Move autoload-only code to toplevel.
12301
12302 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12303 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12304 Handle new :right-align column property.
12305 (tabulated-list-print-col): Idem, plus use `display' text-property to
12306 try and preserve alignment for variable pitch fonts.
12307
12308 2012-05-07 Chong Yidong <cyd@gnu.org>
12309
12310 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12311 (tabulated-list-use-header-line): New var.
12312 (tabulated-list-init-header): Use it.
12313 (tabulated-list-print-fake-header): New function.
12314 (tabulated-list-print): Use it.
12315 (tabulated-list-sort-button-map): Add non-header-line commands.
12316 (tabulated-list-init-header): Add column name property to basic
12317 labels as well.
12318 (tabulated-list-col-sort): Handle non-header-line button case.
12319 (tabulated-list--sort-by-column-name): Fix a corner case.
12320
12321 * buff-menu.el (list-buffers--refresh):
12322 Handle Buffer-menu-use-header-line.
12323
12324 2012-05-06 Chong Yidong <cyd@gnu.org>
12325
12326 * buff-menu.el: Convert to Tabulated List mode.
12327 (Buffer-menu-buffer+size-width): Make obsolete.
12328 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12329 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12330 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12331 documentation into docstring of buffer-menu.
12332 (Buffer-menu-toggle-files-only): Add an informative message.
12333 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12334 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12335 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12336 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12337 (Buffer-menu-execute, Buffer-menu-select)
12338 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12339 (Buffer-menu-bury): Use Tabulated List machinery.
12340 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12341 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12342 Delete.
12343 (list-buffers--refresh): New function.
12344 (list-buffers-noselect): Use it.
12345 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12346 (Buffer-menu--pretty-file-name): New helper functions.
12347
12348 * loadup.el: Preload tabulated-list.
12349
12350 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12351 tabulated-list-sort-column.
12352 (tabulated-list-init-header): Add the initial aligning space even
12353 if tabulated-list-padding is zero.
12354
12355 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12356
12357 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12358 whose cdr is not a cons cell correctly (bug#11038).
12359
12360 2012-05-06 Chong Yidong <cyd@gnu.org>
12361
12362 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12363 Accept additional plist in column descriptors.
12364 (tabulated-list-init-header): Obey it.
12365 (tabulated-list-get-entry): New function.
12366 (tabulated-list-put-tag): Use it. Use string-width instead of
12367 length.
12368 (tabulated-list--column-number): New function.
12369 (tabulated-list-print): Use it.
12370 (tabulated-list-print-col): New function.
12371 Set `tabulated-list-column-name' property on each column's text.
12372 (tabulated-list-print-entry): Use it.
12373 (tabulated-list-delete-entry, tabulated-list-set-col):
12374 New functions.
12375 (tabulated-list-sort-column): New command (Bug#11337).
12376
12377 * buff-menu.el (list-buffers): Move C-x C-b binding from
12378 buff-menu.el to bindings.el.
12379
12380 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12381 :advertised-binding feature.
12382
12383 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12384
12385 * progmodes/compile.el (compilation-internal-error-properties):
12386 Calculate start position correctly when end-col is set but
12387 end-line is not (Bug#11382).
12388
12389 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12390
12391 * man.el (Man-unindent): Use text-property-default-nonsticky to
12392 prevent untabify from inheriting face properties (Bug#11408).
12393
12394 2012-05-05 Stefan Merten <smerten@oekonux.de>
12395
12396 * textmodes/rst.el: Major merge with upstream development up to
12397 Docutils SVN r7399 / rst.el V1.2.1.
12398
12399 Clarify maintainership and authors.
12400
12401 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12402 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12403 (rst-official-version, rst-official-cvs-rev, rst-version)
12404 (rst-package-emacs-version-alist): New functions and variables
12405 for version information.
12406
12407 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12408 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12409 (rst-mode-syntax-table, rst-mode): New and corrected functions
12410 and variables representing reStructuredText features.
12411
12412 (rst-re): New function for reStructuredText regexes. Use in
12413 many places.
12414
12415 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12416 (rst-mode-map): Rebind keys.
12417
12418 (rst-mode-lazy, rst-font-lock-keywords)
12419 (rst-font-lock-extend-region)
12420 (rst-font-lock-extend-region-internal)
12421 (rst-font-lock-extend-region-extend)
12422 (rst-font-lock-find-unindented-line-limit)
12423 (rst-font-lock-find-unindented-line-match)
12424 (rst-adornment-level, rst-font-lock-adornment-level)
12425 (rst-font-lock-adornment-match)
12426 (rst-font-lock-handle-adornment-pre-match-form)
12427 (rst-font-lock-handle-adornment-matcher): Major revision of
12428 font-locking. Integrate with other code. Use `jit-lock-mode'.
12429
12430 (rst-preferred-adornments, rst-adjust-hook)
12431 (rst-new-adornment-down, rst-preferred-bullets)
12432 (rst-preferred-bullets, rst-indent, rst-indent-width)
12433 (rst-indent-field, rst-indent-literal-normal)
12434 (rst-indent-literal-minimized, rst-indent-comment): Change,
12435 extend and improve customization.
12436
12437 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12438 (rst-normalize-cursor-position, rst-get-decoration)
12439 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12440 (rst-rstrip, rst-toc-insert-find-delete-contents)
12441 (rst-shift-fill-region, rst-compute-bullet-tabs)
12442 (rst-debug-print-tabs, rst-debug-mark-found)
12443 (rst-shift-region-guts, rst-shift-region-right)
12444 (rst-shift-region-left, rst-use-char-classes)
12445 (rst-font-lock-keywords-function)
12446 (rst-font-lock-indentation-point)
12447 (rst-font-lock-find-unindented-line-begin)
12448 (rst-font-lock-find-unindented-line-end)
12449 (rst-font-lock-find-unindented-line)
12450 (rst-font-lock-adornment-point, rst-font-lock-level)
12451 (rst-adornment-level-alist): Remove functions and variables.
12452
12453 (rst-compare-adornments, rst-get-adornment-match)
12454 (rst-suggest-new-adornment, rst-get-adornments-around)
12455 (rst-adornment-complete-p, rst-get-next-adornment)
12456 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12457 (rst-straighten-adornments): Standardize function names to
12458 use "adornment" instead of "decoration". Correct callers.
12459 Similar standardizing in many places.
12460
12461 (rst-update-section, rst-adjust, rst-promote-region)
12462 (rst-enumerate-region, rst-bullet-list-region)
12463 (rst-repeat-last-character): Correct use of `interactive'.
12464
12465 (rst-classify-adornment, rst-find-all-adornments)
12466 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12467 (rst-find-leftmost-column, rst-repeat-last-character):
12468 Refactor functions.
12469
12470 (rst-find-title-line, rst-reset-section-caches)
12471 (rst-get-adornments-around, rst-adjust-adornment-work)
12472 (rst-arabic-to-roman, rst-roman-to-arabic)
12473 (rst-insert-list-pos, rst-insert-list-new-item)
12474 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12475 New functions.
12476
12477 (rst-all-sections, rst-section-hierarchy)
12478 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12479 New variables.
12480
12481 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12482 configuration instead of only buffer. Change where necessary.
12483
12484 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12485 (rst-shift-region, rst-adaptive-fill): New functions for
12486 indentation and filling.
12487
12488 (rst-comment-line-break, rst-comment-indent)
12489 (rst-comment-insert-comment, rst-comment-region)
12490 (rst-uncomment-region): New functions for handling comments.
12491
12492 (rst-compile): Quote shell arguments.
12493
12494 (rst-compile-pdf-preview, rst-compile-slides-preview):
12495 Delete temporary files after use.
12496
12497 2012-05-05 Glenn Morris <rgm@gnu.org>
12498
12499 * calendar/cal-html.el: Optionally include holidays in the output.
12500 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12501 (cal-html-holidays): New option.
12502 (cal-html-css-default): Add holiday entry.
12503 (holiday-in-range): Autoload it.
12504 (cal-html-htmlify-entry): Add optional class argument.
12505 (cal-html-htmlify-list): Add optional holidays argument.
12506 (cal-html-insert-agenda-days): Include holidays in the output.
12507 (cal-html-one-month): Maybe include holidays.
12508
12509 * calendar/holidays.el (holiday-in-range):
12510 Move here from cal-tex-list-holidays.
12511 * calendar/cal-tex.el (cal-tex-list-holidays):
12512 Make it an obsolete alias for holiday-in-range. Update all callers.
12513
12514 2012-05-05 Chong Yidong <cyd@gnu.org>
12515
12516 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12517 Nextstep.
12518
12519 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12520
12521 * files.el (file-auto-mode-skip): New var.
12522 (set-auto-mode-1): Use it.
12523
12524 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12525
12526 * repeat.el: Use lexical-binding.
12527 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12528 (repeat-undo-count): Remove.
12529 (repeat):
12530 * progmodes/octave-mod.el (octave-abbrev-start):
12531 * progmodes/f90.el (f90-abbrev-start):
12532 * face-remap.el (text-scale-adjust):
12533 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12534
12535 * emacs-lisp/pcase.el (pcase--let*): New function.
12536 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12537 a bit more.
12538 (pcase--split-pred): Be more clever about ruling out overlap between
12539 a predicate and some constant pattern.
12540 (pcase--q1): Use `null' instead of (eq foo nil).
12541
12542 * subr.el (setq-local, defvar-local): New macros.
12543 (kbd): Redefine as an alias.
12544 (with-selected-window): Leave unrelated frames alone.
12545 (set-temporary-overlay-map): New function.
12546
12547 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12548
12549 * subr.el (user-error): New function.
12550 * window.el (switch-to-buffer):
12551 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12552 (smerge-match-conflict):
12553 * simple.el (previous-matching-history-element)
12554 (next-matching-history-element, goto-history-element, undo-more)
12555 (undo-start):
12556 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12557 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12558 (next-file, tags-loop-scan, list-tags, complete-tag):
12559 * progmodes/compile.el (compilation-loop):
12560 * mouse.el (mouse-minibuffer-check):
12561 * man.el (Man-bgproc-sentinel, Man-goto-page):
12562 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12563 (Info-history-forward, Info-follow-reference, Info-menu)
12564 (Info-extract-menu-item, Info-extract-menu-counting)
12565 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12566 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12567 (Info-next-reference, Info-prev-reference, Info-index)
12568 (Info-index-next, Info-follow-nearest-node)
12569 (Info-copy-current-node-name):
12570 * imenu.el (imenu--make-index-alist)
12571 (imenu-default-create-index-function, imenu-add-to-menubar):
12572 * files.el (basic-save-buffer, recover-file):
12573 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12574 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12575 (checkdoc-message-text, checkdoc-defun):
12576 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12577 * cus-edit.el (customize-changed-options, customize-rogue)
12578 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12579 (custom-variable-mark-to-reset-standard)
12580 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12581 (custom-file):
12582 * completion.el (check-completion-length):
12583 * comint.el (comint-search-arg)
12584 (comint-previous-matching-input-string-position)
12585 (comint-previous-matching-input)
12586 (comint-replace-by-expanded-history-before-point, comint-send-input)
12587 (comint-copy-old-input, comint-backward-matching-input)
12588 (comint-goto-process-mark, comint-set-process-mark):
12589 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12590 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12591
12592 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12593
12594 * dabbrev.el (dabbrev--ignore-case-p): New function.
12595 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12596 Use it.
12597
12598 * files.el (automount-dir-prefix): Mark as obsolete.
12599
12600 2012-05-04 Glenn Morris <rgm@gnu.org>
12601
12602 * patcomp.el, play/bruce.el: Move to obsolete/.
12603
12604 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12605
12606 Fix minor Y10k bugs.
12607 * arc-mode.el (archive-unixdate):
12608 * autoinsert.el (auto-insert-alist):
12609 * calc/calc-forms.el (math-this-year):
12610 * emacs-lisp/copyright.el (copyright-current-year)
12611 (copyright-update-year, copyright):
12612 * tar-mode.el (tar-clip-time-string):
12613 * time.el (display-time-update):
12614 Don't assume years have 4 digits.
12615
12616 2012-05-04 Chong Yidong <cyd@gnu.org>
12617
12618 * dos-w32.el (file-name-buffer-file-type-alist)
12619 (direct-print-region-use-command-dot-com):
12620 * ffap.el (ffap-menu-regexp):
12621 * find-file.el (ff-special-constructs):
12622 * follow.el (follow-debug):
12623 * forms.el (forms--debug):
12624 * iswitchb.el (iswitchb-all-frames):
12625 * ido.el (ido-all-frames):
12626 * emacs-lisp/timer.el (timer-max-repeats):
12627 * mail/feedmail.el (feedmail-mail-send-hook)
12628 (feedmail-mail-send-hook-queued):
12629 * mail/footnote.el (footnote-signature-separator):
12630 * mail/mailabbrev.el (mail-alias-separator-string)
12631 (mail-abbrev-mode-regexp):
12632 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12633 * progmodes/idlwave.el (idlwave-libinfo-file)
12634 (idlwave-default-completion-case-is-down)
12635 (idlwave-library-routines): Convert defvars to defcustoms.
12636
12637 * mail/rmail.el (rmail-decode-mime-charset):
12638 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12639 (idlwave-shell-fix-inserted-breaks)
12640 (idlwave-shell-activate-alt-keybindings)
12641 (idlwave-shell-use-breakpoint-glyph):
12642 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12643
12644 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12647
12648 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12649
12650 * progmodes/verilog-mode.el (font-lock-keywords):
12651 Fix mis-highligting auto. Reported by Craig Barner.
12652 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12653 defines from global name space. Reported by Dan Dever.
12654 (verilog-auto-reset, verilog-auto-reset-widths)
12655 (verilog-auto-tieoff): Support using unbased numbers for
12656 AUTORESET and AUTOTIEOFF.
12657 (verilog-submit-bug-report): Update variable list.
12658 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12659 parenthesis from not matching. Reported by Michael Rytting.
12660 (verilog-auto-template-lint): Fix hash error when linting modules
12661 with no used templates.
12662 (verilog-warn, verilog-warn-error)
12663 (verilog-warn-fatal): When non-interactive report multiple
12664 warnings before exiting. Suggested by Brad Dobbie.
12665 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12666 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12667 to report unused template errors. Reported by Brad Dobbie.
12668 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12669 nets, bug438. Reported by Vns Blore.
12670 (verilog-auto-inout-module, verilog-auto-reg)
12671 (verilog-read-decls, verilog-read-sub-decls-sig)
12672 (verilog-signals-edit-wire-reg, verilog-signals-with):
12673 Fix passing of Verilog data types in ANSI input/output ports
12674 such as "output logic" into the AUTOs. Special case "wire" and
12675 "reg" for backwards compatibility presuming Verilog 2001.
12676 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12677 (verilog-preprocess): Fix replication of preprocess output.
12678 Reported by Brad Dobbie.
12679 (verilog-auto-inst-interfaced-ports):
12680 Create verilog-auto-inst-interfaced-ports, bug429.
12681 Reported by Julian Gorfajn.
12682 (verilog-after-save-font-hook)
12683 (verilog-before-save-font-hook): New variable.
12684 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12685 (verilog-save-font-mods): Wrap disabling fontification, reported
12686 by David Rogoff.
12687 (verilog-do-indent, verilog-pretty-declarations-auto)
12688 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12689 Reported by Pierre-David Pfister.
12690 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12691 of class declarations, bug292. Reported by Kevin Heilman.
12692 (verilog-read-decls): Fix 'parameter type' not appearing in
12693 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12694 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12695 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12696 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12697 Reported by David Kravitz.
12698
12699 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12700
12701 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12702 assignment with tests in ifs and for loops.
12703 (verilog-extended-complete-re, verilog-complete-reg): Change so
12704 that DPI inport functions don't look like fuction declarations.
12705 (verilog-pretty-expr): Don't line up assignment
12706 operations to the test and increment in if and for loops
12707 (verilog-extended-complete-re, verilog-complete-reg): Change so
12708 that DPI inport functions don't look like fuction declarations.
12709
12710 2012-05-03 Kenichi Handa <handa@m17n.org>
12711
12712 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12713 decoding, and show a warning message without signaling an error
12714 (Bug#11282).
12715
12716 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12717
12718 * emacs-lisp/bytecomp.el
12719 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12720 since cconv.el might have introduced :fun-body, internal-make-closure,
12721 and friends for bytecomp to handle (bug#11391).
12722 * custom.el (defcustom): Avoid ((λ ..) ..).
12723
12724 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12725
12726 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12727
12728 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12729
12730 * notifications.el (dbus-debug):
12731 * term/linux.el (gpm-mouse-enable):
12732 * term/screen.el (xterm-register-default-colors): Declare.
12733
12734 2012-05-02 Chong Yidong <cyd@gnu.org>
12735
12736 * cus-start.el (gc-cons-percentage, exec-suffixes)
12737 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12738 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12739 (make-cursor-line-fully-visible, void-text-area-pointer)
12740 (font-list-limit): Add customization data.
12741
12742 * allout.el (allout-exposure-change-functions)
12743 (allout-structure-added-functions)
12744 (allout-structure-deleted-functions)
12745 (allout-structure-shifted-functions): Rename abnormal hooks from
12746 *-hook, and convert to defcustoms.
12747 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12748 Convert to defcustoms.
12749 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12750
12751 * allout-widgets.el: Hook callers changed.
12752
12753 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12754
12755 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12756 the yanked message in preference to the default value of
12757 buffer-file-coding-system.
12758
12759 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12760
12761 * window.el (display-buffer--action-function-custom-type):
12762 Fix entry.
12763
12764 2012-05-02 Alan Mackenzie <acm@muc.de>
12765
12766 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12767
12768 2012-05-01 Glenn Morris <rgm@gnu.org>
12769
12770 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12771
12772 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12773
12774 * cus-edit.el (custom-variable-documentation): Simplify with format.
12775
12776 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12777 Stefan Monnier <monnier@iro.umontreal.ca>
12778
12779 * simple.el (suggest-key-bindings, execute-extended-command):
12780 Move from keyboard.c.
12781
12782 2012-05-01 Chong Yidong <cyd@gnu.org>
12783
12784 * follow.el: Eliminate advice.
12785 (set-process-filter, process-filter, sit-for): Advice deleted.
12786 (follow-mode-off-hook): Obsolete hook removed.
12787 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12788 Vars deleted.
12789 (follow-auto): Use a :set function.
12790 (follow-mode): Rewritten. Don't advise process filters.
12791 (follow-switch-to-current-buffer-all, follow-scroll-up)
12792 (follow-scroll-down): Assume follow-mode is bound.
12793 (follow-comint-scroll-to-bottom)
12794 (follow-align-compilation-windows): New functions.
12795 (follow--window-sorter): New function.
12796 (follow-all-followers): Use it to explicitly sort windows by their
12797 positions; don't make assumptions about next-window order.
12798 (follow-windows-start-end, follow-delete-other-windows-and-split)
12799 (follow-calc-win-start): Doc fix.
12800 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12801 vertical-motion unnecessarily.
12802 (follow-adjust-window): New function.
12803 (follow-post-command-hook): Use it.
12804 (follow-call-set-process-filter, follow-call-process-filter)
12805 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12806 (follow-stop-intercept-process-output, follow-generic-filter):
12807 Functions deleted.
12808 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12809 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12810 New functions, replacing advice on scroll-bar-* commands.
12811 (follow-mwheel-scroll): New function (Bug#4112).
12812
12813 * comint.el (comint-adjust-point): New function.
12814 (comint-postoutput-scroll-to-bottom): Use it.
12815 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12816
12817 2012-05-01 Glenn Morris <rgm@gnu.org>
12818
12819 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12820 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12821 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12822 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12823 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12824 Remove no-byte-compile setting.
12825
12826 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12827
12828 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12829 all-completions code to not return a number in the last cdr.
12830
12831 2012-04-30 Leo Liu <sdl.web@gmail.com>
12832
12833 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12834 read-only error.
12835
12836 2012-04-29 Chong Yidong <cyd@gnu.org>
12837
12838 * follow.el (follow-calc-win-end): Rewrite to handle partial
12839 screen lines correctly (Bug#8390).
12840 (follow-avoid-tail-recenter): Minor cleanup.
12841
12842 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12843
12844 Avoid the obsolete `assoc' package.
12845 * speedbar.el (speedbar-refresh): Avoid adelete.
12846 (speedbar-file-lists): Simplify and avoid aput.
12847 * man.el (Man--sections, Man--refpages): New vars, replacing
12848 Man-sections-alist and Man-refpages-alist.
12849 (Man-build-section-alist, Man-build-references-alist):
12850 Use them; avoid aput.
12851 (Man--last-section, Man--last-refpage): New vars.
12852 (Man-follow-manual-reference): Use them.
12853 Use the `default' arg of completing-read.
12854 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12855
12856 2012-04-27 Chong Yidong <cyd@gnu.org>
12857
12858 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12859
12860 * startup.el (x-apply-session-resources): New function.
12861
12862 * term/ns-win.el (ns-initialize-window-system):
12863 * term/w32-win.el (w32-initialize-window-system):
12864 * term/x-win.el (x-initialize-window-system): Use it to properly
12865 set menu-bar-mode and other vars from X resources, even if the
12866 initial frame is not a window-system frame (Bug#2299).
12867
12868 * subr.el (read-key): Avoid running filter function when setting
12869 up temporary tool bar entries (Bug#9922).
12870
12871 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12872
12873 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12874 (Bug#11344)
12875
12876 2012-04-27 Chong Yidong <cyd@gnu.org>
12877
12878 * select.el (xselect--encode-string): New function, split from
12879 xselect-convert-to-string.
12880 (xselect-convert-to-string): Use it.
12881 (xselect-convert-to-filename, xselect-convert-to-os)
12882 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12883 returned strings are properly encoded (Bug#11315).
12884
12885 2012-04-27 Chong Yidong <cyd@gnu.org>
12886
12887 * simple.el (delete-active-region): Move to killing custom group.
12888
12889 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12890
12891 * progmodes/which-func.el (which-func-current): Quote %
12892 characters for mode-line processing.
12893
12894 2012-04-27 Chong Yidong <cyd@gnu.org>
12895
12896 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12897 reaching eob (Bug#11286).
12898
12899 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12900
12901 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12902 (gdb): Make it buffer-local and init to zero.
12903 (gdb-control-commands-regexp): New variable.
12904 (gdb-send): Don't wrap in "-interpreter-exec console" if
12905 gdb-control-level is positive. Increment gdb-control-level
12906 whenever the command matches gdb-control-commands-regexp, and
12907 decrement it each time the command is "end". (Bug#11279)
12908
12909 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12910
12911 * window.el (adjust-window-trailing-edge, enlarge-window)
12912 (shrink-window, window-resize):
12913 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12914 windows (Bug#11276).
12915
12916 2012-04-27 Chong Yidong <cyd@gnu.org>
12917
12918 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12919 fix "missing prefix" warning. All callers changed.
12920
12921 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12922
12923 * emacs-lisp/assoc.el: Move to obsolete/.
12924
12925 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12926
12927 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12928
12929 * term/ns-win.el (ns-define-service):
12930 * progmodes/pascal.el (pascal-goto-defun):
12931 * progmodes/js.el (js--read-tab):
12932 * progmodes/etags.el (tags-lazy-completion-table):
12933 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12934 * emacs-lisp/ewoc.el (ewoc--wrap):
12935 * emacs-lisp/assoc.el (aput, adelete, amake):
12936 * doc-view.el (doc-view-convert-current-doc):
12937 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12938
12939 2012-04-26 Chong Yidong <cyd@gnu.org>
12940
12941 * image.el (image-type-from-buffer): Only return supported image
12942 type (Bug#9045).
12943
12944 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12945 value, for symmetry with diff-end-of-hunk.
12946 (diff-split-hunk, diff-find-source-location)
12947 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12948 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
12949 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
12950 compute the relevant hunk or file properly (Bug#6005).
12951 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
12952
12953 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12954
12955 * vc/vc-mtn.el:
12956 * vc/vc-hg.el:
12957 * vc/vc-git.el:
12958 * vc/vc-dir.el:
12959 * vc/vc-cvs.el:
12960 * vc/vc-bzr.el:
12961 * vc/vc-arch.el:
12962 * vc/vc.el: Replace lexical-let by lexical-binding.
12963 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
12964 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
12965 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
12966
12967 2012-04-26 Chong Yidong <cyd@gnu.org>
12968
12969 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
12970 (diff-mode-shared-map): Bind it to / and [remap undo].
12971
12972 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
12973 (ediff-window-setup-function): Use it as the default, to set up
12974 windows based on whether the current frame is graphical (Bug#2138).
12975 (ediff-choose-window-setup-function-automatically): Make obsolete.
12976
12977 * vc/ediff-init.el: Always define ediff-pixel-width/height.
12978
12979 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12980
12981 * ffap.el: Remove old code for obsolete package.
12982 (ffap-complete-as-file-p): Remove.
12983
12984 Use completion-table-with-quoting for comint and pcomplete.
12985 * comint.el (comint--unquote&requote-argument)
12986 (comint--unquote-argument, comint--requote-argument): New functions.
12987 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
12988 (comint-quote-filename): Use regexp-opt-charset.
12989 (comint--common-suffix, comint--common-quoted-suffix)
12990 (comint--table-subvert): Remove.
12991 (comint-unquote-function, comint-requote-function): New vars.
12992 (comint--complete-file-name-data): Use them with
12993 completion-table-with-quoting.
12994 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
12995 * pcomplete.el (pcomplete-arg-quote-list)
12996 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
12997 (pcomplete-unquote-argument-function): Default to non-nil.
12998 (pcomplete-unquote-argument): Simplify.
12999 (pcomplete--common-quoted-suffix): Remove.
13000 (pcomplete-requote-argument-function): New var.
13001 (pcomplete--common-suffix): New function.
13002 (pcomplete-completions-at-point): Use completion-table-with-quoting
13003 and completion-table-subvert.
13004
13005 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13006 (minibuffer--double-dollars): Preserve properties.
13007 (completion--sifn-requote): New function.
13008 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13009
13010 * minibuffer.el: Add support for completion of quoted/escaped data.
13011 (completion-table-with-quoting, completion-table-subvert): New funs.
13012 (completion--twq-try, completion--twq-all): New functions.
13013 (completion--nth-completion): New function.
13014 (completion-try-completion, completion-all-completions): Use it.
13015
13016 2012-04-25 Leo Liu <sdl.web@gmail.com>
13017
13018 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13019 Use compilation-message if available to find real filename.
13020
13021 2012-04-25 Chong Yidong <cyd@gnu.org>
13022
13023 * vc/diff-mode.el (diff-setup-whitespace): New function.
13024 (diff-mode): Use it.
13025
13026 * vc/diff.el (diff-sentinel):
13027 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13028 Whitespace mode variables based on diff style (Bug#8612).
13029
13030 2012-04-25 Leo Liu <sdl.web@gmail.com>
13031
13032 * progmodes/python.el (python-send-region): Add suffix .py to the
13033 temp file.
13034
13035 * files.el (auto-mode-alist): Use javascript-mode instead.
13036
13037 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13038
13039 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13040
13041 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13042 (soap-resolve-references-for-array-type): Hack to prevent self
13043 references, see Bug#9.
13044 (soap-parse-envelope): Report the contents of the 'detail' node
13045 when receiving a fault reply.
13046 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13047
13048 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13049 (soap-inspect-simple-type): New function.
13050
13051 * net/soap-client.el (soap-simple-type): New struct.
13052 (soap-default-xsd-types, soap-default-soapenc-types)
13053 (soap-decode-basic-type, soap-encode-basic-type):
13054 support unsignedInt and double basic types.
13055 (soap-resolve-references-for-simple-type)
13056 (soap-parse-simple-type, soap-encode-simple-type): New function.
13057 (soap-parse-schema): Parse xsd:simpleType declarations.
13058
13059 * net/soap-client.el (soap-default-xsd-types)
13060 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13061 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13062 the local name of "soapenc:Array".
13063 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13064 decoding integer, byte and anyURI xsd types.
13065
13066 2012-04-25 Chong Yidong <cyd@gnu.org>
13067
13068 * cus-edit.el (custom-buffer-create-internal): Update header text.
13069
13070 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13071
13072 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13073 settings on 'system-type', not on 'window-system'. On MS-Windows,
13074 set interactive-mode on in GDB.
13075
13076 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13079 (ruby-syntax-propertize-regexp): Remove.
13080 (ruby-syntax-propertize-function): Split regexp into chunks.
13081 Match following code directly.
13082
13083 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13084
13085 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13086 (ruby-syntax-propertize-regexp): New function.
13087 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13088 by a special keyword.
13089
13090 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13091 (ruby-syntax-general-delimiters-goto-beg)
13092 (ruby-syntax-propertize-general-delimiters): New functions.
13093 (ruby-syntax-propertize-function): Use them to handle GDL.
13094 (ruby-font-lock-keywords): Move old handling of GDL...
13095 (ruby-font-lock-syntactic-keywords): .. to here.
13096 (ruby-calculate-indent): Adjust indentation for GDL.
13097
13098 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13099
13100 * notifications.el (top): Remove unneeded declarations.
13101 (notifications-specification-version): Change to "1.2".
13102 (notifications-interface, notifications-notify-method)
13103 (notifications-close-notification-method): Fix docstring.
13104 (notifications-get-capabilities-method): New defconst.
13105 (notifications-notify): Add :action-items, :resident and
13106 :transient hints. Change "image_data" to "image-data" and
13107 "image_path" to "image-path".
13108 (notifications-get-capabilities): New defun.
13109
13110 2012-04-24 Leo Liu <sdl.web@gmail.com>
13111
13112 * progmodes/python.el: Move hideshow setup to the end.
13113
13114 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13115
13116 * window.el (handle-select-window): Clear echo area since this is
13117 no more done by read_char (Bug#11304).
13118
13119 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13120
13121 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13122 and `/ M' to filter-derived-mode.
13123 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13124 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13125 (ibuffer-mark-by-mode): Use default rather than initial-input.
13126 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13127
13128 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13129
13130 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13131 (ibuffer-filter-by-derived-mode): New filter.
13132 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13133
13134 2012-04-23 Andreas Politz <politza@fh-trier.de>
13135
13136 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13137
13138 2012-04-23 Chong Yidong <cyd@gnu.org>
13139
13140 * cus-edit.el (customize-apropos, customize-apropos-options):
13141 Disable matching of non-option variables (Bug#11176).
13142 (customize-option, customize-option-other-window)
13143 (customize-changed-options): Doc fix.
13144 (customize-apropos-options, customize-apropos-faces)
13145 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13146
13147 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13148 Fix word list splitting (Bug#11132).
13149 (apropos-symbol, apropos-keybinding, apropos-label)
13150 (apropos-property, apropos-function-button)
13151 (apropos-variable-button, apropos-misc-button): New faces.
13152 (apropos-symbol-face, apropos-keybinding-face)
13153 (apropos-label-face, apropos-property-face, apropos-match-face):
13154 Variables removed (Bug#8396).
13155 (apropos-library-button, apropos-format-plist, apropos-print)
13156 (apropos-print-doc, apropos-describe-plist): Callers changed.
13157
13158 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13159
13160 * net/xesam.el (xesam-mode-map): Use let-bound map in
13161 initialization. (Bug#11292)
13162
13163 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13164
13165 Preserve ispell session localwords when switching back to
13166 original buffer.
13167
13168 * textmodes/ispell.el (ispell-buffer-session-localwords):
13169 New buffer-local variable to hold buffer session localwords.
13170 (ispell-kill-ispell): Add option 'clear to delete session
13171 localwords.
13172 (ispell-command-loop, ispell-change-dictionary)
13173 (ispell-buffer-local-words): Preserve session localwords when
13174 needed.
13175
13176 * textmodes/flyspell.el (flyspell-process-localwords)
13177 (flyspell-do-correct): Preserve session localwords when needed.
13178
13179 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13180
13181 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13182 using obsolete `translation-table-for-input'.
13183 (ispell-word, ispell-process-line, ispell-complete-word):
13184 Use plain `insert' instead of removed `ispell-insert-word'.
13185
13186 2012-04-22 Chong Yidong <cyd@gnu.org>
13187
13188 * cus-edit.el (custom-variable-menu)
13189 (custom-variable-reset-saved, custom-face-menu)
13190 (custom-face-reset-saved): If there is no saved value, make the
13191 "reset-saved" operation bring back the default (Bug#9509).
13192 (custom-face-state): Properly detect themed faces.
13193
13194 * faces.el (face-spec-set): Stop supporting deprecated form of
13195 third arg.
13196
13197 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13198
13199 Move functions from C to Lisp. Make non-blocking method calls
13200 the default. Implement further D-Bus standard interfaces.
13201
13202 * net/dbus.el (dbus-message-internal): Declare function.
13203 Remove unneeded function declarations.
13204 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13205 (dbus-message-type-method-return, dbus-message-type-error)
13206 (dbus-message-type-signal): Declare variables. Remove local
13207 definitions.
13208 (dbus-interface-dbus, dbus-interface-peer)
13209 (dbus-interface-introspectable, dbus-interface-properties)
13210 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13211 Adapt docstring.
13212 (dbus-interface-objectmanager): New defconst.
13213 (dbus-call-method, dbus-call-method-asynchronously)
13214 (dbus-send-signal, dbus-method-return-internal)
13215 (dbus-method-error-internal, dbus-register-service)
13216 (dbus-register-signal, dbus-register-method): New defuns, moved
13217 from dbusbind.c
13218 (dbus-call-method-handler, dbus-setenv)
13219 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13220 New defuns.
13221 (dbus-call-method-non-blocking): Make it an obsolete function.
13222 (dbus-unregister-object, dbus-unregister-service)
13223 (dbus-handle-event, dbus-register-property)
13224 (dbus-property-handler): Obey the new structure of
13225 `bus-registered-objects'.
13226 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13227 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13228 Use `dbus-call-method'.
13229
13230 2012-04-22 Chong Yidong <cyd@gnu.org>
13231
13232 * cus-edit.el (custom-commands, custom-reset-menu)
13233 (Custom-reset-standard): Tweak labels.
13234 (custom-reset-button-menu): Change default to t.
13235 (custom-buffer-create-internal): For the custom-reset-button-menu
13236 case, put the revert button first.
13237 (custom-group-subtitle): New face.
13238 (custom-group-value-create): Align docstring to a specific column.
13239
13240 * wid-edit.el (widget-documentation-link-add): Don't handle
13241 indentation in this function.
13242 (widget-documentation-string-indent-to): New function.
13243 (widget-documentation-string-value-create): Use it.
13244
13245 * autorevert.el (auto-revert):
13246 * epg-config.el (epg):
13247 * ibuffer.el (ibuffer):
13248 * mpc.el (mpc):
13249 * ses.el (ses):
13250 * eshell/eshell.el (eshell):
13251 * net/ange-ftp.el (ange-ftp):
13252 * progmodes/ebnf2ps.el (postscript):
13253 * progmodes/flymake.el (flymake):
13254 * progmodes/prolog.el (prolog):
13255 * progmodes/verilog-mode.el (verilog-mode):
13256 * progmodes/which-func.el (which-func):
13257 * term/xterm.el (xterm):
13258 * textmodes/picture.el (picture):
13259 * textmodes/tildify.el (tildify):
13260 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13261 customization buffers.
13262
13263 2012-04-22 Alan Mackenzie <acm@muc.de>
13264
13265 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13266 Adding a ) can hide the resulting (..) from searches. Fix it.
13267 Bound the backward search to the position of the existing (.
13268
13269 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13270
13271 * progmodes/verilog-mode.el (verilog-mode): Check whether
13272 which-func-modes is t before adding verilog-mode.
13273 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13274
13275 2012-04-21 Leo Liu <sdl.web@gmail.com>
13276
13277 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13278
13279 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13280
13281 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13282 filling of the last column of a table (Bug#5635).
13283 (woman-find-next-control-line): New arg, specifying an additional
13284 regexp component for the control line.
13285 (woman2-roff-buffer): Use it.
13286 (woman-break-table): New function.
13287 (woman2-TS): Use it.
13288
13289 2012-04-21 Chong Yidong <cyd@gnu.org>
13290
13291 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13292 (woman-horizontal-escapes, woman-negative-vertical-space)
13293 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13294 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13295
13296 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * minibuffer.el (completion-file-name-table): Complete user names.
13299
13300 2012-04-20 Leo Liu <sdl.web@gmail.com>
13301
13302 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13303 and pcase-let*.
13304
13305 2012-04-20 Chong Yidong <cyd@gnu.org>
13306
13307 * server.el (server-execute): Respect initial-buffer-choice if it
13308 is a string and there are no files to open (Bug#2825).
13309 (server-create-window-system-frame, server-create-tty-frame):
13310 Don't switch buffers here.
13311 (server-process-filter): Only try to open a window system frame if
13312 compiled with graphical support (Bug#8314).
13313
13314 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13315
13316 * battery.el (battery-echo-area-format): Display remaining time
13317 for sysfs backend too (Bug#11269).
13318 (battery-linux-sysfs): Fix conditional for the charge.
13319
13320 2012-04-20 Chong Yidong <cyd@gnu.org>
13321
13322 * progmodes/gdb-mi.el (gdb): Revert previous change.
13323 (gdb-inferior-io--init-proc): New function.
13324 (gdb-init-1): Use it.
13325 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13326 responsible for allocating a new pty and hooking it to gdb when
13327 the old pty gets an EIO due to process exit.
13328 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13329 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13330 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13331
13332 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13333
13334 * window.el (window-min-size, window-sizable, window-min-delta)
13335 (window-max-delta, window--resizable, window-resizable)
13336 (window-total-size, window-full-height-p, window-full-width-p)
13337 (window-in-direction, window--resize-mini-window, window-resize)
13338 (window--resize-child-windows-normal)
13339 (window--resize-child-windows, window--resize-siblings)
13340 (window--resize-this-window, adjust-window-trailing-edge)
13341 (enlarge-window, shrink-window): Doc fixes.
13342
13343 2012-04-20 Chong Yidong <cyd@gnu.org>
13344
13345 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13346 New function to call delete-process on the gdb-inferior buffer's pty.
13347 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13348 pty process (Bug#11273).
13349 (gdb-update): New arg to suppress talking to the gdb process.
13350 (gdb-done-or-error): Use it.
13351 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13352 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13353 sentinel not being called.
13354
13355 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13356
13357 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13358
13359 2012-04-20 Glenn Morris <rgm@gnu.org>
13360
13361 * net/network-stream.el (open-network-stream): Doc fix.
13362
13363 2012-04-20 Chong Yidong <cyd@gnu.org>
13364
13365 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13366
13367 2012-04-20 Alan Mackenzie <acm@muc.de>
13368
13369 Ensure searching for keywords is case sensitive.
13370
13371 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13372 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13373 (c-defun-name, c-mark-function, c-cpp-define-name)
13374 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13375 (c-context-line-break): Bind case-fold-search to nil.
13376
13377 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13378 Bind case-fold-search to nil.
13379
13380 2012-04-20 Chong Yidong <cyd@gnu.org>
13381
13382 * mail/sendmail.el (mail-bury): Call return action with the right
13383 Rmail buffer (Bug#11242).
13384
13385 * server.el (server-process-filter): Handle corner case where both
13386 tty and nowait options are present (Bug#11102).
13387
13388 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13389
13390 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13391 (top level): Put into the executable the ident-style '$Id:' tag on
13392 windows-nt as well.
13393
13394 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13395
13396 * electric.el (electric-indent-post-self-insert-function): Check that
13397 electric-indent-mode is enabled in current buffer.
13398
13399 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13400
13401 * imenu.el (imenu-progress-message): Restore; it is "used" in
13402 erc/erc-imenu.el and net/snmp-mode.el.
13403
13404 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13405
13406 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13407 (mouse-avoidance-nudge-mouse): Remove unused binding.
13408
13409 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13410
13411 * descr-text.el (describe-char):
13412 * progmodes/python.el (python-describe-symbol):
13413 Don't call `toggle-read-only', set `buffer-read-only'.
13414
13415 * imenu.el (imenu-default-goto-function): Mark unused args.
13416 (imenu-progress-message): Remove obsolete macro; all callers changed.
13417
13418 * subr.el (keymap-canonicalize): Remove unused binding.
13419 (read-passwd): Mark unused arg.
13420
13421 * tutorial.el (tutorial--display-changes): Remove unused binding.
13422 (tutorial--save-tutorial-to): Remove unused variable.
13423
13424 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13425 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13426 (package-generate-autoloads, package-menu--generate)
13427 (package-menu--find-upgrades): Remove unused bindings.
13428
13429 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13430 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13431 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13432 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13433 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13434 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13435 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13436 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13437 (cua-delete-char-rectangle): Mark unused args.
13438 (cua-align-rectangle): Remove unused binding.
13439
13440 * mail/rmail.el (compilation--message->loc)
13441 (epa--find-coding-system-for-mime-charset): Declare.
13442
13443 * net/dbus.el (dbus-register-service): Declare.
13444 (dbus-name-owner-changed-handler): Remove unused binding.
13445
13446 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13447 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13448 (nxml-scan-backward-within): Mark unused arg.
13449 (nxml-dynamic-markup-word): Remove unused binding.
13450
13451 * mouse.el (mouse-menu-major-mode-map):
13452 * emacs-lisp/authors.el (authors-scan-change-log)
13453 (authors-add-to-author-list):
13454 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13455 * emacs-lisp/smie.el (smie-auto-fill):
13456 * mail/sendmail.el (mail-bury):
13457 * mail/unrmail.el (unrmail):
13458 * net/tls.el (open-tls-stream):
13459 * textmodes/picture.el (picture-mouse-set-point):
13460 Remove unused bindings.
13461
13462 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13463
13464 * net/tramp.el (tramp-action-password): Let-bind
13465 `enable-recursive-minibuffers' to t.
13466
13467 2012-04-18 Sam Steingold <sds@gnu.org>
13468
13469 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13470 instead of 'string to accommodate values like [f11].
13471 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13472 * progmodes/gdb-mi.el: Likewise.
13473
13474 2012-04-18 Leo Liu <sdl.web@gmail.com>
13475
13476 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13477 current buffer.
13478 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13479 LOCAL is nil.
13480
13481 2012-04-18 Chong Yidong <cyd@gnu.org>
13482
13483 * simple.el (line-move): Use forward-line if in batch mode
13484 (Bug#11053).
13485
13486 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13487
13488 * files.el (after-find-file): Do not try to add a final newline if
13489 the buffer is read-only (Bug#11156).
13490
13491 2012-04-17 Richard Stallman <rms@gnu.org>
13492
13493 * mail/rmail.el (rmail-start-mail):
13494 Pass (rmail-mail-return...) for the return-action.
13495 Pass (rmail-yank-current-message...) for the yank-action.
13496 (rmail-yank-current-message): New function.
13497 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13498 (rmail-reply): Likewise.
13499 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13500
13501 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13502 buffer, not the last. Reject temp buffers. Use the rmail-mode
13503 buffer, not newbuf.
13504
13505 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13506
13507 * server.el (server-ensure-safe-dir): Simplify.
13508
13509 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13510
13511 * emacs-lisp/smie.el: Provide smarter auto-filling.
13512 (smie-auto-fill): New function.
13513 (smie-setup): Use it.
13514
13515 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13516
13517 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13518
13519 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13520 (comment-indent): Use it.
13521
13522 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13523
13524 * ses.el: The overall change is to add cell renaming, that is
13525 setting fancy names for cell symbols other than name matching
13526 "\\`[A-Z]+[0-9]+\\'" regexp .
13527 (ses-localvars): Add ses--renamed-cell-symb-list.
13528 (ses-create-cell-variable): New defun.
13529 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13530 (ses-relocate-formula): Relocate formulas only for cells the
13531 symbols of which are not renamed, i.e. symbols whose names do not
13532 match regexp "\\`[A-Z]+[0-9]+\\'".
13533 (ses-relocate-all): Relocate values only for cells the symbols of
13534 which are not renamed.
13535 (ses-load): Create cells variables as the (ses-cell ...) are read,
13536 in order to check row col consistency with cell symbol name only
13537 for cells that are not renamed.
13538 (ses-replace-name-in-formula): New defun.
13539 (ses-rename-cell): New defun.
13540
13541 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13542
13543 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13544 New option (bug#11118).
13545 (perl-calculate-indent): Respect it.
13546
13547 2012-04-17 Glenn Morris <rgm@gnu.org>
13548
13549 * dired-aux.el (dired-mark-read-string): Doc fix.
13550
13551 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13552
13553 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13554 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13555
13556 2012-04-17 Glenn Morris <rgm@gnu.org>
13557
13558 * mouse.el (mouse-drag-track):
13559 * speedbar.el (speedbar-frame-mode):
13560 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13561
13562 2012-04-16 Leo Liu <sdl.web@gmail.com>
13563
13564 * progmodes/python.el: Trivial cleanup.
13565
13566 2012-04-16 Glenn Morris <rgm@gnu.org>
13567
13568 * vc/vc.el (vc-string-prefix-p):
13569 * vc/pcvs-util.el (cvs-string-prefix-p):
13570 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13571 * mpc.el (mpc-string-prefix-p):
13572 Make all of these into obsolete aliases for string-prefix-p.
13573 Update callers.
13574 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13575
13576 * textmodes/two-column.el: Move custom options to the start.
13577 (frame-width): Remove compat definition.
13578 (2C-associate-buffer, 2C-dissociate):
13579 Use with-current-buffer rather than save-excursion.
13580 (2C-dissociate): Force a mode-line update.
13581 (2C-autoscroll): Use ignore-errors.
13582
13583 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13584 Autoload trivia.
13585
13586 * emacs-lisp/cl-extra.el (*random-state*):
13587 Remove unnecessary declaration.
13588
13589 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13590
13591 * play/cookie1.el (cookie-snarf):
13592 Give an explicit error if input file cannot be read.
13593
13594 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13595
13596 * progmodes/perl-mode.el (c-macro-expand):
13597 Remove unnecessary autoload (it is in loaddefs.el).
13598
13599 * textmodes/picture.el (picture-desired-column)
13600 (picture-update-desired-column): Convert comments to doc-strings.
13601 (picture-substitute): Remove function.
13602 (picture-mode-map): Initialize in the defvar.
13603
13604 * woman.el: Remove eval-after-load for tar-mode.
13605 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13606 (woman-tar-extract-file): Autoload it.
13607
13608 * frame.el (automatic-hscrolling): Make this alias obsolete.
13609
13610 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13611
13612 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13613 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13614 (ispell-dictionary-base-alist): Revert to original XEmacs
13615 friendly version for default. [:alpha:] will be added in
13616 `ispell-set-spellchecker-params' if needed.
13617
13618 2012-04-16 Chong Yidong <cyd@gnu.org>
13619
13620 * image.el (imagemagick--file-regexp): New variable.
13621 (imagemagick-register-types): Use it.
13622 (imagemagick-types-inhibit): Add :set function. Allow new value
13623 of t to inhibit all types.
13624
13625 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13626 so we can preload it.
13627
13628 * loadup.el (fboundp): Preload regexp-opt, needed by
13629 imagemagick-register-types.
13630
13631 2012-04-15 Chong Yidong <cyd@gnu.org>
13632
13633 * frame.el (scrolling): Remove nearly unused customization group.
13634
13635 * scroll-all.el (scroll-all-mode): Move to windows group.
13636
13637 2012-04-15 Chong Yidong <cyd@gnu.org>
13638
13639 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13640
13641 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13642
13643 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13644 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13645
13646 2012-04-15 Glenn Morris <rgm@gnu.org>
13647
13648 * simple.el (process-file-side-effects): Doc fix.
13649
13650 2012-04-15 Glenn Morris <rgm@gnu.org>
13651
13652 * international/mule-cmds.el (set-language-environment): Doc fix.
13653
13654 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13655
13656 * server.el (server-auth-key, server-generate-key): Doc fixes.
13657 (server-get-auth-key): Doc fix. Use `string-match-p'.
13658 (server-start): Reflow docstring.
13659
13660 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13661
13662 * server.el (server-generate-key): `called-interactively-p'
13663 requires a parameter.
13664
13665 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13666
13667 * server.el (server-auth-key): New variable.
13668 (server-generate-key, server-get-auth-key): New function.
13669 (server-start): Use the new variable and functions to allow
13670 setting a permanent server key (bug#9423).
13671
13672 2012-04-14 Leo Liu <sdl.web@gmail.com>
13673
13674 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13675
13676 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13677
13678 Spelling fixes.
13679 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13680 Emacs uses American spelling.
13681
13682 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13683
13684 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13685 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13686 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13687 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13688
13689 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13690
13691 * progmodes/which-func.el (which-func-modes): Change default.
13692
13693 2012-04-14 Kim F. Storm <storm@cua.dk>
13694
13695 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13696 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13697
13698 2012-04-14 Chong Yidong <cyd@gnu.org>
13699
13700 * custom.el (custom-theme-set-variables): Doc fix.
13701
13702 2012-04-14 Glenn Morris <rgm@gnu.org>
13703
13704 * international/mule.el (set-auto-coding-for-load): Doc fix.
13705
13706 2012-04-14 Alan Mackenzie <acm@muc.de>
13707
13708 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13709 imenu work again for Objective C Mode. Correct the *-index values,
13710 these having been disturbed by a previous change in 2011-08.
13711
13712 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13713 Correct two search limits.
13714
13715 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13716
13717 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13718
13719 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13720
13721 * international/characters.el: Fix sorting.
13722
13723 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13724
13725 * international/characters.el: Add more missing Latin case pairs.
13726
13727 2012-04-14 Glenn Morris <rgm@gnu.org>
13728
13729 * files.el (dir-locals-set-class-variables): Doc fix.
13730
13731 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13732
13733 * international/characters.el: Add set-case-syntax-pair call for
13734 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13735 counterpart. (Bug#11209)
13736
13737 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13738
13739 2012-04-14 Glenn Morris <rgm@gnu.org>
13740
13741 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13742
13743 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13744
13745 * textmodes/ispell.el (ispell-dictionary-base-alist):
13746 Add data for Hebrew.
13747
13748 2012-04-14 Chong Yidong <cyd@gnu.org>
13749
13750 * net/rcirc.el (rcirc-cmd-quit):
13751 Revert 2012-03-18 change (Bug#11192).
13752
13753 2012-04-14 Glenn Morris <rgm@gnu.org>
13754
13755 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13756
13757 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13758
13759 * minibuffer.el (completion-in-region-mode-map):
13760 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13761
13762 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13763
13764 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13765
13766 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13767
13768 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13769 to allow `C-M-f' and `C-M-b' to move to the nearest path
13770 separator (bug#9511).
13771
13772 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13773
13774 * avoid.el: Require cl when compiling. And also move the
13775 `provide' to the end.
13776
13777 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13778
13779 * avoid.el (mouse-avoidance-banish-position): New variable.
13780 (mouse-avoidance-banish-destination): Use it (bug#10165).
13781
13782 2012-04-13 Leo Liu <sdl.web@gmail.com>
13783
13784 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13785
13786 2012-04-13 Ken Brown <kbrown@cornell.edu>
13787
13788 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13789 this is no longer needed now that cygstart understands file:// URLs.
13790 (browse-url-filename-alist): For the same reason, don't modify
13791 file:// URLs on Cygwin.
13792
13793 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13794
13795 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13796 the region on shift if the binding is already shifted (bug#11221).
13797
13798 2012-04-12 Glenn Morris <rgm@gnu.org>
13799
13800 * mail/mailpost.el: Move to obsolete/.
13801
13802 2012-04-12 Drew Adams <drew.adams@oracle.com>
13803
13804 * imenu.el (imenu--generic-function): Ignore invisible definitions
13805 (bug#10123).
13806
13807 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13808
13809 * hexl.el (hexl-bits): New variable.
13810 (hexl-options): Mention the variable in the doc string.
13811 (hexl-rulerise, hexl-line-displen): New functions.
13812 (hexl-mode): Mention the new variable.
13813 (hexl-mode, hexl-current-address, hexl-current-address):
13814 Use the displen.
13815 (hexl-ascii-start-column): New function.
13816 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13817 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13818
13819 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13820
13821 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13822 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13823 the encoding, as expected by hunspell.
13824
13825 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13826
13827 * battery.el (battery--linux-sysfs-regexp): New const.
13828 (battery-status-function): Use it. Remove yeeloong special case.
13829 (battery-yeeloong-sysfs): Remove.
13830 (battery-echo-area-format): Remove yeeloong special case.
13831
13832 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13833
13834 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13835 Reported by Noah Friedman.
13836
13837 * subr.el (read-passwd): Use read-string.
13838
13839 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13840
13841 * vcursor.el (vcursor-move): Increase the priority of the overlay
13842 (bug#9663).
13843
13844 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13845
13846 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13847 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13848
13849 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13850
13851 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13852 define-minor-mode (bug#10760).
13853
13854 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13855
13856 * progmodes/grep.el (rgrep): Tweak the find command line so
13857 that directories matching `grep-find-ignored-files' won't be
13858 pruned (bug#10351).
13859
13860 2012-04-11 Chong Yidong <cyd@gnu.org>
13861
13862 * startup.el (command-line): Remove support for long-obsolete
13863 variable font-lock-face-attributes.
13864
13865 2012-04-11 Glenn Morris <rgm@gnu.org>
13866
13867 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13868
13869 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13870
13871 * window.el (window--state-get-1): Obey window-point-insertion-type.
13872
13873 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13874
13875 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13876 to previous function when point is on the first character of a
13877 function. Take care of that in `narrow-to-defun' (bug#6157).
13878
13879 2012-04-11 Glenn Morris <rgm@gnu.org>
13880
13881 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13882 not just file-errors.
13883
13884 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13885 (vc-bzr-sha1): Use internal sha1.
13886
13887 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13888
13889 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13890
13891 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13892
13893 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13894 that start in the middle of the line (bug#10496).
13895
13896 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13897
13898 * battery.el (battery-linux-proc-acpi): Only one battery is
13899 discharged at a time, but that seems to confuse battery.el when
13900 computing `rate-type' for the battery not being discharged
13901 (bug#10332).
13902
13903 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13904
13905 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13906
13907 * international/quail.el: Use dolist and simplify.
13908 (quail-define-package, quail-update-keyboard-layout)
13909 (quail-define-rules): Use dolist.
13910 (quail-insert-kbd-layout, quail-get-translation): CSE.
13911
13912 * tmm.el: Use dolist, remove left over hook.
13913 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13914 Use dolist.
13915 (calendar-load-hook): Don't mess with it.
13916
13917 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13918 Use derived-mode-p. Run the diff asynchronously.
13919
13920 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13921
13922 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13923
13924 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13925
13926 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13927 (list-dynamic-libraries--loaded): New function.
13928 (list-dynamic-libraries--refresh): Use it.
13929
13930 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13931
13932 * progmodes/python.el (python-fill-paragraph):
13933 Make python-fill-region in a multiline string work when font-lock is
13934 disabled (bug#7018).
13935
13936 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13937
13938 * language/european.el (cp775): Add oem/legacy (en)coding on
13939 DOS/MS Windows for the Baltic languages. There are still plenty
13940 of texts written in this encoding/codepage (bug#6519).
13941
13942 2012-04-10 Glenn Morris <rgm@gnu.org>
13943
13944 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13945 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13946
13947 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13948
13949 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
13950 next-line "n" and previous-line "p" in order to make recentf more
13951 consistent with ibuffer, dired or org-mode (bug#9387).
13952
13953 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13954
13955 * image.el (put-image): Return the overlay created instead of the
13956 optional input string (bug#7834). Note that this may break code
13957 that is (for some reason or other) depending on `put-image'
13958 returning the string.
13959
13960 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
13961
13962 * simple.el (zap-to-char): Allow zapping using input methods
13963 (bug#1580).
13964
13965 * textmodes/fill.el (fill-region): Leave point and mark where they
13966 were before filling (bug#5399).
13967
13968 2012-04-09 Glenn Morris <rgm@gnu.org>
13969
13970 * version.el (emacs-bzr-get-version):
13971 Handle lightweight checkouts of local branches.
13972
13973 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
13974
13975 * international/characters.el: Recover lost case pairs. (Bug#11209)
13976
13977 2012-04-09 Chong Yidong <cyd@gnu.org>
13978
13979 * custom.el (custom-variable-p): Return nil for non-symbol
13980 arguments instead of signaling an error.
13981 (user-variable-p): Obsolete alias for custom-variable-p.
13982
13983 * apropos.el (apropos-variable):
13984 * files-x.el (read-file-local-variable):
13985 * simple.el (set-variable):
13986 * woman.el (woman-mini-help):
13987 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
13988
13989 2012-04-09 Glenn Morris <rgm@gnu.org>
13990
13991 * startup.el (normal-top-level): Don't look for leim-list.el
13992 in places where it will not be found. (Bug#910)
13993
13994 * international/mule-cmds.el (set-default-coding-systems):
13995 * files.el (normal-mode):
13996 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
13997 This function was removed with ucs-tables.el in 2008.
13998
13999 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14000
14001 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14002 ispell-encoding8-command to "-i", without a trailing space.
14003 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14004 separate command-line arguments, to specify the encoding, since
14005 that's how hunspell expects it.
14006
14007 2012-04-08 Glenn Morris <rgm@gnu.org>
14008
14009 * loadup.el: Load bindings before cus-start.
14010 This reduces somewhat the number of "rogue" settings in emacs -Q.
14011
14012 2012-04-07 Glenn Morris <rgm@gnu.org>
14013
14014 * version.el (emacs-bzr-get-version): New function.
14015 (emacs-bzr-version): New variable.
14016 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14017 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14018
14019 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14020
14021 * international/uni-bidi.el, international/uni-category.el:
14022 * international/uni-combining.el, international/uni-decimal.el:
14023 * international/uni-decomposition.el, international/uni-digit.el:
14024 * international/uni-lowercase.el, international/uni-mirrored.el:
14025 * international/uni-name.el, international/uni-numeric.el:
14026 * international/uni-titlecase.el, international/uni-uppercase.el:
14027 Update for Unicode 6.1.
14028
14029 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14030
14031 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14032
14033 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14034
14035 * window.el (shrink-window): Mention the `window-min-height'
14036 variable in the doc string.
14037
14038 2012-04-05 Bastien Guerry <bzg@altern.org>
14039
14040 * color.el (color-lighten-name): Fix typo.
14041
14042 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14043
14044 * server.el (server--on-display-p): New function.
14045 (server--on-display-p): Use it.
14046
14047 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14048
14049 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14050 (bug#11145).
14051
14052 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14053
14054 * comint.el (comint--common-quoted-suffix): Check string boundary
14055 before comparing (bug#11158).
14056 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14057
14058 2012-04-04 Chong Yidong <cyd@gnu.org>
14059
14060 * minibuffer.el (completion-extra-properties): Doc fix.
14061
14062 * subr.el (delayed-warnings-hook): Doc fix.
14063
14064 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14065
14066 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14067 selection (Bug#11159).
14068 (epa-insert-keys): Inform that the default public key will be
14069 exported if no key is selected.
14070
14071 2012-04-04 Richard Stallman <rms@gnu.org>
14072
14073 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14074
14075 2012-04-03 Chong Yidong <cyd@gnu.org>
14076
14077 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14078 mail-insert-file, not its obsolete alias mail-attach-file.
14079
14080 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14081
14082 * notifications.el (notifications-notify): Fix docstring.
14083
14084 2012-04-02 Glenn Morris <rgm@gnu.org>
14085
14086 * emacs-lisp/authors.el (authors-aliases): Another addition.
14087
14088 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14089
14090 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14091 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14092 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14093
14094 2012-04-01 Chong Yidong <cyd@gnu.org>
14095
14096 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14097 Handle root directory properly.
14098 (copy-directory): Caller changed.
14099
14100 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14101 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14102
14103 2012-03-31 Glenn Morris <rgm@gnu.org>
14104
14105 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14106
14107 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14108
14109 * calendar/calendar.el (calendar-window-list)
14110 (calendar-hide-window): Restore. (Bug#11140)
14111 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14112
14113 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14114
14115 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14116
14117 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14118 Check if file is a symlink (Bug#10489).
14119
14120 * files.el (copy-directory): Likewise.
14121
14122 2012-03-30 Chong Yidong <cyd@gnu.org>
14123
14124 * image.el (imagemagick-types-inhibit)
14125 (imagemagick-register-types): Doc fix.
14126
14127 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14128
14129 * textmodes/ispell.el (ispell-get-extended-character-mode):
14130 Disable extended-char-mode for hunspell. hunspell does not support it
14131 and treats ~word as ordinary words in pipe mode.
14132
14133 2012-03-30 Glenn Morris <rgm@gnu.org>
14134
14135 * tutorial.el (help-with-tutorial): Ensure local variables don't
14136 happen to make the buffer read-only. (Bug#11127)
14137
14138 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14139
14140 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14141 (perl-calculate-indent): Return `noindent' in strings.
14142
14143 2012-03-28 Sam Steingold <sds@gnu.org>
14144
14145 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14146 instead of the broken adhockery which does not prevent calendar
14147 buffers from being displayed at random after exit.
14148 (calendar-window-list, calendar-hide-window): Remove the broken
14149 adhockery.
14150
14151 2012-03-28 Glenn Morris <rgm@gnu.org>
14152
14153 * replace.el (query-replace-map): Doc fix.
14154
14155 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14156
14157 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14158 contents. (Bug#11109)
14159
14160 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14161
14162 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14163 (bug#11077).
14164 (avl-tree--check, avl-tree--check-node): New funs.
14165
14166 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14167
14168 * window.el (switch-to-visible-buffer): New option.
14169 (switch-to-prev-buffer, switch-to-next-buffer):
14170 Observe switch-to-visible-buffer. Make sure that checking for a window
14171 showing a buffer already is done on the same frame.
14172
14173 2012-03-27 Glenn Morris <rgm@gnu.org>
14174
14175 * startup.el (mail-host-address): Doc fix.
14176
14177 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14178
14179 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14180 than 197 variables.
14181
14182 2012-03-26 Ami Fischman <ami@fischman.org>
14183
14184 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14185
14186 2012-03-26 Glenn Morris <rgm@gnu.org>
14187
14188 * files.el (save-buffers-kill-emacs): Doc fix.
14189
14190 * startup.el (normal-top-level, command-line, command-line-1):
14191 Give them doc strings.
14192
14193 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14194
14195 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14196 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14197
14198 2012-03-25 Chong Yidong <cyd@gnu.org>
14199
14200 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14201 theme if it was previously enabled before (Bug#11031).
14202
14203 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14204 spec with custom-face-get-current-spec if its :shown-value is not
14205 determined yet (Bug#9337).
14206 (customize-create-theme, custom-theme-revert): Doc fixes.
14207
14208 * button.el (button-at): Minor addition to docstring.
14209
14210 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14211
14212 * vc/vc.el (vc-merge): Fix a prompt.
14213
14214 2012-03-24 Chong Yidong <cyd@gnu.org>
14215
14216 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14217 point (Bug#9623).
14218
14219 * button.el (button-at): Minor addition to docstring.
14220
14221 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14222
14223 * newcomment.el (comment-choose-indent): No space after BOL.
14224
14225 2012-03-22 Sam Steingold <sds@gnu.org>
14226
14227 * window.el (switch-to-prev-buffer): Revert last patch because the
14228 bug turned out to be an advertised feature (Elisp manual 28.14).
14229
14230 2012-03-22 Glenn Morris <rgm@gnu.org>
14231
14232 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14233 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14234
14235 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14236
14237 * net/network-stream.el (network-stream-open-starttls): Make error
14238 message under Windows be less misleading.
14239
14240 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14241
14242 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14243 understands (bug#9942).
14244
14245 2012-03-22 Chong Yidong <cyd@gnu.org>
14246
14247 * simple.el (end-of-visible-line): Handle return value of
14248 next-single-property-change properly (Bug#9371).
14249
14250 2012-03-22 Kenichi Handa <handa@m17n.org>
14251
14252 * international/quail.el (quail-insert-kbd-layout): Fix previous
14253 change. To avoid unwanted bidi reordering, use
14254 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14255
14256 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14257
14258 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14259 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14260 (ruby-beginning-of-indent): Be more careful with the difference
14261 between word-boundary and symbol boundary.
14262 (ruby-mode-syntax-table): Make : a symbol constituent.
14263
14264 2012-03-21 Andreas Politz <politza@fh-trier.de>
14265
14266 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14267
14268 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * progmodes/etags.el (tags-completion-at-point-function):
14271 Improve last fix.
14272
14273 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14274
14275 2012-03-21 Sam Steingold <sds@gnu.org>
14276
14277 * progmodes/etags.el (tags-completion-at-point-function):
14278 Avoid the error when point is inside the pattern.
14279
14280 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14281
14282 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14283 line (Bug#10855).
14284
14285 2012-03-21 Drew Adams <drew.adams@oracle.com>
14286
14287 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14288
14289 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14290
14291 * ido.el (ido-set-current-directory, ido-read-internal)
14292 (ido-choose-completion-string, ido-completion-help): Handle nil
14293 value of ido-completion-buffer (Bug#11008).
14294
14295 2012-03-21 Sam Steingold <sds@gnu.org>
14296
14297 * window.el (switch-to-prev-buffer): Do not switch to a visible
14298 window previous buffer, just like with the frame previous buffers.
14299
14300 2012-03-21 Chong Yidong <cyd@gnu.org>
14301
14302 * faces.el (make-face, make-empty-face, copy-face):
14303 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14304 Doc fixes.
14305
14306 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14307
14308 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14309 (widget-complete): Remove broken use of it.
14310
14311 2012-03-20 Chong Yidong <cyd@gnu.org>
14312
14313 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14314 Use string-width and truncate-string-width to handle arbitrary
14315 characters.
14316
14317 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14318
14319 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14320 to draw rectangles, not squares. (Regression introduced by revno
14321 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14322
14323 2012-03-18 Chong Yidong <cyd@gnu.org>
14324
14325 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14326 it is not yet defined (for temacs).
14327
14328 2012-03-18 Leo Liu <sdl.web@gmail.com>
14329
14330 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14331 prefix.
14332
14333 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14334
14335 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14336 (ispell-choices-win-default-height, ispell-silently-savep)
14337 (ispell-dictionary-alist, ispell-encoding8-command)
14338 (ispell-check-version, ispell-aspell-find-dictionary)
14339 (ispell-valid-dictionary-list, ispell-words-keyword)
14340 (ispell-get-word, ispell-internal-change-dictionary)
14341 (ispell-region, ispell-skip-region-list)
14342 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14343 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14344 (ispell-message-text-end, ispell-message)
14345 (ispell-buffer-local-parsing): Doc fix.
14346
14347 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14348
14349 * htmlfontify.el: Add support for code block fontification for ODT
14350 export (Bug #9914).
14351 (hfy-optimisations): Define new option
14352 `body-text-only'
14353 (hfy-fontify-buffer): Honor above setting.
14354 (hfy-begin-span, hfy-end-span): New routines factored out form
14355 `hfy-fontify-buffer'.
14356 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14357 that permit insertion of custom tags.
14358 (hfy-fontify-buffer): Use above handlers.
14359 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14360 (hfy-face-to-css): Re-defined to be a variable.
14361 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14362 over multiple runs. This is made possible by having the caller let
14363 bind a special variable `hfy-user-sheet-assoc'.
14364 (htmlfontify-string): New defun.
14365 (hfy-compile-face-map): Make sure that the last char in the
14366 buffer is correctly fontified.
14367 (hfy-face-resolve-face): Whitespace only change.
14368
14369 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14370
14371 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14372 message more clear.
14373
14374 2012-03-16 Leo Liu <sdl.web@gmail.com>
14375
14376 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14377
14378 2012-03-16 Alan Mackenzie <acm@muc.de>
14379
14380 Further optimize the handling of large macros.
14381
14382 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14383 limit to a call of `c-literal-limits'.
14384 (c-determine-+ve-limit): New function.
14385 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14386 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14387 In CASE 5B, restrict a search limit to 500.
14388 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14389
14390 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14391 Restrict macro bounds to +-500 from after-change's BEG END.
14392
14393 2012-03-16 Leo Liu <sdl.web@gmail.com>
14394
14395 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14396
14397 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14398
14399 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14400 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14401
14402 2012-03-16 Glenn Morris <rgm@gnu.org>
14403
14404 * view.el (view-buffer, view-buffer-other-window)
14405 (view-buffer-other-frame): Doc fixes re special mode-class.
14406
14407 * subr.el (eval-after-load): If named feature is provided not from
14408 a file, run after-load forms. (Bug#10946)
14409
14410 * calendar/calendar.el (calendar-insert-at-column):
14411 Handle non-unit-width characters a bit better. (Bug#10978)
14412
14413 2012-03-15 Chong Yidong <cyd@gnu.org>
14414
14415 * emacs-lisp/ring.el (ring-extend): New function.
14416 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14417
14418 * comint.el (comint-read-input-ring)
14419 (comint-add-to-input-history): Grow comint-input-ring lazily.
14420
14421 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14422
14423 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14424 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14425
14426 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14427 (imenu-add-to-menubar): Don't add a redundant index.
14428 (imenu-update-menubar): Handle a dynamically composed keymap.
14429
14430 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14431
14432 * mail/sendmail.el (mail-encode-header):
14433 Bind rfc2047-encode-encoded-words to nil.
14434
14435 2012-03-13 Glenn Morris <rgm@gnu.org>
14436
14437 * calendar/calendar.el (calendar-string-spread):
14438 Handle non-unit-width characters a bit better. (Bug#10978)
14439
14440 2012-03-13 Leo Liu <sdl.web@gmail.com>
14441
14442 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14443 directory and file as argument (Bug#10822).
14444
14445 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14446
14447 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14448 For dynamically generated code, follow $PC.
14449 (gdb-disassembly-handler-custom): Handle no function name case.
14450
14451 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14452
14453 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14454 * emulation/ws-mode.el (ws-query-replace):
14455 * sort.el (sort-regexp-fields):
14456 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14457
14458 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14459
14460 * dabbrev.el: Fix cycle completion order (bug#10963).
14461 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14462 (dabbrev-completion): Don't use an obarray; provide
14463 a cycle-sort-function.
14464
14465 2012-03-12 Leo Liu <sdl.web@gmail.com>
14466
14467 * simple.el (kill-new): Use equal-including-properties for comparison.
14468 (kill-do-not-save-duplicates): Doc fix.
14469
14470 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14471
14472 * dabbrev.el: Fix cycle completion (bug#10963).
14473 Use lexical binding and wrap to 80 columns.
14474 (dabbrev-completion): Delay computing the list of completions.
14475
14476 2012-03-12 Kenichi Handa <handa@m17n.org>
14477
14478 * international/quail.el (quail-insert-kbd-layout): Surround each
14479 row by LRO and PDF instead of inserting many LRMs. Pad the left
14480 and right of each non-spacing marks. Insert invisible space
14481 between lower and upper characters to prevent composition.
14482
14483 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14484
14485 * minibuffer.el (minibuffer-complete): Don't get confused when the
14486 function is run twice via different commands (bug#10958).
14487 (complete-with-action): Fix docstring.
14488
14489 2012-03-12 Chong Yidong <cyd@gnu.org>
14490
14491 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14492 (nxml-completion-at-point-function): New function.
14493 (nxml-mode): Use it.
14494 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14495
14496 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14497 Load generated autoloads file before byte compiling (Bug#10970).
14498 (package--make-autoloads-and-compile): New helper fun.
14499
14500 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14501
14502 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14503
14504 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14505
14506 * autorevert.el (auto-revert-handler): Ensure, that
14507 file-readable-p is applied only for local files or in
14508 auto-revert-tail-mode.
14509
14510 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14511
14512 * server.el (server-eval-at): Handle non-tcp connections.
14513 Decode result string.
14514
14515 * server.el (server-msg-size): New constant.
14516 (server-reply-print): New function.
14517 (server-eval-and-print): Use it.
14518 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14519 Handle -print-nonl.
14520
14521 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14522
14523 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14524 (Bug#10987).
14525
14526 2012-03-11 Chong Yidong <cyd@gnu.org>
14527
14528 * simple.el (goto-line): Doc fix (Bug#9938).
14529
14530 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14531
14532 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14533 when finished (Bug#10963).
14534
14535 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14536
14537 * window.el (split-window-below): Fix bug in case where
14538 split-window-keep-point is nil (Bug#10971).
14539
14540 2012-03-11 Juri Linkov <juri@jurta.org>
14541
14542 * replace.el (replace-highlight): Set isearch-word to nil
14543 unconditionally. (Bug#10887)
14544
14545 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14546
14547 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14548 mairix-replace-illegal-chars; all callers changed. Don't remove
14549 ^, ~, and = characters: they are meaningful in mairix search specs.
14550 (mairix-widget-create-query): Add usage information about mairix
14551 search forms: negating words, searching for substrings, etc.
14552
14553 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14554
14555 * international/fontset.el (font-encoding-alist): Add an entry for
14556 ksx1001 (Bug#5667).
14557
14558 2012-03-10 Richard Stallman <rms@gnu.org>
14559
14560 * mail/sendmail.el (mail-encode-header):
14561 Set rfc2047-encode-encoded-words.
14562
14563 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14564
14565 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14566 view buffer means not swapped.
14567 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14568 (rmail-write-region-annotate): Error if real text has disappeared.
14569
14570 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14571
14572 2012-03-10 Chong Yidong <cyd@gnu.org>
14573
14574 * emulation/cua-rect.el (cua--init-rectangles):
14575 * emulation/cua-base.el (cua--init-keymaps):
14576 Add delete-forward-char to remappings (Bug#9666).
14577
14578 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14579
14580 * speedbar.el (speedbar-unhighlight-one-tag-line):
14581 Avoid unhighlighting due to frame switching (Bug#10275).
14582
14583 2012-03-10 Chong Yidong <cyd@gnu.org>
14584
14585 * minibuffer.el (completion-in-region, completion-help-at-point):
14586 Give the completion field overlay a high priority (Bug#6830).
14587
14588 * dired.el (dired-goto-file): Recognize absolute file name
14589 listings (Bug#7126).
14590 (dired-goto-file-1): New helper function.
14591 (dired-toggle-read-only): Inhibit warnings.
14592
14593 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14594
14595 * net/dbus.el (dbus-property-handler): Return empty array if
14596 there are no properties.
14597
14598 2012-03-09 Leo Liu <sdl.web@gmail.com>
14599
14600 * savehist.el (savehist-printable): Stricter check for string
14601 value (Bug#10937).
14602
14603 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14604
14605 * mail/smtpmail.el (smtpmail-send-it):
14606 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14607 valid mbox format.
14608
14609 2012-03-09 Glenn Morris <rgm@gnu.org>
14610
14611 * files.el (dir-locals-find-file):
14612 Don't check result is regular, readable.
14613 (dir-locals-read-from-file): Demote errors.
14614
14615 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14616
14617 * international/quail.el (quail-insert-kbd-layout):
14618 Insert invisible LRM characters before each character in a keyboard
14619 layout cell, to prevent their reordering by bidi display engine.
14620 For details, see the discussion in
14621 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14622
14623 2012-03-08 Alan Mackenzie <acm@muc.de>
14624
14625 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14626 the starting position; make it extend the marked region when
14627 invoked repeatedly - all under appropriate circumstances.
14628 Fixes bugs #5525, #10906.
14629
14630 2012-03-08 Glenn Morris <rgm@gnu.org>
14631
14632 * files.el (locate-dominating-file, dir-locals-find-file):
14633 Undo 2012-03-06 change.
14634
14635 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14636
14637 * international/quail.el (quail-help):
14638 Force bidi-paragraph-direction be left-to-right. See discussion in
14639 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14640 for the reason.
14641
14642 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14643
14644 Avoid superfluous registering of signals. (Bug#10807)
14645
14646 * notifications.el (notifications-on-action-object)
14647 (notifications-on-close-object): New defvars.
14648 (notifications-on-action-signal, notifications-on-closed-signal):
14649 Unregister the signal if not needed any longer.
14650 (notifications-notify): Register `notifications-action-signal' or
14651 `notifications-closed-signal', if :on-action or :on-close has been
14652 passed as argument.
14653
14654 2012-03-07 Chong Yidong <cyd@gnu.org>
14655
14656 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14657 non-X platforms.
14658
14659 2012-03-06 Glenn Morris <rgm@gnu.org>
14660
14661 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14662 (x-disown-selection-internal, x-get-selection-internal):
14663 Doc fix (add arglist signatures). (Bug#10783)
14664
14665 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14666
14667 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14668 Handle breakpoints with no "type".
14669
14670 2012-03-06 Glenn Morris <rgm@gnu.org>
14671
14672 * files.el (locate-dominating-file): Add optional predicate argument.
14673 (dir-locals-find-file): Make use of above change.
14674
14675 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14676
14677 * info.el (Info-insert-dir): Also try "dir.gz".
14678
14679 2012-03-06 Glenn Morris <rgm@gnu.org>
14680
14681 * files.el (dir-locals-find-file):
14682 Ignore non-readable or non-regular files. (Bug#10928)
14683
14684 * files.el (locate-dominating-file): Doc fix.
14685
14686 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14687
14688 * calendar/calendar.el (calendar-set-mode-line):
14689 `getenv' returns a string. (Bug#10951)
14690
14691 2012-03-05 Leo Liu <sdl.web@gmail.com>
14692
14693 * simple.el (backward-delete-char-untabify): Constrain point to
14694 field (Bug#10939).
14695
14696 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14697
14698 2012-03-05 Chong Yidong <cyd@gnu.org>
14699
14700 * simple.el (count-words): If called from Lisp, return the word
14701 count, for symmetry with `count-lines'. Arglist changed.
14702 (count-words--message): Args changed. Consolidate counting code
14703 from count-words and count-words-region.
14704 (count-words-region): Caller changed.
14705 (count-lines-region): Make it an obsolete alias.
14706
14707 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14708
14709 * saveplace.el (save-place-to-alist)
14710 (save-place-ignore-files-regexp): Allow value nil to disable this
14711 feature.
14712
14713 2012-03-04 Chong Yidong <cyd@gnu.org>
14714
14715 * faces.el (face-spec-reset-face): For the default face, reset the
14716 attributes to default values (Bug#10748).
14717
14718 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14719
14720 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14721 previous patch: Check `message-send-mail-function', and not the
14722 default function (bug#10897).
14723
14724 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14725
14726 * notifications.el (notifications-on-action-signal)
14727 (notifications-on-closed-signal): Check for unique service name of
14728 incoming event. Fix error in removing entry.
14729 (top): Register for signals with wildcard service name.
14730 (notifications-notify): Use daemon unique service name for map entries.
14731
14732 2012-03-04 Chong Yidong <cyd@gnu.org>
14733
14734 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14735
14736 2012-03-04 Glenn Morris <rgm@gnu.org>
14737
14738 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14739 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14740 (expand-abbrev, define-abbrev-table): Doc fixes.
14741
14742 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14743
14744 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14745 `message-default-send-mail-function' and not `send-mail-function'
14746 when doing the prompting for `sendmail-query-once' before sending
14747 in Message buffers (bug#10897).
14748
14749 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14750 This is inconsistent with all the other stream functions, which leave
14751 the setting up to the higher levels (if so wanted) (bug#10931).
14752
14753 2012-03-02 Alan Mackenzie <acm@muc.de>
14754
14755 Depessimize the handling of very large macros.
14756
14757 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14758 (c-macro-cache-syntactic): New variables to implement a one
14759 element macro cache.
14760 (c-invalidate-macro-cache): New function.
14761 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14762 Adapt to use the new cache.
14763 (c-state-safe-place): Use better the cache of safe positions.
14764 (c-state-semi-nonlit-pos-cache)
14765 (c-state-semi-nonlit-pos-cache-limit):
14766 New variables for...
14767 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14768 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14769 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14770 Use c-state-semi-safe-place.
14771
14772 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14773 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14774
14775 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14776
14777 * jka-compr.el (jka-compr-call-process):
14778 Apply `file-accessible-directory-p' only when the default directory is
14779 not remote.
14780
14781 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14782
14783 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14784 access of FILE2, if FILE1 does not exist.
14785
14786 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14787 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14788
14789 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14790 Add "PAGER=" to `process-environment'.
14791
14792 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14793
14794 * progmodes/sql.el: Bug fix
14795 (sql-get-login-ext): Save login values in globals.
14796 (sql-get-login): Use new version of `sql-get-login-ext'.
14797 (sql-interactive-mode): Set global `sql-connection' to nil.
14798 (sql-connect): Set global values for connection.
14799 (sql-product-interactive): Save global values as buffer local.
14800
14801 2012-02-29 Leo Liu <sdl.web@gmail.com>
14802
14803 * abbrev.el (define-abbrevs): Reset sys to nil.
14804
14805 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14806
14807 * files.el (file-equal-p): Rename from `files-equal-p'.
14808 Return nil when one or both files don't exist.
14809 (file-subdir-of-p): Now only top directory must exists,
14810 return nil if it doesn't.
14811 (copy-directory): No need to test with `file-subdir-of-p' after
14812 creating dir.
14813 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14814 to `file-equal-p'.
14815
14816 2012-02-28 Glenn Morris <rgm@gnu.org>
14817
14818 * shell.el (shell-mode):
14819 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14820 * play/landmark.el (landmark-font-lock-face-O):
14821 * play/handwrite.el (handwrite):
14822 * play/gomoku.el (gomoku-O):
14823 * net/browse-url.el (browse-url-browser-display):
14824 * international/mule.el (define-charset):
14825 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14826 * filesets.el (filesets-find-file-delay):
14827 * eshell/em-xtra.el (eshell-xtra):
14828 * eshell/em-unix.el (eshell-grep):
14829 * emulation/viper.el (viper-mode):
14830 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14831 * emacs-lisp/easymenu.el (easy-menu-define):
14832 * calendar/timeclock.el (timeclock-use-display-time):
14833 * bs.el (bs-mode):
14834 * bookmark.el (bookmark-save-flag):
14835 Doc fix (standardize possessive apostrophe usage).
14836
14837 2012-02-27 Chong Yidong <cyd@gnu.org>
14838
14839 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14840 Fix key-binding lookup for ESC key (Bug#9146).
14841
14842 * font-lock.el (font-lock-specified-p): Rename from
14843 font-lock-spec-present. Callers changed.
14844
14845 2012-02-27 Daniel Hackney <dan@haxney.org>
14846
14847 * emacs-lisp/package.el (package-compute-transaction):
14848 Handle holding a package version to t in package-load-list.
14849
14850 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14851
14852 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14853 (tramp-get-inode, tramp-get-device): Use cached values.
14854
14855 2012-02-26 Alan Mackenzie <acm@muc.de>
14856
14857 Check there is a font-lock specification before doing initial
14858 fontification.
14859
14860 * font-core.el (font-lock-mode): Move the conditional from
14861 :after-hook to font-lock-initial-fontify.
14862 (font-lock-default-function): Move the check for a specification
14863 to font-lock-spec-present.
14864
14865 * font-lock.el (font-lock-initial-fontify): Call ...
14866 (font-lock-spec-present): New function.
14867
14868 2012-02-26 Jim Blandy <jimb@red-bean.com>
14869
14870 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14871 (gdb-send): Apply it to the operand of the '-interpreter-exec
14872 console' command, so that we can pass arguments with (say) quotes
14873 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14874
14875 2012-02-26 Chong Yidong <cyd@gnu.org>
14876
14877 * help-fns.el (describe-function-1): Clarify description of
14878 remapping (Bug#10844).
14879
14880 * files.el (files-equal-p): Doc fix.
14881 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14882 and quit the loop once a mismatch is found.
14883
14884 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14885
14886 * bs.el (bs--show-with-configuration): Don't throw an error
14887 if the window cannot be split; otherwise, subsequent calls to
14888 bs-show fail, restoring a stale window config. (Bug#10882)
14889
14890 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14891
14892 * term/ns-win.el (global-map): Bind ns-drag-file to
14893 ns-find-file (Bug#5855, Bug#10050).
14894
14895 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14896
14897 * calendar/parse-time.el (parse-time-string): Allow extractor to
14898 return nil.
14899
14900 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14901
14902 * net/tramp.el (tramp-file-name-for-operation):
14903 Add `files-equal-p' and `file-subdir-of-p'.
14904
14905 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14906 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14907 Add COPY-CONTENTS argument.
14908
14909 2012-02-25 Chong Yidong <cyd@gnu.org>
14910
14911 Add custom groups for VC backends, for consistency with vc-bzr.
14912
14913 * vc/vc-arch.el (vc-arch):
14914 * vc/vc-cvs.el (vc-cvs):
14915 * vc/vc-git.el (vc-git):
14916 * vc/vc-hg.el (vc-hg):
14917 * vc/vc-mtn.el (vc-mtn):
14918 * vc/vc-rcs.el (vc-rcs):
14919 * vc/vc-sccs.el (vc-sccs):
14920 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14921 All relevant defcustoms reassigned.
14922
14923 2012-02-25 Chong Yidong <cyd@gnu.org>
14924
14925 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14926
14927 * term/x-win.el (x-initialize-window-system): Reduce default for
14928 x-selection-timeout to 5 seconds (Bug#8869).
14929
14930 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14931
14932 * files.el (files-equal-p, file-subdir-of-p): New functions.
14933 (copy-directory): Error when trying to copy a directory on itself.
14934 Add missing copy-contents arg to tramp handler.
14935 * dired-aux.el (dired-copy-file-recursive): Same.
14936 (dired-create-files): Modify destination when source is equal to
14937 dest when copying files.
14938 Return also when dest is a subdir of source. (Bug#10489)
14939
14940 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14941
14942 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14943 (Bug#10874)
14944
14945 2012-02-23 Alan Mackenzie <acm@muc.de>
14946
14947 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14948 parameter "after-hook:" to allow the expansion to run code after
14949 the execution of the mode hooks.
14950
14951 * font-lock.el (font-lock-initial-fontify): New function extracted
14952 from font-lock-mode-internal.
14953
14954 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
14955 :after-hook.
14956
14957 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14958
14959 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
14960 (completion--cache-all-sorted-completions): New function.
14961 (completion-all-sorted-completions): Use it.
14962 (completion--do-completion, minibuffer-force-complete):
14963 Use it to re-instate the flush hook.
14964
14965 * icomplete.el (icomplete-completions): Replace last fix with a better
14966 one (bug#10850).
14967
14968 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
14969
14970 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
14971 when it might call us back infinitely (bug#10797).
14972
14973 2012-02-23 Glenn Morris <rgm@gnu.org>
14974
14975 * minibuffer.el (completion-category-overrides): Doc fix.
14976
14977 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
14978
14979 * minibuffer.el (completion-table-with-context): Fix inf-loop.
14980 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
14981
14982 2012-02-23 Glenn Morris <rgm@gnu.org>
14983
14984 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
14985 (authors-obsolete-files-regexps, authors-ignored-files)
14986 (authors-ambiguous-files, authors-renamed-files-alist):
14987 Add more entries.
14988
14989 2012-02-23 Juri Linkov <juri@jurta.org>
14990
14991 * isearch.el (isearch-occur): Sync interactive spec with occur's
14992 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
14993
14994 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
14995
14996 2012-02-22 Juri Linkov <juri@jurta.org>
14997
14998 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
14999 (ucs-insert): Doc fix. Check for hex digits in the string.
15000 Don't display `nil' in the error message. (Bug#10857)
15001
15002 2012-02-22 Alan Mackenzie <acm@muc.de>
15003
15004 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15005
15006 2012-02-22 Glenn Morris <rgm@gnu.org>
15007
15008 * ffap.el (ffap-c-path):
15009 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15010
15011 2012-02-22 Chong Yidong <cyd@gnu.org>
15012
15013 * custom.el (load-theme): Doc fix.
15014
15015 2012-02-22 Glenn Morris <rgm@gnu.org>
15016
15017 * dired-x.el (dired-guess-shell-alist-default):
15018 Remove escape sequences from nroff output. (Bug#172)
15019
15020 2012-02-21 Glenn Morris <rgm@gnu.org>
15021
15022 * vc/emerge.el (emerge-defvar-local):
15023 Set `permanent-local' property rather than unused `preserved'.
15024
15025 * textmodes/picture.el (picture-delete-char): New alias.
15026 (picture-mode-map): Use it. (Bug#10860)
15027 (picture-mode): Doc fix.
15028
15029 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15030
15031 * newcomment.el (uncomment-region-default): Remove unused binding.
15032
15033 2012-02-21 Glenn Morris <rgm@gnu.org>
15034
15035 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15036 (picture-self-insert, picture-tab-chars): Doc fix.
15037 (picture-mode-map): Fix C-a, C-e.
15038
15039 2012-02-20 Glenn Morris <rgm@gnu.org>
15040
15041 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15042
15043 2012-02-20 Leo Liu <sdl.web@gmail.com>
15044
15045 * icomplete.el (icomplete-completions): Check FROM arg before
15046 passing to substring (Bug#10850).
15047
15048 2012-02-19 Chong Yidong <cyd@gnu.org>
15049
15050 * comint.el: Require ansi-color.
15051 (comint-output-filter-functions): Add ansi-color-process-output.
15052
15053 * ansi-color.el: Don't set comint-output-filter-functions; it is
15054 now in the initial value defined in comint.el.
15055 (ansi-color-apply-face-function): New variable.
15056 (ansi-color-apply-on-region): Use it.
15057 (ansi-color-apply-overlay-face): New function.
15058
15059 * shell.el (shell): No need to require ansi-color.
15060 (shell-mode): Use ansi-color-apply-face-function to highlight
15061 color escapes using font-lock-face property (Bug#10835).
15062
15063 2012-02-19 Chong Yidong <cyd@gnu.org>
15064
15065 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15066 mode-line formats (Bug#10839).
15067
15068 2012-02-18 Glenn Morris <rgm@gnu.org>
15069
15070 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15071
15072 * mail/undigest.el (unforward-rmail-message): Doc fix.
15073
15074 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15075
15076 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15077
15078 * international/characters.el (script-list): Sync with the latest
15079 Unicode Character Database.
15080
15081 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15082
15083 * international/titdic-cnv.el: Remove duplicate coding tag.
15084 * language/cham.el: Likewise.
15085 * language/tai-viet.el: Likewise.
15086
15087 2012-02-18 Glenn Morris <rgm@gnu.org>
15088
15089 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15090 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15091 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15092 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15093 * calendar/holidays.el (holiday-bahai-holidays)
15094 (calendar-holidays, list-holidays):
15095 Use utf-8 Bahá'í in doc-strings, menus, etc.
15096
15097 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15098
15099 * saveplace.el (save-place-ignore-files-regexp): New variable
15100 allowing for excluding files from saving their location of point.
15101 The default value matches the temporary commit message editing
15102 files from Git, SVN, Bazaar, and Mercurial.
15103 (save-place-to-alist): Use it.
15104
15105 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15106 Stefan Monnier <monnier@iro.umontreal.ca>
15107
15108 * newcomment.el (uncomment-region-default): Don't leave extra space
15109 when an arg is provided (bug#8150).
15110
15111 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15112
15113 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15114
15115 2012-02-17 Glenn Morris <rgm@gnu.org>
15116
15117 * net/socks.el: Require network-stream. (Bug#10599)
15118
15119 2012-02-17 Kenichi Handa <handa@m17n.org>
15120
15121 * international/charprop.el:
15122 * international/uni-name.el:
15123 * international/uni-old-name.el:
15124 * international/uni-comment.el: Regenerate.
15125
15126 2012-02-16 Glenn Morris <rgm@gnu.org>
15127
15128 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15129 Interactively in calendar buffer, give an error if not on a date.
15130
15131 2012-02-15 Glenn Morris <rgm@gnu.org>
15132
15133 * shell.el (shell-delimiter-argument-list):
15134 Revert 2011-02-17 change. (Bug#8027)
15135
15136 2012-02-15 Chong Yidong <cyd@gnu.org>
15137
15138 * minibuffer.el (completion-at-point-functions): Doc fix.
15139
15140 * custom.el (defcustom): Doc fix; note use of defvar.
15141
15142 2012-02-15 Glenn Morris <rgm@gnu.org>
15143
15144 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15145 Doc fixes.
15146
15147 2012-02-14 Glenn Morris <rgm@gnu.org>
15148
15149 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15150
15151 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15152
15153 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15154 way the ports list is computed.
15155 (smtpmail-query-smtp-server): Prompt the user for a port number if
15156 we can't connect to any of the standard ports (bug#10810).
15157
15158 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15159
15160 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15161
15162 2012-02-13 Glenn Morris <rgm@gnu.org>
15163
15164 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15165
15166 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15167
15168 * net/gnutls.el (gnutls-trustfiles): New variable.
15169 (gnutls-negotiate): Use it.
15170
15171 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15172
15173 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15174 does its stuff if Gnus is running.
15175
15176 2012-02-13 Alan Mackenzie <acm@muc.de>
15177
15178 Fix a loop in c-set-fl-decl-start.
15179
15180 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15181 c-backward-syntactic-ws actually moves backwards.
15182
15183 2012-02-13 Leo Liu <sdl.web@gmail.com>
15184
15185 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15186 beginning so that all \C-o chars are removed.
15187
15188 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15189
15190 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15191
15192 2012-02-12 Alan Mackenzie <acm@muc.de>
15193
15194 Fix infinite loop with long macros.
15195 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15196
15197 2012-02-12 Chong Yidong <cyd@gnu.org>
15198
15199 * window.el (display-buffer): Doc fix (Bug#10785).
15200
15201 2012-02-12 Glenn Morris <rgm@gnu.org>
15202
15203 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15204 (x-disown-selection-internal, x-get-selection-internal):
15205 Sync docs with the xselect.c versions.
15206
15207 * allout-widgets.el: Add missing license notice.
15208
15209 2012-02-11 Glenn Morris <rgm@gnu.org>
15210
15211 * select.el (x-get-selection-internal, x-own-selection-internal)
15212 (x-disown-selection-internal):
15213 * x-dnd.el (x-get-selection-internal): Update declarations.
15214
15215 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15216
15217 * window.el (window-sides-slots):
15218 * tool-bar.el (tool-bar-position):
15219 * term/xterm.el (xterm-extra-capabilities):
15220 * ses.el (ses-self-reference-early-detection):
15221 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15222 (verilog-auto-wire-type)
15223 (verilog-auto-delete-trailing-whitespace)
15224 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15225 (verilog-auto-tieoff-declaration):
15226 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15227 (sql-oracle-statement-starters, sql-oracle-scan-on):
15228 * progmodes/prolog.el (prolog-align-comments-flag)
15229 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15230 (prolog-left-indent-regexp, prolog-paren-indent-p)
15231 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15232 (prolog-types, prolog-mode-specificators)
15233 (prolog-determinism-specificators, prolog-directives)
15234 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15235 (prolog-electric-dot-flag)
15236 (prolog-electric-dot-full-predicate-template)
15237 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15238 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15239 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15240 (prolog-program-switches, prolog-prompt-regexp)
15241 (prolog-debug-on-string, prolog-debug-off-string)
15242 (prolog-trace-on-string, prolog-trace-off-string)
15243 (prolog-zip-on-string, prolog-zip-off-string)
15244 (prolog-use-standard-consult-compile-method-flag)
15245 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15246 (prolog-imenu-max-lines, prolog-info-predicate-index)
15247 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15248 (prolog-char-quote-workaround):
15249 * progmodes/cc-vars.el (c-defun-tactic):
15250 * net/tramp.el (tramp-encoding-command-interactive)
15251 (tramp-local-end-of-line):
15252 * net/soap-client.el (soap-client):
15253 * net/netrc.el (netrc-file):
15254 * net/gnutls.el (gnutls):
15255 * minibuffer.el (completion-category-overrides)
15256 (completion-cycle-threshold)
15257 (completion-pcm-complete-word-inserts-delimiters):
15258 * man.el (Man-name-local-regexp):
15259 * mail/feedmail.el (feedmail-display-full-frame):
15260 * international/characters.el (glyphless-char-display-control):
15261 * eshell/em-ls.el (eshell-ls-date-format):
15262 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15263 (lisp-lambda-list-keyword-parameter-indentation)
15264 (lisp-lambda-list-keyword-parameter-alignment):
15265 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15266 * dired-x.el (dired-omit-verbose):
15267 * cus-theme.el (custom-theme-allow-multiple-selections):
15268 * calc/calc.el (calc-highlight-selections-with-faces)
15269 (calc-lu-field-reference, calc-lu-power-reference)
15270 (calc-note-threshold):
15271 * battery.el (battery-mode-line-limit):
15272 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15273 (archive-7z-update):
15274 * allout.el (allout-prefixed-keybindings)
15275 (allout-unprefixed-keybindings)
15276 (allout-inhibit-auto-fill-on-headline)
15277 (allout-flattened-numbering-abbreviation):
15278 * allout-widgets.el (allout-widgets-auto-activation)
15279 (allout-widgets-icons-dark-subdir)
15280 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15281 (allout-widgets-theme-dark-background)
15282 (allout-widgets-theme-light-background)
15283 (allout-widgets-item-image-properties-emacs)
15284 (allout-widgets-item-image-properties-xemacs)
15285 (allout-widgets-run-unit-tests-on-load)
15286 (allout-widgets-time-decoration-activity)
15287 (allout-widgets-hook-error-post-time)
15288 (allout-widgets-track-decoration):
15289 Add missing :version tags to new defcustoms and defgroups.
15290
15291 * progmodes/sql.el (sql-ansi-statement-starters)
15292 (sql-oracle-statement-starters): Add custom type.
15293
15294 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15295 (prolog-system-version): Give it a type.
15296
15297 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15298
15299 * term/pc-win.el (x-select-text, x-selection-owner-p)
15300 (x-own-selection-internal, x-disown-selection-internal)
15301 (x-get-selection-internal): Sync doc strings and argument lists
15302 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15303
15304 2012-02-11 Leo Liu <sdl.web@gmail.com>
15305
15306 * progmodes/python.el (python-end-of-statement): Fix infinite
15307 loop. (Bug#10788)
15308
15309 2012-02-10 Glenn Morris <rgm@gnu.org>
15310
15311 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15312 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15313
15314 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15315
15316 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15317 about SMTP before checking the From header.
15318
15319 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15320 into own function for reuse by emacsbug.el.
15321
15322 2012-02-10 Leo Liu <sdl.web@gmail.com>
15323
15324 * subr.el (condition-case-unless-debug): Rename from
15325 condition-case-no-debug. All callers changed.
15326 (with-demoted-errors): Fix caller.
15327
15328 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15329 * nxml/rng-valid.el (rng-do-some-validation):
15330 * emacs-lisp/package.el (package-refresh-contents)
15331 (package-menu-execute):
15332 * desktop.el (desktop-create-buffer):
15333 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15334
15335 2012-02-10 Glenn Morris <rgm@gnu.org>
15336
15337 * textmodes/bibtex.el:
15338 Add missing :version tags for new/changed defcustoms.
15339
15340 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15341
15342 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15343
15344 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15345 (smtpmail-via-smtp): Use it, or fall back on the From address.
15346 (smtpmail-send-it): Ditto.
15347
15348 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15349
15350 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15351 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15352 (byte-compile-tmp-var): New const.
15353 (byte-compile-defvar): Use it to minimize .elc size.
15354 Just use `defvar' rather than simulate it (bug#10761).
15355
15356 2012-02-09 Glenn Morris <rgm@gnu.org>
15357
15358 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15359
15360 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15361 Add :version tags.
15362
15363 * progmodes/compile.el (compilation-error-screen-columns)
15364 (compilation-first-column, compilation-filter-start): Doc fixes.
15365
15366 * vc/log-view.el (log-view-toggle-entry-display):
15367 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15368
15369 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15370 (report-emacs-bug-can-use-xdg-email):
15371 (report-emacs-bug-insert-to-mailer): Doc fixes.
15372 (report-emacs-bug): Message fix.
15373
15374 * net/browse-url.el (browse-url-can-use-xdg-open)
15375 (browse-url-xdg-open): Doc fixes.
15376
15377 * electric.el (electric-indent-mode, electric-pair-mode)
15378 (electric-layout-rules, electric-layout-mode): Doc fixes.
15379 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15380
15381 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15382
15383 * server.el (server-unselect-display): Don't inadvertently kill
15384 the current buffer. (Bug#10729)
15385
15386 2012-02-08 Glenn Morris <rgm@gnu.org>
15387
15388 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15389 (sql-list-table): Doc fixes.
15390
15391 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15392 Comment out (does nothing).
15393
15394 * completion.el (dynamic-completion-mode):
15395 * dirtrack.el (dirtrack-debug-mode):
15396 * electric.el (electric-layout-mode):
15397 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15398 * face-remap.el (text-scale-mode, buffer-face-mode):
15399 * iimage.el (iimage-mode):
15400 * image-mode.el (image-transform-mode):
15401 * minibuffer.el (completion-in-region-mode):
15402 * scroll-lock.el (scroll-lock-mode):
15403 * simple.el (next-error-follow-minor-mode):
15404 * tar-mode.el (tar-subfile-mode):
15405 * tooltip.el (tooltip-mode):
15406 * vcursor.el (vcursor-use-vcursor-map):
15407 * wid-browse.el (widget-minor-mode):
15408 * emulation/tpu-edt.el (tpu-edt-mode):
15409 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15410 * international/iso-ascii.el (iso-ascii-mode):
15411 * language/thai-util.el (thai-word-mode):
15412 * mail/supercite.el (sc-minor-mode):
15413 * net/goto-addr.el (goto-address-mode):
15414 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15415 * progmodes/cwarn.el (cwarn-mode):
15416 * progmodes/flymake.el (flymake-mode):
15417 * progmodes/glasses.el (glasses-mode):
15418 * progmodes/hideshow.el (hs-minor-mode):
15419 * progmodes/pascal.el (pascal-outline-mode):
15420 * textmodes/enriched.el (enriched-mode):
15421 * vc/smerge-mode.el (smerge-mode):
15422 Doc fixes (minor mode argument).
15423
15424 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15425
15426 * ls-lisp.el (ls-lisp-sanitize): New function.
15427 (ls-lisp-insert-directory): Use it to fix or remove any elements
15428 in file-alist with missing attributes. (Bug#4673)
15429
15430 2012-02-07 Alan Mackenzie <acm@muc.de>
15431
15432 Fix spurious recognition of c-in-knr-argdecl.
15433
15434 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15435 putative K&R region.
15436
15437 2012-02-07 Alan Mackenzie <acm@muc.de>
15438
15439 * progmodes/cc-engine.el (c-forward-objc-directive):
15440 Prevent looping in "#pragma mark @implementation".
15441
15442 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15443
15444 * notifications.el (notifications-on-closed-signal): Make `reason'
15445 optional. (Bug#10744)
15446
15447 2012-02-07 Glenn Morris <rgm@gnu.org>
15448
15449 * emacs-lisp/easy-mmode.el (define-minor-mode):
15450 Doc fixes for the macro and the mode it defines.
15451
15452 * image.el (imagemagick-types-inhibit): Doc fix.
15453
15454 * cus-start.el (imagemagick-render-type): Add it.
15455
15456 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15457
15458 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15459 Set the default at load time, too, so that `font-lock-fontify-buffer'
15460 can be called without setting up the entire mode first. This fixes
15461 a bug in `mm-inline-text' with C MIME parts.
15462
15463 2012-02-06 Chong Yidong <cyd@gnu.org>
15464
15465 * simple.el (list-processes--refresh): Delete exited processes
15466 (Bug#8094).
15467
15468 * comint.el (comint-next-prompt): next-single-char-property-change
15469 and prev-single-char-property-change never return nil (Bug#8657).
15470
15471 * custom.el (defcustom): Doc fix (Bug#9711).
15472
15473 2012-02-05 Chong Yidong <cyd@gnu.org>
15474
15475 * cus-edit.el (custom-variable-reset-backup): Quote the value
15476 before storing it in the customized-value property (Bug#6712).
15477 (custom-display): Add a customization type tag.
15478 (custom-buffer-create-internal): Improve tooltip message.
15479
15480 * wid-edit.el (widget-field-value-get): New optional arg to
15481 suppress trailing whitespace truncation.
15482 (character): Use it (Bug#2689).
15483
15484 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15485
15486 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15487 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15488
15489 2012-02-05 Chong Yidong <cyd@gnu.org>
15490
15491 * cus-edit.el (custom-variable-value-create): For mismatched
15492 types, show the current value (Bug#7600).
15493
15494 * custom.el (defcustom): Doc fix.
15495
15496 2012-02-05 Glenn Morris <rgm@gnu.org>
15497
15498 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15499
15500 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15501
15502 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15503 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15504 (pp-last-sexp): Use `looking-at-p'.
15505
15506 2012-02-04 Glenn Morris <rgm@gnu.org>
15507
15508 * files.el (revert-buffer):
15509 Doc fix (mention revert-buffer-in-progress-p).
15510
15511 * emacs-lisp/ert-x.el (ert-simulate-command):
15512 Check deferred-action-list (which is obsolete) is bound.
15513
15514 * subr.el (with-wrapper-hook): Doc fixes.
15515
15516 * simple.el (filter-buffer-substring-functions)
15517 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15518
15519 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15520
15521 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15522 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15523
15524 2012-02-04 Leo Liu <sdl.web@gmail.com>
15525
15526 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15527
15528 2012-02-04 Glenn Morris <rgm@gnu.org>
15529
15530 * image.el (image-extension-data): Add obsolete alias.
15531
15532 * isearch.el (isearch-update): Doc fix.
15533
15534 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15535
15536 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15537
15538 2012-02-03 Glenn Morris <rgm@gnu.org>
15539
15540 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15541 (image-animate-timeout): Doc fix.
15542
15543 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15544
15545 2012-02-02 Glenn Morris <rgm@gnu.org>
15546
15547 * server.el (server-auth-dir): Doc fix.
15548 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15549
15550 * subr.el (run-mode-hooks): Doc fix.
15551
15552 2012-02-02 Juri Linkov <juri@jurta.org>
15553
15554 * image-mode.el (image-toggle-display-image): Remove tautological
15555 `major-mode' from the `derived-mode-p' test.
15556
15557 2012-02-02 Kenichi Handa <handa@m17n.org>
15558
15559 * composite.el (compose-region): Cancel previous change.
15560
15561 2012-02-02 Kenichi Handa <handa@m17n.org>
15562
15563 * composite.el (compose-region, compose-string): Signal error for
15564 a null string component (Bug#6988).
15565
15566 2012-02-01 Chong Yidong <cyd@gnu.org>
15567
15568 * view.el (view-buffer-other-window, view-buffer-other-frame):
15569 Handle special modes like view-buffer (Bug#10650).
15570 (view-buffer): Simplify.
15571
15572 * frame.el (set-frame-font): Tweak meaning of third argument.
15573
15574 * dynamic-setting.el (font-setting-change-default-font):
15575 Use set-frame-font (Bug#9982).
15576
15577 2012-02-01 Glenn Morris <rgm@gnu.org>
15578
15579 * progmodes/compile.el (compilation-internal-error-properties):
15580 Respect compilation-first-column in the "*compilation*" buffer.
15581
15582 * emacs-lisp/easy-mmode.el (define-minor-mode):
15583 Relax :variable's test for a named function.
15584
15585 2012-01-31 Alan Mackenzie <acm@muc.de>
15586
15587 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15588 off by one error.
15589
15590 2012-01-31 Chong Yidong <cyd@gnu.org>
15591
15592 * frame.el (set-frame-font): New arg ALL-FRAMES.
15593
15594 * menu-bar.el (menu-set-font): Use set-frame-font.
15595
15596 * faces.el (face-spec-reset-face): Don't apply unspecified
15597 attribute values to the default face.
15598
15599 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15600
15601 * progmodes/cwarn.el (cwarn): Remove dead link.
15602 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15603 Remove * from defcustom docstrings.
15604 (turn-on-cwarn-mode): Make obsolete.
15605 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15606 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15607
15608 2012-01-31 Glenn Morris <rgm@gnu.org>
15609
15610 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15611 Fix :variable handling of mode a symbol not equal to modefun.
15612 Allow named functions to be used as the cdr of :variable.
15613
15614 2012-01-30 Glenn Morris <rgm@gnu.org>
15615
15616 * emacs-lisp/authors.el (authors-fixed-entries):
15617 Remove reference to deleted file rnewspost.el.
15618
15619 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15620
15621 * window.el (window-with-parameter): Remove unused variable `windows'.
15622 (window--side-check): Remove unused variable `code'.
15623 (window--resize-siblings): Remove unused variable `first'.
15624 (adjust-window-trailing-edge): Remove unused variable `failed'.
15625 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15626 Use `let', not `let*'.
15627 (balance-windows-2): Remove unused variable `found'.
15628 (window--state-put-2): Remove unused variable `splits'.
15629 (window-state-put): Remove unused variable `selected'.
15630 (same-window-p): Use `string-match-p'.
15631 (display-buffer-assq-regexp): Remove unused variable `value'.
15632 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15633 Mark argument ALIST as ignored.
15634 (pop-to-buffer): Remove unused variable `old-window'.
15635
15636 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15637
15638 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15639 and .lzma compressed files.
15640
15641 2012-01-29 Chong Yidong <cyd@gnu.org>
15642
15643 * frame.el (window-system-default-frame-alist): Doc fix.
15644
15645 * dynamic-setting.el (font-setting-change-default-font): Don't
15646 change the default face if SET-FONT argument is non-nil (Bug#9982).
15647
15648 2012-01-29 Samuel Bronson <naesten@gmail.com>
15649
15650 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15651
15652 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15653
15654 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15655 breakpoints in files outside current directory (Bug#6098).
15656
15657 2012-01-29 Chong Yidong <cyd@gnu.org>
15658
15659 * progmodes/python.el: Require ansi-color at top-level.
15660
15661 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15662 Define and use in Emacs Lisp mode (Bug#9360).
15663 (lisp-mode-abbrev-table): Add doc.
15664 (lisp-mode-variables): Don't set local-abbrev-table.
15665 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15666
15667 2012-01-28 Roland Winkler <winkler@gnu.org>
15668
15669 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15670
15671 2012-01-28 Roland Winkler <winkler@gnu.org>
15672
15673 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15674 (bibtex-set-dialect): Use it. Either set global values of
15675 dialect-dependent variables or bind these variables buffer-locally
15676 (Bug#10254).
15677 (bibtex-mode): Call bibtex-set-dialect via
15678 hack-local-variables-hook.
15679 (bibtex-dialect): Update docstring.
15680 Add safe-local-variable predicate.
15681 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15682 bibtex-set-dialect.
15683 (bibtex-mode-map): Define menu for each dialect.
15684 (bibtex-entry): Fix docstring.
15685
15686 2012-01-28 Chong Yidong <cyd@gnu.org>
15687
15688 * eshell/esh-arg.el (eshell-quote-argument): New function.
15689
15690 * eshell/esh-ext.el (eshell-invoke-batch-file):
15691 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15692 first arg to eshell-parse-command (Bug#10523).
15693
15694 2012-01-28 Drew Adams <drew.adams@oracle.com>
15695
15696 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15697 `default-directory' is non-nil.
15698
15699 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15700
15701 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15702 line that displays system-configuration-options. (Bug#9924)
15703
15704 2012-01-28 Drew Adams <drew.adams@oracle.com>
15705
15706 * descr-text.el (describe-char): Show information about POS, in
15707 addition to information about the character at POS. Improve and
15708 update the doc string. Change "code point" to "code point in
15709 charset", to avoid confusion with the character's Unicode code
15710 point shown above that. (Bug#10129)
15711
15712 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15713
15714 * descr-text.el (describe-char): Show the raw character, not only
15715 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15716 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15717 for the reasons.
15718
15719 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15720
15721 * emacs-lisp/package.el (package-install):
15722 Run package-refresh-contents if there is no archive yet (Bug#9798).
15723
15724 2012-01-28 Chong Yidong <cyd@gnu.org>
15725
15726 * emacs-lisp/package.el (package-maybe-load-descriptor):
15727 New function, split from package-maybe-load-descriptor.
15728 (package-maybe-load-descriptor): Use it.
15729 (package-download-transaction): Fully load required packages
15730 inside the loop, so that `require' calls work (Bug#10593).
15731 (package-install): No need to call package-initialize now.
15732
15733 2012-01-28 Chong Yidong <cyd@gnu.org>
15734
15735 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15736
15737 * tooltip.el (tooltip-mode): Doc fix.
15738 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15739
15740 * frame.el (set-cursor-color): Doc fix (Bug#352).
15741
15742 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15743 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15744
15745 * cus-edit.el (custom-buffer-create-internal): Fix search button
15746 action (Bug#10542).
15747 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15748
15749 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15750
15751 * dired.el (dired-mark-files-regexp):
15752 Include any subdirectory components. (Bug#10445)
15753
15754 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15755
15756 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15757 Handle [host]:port syntax. (Bug#10533)
15758
15759 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15760
15761 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15762
15763 2012-01-26 Glenn Morris <rgm@gnu.org>
15764
15765 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15766 * term.el (term-raw-escape-map): Use Control-X-prefix.
15767 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15768
15769 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15770
15771 * window.el (window-state-get, window--state-get-1): Don't deal
15772 with fixed-sizeness of windows. Simplify code.
15773
15774 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15775
15776 * window.el (window--state-get-1, window--state-put-2):
15777 Don't save and restore the mark.
15778
15779 2012-01-25 Chong Yidong <cyd@gnu.org>
15780
15781 * custom.el (custom-variable-p): Doc fix.
15782
15783 2012-01-25 Glenn Morris <rgm@gnu.org>
15784
15785 * dired.el (dired-goto-file): Handle some of the more common
15786 characters that `ls -b' escapes. (Bug#10596)
15787
15788 * progmodes/compile.el (compilation-next-error-function):
15789 Respect compilation-first-column in the "*compilation*" buffer.
15790 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15791
15792 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15793
15794 2012-01-24 Glenn Morris <rgm@gnu.org>
15795
15796 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15797
15798 2012-01-24 Julien Danjou <julien@danjou.info>
15799
15800 * color.el (color-rgb-to-hsl): Fix value computing.
15801 (color-hue-to-rgb): New function.
15802 (color-hsl-to-rgb): New function.
15803 (color-clamp, color-saturate-hsl, color-saturate-name)
15804 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15805 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15806
15807 2012-01-24 Glenn Morris <rgm@gnu.org>
15808
15809 * vc/vc-rcs.el (vc-rcs-create-tag):
15810 * vc/vc-sccs.el (vc-sccs-create-tag):
15811 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15812
15813 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15814
15815 * eshell/esh-util.el (eshell-read-hosts-file):
15816 Skip comment lines. (Bug#10549)
15817
15818 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15819
15820 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15821
15822 * subr.el (display-delayed-warnings): Doc fix.
15823 (collapse-delayed-warnings): New function to collapse identical
15824 adjacent warnings.
15825 (delayed-warnings-hook): Add it.
15826
15827 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15828
15829 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15830
15831 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15832 (tramp-default-user-alist): Don't add "pscp".
15833 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15834 property "login-as", if set. (Bug#10530)
15835
15836 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15837
15838 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15839 "plink1" and "psftp". (Bug#10530)
15840
15841 2012-01-21 Kenichi Handa <handa@m17n.org>
15842
15843 * international/mule-cmds.el (prefer-coding-system): Show a
15844 warning message if the default value of file-name-coding-system
15845 was not changed.
15846
15847 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15848
15849 * windmove.el (windmove-reference-loc):
15850 Fix windmove-reference-loc miscalculation.
15851
15852 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15853
15854 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15855 default unit.
15856
15857 2012-01-21 Glenn Morris <rgm@gnu.org>
15858
15859 * international/mule.el (auto-coding-alist): Add .tbz.
15860
15861 * files.el (local-enable-local-variables): Doc fix.
15862 (inhibit-local-variables-regexps): Rename from
15863 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15864 Doc fix. Add some extensions from auto-coding-alist.
15865 (inhibit-local-variables-suffixes):
15866 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15867 (inhibit-local-variables-p):
15868 New function, extracted from set-auto-mode-1.
15869 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15870 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15871 (hack-local-variables): Doc fix. Make the mode-only case
15872 respect enable-local-variables and friends.
15873 Respect inhibit-local-variables-regexps for file-locals, but
15874 not for directory-locals.
15875 (set-visited-file-name):
15876 Take account of inhibit-local-variables-regexps.
15877 Whether it applies may change as the file name is changed.
15878 * jka-cmpr-hook.el (jka-compr-install):
15879 * jka-compr.el (jka-compr-uninstall):
15880 Update for inhibit-first-line-modes-suffixes name change.
15881
15882 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15883
15884 * help-macro.el (make-help-screen): Temporarily restore original
15885 binding for minor-mode-map-alist (Bug#10454).
15886
15887 2012-01-19 Julien Danjou <julien@danjou.info>
15888
15889 * color.el (color-name-to-rgb): Use the white color to find the max
15890 color component value and return correctly computed values.
15891 (color-name-to-rgb): Add missing float conversion for max value.
15892
15893 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15894
15895 * window.el (window--state-get-1, window-state-get): Do not use
15896 special state value for window-persistent-parameters.
15897 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15898 (window--state-put-2): Reset all window parameters to nil before
15899 assigning values of persistent parameters.
15900
15901 2012-01-18 Alan Mackenzie <acm@muc.de>
15902
15903 Eliminate sluggishness and hangs in fontification of "semicolon
15904 deserts".
15905
15906 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15907 Change value 10000 -> 3000.
15908 (c-state-safe-place): Reformulate so it doesn't stack up an
15909 infinite number of wrong entries in c-state-nonlit-pos-cache.
15910 (c-determine-limit-get-base, c-determine-limit): New functions to
15911 determine backward search limits disregarding literals.
15912 (c-find-decl-spots): Amend commenting.
15913 (c-cheap-inside-bracelist-p): New function which detects "={".
15914
15915 * progmodes/cc-fonts.el
15916 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15917 backward search.
15918 (c-font-lock-declarations): Fix an occurrence of point being
15919 undefined. Check additionally for point being in a bracelist or
15920 near a macro invocation without a semicolon so as to avoid a
15921 fruitless time consuming search for a declarator. Give a more
15922 precise search limit for declarators using the new
15923 c-determine-limit.
15924
15925 2012-01-18 Glenn Morris <rgm@gnu.org>
15926
15927 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15928 (set-auto-mode): Doc fixes.
15929
15930 2012-01-17 Glenn Morris <rgm@gnu.org>
15931
15932 * isearch.el (search-nonincremental-instead): Fix doc typo.
15933
15934 * dired.el (dired-insert-directory): Handle newlines in directory name.
15935 (dired-build-subdir-alist): Unescape newlines in directory name.
15936
15937 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15938
15939 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15940 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15941 (tramp-action-terminal): Use it. (Bug#10530)
15942
15943 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15944
15945 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15946
15947 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15948
15949 * window.el (window-state-ignored-parameters): Remove variable.
15950 (window--state-get-1): Rename argument MARKERS to IGNORE.
15951 Handle persistent window parameters. Make copy of clone-of
15952 parameter only if requested. (Bug#10348)
15953 (window--state-put-2): Install a window parameter only if it has
15954 a non-nil value or an existing parameter shall be overwritten.
15955
15956 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
15957
15958 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
15959
15960 2012-01-14 Eli Zaretskii <eliz@gnu.org>
15961
15962 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
15963 don't pass the (nil) value of `upnode' to string-match.
15964
15965 2012-01-14 Chong Yidong <cyd@gnu.org>
15966
15967 * startup.el (command-line): Fix X resource class for cursorColor.
15968 Fix values recognized by the cursorBlink resource.
15969
15970 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
15971
15972 * epg.el (epg--make-temp-file): Avoid permission race condition
15973 when running on old Emacs versions (bug#10403).
15974
15975 2012-01-14 Glenn Morris <rgm@gnu.org>
15976
15977 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
15978
15979 2012-01-13 Alan Mackenzie <acm@muc.de>
15980
15981 Fix filling for when filladapt mode is enabled.
15982
15983 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
15984 c-mask-paragraph, pass in `fill-paragraph' rather than
15985 `fill-region-as-paragraph'. (This is a reversion of a previous
15986 change.)
15987 * progmodes/cc-mode.el (c-basic-common-init):
15988 Make fill-paragraph-handle-comment buffer local and set it to nil.
15989
15990 2012-01-13 Glenn Morris <rgm@gnu.org>
15991
15992 * dired.el (dired-switches-escape-p): New function.
15993 (dired-insert-directory): Use dired-switches-escape-p.
15994 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
15995
15996 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
15997
15998 2012-01-12 Glenn Morris <rgm@gnu.org>
15999
16000 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16001 changes in adaptive-fill-regexp. (Bug#10276)
16002
16003 2012-01-11 Alan Mackenzie <acm@muc.de>
16004
16005 Fix Emacs bug #10463 - put `widen's around the critical spots.
16006
16007 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16008 widen around each invocation of c-state-pp-to-literal. Remove an
16009 unused let variable.
16010
16011 2012-01-11 Glenn Morris <rgm@gnu.org>
16012
16013 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16014 Doc fix.
16015
16016 2012-01-10 Chong Yidong <cyd@gnu.org>
16017
16018 * net/network-stream.el (network-stream-open-starttls):
16019 Avoid emitting a confusing error message when the server gives a bad
16020 response to the capability command.
16021
16022 2012-01-10 Glenn Morris <rgm@gnu.org>
16023
16024 * mail/unrmail.el (unrmail): Tweak previous change.
16025
16026 2012-01-09 Chong Yidong <cyd@gnu.org>
16027
16028 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16029
16030 2012-01-08 Alan Mackenzie <acm@muc.de>
16031
16032 Optimize font locking in long enum definitions.
16033
16034 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16035 arm to a cond form to handle enums.
16036 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16037 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16038
16039 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16040
16041 * files.el (move-file-to-trash): Preserve default file modes on error.
16042 (Bug#10401)
16043
16044 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16045
16046 * faces.el (set-face-attribute): Clarify the meaning of the nil
16047 frame (bug#10294).
16048
16049 * subr.el (with-selected-frame): Mention that the selected frame
16050 is restored (bug#9980).
16051
16052 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16053 (bug#9759).
16054
16055 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16056 (password-read): Don't autoload unused function.
16057
16058 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16059
16060 * progmodes/which-func.el (which-func-mode): Turn into a
16061 non-interactive function and mark as obsolete (bug#10428).
16062
16063 2012-01-06 Chong Yidong <cyd@gnu.org>
16064
16065 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16066 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16067 functions, along with 1 and -1.
16068
16069 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16070
16071 * time.el (display-time-load-average)
16072 (display-time-default-load-average): Doc fixes. See the thread
16073 starting at
16074 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16075 for the details.
16076
16077 2012-01-06 Glenn Morris <rgm@gnu.org>
16078
16079 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16080 has no messages. (Bug#10377)
16081
16082 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16083 than Info-edit. (Bug#10385)
16084
16085 * time.el (display-time-load-average, display-time-next-load-average):
16086 Doc fixes.
16087
16088 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16089 local setting of buffer-read-only to the input buffer. (Bug#10419)
16090
16091 * calendar/calendar.el (calendar-mode):
16092 Locally set scroll-margin to 0. (Bug#10379)
16093
16094 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16095
16096 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16097
16098 2012-01-05 Glenn Morris <rgm@gnu.org>
16099
16100 * eshell/em-unix.el (diff-no-select): Autoload it.
16101 (eshell/diff): Use diff-no-select. (Bug#10420)
16102
16103 2012-01-05 Chong Yidong <cyd@gnu.org>
16104
16105 * shell.el (shell-dynamic-complete-functions): Revert last change.
16106 (shell-command-completion-function): New function.
16107 (shell-completion-vars): Use it to implement
16108 shell-completion-execonly (Bug#10417).
16109
16110 * custom.el (enable-theme): Don't set custom-safe-themes.
16111
16112 * cus-theme.el (custom-theme-merge-theme):
16113 Ignore custom-enabled-themes and custom-safe-themes.
16114
16115 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16116
16117 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16118 first prompt in `sql-interacive-mode'.
16119 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16120 keywords.
16121 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16122 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16123 context of original buffer. Invoke `sql-login-hook'.
16124
16125 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16126
16127 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16128 letters in cite-prefix.
16129
16130 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16131
16132 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16133
16134 2012-01-03 Chong Yidong <cyd@gnu.org>
16135
16136 * shell.el (shell-dynamic-complete-functions):
16137 Put pcomplete-completions-at-point, so as to try
16138 comint-filename-completion first (Bug#10417).
16139
16140 2012-01-02 Richard Stallman <rms@gnu.org>
16141
16142 * battery.el (battery-status-function):
16143 Detect when to use battery-yeeloong-sysfs.
16144 (battery-echo-area-format): Add string for Yeeloong.
16145 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16146 (battery-yeeloong-sysfs): New function.
16147
16148 2012-01-02 Chong Yidong <cyd@gnu.org>
16149
16150 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16151 (dirtrack): Merge code for handling relative filenames in prompt
16152 from shell-dir-cookie-watcher.
16153 (dirtrack-debug-message): New arg to avoid excess format calls.
16154
16155 * shell.el (shell-dir-cookie-re): Variable deleted.
16156 (shell-dir-cookie-watcher): Function deleted.
16157 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16158 with dirtrack-mode.
16159
16160 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16161
16162 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16163 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16164 libgnutls-26.dll.
16165
16166 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16167
16168 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16169
16170 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16171
16172 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16173 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16174
16175 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16176
16177 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16178 also for alternative shells.
16179 (tramp-open-connection-setup-interactive-shell): Check, whether
16180 the shell is a busybox.
16181 (tramp-send-command): Don't suppress multiple prompts for
16182 busyboxes, it hurts.
16183
16184 2011-12-28 Chong Yidong <cyd@gnu.org>
16185
16186 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16187 (gdb-get-source-file): Move mode line update to
16188 gdb-get-source-file (Bug#10087).
16189
16190 2011-12-25 Chong Yidong <cyd@gnu.org>
16191
16192 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16193 gud-gdb-marker-filter without taking it as an argument.
16194 (gud-gdb-run-command-fetch-lines): Caller changed.
16195 (gud-gdb-completion-function): New variable.
16196 (gud-gdb-completion-at-point): Use it.
16197 (gud-gdb-completions-1): Split from gud-gdb-completions.
16198
16199 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16200 function as separate arguments.
16201 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16202 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16203 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16204 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16205 (gdb-stopped, def-gdb-auto-update-trigger)
16206 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16207 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16208 Callers changed.
16209 (gud-gdbmi-completions): New function.
16210 (gdb): Use it for generating the completion table.
16211
16212 2011-12-24 Alan Mackenzie <acm@muc.de>
16213
16214 Introduce a mechanism to widen the region used in context font
16215 locking. Use this to protect declarations from losing their contexts.
16216
16217 * progmodes/cc-langs.el (c-before-font-lock-functions):
16218 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16219 (c-before-context-fontification-functions): New defvar, a list of
16220 functions to be run just before context (etc.) font locking.
16221
16222 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16223 New, functionality extracted from
16224 c-neutralize-syntax-in-and-mark-CPP.
16225 (c-in-after-change-fontification): New variable.
16226 (c-after-change): Set c-in-after-change-fontification.
16227 (c-set-fl-decl-start): Rejig its interface, so it can be called
16228 from both after-change and context fontifying.
16229 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16230 New functions.
16231 (c-standard-font-lock-fontify-region-function): New variable.
16232 (c-font-lock-fontify-region): New function.
16233
16234 2011-12-24 Juri Linkov <juri@jurta.org>
16235
16236 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16237 (Bug#10348)
16238
16239 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16240
16241 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16242 existence of source file. (Bug#10325)
16243
16244 2011-12-23 Alan Mackenzie <acm@muc.de>
16245
16246 Fix unstable fontification inside templates.
16247
16248 * progmodes/cc-langs.el (c-before-font-lock-functions):
16249 Newly created from the singular version. The (c c++ objc) entry now
16250 additionally has c-set-fl-decl-start. The other languages (apart
16251 from AWK) have that as a single entry.
16252
16253 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16254 The functionality for "local" declarations has been extracted to
16255 c-set-fl-decl-start.
16256
16257 * progmodes/cc-mode.el (c-common-init, c-after-change):
16258 Changes due to pluralisation of c-before-font-lock-functions.
16259 (c-set-fl-decl-start): New function, extracted from
16260 c-font-lock-enclosing-decls and enhanced.
16261
16262 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16263
16264 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16265
16266 2011-12-22 Juri Linkov <juri@jurta.org>
16267
16268 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16269
16270 2011-12-22 Chong Yidong <cyd@gnu.org>
16271
16272 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16273
16274 2011-12-21 Drew Adams <drew.adams@oracle.com>
16275
16276 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16277
16278 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16279
16280 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16281
16282 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16283
16284 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16285 highlighting and support. Fix up comments for capitalization.
16286 (cfengine-mode-debug): New var.
16287 (cfengine3-mode): Change the modeline indicator to "CFE3".
16288 (cfengine3-font-lock-keywords): Improve defun highlighting.
16289 (cfengine2-actions): Rename from `cfengine-actions'.
16290 (cfengine2-font-lock-keywords): Rename from
16291 `cfengine-font-lock-keywords'.
16292 (cfengine2-imenu-expression): Rename from
16293 `cfengine-imenu-expression'.
16294 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16295 (cfengine2-beginning-of-defun): Rename from
16296 `cfengine-beginning-of-defun'.
16297 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16298 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16299 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16300 modeline indicator to "CFE2".
16301 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16302 (cfengine-mode-abbrevs): Mark obsolete.
16303
16304 2011-12-21 Chong Yidong <cyd@gnu.org>
16305
16306 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16307 filename argument.
16308
16309 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16310
16311 * window.el (window-normalize-buffer-to-display): Remove.
16312 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16313
16314 2011-12-19 Chong Yidong <cyd@gnu.org>
16315
16316 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16317 Don't signal an error in a predicate function; return non-nil.
16318 (vc-dir-mark-file): Move the error here.
16319 (vc-dir-mark-unmark): If acting on the region, keep going if one
16320 of the entries cannot be marked/unmarked.
16321 (vc-dir-mark-all-files): If current entry is a directory, mark
16322 only child files, as documented.
16323
16324 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16325
16326 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16327 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16328 addition.
16329
16330 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16331
16332 * term/ns-win.el (ns-get-selection-internal)
16333 (ns-store-selection-internal): Declare.
16334 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16335 Declare as obsolete.
16336 (ns-get-pasteboard, ns-paste-secondary):
16337 Use ns-get-selection-internal.
16338 (ns-set-pasteboard, ns-copy-including-secondary):
16339 Use ns-store-selection-internal.
16340
16341 2011-12-17 Chong Yidong <cyd@gnu.org>
16342
16343 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16344 (vc-deduce-fileset): Doc fix.
16345
16346 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16347
16348 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16349
16350 2011-12-13 Sam Steingold <sds@gnu.org>
16351
16352 * man.el (Man-getpage-in-background): When running under a
16353 window-system, ignore $MANWIDTH and $COLUMNS.
16354
16355 2011-12-15 Kenichi Handa <handa@m17n.org>
16356
16357 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16358 (setup-ethiopic-environment-internal): Comment out key-binding for
16359 ethio-toggle-punctuation.
16360
16361 2011-12-13 Alan Mackenzie <acm@muc.de>
16362
16363 Add the switch statement to AWK Mode.
16364
16365 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16366 "default" to the keywords regexp.
16367
16368 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16369 expression as the rest.
16370 (c-nonlabel-token-key): Allow string literals for AWK.
16371 Refactor for the other modes.
16372
16373 Large brace-block initialisation makes CC Mode slow: Fix.
16374 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16375 routines. Limit backward searching in c-font-lock-enclosing.decl.
16376
16377 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16378 pp-state and literal type in addition to the limits.
16379 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16380 (c-state-literal-at): Use the above new defun.
16381 (c-slow-in-literal, c-fast-in-literal): Remove.
16382 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16383
16384 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16385 being in a literal. Add a limit for backward searching.
16386
16387 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16388 c-slow-in-literal.
16389
16390 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16391
16392 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16393
16394 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16395
16396 * window.el (delete-other-windows): Use correct frame in call to
16397 window-with-parameter.
16398
16399 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16400
16401 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16402 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16403 (makefile-gmake-statements, makefile-makepp-statements):
16404 Use it and add new makepp keywords.
16405 (makefile-makepp-font-lock-keywords): Add new patterns.
16406 (makefile-match-function-end): Match new [...] and [[...]].
16407
16408 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16409
16410 * ses.el (ses-call-printer-return, ses-cell-property-get)
16411 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16412 (ses-create-cell-variable, ses-reset-header-string)
16413 (ses-cell-set-formula, ses-repair-cell-reference-all)
16414 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16415 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16416 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16417 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16418 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16419 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16420 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16421 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16422 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16423 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16424 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16425 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16426
16427 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16428
16429 * ses.el: The overall change is to add cell renaming, that is
16430 setting fancy names for cell symbols other than name matching
16431 "\\`[A-Z]+[0-9]+\\'" regexp .
16432 (ses-create-cell-variable): New defun.
16433 (ses-relocate-formula): Relocate formulas only for cells the
16434 symbols of which are not renamed, i.e. symbols whose names do not
16435 match regexp "\\`[A-Z]+[0-9]+\\'".
16436 (ses-relocate-all): Relocate values only for cells the symbols of
16437 which are not renamed.
16438 (ses-load): Create cells variables as the (ses-cell ...) are read,
16439 in order to check row col consistency with cell symbol name only
16440 for cells that are not renamed.
16441 (ses-replace-name-in-formula): New defun.
16442 (ses-rename-cell): New defun.
16443
16444 2011-12-11 Chong Yidong <cyd@gnu.org>
16445
16446 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16447 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16448
16449 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16450
16451 * window.el (other-window): Fix docstring.
16452
16453 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16454
16455 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16456 `from' or `to' address before taking its substring.
16457 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16458 encoded name is chopped in the middle of the encoded string, and
16459 thus displayed encoded.
16460
16461 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16462
16463 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16464
16465 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16466
16467 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16468 to use texinfo-update-node and commands that call it if the
16469 Texinfo file uses @node lines without next/prev/up pointers.
16470 Correct outdated description about texinfo-master-menu.
16471 (texinfo-all-menus-update, texinfo-master-menu)
16472 (texinfo-update-node, texinfo-every-node-update)
16473 (texinfo-multiple-files-update): Doc fix. Warn against updating
16474 all the @node lines.
16475 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16476 argument is numeric. Explain better in the doc string what the
16477 function really does.
16478 (texinfo-insert-master-menu-list): Improve the error message
16479 displayed if there's no menu in the Top node.
16480 (Bug#2975) See also this thread:
16481 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16482
16483 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16484
16485 * speedbar.el (speedbar-supported-extension-expressions):
16486 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16487
16488 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16489
16490 * printing.el (pr-mode-alist):
16491 * simple.el (filter-buffer-substring-functions)
16492 (completion-list-insert-choice-function):
16493 * window.el (window-with-parameter, window-atom-root)
16494 (window-sides-slots, window-size-fixed, window-min-delta)
16495 (window-max-delta, window--resize-mini-window)
16496 (window--resize-child-windows-normal, window-tree)
16497 (delete-other-windows, quit-window, split-window)
16498 (display-buffer-record-window, special-display-buffer-names)
16499 (special-display-regexps, special-display-popup-frame)
16500 (same-window-p, split-window-sensibly)
16501 (display-buffer-overriding-action, display-buffer-alist)
16502 (display-buffer-base-action, display-buffer, switch-to-buffer)
16503 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16504 (fit-window-to-buffer, recenter-positions)
16505 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16506 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16507 and remove unneeded backslashes in docstrings.
16508
16509 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16510
16511 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16512
16513 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16514 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16515 end in ".mk".
16516 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16517 when reading the makefile (bug#10116).
16518
16519 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16520
16521 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16522 (bug#10116).
16523
16524 2011-12-06 Glenn Morris <rgm@gnu.org>
16525
16526 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16527
16528 2011-12-06 Chong Yidong <cyd@gnu.org>
16529
16530 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16531
16532 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16533
16534 * textmodes/table.el (table-shorten-cell): Fix typo.
16535
16536 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16537
16538 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16539
16540 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16541
16542 * descr-text.el (describe-char): Fix display of strong
16543 right-to-left characters and directional embeddings and overrides.
16544
16545 * simple.el (what-cursor-position): Fix display of codepoints of
16546 strong right-to-left characters.
16547
16548 2011-12-05 Chong Yidong <cyd@gnu.org>
16549
16550 * faces.el (read-color): Doc fix.
16551
16552 2011-12-05 Glenn Morris <rgm@gnu.org>
16553
16554 * align.el (align--set-marker): Add doc-string.
16555 Don't try to move something that is not a marker. (Bug#10216)
16556
16557 2011-12-04 Glenn Morris <rgm@gnu.org>
16558
16559 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16560 overly zealous deletion of trailing whitespace.
16561
16562 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16563
16564 * server.el (server-delete-client): On Windows, do not try to delete
16565 the only terminal.
16566 (server-process-filter): On Windows, treat requests for a tty frame as
16567 if they were for a GUI frame if the running server is in GUI mode.
16568
16569 2011-12-03 Glenn Morris <rgm@gnu.org>
16570
16571 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16572
16573 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16574
16575 * electric.el: Streamline electric-indent's hook.
16576 (electric-indent-chars): Revert to simple list.
16577 (electric-indent-functions): New var.
16578 (electric-indent-post-self-insert-function): Use it.
16579
16580 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16581 there's no inferior buffer (bug#10196).
16582 (prolog-consult-compile): Don't use toggle-read-only.
16583
16584 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16585
16586 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16587 interrupt. (Bug#10187)
16588
16589 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16590
16591 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16592 (bug#9160).
16593
16594 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16595 (bug#10191).
16596
16597 2011-12-02 Juri Linkov <juri@jurta.org>
16598
16599 * info.el (Info-search): Display "end of manual" when Isearch
16600 reaches the end of single-file Info manual. (Bug#9918)
16601
16602 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16603
16604 * isearch.el (isearch-message-prefix): Run the input method part
16605 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16606
16607 2011-12-02 Juri Linkov <juri@jurta.org>
16608
16609 * isearch.el (isearch-occur): Use `word-search-regexp' for
16610 `isearch-word'.
16611 (isearch-search-and-update): Add condition for `isearch-word' and
16612 call `word-search-regexp'. (Bug#10145)
16613
16614 2011-12-01 Glenn Morris <rgm@gnu.org>
16615
16616 * eshell/em-hist.el (eshell-hist-initialize):
16617 Handle eshell-history-size nil and HISTSIZE set or unset.
16618 (eshell-history-file-name, eshell-history-size): Fix custom type.
16619
16620 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16621
16622 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16623
16624 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16625
16626 * progmodes/verilog-mode.el (verilog-pretty-expr):
16627 Rework verilog-pretty-expr to handle new assignment operators in system
16628 verilog, such as += *= and the like.
16629 (verilog-assignment-operator-re): Regular expression to find the
16630 assigment operator in a verilog assignment.
16631 (verilog-assignment-operation-re): Regular expression to find an
16632 assignment statement for pretty-expr.
16633 (verilog-in-attribute-p): Query returns true if point is in an
16634 attribute context; used to skip these for expression line up from
16635 pretty-expr.
16636 (verilog-in-parameter-p): Query returns true if point is in an
16637 parameter definition context; used to skip these for expression
16638 line up from pretty-expr.
16639 (verilog-in-parenthesis-p): Query returns true if point is in a
16640 parenthetical expression, specifically ( ) but not [ ] or { };
16641 used by pretty-expr.
16642 (verilog-just-one-space): If there is no space, don't add one.
16643 (verilog-get-lineup-indent-2): Specifically skip just attribute
16644 contexts for expression lineup, rather than skipping all
16645 parenthetical expressions.
16646 (verilog-calculate-indent): Fix comment, and fix indent.
16647 (verilog-do-indent): Indent declarations in lists (suggested by
16648 Joachim Lechner).
16649 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16650 skeleton items.
16651 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16652 by Alain Mellan).
16653
16654 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16655
16656 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16657 parameters with embedded comments. Reported by Ray Stevens.
16658 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16659 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16660 Reported by Tim Holt.
16661 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16662 instantiated by upper module causing wrong expansion until AUTOed a
16663 second time. Reported by K C Buckenmaier.
16664 (verilog-diff-auto): Fix showing .* as a difference when
16665 `verilog-auto-star-save' off. Reported by Dan Dever.
16666 (verilog-auto-reset, verilog-read-always-signals)
16667 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16668 temporary signals in reset list if
16669 verilog-auto-reset-blocking-in-non is nil, and match assignment
16670 style to each signal's assignment type, bug381.
16671 Reported by Thomas Esposito.
16672 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16673 (verilog-uvm-statement-re): Support UVM indentation and
16674 highlighting, with old OVM keywords only.
16675 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16676 Support AUTOTIEOFF creating non-wire data types.
16677 Suggested by Jonathan Greenlaw.
16678 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16679 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16680 (verilog-inject-sense, verilog-read-inst-pins)
16681 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16682 Fix mismatching parenthesis inside commented out code when deleting
16683 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16684 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16685 non-numeric vector width. Reported by Alex Reed.
16686 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16687 detecting signals with parameter widths. Reported by Alex Reed.
16688 (verilog-auto-delete-trailing-whitespace):
16689 With `verilog-auto-delete-trailing-whitespace' remove trailing
16690 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16691 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16692 Fix verilog-scan-cache corruption when running user AUTO expansion
16693 hooks that call indentation routines.
16694 (verilog-simplify-range-expression): Fix typo ignoring lower case
16695 identifiers.
16696 (verilog-delete-auto): Fix delete-autos to also remove user created
16697 automatics, as long as they start with AUTO.
16698 (verilog-batch-diff-auto, verilog-diff-auto)
16699 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16700 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16701 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16702 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16703 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16704 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16705 is disabled and its cache will get corrupt, causing AUTOS not to
16706 expand. Instead use only -quick functions.
16707 (verilog-scan-region): Fix scanning over escaped quotes.
16708 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16709 (verilog-re-search-backward-quick)
16710 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16711 related functions now ignore strings, to fix misparsing of strings
16712 with magic comments embedded in them.
16713 (verilog-read-auto-template):
16714 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16715 Reported by Brad Dobbie.
16716 (verilog-read-auto-template):
16717 Fix 'verilog-auto-inst-template-numbers' with comments.
16718 Reported by Brad Dobbie.
16719 (verilog-auto-inst, verilog-auto-inst-param)
16720 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16721 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16722 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16723 debugging templates without merge conflicts, bug357.
16724 Reported by Brad Dobbie.
16725 (verilog-read-auto-template):
16726 Fix verilog-auto-inst-template-numbers with multiple templates.
16727 Reported by Brad Dobbie.
16728 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16729 abbrevs so user won't be asked to save.
16730 (verilog-read-auto-lisp-present): Fix to start at beginning of
16731 buffer in case called outside of verilog-auto.
16732 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16733 to "X-2". Reported by Matthew Myers.
16734 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16735 all inputs from module templates. Reported by Leith Johnson.
16736 (verilog-module-inside-filename-p): Fix locating programs as with
16737 modules.
16738 (verilog-auto-inst-port): Fix vl-width expressions when using
16739 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16740 (verilog-decls-get-regs, verilog-decls-get-signals,
16741 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16742 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16743 verilog-read-decls): Combine reg and wire structures into one var
16744 structure to represent SystemVerilog concepts.
16745 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16746 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16747 (verilog-auto-wire-type, verilog-insert-definition):
16748 Add verilog-auto-wire-type and AUTOLOGIC to support using
16749 SystemVerilog "logic" keyword instead of "wire"/"reg".
16750 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16751 to declares outputs that also have assignments (presumably in an
16752 ifdef or generate if so there's not a driver conflict).
16753 Reported by Matthew Myers.
16754 (verilog-auto-declare-nettype, verilog-insert-definition):
16755 Add verilog-auto-declare-nettype to fix declarations using
16756 `default_nettype none. Reported by Julian Gorfajn.
16757 (verilog-read-always-signals-recurse, verilog-read-decls)
16758 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16759 malformed end statement, bug325. Reported by Joshua Wise and
16760 Andrew Drake.
16761 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16762 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16763 when expanding .* in interfaces, bug320.
16764 Reported by Pierre-David Pfister.
16765 (verilog-read-module-name): Fix import statements between module
16766 name and open parenthesis, bug317.
16767 Reported by Pierre-David Pfister.
16768 (verilog-simplify-range-expression): Fix simplification of
16769 multiplications inside AUTOWIRE connections, bug303.
16770 (verilog-auto-inst-port): Support parameter expansion in
16771 multidimensional arrays.
16772 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16773 after "assert property". Reported by Julian Gorfajn.
16774 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16775 with multiplication, bug303.
16776 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16777 Reported by Jan Frode Lonnum.
16778
16779 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16780
16781 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16782 (hfy-shell-file-name, hfy-shell):
16783 * international/fontset.el (x-decompose-font-name): Fix typos.
16784
16785 2011-11-29 Ken Brown <kbrown@cornell.edu>
16786
16787 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16788 (gdb-version): Remove defvar.
16789 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16790 (gdb-gud-context-command, gdb-non-stop-handler)
16791 (gdb-current-context-command, gdb-stopped): Use it.
16792 (gdb-init-1): Enable pretty printing here.
16793 (gdb-non-stop-handler): Don't enable pretty-printing here.
16794 Check to see if the target supports non-stop mode; if not, turn off
16795 non-stop mode. Use the following.
16796 (gdb-check-target-async): New defun.
16797 (gud-watch, gdb-stopped): Fix whitespace.
16798 (gdb-get-source-file): Don't try to display the source file if
16799 `gdb-main-file' is nil.
16800
16801 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16802
16803 * align.el: Try to generate fewer markers (bug#10047).
16804 (align--set-marker): New macro.
16805 (align-region): Use it.
16806
16807 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16808
16809 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16810
16811 2011-11-29 Chong Yidong <cyd@gnu.org>
16812
16813 * indent.el (indent-for-tab-command, indent-according-to-mode):
16814 Doc fix.
16815 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16816
16817 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16818
16819 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16820 aware of remote file names. (Bug#10124)
16821
16822 2011-11-29 Chong Yidong <cyd@gnu.org>
16823
16824 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16825
16826 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16827
16828 * files.el (find-file): Don't use force-same-window (bug#10144).
16829 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16830 use pop-to-buffer if the selected window can't be used.
16831 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16832
16833 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16834
16835 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16836 special-mode-map.
16837
16838 2011-11-28 Chong Yidong <cyd@gnu.org>
16839
16840 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16841
16842 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16843
16844 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16845 gdb-get-source-file-list on gdb-create-source-file-list.
16846
16847 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16848
16849 * whitespace.el (whitespace-newline): Use a different foreground
16850 color for 16-color light-background displays.
16851
16852 2011-11-24 Chong Yidong <cyd@gnu.org>
16853
16854 * window.el (display-buffer--special-action): Doc fix.
16855
16856 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16857
16858 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16859 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16860 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16861 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16862 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16863 (avl-tree-stack-first):
16864 * emacs-lisp/cconv.el (cconv--analyse-use):
16865 * net/gnutls.el (gnutls-negotiate): Fix typos.
16866
16867 2011-11-24 Glenn Morris <rgm@gnu.org>
16868
16869 * lpr.el (lpr-windows-system, lpr-lp-system):
16870 * mail/binhex.el (binhex-begin-line):
16871 * progmodes/grep.el (grep-history, grep-find-history):
16872 * textmodes/flyspell.el:
16873 * vc/pcvs-defs.el (cvs-global-menu):
16874 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16875 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16876 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16877
16878 * net/tls.el: Fix case of "GnuTLS".
16879
16880 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16881
16882 * version.el (emacs-build-system): Give it a doc-string.
16883
16884 2011-11-24 Juri Linkov <juri@jurta.org>
16885
16886 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16887
16888 2011-11-24 Glenn Morris <rgm@gnu.org>
16889
16890 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16891 if called on a non-mime message just toggle the headers. (Bug#8006)
16892
16893 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16894
16895 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16896 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16897 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16898 (allout-rebullet-heading, allout-open-sibtopic)
16899 (allout-toggle-current-subtree-encryption)
16900 (allout-toggle-subtree-encryption, allout-encrypt-string)
16901 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16902 (allout-distinctive-bullets-string, allout-auto-activation):
16903 * window.el (window-normalize-buffer-to-display):
16904 * progmodes/verilog-mode.el (verilog-batch-indent):
16905 * textmodes/bibtex.el (bibtex-field-braces-opt)
16906 (bibtex-field-strings-opt):
16907 * vc/cvs-status.el (cvs-tree-merge):
16908 Fix typos.
16909
16910 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16911
16912 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16913 `non-essential' to t, in order to avoid remote connections.
16914
16915 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16916
16917 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16918 On MS-DOS and MS-Windows, compare with loaddefs.el
16919 case-insensitively.
16920
16921 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16922
16923 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16924
16925 2011-11-23 Glenn Morris <rgm@gnu.org>
16926
16927 * paths.el (rmail-file-name): Reformat the doc-string so that it
16928 is picked up.
16929
16930 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16931 (rmail-auto-file): Ignore case in the "special" field names,
16932 as mail-fetch-field does for all others.
16933
16934 * mail/rmail.el (rmail-forward):
16935 * mail/rmailkwd.el (rmail-set-label):
16936 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16937 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16938
16939 * mail/rmail.el (rmail-current-message): Doc fix.
16940
16941 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16942
16943 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16944
16945 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16946
16947 2011-11-22 Glenn Morris <rgm@gnu.org>
16948
16949 * mail/rmailmm.el (test-rmail-mime-handler)
16950 (test-rmail-mime-bulk-handler)
16951 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
16952
16953 2011-11-21 Juri Linkov <juri@jurta.org>
16954
16955 * calc/calc.el (calc-read-key-sequence):
16956 Let-bind `input-method-function' to nil. (Bug#10018)
16957
16958 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16959
16960 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
16961 Tell the caller that the next line needs recomputation, even
16962 though it doesn't start a sexp (bug#10094).
16963
16964 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16965
16966 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
16967
16968 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16969
16970 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16971 Use force-same-window.
16972
16973 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16974
16975 * descr-text.el (describe-char-unicode-data):
16976 * json.el (json-string-escape):
16977 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
16978 (Footnote-unicode, Footnote-style-p):
16979 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
16980
16981 2011-11-20 Chong Yidong <cyd@gnu.org>
16982
16983 * window.el (replace-buffer-in-windows): Restore interactive spec.
16984
16985 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
16986
16987 * electric.el (electric-indent-mode): Fix last change (too optimistic).
16988
16989 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
16990 (byte-compile-global-not-obsolete-vars): New var.
16991 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
16992 Use it.
16993 (byte-compile-warn-obsolete): Align text with the one in *Help*.
16994
16995 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
16996
16997 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
16998 * progmodes/pascal.el (electric-pascal-equal):
16999 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17000 * xml.el (xml-substitute-special): Fix typos.
17001
17002 2011-11-20 Glenn Morris <rgm@gnu.org>
17003
17004 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17005 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17006 Doc fixes.
17007 (rmail-decode-mime-charset): Mark as obsolete.
17008
17009 * mail/rmailsum.el (rmail-message-regexp-p-1):
17010 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17011 Before using mime functions, check they are set. (Bug#10077)
17012
17013 2011-11-19 Juri Linkov <juri@jurta.org>
17014
17015 * info.el (Info-finder-find-node): Use `package--builtins' instead
17016 of `package-alist'. Use node names formed by the pattern "Keyword "
17017 and the keyword name.
17018
17019 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17020
17021 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17022
17023 2011-11-19 Juri Linkov <juri@jurta.org>
17024
17025 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17026 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17027 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17028 `old-history', `old-history-forward'. Add let-binding
17029 `window-selected'. Remove calls to `kill-buffer',
17030 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17031 before calling `Info-find-node', so `Info-find-node-2' will reread
17032 the Info file. Restore window positions only when `window-selected'
17033 is non-nil.
17034
17035 2011-11-19 Juri Linkov <juri@jurta.org>
17036
17037 * isearch.el (isearch-lazy-highlight-new-loop):
17038 Remove condition `(not isearch-error)'. (Bug#9918)
17039
17040 * misearch.el (multi-isearch-search-fun): Add condition
17041 `(not bound)' to ignore lazy-highlighting search.
17042 Add the search-failed message "end of multi" when the end of
17043 multi-sequence is reached. Uncapitalize the search-failed
17044 message "Repeat for next buffer".
17045
17046 * info.el (Info-search): Add the search-failed message
17047 "end of the manual" when the end of the manual is reached
17048 in Isearch mode.
17049
17050 2011-11-19 Juri Linkov <juri@jurta.org>
17051
17052 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17053 Use non-destructive `remove' instead of `delete' because
17054 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17055 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17056
17057 2011-11-19 Juri Linkov <juri@jurta.org>
17058
17059 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17060 to nil instead of binding `search-ring' and `regexp-search-ring'.
17061 (Bug#9185)
17062
17063 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17064
17065 * simple.el (line-move): Force movement by logical lines for any
17066 hscrolled window, not only when auto-hscroll-mode is on.
17067 (line-move-visual): Update doc string to that effect. (Bug#10076)
17068
17069 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17070
17071 * language/european.el (macintosh): Define as alias for mac-roman.
17072
17073 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17074
17075 * mail/rmailmm.el (rmail-mime-display-header)
17076 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17077 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17078 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17079 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17080 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17081 of a raw aref.
17082 (rmail-mime-entity-segment): To get past the tagline, move forward
17083 2 more lines, to account for the 2 empty lines that precede and
17084 follow the line with the buttons.
17085 (rmail-mime-update-tagline): Move one more line, to get past the
17086 empty line that follows the buttons in the tagline. (Bug#9520)
17087
17088 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17089
17090 * window.el (window-max-delta-1, window-min-delta-1)
17091 (window-min-size-1, window-state-get-1, window-state-put-1)
17092 (window-state-put-2): Use "window--" prefix.
17093
17094 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17095
17096 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17097 (smie-warning-count): New var.
17098 (smie-set-prec2tab): Use it.
17099 (smie-bnf->prec2): Improve warnings. Add docstring.
17100 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17101 (smie-bnf--set-class): New function.
17102 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17103 corner case.
17104
17105 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17106 (compilation-error-properties, compilation-move-to-column):
17107 Handle compilation-first-column while in the target buffer.
17108
17109 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17110 Don't hardcode point-min==1.
17111
17112 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17113 (eshell-rewrite-for-command): Remove workaround.
17114 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17115 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17116 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17117
17118 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17119
17120 2011-11-17 Glenn Morris <rgm@gnu.org>
17121
17122 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17123 Ignore buffer-local generated-autoload-file if it is the same
17124 as the global value. (Bug#10049)
17125
17126 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17127
17128 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17129 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17130 (reftex-toc-previous-heading, reftex-toc-max-level)
17131 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17132 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17133 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17134 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17135 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17136 (reftex-toc-rename-label, reftex-toc-visit-location)
17137 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17138 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17139 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17140 leaving "*toc*" only for references to the buffer.
17141
17142 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17143
17144 * window.el (window-resize, delete-window, split-window):
17145 Replace window-splits by window-combination-resize.
17146 * cus-start.el (window-splits): Replace by window-combination-resize.
17147
17148 2011-11-17 Glenn Morris <rgm@gnu.org>
17149
17150 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17151 Make bash entry derive from sh entry, not shell entry.
17152
17153 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17154
17155 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17156 local file name.
17157
17158 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17159
17160 * menu-bar.el (menu-bar-file-menu):
17161 * printing.el (pr-ps-utility):
17162 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17163 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17164 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17165 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17166 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17167 (icalendar--convert-cyclic-to-ical)
17168 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17169 (icalendar--convert-ical-to-diary)
17170 (icalendar--convert-recurring-to-diary)
17171 (icalendar--convert-non-recurring-all-day-to-diary)
17172 (icalendar-import-format-sample):
17173 * progmodes/idlw-shell.el (idlwave-shell-mode):
17174 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17175 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17176 (vhdl-ps-print-init): Fix typos.
17177
17178 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17179
17180 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17181 FSF and collapse date sequence, obscure author/maintainer email address
17182 better, remove extra version line, track relocation of author's webpage.
17183
17184 * progmodes/python.el (python-pdbtrack-input-prompt)
17185 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17186 regular python pdb prompts. Adjustments shamelessly taken exactly as
17187 suggested in EmacsWiki page (tiny change):
17188 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17189
17190 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17191
17192 * expand.el (expand-pos, expand-index, expand-point):
17193 Remove redundant info from docstring.
17194 (expand-add-abbrevs): Doc fix.
17195 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17196 (expand-sample-perl-mode-expand-list): Fix typos.
17197
17198 * net/dbus.el (dbus-event-member-name):
17199 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17200 * term/pc-win.el (msdos-create-frame-with-faces):
17201 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17202
17203 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17204
17205 * window.el (split-window, window-state-get-1)
17206 (window-state-put-1, window-state-put-2): Rename occurrences of
17207 window-nest to window-combination-limit.
17208 * cus-start.el (window-nest): Rename to window-combination-limit.
17209
17210 2011-11-16 Chong Yidong <cyd@gnu.org>
17211
17212 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17213 regexp (Bug#10033).
17214
17215 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17216
17217 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17218 `completing-read' will remove *Completions* and will preserve
17219 current-buffer for us.
17220 (tmm-add-prompt): Users of *Completions* will always (re)set its
17221 major mode.
17222 (tmm-old-comp-map): Remove.
17223
17224 2011-11-16 Glenn Morris <rgm@gnu.org>
17225
17226 * mail/rmailedit.el: Require rmailmm when compiling.
17227 (rmail-old-mime-state): New declaration.
17228 (rmail-edit-current-message): If editing a mime message,
17229 edit the "raw" message from the mbox buffer.
17230 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17231
17232 2011-11-15 Glenn Morris <rgm@gnu.org>
17233
17234 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17235 which wasn't being used. Add optional arg to force given state.
17236 (rmail-mime): Add optional arg to force given state.
17237
17238 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17239
17240 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17241 * frame.el (display-mm-dimensions-alist):
17242 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17243 (outline-move-subtree-down):
17244 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17245 (newsticker--treeview-do-get-node):
17246 * net/quickurl.el (quickurl-list-buffer-name):
17247 * progmodes/dcl-mode.el (dcl-mode):
17248 * progmodes/gdb-mi.el (gdb-mapcar*):
17249 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17250
17251 2011-11-15 Glenn Morris <rgm@gnu.org>
17252
17253 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17254 in a boolean sense, so just make it a boolean, and fix the doc.
17255 (rmail-show-mime-function, rmail-mime-feature)
17256 (rmail-require-mime-maybe): Doc fixes.
17257 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17258
17259 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17260
17261 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17262
17263 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17264 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17265 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17266 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17267
17268 2011-11-15 Glenn Morris <rgm@gnu.org>
17269
17270 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17271 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17272 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17273 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17274 (rmail-mime, rmail-show-mime): Doc fixes.
17275
17276 * term/ns-win.el (mode-line-frame-identification):
17277 Leave it alone. (Bug#10051)
17278
17279 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17280
17281 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17282 Handle empty buffers. (Bug#9978)
17283
17284 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17285
17286 * international/mule.el (define-charset):
17287 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17288 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17289 * progmodes/verilog-mode.el (verilog-backward-token):
17290 * textmodes/ispell.el (lookup-words):
17291 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17292
17293 2011-11-14 Glenn Morris <rgm@gnu.org>
17294
17295 * progmodes/executable.el
17296 (executable-make-buffer-file-executable-if-script-p):
17297 Handle file-modes returning nil.
17298
17299 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17300 message - not necessary, and causes problems. (Bug#9831)
17301
17302 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17303
17304 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17305
17306 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17307 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17308 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17309
17310 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17311
17312 * window.el (window-resize, delete-window): Use window-splits
17313 variable instead of function.
17314 (window-state-get-1, window-state-put-2, window-state-put):
17315 Don't deal with windows' splits status.
17316
17317 2011-11-12 Glenn Morris <rgm@gnu.org>
17318
17319 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17320 (apropos-documentation): Doc fixes.
17321
17322 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17323
17324 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17325 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17326
17327 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17328
17329 * electric.el (electric-indent-post-self-insert-function): Make it
17330 possible for a char to only indent in some circumstances.
17331 (electric-indent-mode): Simplify.
17332
17333 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17334
17335 * window.el (windows-with-parameter): Remove unused function.
17336 (windows-at-side): Rename to window-at-side-list.
17337 (window-check, window-atom-check, window-atom-check-1)
17338 (window-side-check, window-size-ignore, window-size-fixed-1)
17339 (window-in-direction-2): Prefix with "window--".
17340 (window-tree-1): Rename to window--subtree, fix doc-string.
17341
17342 2011-11-11 Glenn Morris <rgm@gnu.org>
17343
17344 * subr.el (eval-after-load): If FILE is already loaded,
17345 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17346
17347 2011-11-10 Glenn Morris <rgm@gnu.org>
17348
17349 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17350 Call svn via vc-svn-command rather than vc-do-command.
17351 (vc-svn-command): Add --non-interactive. (Bug#9993)
17352 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17353
17354 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17355 Add toggle-read-only. (Bug#7292)
17356 * files.el (toggle-read-only): Mention that it should only
17357 be used interactively. (Bug#10006)
17358
17359 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17360
17361 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17362 Adjust regexp for OCaml warnings.
17363
17364 * electric.el (electric-pair-post-self-insert-function): Let user
17365 turn it off buffer-locally (bug#9932).
17366
17367 * progmodes/python.el (python-beginning-of-statement):
17368 Rewrite (bug#2703).
17369
17370 * progmodes/compile.el: Better handle TABs (bug#9749).
17371 (compilation-internal-error-properties)
17372 (compilation-next-error-function): Obey the target buffer's
17373 compilation-error-screen-columns.
17374
17375 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17376
17377 * progmodes/meta-mode.el: Remove obsolete comments.
17378 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17379 Fix typos in docstrings.
17380
17381 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17382
17383 * window.el (window-size-fixed-p): Rewrite doc-string.
17384 (window-resizable-p): Rename to window--resizable-p. Update callers.
17385 (window--resizable): New function. Make all callers of
17386 window-resizable call window--resizable instead.
17387 (window-resizable): Rewrite in terms of window--resizable.
17388
17389 2011-11-08 Glenn Morris <rgm@gnu.org>
17390
17391 * progmodes/delphi.el (delphi-mode-syntax-table):
17392 Let define-derived-mode define a proper syntax table. (Bug#9994)
17393
17394 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17395
17396 * window.el: Stay away from defsubst.
17397 (window-list-no-nils): Remove.
17398 (window-state-get-1, window-state-get): Use backquote instead.
17399
17400 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17401
17402 * emacs-lisp/find-func.el (find-function-read):
17403 Fix incorrect use of default argument in `completing-read'.
17404
17405 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17406
17407 * window.el (display-buffer-function, special-display-function):
17408 Mention display-buffer-record-window but do not mention
17409 help-setup parameter in doc-strings.
17410 (window-min-delta): Fix doc-string typo.
17411
17412 2011-11-08 Chong Yidong <cyd@gnu.org>
17413
17414 * window.el (window-total-height, window-total-width): Doc fix.
17415 (window-body-size): Move from C.
17416 (window-body-height, window-body-width): Move to C.
17417
17418 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17419
17420 * window.el: Make special-display like display-buffer-alist (bug#9532).
17421 (display-buffer--special-action): New function, morphed
17422 from display-buffer--special.
17423 (display-buffer): Use it to handle special-display-buffers at higher
17424 priority (just after display-buffer-alist).
17425 (display-buffer-fallback-action, display-buffer--other-frame-action)
17426 (pop-to-buffer-same-window): Remove display-buffer--special.
17427
17428 2011-11-07 Glenn Morris <rgm@gnu.org>
17429
17430 * calendar/cal-menu.el (cal-menu-set-date-title):
17431 Do nothing if not in a calendar. (Bug#9976)
17432
17433 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17434
17435 * files.el (find-file): Always use selected-window.
17436
17437 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17438
17439 * window.el (window-combinations): Make WINDOW argument
17440 mandatory. Rewrite doc-string.
17441 (walk-window-subtree, window-atom-check, window-min-delta)
17442 (window-max-delta, window--resize-this-window)
17443 (window--resize-root-window-vertically, window-tree)
17444 (balance-windows, window-state-put): Rewrite doc-strings as to
17445 not mention the term "subwindow".
17446 (window--resize-subwindows-skip-p): Rename to
17447 window--resize-child-windows-skip-p.
17448 (window--resize-subwindows-normal): Rename to
17449 window--resize-child-windows-normal.
17450 (window--resize-subwindows): Rename to
17451 window--resize-child-windows.
17452 (window-or-subwindow-p): Rename to window--in-subtree-p.
17453
17454 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17455
17456 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17457 Ensure that mbox format messages end in two newlines (Bug#9974).
17458
17459 2011-11-06 Chong Yidong <cyd@gnu.org>
17460
17461 * window.el (window-combination-p): Function deleted; its
17462 side-effect is not used in any existing code.
17463 (window-combinations, window-combined-p): Call window-*-child
17464 directly.
17465
17466 2011-11-05 Chong Yidong <cyd@gnu.org>
17467
17468 * window.el (window-valid-p): Rename from window-any-p.
17469 (window-size-ignore, window-state-get): Callers changed.
17470 (window-normalize-window): Rename from window-normalize-any-window.
17471 New arg LIVE-ONLY, replacing window-normalize-live-window.
17472 (window-normalize-live-window): Delete.
17473 (window-combination-p, window-combined-p, window-combinations)
17474 (walk-window-subtree, window-atom-root, window-min-size)
17475 (window-sizable, window-sizable-p, window-size-fixed-p)
17476 (window-min-delta, window-max-delta, window-resizable)
17477 (window-resizable-p, window-full-height-p, window-full-width-p)
17478 (window-current-scroll-bars, window-point-1, set-window-point-1)
17479 (window-at-side-p, window-in-direction, window-resize)
17480 (adjust-window-trailing-edge, maximize-window, minimize-window)
17481 (window-deletable-p, delete-window, delete-other-windows)
17482 (record-window-buffer, unrecord-window-buffer)
17483 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17484 (quit-window, split-window, window-state-put)
17485 (set-window-text-height, fit-window-to-buffer)
17486 (shrink-window-if-larger-than-buffer): Callers changed.
17487
17488 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17489
17490 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17491 rfc2047-decode-string.
17492 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17493 warnings.
17494
17495 * window.el (window-body-height, window-body-width): Mention in
17496 the doc string that the return values are in frame's canonical
17497 units. (Bug#9949)
17498
17499 2011-11-03 Alan Mackenzie <acm@muc.de>
17500
17501 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17502 change in cc-engine.el.
17503
17504 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17505
17506 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17507
17508 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17509
17510 * window.el (quit-window): Call unrecord-window-buffer after
17511 showing another buffer in the window. (Bug#9937)
17512 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17513
17514 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17515
17516 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17517 Accept status with more than 9 shelves. (Bug#9935)
17518 Reported by Colin D Bennett <colin@gibibit.com>.
17519
17520 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17521
17522 * help.el (with-help-window): Don't reference
17523 temp-buffer-show-specifiers in doc-string.
17524
17525 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17526
17527 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17528 menu-item.
17529
17530 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17531
17532 * whitespace.el: New version 13.2.2.
17533 (whitespace-newline-mode): Disable properly. Reported by Sarah
17534 <EmacsWiki>.
17535
17536 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17537
17538 * net/newst-treeview.el: Remove "Time-stamp".
17539 (newsticker--group-manage-orphan-feeds): Do not call
17540 newsticker--treeview-tree-update.
17541 (newsticker-treeview-update, newsticker-treeview):
17542 Call newsticker--treeview-tree-update if necessary.
17543
17544 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17545
17546 * window.el (window-iso-combination-p, window-iso-combined-p)
17547 (window-iso-combinations): Remove "iso-" infix.
17548 Suggested by Chong Yidong.
17549 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17550 (window-max-delta-1, window-resize, window--resize-siblings)
17551 (window--resize-this-window, adjust-window-trailing-edge)
17552 (split-window, balance-windows-1)
17553 (shrink-window-if-larger-than-buffer):
17554 * calendar/calendar.el (calendar-generate-window):
17555 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17556
17557 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17558
17559 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17560 in place (bug#9907).
17561 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17562 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17563 (eshell-structure-basic-command, eshell-rewrite-while-command)
17564 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17565 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17566 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17567 (eshell-do-pipelines-synchronously, eshell-eval-command):
17568 Use backquotes and prefer setq to set.
17569 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17570 (eshell-macrop): Use functionp.
17571 (eshell-do-eval): Handle multiple expressions in `while' body.
17572
17573 2011-10-30 Chong Yidong <cyd@gnu.org>
17574
17575 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17576 instead of set-mark (Bug#9810).
17577
17578 2011-10-30 Chong Yidong <cyd@gnu.org>
17579
17580 * window.el (split-window-below, split-window-right): Rename from
17581 split-window-above-each-other and split-window-side-by-side
17582 respectively. All callers changed.
17583 (split-window-sensibly, split-window-sensibly): Use them.
17584 (split-window-keep-point): Doc fix.
17585
17586 * isearch.el: Add isearch-scroll property to split-window-below
17587 and split-window-right.
17588
17589 * follow.el (follow-mode):
17590 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17591 * progmodes/ada-xref.el (ada-gdb-application):
17592 * emulation/vip.el (vip-buffer-in-two-windows):
17593 * image-dired.el (image-dired-dired-with-window-configuration):
17594 * dired-x.el (dired-do-find-marked-files):
17595 * dired.el (dired-pop-to-buffer):
17596 * bs.el (bs--show-with-configuration):
17597 * vc/emerge.el (emerge-setup-windows):
17598 * textmodes/two-column.el (2C-two-columns):
17599 * textmodes/reftex-toc.el (reftex-toc):
17600 * progmodes/gdb-mi.el (gdb-setup-windows):
17601 * progmodes/fortran.el (fortran-window-create):
17602 * net/newst-treeview.el (newsticker--treeview-window-init):
17603 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17604 * emulation/tpu-edt.el (tpu-gold-map):
17605 * emulation/crisp.el (crisp-mode-map):
17606 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17607
17608 2011-10-29 Chong Yidong <cyd@gnu.org>
17609
17610 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17611
17612 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17613
17614 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17615 forged Ispell output (Bug#7904).
17616
17617 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17618
17619 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17620
17621 * doc-view.el: Avoid ugly errors about not finding nil.
17622 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17623 (doc-view-dvipdf-program, doc-view-unoconv-program)
17624 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17625 Avoid nil or absolute file name as default value.
17626 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17627
17628 2011-10-28 Alan Mackenzie <acm@muc.de>
17629
17630 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17631
17632 2011-10-28 Alan Mackenzie <acm@muc.de>
17633
17634 Amend the handling of c-beginning/end-of-defun in nested declaration
17635 scopes.
17636
17637 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17638 cc-langs.el. Change it to a defcustom.
17639
17640 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17641 cc-vars.el.
17642
17643 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17644 Prevent "class foo : bar" being spuriously recognized as a label.
17645
17646 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17647 Add parameter `inclusive' (to include enclosing braces in the region).
17648 (c-widen-to-enclosing-decl-scope): New function.
17649 (c-while-widening-to-decl-block): New macro.
17650 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17651 outward for defun boundaries, and correspondingly change symbol
17652 `respect-enclosure' to `go-outward'.
17653 (c-declaration-limits): Change algorithm to report only the "innermost"
17654 defun's boundaries.
17655
17656 2011-10-28 Deniz Dogan <deniz@dogan.se>
17657
17658 * net/rcirc.el (rcirc-mode): Use hard newlines.
17659
17660 2011-10-28 Alan Mackenzie <acm@muc.de>
17661
17662 Amend to indent and fontify macros "which include their own semicolon"
17663 correctly, using the "virtual semicolon" mechanism.
17664
17665 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17666
17667 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17668 Recode to scan one line at a time rather than having \n and \r
17669 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17670 (c-forward-label): Amend for virtual semicolons.
17671 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17672
17673 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17674 of the new C macros.
17675
17676 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17677 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17678 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17679 (c-opt-cpp-macro-define): Make into a full language variable.
17680 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17681 AWK Mode (including \n, \r) removed, no longer needed.
17682
17683 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17684 Invoke c-make-macro-with-semi-re.
17685
17686 * progmodes/cc-vars.el (c-macro-with-semi-re):
17687 (c-macro-names-with-semicolon): New variables.
17688 (c-make-macro-with-semi-re): New function.
17689
17690 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17691
17692 * vc/log-edit.el: Fill empty field rather than adding new one.
17693 (log-edit-add-field): New function.
17694 (log-edit-insert-changelog): Use it.
17695
17696 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17697
17698 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17699
17700 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17701
17702 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17703 (gdb--check-interpreter): New function.
17704 (gdb): Use it.
17705
17706 2011-10-27 Glenn Morris <rgm@gnu.org>
17707
17708 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17709 (least-positive-float, least-negative-float)
17710 (least-positive-normalized-float, least-negative-normalized-float)
17711 (float-epsilon, float-negative-epsilon):
17712 Remove unnecessary declarations.
17713
17714 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17715 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17716 (least-positive-float, least-negative-float)
17717 (least-positive-normalized-float, least-negative-normalized-float)
17718 (float-epsilon, float-negative-epsilon): Add doc-strings,
17719 based on those in cl.texi.
17720
17721 * files.el (set-visited-file-name): If the major-mode changed,
17722 reload the local variables. (Bug#9796)
17723
17724 2011-10-27 Chong Yidong <cyd@gnu.org>
17725
17726 * subr.el (change-major-mode-after-body-hook): New hook.
17727 (run-mode-hooks): Run it.
17728
17729 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17730 Use change-major-mode-before-body-hook.
17731
17732 * simple.el (fundamental-mode):
17733 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17734 change introducing fundamental-mode-hook.
17735
17736 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17737
17738 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17739
17740 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17741
17742 * ido.el (ido-file-name-all-completions-1): Do not require
17743 tramp.el explicitly. (Bug#7583)
17744
17745 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17746
17747 * progmodes/octave-mod.el:
17748 * progmodes/octave-inf.el: Update maintainer.
17749
17750 2011-10-26 Chong Yidong <cyd@gnu.org>
17751
17752 * subr.el (with-wrapper-hook): Rewrite doc.
17753
17754 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17755
17756 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17757 filenames "/method:foo:". (Bug#9793)
17758
17759 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17760
17761 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17762 (bug#9865).
17763
17764 2011-10-24 Glenn Morris <rgm@gnu.org>
17765
17766 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17767
17768 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17769
17770 * notifications.el: Add the requirement of a running D-Bus session
17771 bus to the Commentary.
17772
17773 2011-10-24 Juri Linkov <juri@jurta.org>
17774
17775 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17776 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17777 (Bug#9364)
17778
17779 2011-10-24 Juri Linkov <juri@jurta.org>
17780
17781 * info.el (Info-following-node-name-re): Add newline to the list
17782 of allowed characters for leading space. (Bug#9824)
17783
17784 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17785
17786 * progmodes/octave-inf.el (inferior-octave-mode-map):
17787 Fix C-c C-h binding.
17788 * progmodes/octave-mod.el (octave-help): Remove.
17789
17790 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17791
17792 Sync with Tramp 2.2.3.
17793
17794 * net/tramp-cache.el (top): Pacify byte-compiler using
17795 `init-file-user' and `site-run-file'.
17796
17797 * net/trampver.el: Update release number.
17798
17799 2011-10-23 Chong Yidong <cyd@gnu.org>
17800
17801 * files.el (toggle-read-only): Remove obsolete comment about
17802 version control.
17803
17804 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17805 for toggle-read-only. Note that this hasn't called vc-next-action
17806 since 2008-05-02, though it wasn't documented at the time.
17807
17808 * vc/ediff-init.el (ediff-toggle-read-only-function):
17809 Use toggle-read-only.
17810
17811 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17812
17813 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17814 of c-parse-state.
17815
17816 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17817 correct faulty logical expression.
17818 (c-parse-state-state, c-record-parse-state-state):
17819 (c-replay-parse-state-state): New defvar/defuns.
17820 (c-debug-parse-state): Use new functions.
17821
17822 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17823
17824 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17825 last fix. Use window-in-direction correctly.
17826
17827 2011-10-21 Chong Yidong <cyd@gnu.org>
17828
17829 * progmodes/idlwave.el (idlwave-mode):
17830 * progmodes/vera-mode.el (vera-mode): No need to set
17831 require-final-newline; that's done in prog-mode.
17832 Suggested by Stefan Monnier.
17833
17834 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17835
17836 * mouse.el (mouse-drag-window-above)
17837 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17838 (mouse-drag-mode-line-1, mouse-drag-header-line)
17839 (mouse-drag-vertical-line-rightward-window): Remove.
17840 (mouse-drag-line): New function.
17841 (mouse-drag-mode-line, mouse-drag-header-line)
17842 (mouse-drag-vertical-line): Call mouse-drag-line.
17843 * window.el (window-at-side-p, windows-at-side): New functions.
17844
17845 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17846
17847 * tar-mode.el (tar-grind-file-mode):
17848 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17849
17850 2011-10-21 Chong Yidong <cyd@gnu.org>
17851
17852 * progmodes/idlwave.el (idlwave-mode):
17853 * progmodes/vera-mode.el (vera-mode):
17854 Use mode-require-final-newline.
17855
17856 2011-10-20 Glenn Morris <rgm@gnu.org>
17857
17858 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17859
17860 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17861
17862 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17863
17864 2011-10-20 Chong Yidong <cyd@gnu.org>
17865
17866 * emulation/cua-base.el (cua-mode):
17867 * mail/footnote.el (footnote-mode):
17868 * mail/mailabbrev.el (mail-abbrevs-mode):
17869 * net/xesam.el (xesam-minor-mode):
17870 * progmodes/bug-reference.el (bug-reference-mode):
17871 * progmodes/cap-words.el (capitalized-words-mode):
17872 * progmodes/compile.el (compilation-minor-mode)
17873 (compilation-shell-minor-mode):
17874 * progmodes/gud.el (gud-tooltip-mode):
17875 * progmodes/hideif.el (hide-ifdef-mode):
17876 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17877 * progmodes/subword.el (subword-mode):
17878 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17879 * progmodes/which-func.el (which-function-mode):
17880 * term/tvi970.el (tvi970-set-keypad-mode):
17881 * term/vt100.el (vt100-wide-mode):
17882 * textmodes/flyspell.el (flyspell-mode):
17883 * textmodes/ispell.el (ispell-minor-mode):
17884 * textmodes/nroff-mode.el (nroff-electric-mode):
17885 * textmodes/paragraphs.el (use-hard-newlines):
17886 * textmodes/refill.el (refill-mode):
17887 * textmodes/reftex.el (reftex-mode):
17888 * textmodes/rst.el (rst-minor-mode):
17889 * textmodes/sgml-mode.el (html-autoview-mode)
17890 (sgml-electric-tag-pair-mode):
17891 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17892 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17893 * emulation/crisp.el (crisp-mode):
17894 * emacs-lisp/eldoc.el (eldoc-mode):
17895 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17896 minor mode behavior.
17897
17898 2011-10-19 Juri Linkov <juri@jurta.org>
17899
17900 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17901 the list of hard-coded chars with escape-glyph face.
17902
17903 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17904
17905 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17906
17907 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17908
17909 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17910 running process.
17911
17912 2011-10-19 Glenn Morris <rgm@gnu.org>
17913
17914 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17915 Ignore ignored files. (Bug#9726)
17916
17917 2011-10-19 Chong Yidong <cyd@gnu.org>
17918
17919 Doc fix for minor modes, stating that an omitted argument enables
17920 the mode unconditionally when called from Lisp.
17921
17922 * abbrev.el (abbrev-mode):
17923 * allout.el (allout-mode):
17924 * autoinsert.el (auto-insert-mode):
17925 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17926 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17927 (global-auto-revert-mode):
17928 * battery.el (display-battery-mode):
17929 * composite.el (global-auto-composition-mode)
17930 (auto-composition-mode):
17931 * delsel.el (delete-selection-mode):
17932 * desktop.el (desktop-save-mode):
17933 * dired-x.el (dired-omit-mode):
17934 * dirtrack.el (dirtrack-mode):
17935 * doc-view.el (doc-view-minor-mode):
17936 * double.el (double-mode):
17937 * electric.el (electric-indent-mode, electric-pair-mode):
17938 * emacs-lock.el (emacs-lock-mode):
17939 * epa-hook.el (auto-encryption-mode):
17940 * follow.el (follow-mode):
17941 * font-core.el (font-lock-mode):
17942 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17943 * help.el (temp-buffer-resize-mode):
17944 * hilit-chg.el (highlight-changes-mode)
17945 (highlight-changes-visible-mode):
17946 * hi-lock.el (hi-lock-mode):
17947 * hl-line.el (hl-line-mode, global-hl-line-mode):
17948 * icomplete.el (icomplete-mode):
17949 * ido.el (ido-everywhere):
17950 * image-file.el (auto-image-file-mode):
17951 * image-mode.el (image-minor-mode):
17952 * iswitchb.el (iswitchb-mode):
17953 * jka-cmpr-hook.el (auto-compression-mode):
17954 * linum.el (linum-mode):
17955 * longlines.el (longlines-mode):
17956 * master.el (master-mode):
17957 * mb-depth.el (minibuffer-depth-indicate-mode):
17958 * menu-bar.el (menu-bar-mode):
17959 * minibuf-eldef.el (minibuffer-electric-default-mode):
17960 * mouse-sel.el (mouse-sel-mode):
17961 * msb.el (msb-mode):
17962 * mwheel.el (mouse-wheel-mode):
17963 * outline.el (outline-minor-mode):
17964 * paren.el (show-paren-mode):
17965 * recentf.el (recentf-mode):
17966 * reveal.el (reveal-mode, global-reveal-mode):
17967 * rfn-eshadow.el (file-name-shadow-mode):
17968 * ruler-mode.el (ruler-mode):
17969 * savehist.el (savehist-mode):
17970 * scroll-all.el (scroll-all-mode):
17971 * scroll-bar.el (scroll-bar-mode):
17972 * server.el (server-mode):
17973 * shell.el (shell-dirtrack-mode):
17974 * simple.el (auto-fill-mode, transient-mark-mode)
17975 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
17976 (line-number-mode, column-number-mode, size-indication-mode)
17977 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
17978 * strokes.el (strokes-mode):
17979 * time.el (display-time-mode):
17980 * t-mouse.el (gpm-mouse-mode):
17981 * tool-bar.el (tool-bar-mode):
17982 * tooltip.el (tooltip-mode):
17983 * type-break.el (type-break-mode-line-message-mode)
17984 (type-break-query-mode):
17985 * view.el (view-mode):
17986 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17987 (global-whitespace-mode, global-whitespace-newline-mode):
17988 * xt-mouse.el (xterm-mouse-mode): Doc fix.
17989
17990 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17991 Fix autogenerated docstring.
17992
17993 2011-10-19 Juri Linkov <juri@jurta.org>
17994
17995 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
17996 by checking environment variables "DESKTOP_SESSION" and
17997 "XDG_CURRENT_DESKTOP". (Bug#9779)
17998
17999 2011-10-19 Juri Linkov <juri@jurta.org>
18000
18001 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18002 (browse-url-chromium-program, browse-url-chromium-arguments):
18003 New defcustoms.
18004 (browse-url-default-browser): Check for `browse-url-chromium' and
18005 call `browse-url-chromium-program'.
18006 (browse-url-chromium): New command. (Bug#9779)
18007
18008 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18009
18010 * facemenu.el (list-colors-duplicates): On Windows, detect more
18011 duplicates by assuming that only colors matching "^System" are
18012 special "system colors". (Bug#9722)
18013
18014 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18015
18016 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18017 to distinguish the author from the committer.
18018
18019 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18020
18021 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18022
18023 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18024
18025 * international/mule.el (sgml-html-meta-auto-coding-function):
18026 Add support for detecting encoding in HTML5 specified only as
18027 <meta charset="UTF-8">. Implementation just makes http-equiv and
18028 content-type parts from HTML4 encoding string optional. (Bug#9716)
18029
18030 2011-10-18 Glenn Morris <rgm@gnu.org>
18031
18032 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18033
18034 2011-10-18 Chong Yidong <cyd@gnu.org>
18035
18036 * faces.el (cursor): Doc fix.
18037
18038 2011-10-17 Chong Yidong <cyd@gnu.org>
18039
18040 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18041
18042 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18043
18044 * dirtrack.el (dirtrack): Support shell buffers with path
18045 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18046
18047 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18048
18049 * json.el: Bump version to 1.3 and note change in History.
18050 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18051
18052 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18053
18054 * comint.el (comint-insert-input, comint-send-input)
18055 (comint-get-old-input-default, comint-backward-matching-input)
18056 (comint-next-prompt): Use nil instead of `input' for field property of
18057 past user input (bug#114).
18058
18059 * minibuffer.el (completion--replace): Inherit surrounding properties
18060 (bug#114).
18061 (minibuffer-complete-and-exit): Use it.
18062
18063 * comint.el (comint--table-subvert): Quote the all-completions output
18064 (bug#9160).
18065
18066 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18067
18068 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18069
18070 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18071 window on right of selected. (Bug#9350) Reword other window
18072 entries and separate them from frame entries.
18073
18074 2011-10-15 Glenn Morris <rgm@gnu.org>
18075
18076 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18077 Doc fixes.
18078
18079 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18080
18081 * net/network-stream.el (network-stream-open-starttls):
18082 Improve detection of failure due to lack of TLS support.
18083
18084 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18085 putting the input text in front and in bold.
18086
18087 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18088
18089 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18090
18091 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18092 empty buffer.
18093
18094 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18095 unread-command-events rather than pushing yet-another event.
18096
18097 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18098
18099 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18100 the explanation of the possible choices. Make the options passed
18101 to completing-read shorter.
18102
18103 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18104
18105 * textmodes/flyspell.el (flyspell-large-region): Make sure
18106 extended character mode is used if defined (Bug#1339).
18107
18108 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18109
18110 * simple.el (what-cursor-position): Fix the display of the
18111 character info for LRE, LRO, RLE, and RLO characters by appending
18112 an invisible PDF.
18113
18114 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18115
18116 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18117 even in case of error; add debug spec; simplify data flow.
18118 (with-timeout-handler): Remove.
18119
18120 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18121
18122 Fix Bug#6019, Bug#9315.
18123
18124 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18125 complete `buffer-file-name', the local file name part could look
18126 remotely (for example on VMS).
18127
18128 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18129 `tramp-run-real-handler'.
18130 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18131 already quoted by '"'.
18132
18133 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18134 Let `file-name-handler-alist' be nil, the local file name part
18135 could look remotely (for example on VMS).
18136
18137 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18138
18139 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18140 from here...
18141 (flyspell-post-command-hook): ...to here.
18142
18143 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18144
18145 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18146 if not needed.
18147 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18148 using completion. Protect against "slow" callers.
18149 Remove the "message hack".
18150
18151 2011-10-11 Juri Linkov <juri@jurta.org>
18152
18153 * isearch.el (isearch-lazy-highlight-word): New variable.
18154 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18155 Use it. (Bug#9727)
18156
18157 2011-10-11 Glenn Morris <rgm@gnu.org>
18158
18159 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18160 like f90-previous-statement does.
18161
18162 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18163
18164 * eshell/eshell.el (eshell-command): History should be saved
18165 only in interactive use, to avoid error.
18166
18167 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18168
18169 * minibuffer.el (completion-file-name-table): Fix last change,
18170 i.e. ignore normal errors but not the other ones.
18171
18172 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18173
18174 * window.el (special-display-buffer-names)
18175 (special-display-regexps): Remove some remnants of earlier
18176 changes from doc-strings.
18177 (quit-windows-on): New function.
18178
18179 * vc/vc.el (vc-revert, vc-rollback):
18180 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18181 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18182 (Bug#6183) (Bug#7074) (Bug#7447)
18183
18184 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18185
18186 * window.el (frame-auto-hide-function): Add version tag.
18187 (Bug#9699)
18188
18189 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18190
18191 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18192 condition.
18193
18194 2011-10-09 Leo Liu <sdl.web@gmail.com>
18195
18196 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18197 (Bug#9701)
18198
18199 2011-10-08 Glenn Morris <rgm@gnu.org>
18200
18201 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18202 before the first code statement zero indent. (Bug#9690)
18203
18204 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18205
18206 * simple.el (count-words-region): Always count in the region.
18207 Report the number of lines and characters too.
18208 (count-words): New command, which counts in the buffer if the
18209 region is inactive, as count-words-region used to.
18210 (count-words--message): New function. Handle plurals.
18211 (count-lines-region): Make it an alias for count-words-region.
18212
18213 * bindings.el (esc-map): Replace count-lines-region with
18214 count-words-region.
18215
18216 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18217
18218 * window.el (window--delete): Delete dedicated frame
18219 unconditionally when argument KILL is non-nil. (Bug#9699)
18220 (switch-to-buffer): Fix doc-string typo.
18221
18222 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18223
18224 * eshell/eshell.el (eshell-command): Avoid using hooks.
18225
18226 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18227
18228 * bindings.el ([M-left],[M-right]): Bind to left-word and
18229 right-word respectively.
18230
18231 2011-10-07 Glenn Morris <rgm@gnu.org>
18232
18233 * cus-start.el (debug-on-quit): Fix custom type.
18234
18235 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18236
18237 * subr.el (define-key-after): Clarify that the function is not
18238 useful for non-menu keymaps.
18239
18240 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18241
18242 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18243
18244 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18245 in current minibuffer (Fix bug with recursive minibuffers).
18246
18247 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18248
18249 * progmodes/gdb-mi.el (gdb): Doc fix.
18250
18251 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18252
18253 * window.el (frame-auto-hide-function): New option replacing
18254 frame-auto-delete. Suggested by Stefan Monnier.
18255 (window--delete): Call frame-auto-hide-function instead of
18256 investigating frame-auto-delete.
18257 (window-point-1, set-window-point-1): New functions.
18258 (window-in-direction, record-window-buffer, window-state-get-1)
18259 (display-buffer-record-window): Use window-point-1 instead of
18260 window-point.
18261 (set-window-buffer-start-and-point): Use set-window-point-1.
18262
18263 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18264
18265 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18266
18267 2011-10-05 Glenn Morris <rgm@gnu.org>
18268
18269 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18270 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18271
18272 2011-10-05 Leo Liu <sdl.web@gmail.com>
18273
18274 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18275 works with buffer object.
18276
18277 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18278
18279 * mpc.el (mpc-tool-bar-map): Add labels.
18280
18281 2011-10-04 Glenn Morris <rgm@gnu.org>
18282
18283 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18284
18285 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18286
18287 * window.el (window--delete): New function.
18288 (frame-auto-delete): Resuscitate option.
18289 (bury-buffer, replace-buffer-in-windows)
18290 (quit-window): Rewrite using window--delete.
18291 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18292 Pass display-buffer-mark-dedicated to window--display-buffer-2
18293 (Bug#9639).
18294
18295 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18296
18297 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18298 returns a list (bug#9554). Add remote file name completion.
18299 * comint.el (comint--table-subvert): Curry and get quote&unquote
18300 functions as arguments.
18301 (comint--complete-file-name-data): Adjust call accordingly.
18302 * pcomplete.el (pcomplete--table-subvert): Remove.
18303 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18304
18305 * minibuffer.el (completion-table-case-fold): Use currying.
18306 (completion--styles-type, completion--cycling-threshold-type):
18307 New constants.
18308 (completion-styles, completion-category-overrides)
18309 (completion-cycle-threshold): Use them.
18310 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18311 completion-table-case-fold.
18312
18313 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18314
18315 * minibuffer.el (completion-category-overrides): Fix type of styles
18316 and add more user friendly tags (bug#9660).
18317
18318 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18319
18320 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18321 (mule-input-method-string): New widget.
18322 (default-input-method, language-info-custom-alist): Use it.
18323
18324 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18325
18326 * pcomplete.el: Require comint.
18327 (pcomplete--common-suffix): Remove.
18328 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18329 (pcomplete--table-subvert): Sync with comint--table-subvert.
18330 (pcomplete--entries): Use comint-completion-file-name-table.
18331 * comint.el (comint-unquote-filename): Simplify.
18332 (comint-completion-file-name-table): New function (bug#9616).
18333 (comint--complete-file-name-data): Use it.
18334
18335 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18336 (pcmpl-gnu-tar-buffer): Remove.
18337 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18338 around. Make sure pcomplete-suffix-list is only changed temporarily.
18339 Don't look inside the tar's file if it's too large.
18340
18341 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18342
18343 * cus-edit.el (custom-mode-map):
18344 * epa.el (epa-key-list-mode-map):
18345 * man.el (Man-mode-map):
18346 * startup.el (splash-screen-keymap):
18347 * simple.el (special-mode-map): Use scroll-up-command and
18348 scroll-down-command.
18349
18350 * progmodes/idlw-help.el (idlwave-help-mode-map):
18351 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18352 * net/newst-plainview.el (newsticker-mode-map):
18353 * emulation/ws-mode.el (wordstar-mode-map):
18354 * emulation/vi.el (vi-com-map):
18355 * calc/calc-graph.el (calc-graph-show-dumb):
18356 * term/sun.el (terminal-init-sun):
18357 * term/ns-win.el (global-map):
18358 * progmodes/grep.el (grep-mode-map):
18359 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18360 * mail/rmail.el (rmail-mode-map):
18361 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18362
18363 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18364 custom-safe-themes as special.
18365
18366 2011-10-01 Julien Danjou <julien@danjou.info>
18367
18368 * notifications.el (notifications-notify): Fix docstring.
18369
18370 2011-10-01 Per Starbäck <per@starback.se>
18371
18372 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18373
18374 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18375
18376 * startup.el (command-line-1): Fix last fix by inserting
18377 initial-scratch-message into *scratch* before displaying it.
18378 (Bug#9605) and (Bug#9636)
18379
18380 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18381
18382 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18383 window is hscrolled, move by logical lines. (Bug#9607)
18384 (line-move-visual): Update the doc string to the above effect.
18385
18386 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18387
18388 * window.el (display-buffer-record-window): When WINDOW is the
18389 selected window use `point' instead of `window-point'. (Bug#9626)
18390
18391 * startup.el (command-line-1): Use insert-before-markers when
18392 inserting initial-scratch-message. (Bug#9605)
18393
18394 * help.el (help-window): Remove variable.
18395
18396 2011-09-29 Glenn Morris <rgm@gnu.org>
18397
18398 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18399
18400 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18401
18402 * descr-text.el (describe-char-categories): Accept category
18403 descriptions more than one line long.
18404
18405 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18406
18407 * simple.el (delete-trailing-whitespace): Fix last change.
18408
18409 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18410 Don't confuse "y => 3" as the beginning of a `y' operation.
18411
18412 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18413 object has more than 4 slots (bug#9613).
18414
18415 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18416
18417 * subr.el (with-output-to-temp-buffer):
18418 * net/quickurl.el (quickurl, quickurl-browse-url):
18419 Fix typos in docstrings.
18420
18421 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18422
18423 * minibuffer.el (completion-styles)
18424 (completion-category-overrides): Cross reference each other in doc
18425 strings.
18426
18427 2011-09-27 Glenn Morris <rgm@gnu.org>
18428
18429 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18430 to split-string. (Bug#9606)
18431
18432 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18433
18434 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18435 (bug#9615).
18436
18437 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18438
18439 * emacs-lisp/package.el (list-packages): Fix echo area message.
18440
18441 2011-09-27 Leo Liu <sdl.web@gmail.com>
18442
18443 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18444
18445 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18446
18447 * net/dbus.el (dbus-unregister-object): Don't release services for
18448 registered signals. (Bug#9581)
18449
18450 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18451
18452 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18453 function that picks between cfengine 2 and 3 support
18454 automatically. Update docs accordingly.
18455
18456 2011-09-22 Kenichi Handa <handa@m17n.org>
18457
18458 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18459 ZERO.
18460 (indian-itrans-v5-table-for-tamil): New variable.
18461 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18462
18463 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18464
18465 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18466 that's true if the current command involved collapsing of text.
18467 It's reset to false at the beginning of the next command.
18468 (allout-post-command-business): Move the cursor to the beginning
18469 of entry if the cursor is hidden and collapsing activity just
18470 happened.
18471
18472 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18473
18474 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18475 tracking (Bug#9541).
18476
18477 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18478
18479 * net/newst-reader.el (newsticker-html-renderer)
18480 (newsticker-show-news): Automatically load html rendering package
18481 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18482 because w3m-fill-column is let-bound" and the error "Symbol's value
18483 as variable is void: w3m-fill-column".
18484
18485 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18486
18487 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18488 Release services only if they are defined. (Bug#9581)
18489
18490 2011-09-23 Richard Stallman <rms@gnu.org>
18491
18492 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18493 distinguish start of paragraph from start of its text.
18494
18495 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18496
18497 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18498 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18499 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18500
18501 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18502
18503 * international/mule-diag.el (mule-diag): Insert a newline after
18504 each fontset description.
18505
18506 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18507
18508 * simple.el (delete-trailing-whitespace):
18509 Document last change; simplify.
18510
18511 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18512
18513 * simple.el (delete-trailing-whitespace): Also delete
18514 extra newlines at the end of the buffer.
18515
18516 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18517 (picture-newline): Use forward-line so as to ignore fields.
18518
18519 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18520
18521 * subr.el (with-wrapper-hook): Fix edebug spec.
18522
18523 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18524
18525 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18526 (bug#4538).
18527
18528 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18529
18530 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18531 Fix nasty bug using wrong cached values.
18532
18533 2011-09-23 Alan Mackenzie <acm@muc.de>
18534
18535 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18536
18537 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18538
18539 * window.el (pop-to-buffer): Ensure right window is selected if we
18540 chose another frame.
18541
18542 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18543
18544 * simple.el (what-cursor-position): Use get-char-property-change
18545 and next-single-char-property-change, to be able to show display
18546 properties that come from overlays as well as text properties.
18547
18548 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18549
18550 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18551
18552 * cmuscheme.el (run-scheme, switch-to-scheme):
18553 * cus-edit.el (customize-group, custom-buffer-create)
18554 (customize-browse):
18555 * info.el (info):
18556 * shell.el (shell):
18557 * mail/sendmail.el (mail):
18558 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18559
18560 2011-09-22 Richard Stallman <rms@gnu.org>
18561
18562 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18563 move back only to line beg, don't move back over blank lines.
18564
18565 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18566
18567 * files.el (copy-directory): Set directory attributes only in case
18568 they could be retrieved from the source directory. (Bug#9565)
18569
18570 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18571
18572 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18573 (hs-find-block-beginning, hs-hide-level-recursive):
18574 Ignore strings as well as comments. (Bug#9502)
18575
18576 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18577
18578 * progmodes/sql.el (sql-comint-postgres):
18579 Convert port number to a string. (Bug#9566)
18580
18581 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18582
18583 * window.el (quit-window): Undedicate window when switching to
18584 previous buffer. Reported by Thierry Volpiatto
18585 <thierry.volpiatto@gmail.com>.
18586 (special-display-popup-frame): When popping up a new frame reset
18587 its previous buffers to nil. Simplify code.
18588
18589 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18590
18591 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18592 and process filter, as done also in `shell-command'.
18593
18594 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18595
18596 * window.el (set-window-buffer-start-and-point):
18597 Call set-window-start with NOFORCE argument t.
18598 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18599 (quit-window): Reword doc-string. Handle new format of
18600 quit-restore parameter. Don't delete window if it has a
18601 previous buffer we can show instead of the present one.
18602 (display-buffer-record-window): Rewrite using a new format for
18603 the quit-restore window parameter
18604 (special-display-popup-frame, display-buffer-same-window)
18605 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18606 (display-buffer-pop-up-window, display-buffer-use-some-window):
18607 Adapt symbol passed to display-buffer-record-window.
18608 * help.el (help-window-setup): Handle new format of quit-restore
18609 parameter.
18610
18611 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18612
18613 * faces.el (face-list): Fix docstring (bug#9564).
18614
18615 * window.el (display-buffer--action-function-custom-type):
18616 Don't include internal functions in the Custom interface.
18617
18618 2011-09-20 Juri Linkov <juri@jurta.org>
18619
18620 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18621 (Info-forward-node, Info-backward-node, Info-next-preorder)
18622 (Info-last-preorder): Use it. (Bug#9528)
18623
18624 2011-09-20 Juri Linkov <juri@jurta.org>
18625
18626 * info.el (Info-last-preorder): Visit last menu item only when
18627 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18628
18629 2011-09-20 Julien Danjou <julien@danjou.info>
18630
18631 * password-cache.el (password-cache-remove): Remove entries even if the
18632 value is nil, so that password with a nil value (negative caching) is
18633 possible to invalidate.
18634
18635 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18636
18637 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18638 all whitespace around breakpoint. (Bug#9553)
18639 (f90-find-breakpoint): Only break at whitespace inside a comment.
18640
18641 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18642
18643 * minibuffer.el (completion-file-name-table): Keep track of errors.
18644 (completion-table-with-predicate): Handle the case where pred1 is nil.
18645 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18646
18647 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18648
18649 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18650 (debugger-return-value): Signal an error if the debugging context does
18651 not await any return value.
18652
18653 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18654 * image-mode.el (image-toggle-display-text)
18655 (image-toggle-display-image): Stay away from evil `intangible'.
18656
18657 2011-09-19 Leo Liu <sdl.web@gmail.com>
18658
18659 * replace.el (occur-revert-arguments): Make it permanent-local.
18660 (occur-mode): Don't call font-lock-defontify.
18661
18662 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18663
18664 * net/ldap.el (ldap-search-internal): Don't push empty search
18665 result (Bug#9508).
18666
18667 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18668
18669 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18670
18671 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18672
18673 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18674 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18675
18676 2011-09-18 Juri Linkov <juri@jurta.org>
18677
18678 * buff-menu.el (Buffer-menu-mode-map):
18679 * dired.el (dired-mode-map):
18680 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18681 (lisp-interaction-mode-map):
18682 * emacs-lisp/package.el (package-menu-mode-map):
18683 * epa.el (epa-key-list-mode-map):
18684 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18685 (menu-bar-options-menu):
18686 * outline.el (outline-mode-menu-bar-map):
18687 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18688 * vc/vc-dir.el (vc-dir-menu-map):
18689 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18690 Capitalize non-function content words in menu item strings.
18691
18692 * dired.el (dired-mode-map): Add menu item for
18693 `image-dired-dired-toggle-marked-thumbs'.
18694
18695 2011-09-18 Juri Linkov <juri@jurta.org>
18696
18697 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18698 to `isearch-case-fold-search' and restore its original value
18699 after the `isearch-mode' call.
18700
18701 2011-09-18 Juri Linkov <juri@jurta.org>
18702
18703 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18704 because `zgrep' returns 1 for successful matches (bug#9226).
18705
18706 2011-09-18 Juri Linkov <juri@jurta.org>
18707
18708 * info.el (Info-extract-menu-node-name): Check the second match
18709 for empty string (second test-case of bug#9528).
18710 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18711 intermediate nodes to the history (first test-case of bug#9528).
18712
18713 2011-09-18 Juri Linkov <juri@jurta.org>
18714
18715 * info.el (Info-mode-syntax-table): New variable.
18716 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18717
18718 2011-09-18 Juri Linkov <juri@jurta.org>
18719
18720 * info.el (Info-file-supports-index-cookies):
18721 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18722 outputs one more line for long file names (bug#4142).
18723
18724 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18725
18726 * newcomment.el (comment-normalize-vars): If prompting for
18727 comment-start, set comment-start-skip too (Bug#8424).
18728
18729 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18730
18731 * icomplete.el: Fix previous fix of Bug#5849.
18732 (icomplete-mode): Don't set completion-show-inline-help.
18733 (icomplete-minibuffer-setup): Set completion-show-inline-help
18734 locally during icompletion.
18735
18736 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18737
18738 * woman.el (woman2-process-escapes): Don't delete unrecognized
18739 escapes (Bug#7843).
18740
18741 * files.el (inhibit-first-line-modes-regexps): Add image files.
18742 (hack-local-variables-prop-line): Return nil for malformed
18743 prop-lines (Bug#9044).
18744
18745 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18746
18747 * net/tramp.el (top): Don't require 'shell.
18748 (tramp-methods): Fix docstring.
18749 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18750 Return complete remote file name. Handle "smb" case.
18751 Use `tramp-tmpdir', if defined for the respective method.
18752 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18753
18754 * net/tramp-compat.el (top): Require 'shell.
18755
18756 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18757 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18758 `tramp-current-host'.
18759 (tramp-get-remote-tmpdir): Remove.
18760
18761 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18762 `tramp-tmpdir' entries.
18763 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18764 (tramp-smb-handle-file-attributes): Ignore errors.
18765 (tramp-smb-wait-for-output): Check also for process end.
18766
18767 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18768
18769 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18770 when sending QUIT (bug#9312).
18771
18772 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18773
18774 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18775 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18776 occur-mode-display-occurrence.
18777 (occur-edit-mode): Add usage message.
18778 (occur-cease-edit): New command.
18779 (occur-after-change-function): Use text properties to find the
18780 position of the prefix text.
18781 (occur-engine): Set stickiness of prefix text properties.
18782
18783 2011-09-17 Glenn Morris <rgm@gnu.org>
18784
18785 * progmodes/etags.el (complete-tag):
18786 Fix call to completion-in-region. (Bug#9526)
18787
18788 2011-09-17 Juri Linkov <juri@jurta.org>
18789
18790 * textmodes/ispell.el (ispell-word): Add to the error message
18791 the word, ispell program name and current dictionary (bug#9121).
18792 (ispell-tex-arg-end): Capitalize "error" in the error message.
18793
18794 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18795
18796 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18797 check. (Bug#4251)
18798
18799 2011-09-17 Juri Linkov <juri@jurta.org>
18800
18801 * window.el (window-safe-min-height, window-safe-min-width):
18802 Fix typos (followup to bug#9522).
18803
18804 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18805
18806 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18807
18808 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18809
18810 * simple.el (line-move): If goal-column is set, move by logical
18811 lines, not by display lines. (Bug#971)
18812 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18813 to reflect the above change.
18814
18815 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18816
18817 * image.el (imagemagick-register-types): Use regexp-opt.
18818
18819 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18820
18821 * window.el (display-buffer-base-action): Rename from
18822 display-buffer-default-action. Make default value empty.
18823 (display-buffer-overriding-action): Convert to defvar.
18824 (display-buffer-fallback-action): New var.
18825
18826 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18827
18828 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18829 declaration.
18830 (package--add-to-archive-contents): If there is a duplicate entry
18831 with an older version, remove it.
18832 (package-menu-mark-delete, package-menu-mark-install)
18833 (package-menu-mark-unmark): Make unused args optional.
18834 (package-menu-mark-obsolete-for-deletion):
18835 Use package-menu-get-status instead of a regexp search.
18836 (package-menu-get-status): Use tabulated-list-entry.
18837 (package-menu-mark-upgrades): New command.
18838 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18839 (package-menu-execute): Do installation before deletion.
18840 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18841 instead of checking major-mode.
18842 (package-menu--find-upgrades): New function.
18843
18844 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18845
18846 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18847 passwords in the log buffer.
18848 (smtpmail-process-filter): Update the process marker so that the
18849 "broken by peer" status message is inserted in the right place.
18850
18851 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18852
18853 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18854 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18855 bibtex-completion-at-point-function.
18856 (bibtex-completion-at-point-function): Use them.
18857
18858 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18859
18860 * mpc.el (mpc-constraints-tag-lookup): New function.
18861 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18862 also to browser "album|playlist".
18863
18864 2011-09-14 Juri Linkov <juri@jurta.org>
18865
18866 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18867 (isearch-edit-string): Use length of `isearch-string' when
18868 `isearch-fail-pos' returns nil.
18869 (isearch-message): Remove duplicate code and call
18870 `isearch-fail-pos' with arg `t'.
18871
18872 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18873
18874 * replace.el (occur-mode-goto-occurrence): Don't force using other
18875 window (Bug#9499).
18876
18877 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18878
18879 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18880
18881 * window.el (display-buffer-window): Remove.
18882 (display-buffer-record-window): Use help-setup window parameter
18883 instead of variable display-buffer-window.
18884 (display-buffer-function, special-display-buffer-names)
18885 (special-display-function): Mention help-setup parameter instead
18886 of display-buffer-window in doc-string.
18887 * help.el (help-window-setup): New argument help-window.
18888 Use help-window-setup parameter instead of display-buffer-window.
18889 Reword some messages.
18890 (with-help-window): Pass window used for displaying the buffer
18891 to help-window-setup. Don't set display-buffer-window.
18892
18893 2011-09-13 Glenn Morris <rgm@gnu.org>
18894
18895 * emacs-lisp/debug.el (debugger-make-xrefs):
18896 Preserve point. (Bug#9462)
18897
18898 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18899
18900 * window.el (window-deletable-p): Use next-frame.
18901
18902 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18903
18904 * window.el (window-auto-delete): Remove.
18905 (window-deletable-p): Remove argument FORCE. Don't deal with
18906 dedication and previous buffers.
18907 (switch-to-prev-buffer): Don't delete window.
18908 (delete-windows-on): Delete a window's frame if and only if the
18909 window is dedicated.
18910 (replace-buffer-in-windows): Delete buffer's window or frame if
18911 and only if window is dedicated.
18912 (quit-window): Handle quit-restore as before last change.
18913 (bury-buffer): Delete window only if window-deletable-p returns t.
18914
18915 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18916
18917 * window.el (window-deletable-p): Never delete the last frame on a
18918 given terminal.
18919
18920 2011-09-13 Glenn Morris <rgm@gnu.org>
18921
18922 * help.el (describe-key-briefly): Copy previous standard-output change.
18923
18924 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18925
18926 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18927
18928 2011-09-13 Glenn Morris <rgm@gnu.org>
18929
18930 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18931 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18932
18933 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18934
18935 * dired-aux.el (dired-mark-read-string): Don't return default
18936 value on empty input (Bug#9361).
18937 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18938 Omit initial minibuffer contents.
18939 (dired-do-chmod): Signal an error on empty input.
18940 (dired-mark-read-string): Don't return default on empty input.
18941
18942 * files.el (file-modes-symbolic-to-number): Doc fix.
18943
18944 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18945
18946 * international/mule-cmds.el (ucs-completions): Remove.
18947 (read-char-by-name): Use complete-with-action instead; add metadata.
18948
18949 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18950
18951 * window.el (display-buffer--action-function-custom-type)
18952 (display-buffer--action-custom-type): New vars.
18953 (display-buffer-alist, display-buffer-default-action)
18954 (display-buffer-overriding-action): Add defcustom types.
18955
18956 * frame.el (delete-other-frames): Doc fix (Bug#276).
18957
18958 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18959
18960 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
18961
18962 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
18963
18964 Change modes that used same-window-* vars to use switch-to-buffer.
18965
18966 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
18967 Use switch-to-buffer.
18968
18969 * cus-edit.el (customize-group, custom-buffer-create)
18970 (customize-browse, custom-buffer-create-other-window):
18971 Use switch-to-buffer or switch-to-buffer-other-window.
18972
18973 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
18974 (Info-prev, Info-up, Info-speedbar-goto-node)
18975 (info-display-manual): Use switch-to-buffer.
18976 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
18977
18978 * mail/sendmail.el (mail): Use switch-to-buffer.
18979 (mail-recover): Use switch-to-buffer-other-window.
18980
18981 * cmuscheme.el (run-scheme, switch-to-scheme):
18982 * ielm.el (ielm):
18983 * shell.el (shell):
18984 * net/rlogin.el (rlogin):
18985 * net/telnet.el (telnet, rsh):
18986 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
18987
18988 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18989
18990 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
18991
18992 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
18993
18994 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
18995 so don't mention it (bug#9301).
18996 (dired-sort-toggle-or-edit): Clarify string further.
18997
18998 * faces.el (face-spec-set-match-display): Make `(type graphic)'
18999 match `x', `w32' and `ns', like the manual says (bug#9029).
19000
19001 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19002 (process-kill-buffer-query-function): Mention the buffer name in
19003 the query.
19004
19005 * image-mode.el (image-next-line): The line parameter is mandatory
19006 (bug#9258).
19007
19008 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19009 which can be useful (bug#9301).
19010
19011 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19012
19013 * subr.el (match-string): Mention that the current buffer should
19014 be the same as the search was done in (bug#9282).
19015
19016 * facemenu.el: Disable the remove-* commands if the mark isn't
19017 active (bug#9162).
19018
19019 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19020
19021 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19022 of display-buffer.
19023 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19024
19025 * replace.el (occur-mode-goto-occurrence)
19026 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19027 and display-buffer.
19028
19029 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19030 display-buffer.
19031
19032 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19033 special-display and same-window variables.
19034 (mail-other-window): Use switch-to-buffer-other-window.
19035 (mail-other-frame): USe switch-to-buffer-other-frame.
19036
19037 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19038 Use display-buffer-other-frame.
19039 (gdb-display-gdb-buffer): Use pop-to-buffer.
19040
19041 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19042
19043 * progmodes/python.el: Don't set same-window-buffer-names.
19044
19045 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19046
19047 * window.el (display-buffer-alist): Add *Python*.
19048
19049 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19050
19051 * window.el (display-buffer-alist): Add entry for buffers
19052 previously handled same-window-*.
19053 (display-buffer-alist, display-buffer-default-action)
19054 (display-buffer-overriding-action): Mark as risky.
19055 (display-buffer-alist): Document action function changes.
19056 (display-buffer--same-window-action)
19057 (display-buffer--other-frame-action): New variables.
19058 (switch-to-buffer, display-buffer-other-frame): Use them.
19059 (display-buffer): Rename reuse-frame entry to reusable-frames.
19060 (display-buffer-reuse-selected-window): Function deleted.
19061 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19062 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19063 (display-buffer-special): New function.
19064 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19065 display-buffer-reuse-or-pop-window. Split off special-display
19066 part into display-buffer-special.
19067 (display-buffer-use-some-window): Don't perform any special
19068 pop-up-frames handling.
19069 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19070 (display-buffer--maybe-same-window): Rename from
19071 display-buffer-maybe-same-window.
19072
19073 * info.el: Don't set same-window-regexps.
19074 (info-setup): New function.
19075 (info-other-window, info): Call it.
19076
19077 * cus-edit.el: Don't set same-window-regexps.
19078 (customize-group): New argument.
19079 (customize-group-other-window): Use it.
19080 (customize-face, customize-face-other-window): Likewise.
19081 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19082
19083 * net/rlogin.el:
19084 * net/telnet.el:
19085 * progmodes/gud.el: Don't set same-window-regexps.
19086
19087 * cmuscheme.el:
19088 * ielm.el:
19089 * shell.el:
19090 * mail/sendmail.el:
19091 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19092
19093 2011-09-10 Juri Linkov <juri@jurta.org>
19094
19095 * isearch.el (isearch-edit-string): Remove obsolete mention of
19096 `C-w' (`isearch-yank-word-or-char') from docstring.
19097 (isearch-query-replace): Fix typo in docstring (bug#9466).
19098
19099 2011-09-10 Juri Linkov <juri@jurta.org>
19100
19101 * paren.el (show-paren-function): Don't show escaped parens.
19102 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19103
19104 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19105
19106 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19107 (mm-default-file-encoding): Remove autoload forms, they are
19108 replaced with autoload cookies in mml.el and mm-encode.el.
19109 (mail-add-attachment): New command.
19110 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19111 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19112 the doc string.
19113 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19114
19115 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19116
19117 * simple.el (count-words-region): Use buffer if there's no region
19118 (bug#9429).
19119
19120 2011-09-09 Juri Linkov <juri@jurta.org>
19121
19122 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19123 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19124 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19125
19126 2011-09-09 Alan Mackenzie <acm@muc.de>
19127
19128 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19129 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19130
19131 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19132
19133 Fix for Savannah bug#9392.
19134 * simple.el (mail-encode-mml): New defvar.
19135
19136 * mail/rmail.el (mail-encode-mml): Add a defvar.
19137 (rmail-enable-mime-composing): Default to t.
19138 (rmail-forward): Use MIME method of forwarding only if both
19139 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19140 Set mail-encode-mml non-nil if the MIME method was used.
19141
19142 * mail/sendmail.el (mml-to-mime): Add autoload form.
19143 (mail-encode-mml): Add a defvar.
19144 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19145 to nil.
19146 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19147 message through mml-to-mime, and reset mail-encode-mml to nil.
19148
19149 2011-09-09 Glenn Morris <rgm@gnu.org>
19150
19151 * woman.el (woman-if-body): When processing an .el block,
19152 do not delete the next .el block as well. (Bug#9447)
19153 (woman-special-characters): Add oq, cq, and hy characters.
19154
19155 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19156
19157 * window.el (window-deletable-p): Make sure window is live before
19158 invoking window-prev-buffers.
19159
19160 2011-09-08 Leo Liu <sdl.web@gmail.com>
19161
19162 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19163
19164 2011-09-08 Juri Linkov <juri@jurta.org>
19165
19166 * progmodes/compile.el (compilation-environment): Make it
19167 a defcustom (bug#8340).
19168
19169 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19170
19171 * window.el (frame-auto-delete): Rename to window-auto-delete.
19172 Make it control auto-deletion of windows and/or frames.
19173 (window-deletable-p): New argument FORCE. Rewrite conditions
19174 for deleting window/frame. (Bug#9419)
19175 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19176 Rewrite handling of case when window/frame can be deleted.
19177 (delete-windows-on): Call window-deletable-p with new FORCE
19178 argument t. (Bug#9456)
19179
19180 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19181
19182 * help-mode.el (help-mode): Restore autoload.
19183
19184 2011-09-07 Juri Linkov <juri@jurta.org>
19185
19186 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19187 `compilation-environment'. Set buffer-local
19188 `compilation-environment' to `thisenv' later after (funcall mode).
19189 (Bug#8340)
19190
19191 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19192 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19193 instead of replacing its value. (Bug#8340)
19194
19195 2011-09-07 Juri Linkov <juri@jurta.org>
19196
19197 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19198 based on text properties put by `grep-filter' instead of matching
19199 escape sequences.
19200 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19201 to the value of `grep-error-screen-columns' (bug#9438).
19202
19203 2011-09-07 Juri Linkov <juri@jurta.org>
19204
19205 * simple.el (next-error-highlight, next-error-highlight-no-select):
19206 Doc fix (bug#9432).
19207
19208 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19209
19210 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19211 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19212
19213 2011-09-07 Leo Liu <sdl.web@gmail.com>
19214
19215 * net/rcirc.el (rcirc-mode): Conditionally initialize
19216 rcirc-input-ring.
19217
19218 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19219
19220 * emacs-lisp/find-func.el (find-function-C-source): Only set
19221 find-function-C-source-directory after checking that we found a source
19222 file there (bug#9440).
19223
19224 2011-09-06 Alan Mackenzie <acm@muc.de>
19225
19226 * isearch.el (isearch-other-meta-char): Wherever a key list is
19227 unread, "unread" the prefix arg, too. This fixes bug #8901.
19228
19229 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19230
19231 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19232
19233 2011-09-05 Juri Linkov <juri@jurta.org>
19234
19235 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19236
19237 2011-09-05 Juri Linkov <juri@jurta.org>
19238
19239 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19240 keeping point where processing of grep matches begins, and
19241 continue to delete remaining escape sequences from the same point.
19242 (grep-filter): Make leading zero optional in "0?1;31m" because
19243 git-grep emits "\033[1;31m" escape sequences unlike expected
19244 "\033[01;31m" as GNU Grep does (bug#9408).
19245 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19246
19247 2011-09-05 Juri Linkov <juri@jurta.org>
19248
19249 * subr.el (y-or-n-p): Capitalize "yes".
19250
19251 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19252
19253 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19254 `tramp-cache-unload-hook' where appropriate.
19255 (tramp-methods): Rename `tramp-remote-sh' to
19256 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19257 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19258
19259 * net/tramp-sh.el (top): Don't require 'shell.
19260 (tramp-methods): Add `tramp-remote-shell' and
19261 `tramp-remote-shell-args' entries.
19262 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19263 (tramp-sh-handle-shell-command): Remove.
19264 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19265 Use `tramp-remote-shell'.
19266
19267 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19268
19269 * mail/sendmail.el (sendmail-query-once-function): Delete.
19270 (sendmail-query-once): Save directly to send-mail-function.
19271 Update message-send-mail-function too.
19272
19273 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19274
19275 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19276
19277 * progmodes/python.el (python-mode-map): Use correct function to
19278 start python interpreter from menu-bar (as reported by Geert
19279 Kloosterman).
19280 (inferior-python-mode-map): Fix typo.
19281 (python-shell-map): Remove.
19282
19283 2011-09-03 Deniz Dogan <deniz@dogan.se>
19284
19285 * net/rcirc.el (rcirc-print): Simplify code for
19286 rcirc-scroll-show-maximum-output. There is no need to walk
19287 through all windows to find the right one.
19288
19289 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19290
19291 * help.el (help-return-method): Doc fix.
19292
19293 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19294
19295 * window.el (window-deletable-p): Don't return a non-nil value
19296 when there's a buffer that was shown in the window before.
19297 (Bug#9419)
19298 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19299 Set window's previous buffers to nil.
19300
19301 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19302
19303 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19304 newline before and after the tag line, so it doesn't interfere
19305 with determining the paragraph direction of bidirectional text.
19306
19307 2011-09-03 Leo Liu <sdl.web@gmail.com>
19308
19309 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19310
19311 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19312
19313 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19314 (pop-to-buffer): Change interactive spec. Pass second argument
19315 directly to display-buffer.
19316 (display-buffer): Fix interactive spec. Use functionp to
19317 distinguish between a function and a list of functions.
19318
19319 * abbrev.el (edit-abbrevs):
19320 * arc-mode.el (archive-extract):
19321 * autoinsert.el (auto-insert):
19322 * bookmark.el (bookmark-bmenu-list):
19323 * files.el (find-file):
19324 * view.el (view-buffer):
19325 * progmodes/compile.el (compilation-goto-locus):
19326 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19327
19328 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19329
19330 * window.el (display-buffer-alist): Doc fix.
19331 (display-buffer): Add docstring. Don't treat
19332 display-buffer-default specially.
19333 (display-buffer-reuse-selected-window)
19334 (display-buffer-same-window, display-buffer-maybe-same-window)
19335 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19336 (display-buffer-pop-up-window)
19337 (display-buffer-reuse-or-pop-window)
19338 (display-buffer-use-some-window): New functions.
19339 (display-buffer-default-action): Use them.
19340 (display-buffer-default): Delete.
19341 (pop-to-buffer-1): Fix choice of actions.
19342
19343 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19344
19345 * minibuffer.el (completion--insert-strings): Don't get confused by
19346 completion entries that end with an LF char.
19347
19348 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19349
19350 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19351
19352 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19353
19354 * window.el (display-buffer): Restore interactive spec.
19355 (display-buffer-same-window, display-buffer-other-window):
19356 New functions.
19357 (pop-to-buffer-1): New function. Use the above.
19358 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19359 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19360
19361 * view.el (view-buffer-other-window, view-buffer-other-frame):
19362 Just use pop-to-buffer.
19363
19364 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19365
19366 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19367
19368 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19369
19370 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19371
19372 2011-08-31 Richard Stallman <rms@gnu.org>
19373
19374 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19375 of the separation of rmail-view-buffer from rmail-buffer.
19376 If you say no to "replace original", the decrypt is in the
19377 view buffer. If you say yes, the decrypt goes into the
19378 rmail buffer also.
19379
19380 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19381
19382 * window.el (display-buffer-window): Rewrite doc-string.
19383 (display-buffer-record-window): New function.
19384 (display-buffer-macro-specifiers)
19385 (display-buffer-even-window-sizes, display-buffer-set-height)
19386 (display-buffer-set-width, display-buffer-in-window)
19387 (display-buffer-reuse-window, display-buffer-split-specifiers)
19388 (display-buffer-side-specifiers, display-buffer-split-window-1)
19389 (display-buffer-split-window, display-buffer-split-atom-window)
19390 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19391 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19392 (display-buffer-other-window-means-other-frame)
19393 (display-buffer-normalize-special)
19394 (display-buffer-normalize-default)
19395 (display-buffer-normalize-argument)
19396 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19397 (display-buffer-normalize-specifiers, display-buffer-frame)
19398 (display-buffer-same-window, display-buffer-same-frame)
19399 (display-buffer-other-window)
19400 (display-buffer-same-frame-other-window)
19401 (display-buffer-other-frame, pop-to-buffer-same-window)
19402 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19403 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19404 (switch-to-buffer-same-frame)
19405 (switch-to-buffer-other-window-same-frame)
19406 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19407 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19408 (display-buffer-alist-set): Remove.
19409 (display-buffer-function, special-display-buffer-names)
19410 (special-display-regexps, special-display-function):
19411 In doc-string refer to display-buffer-window and quit-restore
19412 parameter.
19413 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19414 (special-display-frame-alist, special-display-popup-frame)
19415 (same-window-buffer-names, same-window-regexps, same-window-p)
19416 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19417 (split-window-preferred-function, split-height-threshold)
19418 (split-width-threshold, window-splittable-p)
19419 (split-window-sensibly, window--try-to-split-window)
19420 (window--frame-usable-p, even-window-heights)
19421 (window--even-window-heights, window--display-buffer-1)
19422 (window--display-buffer-2, display-buffer-other-frame):
19423 Restore old Emacs 23 code, order and doc-strings where applicable.
19424 (display-buffer-default, display-buffer-assq-regexp): New functions.
19425 (display-buffer-alist): Rewrite doc-string.
19426 (display-buffer-default-action)
19427 (display-buffer-overriding-action): New variables.
19428 (display-buffer, switch-to-buffer): Rewrite.
19429 (pop-to-buffer): Restore Emacs 23 behavior but use
19430 window-normalize-buffer-to-display.
19431 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19432 Restore Emacs 23 behavior but use
19433 window-normalize-buffer-to-switch-to.
19434 (pop-to-buffer-same-window): Rewrite.
19435 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19436 Rewrite using Emacs 23 options.
19437
19438 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19439
19440 * net/tramp.el (tramp-root-regexp): Remove.
19441 (tramp-completion-file-name-regexp-unified)
19442 (tramp-completion-file-name-regexp-separate)
19443 (tramp-completion-file-name-regexp-url): Don't use leading volume
19444 letter on w32 systems. (Bug#5303, Bug#9311)
19445 (tramp-drop-volume-letter): Simplify definition.
19446 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19447
19448 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19449
19450 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19451 (bug#9356).
19452
19453 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19454
19455 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19456
19457 2011-08-29 Juri Linkov <juri@jurta.org>
19458
19459 * isearch.el (isearch-done): Don't display message "Mark saved"
19460 when arg `edit' is non-nil to prevent its flicker in the echo area.
19461
19462 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19463
19464 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19465 obsolete packages for deletion.
19466
19467 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19468
19469 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19470 (help-mode): Derive help-mode from special-mode. Don't invoke
19471 view-mode from help-mode.
19472 (help-xref-override-view-map): Remove.
19473 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19474 view-mode is not used anymore.
19475
19476 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19477
19478 * server.el (server-port): Doc fix.
19479
19480 * cus-theme.el (custom-theme-choose-mode): Inherit from
19481 special-mode (Bug#9124).
19482 (custom-theme-choose-mode-map): Add special-mode to parent.
19483
19484 2011-08-28 Alan Mackenzie <acm@muc.de>
19485
19486 * progmodes/cc-fonts.el
19487 (c-make-font-lock-BO-decl-search-function): New function.
19488 (c-basic-matchers-after - "Fontify the clauses after various
19489 keywords"): Extract the three keyword lists for the 3 erroneous
19490 constructs from the list of four, and use the new function above
19491 in place of an old one.
19492
19493 2011-08-28 Deniz Dogan <deniz@dogan.se>
19494
19495 * net/rcirc.el (rcirc-insert-prev-input)
19496 (rcirc-insert-next-input): Remove unused argument.
19497
19498 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19499
19500 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19501
19502 2011-08-27 Alan Mackenzie <acm@muc.de>
19503
19504 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19505 handle function pointer parameters properly.
19506
19507 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19508
19509 * window.el (display-buffer-reuse-window): Fix case where
19510 selected window was reused with non-nil OTHER-WINDOW argument.
19511 (Bug#9381)
19512
19513 2011-08-27 Deniz Dogan <deniz@dogan.se>
19514
19515 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19516 oftc's NickServ messages.
19517
19518 2011-08-27 Glenn Morris <rgm@gnu.org>
19519
19520 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19521
19522 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19523
19524 * emacs-lisp/package.el (package-install): Call package-initialize
19525 if called interactively.
19526
19527 2011-08-26 Leo Liu <sdl.web@gmail.com>
19528
19529 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19530
19531 2011-08-25 Juri Linkov <juri@jurta.org>
19532
19533 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19534 `search-whitespace-regexp' (bug#9364).
19535
19536 2011-08-25 Juri Linkov <juri@jurta.org>
19537
19538 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19539 `regexp-search-ring' to their global values to protect from
19540 updating by `read-from-minibuffer' (bug#9185).
19541
19542 2011-08-25 Juri Linkov <juri@jurta.org>
19543
19544 * textmodes/ispell.el (ispell-command-loop): Add newline
19545 at the end of the "Use option `i'..." line.
19546
19547 2011-08-25 Juri Linkov <juri@jurta.org>
19548
19549 * battery.el (display-battery-mode): If `battery-status-function'
19550 or `battery-mode-line-format' is nil, display the message and set
19551 `display-battery-mode' to nil (bug#9363).
19552
19553 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19554
19555 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19556 bidi-string-mark-left-to-right; they are unnecessary now.
19557
19558 2011-08-25 Deniz Dogan <deniz@dogan.se>
19559
19560 * net/quickurl.el: Documentation typo fixes.
19561
19562 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19563
19564 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19565
19566 2011-08-25 Glenn Morris <rgm@gnu.org>
19567
19568 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19569
19570 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19571 (smtpmail-via-smtp): Handle nil response from smtp.
19572
19573 2011-08-24 Juri Linkov <juri@jurta.org>
19574
19575 * proced.el (proced-marked): Inherit from `error' instead of
19576 `font-lock-warning-face'.
19577
19578 * ibuffer.el (ibuffer-marked-face): Change default face from
19579 `font-lock-warning-face' to `warning'.
19580 (ibuffer-deletion-face): Change default face from
19581 `font-lock-type-face' to `error'.
19582
19583 * battery.el (battery-update): Use the face `error' instead of
19584 `font-lock-warning-face' (bug#6117).
19585
19586 2011-08-24 Juri Linkov <juri@jurta.org>
19587
19588 * faces.el (success): Change face color from "Green3" to
19589 "ForestGreen" on light background (bug#9353).
19590
19591 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19592
19593 * window.el (quit-window): Rename from quit-restore-window.
19594 Use same arglist as old quit-window.
19595 (frame-auto-delete): Doc fix.
19596
19597 * view.el (view-mode-exit): Use quit-window.
19598
19599 2011-08-24 Juri Linkov <juri@jurta.org>
19600
19601 * isearch.el (isearch-ring-adjust1): Start visiting previous
19602 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19603 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19604 for empty search string (when the last search string is reused
19605 automatically) to adjust the isearch ring to the last element and
19606 prepare the correct index for further M-p commands (bug#9185).
19607
19608 2011-08-24 Kenichi Handa <handa@m17n.org>
19609
19610 * international/ucs-normalize.el: If decomposition property of
19611 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19612 nil.
19613 (nfd, nfkd): Likewise.
19614
19615 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19616
19617 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19618 from process filters aren't reliably transmitted to the surrounding
19619 accept-process-output.
19620 (mpc-proc-check): New function.
19621 (mpc-proc-sync): Use it (bug#8293)
19622
19623 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19624
19625 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19626 Add compatibility functions (bug#9313).
19627
19628 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19629
19630 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19631
19632 * international/uni-bidi.el: Regenerate.
19633
19634 2011-08-23 Kenichi Handa <handa@m17n.org>
19635
19636 * international/charprop.el:
19637 * international/uni-bidi.el:
19638 * international/uni-category.el:
19639 * international/uni-combining.el:
19640 * international/uni-comment.el:
19641 * international/uni-decimal.el:
19642 * international/uni-decomposition.el:
19643 * international/uni-digit.el:
19644 * international/uni-lowercase.el:
19645 * international/uni-mirrored.el:
19646 * international/uni-name.el:
19647 * international/uni-numeric.el:
19648 * international/uni-old-name.el:
19649 * international/uni-titlecase.el:
19650 * international/uni-uppercase.el: Regenerate.
19651
19652 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19653
19654 * help.el (help-window-setup): Fix message displayed when other
19655 window is reused. (Bug#9341)
19656
19657 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19658
19659 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19660 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19661
19662 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19663 Mark obsolete.
19664 * shell.el (shell-parse-pcomplete-arguments): New function.
19665 (shell-completion-vars): Use it instead (bug#9160).
19666
19667 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19668
19669 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19670 strings and comments (bug#9333).
19671
19672 * emacs-lisp/debug.el (debug-arglist): New function.
19673 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19674 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19675
19676 2011-08-22 Juri Linkov <juri@jurta.org>
19677
19678 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19679 Revert regexp that highlights output switches to its old
19680 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19681
19682 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19683 to check for empty output (bug#9226).
19684
19685 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19686
19687 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19688 symbol-constituent as the default, as that stops font-lock from
19689 working properly (Bug#8843).
19690
19691 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19692
19693 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19694 `coding-system-for-*' around the process open call to avoid
19695 auth-source side effects.
19696 (smtpmail-try-auth-methods): Expand the secret password.
19697 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19698 probe hangs.
19699
19700 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19701
19702 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19703
19704 * emacs-lisp/find-func.el (find-function-noselect): New arg
19705 lisp-only.
19706
19707 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19708 signal an error for built-in functions (Bug#6664).
19709
19710 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19711
19712 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19713 (smtpmail-try-auth-methods): Use it.
19714
19715 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19716
19717 * font-lock.el (font-lock-fontify-region)
19718 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19719 (font-lock-default-unfontify-buffer)
19720 (font-lock-default-fontify-region)
19721 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19722
19723 * progmodes/compile.el (compilation-error-properties):
19724 Fix confusion between file struct and message struct (Bug#9319).
19725 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19726 `ant' regexp.
19727
19728 * net/browse-url.el (browse-url-firefox): Don't call
19729 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19730
19731 2011-08-20 Glenn Morris <rgm@gnu.org>
19732
19733 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19734
19735 * tutorial.el (tutorial--default-keys): Update some default bindings.
19736
19737 * files.el (hack-local-variables): Fully ignore case for "mode:".
19738
19739 2011-08-20 Alan Mackenzie <acm@muc.de>
19740
19741 Resolve invalid use of a regexp in regexp-opt.
19742
19743 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19744 detection for a java annotation.
19745
19746 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19747 detection for a java annotation.
19748
19749 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19750 handling for java.
19751 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19752
19753 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19754
19755 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19756 (Bug#9274).
19757
19758 2011-08-20 Alan Mackenzie <acm@muc.de>
19759
19760 Fontify CPP expressions correctly when starting in the middle of
19761 such a construct. Mainly for when jit-lock etc. starts a chunk
19762 here.
19763
19764 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19765 variable.
19766 (c-make-font-lock-search-form): New function, extracted from
19767 c-make-font-lock-search-function.
19768 (c-make-font-lock-search-function): Use the above function.
19769 (c-make-font-lock-context-search-function): New function.
19770 (c-cpp-matchers): Enhance the preprocessor expression case with
19771 the above function
19772 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19773 which takes an expression.
19774
19775 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19776
19777 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19778
19779 * window.el (display-buffer-reuse-window)
19780 (display-buffer-pop-up-window): Don't reuse or split a side
19781 window.
19782
19783 2011-08-19 Glenn Morris <rgm@gnu.org>
19784
19785 * files.el (hack-local-variables-prop-line, hack-local-variables):
19786 Downcase "Mode:". (Bug#9331)
19787
19788 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19789
19790 * international/characters.el: Add L and R categories.
19791
19792 * subr.el (bidi-string-mark-left-to-right): Rename from
19793 string-mark-left-to-right. Use category search.
19794
19795 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19796
19797 2011-08-18 Juri Linkov <juri@jurta.org>
19798
19799 * faces.el (error, warning, success): New faces with definitions
19800 copied from old default values of `font-lock-warning-face',
19801 `compilation-warning', `compilation-info' (bug#6117).
19802
19803 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19804
19805 * progmodes/compile.el (compilation-error): Inherit from `error'.
19806 (compilation-warning): Inherit from `warning'.
19807 (compilation-info): Inherit from `success'.
19808
19809 * dired.el (dired-marked): Inherit from `warning'.
19810 (dired-flagged): Inherit from `error'.
19811
19812 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19813
19814 * mail/smtpmail.el (auth-source): Require to avoid problems with
19815 binding variables (bug#9298). Also clean up some unused
19816 autoloads.
19817
19818 * net/network-stream.el (network-stream-open-starttls):
19819 Support using starttls.el without using gnutls-cli.
19820
19821 2011-08-17 Juri Linkov <juri@jurta.org>
19822
19823 * progmodes/grep.el (rgrep): Handle the case when
19824 `grep-find-command' is a cons cell (bug#9278).
19825
19826 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19827
19828 * window.el (display-buffer-pop-up-frame): Run frame creation
19829 function with BUFFER current (as special-display-popup-frame
19830 does). Reported by Drew Adams.
19831
19832 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19833
19834 * epa-mail.el: Simplify GnuPG group expansion using
19835 epg-expand-group.
19836 (epa-mail-group-alist, epa-mail-group-modtime)
19837 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19838 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19839 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19840 Remove.
19841
19842 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19843
19844 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19845
19846 2011-08-16 Alan Mackenzie <acm@muc.de>
19847
19848 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19849 Correct, to avoid the inside of macros.
19850
19851 2011-08-16 Richard Stallman <rms@gnu.org>
19852
19853 * epa-mail.el: Handle GnuPG group definitions.
19854 (epa-mail-group-alist, epa-mail-group-modtime)
19855 (epa-mail-gnupg-conf-file): New variables.
19856 (epa-mail-parse-groups, epa-mail-sync-groups)
19857 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19858 (epa-mail-expand-recipients): New functions.
19859 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19860
19861 * mail/rmail.el (rmail-epa-decrypt): New command.
19862
19863 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19864 Don't bind buffer-read-only, just inhibit-read-only.
19865 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19866 (epa-decrypt-armor-in-region): Make error message clearer.
19867
19868 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19869
19870 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19871 and "a2b" to "ab" for `prefix'.
19872
19873 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19874
19875 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19876 filter groups.
19877 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19878 Fourquet (Bug#8804).
19879
19880 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19881
19882 * startup.el (argi): Declare as global variable (bug#9275).
19883
19884 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19885
19886 * subr.el (string-mark-left-to-right): Search the entire string
19887 for RTL script, not just the terminating character. Doc fix.
19888
19889 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19890
19891 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19892 New function.
19893 (js--regexp-literal, js-syntax-propertize-function): Remove.
19894 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19895 (js-mode-map): Don't rebind electric keys.
19896 (js-insert-and-indent): Remove.
19897 (js-mode): Setup electric-layout and electric-indent instead.
19898
19899 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19900
19901 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19902
19903 * epa.el (epa-progress-callback-function): Fix the logic of
19904 displaying progress.
19905 * epa-file.el (epa-file-insert-file-contents): Make progress
19906 display more user-friendly.
19907 (epa-file-write-region): Ditto.
19908
19909 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19910
19911 * subr.el (string-mark-left-to-right): New function.
19912
19913 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19914 Use string-mark-left-to-right.
19915 (list-buffers-noselect): Caller changed.
19916
19917 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19918 Use string-mark-left-to-right.
19919 (tabulated-list-print): Recenter after moving point.
19920
19921 2011-08-10 Juri Linkov <juri@jurta.org>
19922
19923 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19924 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19925 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19926
19927 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19928
19929 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19930 (Bug#7554).
19931
19932 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19933
19934 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19935 character. (Bug#6594)
19936
19937 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19938
19939 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19940 (image-dired--with-db-file): New macro.
19941 (image-dired-write-tags, image-dired-remove-tag)
19942 (image-dired-create-gallery-lists, image-dired-write-comments)
19943 (image-dired-get-comment, image-dired-mark-tagged-files)
19944 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19945 (image-dired-gallery-generate): Use insert-file-contents.
19946
19947 * time.el (display-time-world-list, display-time-world-display):
19948 * time-stamp.el (time-stamp-string):
19949 * vc/add-log.el (add-change-log-entry): Use setenv instead of
19950 set-time-zone-rule (Bug#7337).
19951
19952 2011-08-08 Daiki Ueno <ueno@unixuser.org>
19953
19954 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
19955 (epg-error-to-string, epg-errors-to-string): New function.
19956 (epg-wait-for-completion): Reverse errors list.
19957 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
19958 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
19959 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
19960 (epg-sign-keys, epg-generate-key-from-file)
19961 (epg-generate-key-from-string): Format errors by using
19962 epg-errors-to-string (bug#9255).
19963 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
19964
19965 2011-08-07 Juri Linkov <juri@jurta.org>
19966
19967 * faces.el (list-faces-display): Remove extra angle bracket
19968 from `help-mode-map'.
19969
19970 * info.el (Info-history-toc-nodes): Doc fix.
19971
19972 * longlines.el (longlines-mode): Doc fix.
19973
19974 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19975
19976 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
19977 of statements and in a few more cases (bug#9183).
19978
19979 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
19980 New functions.
19981 (cl-transform-lambda): Use them (bug#9239).
19982
19983 2011-08-05 Martin Rudalics <rudalics@gmx.at>
19984
19985 * window.el (display-buffer-same-window)
19986 (display-buffer-same-frame, display-buffer-other-window)
19987 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19988 (pop-to-buffer-other-window)
19989 (pop-to-buffer-same-frame-other-window)
19990 (pop-to-buffer-other-frame): Make them defuns.
19991 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
19992
19993 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
19994
19995 * subr.el (make-composed-keymap): Move from C. Change calling
19996 convention, and improve docstring to bring attention to a subtle point.
19997 * minibuffer.el (completing-read-default): Adjust accordingly.
19998
19999 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20000
20001 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20002 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20003
20004 * net/trampver.el: Update release number.
20005
20006 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20007
20008 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20009 "in" (bug#9190).
20010
20011 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20012
20013 * mail/sendmail.el (sendmail-query-once): Restore the current
20014 buffer after querying (bug#9074).
20015
20016 * dired.el (dired-flagged): Use different faces for marked and
20017 flagged files (bug#6117).
20018
20019 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20020 (bug#4433).
20021
20022 * ido.el (ido-mode): Switch off the message if called
20023 non-interactively.
20024
20025 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20026 before 587, since it appears that that's more likely to work for
20027 more people.
20028
20029 * cus-edit.el (custom-file): When running under emacs -q, always
20030 refuse to save the customizations, even if the .emacs file doesn't
20031 exist.
20032
20033 * info.el: Remove the `Info-beginning-of-buffer' function
20034 (bug#8325).
20035
20036 * net/network-stream.el (network-stream-open-starttls):
20037 Use `starttls-available-p' to see whether starttls.el can be used.
20038
20039 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20040
20041 * window.el (display-buffer-in-window): Don't set dedicated status
20042 of window here (Bug#9215).
20043 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20044 (display-buffer-pop-up-side-window)
20045 (display-buffer-in-side-window): Set dedicated status of window here.
20046
20047 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20048
20049 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20050 before binding generated-autoload-file.
20051
20052 2011-08-01 Deniz Dogan <deniz@dogan.se>
20053
20054 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20055
20056 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20057
20058 Sync with Tramp 2.2.2.
20059
20060 * net/trampver.el: Update release number.
20061
20062 2011-07-30 Juri Linkov <juri@jurta.org>
20063
20064 * dired-aux.el (dired-touch-initial): Remove function.
20065 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20066 current time, and `default' to the last modification time of the
20067 current marked file (bug#6887).
20068
20069 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20070
20071 * simple.el (goto-line): Use string-to-number to provide a
20072 numeric argument to read-number (bug#9163).
20073
20074 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20075
20076 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20077 connection process, it could be nil.
20078
20079 2011-07-27 Leo Liu <sdl.web@gmail.com>
20080
20081 Simplify url handling in rcirc-mode.
20082
20083 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20084 (rcirc-browse-url-at-mouse): Remove.
20085 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20086
20087 2011-07-26 Alan Mackenzie <acm@muc.de>
20088
20089 Fontify bitfield declarations properly.
20090
20091 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20092 (c-symbol-chars): Now exported as a lang variable.
20093 (c-not-primitive-type-keywords): New lang variable.
20094
20095 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20096 QT keyword "more" to prevent "more slots: ...." being spuriously
20097 parsed as a bitfield declaration.
20098
20099 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20100 Refactor and enhance to handle bitfield declarations.
20101 (c-punctuation-in): New function.
20102 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20103 declarations properly.
20104
20105 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20106
20107 * calendar/icalendar.el (icalendar--all-events): Take care of
20108 multiple vcalendars in a single file.
20109 (icalendar--convert-float-to-ical): Checkdoc fixes.
20110
20111 2011-07-25 Deniz Dogan <deniz@dogan.se>
20112
20113 * image.el (insert-image): Clarifying docstring.
20114
20115 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20116
20117 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20118 `tramp-send-command-and-check' if there is no error.
20119 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20120
20121 2011-07-22 Alan Mackenzie <acm@muc.de>
20122
20123 Prevent cc-langs.elc being loaded at run time.
20124
20125 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20126 cc-langs.
20127
20128 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20129 "(require 'cc-langs)". Quote a form so it will evaluate at
20130 (cc-mode's) compilation time.
20131
20132 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20133
20134 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20135 loading. (Bug#9114)
20136
20137 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20138
20139 * window.el (display-buffer-pop-up-window)
20140 (display-buffer-pop-up-side-window)
20141 (display-buffer-in-side-window): Call display-buffer-set-height
20142 and display-buffer-set-width after setting the new window's
20143 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20144
20145 2011-07-20 Sam Steingold <sds@gnu.org>
20146
20147 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20148 (etags-tags-included-tables): Call `convert-standard-filename' on
20149 the file names contained in TAGS so that windows Emacs can handle
20150 TAGS files created by cygwin ctags.
20151
20152 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20153
20154 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20155 which apparently didn't work.
20156
20157 2011-07-19 Roland Winkler <winkler@gnu.org>
20158
20159 * proced.el (proced-send-signal): For *Marked Processes* buffer
20160 put point at beginning of buffer.
20161
20162 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20163
20164 * proced.el (proced-format): Make header lines align with the text
20165 (bug#1779).
20166
20167 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20168
20169 * view.el (view-buffer): Allow running in `special' modes if we're
20170 visiting a file (bug#8615).
20171
20172 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20173
20174 * window.el (display-buffer-alist-of-strings-p)
20175 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20176 New functions.
20177 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20178 more accurately.
20179
20180 2011-07-18 Alan Mackenzie <acm@muc.de>
20181
20182 Fontify declarators properly when, e.g., a jit-lock chunk begins
20183 inside a declaration.
20184
20185 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20186
20187 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20188 New function.
20189 (c-complex-decl-matchers): Insert reference to
20190 c-font-lock-enclosing-decls.
20191
20192 * progmodes/cc-engine.el (c-backward-single-comment):
20193 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20194 to nil around calls to (forward-comment -1).
20195
20196 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20197
20198 * image.el (put-image): Doc typo fix.
20199
20200 * progmodes/etags.el (tags-search): Doc typo fix.
20201
20202 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20203 password if we get errors 550 to 554.
20204
20205 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20206
20207 * net/gnutls.el (gnutls-log-level): Remove.
20208
20209 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20210 indentation character (bug#6380).
20211
20212 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20213
20214 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20215 to clarify what the problem is (bug#4291).
20216
20217 * simple.el (current-kill): Clarify what
20218 `interprogram-paste-function' does (bug#7500).
20219 (auto-fill-mode): Document `auto-fill-function' in relation to
20220 `auto-fill-mode' (bug#2470).
20221
20222 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20223
20224 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20225 method if slot is read-only (bug#9035).
20226
20227 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20228
20229 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20230 * window.el (pop-to-buffer): Select window used even if it was
20231 selected before, see discussion of (Bug#8615), (Bug#6954).
20232 Pass argument NORECORD on to select-frame-set-input-focus.
20233
20234 2011-07-15 Glenn Morris <rgm@gnu.org>
20235
20236 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20237 Respect help-form.
20238
20239 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20240
20241 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20242 (gnutls-negotiate): Use it.
20243
20244 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20245
20246 * net/gnutls.el (gnutls-negotiate):
20247 Upcase `gnutls-algorithm-priority'.
20248
20249 2011-07-15 Glenn Morris <rgm@gnu.org>
20250
20251 * jka-compr.el (jka-compr-verbose): Move from here...
20252 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20253 Add missing :version tag.
20254 * info.el: No need to require jka-compr when compiling.
20255
20256 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20257
20258 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20259 (gnutls-negotiate): Use it.
20260
20261 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20262
20263 * info.el (Info-beginning-of-buffer): New command.
20264 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20265 announcing `b' as the key (bug#8325).
20266 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20267
20268 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20269
20270 * international/mule-cmds.el
20271 (describe-specified-language-support): Make the error message
20272 clearer (bug#8905).
20273
20274 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20275
20276 * isearch.el (isearch-barrier): Add a doc string, since it's
20277 mentioned in a function doc string (bug#8678).
20278
20279 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20280
20281 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20282 buffer argument (Bug#9083) and self-identifying label argument.
20283
20284 2011-07-15 Glenn Morris <rgm@gnu.org>
20285
20286 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20287
20288 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20289
20290 * man.el (Man-fontify-manpage): Fix message when formatting the
20291 man page (bug#7929).
20292
20293 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20294
20295 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20296 argument LRM; if non-nil, append an invisible LRM character to the
20297 buffer name.
20298 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20299 last argument non-nil, when formatting buffer names.
20300 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20301 paragraph direction.
20302
20303 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20304
20305 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20306 the man page name (bug#7929).
20307
20308 * image.el (put-image): Mention the `put-image' overlay property
20309 (bug#7834).
20310
20311 * scroll-bar.el (set-scroll-bar-mode): Mention that
20312 `scroll-bar-mode' lists the values (bug#7772).
20313
20314 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20315 command (bug#7729).
20316
20317 * rect.el (apply-on-rectangle): Return the point after the last
20318 operation.
20319 (string-rectangle): Go to the point after the last operation
20320 (bug#7522).
20321
20322 * printing.el (pr-toggle-region): Clarify the documentation
20323 slightly (bug#7493).
20324
20325 * time.el (display-time-update):
20326 Allow `display-time-mail-function' to return nil (bug#7158).
20327 Fix suggested by Detlev Zundel.
20328
20329 * vc/diff.el (diff): Clarify the order the file names are read
20330 (bug#7111).
20331
20332 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20333 the doc string (bug#7015).
20334
20335 * font-lock.el (font-lock-maximum-decoration): Mention what
20336 numeric levels mean (bug#6935).
20337
20338 * startup.el (initial-buffer-choice): Don't mention the `none'
20339 selection, which is against policy.
20340
20341 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20342
20343 * window.el (display-buffer-normalize-special):
20344 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20345
20346 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20347
20348 * subr.el (version<, version<=, version=): Mention "-CVS" and
20349 "-12345" alpha version numbers.
20350
20351 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20352
20353 * bindings.el: Add advertised binding for set-mark-command
20354 (Bug#5772).
20355
20356 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20357
20358 * bindings.el (mode-line-other-buffer):
20359 * bookmark.el (bookmark-bmenu-2-window):
20360 * bs.el (bs-cycle-next, bs-cycle-previous):
20361 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20362 switch-to-buffer.
20363
20364 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20365 Delete.
20366
20367 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20368
20369 * follow.el (follow-debug-message, follow-redisplay):
20370 * jka-cmpr-hook.el (with-auto-compression-mode):
20371 Fix typos in docstrings.
20372
20373 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20374
20375 * subr.el (with-silent-modifications): Clarify somewhat what the
20376 macro inhibits (bug#6525).
20377
20378 * simple.el (eval-expression): Note what it does if called
20379 interactively (bug#6495).
20380
20381 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20382
20383 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20384 Use pop-to-buffer buffer-or-name if it is nil.
20385
20386 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20387 Remove switch-to-buffer.
20388
20389 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20390
20391 * files.el (make-directory): Clarify that an error will be raised
20392 if there's an error (bug#6397).
20393
20394 * startup.el (initial-buffer-choice): Add `none' as a choice
20395 (bug#6234).
20396
20397 * subr.el (add-hook): Clarify section about buffer-local hooks
20398 (bug#6218).
20399
20400 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20401
20402 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20403
20404 * tabify.el (untabify): Preserve the current column so that point
20405 doesn't move (bug#6032).
20406
20407 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20408
20409 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20410 Rewrite to avoid awkward possessive "s" (bug#5986).
20411
20412 2011-07-13 Glenn Morris <rgm@gnu.org>
20413
20414 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20415 (dired-insert-directory): Give a message the first time
20416 if ls is found not to support --dired.
20417
20418 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20419
20420 * simple.el (toggle-truncate-lines): Clarify what is toggled
20421 (bug#5580). Text by Drew Adams.
20422
20423 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20424
20425 * simple.el (blink-matching-open): Make the error message from the
20426 last change less verbose.
20427
20428 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20429
20430 * font-lock.el (font-lock-comment-face): Use the high contrast
20431 "yellow" color for font-lock-comment-face on low color terminals
20432 using a dark background color (bug#4221).
20433
20434 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20435
20436 * dired.el (dired-insert-set-properties): Make the doc string
20437 reflect what it does now (bug#5325).
20438
20439 * simple.el (blink-matching-open): Say that we were unable to find
20440 the match within the limit, if we're limited (bug#5122).
20441
20442 * international/mule-cmds.el (prefer-coding-system): Add an
20443 example (bug#4869).
20444
20445 * progmodes/etags.el (tags-search): Document `file-list-form'
20446 (bug#4731).
20447
20448 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20449
20450 * net/browse-url.el (browse-url-default-browser)
20451 (browse-url-browser-function): Make the default browser choice a
20452 bit more logical (bug#4300). Also clean up the doc string.
20453
20454 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20455
20456 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20457 binary endings (bug#4440).
20458
20459 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20460
20461 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20462 which can be pretty annoying (bug#8971).
20463
20464 * jka-compr.el (jka-compr-verbose): New variable, and use
20465 throughout (bug#8971).
20466
20467 * info.el (Info-find-file): Fall back on the installation
20468 directory if we can't find the info node anywhere else.
20469
20470 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20471
20472 * vc/vc.el (vc-revert-file):
20473 Don't set file time-stamp in the past. (Bug#5181)
20474
20475 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20476
20477 * files.el (after-find-file): Give a better error message when
20478 trying to find a symlink that points to a file that doesn't exist
20479 (bug#4398).
20480
20481 * progmodes/cc-vars.el: Remove (probably) misleading comment
20482 (bug#4396).
20483
20484 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20485
20486 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20487
20488 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20489
20490 * mouse-sel.el: Hack restoring functionality, while keeping
20491 compatibility with 2010-07-03 changes to mouse selection.
20492 (mouse-sel-primary-overlay): New var.
20493 (mouse-sel-selection-alist): Use it.
20494 (mouse-sel-mode): Doc fix; remove points that are default features
20495 of mouse.el.
20496
20497 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20498
20499 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20500 Fix previous fix (bug#2490).
20501
20502 2011-07-12 Roland Winkler <winkler@gnu.org>
20503
20504 * textmodes/bibtex.el (bibtex-initialize):
20505 Use pop-to-buffer-same-window.
20506 (bibtex-search-entries): Fix interactive call.
20507
20508 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20509
20510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20511 Fontise bytecomp Error lines more correctly (bug#2490).
20512 Fix suggested by Johan Bockgård.
20513
20514 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20515
20516 * dired-x.el (dired-guess-default): Use `delete-dups'.
20517
20518 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20519
20520 * dired.el (dired-mark-prompt):
20521 * dired-aux.el (dired-read-shell-command): Doc fix.
20522
20523 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20524
20525 * mail/sendmail.el (sendmail-query-once):
20526 Use `customize-save-variable' unconditionally, now that it works under
20527 emacs -Q.
20528
20529 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20530
20531 * cus-edit.el (custom-file): Take an optional no-error variable.
20532 (customize-save-variable): Set the variable, and give a warning if
20533 running under "emacs -q".
20534
20535 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20536
20537 * loadhist.el (unload-feature-special-hooks):
20538 Add `auto-coding-functions', `fill-nobreak-predicate' and
20539 `find-directory-functions' (bug#5327).
20540
20541 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20542
20543 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20544
20545 * cus-edit.el (custom-guess-name-alist): -alist variables should
20546 use the `alist' type (bug#3120). Suggested by Drew Adams.
20547
20548 * printing.el: Add documentation to all the `pr-toggle-' commands.
20549
20550 2011-07-11 Leo Liu <sdl.web@gmail.com>
20551
20552 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20553 backends where it makes sense (bug#2623).
20554
20555 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20556
20557 * dired-x.el (dired-guess-default): Remove duplicate shell command
20558 entries (bug#2028).
20559 (dired-guess-default): Fix grammar in doc string (bug#2028).
20560 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20561
20562 * subr.el (remove-duplicates): New conveniency function.
20563
20564 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20565
20566 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20567 (bug#1526).
20568
20569 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20570
20571 * window.el (display-buffer-normalize-default): Don't invert
20572 meaning of even-window-heights. Reported by Eli Zaretskii
20573 <eliz@gnu.org>.
20574
20575 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20576
20577 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20578
20579 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20580
20581 * window.el (display-buffer): Fix arguments to
20582 display-buffer-reuse-window in last change.
20583
20584 * faces.el (link): Use a less saturated blue on light backgrounds.
20585
20586 * startup.el (fancy-startup-text, fancy-about-text)
20587 (fancy-startup-tail): Use font-lock faces, for background safety.
20588
20589 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20590
20591 * emulation/viper-cmd.el (viper-change-state-to-vi):
20592 Limit triggering of abbrev expansion (Bug#9038).
20593
20594 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20595
20596 * window.el (display-buffer-default-specifiers): Remove.
20597 (display-buffer-macro-specifiers): Remove default specifiers.
20598 (display-buffer-alist): Default to nil.
20599 (display-buffer-reuse-window): New optional argument other-window.
20600 (display-buffer-pop-up-window): Allow splitting internal
20601 windows. Check whether a live window was created.
20602 (display-buffer-other-window-means-other-frame)
20603 (display-buffer-normalize-arguments): Rename to
20604 display-buffer-normalize-argument and rewrite. Set the
20605 other-window specifier.
20606 (display-buffer-normalize-special): New function.
20607 (display-buffer-normalize-options): Rename to
20608 display-buffer-normalize-default and rewrite.
20609 (display-buffer-normalize-options-inhibit): Remove.
20610 (display-buffer-normalize-specifiers): Rewrite.
20611 (display-buffer): Process other-window specifier and call
20612 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20613 more faithfully.
20614 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20615 (display-buffer-alist-set): Don't handle 'unset default values.
20616 (display-buffer-in-window, display-buffer-alist-set):
20617 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20618 <tassilo@member.fsf.org>.
20619
20620 2011-07-09 Leo Liu <sdl.web@gmail.com>
20621
20622 * register.el (insert-register): Restore accidental change on
20623 2011-06-26. (Bug#9028)
20624
20625 2011-07-09 Glenn Morris <rgm@gnu.org>
20626
20627 * subr.el (remq): Handle the empty list. (Bug#9024)
20628
20629 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20630
20631 * mail/sendmail.el (send-mail-function): No longer delay custom
20632 initialization.
20633 * custom.el (custom-initialize-delay): Doc fix.
20634
20635 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20636
20637 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20638
20639 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20640
20641 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20642 human-friendly prompt.
20643
20644 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20645
20646 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20647 provided by a particular plugin.
20648
20649 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20650
20651 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20652 save customizations (with "emacs -Q"), just set the variable
20653 instead of erroring out.
20654
20655 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20656
20657 2011-07-08 Juri Linkov <juri@jurta.org>
20658
20659 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20660 (archive-zip-update-case): Use 7z if found by `executable-find'.
20661 The order of searching the available programs is the same as in
20662 `archive-zip-extract' (bug#8968).
20663
20664 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20665
20666 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20667 (menu-bar-options-menu): Tweak descriptions.
20668
20669 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20670
20671 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20672 menu items into verb phrases (bug#1421). Also refill to fit under
20673 80 columns.
20674
20675 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20676
20677 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20678 (Info-read-node-name): Doc fix (Bug#1084).
20679
20680 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20681 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20682 (end-of-sexp, beginning-of-sexp)
20683 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20684 (forward-symbol, forward-same-syntax, word-at-point)
20685 (sentence-at-point): Doc fix (Bug#1144).
20686
20687 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20688
20689 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20690 should cover it (bug#1281).
20691
20692 * cus-edit.el (custom-show): Mark as obsolete.
20693
20694 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20695 negotiation fails, then possibly try again with a non-encrypted
20696 connection (bug#9017).
20697
20698 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20699 be used.
20700
20701 2011-07-07 Richard Stallman <rms@gnu.org>
20702
20703 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20704 property, and handle its changed format.
20705 Look for the correct line number.
20706 Use file's line contents (but not past first =) to find
20707 correct line in message.
20708
20709 2011-07-07 Kenichi Handa <handa@m17n.org>
20710
20711 * international/characters.el (build-unicode-category-table):
20712 Delete it.
20713 (unicode-category-table): Set it by unicode-property-table-internal.
20714
20715 * international/mule-cmds.el (char-code-property-alist): Move to
20716 to src/chartab.c.
20717 (get-char-code-property): Call unicode-property-table-internal to
20718 load a file. Call get-unicode-property-internal where necessary.
20719 (put-char-code-property): Call unicode-property-table-internal to
20720 load a file. Call put-unicode-property-internal where necessary.
20721 put-unicode-property-internal where necessary.
20722 (char-code-property-description):
20723 Call unicode-property-table-internal to load a file.
20724
20725 * international/charprop.el:
20726 * international/uni-bidi.el:
20727 * international/uni-category.el:
20728 * international/uni-combining.el:
20729 * international/uni-comment.el:
20730 * international/uni-decimal.el:
20731 * international/uni-decomposition.el:
20732 * international/uni-digit.el:
20733 * international/uni-lowercase.el:
20734 * international/uni-mirrored.el:
20735 * international/uni-name.el:
20736 * international/uni-numeric.el:
20737 * international/uni-old-name.el:
20738 * international/uni-titlecase.el:
20739 * international/uni-uppercase.el: Regenerate.
20740
20741 * loadup.el: Load international/charprop.el before
20742 international/characters.
20743
20744 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20745
20746 * window.el (next-buffer, previous-buffer): Signal an error if
20747 called from a minibuffer window.
20748
20749 * bindings.el: Revert 2011-07-04 change.
20750
20751 2011-07-06 Richard Stallman <rms@gnu.org>
20752
20753 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20754 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20755 Treat markers like ints.
20756 (rmail-mime-entity): Doc fix.
20757
20758 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20759
20760 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20761 defcustom again for backwards compatibility.
20762
20763 * simple.el (shell-command-on-region): Fill.
20764
20765 * dired-aux.el (dired-kill-line): Add a doc string.
20766
20767 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20768 to "\\sw\\|\\s_" (bug#358).
20769
20770 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20771 (dired-unmark-backward): Ditto.
20772 (dired-flag-backup-files): Ditto.
20773
20774 * dired-x.el (dired-mark-sexp): Ditto.
20775
20776 2011-07-06 Richard Stallman <rms@gnu.org>
20777
20778 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20779 (rmail-mime-entity): New arg TRUNCATED.
20780 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20781 New functions.
20782 (rmail-mime-save): Warn if entity is truncated.
20783 (rmail-mime-toggle-hidden): Likewise, for showing.
20784 (rmail-mime-process-multipart): Record when an entity is truncated.
20785
20786 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20787 if ENTITY is a string.
20788
20789 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20790
20791 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20792 of faces when `M-C-x'-ing their definitions (bug#8378).
20793 Also clean up the code slightly.
20794
20795 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20796 because that makes the colors go away.
20797
20798 * mail/sendmail.el (send-mail-function): Change the default to
20799 `sendmail-query-once'.
20800 (sendmail-query-once): Add an autoload cookie.
20801
20802 * net/network-stream.el (network-stream-open-starttls): Try using
20803 a plain connection even if the server offered STARTTLS, and we
20804 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20805 capability. This should make smtpmail.el work in slightly more
20806 configurations.
20807
20808 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20809
20810 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20811 New defun.
20812 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20813
20814 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20815
20816 * progmodes/sql.el: Version 3.0
20817 (sql-product-alist): Add product :completion-object,
20818 :completion-column, and :statement attributes.
20819 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20820 (sql-mode-syntax-table): Mark all punctuation.
20821 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20822 ansi keywords.
20823 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20824 (sql-mode-oracle-font-lock-keywords): Improve.
20825 (sql-oracle-show-reserved-words): New function for development.
20826 (sql-product-font-lock): Simplify for source code buffers.
20827 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20828 New functions.
20829 (sql-highlight-product): Set product specific syntax table.
20830 (sql-mode-map): Add statement movement functions.
20831 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20832 New variable.
20833 (sql-statement-regexp, sql-beginning-of-statement)
20834 (sql-end-of-statement, sql-signum): New functions.
20835 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20836 (sql-show-sqli-buffer): Bug fix.
20837 (sql-interactive-mode): Store connection data as buffer local.
20838 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20839 with sql-interactive-mode.
20840 (sql-save-connection): Save buffer local settings.
20841 (sql-connection-menu-filter): Change menu entry name.
20842 (sql-product-interactive): Bug fix.
20843 (sql-preoutput-hold): New variable.
20844 (sql-interactive-remove-continuation-prompt): Bug fixes.
20845 (sql-debug-redirect): New variable.
20846 (sql-str-literal): New function.
20847 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20848 Redesign.
20849 (sql-oracle-save-settings, sql-oracle-restore-settings)
20850 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20851 (sql-completion-object, sql-completion-column)
20852 (sql-completion-sqlbuf): New variables.
20853 (sql-build-completions-1, sql-build-completions)
20854 (sql-try-completion): New functions.
20855 (sql-read-table-name): Use them.
20856 (sql-contains-names): New buffer local variable.
20857 (sql-list-all, sql-list-table): Use it.
20858 (sql-oracle-completion-types): New variable.
20859 (sql-oracle-completion-object, sql-sqlite-completion-object)
20860 (sql-postgres-completion-object): New functions.
20861
20862 2011-07-06 Glenn Morris <rgm@gnu.org>
20863
20864 * window.el (pop-to-buffer): Doc fix.
20865
20866 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20867
20868 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20869
20870 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20871
20872 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20873
20874 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20875
20876 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20877
20878 * button.el (button): Inherit from link face. Suggested by Dan
20879 Nicolaescu.
20880
20881 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20882
20883 * progmodes/gdb-mi.el: Fit in 80 columns.
20884 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20885 switch-to-buffer.
20886
20887 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20888 if imenu is simply not configured (bug#8941).
20889
20890 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20891
20892 * allout.el (allout-post-undo-hook): New allout outline-change
20893 event hook to signal undo activity.
20894 (allout-post-command-business): Run allout-post-undo-hook if an
20895 undo just occurred.
20896 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20897 * allout-widgets.el (allout-widgets-after-undo-function):
20898 Ensure the integrity of the current item's decoration after it has been
20899 in the vicinity of an undo.
20900 (allout-widgets-mode): Include allout-widgets-after-undo-function
20901 on the new allout-post-undo-hook.
20902
20903 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20904
20905 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20906 Let define-derived-mode define it.
20907 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20908 cycles of abbrev-table inheritance (bug#8998).
20909
20910 2011-07-05 Roland Winkler <winkler@gnu.org>
20911
20912 * textmodes/bibtex.el: Add support for biblatex.
20913 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20914 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20915 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20916 (bibtex-entry-alist, bibtex-field-alist): New variables.
20917 (bibtex-entry-field-alist): Obsolete alias for
20918 bibtex-BibTeX-entry-alist.
20919 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20920 (bibtex-set-dialect): New command.
20921 (bibtex-entry-type, bibtex-entry-head)
20922 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20923 Bind via bibtex-set-dialect.
20924 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20925 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20926 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20927 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20928 Define via bibtex-set-dialect.
20929 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20930 Obey bibtex-no-opt-remove-re.
20931 (bibtex-vec-push, bibtex-vec-incr): New functions.
20932 (bibtex-format-entry, bibtex-field-list)
20933 (bibtex-print-help-message, bibtex-validate)
20934 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20935
20936 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20937
20938 * progmodes/compile.el (compilation-goto-locus):
20939 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20940 * bs.el (bs-cycle-next, bs-cycle-previous):
20941 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20942 * bindings.el (mode-line-other-buffer):
20943 * autoinsert.el (auto-insert):
20944 * arc-mode.el (archive-extract):
20945 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20946
20947 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20948
20949 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
20950 Fix check of `emacs-lock-unlockable-modes'.
20951 Coerce true values of `emacs-lock--try-unlocking' to t.
20952
20953 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20954
20955 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
20956 * emacs-lock.el: New file.
20957
20958 2011-07-05 Julien Danjou <julien@danjou.info>
20959
20960 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
20961 than `boundp' to check if face is set.
20962
20963 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20964
20965 * register.el (registerv-make):
20966 * window.el (window-min-height): Fix typos in docstrings.
20967
20968 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
20969
20970 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
20971 Update doc string.
20972
20973 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
20974
20975 * server.el (server-execute): Catch quit and call
20976 `server-return-error' to pass the error back to emacsclient and
20977 close the connection (bug#8942).
20978
20979 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
20980
20981 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
20982 insecure exception for current topic. Also note that auto-saves
20983 are handled differently.
20984
20985 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
20986 State variables for tracking auto-save inhibition situation.
20987
20988 (allout-write-contents-hook-handler): Rename from
20989 'allout-write-file-hook-handler', and describe how it depends on
20990 write-contents-functions sensitivity to non-nil value to prevent
20991 file write.
20992
20993 (allout-auto-save-hook-handler): Remove. auto-save does not check
20994 this in individual buffers, only in the starting buffer, so this
20995 is not the right way for us to inhibit auto-save in a buffer
20996 according to its condition.
20997
20998 (allout-mode): Use new allout-write-contents-hook-handler, and
20999 only with write-contents-functions. Remove auto-save provisions -
21000 they're implemented elsewhere.
21001
21002 (allout-before-change-handler): If undo is in progress, note that
21003 for attention of allout-post-command-business.
21004
21005 (allout-post-command-business): If the command we're following was
21006 an undo, check for change in the status of encrypted items and
21007 adjust auto-save inhibitions accordingly.
21008
21009 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21010 according to whether there are or aren't any plain-text topics
21011 pending encryption.
21012
21013 (allout-inhibit-auto-save-info-for-decryption):
21014 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21015 if there are plain-text topics pending encryption.
21016
21017 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21018 buffer-saved-size and some allout state to not inhibit auto-saves
21019 if there are no longer any plain-text topics pending encryption.
21020
21021 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21022 No longer provide for exemption of the current topic.
21023
21024 2011-07-04 Juri Linkov <juri@jurta.org>
21025
21026 Add 7z operations to delete and save changed members (bug#8968).
21027 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21028 New defcustoms.
21029 (archive-7z-write-file-member): New function.
21030 (archive-7z-summarize): Fix the number of dashes in the
21031 listing output.
21032
21033 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21034
21035 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21036 (bug#8958).
21037
21038 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21039
21040 * bindings.el: Ignore next-buffer and previous-buffer in
21041 minibuffer-local-map.
21042
21043 * font-lock.el (font-lock-builtin-face): Change light background
21044 color to dark slate blue (Bug#6693).
21045
21046 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21047
21048 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21049
21050 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21051
21052 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21053 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21054 Add switch-to-buffer.
21055
21056 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21057
21058 * isearch.el (isearch-search-fun-function): Clarify further the
21059 meaning of the function returned.
21060
21061 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21062
21063 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21064
21065 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21066 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21067 Use it.
21068 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21069 `tramp-default-remote-path' does not exist.
21070 (tramp-send-command-and-read): New optional argument NOERROR.
21071 (tramp-open-connection-setup-interactive-shell)
21072 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21073 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21074 (tramp-process-sentinel): Flush also process' connection property.
21075 (tramp-sh-handle-start-file-process): Do not set process
21076 sentinel. It is done now ...
21077 (tramp-maybe-open-connection): ... here. (Bug#8929)
21078
21079 2011-07-04 MON KEY <monkey@sandpframing.com>
21080
21081 * play/animate.el (animate-string): Doc fixes and allow changing
21082 the buffer name (bug#5417).
21083
21084 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21085
21086 * play/animate.el (animation-buffer-name): Rename from *animate*.
21087
21088 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21089
21090 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21091 This is simpler and helps future-proof the code.
21092 (timer-until): Use time-subtract and float-time.
21093 (timer--time-less-p): Use time-less-p.
21094
21095 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21096
21097 * type-break.el (timep): Use the value of `float-time' to avoid a
21098 byte-compiler warning.
21099
21100 * server.el (server-eval-and-print): Return any result, even nil.
21101
21102 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21103
21104 * type-break.el: Accept time formats that the builtins accept.
21105 (timep, type-break-time-difference): Accept any format that
21106 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21107 This is simpler and helps future-proof the code.
21108 (type-break-time-difference): Round rather than ignoring
21109 subseconds components.
21110
21111 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21112
21113 * info.el (Info-apropos-matches): Make non-interactive, since it
21114 doesn't seem to do anything useful as a command (bug#8829).
21115
21116 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21117
21118 * frame.el (frame-background-mode, frame-set-background-mode):
21119 Move from faces.el.
21120 (frame-default-terminal-background): New function.
21121
21122 * custom.el (custom-push-theme): Don't record faces in `changed'
21123 theme; this doesn't work correctly for per-frame face settings.
21124 (disable-theme): Use face-set-after-frame-default to reset faces.
21125 (custom--frame-color-default): New function.
21126
21127 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21128
21129 * dired.el (dired-flagging-regexp): Remove unused variable
21130 (bug#8769).
21131
21132 2011-03-29 Kevin Ryde <user42@zip.com.au>
21133
21134 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21135 `perl-Test2' extend to match possible "fail #N" rep count
21136 (bug#8377).
21137
21138 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21139
21140 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21141 `smtpmail-via-smtp' now returns the error instead of nil.
21142
21143 * isearch.el (isearch-search-fun-function): Clarify the doc string
21144 (bug#8101).
21145
21146 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21147
21148 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21149 unnecessary spaces (bug#8987).
21150
21151 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21152
21153 * net/network-stream.el (open-network-stream): Use the
21154 :end-of-capability command thoughout.
21155
21156 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21157
21158 * net/network-stream.el (open-network-stream): Add the
21159 :end-of-capability command parameter, used by pop3.el.
21160
21161 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21162
21163 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21164
21165 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21166 for list)" (bug#6475).
21167
21168 * files.el (file-expand-wildcards): Ignore non-readable
21169 sub-directories while trying to find matches instead of signaling
21170 an error (bug#6297).
21171
21172 * man.el (Man-reference-regexp): Allow matching possible
21173 word-wrapped references (bug#6289).
21174
21175 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21176 for consistency with the other vc buffers (bug#6197).
21177 (vc-checkin): Ditto.
21178
21179 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21180
21181 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21182
21183 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21184
21185 * custom.el (defcustom): Clarify that :set is only used in the
21186 Customize user interface (bug#6089).
21187
21188 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21189 associated with a file, refuse to run instead of erroring out
21190 (bug#6084).
21191
21192 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21193 the doc string, since it appears that using `fill-column' always
21194 controls the width (bug#7845).
21195
21196 * simple.el (shell-command-on-region): Say where the error output
21197 went if `shell-command-default-error-buffer' is set (bug#6857).
21198
21199 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21200
21201 * allout.el (allout-yank-processing): Adjust cursor position for
21202 backwards-deleted space.
21203
21204 (allout-rebullet-heading): Register changes with
21205 allout-exposure-changed-hook, so the modified topic is properly
21206 decorated.
21207
21208 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21209
21210 * minibuffer.el (completion-in-region): Document PREDICATE
21211 (bug#7136).
21212
21213 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21214 of keyword/argument pairs (bug#6904).
21215
21216 * replace.el (multi-occur):
21217 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21218
21219 2011-07-02 Drew Adams <drew.adams@oracle.com>
21220
21221 * dired.el (dired-mark-if): Make the message about whether it's
21222 marking or unmarking clearer (bug#8523).
21223
21224 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21225
21226 * disp-table.el (display-table-print-array): New function.
21227 (describe-display-table): Use it to print the vectors more pretty
21228 (Bug#8859).
21229
21230 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21231
21232 * window.el (window-state-get-1): Don't assign clone numbers.
21233 Add clone-of item to list of window parameters.
21234 (window-state-put-2): Don't process clone numbers.
21235 (display-buffer-alist): Fix doc-string.
21236
21237 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21238
21239 * subr.el (remq): Don't allocate if it's not needed.
21240 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21241 (keymap--merge-bindings): New functions.
21242 (keymap-canonicalize): Use them to refine the canonicalization.
21243 * minibuffer.el (minibuffer-local-completion-map)
21244 (minibuffer-local-must-match-map): Move initialization from C.
21245 (minibuffer-local-filename-completion-map): Move initialization from C;
21246 don't inherit from anything here.
21247 (minibuffer-local-filename-must-match-map): Make obsolete.
21248 (completing-read-default): Use make-composed-keymap to combine
21249 minibuffer-local-filename-completion-map with either
21250 minibuffer-local-must-match-map or
21251 minibuffer-local-filename-completion-map.
21252
21253 2011-07-01 Glenn Morris <rgm@gnu.org>
21254
21255 * type-break.el (type-break-time-sum): Use dolist.
21256
21257 * textmodes/flyspell.el (flyspell-word-search-backward):
21258 Replace CL function.
21259
21260 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21261
21262 * mouse.el (mouse--strip-first-event): New function.
21263 (function-key-map): Use it to map fringe clicks to normal clicks
21264 by default.
21265
21266 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21267 (vc-bzr-revision-completion-table): Add support for annotate and date.
21268
21269 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21270 inherit from parent.
21271
21272 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21273
21274 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21275 (dired-show-file-type): Doc fixup (bug#8818).
21276
21277 * dired.el (dired-mode): Fix up the doc string as suggested by
21278 Drew Adams (bug#8817).
21279
21280 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21281 cookie, since the manual says that it should be possible to add
21282 this function to `find-file-hook' (bug#8709).
21283
21284 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21285
21286 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21287 here. Noted Ted Zlatanov as the maintainer.
21288 (cfengine-common-settings, cfengine-common-syntax): New functions
21289 to set up common things between `cfengine-mode' and
21290 `cfengine3-mode'.
21291 (cfengine3-mode): New mode.
21292 (cfengine3-defuns cfengine3-defuns-regex
21293 (cfengine3-class-selector-regex cfengine3-category-regex)
21294 (cfengine3-vartypes cfengine3-font-lock-keywords)
21295 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21296 (cfengine3-indent-line): Add from cfengine3.el.
21297
21298 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21299
21300 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21301
21302 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21303
21304 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21305
21306 * window.el (same-window-buffer-names, same-window-regexps)
21307 (same-window-p, special-display-frame-alist)
21308 (special-display-popup-frame, special-display-function)
21309 (special-display-buffer-names, special-display-regexps)
21310 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21311 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21312 (split-window-preferred-function, split-height-threshold)
21313 (split-width-threshold, even-window-heights)
21314 (display-buffer-mark-dedicated, window-splittable-p)
21315 (split-window-sensibly, window-safely-shrinkable-p):
21316 Un-obsolete.
21317 (display-buffer): Don't spread args with function specifier
21318 because special-display-popup-frame won't like it.
21319
21320 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21321
21322 Time-stamp simplifications and fixes.
21323 These improve accuracy slightly, and future-proof the code
21324 against some potential changes to current-time format.
21325
21326 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21327 by using time-since and float-time.
21328
21329 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21330 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21331 + NNN microseconds".
21332
21333 * type-break.el (type-break-time-sum): Rewrite using time-add.
21334
21335 * play/hanoi.el (hanoi-current-time-float): Remove.
21336 All uses replaced by float-time.
21337
21338 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21339 This yields a more-accurate answer.
21340 (rng-time-to-float): Remove; no longer needed.
21341
21342 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21343
21344 * calendar/timeclock.el (timeclock-seconds-to-time):
21345 Defalias to seconds-to-time, since they're the same thing.
21346
21347 * emacs-lisp/elp.el (elp-elapsed-time):
21348 * emacs-lisp/benchmark.el (benchmark-elapse):
21349 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21350
21351 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21352
21353 * window.el (bury-buffer): Don't iconify the only frame.
21354 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21355 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21356
21357 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21358
21359 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21360 Add mouse-yank-primary.
21361
21362 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21363
21364 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21365
21366 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21367
21368 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21369 (find-library-name): Use it to find relative load names when provided
21370 absolute file name (bug#8803).
21371
21372 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21373
21374 * textmodes/flyspell.el (flyspell-word): Consider words that
21375 differ only in case as potential doublons (bug#5687).
21376
21377 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21378 Remove two rather uninteresting debugging-like messages to make
21379 debbugs.el more silent.
21380
21381 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21382 a password-like phrase.
21383
21384 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21385
21386 * progmodes/cc-guess.el: New file.
21387
21388 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21389
21390 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21391 derived from `c-basic-common-init'.
21392
21393 * progmodes/cc-mode.el (top-level): Require cc-guess.
21394 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21395
21396 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21397
21398 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21399
21400 2011-06-30 Alan Mackenzie <acm@muc.de>
21401
21402 * progmodes/cc-engine.el (c-guess-continued-construct):
21403 Correct the handling of template-args-cont, particularly for when font
21404 lock is disabled. Name this case as "CASE G".
21405
21406 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21407
21408 * allout.el (allout-yank-processing): Fix injection of extra space
21409 between bullet and non-whitespace character in first topic when
21410 pasting, ensuring that the actual spacing in the pasted topic
21411 following the bullet char is preserved. This extra space was
21412 causing pasted encrypted topics to get a decrypted status even
21413 when the content was actually still encrypted. Now the decryption
21414 status from before the paste is preserved.
21415
21416 (allout-flag-region): Set all allout overlays so they evaporate
21417 when reduced to zero length (evanescent), to prevent overlay
21418 leakage.
21419
21420 2011-06-30 Glenn Morris <rgm@gnu.org>
21421
21422 * w32-fns.el (w32-charset-info-alist): Declare.
21423
21424 * find-dired.el (find-grep-options): Simplify.
21425
21426 * term/ns-win.el (ns-set-resource): Declare.
21427
21428 * ses.el (row, col): Declare dynamic variables honestly.
21429
21430 * textmodes/reftex-parse.el (index-tags): Declare.
21431
21432 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21433
21434 * cus-edit.el (customize-push-and-save): New function.
21435
21436 * files.el (hack-local-variables-confirm): Use it.
21437
21438 * custom.el (load-theme): New arg NO-CONFIRM.
21439 Use customize-push-and-save (Bug#8720).
21440 (custom-enabled-themes): Doc fix.
21441
21442 * cus-theme.el (customize-create-theme)
21443 (custom-theme-merge-theme): Callers to load-theme changed.
21444
21445 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21446
21447 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21448 short URLs have at least one dot in them (bug #7614).
21449
21450 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21451 nil, because using a pty is apparently too slow (bug #895).
21452
21453 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21454
21455 * mail/sendmail.el (sendmail-query-once): New function.
21456 (sendmail-query-once-function): New variable.
21457
21458 2011-06-29 Glenn Morris <rgm@gnu.org>
21459
21460 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21461
21462 * ses.el (top-level): Require cl when compiling.
21463 (ses-set-localvars): Fix error statement.
21464 Call it at compile time to silence a storm of warnings.
21465
21466 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21467
21468 * window.el (normalize-live-buffer): Rename to
21469 window-normalize-buffer.
21470 (normalize-live-frame): Rename to window-normalize-frame.
21471 (normalize-any-window): Rename to window-normalize-any-window.
21472 (normalize-live-window): Rename to window-normalize-live-window.
21473 (make-window-atom): Rename to window-make-atom.
21474 (window-resize-reset): Rename to window--resize-reset.
21475 (window-resize-reset-1): Rename to window--resize-reset-1.
21476 (resize-mini-window): Rename to window--resize-mini-window.
21477 (resize-subwindows-skip-p): Rename to
21478 window--resize-subwindows-skip-p.
21479 (resize-subwindows-normal): Rename to
21480 window--resize-subwindows-normal.
21481 (resize-subwindows): Rename to window--resize-subwindows.
21482 (resize-other-windows): Rename to window--resize-siblings.
21483 (resize-this-window): Rename to window--resize-this-window.
21484 (resize-root-window): Rename to window--resize-root-window.
21485 (resize-root-window-vertically): Rename to
21486 window--resize-root-window-vertically.
21487 (normalize-buffer-to-display): Rename to
21488 window-normalize-buffer-to-display.
21489 (normalize-buffer-to-switch-to): Rename to
21490 window-normalize-buffer-to-switch-to.
21491 Correspondingly update all callers of the functions listed
21492 above.
21493 (display-buffer-alist, display-buffer-normalize-arguments)
21494 (display-buffer-normalize-options, display-buffer)
21495 (display-buffer-alist-set): Use "function" instead of
21496 "fun-with-args".
21497
21498 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21499
21500 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21501 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21502 debbugs.gnu.org. Mention acknowledgment email.
21503
21504 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21505
21506 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21507 buffer multibyteness, since it shouldn't matter.
21508
21509 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21510
21511 * window.el (display-buffer-in-side-window): Handle dedicated
21512 windows as in display-buffer-reuse-window.
21513 (display-buffer-normalize-alist): Use value of override
21514 specifier.
21515 (display-buffer-normalize-specifiers): Use value of
21516 other-window-means-other-frame specifier.
21517 (display-buffer-alist): Rewrite some texts in widgets.
21518 (display-buffer): Spread arguments when calling function
21519 specified by fun-with-args.
21520
21521 2011-06-28 Deniz Dogan <deniz@dogan.se>
21522
21523 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21524 Unnest `let'.
21525
21526 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21527 selectors (Bug#5732).
21528 (css-proprietary-nmstart-re): Use `regexp-opt'.
21529
21530 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21531
21532 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21533 (eshell-ls-date-format): New defcustom.
21534 (eshell-ls-file): Use it.
21535
21536 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21537
21538 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21539
21540 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21541
21542 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21543 (ange-ftp-make-tmp-name): New arg.
21544 (ange-ftp-file-local-copy): Use it.
21545
21546 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21547
21548 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21549 no-conversion (Bug#8870).
21550
21551 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21552
21553 * window.el (window-right, window-left, window-child)
21554 (window-child-count, window-last-child)
21555 (window-iso-combination-p, walk-window-tree-1)
21556 (window-atom-check-1, window-tree-1, delete-window)
21557 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21558 new naming conventions - window-vchild, window-hchild,
21559 window-next and window-prev are now called window-top-child,
21560 window-left-child, window-next-sibling and window-prev-sibling
21561 respectively.
21562 (resize-window-reset): Rename to window-resize-reset.
21563 (resize-window-reset-1): Rename to window-resize-reset-1.
21564 (resize-window): Rename to window-resize.
21565 (window-min-height, window-min-width)
21566 (resize-mini-window, resize-this-window, resize-root-window)
21567 (resize-root-window-vertically, adjust-window-trailing-edge)
21568 (enlarge-window, shrink-window, maximize-window)
21569 (minimize-window, delete-window, quit-restore-window)
21570 (split-window, balance-windows, balance-windows-area-adjust)
21571 (balance-windows-area, window-state-put-2)
21572 (display-buffer-even-window-sizes, display-buffer-set-height)
21573 (display-buffer-set-width, set-window-text-height)
21574 (fit-window-to-buffer): Rename all "resize-window" prefixed
21575 calls to use the "window-resize" prefix convention.
21576 (display-buffer-alist): Fix symbol for label specifier.
21577 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21578 corresponding specifier.
21579 Reported by Juanma Barranquero <lekktu@gmail.com>.
21580
21581 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21582
21583 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21584 convention.
21585 (ses-call-printer): Does not pass an empty string to formatter when the
21586 cell is empty to keep from barking printer Calc math-format-value.
21587
21588 2011-06-27 Richard Stallman <rms@gnu.org>
21589
21590 * battery.el (battery-mode-line-limit): New variable.
21591 (battery-update): Handle it.
21592
21593 * mail/rmailmm.el (rmail-mime-process-multipart):
21594 Handle truncated messages.
21595
21596 2011-06-27 Glenn Morris <rgm@gnu.org>
21597
21598 * progmodes/flymake.el (flymake-err-line-patterns):
21599 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21600
21601 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21602
21603 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21604 (ses--clean-!, ses--clean-_): New functions.
21605 (ses-range): Add configurability of readout order, and conversion
21606 to Calc vector.
21607
21608 * ses.el (ses-repair-cell-reference-all): New function.
21609 (ses-cell-symbol): Set macro as safe, so that it can be used in
21610 formulas.
21611
21612 * ses.el: Update cycle detection algorithm.
21613 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21614 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21615 (ses-set-localvars): New function.
21616 (ses-make-cell): Add property-list as a cell element.
21617 (ses-cell-property-get-fun, ses-cell-property-get)
21618 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21619 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21620 New functions.
21621 (ses-cell-property-set, ses-cell-property-pop)
21622 (ses-cell-property-get-handle): New macro.
21623 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21624 New aliases, used for code readability.
21625 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21626 cycle detection.
21627 (ses-self-reference-early-detection): New defcustom.
21628 (ses-formula-references): Robustify against self-referring cells.
21629 (ses-mode): Use ses-set-localvars.
21630 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21631 before lauching the update processing.
21632 (ses-initialize-Dijkstra-attempt): New function.
21633 (ses-recalculate-cell): Update for cycle detection based on
21634 Dijkstra algorithm.
21635
21636 * ses.el: Fix commenting and indenting convention.
21637
21638 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21639
21640 * bs.el (bs-cycle-next): Complete last change.
21641
21642 2011-06-27 Drew Adams <drew.adams@oracle.com>
21643
21644 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21645
21646 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21647
21648 * net/network-stream.el (network-stream-open-starttls):
21649 Don't re-get capabilities unless we've reestablished connection.
21650 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21651
21652 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21653 to binary to possibly avoid line encoding issues on Windows (among
21654 other things).
21655
21656 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21657
21658 * net/network-stream.el (open-network-stream): Return an :error
21659 saying what the problem was, if possible.
21660
21661 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21662 server.
21663
21664 * net/network-stream.el (network-stream-open-starttls): If we
21665 wanted to use STARTTLS, and the server offered it, but we weren't
21666 able to because we had no STARTTLS support, then close the connection.
21667 (open-network-stream): Return an :error element, if present.
21668
21669 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21670
21671 * hl-line.el (hl-line-sticky-flag): Doc fix.
21672 (global-hl-line-sticky-flag): New option (Bug#8323).
21673 (global-hl-line-highlight): Obey it.
21674
21675 * vc/vc.el (vc-revert-show-diff): Default to t.
21676
21677 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21678
21679 * allout-widgets.el (allout-widgets-post-command-business):
21680 Stop decorating intermediate isearch matches. They're not being
21681 undecorated when an isearch is continued past, and isearch
21682 automatically collapses them. This leads to "widget leaks", where
21683 decorated items accumulate in collapsed areas. Lines with lots of
21684 hidden widgets can slow down cursor travel, substantially.
21685 Too much complicated machinery would be needed to ensure undecoration,
21686 so we're doing without this nicety.
21687
21688 (allout-widgets-tally-string): Don't try to do a hash-table-count
21689 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21690 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21691 *Messages* when allout-widgets-maintain-tally is t.
21692
21693 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21694
21695 * window.el (display-buffer-normalize-argument): Rename to
21696 display-buffer-normalize-arguments. Handle special meaning of
21697 LABEL argument. Respect special-display-function when popping up
21698 a new frame. Fix code searching for a window showing the buffer
21699 on another frame.
21700 (display-buffer-normalize-specifiers):
21701 Call display-buffer-normalize-arguments.
21702 (display-buffer-in-window): Don't undedicate the window if its
21703 buffer remains the same.
21704 Reported by Drew Adams <drew.adams@oracle.com>.
21705 (display-buffer-alist): Add choice for same-window macro
21706 specfier.
21707 (display-buffer): Mention special meaning of LABEL argument in
21708 doc-string. Fix quoting. Don't pop up a new frame even as
21709 fallback.
21710
21711 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21712
21713 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21714 avoid deleting the current window in some cases (bug#8911).
21715
21716 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21717
21718 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21719 (Bug#8934)
21720
21721 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21722
21723 * net/network-stream.el (network-stream-open-starttls):
21724 Use built-in TLS support if `gnutls-available-p' is true.
21725 (network-stream-open-tls): Ditto.
21726
21727 2011-06-26 Leo Liu <sdl.web@gmail.com>
21728
21729 * register.el (registerv): New struct.
21730 (registerv-make): New function.
21731 (jump-to-register, describe-register-1, insert-register):
21732 Support the jump-func, print-func and insert-func slot of a registerv
21733 struct. (Bug#8415)
21734
21735 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21736
21737 * vc/vc.el (vc-revert-show-diff): New defcustom.
21738 (vc-diff-internal): New arg specifying diff buffer.
21739 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21740 reuse an existing *vc-diff* buffer (Bug#8927).
21741
21742 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21743
21744 2011-06-26 Glenn Morris <rgm@gnu.org>
21745
21746 * progmodes/f90.el (f90-critical-indent): New option.
21747 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21748 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21749 (f90-mode): Doc fix.
21750 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21751 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21752 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21753 (f90-match-end): Handle block, critical.
21754
21755 2011-06-25 Glenn Morris <rgm@gnu.org>
21756
21757 * calendar/diary-lib.el (diary-included-files): Doc fix.
21758 (diary-include-files): New function, extracted from
21759 diary-include-other-diary-files and diary-mark-included-diary-files.
21760 (diary-include-other-diary-files, diary-mark-included-diary-files):
21761 Just call diary-include-files.
21762 (diary-mark-entries): Reset diary-included-files on first call.
21763
21764 * calendar/diary-lib.el (diary-mark-entries)
21765 (diary-mark-included-diary-files):
21766 Visit included diary-files in temp buffers.
21767
21768 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21769 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21770 (f90-start-block-re, f90-imenu-generic-expression)
21771 (f90-looking-at-program-block-start, f90-no-block-limit):
21772 Add support for submodules.
21773
21774 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21775 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21776
21777 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21778
21779 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21780 buffer-file-type before setting its value, to avoid disastrous
21781 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21782
21783 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21784
21785 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21786
21787 * ses.el (ses-unload-function):
21788 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21789
21790 * proced.el (proced-unload-function):
21791 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21792
21793 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21794
21795 * server.el (server-create-window-system-frame): Add parameters arg.
21796 (server-process-filter): Doc fix. Handle frame-parameters.
21797
21798 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21799
21800 Fix bug#8730, bug#8781.
21801
21802 * loadhist.el (unload--set-major-mode): New function.
21803 (unload-feature): Use it.
21804
21805 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21806 (python-unload-function): New function.
21807
21808 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21809
21810 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21811
21812 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21813
21814 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21815 the candidates list.
21816
21817 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21818
21819 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21820
21821 2011-06-23 Richard Stallman <rms@gnu.org>
21822
21823 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21824 (rmail-variables): Set next-error-move-function.
21825 (rmail-what-message): Take argument POS.
21826 (rmail-next-error-move): New function.
21827
21828 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21829
21830 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21831 messages for adjacent non-terminals.
21832
21833 2011-06-23 Richard Stallman <rms@gnu.org>
21834
21835 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21836 (rmail-show-message-1): Preserve buffer modified flag.
21837 (rmail-start-mail): Don't specify use of rmail-mail-return;
21838 that's done by mail-bury now.
21839 (rmail-mail-return): Handle arg NEWBUF.
21840
21841 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21842
21843 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21844 SIZE is a number.
21845
21846 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21847
21848 * window.el (get-lru-window, get-mru-window)
21849 (get-largest-window): Never return a minibuffer window.
21850 (display-buffer-pop-up-window): Fix a bug that could lead to
21851 reusing the minibuffer window.
21852 (display-buffer): Pass original specifier argument to
21853 display-buffer-function instead of the normalized one.
21854 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21855
21856 2011-06-22 Leo Liu <sdl.web@gmail.com>
21857
21858 * minibuffer.el (completing-read-function)
21859 (completing-read-default): Move from minibuf.c.
21860
21861 2011-06-22 Richard Stallman <rms@gnu.org>
21862
21863 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21864 to Rmail even if not started by a special Rmail command.
21865
21866 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21867 Copy the buffer currently showing just one message.
21868
21869 2011-06-22 Roland Winkler <winkler@gnu.org>
21870
21871 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21872 (bibtex-clean-entry): First delete the old key so that a
21873 customized algorithm for generating the new key does not get
21874 confused by the old key.
21875 (bibtex-url): Obey regexp of first step.
21876 (bibtex-search-entries): Do not use add-to-list with local
21877 list-var.
21878
21879 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21880
21881 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21882 stored a user name, then query for the password first, instead of
21883 waiting for SMTP to give an error message and the trying again.
21884
21885 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21886
21887 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21888 BUFFER in call-process.
21889
21890 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21891
21892 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21893 QUIT twice.
21894 (smtpmail-try-auth-methods): Require user name and password from
21895 auth-source.
21896
21897 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21898
21899 * window.el (display-buffer-default-specifiers)
21900 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21901 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21902 (split-window): Normalize SIDE argument (Bug#8916).
21903
21904 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21905 (special-display-frame-alist, special-display-popup-frame):
21906 Remove duplicate declarations. These are now in window.el.
21907
21908 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21909
21910 * mail/smtpmail.el (smtpmail-via-smtp):
21911 Set :use-starttls-if-possible so that we always use STARTTLS if the
21912 server supports it. SMTP servers that support STARTTLS commonly
21913 require it.
21914
21915 * net/network-stream.el (network-stream-open-starttls): Support
21916 upgrading to STARTTLS always, even if we don't have built-in support.
21917 (open-network-stream): Add the :always-query-capabilities keyword.
21918
21919 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21920 upgrades with `open-network-stream', and rely solely on
21921 auth-source for all credentials. Big changes throughout the file,
21922 but in particular:
21923 (smtpmail-auth-credentials): Remove.
21924 (smtpmail-starttls-credentials): Remove.
21925 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21926 MAIL FROM, too.
21927
21928 * net/network-stream.el (network-stream-open-starttls):
21929 Provide support for client certificates both for external and built-in
21930 STARTTLS.
21931 (auth-source): Require.
21932 (open-network-stream): Document the :client-certificate keyword.
21933 (network-stream-certificate): Change cert-cert to cert and
21934 cert-key to key.
21935
21936 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21937
21938 * net/tramp-cache.el (top): Don't load the persistency file when
21939 "emacs -Q" has been called.
21940
21941 2011-06-21 Tim Harper <timcharper@gmail.com>
21942
21943 * term/ns-win.el (ns-initialize-window-system):
21944 Set application-specific `ApplePressAndHoldEnabled' system
21945 resource to NO as it is not yet supported by the NS port.
21946
21947 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21948
21949 * misc.el (list-dynamic-libraries--refresh): Compute header here...
21950 (list-dynamic-libraries): ...not here.
21951
21952 2011-06-21 Leo Liu <sdl.web@gmail.com>
21953
21954 * subr.el (sha1): Implement sha1 using secure-hash.
21955
21956 2011-06-21 Martin Rudalics <rudalics@gmx.at>
21957
21958 * window.el (display-buffer-alist): In default value do not
21959 enforce searching a window on any but the selected frame.
21960 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
21961 (display-buffer-select-window): Remove function.
21962 (display-buffer-in-window): When a window on another frame gets
21963 reused, do not select it any more but just raise its frame if
21964 necessary (Bug#8851) and (Bug#8856).
21965 (display-buffer-normalize-options): Handle pop-up-frames related
21966 options more faithfully.
21967 (pop-to-buffer): Don't rely on `display-buffer' selecting the
21968 window if it is on another frame.
21969 (display-buffer-alist, display-buffer-default-specifiers):
21970 Don't make new frame unsplittable by default.
21971 (display-buffer-normalize-argument): Fix doc-string typo and use
21972 'same-frame-other-window instead of 'other-window when associating
21973 with display-buffer-macro-specifiers.
21974
21975 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
21976
21977 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
21978 New functions.
21979 (5x5-mode-map, 5x5-mode-menu): Bind them.
21980 (5x5-draw-grid): Tweak the solver's rendering.
21981
21982 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21983
21984 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
21985 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
21986
21987 2011-06-21 Drew Adams <drew.adams@oracle.com>
21988
21989 * menu-bar.el: Use function variable instead of switch-to-buffer.
21990 (menu-bar-select-buffer-function): New variable.
21991 (menu-bar-update-buffers): Use it (bug#8876).
21992
21993 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21994
21995 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
21996 variable's status.
21997
21998 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
21999
22000 * x-dnd.el (x-dnd-version-from-flags)
22001 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22002 and long as number (Bug#8899).
22003 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22004
22005 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22006
22007 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22008 (completion-try-completion, completion-all-completions): Compute the
22009 metadata argument if it's missing; make it optional (bug#8795).
22010
22011 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22012 (widget-complete): Use new :completion-function property.
22013 (widget-completions-at-point): New function.
22014 (default): Use :completion-function instead of :complete.
22015 (widget-default-completions): Rename from widget-default-complete;
22016 Rewrite.
22017 (widget-string-complete, widget-file-complete, widget-color-complete):
22018 Remove functions.
22019 (file, symbol, function, variable, coding-system, color):
22020 * international/mule-cmds.el (default-input-method, charset)
22021 (language-info-custom-alist):
22022 * cus-edit.el (face): Use new property :completions.
22023
22024 * progmodes/pascal.el (pascal-completions-at-point): New function.
22025 (pascal-mode): Use it.
22026 (pascal-mode-map): Use completion-at-point.
22027 (pascal-toggle-completions): Make obsolete.
22028 (pascal-complete-word, pascal-show-completions):
22029 * progmodes/octave-mod.el (octave-complete-symbol):
22030 Redefine as obsolete alias.
22031 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22032 Signal absence of completion info for old Octave,
22033 (inferior-octave-complete): Redefine as obsolete alias.
22034 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22035 (meta-completions-at-point): Rename from meta-complete-symbol and
22036 adapt it for use on completion-at-point-functions.
22037 (meta-common-mode): Use it.
22038 (meta-looking-at-backward, meta-match-buffer): Remove.
22039 (meta-complete-symbol): Redefine as obsolete alias.
22040 (meta-common-mode-map): Use completion-at-point.
22041 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22042 (makefile-mode-map): Use completion-at-point.
22043 (makefile-completions-at-point): Rename from makefile-complete and
22044 adapt it for use on completion-at-point-functions.
22045 (makefile-mode): Use it.
22046 (makefile-complete): Redefine as obsolete alias.
22047
22048 2011-06-20 Deniz Dogan <deniz@dogan.se>
22049
22050 * net/rcirc.el: Delete trailing whitespaces once and for all.
22051
22052 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22053
22054 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22055
22056 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22057
22058 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22059
22060 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22061
22062 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22063
22064 * window.el (display-buffer-other-window-means-other-frame):
22065 Call display-buffer-normalize-alist.
22066 (display-buffer-normalize-specifiers-1): Rename to
22067 display-buffer-normalize-argument. New argument other-frame.
22068 Rewrite.
22069 (display-buffer-normalize-specifiers-2): Rename to
22070 display-buffer-normalize-options.
22071 (display-buffer-normalize-alist-1): New function.
22072 (display-buffer-normalize-specifiers-3): Rename to
22073 display-buffer-normalize-alist.
22074 Call display-buffer-normalize-alist-1.
22075 (display-buffer-normalize-options-inhibit): New variable.
22076 (display-buffer-normalize-specifiers): Rewrite calling
22077 display-buffer-normalize-alist,
22078 display-buffer-normalize-argument, and
22079 display-buffer-normalize-options. Don't call the latter if
22080 display-buffer-normalize-options-inhibit is non-nil.
22081 (frame-auto-delete): New option.
22082 (window-deletable-p): Use frame-auto-delete.
22083 (window-list-no-nils, window-state-ignored-parameters)
22084 (window-state-get-1, window-state-get, window-state-put-list)
22085 (window-state-put-1, window-state-put-2, window-state-put):
22086 New functions.
22087 (display-buffer-normalize-options): Move special-display-p group
22088 after pop-up-frame group (Bug#8851) and (Bug#8856).
22089
22090 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22091
22092 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22093 groups (Bug#8776).
22094 (rx-submatch-n): New function.
22095 (rx): Document it.
22096
22097 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22098 (Bug#8768).
22099
22100 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22101
22102 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22103
22104 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22105 anytime existing face settings are present (Bug#8889).
22106
22107 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22108 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22109 Remove unused argument.
22110
22111 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22112
22113 * window.el (display-buffer-default-specifiers):
22114 Remove pop-up-frame. Add pop-up-window-min-height,
22115 pop-up-window-min-width, and another reuse-window specifier
22116 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22117 (display-buffer-normalize-specifiers-2):
22118 Handle split-height-threshold and split-width-threshold also when
22119 pop-up-windows is unset. Add a reuse-window specifier for the
22120 case popping up a new window fails.
22121 (special-display-popup-frame): Remove double quoting.
22122 (display-buffer-normalize-specifiers-1): Fix thinko.
22123
22124 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22125
22126 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22127 according to comint-completion-addsuffix.
22128
22129 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22130 (pcomplete-suffix-list): Mark as obsolete.
22131 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22132 pcomplete-seen in the closure.
22133 (pcomplete-comint-setup): Setup completion-at-point as well.
22134 (pcomplete--entries): New function.
22135 (pcomplete--env-regexp): New var.
22136 (pcomplete-entries): Rewrite to work with partial-completion and
22137 without relying on pcomplete-suffix-list.
22138 (pcomplete-pare-list): Remove, unused.
22139
22140 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22141
22142 * window.el (display-buffer-alist): Set pop-up-window-min-height
22143 and pop-up-window-min-width in default value. Reported by
22144 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22145 other-window-means-other-frame.
22146 (display-buffer-macro-specifiers): Comment out entry for
22147 other-window specifier.
22148 (display-buffer-other-window-means-other-frame): New function.
22149 (display-buffer-normalize-specifiers-1): New arguments
22150 buffer-name and label. Treat other-window case specially.
22151 (display-buffer-normalize-specifiers-2): Treat other-window case
22152 specially.
22153 (display-buffer-normalize-specifiers-3): New function.
22154 (display-buffer-normalize-specifiers):
22155 Call display-buffer-normalize-specifiers-3.
22156
22157 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22158
22159 * window.el (same-window-p): Fix two typos introduced when
22160 adding with-no-warnings.
22161 (display-buffer-normalize-specifiers-1): Don't check
22162 pop-up-frames for 'unset initialization.
22163 (display-buffer-normalize-specifiers-2): Major rewrite using
22164 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22165 (pop-up-frames, display-buffer-reuse-frames)
22166 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22167 Suggested by David Engster <deng@randomsample.de>.
22168 (even-window-heights): Initialize to 'unset.
22169 (display-buffer-alist-set): Handle new 'unset initializations.
22170 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22171 other window case.
22172
22173 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22174
22175 * window.el (display-buffer-normalize-specifiers-1):
22176 Respect current value of pop-up-frames for most reasonable values of
22177 second argument of display-buffer (Bug#8865).
22178 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22179 (switch-to-buffer-other-window-same-frame)
22180 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22181 Adams (Bug#8875).
22182 (display-buffer): Don't check noninteractive when calling
22183 display-buffer-pop-up-frame.
22184 (display-buffer-pop-up-frame): Never pop up a frame in
22185 noninteractive mode (Bug#8857).
22186 (enlarge-window, shrink-window): Don't report an error when the
22187 window can't be resized as requested (Bug#8862).
22188
22189 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22190
22191 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22192
22193 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22194
22195 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22196
22197 2011-06-15 Alan Mackenzie <acm@muc.de>
22198
22199 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22200 for declarators, disable knr checking to speed up for normal files.
22201 2: Refactor, replacing a sequence of nested if forms by a cond form.
22202
22203 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22204
22205 * net/network-stream.el (open-network-stream): Add the keyword
22206 :always-query-capabilities for the case where you want to force a
22207 `plain' network connection, but the protocol still requires the
22208 capabilitiy command (i.e., SMTP and EHLO).
22209
22210 * subr.el (process-live-p): Rename from `process-alive-p' for
22211 consistency with other `-live-p' functions.
22212
22213 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22214
22215 * window.el (same-window-buffer-names, same-window-regexps)
22216 (special-display-frame-alist, special-display-popup-frame)
22217 (special-display-function, special-display-buffer-names)
22218 (special-display-regexps, pop-up-frame-alist)
22219 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22220 (pop-up-windows, split-window-preferred-function)
22221 (split-height-threshold, split-width-threshold, even-window-heights)
22222 (display-buffer-mark-dedicated): Don't encourage the use of
22223 display-buffer-alist from Elisp code.
22224
22225 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22226
22227 * progmodes/python.el (python-mode): Derive from prog-mode.
22228 * progmodes/ps-mode.el (ps-mode):
22229 * progmodes/mixal-mode.el (mixal-mode):
22230 * progmodes/cfengine.el (cfengine-mode):
22231 * progmodes/ld-script.el (ld-script-mode): Likewise.
22232
22233 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22234
22235 * window.el (display-buffer-alist): Trim default value to avoid
22236 popping up a new frame (Bug#8857) or reusing an arbitrary window
22237 on another frame.
22238 (display-buffer): Do not fall back on popping up a new frame in
22239 batch mode (Bug#8857).
22240
22241 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22242
22243 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22244 (custom-theme-summary): New function.
22245 (customize-themes): Use it.
22246
22247 2011-06-13 Glenn Morris <rgm@gnu.org>
22248
22249 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22250
22251 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22252
22253 * help.el (help-window): Remove variable.
22254 (help-window-point-marker, temp-buffer-max-height)
22255 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22256 (help-print-return-message): Don't set help-window.
22257 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22258 (help-window-setup-finish): Remove.
22259 (help-window-display-message, help-window-setup)
22260 (with-help-window): Major rewrite based on new
22261 display-buffer-window variable.
22262
22263 * help-mode.el (help-mode-finish): Remove help-window related
22264 code.
22265
22266 * view.el (view-exits-all-viewing-windows): Remove reference to
22267 view-return-to-alist in doc-string.
22268 (view-return-to-alist): Make obsolete.
22269 (view-buffer): Call pop-to-buffer-same-window and remove
22270 undo-window code.
22271 (view-buffer-other-window): Call pop-to-buffer-other-window and
22272 simplify code. Ignore second argument.
22273 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22274 simplify code. Ignore second argument.
22275 (view-return-to-alist-update): Make obsolete.
22276 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22277 Rewrite using quit-restore window parameters.
22278 (view-mode-exit): Rename second argument to EXIT-ONLY.
22279 Rewrite using quit-restore-window.
22280 (View-exit, View-exit-and-edit, View-leave, View-quit)
22281 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22282 appropriate arguments.
22283 (view-end-message): Use quit-restore window parameter.
22284
22285 * window.el (display-buffer-function): Rewrite doc-string.
22286 (display-buffer-window, display-buffer-alist): New variables.
22287 (display-buffer-split-specifiers)
22288 (display-buffer-side-specifiers)
22289 (display-buffer-macro-specifiers): New constants.
22290 (display-buffer-even-window-sizes, display-buffer-set-height)
22291 (display-buffer-set-width, display-buffer-select-window)
22292 (display-buffer-in-window, display-buffer-reuse-window)
22293 (display-buffer-split-window-1, display-buffer-split-window)
22294 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22295 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22296 (display-buffer-in-side-window, normalize-buffer-to-display)
22297 (display-buffer-normalize-specifiers-1)
22298 (display-buffer-normalize-specifiers-2)
22299 (display-buffer-normalize-specifiers, display-buffer-frame):
22300 New functions.
22301 (display-buffer): Major rewrite.
22302 (display-buffer-other-window, display-buffer-other-frame)
22303 (pop-to-buffer, switch-to-buffer-other-window)
22304 (switch-to-buffer-other-frame): Rewrite.
22305 (display-buffer-same-window, display-buffer-same-frame)
22306 (display-buffer-same-frame-other-window)
22307 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22308 (pop-to-buffer-other-window)
22309 (pop-to-buffer-same-frame-other-window)
22310 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22311 (switch-to-buffer-other-window-same-frame): New functions.
22312 (same-window-p, special-display-p): Rewrite disabling warnings.
22313 Make obsolete.
22314 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22315 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22316 Make obsolete
22317 (same-window-buffer-names, same-window-regexps)
22318 (special-display-frame-alist, special-display-popup-frame)
22319 (special-display-function, special-display-buffer-names)
22320 (special-display-regexps, pop-up-frame-alist)
22321 (pop-up-frame-function, split-window-preferred-function)
22322 (split-height-threshold, split-width-threshold)
22323 (even-window-heights): Make obsolete.
22324
22325 2011-06-12 Glenn Morris <rgm@gnu.org>
22326
22327 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22328 Misc simplifications.
22329
22330 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22331
22332 * window.el (window-safely-shrinkable-p): Restore function which
22333 was inadvertently removed in change from 2011-06-11. Declare as
22334 obsolete.
22335
22336 * calendar/calendar.el (calendar-generate-window):
22337 Use window-iso-combined-p instead of combination of one-window-p and
22338 window-safely-shrinkable-p.
22339
22340 2011-06-12 Glenn Morris <rgm@gnu.org>
22341
22342 * progmodes/fortran.el (fortran-mode-syntax-table):
22343 * progmodes/f90.el (f90-mode-syntax-table):
22344 Set % to punctuation. (Bug#8820)
22345 (f90-find-tag-default): Remove, no longer needed.
22346
22347 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22348
22349 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22350
22351 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22352
22353 * image.el (image-animated-p): Return animation delay in seconds.
22354 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22355 (image-animate-timeout): Remove DELAY argument. Don't assume
22356 every subimage has the same delay; get it from image-animated-p.
22357 (image-animate): Caller changed.
22358
22359 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22360
22361 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22362 to ignored backtrace functions.
22363
22364 2011-06-11 Glenn Morris <rgm@gnu.org>
22365
22366 * calendar/appt.el (appt-disp-window-function): Doc fix.
22367 (appt-check): Handle overlapping appointments. (Bug#8337)
22368
22369 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22370
22371 * window.el (window-tree-1, window-tree): New functions, moving
22372 the latter to window.el.
22373 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22374 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22375 (bw-refresh-edges): Remove.
22376 (balance-windows-1, balance-windows-2): New functions.
22377 (balance-windows): Rewrite in terms of window tree functions,
22378 balance-windows-1 and balance-windows-2.
22379 (bw-adjust-window): Remove.
22380 (balance-windows-area-adjust): New function with functionality of
22381 bw-adjust-window but using resize-window.
22382 (set-window-text-height): Rewrite doc-string.
22383 Use normalize-live-window and resize-window.
22384 (enlarge-window-horizontally, shrink-window-horizontally):
22385 Rename argument to DELTA.
22386 (window-buffer-height): New function.
22387 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22388 Rewrite using new window resize routines.
22389 (kill-buffer-and-window, mouse-autoselect-window-select):
22390 Use ignore-errors instead of condition-case.
22391 (quit-window): Call delete-frame instead of delete-windows-on
22392 for the only buffer on frame.
22393
22394 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22395
22396 * loadup.el (top-level): Load window before files for the sake
22397 of replace-buffer-in-windows.
22398
22399 * files.el (read-buffer-to-switch)
22400 (switch-to-buffer-other-window)
22401 (switch-to-buffer-other-frame, display-buffer-other-frame):
22402 Move to window.el.
22403
22404 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22405 (previous-buffer): Move to window.el.
22406
22407 * bindings.el (unbury-buffer): Move to window.el.
22408
22409 * window.el (delete-other-windows-vertically): Move after
22410 definition of delete-other-windows.
22411 (other-window, delete-windows-on, replace-buffer-in-windows):
22412 Move here from window.c.
22413 (record-window-buffer, unrecord-window-buffer)
22414 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22415 (switch-to-next-buffer): New functions.
22416 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22417 from simple.el. Call switch-to-next-buffer.
22418 (previous-buffer): Move here from simple.el.
22419 Call switch-to-prev-buffer.
22420 (bury-buffer): Move here from buffer.c. Switch to previous
22421 buffer when window cannot be deleted.
22422 (unbury-buffer): Move here from bindings.el.
22423 (ctl-x-map): Move binding for other-window from window.c to
22424 here.
22425 (read-buffer-to-switch, switch-to-buffer-other-window)
22426 (switch-to-buffer-other-frame): Move here from files.el.
22427 (normalize-buffer-to-switch-to): New functions.
22428 (switch-to-buffer): Move here from buffer.c.
22429 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22430
22431 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22432
22433 * window.el (window-min-height, window-min-width): Move here
22434 from window.c. Add defcustoms and rewrite doc-strings.
22435 (resize-mini-window, resize-window): New functions.
22436 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22437 Move here from window.c.
22438 (maximize-window, minimize-window): New functions.
22439 (delete-window, delete-other-windows, split-window): Move here
22440 from window.c.
22441 (window-split-min-size): New function.
22442 (split-window-keep-point): Mention split-window-above-each-other
22443 instead of split-window-vertically.
22444 (split-window-above-each-other, split-window-vertically):
22445 Rename split-window-vertically to split-window-above-each-other
22446 and provide defalias for old definition.
22447 (split-window-side-by-side, split-window-horizontally):
22448 Rename split-window-horizontally to split-window-side-by-side
22449 and provide defalias for the old definition.
22450 (ctl-x-map): Move bindings for delete-window,
22451 delete-other-windows and enlarge-window here from window.c.
22452 Replace bindings for split-window-vertically and
22453 split-window-horizontally by bindings for
22454 split-window-above-each-other and split-window-side-by-side.
22455
22456 * cus-start.el (all): Remove entries for window-min-height and
22457 window-min-width. Add entries for window-splits and
22458 window-nest.
22459
22460 2011-06-09 Glenn Morris <rgm@gnu.org>
22461
22462 * calendar/appt.el (appt-mode-line): New function.
22463 (appt-check, appt-disp-window): Use it.
22464
22465 * files.el (hack-one-local-variable-eval-safep):
22466 Allow minor-modes with explicit +/-1 arguments.
22467
22468 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22469
22470 * term/xterm.el (xterm): Add defgroup.
22471 (xterm-extra-capabilities): Add defcustom to supply known xterm
22472 capabilities, skip querying them, or query them (default).
22473 (terminal-init-xterm): Use it.
22474 (terminal-init-xterm-modify-other-keys): New function to set up
22475 modifyOtherKeys support to simplify `terminal-init-xterm'.
22476
22477 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22478
22479 * window.el (resize-window-reset, resize-window-reset-1)
22480 (resize-subwindows-skip-p, resize-subwindows-normal)
22481 (resize-subwindows, resize-other-windows, resize-this-window)
22482 (resize-root-window, resize-root-window-vertically)
22483 (window-deletable-p, window-or-subwindow-p)
22484 (frame-root-window-p): New functions.
22485
22486 2011-06-09 Glenn Morris <rgm@gnu.org>
22487
22488 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22489 (ange-ftp-get-files): Use it.
22490
22491 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22492
22493 * mail/sendmail.el (mail-recover-1, mail-recover):
22494 * files.el (recover-file, recover-session):
22495 Handle dired-listing-switches not being just a single short option.
22496
22497 2011-06-09 Glenn Morris <rgm@gnu.org>
22498
22499 * calendar/appt.el (appt-display-message, appt-disp-window):
22500 Handle lists of appointments.
22501
22502 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22503
22504 * window.el (one-window-p): Move down in code.
22505 Rewrite doc-string.
22506 (window-current-scroll-bars): Rewrite doc-string.
22507 Normalize live window argument.
22508 (walk-windows, get-window-with-predicate, count-windows):
22509 Rewrite doc-string. Use window-list-1.
22510 (window-in-direction-2, window-in-direction, get-mru-window):
22511 New functions.
22512
22513 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22514
22515 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22516 Doc fix (Bug#8713).
22517
22518 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22519
22520 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22521
22522 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22523
22524 * loadhist.el (unload-feature-special-hooks):
22525 Add `comint-output-filter-functions'.
22526
22527 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22528
22529 * calendar/appt.el (appt-check): Move some initializations into the let.
22530
22531 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22532
22533 * window.el (window-height): Defalias to window-total-height.
22534 (window-width): Defalias to window-body-width.
22535
22536 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22537
22538 * image-mode.el (image-toggle-animation): New command.
22539 (image-mode-map): Bind it to RET.
22540 (image-mode): Update message.
22541 (image-toggle-display-image): Avoid a spurious cache flush.
22542 (image-transform-rotation): Doc fix.
22543 (image-transform-properties): Return quickly in the normal case.
22544 (image-animate-loop): Rename from image-animate-max-time.
22545
22546 * image.el (image-animate-max-time): Move to image-mode.el.
22547 (create-animated-image): Remove unnecessary function.
22548 (image-animate): Rename from image-animate-start. New arg.
22549 (image-animate-stop): Remove; just use image-animate-timer.
22550 (image-animate-timer): Use car-safe.
22551 (image-animate-timeout): Rename argument.
22552
22553 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22554
22555 * window.el (get-lru-window, get-largest-window): Move here from
22556 window.c. Rename first argument to ALL-FRAMES.
22557 Rephrase doc-strings.
22558 (get-buffer-window-list): Rewrite using window-list-1.
22559 Rephrase doc-string.
22560 (window-safe-min-height, window-safe-min-width): New constants.
22561 (window-size-ignore, window-min-size, window-min-size-1)
22562 (window-sizable, window-sizable-p, window-size-fixed-1)
22563 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22564 (window-max-delta-1, window-max-delta, window-resizable)
22565 (window-resizable-p, window-total-height, window-total-width)
22566 (window-body-width): New functions.
22567 (window-full-height-p, window-full-width-p): Rewrite using
22568 window-total-size.
22569 (window-body-height): Rewrite using window-body-size.
22570
22571 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22572
22573 * window.el (window-right, window-left, window-child)
22574 (window-child-count, window-last-child, window-any-p)
22575 (normalize-live-buffer, normalize-live-frame)
22576 (normalize-any-window, normalize-live-window)
22577 (window-iso-combination-p, window-iso-combined-p)
22578 (window-iso-combinations)
22579 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22580 (windows-with-parameter, window-with-parameter)
22581 (window-atom-root, make-window-atom, window-atom-check-1)
22582 (window-atom-check, window-side-check, window-check):
22583 New functions.
22584 (ignore-window-parameters, window-sides, window-sides-vertical)
22585 (window-sides-slots): New variables.
22586 (window-size-fixed): Move down in code. Minor doc-string fix.
22587
22588 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22589
22590 * comint.el (comint-dynamic-complete-as-filename)
22591 (comint-dynamic-complete-filename): Correctly call
22592 completion-in-region.
22593
22594 2011-06-05 Deniz Dogan <deniz@dogan.se>
22595
22596 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22597 in last change.
22598
22599 2011-06-05 Deniz Dogan <deniz@dogan.se>
22600
22601 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22602 (rcirc): Use it to prompt for encryption.
22603
22604 2011-06-05 Roland Winkler <winkler@gnu.org>
22605
22606 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22607 (bibtex-search-entries): New command bound to C-c C-a.
22608 (bibtex-display-entries): New function.
22609
22610 2011-06-05 Roland Winkler <winkler@gnu.org>
22611
22612 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22613 (bibtex-insert-kill): After yanking insert newline if necessary.
22614 (bibtex-initialize): Call bibtex-string-files-init only once.
22615 (bibtex-mode): Do not call easy-menu-add.
22616 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22617 (bibtex-yank): Set arg properly if nil.
22618
22619 2011-06-05 Roland Winkler <winkler@gnu.org>
22620
22621 * textmodes/bibtex.el (bibtex-search-entry-globally):
22622 New variable.
22623 (bibtex-search-entry): Use it.
22624
22625 2011-06-05 Roland Winkler <winkler@gnu.org>
22626
22627 * textmodes/bibtex.el (bibtex-entry-format): New option
22628 sort-fields.
22629 (bibtex-format-entry, bibtex-reformat): Honor this option.
22630 (bibtex-parse-entry): Return fields in proper order.
22631
22632 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22633
22634 * doc-view.el (doc-view-remove-if): Move computation of result out
22635 of `dolist' to silence misleading lexical-binding warning.
22636
22637 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22638
22639 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22640 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22641
22642 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22643
22644 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22645 "SunOS 5.10".
22646
22647 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22648
22649 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22650 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22651 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22652 (tramp-parse-putty):
22653 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22654 (tramp-completion-function-alist-ssh)
22655 (tramp-completion-function-alist-telnet)
22656 (tramp-completion-function-alist-su)
22657 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22658 cookie.
22659
22660 * net/tramp-ftp.el:
22661 * net/tramp-sh.el:
22662 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22663 load "tramp.el" `tramp-set-completion-function'.
22664
22665 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22666
22667 * shell.el: Require and use pcomplete.
22668 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22669 (shell-completion-vars): Set pcomplete-default-completion-function.
22670
22671 2011-06-04 Deniz Dogan <deniz@dogan.se>
22672
22673 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22674 `memq' (Bug#8799).
22675
22676 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22677
22678 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22679
22680 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22681
22682 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22683 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22684 * vc/log-view.el (log-view-beginning-of-defun):
22685 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22686 (smerge-refine-forward, smerge-refine-chopup-region):
22687 Silence warning for unused `dotimes' counter variables.
22688
22689 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22690
22691 * net/tramp.el (tramp-with-progress-reporter): Rename from
22692 with-progress-reporter. Use `declare'.
22693 * net/tramp-smb.el:
22694 * net/tramp-sh.el:
22695 * net/tramp-gvfs.el: Update all uses.
22696
22697 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22698
22699 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22700 buffer isn't killed before making it current.
22701
22702 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22703
22704 Silence various byte-compiler warnings.
22705 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22706 `access-type' and new obsolescence format.
22707 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22708 new format.
22709 (byte-compile-check-variable): New `access-type' argument.
22710 Only warn if the access-type is obsolete.
22711 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22712 (byte-compile-variable-set): Adjust callers.
22713 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22714 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22715 setting it as obsolete.
22716 * simple.el (minibuffer-completing-symbol):
22717 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22718 access as obsolete.
22719 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22720 obsolete yet.
22721 * international/quail.el (quail-mouse-choose-completion): Remove unused
22722 code referring to obsolete var.
22723 (quail-choose-completion-string): Remove.
22724 * server.el (server-clients-with, server-kill-buffer-query-function)
22725 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22726 * proced.el (proced-send-signal):
22727 * emacs-lisp/lisp.el (lisp-complete-symbol):
22728 Replace completion-annotate-function with completion-extra-properties.
22729
22730 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22731
22732 * simple.el (goto-line): Use read-number.
22733 (overriding-map-is-bound): Remove.
22734 (saved-overriding-map): Change default.
22735 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22736 Take the map as argument.
22737 (universal-argument, negative-argument, digit-argument): Use it.
22738 (restore-overriding-map): Adjust.
22739 (do-auto-fill): Use fill-forward-paragraph.
22740 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22741
22742 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22743 (minibuffer-inactive-mode): New major mode.
22744 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22745 the *Messages* buffer" hack.
22746 (mouse-popup-menubar): Don't burp if the event is a normal key.
22747
22748 Miscellaneous tweaks.
22749 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22750 lexical scoping as in subr.el's dolist and dotimes.
22751 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22752 Silence compiler warning.
22753 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22754 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22755 * international/ccl.el (ccl-compile): Trivial simplification.
22756 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22757 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22758 `printflag' argument.
22759 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22760 Purecopy the whole obsolescence data.
22761
22762 2011-06-01 Leo Liu <sdl.web@gmail.com>
22763
22764 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22765 improve doc-string as suggested by Marco Pessotto
22766 <melmothx@gmail.com>.
22767 (rcirc-print): Fix last change.
22768
22769 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22770
22771 * minibuffer.el (complete-with-action): Return nil for the metadata and
22772 boundaries of non-functional tables.
22773 (completion-table-dynamic): Return nil for the metadata.
22774 (completion-table-with-terminator): Add default case, using
22775 complete-with-action.
22776 (completion--metadata): New function.
22777 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22778 to try and avoid pathological performance problems.
22779 (completion--embedded-envvar-table): Return `category' metadata.
22780
22781 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22782
22783 * subr.el (process-alive-p): New tiny convenience function.
22784
22785 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22786
22787 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22788 content but also its previous major mode.
22789
22790 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22791
22792 * emacs-lisp/debug.el (debug): Restore the previous content of the
22793 *Backtrace* buffer when we exit with C-M-c.
22794
22795 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22796
22797 * minibuffer.el: Add metadata method to completion tables.
22798 (completion-category-overrides): New defcustom.
22799 (completion-metadata, completion--field-metadata)
22800 (completion-metadata-get, completion--styles)
22801 (completion--cycle-threshold): New functions.
22802 (completion-try-completion, completion-all-completions):
22803 Add `metadata' argument to choose completion-styles.
22804 (completion--do-completion): Use metadata to choose cycling.
22805 (completion-all-sorted-completions): Use metadata for sorting.
22806 Remove :completion-cycle-penalty which is not needed any more.
22807 (completion--try-word-completion): Add `metadata' argument.
22808 (minibuffer-completion-help): Check metadata for annotation function
22809 and sorting.
22810 (completion-file-name-table): Return `category' metadata.
22811 (minibuffer-completing-file-name): Make obsolete.
22812 * simple.el (minibuffer-completing-symbol): Make obsolete.
22813 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22814 completion-try-completion.
22815
22816 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22817
22818 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22819
22820 2011-05-30 Leo Liu <sdl.web@gmail.com>
22821
22822 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22823 (rcirc-print): Decode all incoming messages (bug#8744).
22824 (rcirc-decode-coding-system): Allow value nil for automatic coding
22825 system detection.
22826
22827 2011-06-01 Glenn Morris <rgm@gnu.org>
22828
22829 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22830
22831 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22832
22833 * image.el (image-animate-max-time): Allow nil and t values.
22834 Default to nil.
22835 (create-animated-image): Doc fix.
22836 (image-animate-start): Remove second arg; just use
22837 image-animate-max-time.
22838 (image-animate-timeout): Doc fix. Args changed.
22839
22840 * image-mode.el (image-toggle-display-image): Ensure that the
22841 image spec passed to the animate timer is the same object as in
22842 the buffer's display property (Bug#6981).
22843 (image-transform-properties): Doc fix.
22844
22845 * image.el (image-animate-max-time): Default to nil.
22846
22847 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22848
22849 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22850 entire buffer list (Bug#8184).
22851
22852 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22853
22854 * image.el (imagemagick-types-inhibit)
22855 (imagemagick-register-types): Doc fix.
22856
22857 2011-05-29 Deniz Dogan <deniz@dogan.se>
22858
22859 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22860 default.
22861
22862 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22863
22864 * select.el: Don't perform clipboard-manager saving in hooks;
22865 leave the hooks empty.
22866
22867 2011-05-28 Leo Liu <sdl.web@gmail.com>
22868
22869 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22870 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22871 (occur-edit-mode): New major mode (Bug#8463).
22872 (occur-after-change-function): New function.
22873 (occur-engine): Give Occur tags a read-only property.
22874
22875 2011-05-28 Kevin Ryde <user42@zip.com.au>
22876
22877 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22878
22879 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22880
22881 * bindings.el (help-echo): Make the initial non-indicator dash
22882 empty on graphical terminals (Bug#7295).
22883
22884 * files.el (auto-mode-alist): Move config rule after the
22885 in-stripping one (Bug#8547).
22886
22887 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22888
22889 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22890 setting (Bug#8740).
22891
22892 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22893
22894 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22895 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22896 (Bug#8539).
22897
22898 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22899
22900 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22901
22902 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22903
22904 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22905 (hs-hide-block-at-point, hs-find-block-beginning)
22906 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22907 (Bug#8279).
22908
22909 2011-05-28 Glenn Morris <rgm@gnu.org>
22910
22911 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22912
22913 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22914
22915 * help-fns.el (describe-function-1): If the function is a derived
22916 major mode, print the parent mode.
22917
22918 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22919 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22920
22921 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22922
22923 * minibuffer.el (completion--capf-wrapper): Check applicability before
22924 returning non-nil for non-exclusive completion data.
22925 * progmodes/etags.el (tags-completion-at-point-function):
22926 * info-look.el (info-lookup-completions-at-point): Mark as
22927 non-exclusive.
22928 (info-complete): Adjust accordingly.
22929
22930 * info-look.el: Convert to lexical-binding and completion-at-point.
22931 (info-lookup-completions-at-point): New function.
22932 (info-complete): Use it and completion-in-region.
22933
22934 2011-05-28 Drew Adams <drew.adams@oracle.com>
22935
22936 * isearch.el: Let M-e start with point at the first mismatched char.
22937 (isearch-fail-pos): New function.
22938 (isearch-edit-string): Use it.
22939
22940 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22941
22942 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22943
22944 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22945
22946 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22947 traversal functions for avl-trees.
22948 (avl-tree--stack): New struct.
22949 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
22950 (avl-tree-enter): Add optional `updatefun' arg.
22951 (avl-tree--do-enter): Add optional `updatefun' arg.
22952 Change return value.
22953 (avl-tree-delete): Add optional `test' and `nilflag' args.
22954 (avl-tree--do-delete): Add `test' and `nilflag' args.
22955 Change return value.
22956 (avl-tree-member): Add optional `nilflag'
22957 (avl-tree-member-p): New function.
22958 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
22959 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
22960 (avl-tree-stack-empty-p): New functions.
22961
22962 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
22963 avl-tree--del-balance1 and make it work both ways.
22964 (avl-tree--del-balance2): Remove.
22965 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
22966 make it work both ways.
22967 (avl-tree--enter-balance2): Remove.
22968 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
22969 New macros.
22970 (avl-tree--mapc, avl-tree-map): Add direction argument.
22971
22972 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
22973
22974 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
22975
22976 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
22977
22978 * select.el: Support clipboard managers with built-in function
22979 x-clipboard-manager-save, via delete-frame-functions and
22980 kill-emacs-hook.
22981 (xselect-convert-to-targets): Add MULTIPLE target to list.
22982 (xselect-convert-to-save-targets): New function.
22983
22984 2011-05-27 Kenichi Handa <handa@m17n.org>
22985
22986 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
22987 let-binding rfc2047-encode-encoded-words to nil.
22988
22989 2011-05-27 Glenn Morris <rgm@gnu.org>
22990
22991 * mail/emacsbug.el: Don't require url-util.
22992
22993 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
22994
22995 * files.el (set-auto-mode):
22996 Also respect mode: entries at the end of the file. (Bug#8586)
22997
22998 2011-05-26 Glenn Morris <rgm@gnu.org>
22999
23000 * files.el (hack-local-variables-prop-line, hack-local-variables):
23001 Downcase mode names, as seems to be traditional.
23002 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23003
23004 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23005 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23006
23007 2011-05-25 Julien Danjou <julien@danjou.info>
23008
23009 * textmodes/rst.el (rst-define-level-faces): Do not define face
23010 symbol if it is already defined.
23011
23012 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23013
23014 * play/5x5.el (5x5-new-game, 5x5-randomize):
23015 Reset 5x5-solver-output to nil when a new grid is cast.
23016 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23017 these debugging traces, as defmacro breaks the compiled code.
23018
23019 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23020
23021 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23022
23023 2011-05-24 Leo Liu <sdl.web@gmail.com>
23024
23025 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23026 (vc-bzr-sha1): Adapt.
23027
23028 * sha1.el: Remove. Function `sha1' is now builtin.
23029
23030 * bindings.el: Provide sha1 feature.
23031
23032 2011-05-24 Kenichi Handa <handa@m17n.org>
23033
23034 * mail/sendmail.el: Require `rfc2047'.
23035 (mail-insert-from-field): Do not perform RFC2047 encoding.
23036 (mail-encode-header): New function.
23037 (sendmail-send-it): Set buffer-file-coding-system of the work
23038 buffer to the return value of select-message-coding-system.
23039 Call mail-encode-header.
23040
23041 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23042
23043 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23044
23045 * mail/supercite.el (sc-default-cite-frame):
23046 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23047
23048 2011-05-24 Glenn Morris <rgm@gnu.org>
23049
23050 * progmodes/python.el (brm-menu): Declare.
23051
23052 * emulation/viper.el (viper-set-hooks): Declare.
23053
23054 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23055 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23056 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23057 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23058 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23059 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23060
23061 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23062
23063 Add an :exit-function for completion-at-point.
23064
23065 * minibuffer.el (completion--done): New fun.
23066 (completion--do-completion): Use it. New arg `expect-exact'.
23067 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23068 since completion--do-completion does it for us now.
23069 (minibuffer-force-complete): Use completion--done and
23070 completion--replace. Handle sole-completion case with more care.
23071 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23072 (completion-extra-properties): New var.
23073 (completion-annotate-function): Make obsolete.
23074 (minibuffer-completion-help): Adjust accordingly.
23075 Use completion-list-insert-choice-function.
23076 (completion-at-point, completion-help-at-point):
23077 Bind completion-extra-properties.
23078 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23079 * simple.el (completion-list-insert-choice-function): New var.
23080 (completion-setup-function): Preserve it.
23081 (choose-completion): Pay attention to it, shuffle the code a bit.
23082 (choose-completion-string): New arg `insert-function'.
23083
23084 * textmodes/bibtex.el: Convert to lexical binding.
23085 (bibtex-mode-map): Use completion-at-point.
23086 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23087 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23088 (bibtex-complete): Define as obsolete alias.
23089 (bibtex-complete-internal): Remove.
23090 (bibtex-format-entry): Remove unused sub-group in regexp.
23091 * shell.el (shell--command-completion-data)
23092 (shell-environment-variable-completion):
23093 * pcomplete.el (pcomplete-completions-at-point):
23094 * comint.el (comint--complete-file-name-data): Use :exit-function
23095 instead of completion-table-with-terminator so it also works for
23096 choose-completion.
23097
23098 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23099
23100 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23101
23102 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23103 (bug#8710).
23104
23105 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23106
23107 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23108
23109 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23110 customization variable and implement: If non-nil, auto-fill will
23111 be inhibited while on topic's header line.
23112
23113 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23114
23115 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23116 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23117 always have a solution in grid size = 5 cases.
23118 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23119 (5x5-solver-output, 5x5-log-buffer): New vars.
23120 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23121 Make these variables buffer local to achieve 5x5 multi-session-ness.
23122 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23123 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23124 (5x5-solve-suggest): New funs.
23125 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23126 randomize a grid so that we ensure that there is always a solution.
23127 (5x5-make-random-grid): Allow other movement than flipping.
23128
23129 2011-05-23 Kevin Ryde <user42@zip.com.au>
23130
23131 * emacs-lisp/advice.el (ad-read-advised-function):
23132 Use `function-called-at-point' as the default, if it has
23133 advice and passes PREDICATE.
23134
23135 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23136
23137 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23138 byte-compile-lambda if it's actually a lambda.
23139
23140 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23141 Fix function quoting. Use backquote better.
23142
23143 2011-05-22 Yuanle Song <sylecn@gmail.com>
23144
23145 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23146 matching (Bug#8516).
23147
23148 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23149
23150 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23151 different face (Bug#8178).
23152
23153 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23154
23155 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23156 defface (Bug#8144).
23157
23158 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23159
23160 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23161 funcall as well (bug#8712). Warn when performing those conversions.
23162 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23163
23164 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23165
23166 2011-05-22 Glenn Morris <rgm@gnu.org>
23167
23168 * files.el (hack-local-variables-prop-line): Small simplifications.
23169 (hack-local-variables, hack-local-variables-prop-line):
23170 If MODE-ONLY, return the mode, rather than just `t'.
23171
23172 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23173
23174 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23175
23176 2011-05-21 Glenn Morris <rgm@gnu.org>
23177
23178 * files.el (hack-local-variables-prop-line, hack-local-variables):
23179 If only interested in the mode, don't bother doing the other stuff.
23180
23181 * image-mode.el (image-after-revert-hook):
23182 Redraw all frames on which the image is visible. (Bug#8567)
23183
23184 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23185
23186 * wid-edit.el (widget-checklist-match-inline):
23187 Fix 2011-04-19 change. (Bug#8649)
23188
23189 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23190
23191 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23192 Also allow singlespace after single-letter capitals followed by a dot.
23193
23194 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23195 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23196
23197 2011-05-20 Nix <nix@esperi.org.uk>
23198
23199 * files.el (basic-save-buffer-2):
23200 Fix handling of break-hardlink-on-save with non-existent files.
23201
23202 2011-05-19 Deniz Dogan <deniz@dogan.se>
23203
23204 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23205 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23206
23207 2011-05-19 Glenn Morris <rgm@gnu.org>
23208
23209 * progmodes/f90.el (f90-type-def-re):
23210 Handle "type, bind(c)". (Bug#8691)
23211
23212 * emacs-lisp/autoload.el (batch-update-autoloads):
23213 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23214
23215 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23216
23217 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23218 property for the correct connection in case of multihops.
23219
23220 2011-05-18 Glenn Morris <rgm@gnu.org>
23221
23222 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23223 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23224
23225 Rationalize calendar handling of day and month abbrev-arrays.
23226 * calendar/calendar.el (calendar-customized-p): New function.
23227 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23228 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23229 Add :set function.
23230 (calendar-abbrev-length, calendar-day-abbrev-array)
23231 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23232 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23233 Elements may no longer be nil.
23234 (calendar-day-name, calendar-month-name):
23235 Update for changed nature of abbrev arrays.
23236 * calendar/diary-lib.el (diary-name-pattern):
23237 Update for changed nature of abbrev arrays.
23238 (diary-mark-entries-1): Update calendar-make-alist calls.
23239 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23240 * calendar/cal-html.el (cal-html-day-abbrev-array):
23241 Simply inherit from calendar-day-abbrev-array.
23242
23243 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23244
23245 * progmodes/grep.el (grep-mode): Disable default
23246 compilation-directory-matcher setting (bug#8684).
23247
23248 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23249
23250 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23251 instead of "head" and "tail". There were problems with SunOS 5.9,
23252 and it performs better.
23253
23254 2011-05-17 Glenn Morris <rgm@gnu.org>
23255
23256 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23257
23258 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23259 Replace obsolete function.
23260
23261 * shell.el (pcomplete-parse-arguments-function): Declare.
23262
23263 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23264 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23265 (appt-check): Doc fixes.
23266 (appt-disp-window-function, appt-delete-window-function):
23267 Remove needless special case in custom :type.
23268 (appt-display-count): Default to 0, not nil.
23269 (appt-check): Reset appt-display-count to 0, not nil.
23270
23271 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23272
23273 * progmodes/python.el (python-font-lock-keywords):
23274 Add the Python 3.X keyword "nonlocal" (bug#8639).
23275
23276 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23277
23278 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23279
23280 2011-05-16 Kevin Ryde <user42@zip.com.au>
23281
23282 * info-look.el (makefile-automake-mode): New setups, looking in
23283 automake manual, then makefile-mode.
23284 (makefile-mode): Remove automake manual, have it just in
23285 makefile-automake-mode since there's various things different or
23286 not relevant to plain make.
23287 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23288 believe a hypothetical automake-mode would go to makefile-mode,
23289 not the other way around.
23290
23291 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23292
23293 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23294 hunk-end tags (Bug#8672).
23295
23296 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23297 vc-annotate-show-diff-revision-at-line (Bug#8671).
23298
23299 2011-05-14 Glenn Morris <rgm@gnu.org>
23300
23301 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23302 in the middle of an existing one with multiple authors. (Bug#8645)
23303 (change-log-font-lock-keywords): Also handle multiple author lines
23304 with leading tabs. (Bug#8644)
23305
23306 * calendar/appt.el (appt-check): Rename some local variables.
23307 Some simplification/reordering.
23308
23309 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23310 (feedmail-sendmail-f-doesnt-sell-me-out)
23311 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23312 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23313 (feedmail-queue-runner-message-sender): Set :version.
23314 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23315 (bbdb-dwim-net-address, vm-mail): Declare.
23316 (feedmail-binmail-gnulinuxish-template):
23317 Rename from feedmail-binmail-linuxish-template.
23318 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23319 Use insert-buffer-substring.
23320
23321 2011-05-14 Bill Carpenter <bill@carpenter.org>
23322
23323 * mail/feedmail.el (feedmail-patch-level): Increase.
23324 (feedmail-debug): New custom group.
23325 (feedmail-confirm-outgoing-timeout)
23326 (feedmail-sendmail-f-doesnt-sell-me-out)
23327 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23328 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23329 (feedmail-sender-line, feedmail-from-line)
23330 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23331 (feedmail-spray-this-address)
23332 (feedmail-spray-address-fiddle-plex-list)
23333 (feedmail-queue-use-send-time-for-date)
23334 (feedmail-queue-use-send-time-for-message-id)
23335 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23336 (feedmail-buffer-eating-function):
23337 Doc fixes.
23338 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23339 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23340 (feedmail-message-action-scroll-down): New functions.
23341 (feedmail-queue-directory, feedmail-queue-draft-directory):
23342 Use expand-file-name.
23343 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23344 Remove C-v help entry.
23345 (feedmail-queue-buffer-file-name): New variable.
23346 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23347 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23348 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23349 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23350 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23351 (feedmail-message-action-toggle-spray)
23352 (feedmail-run-the-queue-no-prompts)
23353 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23354 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23355 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23356 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23357 (feedmail-envelope-deducer, feedmail-fiddle-from)
23358 (feedmail-fiddle-sender, feedmail-default-date-generator)
23359 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23360 (feedmail-fiddle-spray-address)
23361 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23362 (feedmail-fiddle-list-of-fiddle-plexes)
23363 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23364 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23365 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23366 Change default. Doc fix.
23367 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23368 (feedmail-binmail-linuxish-template): New constant.
23369 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23370 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23371 (feedmail-send-it): Add debug call.
23372 Use feedmail-queue-buffer-file-name, and
23373 feedmail-send-it-immediately-wrapper.
23374 (feedmail-message-action-send): Add debug call.
23375 Use feedmail-send-it-immediately-wrapper.
23376 (feedmail-queue-express-to-queue): Add debug call.
23377 Run feedmail-queue-express-hook.
23378 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23379 (feedmail-message-action-help-blat):
23380 Rename from feedmail-queue-send-edit-prompt-help-first.
23381 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23382 Check line-endings. Handle errors better.
23383 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23384 Doc fix. Add debug call.
23385 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23386 Use feedmail-queue-send-edit-prompt-inner.
23387 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23388 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23389 from feedmail-queue-send-edit-prompt.
23390 (feedmail-queue-send-edit-prompt-help)
23391 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23392 (feedmail-tidy-up-slug): Add debug call.
23393 Respect feedmail-queue-slug-suspect-regexp.
23394 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23395 (feedmail-dump-message-to-queue): Add debug call.
23396 Expand queue-directory.
23397 (feedmail-dump-message-to-queue): Change message slightly.
23398 Use feedmail-say-chatter.
23399 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23400 (feedmail-send-it-immediately-wrapper): New function.
23401 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23402 Insert empty string rather than newline. Handle full-frame case.
23403 Use catch/throw. Use feedmail-say-chatter.
23404 (feedmail-fiddle-from): Try mail-host-address.
23405 (feedmail-default-message-id-generator): Doc fix.
23406 Bind system-time-locale. Handle missing end.
23407 (feedmail-fiddle-x-mailer): Add debug call.
23408 Handle feedmail-x-mailer-line being nil.
23409 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23410 Add debug call. Use buffer-substring-no-properties.
23411 (feedmail-say-debug, feedmail-say-chatter): New functions.
23412 (feedmail-find-eoh): Give an explicit error.
23413
23414 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23415
23416 * net/newst-treeview.el (newsticker-treeview-face): Change default
23417 family from helvetica to sans.
23418 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23419 etc/images/newsticker.
23420
23421 * net/newst-reader.el (newsticker-feed-face): Change default
23422 family from helvetica to sans.
23423
23424 * net/newst-plainview.el (newsticker-new-item-face)
23425 (newsticker-old-item-face, newsticker-immortal-item-face)
23426 (newsticker-obsolete-item-face, newsticker-date-face)
23427 (newsticker-statistics-face): Change default family from
23428 helvetica to sans.
23429 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23430 etc/images/newsticker.
23431
23432 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23433 (newsticker--process-auto-mark-filter-match): Tell user about
23434 auto-marking.
23435
23436 2011-05-13 Didier Verna <didier@xemacs.org>
23437
23438 Common Lisp indentation improvements on defmethod and lambda-lists.
23439 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23440 TODO entries.
23441 (lisp-lambda-list-keyword-parameter-indentation)
23442 (lisp-lambda-list-keyword-parameter-alignment)
23443 (lisp-lambda-list-keyword-alignment): New customizable user options.
23444 (lisp-indent-defun-method): Improve docstring.
23445 (extended-loop-p): Fix comment.
23446 (lisp-indent-lambda-list-keywords-regexp): New variable.
23447 (lisp-indent-lambda-list): New function.
23448 (lisp-indent-259): Use it.
23449 (lisp-indent-defmethod): Support for more than one
23450 method qualifier and properly indent methods lambda-lists.
23451 (defgeneric): Provide a missing common-lisp-indent-function property.
23452
23453 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23454
23455 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23456 bounds for the empty string (bug#8667).
23457
23458 2011-05-13 Glenn Morris <rgm@gnu.org>
23459
23460 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23461
23462 * mail/sendmail.el (sendmail-program): Try executable-find first.
23463 (sendmail-send-it): `sendmail-program' cannot be unbound.
23464
23465 * calendar/appt.el (appt-make-list): Simplify.
23466 (appt-time-msg-list): Doc fix.
23467 (appt-check): Change mode-line message at the time of the appointment.
23468
23469 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23470
23471 * progmodes/ld-script.el (ld-script-keywords)
23472 (ld-script-builtins): Update keywords list.
23473
23474 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23475
23476 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23477
23478 * shell.el (shell-completion-vars): New function.
23479 (shell-mode):
23480 * simple.el (read-shell-command): Use it.
23481 (blink-matching-open): No need for " [...]" in minibuffer-message.
23482
23483 2011-05-12 Glenn Morris <rgm@gnu.org>
23484
23485 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23486 (appt-check): Simplify.
23487
23488 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23489
23490 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23491 literal "/dev/null".
23492
23493 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23494
23495 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23496 Fix typo.
23497
23498 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23499
23500 * progmodes/which-func.el (which-function):
23501 Use add-log-current-defun instead of add-log-current-defun-function,
23502 which might not be defined (Bug#8260).
23503
23504 2011-05-12 Glenn Morris <rgm@gnu.org>
23505
23506 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23507 Let byte-compile-initial-macro-environment always take precedence.
23508
23509 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23510
23511 * net/rcirc.el: Add support for SSL/TLS connections.
23512 (rcirc-server-alist): New field `encryption'.
23513 (rcirc): Check `encryption' settings.
23514 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23515 Merge make-local-variable into `set'.
23516 (rcirc--connection-open-p): New function.
23517 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23518 the process is not a network process (e.g. running gnutls-cli).
23519 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23520 Make rcirc-(en|de)code-coding-system local here.
23521 (rcirc-mode): Merge make-local-variable into `set'.
23522 (rcirc-parent-buffer): Make permanent buffer-local.
23523 (rcirc-multiline-minor-mode): Don't do it here.
23524 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23525 there's no server buffer.
23526
23527 2011-05-11 Glenn Morris <rgm@gnu.org>
23528
23529 * newcomment.el (comment-kill): Prefix "unused" local.
23530
23531 * term/w32console.el (get-screen-color): Declare.
23532
23533 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23534 Handle symbol elements of byte-compile-initial-macro-environment.
23535
23536 2011-05-10 Leo Liu <sdl.web@gmail.com>
23537
23538 * bookmark.el (bookmark-bmenu-mode-map):
23539 Bind bookmark-bmenu-search to `/'.
23540
23541 * mail/footnote.el: Convert to utf-8 encoding.
23542 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23543 (Footnote-unicode): New function.
23544 (footnote-style-alist): Add unicode style to the list.
23545 (footnote-style): Doc fix.
23546
23547 2011-05-10 Jim Meyering <meyering@redhat.com>
23548
23549 Fix doubled-word typos.
23550 * international/quail.el (quail-insert-kbd-layout): and and -> and
23551 * kermit.el: and and -> and
23552 * net/ldap.el (ldap-search-internal): to to -> to
23553 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23554 * progmodes/js.el (js-mode): and and -> and
23555 * textmodes/artist.el (artist-move-to-xy): at at -> at
23556 (artist-draw-region-trim-line-endings): if if -> if
23557 And Safetyc -> Safety.
23558 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23559
23560 2011-05-10 Glenn Morris <rgm@gnu.org>
23561 Stefan Monnier <monnier@iro.umontreal.ca>
23562
23563 * files.el (hack-one-local-variable-eval-safep):
23564 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23565
23566 2011-05-10 Glenn Morris <rgm@gnu.org>
23567
23568 * calendar/diary-lib.el (diary-list-entries-hook)
23569 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23570 (diary-nongregorian-marking-hook, diary-list-entries)
23571 (diary-include-other-diary-files, diary-mark-entries)
23572 (diary-mark-included-diary-files): Doc fixes.
23573
23574 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23575
23576 * misc.el: Require tabulated-list.el during compilation.
23577
23578 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23579
23580 * progmodes/compile.el (compilation-start):
23581 Run compilation-filter-hook for the async case too.
23582 (compilation-filter-hook): Doc fix.
23583
23584 2011-05-09 Deniz Dogan <deniz@dogan.se>
23585
23586 * wdired.el: Remove outdated installation comment. Fix usage
23587 comment.
23588
23589 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23590
23591 * misc.el: Implement new command `list-dynamic-libraries'.
23592 (list-dynamic-libraries--loaded-only-p): New variable.
23593 (list-dynamic-libraries--refresh): New function.
23594 (list-dynamic-libraries): New command.
23595
23596 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23597
23598 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23599 Fix the ant regexp to handle end-line and end-column info from jikes.
23600 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23601 higher priority to avoid clobbering by gnu.
23602
23603 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23604
23605 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23606 if the face has existing theme settings (Bug#8454).
23607
23608 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23609
23610 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23611 Only match variables declared via `my' or `our' (Bug#8261).
23612
23613 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23614 special file names `.' and `..' (Bug#8259).
23615
23616 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23617
23618 * progmodes/grep.el (grep-mode-font-lock-keywords):
23619 Remove buffer-changing entries.
23620 (grep-filter): New function.
23621 (grep-mode): Add it to compilation-filter-hook.
23622
23623 * progmodes/compile.el (compilation-filter-hook)
23624 (compilation-filter-start): New defvars.
23625 (compilation-filter): Call compilation-filter-hook prior to
23626 updating the process mark.
23627
23628 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23629
23630 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23631
23632 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23633
23634 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23635 mailclient-send-it even if window-system is nil. (Bug#8595)
23636
23637 * term/w32console.el (terminal-init-w32console):
23638 Call get-screen-color and use its output to set the frame
23639 background-mode. (Bug#8597)
23640
23641 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23642
23643 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23644 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23645 New functions.
23646 (defgeneric, eieio--defmethod): Use them.
23647 (eieio-defgeneric): Remove.
23648 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23649
23650 2011-05-07 Glenn Morris <rgm@gnu.org>
23651
23652 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23653 Use let rather than let*.
23654 (timeclock-find-discrep): Remove unused local.
23655
23656 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23657
23658 * calendar/appt.el (appt-time-msg-list): Doc fix.
23659
23660 2011-05-06 Noah Friedman <friedman@splode.com>
23661
23662 * apropos.el (apropos-print-doc): Only use
23663 emacs-lisp-docstring-fill-column when it is bound to an integer,
23664 per that variable's documentation.
23665
23666 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23667
23668 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23669 and warnings are not silently discarded (e.g. use -d instead of -P).
23670
23671 2011-05-06 Glenn Morris <rgm@gnu.org>
23672
23673 * calendar/appt.el (appt-message-warning-time): Doc fix.
23674 (appt-warning-time-regexp): New option.
23675 (appt-make-list): Respect appt-message-warning-time.
23676
23677 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23678 New options.
23679 (diary-add-to-list): Strip comments from the displayed string.
23680 (diary-mode): Set comment-start and comment-end.
23681
23682 * vc/diff-mode.el (smerge-refine-subst): Declare.
23683 (diff-refine-hunk): Don't require smerge-mode when compiling.
23684
23685 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23686
23687 * simple.el (list-processes): Return nil as the docstring says.
23688
23689 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23690
23691 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23692 to "".
23693 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23694 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23695 determining of binary transfer. (Bug#7383)
23696
23697 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23698
23699 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23700 Fix port computation bug. (Bug#8618)
23701
23702 2011-05-05 Glenn Morris <rgm@gnu.org>
23703
23704 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23705
23706 * simple.el (shell-dynamic-complete-functions)
23707 (comint-dynamic-complete-functions): Declare.
23708
23709 * net/network-stream.el (gnutls-negotiate):
23710 * simple.el (tabulated-list-print): Fix declarations.
23711
23712 * progmodes/gud.el (syntax-symbol, syntax-point):
23713 Remove unnecessary and incorrect declarations.
23714
23715 * emacs-lisp/check-declare.el (check-declare-scan):
23716 Handle byte-compile-initial-macro-environment in bytecomp.el.
23717
23718 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23719
23720 Fix earlier half-done eieio-defmethod change (bug#8338).
23721 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23722 Streamline and change calling convention.
23723 (defmethod): Adjust accordingly and simplify.
23724 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23725 new eieio--defmethod.
23726 (slot-boundp): Minor CSE simplification.
23727
23728 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23729
23730 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23731 (glasses-make-readable): Use glasses-separate-capital-groups.
23732
23733 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23734
23735 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23736 (warning-series): Doc fix.
23737 (display-warning): Don't try to create the buffer if we just found it.
23738
23739 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23740
23741 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23742 (autoload-find-generated-file): New function.
23743 (generate-file-autoloads): Bind generated-autoload-file to
23744 buffer-file-name.
23745 (update-file-autoloads, update-directory-autoloads):
23746 Use autoload-find-generated-file. If called interactively, prompt for
23747 output file (Bug#7989).
23748 (batch-update-autoloads): Doc fix.
23749
23750 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23751
23752 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23753
23754 2011-05-04 Glenn Morris <rgm@gnu.org>
23755
23756 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23757 function, so it follows changes in calendar-date-style.
23758 (diary-fancy-date-matcher): New function.
23759 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23760 (diary-fancy-font-lock-fontify-region-function):
23761 Use diary-fancy-date-pattern as a function.
23762
23763 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23764 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23765
23766 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23767
23768 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23769 instead of positional arguments. Allow :keylist and :crlfiles
23770 arguments.
23771 (open-gnutls-stream): Call it.
23772
23773 * net/network-stream.el (network-stream-open-starttls): Adjust to
23774 call `gnutls-negotiate' with :process and :hostname arguments.
23775
23776 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23777
23778 * minibuffer.el (completion--message): New function.
23779 (completion--do-completion, minibuffer-complete)
23780 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23781 (completion--do-completion): Don't ignore completion-auto-help when in
23782 icomplete-mode.
23783
23784 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23785 internal encoding (e.g. tibetan zero is not whitespace).
23786 (global-whitespace-mode): Prefer save-current-buffer.
23787 (whitespace-trailing-regexp): Remove useless save-match-data.
23788 (whitespace-empty-at-bob-regexp): Minor simplification.
23789
23790 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23791
23792 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23793
23794 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23795
23796 * textmodes/ispell.el (ispell-add-per-file-word-list):
23797 Use `concat' to create string for insertion.
23798
23799 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23800
23801 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23802 Avoid open-line which runs post-self-insert-hook.
23803 (bibtex-fill-entry): Remove unused `end' var.
23804
23805 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23806
23807 * textmodes/ispell.el (ispell-add-per-file-word-list):
23808 Protect against `nil' value of `comment-start' (Bug#8579).
23809
23810 2011-05-03 Leo Liu <sdl.web@gmail.com>
23811
23812 * isearch.el (isearch-yank-pop): New command.
23813 (isearch-mode-map): Bind it to `M-y'.
23814 (isearch-forward): Mention it.
23815
23816 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23817
23818 * simple.el (minibuffer-complete-shell-command): Remove.
23819 (minibuffer-local-shell-command-map): Use completion-at-point.
23820 (read-shell-command): Setup completion vars here instead.
23821 (read-expression-map): Bind TAB to symbol completion.
23822
23823 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23824 error directly rather via storing it into `results'.
23825
23826 2011-05-02 Leo Liu <sdl.web@gmail.com>
23827
23828 * vc/diff.el: Fix description.
23829
23830 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23831
23832 * server.el (server-eval-at): New function.
23833
23834 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23835
23836 * net/network-stream.el (open-network-stream): Take a :nowait
23837 parameter and pass it on to `make-network-process'.
23838 (network-stream-open-plain): Ditto.
23839
23840 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23841
23842 * faces.el (face-spec-set-match-display): Don't match toolkit
23843 options on terminal frames.
23844
23845 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23846
23847 * progmodes/pascal.el: Use lexical binding.
23848 (pascal-mode-map): Remove author preferences.
23849
23850 * pcomplete.el (pcomplete-std-complete): Don't abuse
23851 completion-at-point.
23852
23853 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23854
23855 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23856 removing code that has been dead since 1991 or so.
23857
23858 * startup.el (command-line): When warning about "_emacs", use a
23859 delayed warning to allow the user to filter it out.
23860
23861 2011-04-28 Deniz Dogan <deniz@dogan.se>
23862
23863 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23864 user has not joined.
23865
23866 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23867
23868 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23869 aren't any completions at point.
23870
23871 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23872
23873 * subr.el (display-delayed-warnings): New function.
23874 (delayed-warnings-hook): New variable.
23875
23876 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23877
23878 * minibuffer.el (completion-at-point, completion-help-at-point):
23879 Don't presume that a given completion-at-point-function will always
23880 use the same calling convention.
23881
23882 * pcomplete.el (pcomplete-completions-at-point):
23883 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23884 pcomplete-seen is non-nil.
23885 (pcomplete-comint-setup): Also recognize the new comint/shell
23886 completion functions.
23887 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23888 pcomplete-seen is non-nil.
23889
23890 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23891
23892 * calendar/icalendar.el (diary-lib): Add require statement.
23893 (icalendar--create-uid): Read out a uid from a text-property on
23894 the first character in the entry. This allows for code to add its
23895 own uid to the entry.
23896 (icalendar--convert-float-to-ical): Add export of
23897 `diary-float'-entries save for those with the optional DAY
23898 argument.
23899
23900 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23901
23902 * subr.el (shell-quote-argument): Use alternate escaping strategy
23903 when we spot a variable reference in a string.
23904
23905 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23906
23907 * cus-start.el (all): Define customization for debug-on-event.
23908
23909 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23910
23911 * subr.el (shell-quote-argument): Escape correctly under Windows.
23912
23913 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23914
23915 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23916
23917 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23918
23919 * net/tramp.el (tramp-process-actions): Add POS argument.
23920 Delete region between POS and (pos).
23921
23922 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23923 Use `nil' position in `tramp-process-actions' call.
23924 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23925
23926 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23927 position in `tramp-process-actions' call.
23928
23929 * net/trampver.el: Update release number.
23930
23931 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23932
23933 * custom.el (defcustom): Obey lexical-binding.
23934
23935 Fix octave-inf completion problems reported by Alexander Klimov.
23936 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23937 Inherit from octave-mode-syntax-table.
23938 (inferior-octave-mode): Set info-lookup-mode.
23939 (inferior-octave-completion-at-point): New function.
23940 (inferior-octave-complete): Use it and completion-in-region.
23941 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23942 comint-filename-completion.
23943 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23944 symbol elements which shouldn't be word elements.
23945 (octave-font-lock-keywords, octave-beginning-of-defun)
23946 (octave-function-header-regexp): Adjust regexps accordingly.
23947 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23948
23949 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
23950
23951 * net/gnutls.el (gnutls-errorp): Declare before first use.
23952
23953 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
23954
23955 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
23956 verify-error, and verify-hostname-error parameters. Check whether
23957 default trustfile exists before going to use it. Add missing
23958 argument to gnutls-message-maybe call. Return value.
23959 Reported by Claudio Bley <claudio.bley@gmail.com>.
23960 (open-gnutls-stream): Add usage example.
23961
23962 * net/network-stream.el (network-stream-open-starttls): Give host
23963 parameter to `gnutls-negotiate'.
23964 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
23965 * subr.el (shell-quote-argument): Escape correctly under Windows.
23966
23967 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
23968
23969 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
23970 Use correct match group (bug#8438).
23971
23972 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23973
23974 * emacs-lisp/package.el (package-built-in-p): Fix typo.
23975 (package-menu--generate): New arg specifying packages to show.
23976 (package-menu-refresh, package-menu-execute, list-packages):
23977 Callers changed.
23978 (package-show-package-list): New function, replacing deleted
23979 package--list-packages (renamed because it is non-internal).
23980
23981 * finder.el (finder-list-matches): Use package-show-package-list
23982 instead of deleted package--list-packages.
23983
23984 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
23985 Based on a previous implementation by Juanma Barranquero (Bug#8366).
23986 (vc-annotate-mode-map): Bind it to RET.
23987
23988 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
23989
23990 * progmodes/etags.el (next-file): Don't use set-buffer to change
23991 buffers (Bug#8478).
23992
23993 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
23994
23995 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
23996
23997 * apropos.el (apropos-label-face): Avoid variable-pitch face.
23998 (apropos-accumulator): Doc fix.
23999 (apropos-function, apropos-macro, apropos-command)
24000 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24001 (apropos-plist): Add face property.
24002 (apropos-symbols-internal): Fix indentation.
24003 (apropos-print): Simplify help, and recognize apropos-multi-type.
24004 (apropos-print-doc): Use button-type-get to extract the button's
24005 face property. Fill docstring (Bug#8352).
24006
24007 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24008
24009 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24010
24011 * play/mpuz.el (mpuz-silent): Doc fix.
24012 (mpuz-mode-map): Use mapc.
24013 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24014 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24015 Fix typos in docstrings.
24016
24017 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24018 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24019
24020 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24021
24022 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24023
24024 * minibuffer.el (completion--do-completion): Avoid the "Next char
24025 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24026
24027 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24028 mouse-2 into unread-command-events, it is interpreted correctly.
24029
24030 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24031 (image-toggle-display): Doc fix.
24032
24033 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24034
24035 * textmodes/page.el (what-page): Use line-number-at-pos to
24036 calculate line number (Bug#6825).
24037
24038 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24039
24040 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24041 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24042 Pass argument NO-DEFAULT to `find-tag-interactive'.
24043
24044 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24045
24046 Lexical-binding cleanup.
24047
24048 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24049 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24050 * progmodes/ada-prj.el (ada-prj-initialize-values)
24051 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24052 (ada-prj-show-value):
24053 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24054 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24055 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24056 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24057 * progmodes/bug-reference.el (bug-reference-push-button):
24058 * progmodes/fortran.el (fortran-line-length):
24059 * progmodes/glasses.el (glasses-change):
24060 * progmodes/octave-mod.el (octave-fill-paragraph):
24061 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24062 (python-pdbtrack-grub-for-buffer, python-sentinel):
24063 * progmodes/sql.el (sql-save-connection):
24064 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24065 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24066 Mark unused parameters.
24067
24068 * progmodes/compile.el (compilation--flush-directory-cache)
24069 (compilation--flush-parse, compile-internal): Mark unused parameters.
24070 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24071 (compilation-next-error-function): Remove unused variable `timestamp'.
24072
24073 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24074 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24075
24076 * progmodes/dcl-mode.el (dcl-end-of-command):
24077 Remove unused variable `start'.
24078 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24079 (dcl-option-value-basic, dcl-option-value-offset)
24080 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24081 Mark unused parameters.
24082 (dcl-save-local-variable): Remove unused variable `val'.
24083 (mode): Declare.
24084
24085 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24086 Mark unused parameters.
24087 (delphi-ignore-changes): Move before first use.
24088 (delphi-charset-token-at): Remove unused variable `start'.
24089 (delphi-else-start): Remove unused variable `if-count'.
24090 (delphi-comment-block-start, delphi-comment-block-end):
24091 Remove unused variable `kind'.
24092 (delphi-indent-line): Remove unused variable `new-point'.
24093
24094 * progmodes/ebrowse.el (ebrowse-files-list)
24095 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24096 Mark unused parameters. Don't quote `lambda'.
24097 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24098 Don't quote `lambda'.
24099 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24100 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24101 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24102 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24103 Use `ignore-errors'.
24104 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24105 (ebrowse-view/find-file-and-search-pattern)
24106 (ebrowse-view/find-member-declaration/definition):
24107 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24108 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24109 Rename parameter PREFIX-ARG to PREFIX.
24110 (ebrowse-tags-read-name): Remove unused variables `start' and
24111 `member-info'.
24112 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24113 to `tags-file'.
24114
24115 * progmodes/etags.el (local-find-tag-hook): Declare.
24116 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24117 Mark unused parameters.
24118
24119 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24120 (executable-interpret): Mark unused parameter.
24121
24122 * progmodes/flymake.el (flymake-process-sentinel)
24123 (flymake-after-change-function)
24124 (flymake-create-temp-with-folder-structure)
24125 (flymake-get-include-dirs-dot): Mark unused parameters.
24126 (flymake-safe-delete-directory): Remove unused variable `err'.
24127
24128 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24129 (speedbar-timer-fn, speedbar-line-text)
24130 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24131 (speedbar-center-buffer-smartly): Declare functions.
24132 (gdb-find-watch-expression): Remove unused variable `array'.
24133 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24134 (gdb-starting): Mark unused parameters.
24135 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24136 (gdb-table-string): Remove unused variable `res'.
24137 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24138 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24139 (gdb-display-buffer): Remove unused variable `cur-size'.
24140
24141 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24142 allow lexical-binding compilation.
24143 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24144 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24145 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24146 Mark unused parameters.
24147 (gud-gdb-marker-filter): Remove unused variable `match'.
24148 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24149 lambda expressions and funcall them, instead of using `fset'.
24150
24151 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24152 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24153
24154 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24155 variable `header-beg'; use `let'.
24156
24157 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24158 `restart', `last-sexp' and `at-do'.
24159
24160 * progmodes/js.el (js--debug): Mark unused parameter.
24161 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24162 (js--splice-into-items): Remove unused variable `item'.
24163 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24164
24165 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24166 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24167 (makefile-complete): Remove unused variable `try'.
24168 (makefile-fill-paragraph, makefile-match-function-end):
24169 Mark unused parameters.
24170
24171 * progmodes/octave-inf.el (inferior-octave-complete):
24172 Remove unused variable `proc'.
24173 (inferior-octave-output-digest): Mark unused parameter.
24174
24175 * progmodes/perl-mode.el (perl-calculate-indent):
24176 Remove unused variable `err'.
24177
24178 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24179 (prolog-indent-line): Mark unused parameters.
24180 (prolog-indent-line): Remove unused variable `beg'.
24181
24182 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24183 (reporter-dont-compact-list): Declare.
24184
24185 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24186 Remove unused variable `char'.
24187 (sh-debug): Mark unused parameter.
24188 (sh-get-indent-info): Remove unused variable `start'.
24189 (sh-calculate-indent): Remove unused variable `var'.
24190
24191 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24192 (simula-electric-keyword): Remove unused variable `null'.
24193 (simula-search-backward, simula-search-forward): Remove unused
24194 variables `begin' and `end'.
24195
24196 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24197 Remove unused variable `pos'.
24198 (vera-electric-tab, vera-comment-uncomment-region):
24199 Mark unused parameters.
24200 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24201
24202 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24203
24204 * emacs-lisp/package.el (package--builtins, package-alist)
24205 (package-load-descriptor, package-built-in-p, package-activate)
24206 (define-package, package-installed-p)
24207 (package-compute-transaction, package-buffer-info)
24208 (package--push): Doc fix. Distinguish more clearly between
24209 version strings and version lists.
24210
24211 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24212
24213 Lexical-binding cleanup.
24214
24215 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24216 (5x5-make-mutate-best):
24217 * play/fortune.el (fortune-in-buffer):
24218 * play/gomoku.el (gomoku-init-display):
24219 * play/solitaire.el (solitaire, solitaire-do-check):
24220 * play/tetris.el (tetris-default-update-speed-function):
24221 Mark unused parameters.
24222
24223 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24224 (bubbles--shift): Remove unused variable `char-org'.
24225 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24226 (bubbles--show-images): Remove unused variable `char'.
24227
24228 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24229 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24230 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24231 (decipher-analyze-buffer): Use ?\s.
24232 (decipher-make-checkpoint): Remove unused variable `mapping'.
24233
24234 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24235
24236 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24237 Remove unused variable `result'; use `let'.
24238
24239 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24240 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24241 (gametree-children-shown-p, gametree-compute-reduced-score):
24242 Use `ignore-errors'.
24243
24244 * play/handwrite.el (ps-lpr-switches): Declare.
24245 (handwrite): Remove unused variables `pmin' and `lastp'.
24246
24247 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24248
24249 * play/landmark.el (landmark-init-display)
24250 (landmark-update-naught-weights): Mark unused parameters.
24251 (landmark-y): Remove unused variable `noise'. Simplify.
24252 (landmark-human-plays): Remove unused variable `score'.
24253
24254 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24255 (mpuz-try-proposal): Remove unused variable `game'.
24256
24257 * play/zone.el (life-patterns): Declare.
24258
24259 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24260
24261 * vc/vc.el (ediff-vc-internal): Declare function.
24262
24263 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24264
24265 * shell.el: Use lexical-binding and std completion UI.
24266 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24267 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24268 comint-preoutput-filter-functions rather than on
24269 comint-output-filter-functions.
24270 (shell-command-completion, shell--command-completion-data)
24271 (shell-filename-completion, shell-environment-variable-completion)
24272 (shell-c-a-p-replace-by-expanded-directory): New functions.
24273 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24274 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24275 (shell-dynamic-complete-environment-variable): Use them.
24276 (shell-dynamic-complete-as-environment-variable)
24277 (shell-dynamic-complete-as-command): Remove.
24278 (shell-match-partial-variable): Match past point.
24279 * comint.el: Clean up use of completion-at-point-functions.
24280 (comint-completion-at-point): New function.
24281 (comint-mode): Use it completion-at-point-functions.
24282 (comint-dynamic-complete): Make it obsolete.
24283 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24284 (comint-c-a-p-replace-by-expanded-history): New function.
24285 (comint-dynamic-complete-functions)
24286 (comint-replace-by-expanded-history): Use it.
24287 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24288 termination strings. Try harder to avoid second try-completion.
24289 (completion-in-region-mode-map): Disable bindings that don't work yet.
24290
24291 * comint.el: Use lexical-binding. Require CL.
24292 (comint-dynamic-complete-functions): Use comint-filename-completion.
24293 (comint-completion-addsuffix): Tweak custom type.
24294 (comint-filename-completion, comint--common-suffix)
24295 (comint--common-quoted-suffix, comint--table-subvert)
24296 (comint--complete-file-name-data): New functions.
24297 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24298 (comint-dynamic-list-filename-completions): Use them.
24299 (comint-dynamic-simple-complete): Make obsolete.
24300
24301 * minibuffer.el (completion-in-region-mode):
24302 Keep completion-in-region-mode--predicate global.
24303 (completion-in-region--postch):
24304 Assume completion-in-region-mode--predicate is not null.
24305
24306 * progmodes/flymake.el (flymake-start-syntax-check-process):
24307 Obey `dir'. Simplify.
24308
24309 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24310 we're in VC after all.
24311
24312 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24313
24314 * vc/vc.el (vc-diff-build-argument-list-internal)
24315 (vc-version-ediff, vc-ediff): New commands.
24316 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24317
24318 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24319
24320 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24321 add sanity check.
24322
24323 * obsolete/erc-hecomplete.el: Make obsolete.
24324 * obsolete/: Standardize obsolescence info in the header.
24325
24326 2011-04-20 Glenn Morris <rgm@gnu.org>
24327
24328 * calendar/solar.el (solar-horizontal-coordinates):
24329 Use the longitude argument rather than `calendar-longitude'.
24330 (solar-date-next-longitude): Remove unused locals.
24331
24332 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24333
24334 * whitespace.el: New version 13.2.1.
24335
24336 2011-04-20 felix <EmacsWiki> (tiny change)
24337
24338 * whitespace.el (global-whitespace-mode): Keep highlight when
24339 switching between major modes on a file.
24340
24341 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24342
24343 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24344 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24345 multi-line comments as well.
24346
24347 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24348
24349 Lexical-binding cleanup.
24350
24351 * arc-mode.el (archive-mode-revert):
24352 * cmuscheme.el (scheme-interactively-start-process):
24353 * custom.el (custom-initialize-delay):
24354 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24355 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24356 * emacs-lock.el (emacs-lock-clear-sentinel):
24357 * ezimage.el (defezimage):
24358 * follow.el (follow-avoid-tail-recenter):
24359 * fringe.el (set-fringe-mode-1):
24360 * generic-x.el (bat-generic-mode-compile):
24361 * help-mode.el (help-info-variable, help-do-xref)
24362 (help-mode-revert-buffer):
24363 * help.el (view-emacs-todo):
24364 * iswitchb.el (iswitchb-completion-help):
24365 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24366 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24367 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24368 * locate.el (locate-update):
24369 * longlines.el (longlines-encode-region)
24370 (longlines-after-change-function):
24371 * outline.el (outline-isearch-open-invisible):
24372 * ps-def.el (declare-function, charset-dimension, char-width)
24373 (encode-char):
24374 * ps-mule.el (ps-mule-plot-string):
24375 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24376 (recentf-edit-list-select, recentf-edit-list-validate)
24377 (recentf-open-files-action):
24378 * rect.el (delete-whitespace-rectangle-line)
24379 (rectangle-number-line-callback):
24380 * register.el (window-configuration-to-register)
24381 (frame-configuration-to-register):
24382 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24383 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24384 (xselect-convert-to-targets, xselect-convert-to-delete)
24385 (xselect-convert-to-filename, xselect-convert-to-charpos)
24386 (xselect-convert-to-lineno, xselect-convert-to-colno)
24387 (xselect-convert-to-os, xselect-convert-to-host)
24388 (xselect-convert-to-user, xselect-convert-to-class)
24389 (xselect-convert-to-name, xselect-convert-to-integer)
24390 (xselect-convert-to-atom, xselect-convert-to-identity):
24391 * subr.el (declare, ignore, process-kill-without-query)
24392 (text-clone-maintain):
24393 * terminal.el (te-get-char, te-tic-sentinel):
24394 * tool-bar.el (tool-bar-make-keymap):
24395 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24396 * type-break.el (type-break-mode, type-break-noninteractive-query):
24397 * view.el (View-back-to-mark):
24398 * wid-browse.el (widget-browse-action, widget-browse-widget)
24399 (widget-browse-widgets, widget-browse-sexp):
24400 * widget.el (define-widget-keywords):
24401 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24402 Mark unused parameters.
24403
24404 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24405 (align-areas): Remove unused variable `look'.
24406 (align-region): Remove unused variables `real-end' and `pos-list'.
24407
24408 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24409
24410 * bindings.el (mode-line-modified, mode-line-remote):
24411 Mark unused parameters.
24412 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24413
24414 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24415 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24416
24417 * comint.el (comint-history-isearch-pop-state)
24418 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24419 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24420 (comint-substitute-in-file-name): Doc fix.
24421
24422 * completion.el (cmpl-statistics-block): Mark unused parameter.
24423 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24424 (save-completions-to-file, load-completions-from-file):
24425 Remove unused local variable `e'.
24426
24427 * composite.el (compose-chars): Remove unused variable `len'.
24428 (lgstring-insert-glyph): Remove unused variable `g'.
24429 (compose-glyph-string): Remove unused variables `ascent',
24430 `descent', `lbearing' and `rbearing'.
24431 (compose-glyph-string-relative): Remove unused variables
24432 `lbearing', `rbearing' and `wadjust'.
24433 (compose-gstring-for-graphic): Remove unused variables `header',
24434 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24435 (compose-gstring-for-terminal): Remove unused variables `header'
24436 and `nchars'. Use `let', not `let*'.
24437
24438 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24439 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24440 (Custom-buffer-done, custom-buffer-create-internal)
24441 (custom-browse-visibility-action, custom-browse-group-tag-action)
24442 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24443 (widget-magic-mouse-down-action, custom-toggle-parent)
24444 (custom-add-parent-links, custom-toggle-hide-variable)
24445 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24446 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24447 (custom-face-menu-create, custom-variable-menu-create, get)
24448 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24449 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24450 (customize-apropos): Remove unused variable `tests'.
24451 (custom-group-value-create): Remove unused variable `hidden-p'.
24452 (sort-fold-case): Declare.
24453
24454 * cus-theme.el (custom-reset-standard-faces-list)
24455 (custom-reset-standard-variables-list): Declare.
24456 (customize-create-theme, custom-theme-revert, custom-theme-write)
24457 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24458 Mark unused parameters.
24459
24460 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24461
24462 * delim-col.el (delimit-columns-max): Move defvar before first use.
24463
24464 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24465 (describe-char): Don't quote `lambda'. Mark unused parameter.
24466
24467 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24468 (auto-insert): Declare.
24469 (desktop-restore-file-buffer): Rename desktop-* parameters;
24470 mark unused ones.
24471 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24472 (desktop-buffer): Rename desktop-* parameters.
24473
24474 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24475 (dframe-reposition-frame-xemacs, dframe-help-echo)
24476 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24477 Mark unused parameters.
24478
24479 * dired-aux.el (backup-extract-version-start, overwrite-query)
24480 (overwrite-backup-query, rename-regexp-query)
24481 (rename-non-directory-query): Declare.
24482 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24483 (dired-add-entry): Remove unused variable `orig-file-name'.
24484 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24485 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24486 `dired-copy-preserve-time' directly.
24487 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24488 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24489
24490 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24491 (dired-virtual-revert, dired-make-relative-symlink):
24492 Mark unused parameters.
24493 (manual-program): Declare.
24494 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24495 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24496 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24497
24498 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24499
24500 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24501
24502 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24503 Declare.
24504
24505 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24506
24507 * electric.el (Electric-command-loop): Rename parameter
24508 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24509
24510 * expand.el (expand-in-literal): Remove unused variable `here'.
24511
24512 * facemenu.el (facemenu-add-new-color):
24513 Remove unused variable `docstring'.
24514
24515 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24516 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24517 (face-attr-construct): Mark unused parameter. Doc fix.
24518 (read-color): Remove unused variable `hex-string'.
24519
24520 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24521 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24522 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24523 (display-buffer-other-frame): Remove unused variable `old-window'.
24524 (kill-buffer-hook): Declare.
24525 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24526 Mark unused parameters.
24527 (after-find-file): Pass 1 to `auto-save-mode', not t.
24528
24529 * files-x.el (auto-insert): Declare.
24530 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24531
24532 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24533 variable `buf'. Mark unused parameter.
24534 (find-lisp-insert-directory): Mark unused parameter.
24535
24536 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24537 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24538 (format-common-tail): Remove, unused.
24539 (format-deannotate-region): Remove unused variable `loc'.
24540 (format-annotate-region): Remove unused variable `p'.
24541 (format-annotate-single-property-change): Remove unused variables
24542 `default' and `tail'.
24543
24544 * forms.el (read-file-filter): Declare.
24545 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24546
24547 * frame.el (frame-creation-function-alist): Mark unused parameter.
24548 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24549
24550 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24551 Remove unused parameters.
24552 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24553 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24554
24555 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24556 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24557 (hfy-prepare-tag-map): Mark unused parameters.
24558 (htmlfontify-buffer): Use `called-interactively-p'.
24559
24560 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24561 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24562 (ibuffer-do-occur): Mark unused parameters.
24563 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24564 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24565
24566 * ibuffer.el: Don't quote `lambda'.
24567 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24568 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24569 Mark unused parameters.
24570
24571 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24572 (ido-completing-read): Mark unused parameters.
24573 (ido-copy-current-word): Mark unused parameters;
24574 remove unused variable `name'.
24575 (ido-sort-merged-list): Remove unused parameter `dirs'.
24576
24577 * ielm.el (ielm-input-sender): Mark unused parameter.
24578 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24579 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24580 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24581 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24582 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24583
24584 * image-dired.el (image-dired-display-thumbs): Remove unused
24585 variables `curr-file' and `count'.
24586 (image-dired-remove-tag): Remove unused variable `start'.
24587 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24588 variable `curr-file'
24589 (image-dired-rotate-original): Remove unused variable `temp-file'.
24590 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24591 Remove unused variable `file'.
24592 (image-dired-gallery-generate): Remove unused variable `curr'.
24593 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24594
24595 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24596
24597 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24598
24599 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24600
24601 * isearch.el (minibuffer-history-symbol): Declare.
24602 (isearch-edit-string): Remove unused variable `err'.
24603 (isearch-message-prefix, isearch-message-suffix):
24604 Mark unused parameters.
24605
24606 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24607
24608 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24609
24610 * makesum.el (double-column): Remove unused variable `cnt'.
24611
24612 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24613 (ido-ignore-item-temp-list): Declare.
24614
24615 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24616 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24617 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24618 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24619 `mouse-col-delta'.
24620
24621 * mouse-sel.el (mouse-extend-internal):
24622 Remove unused variable `orig-window-frame'.
24623
24624 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24625 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24626 Move declarations before first use.
24627 (pcomplete-opt): Mark unused parameters; doc fix.
24628
24629 * proced.el (proced-revert): Mark unused parameter.
24630 (proced-send-signal): Remove unused variable `err'.
24631
24632 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24633 Rename parameter PREFIX-ARG to ARG.
24634 (ps-basic-plot-string, ps-basic-plot-whitespace):
24635 Mark unused parameters.
24636
24637 * replace.el (replace-count): Define.
24638 (occur-revert-function): Mark unused parameters.
24639 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24640 (isearch-case-fold-search, isearch-string): Declare.
24641 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24642 bind `case-fold-search'. Remove unused variables `beg' and `end',
24643 and simplify.
24644 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24645 COUNT and bind `replace-count'.
24646 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24647 to COUNT.
24648
24649 * savehist.el (print-readably, print-string-length): Declare.
24650
24651 * shadowfile.el (shadow-expand-cluster-in-file-name):
24652 Remove unused variable `cluster'.
24653 (shadow-copy-file): Remove unused variable `i'.
24654 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24655 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24656 (shadow-define-literal-group, shadow-define-regexp-group)
24657 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24658
24659 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24660 (shell): Use `called-interactively-p'.
24661 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24662
24663 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24664 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24665 (delete-backward-char): Remove unused variable `ocol'.
24666 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24667 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24668 (event-apply-hyper-modifier, event-apply-shift-modifier)
24669 (event-apply-control-modifier, event-apply-meta-modifier):
24670 Mark unused parameters.
24671 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24672 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24673
24674 * speedbar.el (speedbar-ignored-directory-expressions)
24675 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24676 (speedbar-find-file, speedbar-dir-follow)
24677 (speedbar-directory-buttons-follow, speedbar-tag-find)
24678 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24679 (speedbar-buffers-line-directory, speedbar-buffer-click):
24680 Mark unused parameters.
24681 (speedbar-tag-file): Remove unused variable `mode'.
24682 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24683
24684 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24685
24686 * talk.el (talk): Remove unused variable `display'.
24687
24688 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24689 (tar-write-region-annotate): Mark unused parameter.
24690
24691 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24692 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24693 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24694 warning by another.
24695
24696 * time-stamp.el (time-stamp-string-preprocess):
24697 Remove unused variable `require-padding'.
24698
24699 * tree-widget.el (widget-glyph-enable): Declare.
24700 (tree-widget-action): Mark unused parameter.
24701
24702 * w32-fns.el (x-get-selection): Mark unused parameter.
24703 (autoload-make-program, generated-autoload-file): Declare.
24704
24705 * wdired.el (wdired-revert): Mark unused parameters.
24706 (wdired-xcase-word): Remove unused variable `err'.
24707
24708 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24709 (whitespace-help-scroll): Remove unused variable `data-help'.
24710
24711 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24712 (widget-image-insert, widget-after-change, default)
24713 (widget-default-format-handler, widget-default-notify)
24714 (widget-default-prompt-value, widget-info-link-action)
24715 (widget-url-link-action, widget-function-link-action)
24716 (widget-variable-link-action, widget-file-link-action)
24717 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24718 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24719 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24720 (widget-insert-button-action, widget-delete-button-action, visibility)
24721 (widget-documentation-link-action, widget-documentation-string-action)
24722 (widget-const-prompt-value, widget-regexp-match, symbol)
24723 (widget-coding-system-prompt-value)
24724 (widget-key-sequence-value-to-external, sexp)
24725 (widget-sexp-value-to-internal, character, vector, cons)
24726 (widget-choice-prompt-value, widget-boolean-prompt-value)
24727 (widget-color--choose-action): Mark unused parameters.
24728 (widget-item-match-inline, widget-choice-match-inline)
24729 (widget-checklist-match, widget-checklist-match-inline)
24730 (widget-group-match): Rename parameter VALUES to VALS.
24731 (widget-field-value-set): Remove unused variable `size'.
24732 (widget-color-action): Remove unused variables `value' and `start'.
24733
24734 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24735 variable `dir'. Doc fix.
24736 (windmove-find-other-window): Don't pass it.
24737
24738 * window.el (count-windows): Mark unused parameter.
24739 (bw-adjust-window): Remove unused variable `err'.
24740
24741 * woman.el (woman-file-name): Remove unused variable `default'.
24742 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24743 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24744 (global-font-lock-mode): Declare.
24745 (woman-decode-region): Mark unused parameter.
24746 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24747
24748 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24749 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24750 (x-dnd-handle-moz-url): Remove unused variable `title'.
24751 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24752
24753 * xml.el (xml-parse-tag, xml-parse-attlist):
24754 Remove unused variable `pos'.
24755
24756 2011-04-19 Glenn Morris <rgm@gnu.org>
24757
24758 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24759 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24760 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24761 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24762 * calendar/cal-html.el (cal-html-insert-minical):
24763 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24764 (calendar-mark-date-pattern):
24765 Prefix "unused" locals.
24766
24767 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24768 optional argument `style'.
24769
24770 * calendar/appt.el (appt-make-list):
24771 * calendar/cal-china.el (calendar-chinese-date-string):
24772 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24773 (diary-hebrew-yahrzeit):
24774 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24775 * calendar/calendar.el (calendar-generate-window):
24776 * calendar/time-date.el (time-to-days):
24777 Remove unused local variables.
24778
24779 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24780
24781 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24782 glyphless-char-display table.
24783 (tabulated-list-glyphless-char-display): New var.
24784
24785 2011-04-18 Sam Steingold <sds@gnu.org>
24786
24787 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24788 to acknowledgments.
24789
24790 2011-04-17 Glenn Morris <rgm@gnu.org>
24791
24792 * calendar/diary-lib.el (diary-sexp-entry):
24793 * calendar/holidays.el (holiday-sexp):
24794 Set debug-on-error rather than the removed stack-trace-on-error.
24795
24796 2011-04-16 Glenn Morris <rgm@gnu.org>
24797
24798 * progmodes/f90.el: Use lexical-binding.
24799 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24800
24801 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24802
24803 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24804 (mail-mode): Setup mailalias completion here instead.
24805 * mail/mailalias.el: Use lexical-binding.
24806 (pattern, mailalias-done): Declare dynamic.
24807 (mail-completion-at-point-function): New function, from mail-complete.
24808 (mail-complete): Use it.
24809 (mail-completion-expand): New function.
24810 (mail-get-names): Use it.
24811 (mail-directory, mail-directory-process, mail-directory-stream):
24812 Don't use `pattern' for lexically bound arg.
24813
24814 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24815
24816 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24817 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24818 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24819
24820 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24821 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24822 (byte-interactive-p): Define them again, for use when inlining
24823 old code.
24824
24825 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24826
24827 * loadup.el: Use `string-to-number', not `string-to-int'.
24828
24829 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24830
24831 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24832 gud-gdb-complete-command.
24833 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24834 (gud-gdb-completion-at-point): New function.
24835 (gud-gdb-completions): Remove.
24836
24837 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24838
24839 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24840 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24841 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24842 whether `executable-find' is bound.
24843
24844 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24845
24846 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24847
24848 * minibuffer.el (completion-in-region-mode-predicate)
24849 (completion-in-region-mode--predicate): New vars.
24850 (completion-in-region, completion-in-region--postch)
24851 (completion-in-region-mode): Use them.
24852 (completion--capf-wrapper): Also return the hook function.
24853 (completion-at-point, completion-help-at-point):
24854 Adjust and provide a predicate.
24855
24856 Preserve arg names for advice of subr and lexical functions (bug#8457).
24857 * help-fns.el (help-function-arglist): Consolidate the subr and
24858 new-byte-code cases. Add argument `preserve-names' to extract names
24859 from the docstring when needed.
24860 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24861 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24862 (ad-arglist): Use help-function-arglist's new arg.
24863 (ad-definition-type): Use cond.
24864
24865 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24866
24867 * autorevert.el (auto-revert-handler):
24868 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24869 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24870 Don't quote lambda.
24871
24872 * image-mode.el (image-transform-set-scale):
24873 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24874
24875 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24876
24877 * net/network-stream.el (network-stream-open-starttls): Only do
24878 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24879 Upgrades via gnutls-cli are too slow to be done opportunistically.
24880
24881 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24882
24883 * dframe.el (dframe-current-frame): Remove spurious quote.
24884
24885 2011-04-12 Glenn Morris <rgm@gnu.org>
24886
24887 * calendar/cal-tex.el (cal-tex-end-document):
24888 Try to automatically use latin1 input if needed.
24889
24890 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24891 Don't try to cons a mark onto an empty element.
24892
24893 2011-04-11 Leo Liu <sdl.web@gmail.com>
24894
24895 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24896 buffers.
24897 (ido-kill-buffer-at-head): Support killing virtual buffers.
24898
24899 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24900
24901 * minibuffer.el (completion-show-inline-help): New var.
24902 (completion--do-completion, minibuffer-complete)
24903 (minibuffer-force-complete, minibuffer-complete-word):
24904 Inhibit minibuffer messages if completion-show-inline-help is nil.
24905
24906 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24907 to avoid interference from inline help (Bug#5849).
24908
24909 2011-04-10 Leo Liu <sdl.web@gmail.com>
24910
24911 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24912 Fix typo.
24913
24914 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24915
24916 * image-mode.el (image-toggle-display-image): Signal an error if
24917 not in Image mode.
24918 (image-transform-mode, image-transform-resize)
24919 (image-transform-set-rotation): Doc fix.
24920 (image-transform-set-resize): Delete.
24921 (image-transform-set-scale, image-transform-fit-to-height)
24922 (image-transform-fit-to-width): Handle image-toggle-display-image
24923 and image-transform-resize directly.
24924
24925 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24926
24927 * doc-view.el (doc-view-fit-width-to-window)
24928 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24929 New functions for fitting the shown image to the Emacs window size.
24930 (doc-view-mode-map): Add bindings for the new functions.
24931
24932 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24933
24934 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24935 Fix typo in docstring.
24936
24937 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24938
24939 * files.el (file-size-human-readable): Produce one digit after
24940 decimal, like "ls -lh" does.
24941
24942 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24943 the file size representation.
24944
24945 * simple.el (list-processes): If async subprocesses are not
24946 available, error out with a clear error message.
24947
24948 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
24949
24950 * help.el (help-form-show): New function, to be called from C.
24951 Put help-form output in a buffer named differently than *Help*.
24952
24953 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24954
24955 * files.el (file-size-human-readable): New function.
24956
24957 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
24958 computing the representation inline. Don't require `cl'.
24959
24960 2011-04-08 Glenn Morris <rgm@gnu.org>
24961
24962 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
24963
24964 * net/browse-url.el (browse-url-firefox):
24965 Test system-type, not system-configuration.
24966
24967 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
24968 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
24969 Use log-edit-empty-buffer-p. (Bug#7598)
24970
24971 * net/rlogin.el (rlogin-process-connection-type): Simplify.
24972 (rlogin-mode-map): Initialize in the defvar.
24973 (rlogin): Use ignore-errors.
24974
24975 * replace.el (occur-mode-map): Some fixes for menu items.
24976
24977 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
24978
24979 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
24980
24981 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24982
24983 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
24984 issuing unused warnings.
24985
24986 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
24987 macro directly.
24988
24989 * simple.el: Lisp reimplement of list-processes. Based on an
24990 earlier reimplementation by Leo Liu, but using tabulated-list.el.
24991 (process-menu-mode): New major mode.
24992 (list-processes--refresh, list-processes):
24993 (process-menu-visit-buffer): New functions.
24994
24995 * files.el (save-buffers-kill-emacs): Don't assume any return
24996 value of list-processes, which is undocumented anyway.
24997
24998 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
24999
25000 * emacs-lisp/tabulated-list.el: New file.
25001
25002 * emacs-lisp/package.el: Use Tabulated List mode.
25003 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25004 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25005 table format using Tabulated List mode variables.
25006 (package--push): New macro, replacing package-list-maybe-add.
25007 (package-menu--generate): Use package--push. Renamed from
25008 package--generate-package-list.
25009 (package-menu-refresh, list-packages): Use it.
25010 (package-menu--print-info): Rename from package-print-package.
25011 Return insertion data instead of inserting it directly.
25012 (package-menu-describe-package, package-menu-execute):
25013 Use tabulated-list-get-id.
25014 (package-menu-mark-delete, package-menu-mark-install)
25015 (package-menu-mark-unmark, package-menu-backup-unmark)
25016 (package-menu-mark-obsolete-for-deletion):
25017 Use tabulated-list-put-tag.
25018 (package--list-packages, package-menu-revert)
25019 (package-menu-get-package, package-menu-get-version)
25020 (package-menu-sort-by-column): Functions deleted.
25021 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25022 (package-menu--status-predicate, package-menu--version-predicate)
25023 (package-menu--name-predicate)
25024 (package-menu--description-predicate): Handle arguments in the
25025 Tabulated List format.
25026 (package-list-packages-no-fetch): Call list-packages.
25027
25028 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25029
25030 * files.el (after-find-file-from-revert-buffer): Remove variable.
25031 (after-find-file): Don't bind it.
25032 (revert-buffer-in-progress-p): New variable.
25033 (revert-buffer): Bind it.
25034 Pass nil for `after-find-file-from-revert-buffer'.
25035
25036 * saveplace.el (save-place-find-file-hook): Use new variable
25037 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25038
25039 2011-04-06 Glenn Morris <rgm@gnu.org>
25040
25041 * Makefile.in (AUTOGEN_VCS): New variable.
25042 (autoloads): Use $AUTOGEN_VCS.
25043
25044 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25045 * calendar/calendar.el (calendar-mode-map):
25046 Check for toolkit scroll bars. (Bug#8305)
25047
25048 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25049
25050 * minibuffer.el (completion-in-region--postch)
25051 (completion-in-region-mode): Remove unnecessary messages.
25052
25053 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25054
25055 * font-lock.el (font-lock-refresh-defaults):
25056 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25057 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25058
25059 * info.el (Info-directory-list, Info-read-node-name-2)
25060 (Info-split-parameter-string): Doc fixes.
25061 (Info-virtual-nodes): Reflow docstring.
25062 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25063 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25064 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25065 Fix typos in docstrings.
25066 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25067 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25068 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25069 (Info-restore-desktop-buffer): Mark unused parameters.
25070 (Info-directory-find-file, Info-directory-find-node)
25071 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25072 (Info-virtual-index-find-node, Info-apropos-find-file)
25073 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25074 Mark unused parameters; fix typos in docstrings.
25075 (Info-virtual-index): Remove unused local variable `nodename'.
25076
25077 2011-04-05 Deniz Dogan <deniz@dogan.se>
25078
25079 * net/rcirc.el: Update my e-mail address.
25080 (rcirc-mode-map): Remove M-o binding.
25081
25082 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25083
25084 * startup.el (command-line): Save the cursor's theme-face
25085 directly, instead of using face-override-spec.
25086
25087 * custom.el (load-theme): Minor optimization in assigning faces.
25088
25089 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25090
25091 * help-fns.el (describe-variable): Complete all variables having
25092 documentation, including keywords.
25093 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25094
25095 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25096
25097 Convert to lexical-binding.
25098
25099 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25100 (bs--get-marked-string, bs--get-modified-string)
25101 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25102 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25103 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25104
25105 * ehelp.el (electric-help-execute-extended)
25106 (electric-help-ctrl-x-prefix):
25107 * hexl.el (hexl-revert-buffer-function):
25108 * linum.el (linum-after-change, linum-after-scroll):
25109 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25110
25111 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25112
25113 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25114
25115 * epa-dired.el:
25116 * epa-mail.el:
25117 * epa-hook.el:
25118 * epa-file.el:
25119 * epa.el:
25120 * epg.el: Use lexical binding.
25121
25122 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25123
25124 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25125
25126 * textmodes/flyspell.el (flyspell-word): Recognize default
25127 dictionary case for flyspell-mark-duplications-exceptions.
25128 Use regexp matching for languages.
25129 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25130 default dictionary (Bug#7926).
25131
25132 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25133
25134 * emacs-lisp/package.el (package--with-work-buffer):
25135 Recognize https URLs.
25136
25137 * net/network-stream.el: Move from gnus/proto-stream.el.
25138 Change prefix to network-stream throughout.
25139 (open-protocol-stream): Merge into open-network-stream, leaving
25140 open-protocol-stream as an alias. Handle nil BUFFER args.
25141
25142 * subr.el (open-network-stream): Move to net/network-stream.el.
25143
25144 2011-04-02 Glenn Morris <rgm@gnu.org>
25145
25146 * find-dired.el (find-exec-terminator): New option.
25147 (find-ls-option): Test for -ls support.
25148 (find-ls-subdir-switches): Test for -b in find-ls-option.
25149 (find-dired, find-grep-dired): Doc fixes.
25150 (find-dired): Use find-exec-terminator.
25151
25152 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25153 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25154 (find-name-arg): Remove purecopy.
25155
25156 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25157 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25158 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25159 accordingly. Don't add the null-device if not needed.
25160
25161 * files.el (save-some-buffers): Doc fix.
25162
25163 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25164
25165 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25166
25167 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25168
25169 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25170 Use `dolist' rather than `mapcar'.
25171
25172 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25173
25174 Add lexical binding.
25175
25176 * subr.el (apply-partially): Use new closures rather than CL.
25177 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25178 (dolist, dotimes): Use slightly different expansion for lexical code.
25179 (functionp): Move to C.
25180 (letrec): New macro.
25181 (with-wrapper-hook): Use it and apply-partially instead of CL.
25182 (eval-after-load): Preserve lexical-binding.
25183 (save-window-excursion, with-output-to-temp-buffer): Turn them
25184 into macros.
25185
25186 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25187
25188 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25189 than the arglist.
25190 (help-add-fundoc-usage): Don't add `Not documented'.
25191 (help-function-arglist): Handle closures, subroutines, and new
25192 byte-code-functions.
25193 (help-make-usage): Remove leading underscores.
25194 (describe-function-1): Handle closures.
25195 (describe-variable): Use special-variable-p for completion.
25196
25197 * files.el (lexical-binding): Declare safe.
25198
25199 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25200 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25201 (pcase): Add `let' pattern.
25202 Change memoization so it actually works.
25203 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25204 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25205 <let>: New case.
25206
25207 * emacs-lisp/macroexp.el: Use lexical binding.
25208 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25209 Don't convert ' to #' without checking that it's indeed quoting
25210 a lambda.
25211
25212 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25213 Use eval-sexp-add-defvars.
25214 (eval-sexp-add-defvars): New fun.
25215
25216 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25217
25218 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25219 Don't autoload.
25220 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25221 than the internal `byte-compile-lambda'.
25222 (defmethod): Don't hide code under quotes.
25223 (eieio-defmethod): New `code' argument.
25224
25225 * emacs-lisp/eieio-comp.el: Remove.
25226
25227 * emacs-lisp/edebug.el (edebug-eval-defun)
25228 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25229 (edebug-toggle): Avoid `eval'.
25230
25231 * emacs-lisp/disass.el (disassemble-internal): Handle new
25232 `closure' objects.
25233 (disassemble-1): Handle new byte codes.
25234
25235 * emacs-lisp/cl.el (pushnew): Silence warning.
25236
25237 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25238 (cl-byte-compile-throw): Remove.
25239 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25240
25241 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25242 closures.
25243
25244 * emacs-lisp/cconv.el: New file.
25245
25246 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25247 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25248 (byte-compile-initial-macro-environment):
25249 Handle declare-function here.
25250 (byte-compile--lexical-environment): New var.
25251 (byte-stack-ref, byte-stack-set, byte-discardN)
25252 (byte-discardN-preserve-tos): New lap codes.
25253 (byte-interactive-p): Don't use any more.
25254 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25255 New macros.
25256 (byte-compile-lapcode): Use them and handle new lap codes.
25257 (byte-compile-obsolete): Remove.
25258 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25259 (byte-compile-arglist-warn): Check late def of inlinable funs.
25260 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25261 since they should have been expanded by now.
25262 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25263 (byte-compile-from-buffer): Remove unused second arg.
25264 (byte-compile-preprocess): New function.
25265 (byte-compile-toplevel-file-form): New function to distinguish
25266 file-form calls from outside from file-form calls from hunk-handlers.
25267 (byte-compile-file-form): Simplify.
25268 (byte-compile-file-form-defsubst): Remove.
25269 (byte-compile-file-form-defmumble): Simplify now that
25270 byte-compile-lambda always returns a byte-code-function.
25271 (byte-compile): Preprocess.
25272 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25273 Remove, not used any more.
25274 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25275 (byte-compile-make-args-desc): New funs.
25276 (byte-compile-lambda): Handle lexical functions. Always return
25277 a byte-code-function.
25278 (byte-compile-reserved-constants): New var, to make up room for
25279 closed-over variables.
25280 (byte-compile-constants-vector): Obey it.
25281 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25282 (byte-compile-macroexpand-declare-function): New function.
25283 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25284 byte-code-functions.
25285 (byte-compile-form): Check obsolescence here.
25286 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25287 (byte-compile-variable-ref): Remove.
25288 (byte-compile-dynamic-variable-op): New fun.
25289 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25290 (byte-compile-variable-set): New funs.
25291 (byte-compile-discard): Add 2 args.
25292 (byte-compile-stack-ref, byte-compile-stack-set)
25293 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25294 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25295 macroexpand-all instead.
25296 (byte-compile-quote-form): Remove.
25297 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25298 (byte-compile-bind, byte-compile-unbind): New funs.
25299 (byte-compile-let): Handle let* and lexical binding.
25300 (byte-compile-let*): Remove.
25301 (byte-compile-catch, byte-compile-unwind-protect)
25302 (byte-compile-track-mouse, byte-compile-condition-case):
25303 Handle a new :fun-body form, used for lexical scoping.
25304 (byte-compile-save-window-excursion)
25305 (byte-compile-with-output-to-temp-buffer): Remove.
25306 (byte-compile-defun): Simplify.
25307 (byte-compile-stack-adjustment): New fun.
25308 (byte-compile-out): Use it.
25309 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25310
25311 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25312 handler any more.
25313
25314 * emacs-lisp/byte-opt.el: Use lexical binding.
25315 (byte-inline-lapcode): Remove (to bytecomp).
25316 (byte-compile-inline-expand): Pay attention to inlining to/from
25317 lexically bound code.
25318 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25319 any more.
25320 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25321 any more and don't call compiler-macros.
25322 (byte-compile-splice-in-already-compiled-code): Remove.
25323 (byte-code): Don't inline any more.
25324 (disassemble-offset): Receive `bytes' as argument rather than via
25325 dynamic scoping.
25326 (byte-compile-tag-number): Declare before first use.
25327 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25328 `return' even if make-spliceable.
25329 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25330 obsolete interactive-p.
25331 (byte-optimize-lapcode): Optimize new lap-codes.
25332 Don't trip up on new form of `byte-constant' lap code.
25333
25334 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25335
25336 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25337
25338 * custom.el (custom-initialize-default, custom-declare-variable):
25339 Use `defvar'.
25340
25341 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25342 New variables.
25343 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25344 (COMPILE_FIRST): Add macroexp and cconv.
25345 * makefile.w32-in: Mirror changes in Makefile.in.
25346
25347 * vc/cvs-status.el:
25348 * vc/diff-mode.el:
25349 * vc/log-edit.el:
25350 * vc/log-view.el:
25351 * vc/smerge-mode.el:
25352 * textmodes/bibtex-style.el:
25353 * textmodes/css-mode.el:
25354 * startup.el:
25355 * uniquify.el:
25356 * minibuffer.el:
25357 * newcomment.el:
25358 * reveal.el:
25359 * server.el:
25360 * mpc.el:
25361 * emacs-lisp/smie.el:
25362 * doc-view.el:
25363 * dired.el:
25364 * abbrev.el: Use lexical binding.
25365
25366 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25367
25368 * info.el (info-display-manual): New function.
25369
25370 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25371
25372 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25373
25374 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25375
25376 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25377 an entry for that server in rcirc-authinfo. (Bug#8385)
25378
25379 2011-03-31 Glenn Morris <rgm@gnu.org>
25380
25381 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25382
25383 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25384
25385 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25386
25387 * progmodes/python.el (python-default-interpreter)
25388 (python-python-command-args, python-jython-command-args)
25389 (python-which-shell, python-which-args, python-which-bufname)
25390 (python-file-queue, python-comint-output-filter-function)
25391 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25392 variables and functions.
25393
25394 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25395
25396 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25397 (completion-in-region-mode): New minor mode.
25398 (completion-in-region): Use it.
25399 (completion-in-region--data, completion-in-region-mode-map): New vars.
25400 (completion-in-region--postch): New function.
25401 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25402 New vars.
25403 (completion--capf-wrapper): New function.
25404 (completion-at-point): Use it to track well-behavedness of
25405 hook functions.
25406 (completion-help-at-point): New command.
25407
25408 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25409
25410 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25411 syntax class to search for whitespace on a single line
25412 (Message-ID: <4D938140.4030905@redhat.com>).
25413
25414 2011-03-30 Leo Liu <sdl.web@gmail.com>
25415
25416 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25417 New commands.
25418 (edit-abbrevs-map): Bind them here.
25419 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25420
25421 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25422
25423 * allout.el (allout-hide-by-annotation, allout-flag-region):
25424 Reduce possibility of overlay leakage by making them volatile.
25425
25426 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25427 hash is not shared between buffers. Mode initialization is
25428 responsible for giving it a useful starting value.
25429 (allout-item-span): Reduce possibility of overlay leakage by
25430 making them volatile.
25431 (allout-widgets-count-buttons-in-region): Add diagnostic function
25432 for tracking down button overlay leaks.
25433
25434 2011-03-29 Leo Liu <sdl.web@gmail.com>
25435
25436 * ido.el (ido-read-internal): Use the default history var
25437 minibuffer-history if no HISTORY is specified.
25438
25439 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25440
25441 * net/imap.el (imap-shell-open, imap-process-connection-type):
25442 Use imap-process-connection-type for 'shell' streams as well as
25443 Kerberos, SSL, other subprocesses.
25444
25445 2011-03-28 Leo Liu <sdl.web@gmail.com>
25446
25447 * abbrev.el (abbrev-table-empty-p): New function.
25448 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25449 nonempty ones. (Bug#5937)
25450
25451 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25452
25453 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25454
25455 2011-03-27 Leo Liu <sdl.web@gmail.com>
25456
25457 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25458 for foreground and background colors.
25459 (ansi-color-make-color-map): Adapt.
25460
25461 2011-03-25 Leo Liu <sdl.web@gmail.com>
25462
25463 * midnight.el (midnight-time-float): Remove. Note it calculates
25464 the microsecond component incorrectly and seconds-to-time does the
25465 same job.
25466 Remove redundant (require 'timer).
25467
25468 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25469 (ido-completions): Remove unused arguments. (Bug#8329)
25470
25471 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25472
25473 * minibuffer.el (completion--flush-all-sorted-completions):
25474 Remove itself from hook.
25475 (completion-at-point): Let the functions perform the completion
25476 immediately and return nil or t.
25477 * comint.el (comint-dynamic-complete-functions): Now identical to
25478 completion-at-point-functions.
25479 (comint-dynamic-list-input-ring): Remove unused var `index'.
25480 (comint--match-partial-filename, comint--unquote&expand-filename):
25481 New funs, split from comint-match-partial-filename.
25482 (comint-dynamic-complete): Use completion-at-point.
25483 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25484
25485 2011-03-24 Drew Adams <drew.adams@oracle.com>
25486
25487 * thingatpt.el: Support `defun'.
25488
25489 2011-03-23 Leo Liu <sdl.web@gmail.com>
25490
25491 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25492
25493 * help-mode.el (help-mode-finish): Tweak regexp.
25494
25495 2011-03-23 Glenn Morris <rgm@gnu.org>
25496
25497 * eshell/esh-opt.el (eshell-eval-using-options):
25498 Do not bind unused local variable `eshell-option-stub'.
25499
25500 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25501
25502 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25503
25504 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25505 keymap variable in `with-no-warnings' to avoid a warning when the
25506 keymap has been already `defconst'ed.
25507
25508 2011-03-22 Leo Liu <sdl.web@gmail.com>
25509
25510 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25511 encode all chars in abbrevs; otherwise use emacs-mule or
25512 utf-8-emacs. (Bug#8308)
25513
25514 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25515
25516 * simple.el (backward-delete-char-untabify):
25517 Avoid warning about using `delete-backward-char'.
25518
25519 * image.el (image-type-file-name-regexps): Make it variable.
25520 `imagemagick-register-types' modifies it, and the user may want
25521 to add new extensions for known image types.
25522 (imagemagick-register-types): Throw error if not using ImageMagick.
25523
25524 2011-03-22 Leo Liu <sdl.web@gmail.com>
25525
25526 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25527 located before rcirc-prompt-end-marker.
25528 (rcirc-complete): Error if point is not after rcirc prompt.
25529 Handle the case when table is nil.
25530 (rcirc-user-authenticated): Define to fix compiler warning.
25531
25532 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25533
25534 * custom.el (custom--inhibit-theme-enable): Make it affect only
25535 custom-theme-set-variables and custom-theme-set-faces.
25536 (provide-theme): Ignore custom--inhibit-theme-enable.
25537 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25538 (custom-enabling-themes): Delete variable.
25539 (enable-theme): Accept only loaded themes as arguments.
25540 Ignore the special custom-enabled-themes variable.
25541 (custom-enabled-themes): Forbid themes from setting this.
25542 Eliminate use of custom-enabling-themes.
25543 (custom-push-theme): Quote "changed" custom var entry.
25544
25545 2011-03-21 Leo Liu <sdl.web@gmail.com>
25546
25547 * ido.el (ido-read-internal): Add ido-selected to history instead
25548 of user input.
25549
25550 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25551
25552 * subr.el (deferred-action-list, deferred-action-function):
25553 Mark obsolete.
25554
25555 2011-03-21 Leo Liu <sdl.web@gmail.com>
25556
25557 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25558 change on 2011-02-13 (bug#8309).
25559
25560 * minibuffer.el (read-file-name-function): Change default value.
25561 (read-file-name--defaults): Rename from read-file-name-defaults.
25562 (read-file-name-default): Rename from read-file-name.
25563 (read-file-name): Call read-file-name-function.
25564
25565 2011-03-21 Glenn Morris <rgm@gnu.org>
25566
25567 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25568 Doc fixes.
25569
25570 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25571
25572 * cus-theme.el: Add missing provide statement.
25573 (customize-create-theme): Extract theme value correctly.
25574 (custom-theme-visit-theme): Autoload.
25575 (customize-create-theme): Prompt before inserting default faces.
25576
25577 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25578
25579 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25580 units and musical notes.
25581
25582 2011-03-20 Leo Liu <sdl.web@gmail.com>
25583
25584 * ido.el (ido-read-internal): Use completing-read-default.
25585 (ido-completing-read): Fix compatibility with completing-read.
25586
25587 2011-03-20 Christian Ohler <ohler@gnu.org>
25588
25589 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25590 (ert-delete-all-tests): Use `called-interactively-p' rather than
25591 `interactive-p'.
25592 (ert--make-xrefs-region): Respect END.
25593
25594 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25595
25596 * dired-aux.el (dired-create-directory): Signal an error if the
25597 directory already exists (Bug#8246).
25598
25599 * facemenu.el (list-colors-display): Call list-faces-display
25600 inside with-help-window.
25601 (list-colors-print): Use display property to align the final
25602 column, instead of checking window-width.
25603
25604 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25605
25606 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25607 windows-nt systems.
25608 (emerge-protect-metachars): Quote correctly for ms-dos and
25609 windows-nt systems.
25610
25611 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25612
25613 * info.el (info-initialize): Replace all uses of `:' with
25614 path-separator for compatibility with non-Unix systems.
25615 Cache quoting of path-separator. (Bug#8258)
25616
25617 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25618
25619 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25620 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25621 (mouse-avoidance-mode): Fix typos in docstrings.
25622
25623 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25624
25625 * startup.el (package-subdirectory-regexp): Move from package.el.
25626 Omit \\` and \\', and let callers add them.
25627
25628 * emacs-lisp/package.el (package-strip-version)
25629 (package-load-all-descriptors): Add \\` and \\' to
25630 package-subdirectory-regexp before using it.
25631 (package-untar-buffer): New arg DIR; ensure that file untars only
25632 into this expected directory. Remove superfluous delete-region.
25633 (package-unpack): Caller changed.
25634 (package-tar-file-info): Use package-subdirectory-regexp.
25635
25636 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25637
25638 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25639 diff-mode-shared-map (bug#8284).
25640 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25641
25642 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25643
25644 * calendar/time-date.el (format-seconds): Use assoc instead of
25645 assoc-string, since assoc-string doesn't exist in XEmacs.
25646
25647 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25648
25649 * custom.el (custom-known-themes): Reflow docstring.
25650 (custom-theme-load-path): Fix typo in docstring.
25651 (load-theme): Fix typo in error message.
25652 (custom-available-themes, custom-variable-theme-value):
25653 Use `let', not `let*'.
25654
25655 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25656
25657 * calc/README: Mention inclusion of musical notes.
25658
25659 * calc/calc-units.el (calc-lu-quant): Rename from
25660 `calc-logunits-quantity'.
25661 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25662 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25663 (calc-db): Rename from `calc-dblevel'.
25664 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25665 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25666 (calc-np): Rename from `calc-nplevel'.
25667 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25668 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25669 (calc-lu-plus): Rename from `calc-logunits-add'.
25670 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25671 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25672 (calc-lu-minus): Rename from `calc-logunits-sub'.
25673 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25674 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25675 (calc-lu-times): Rename from `calc-logunits-mul'.
25676 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25677 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25678 (calc-lu-divide): Rename from `calc-logunits-div'.
25679 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25680 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25681
25682 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25683 functions being autoloaded.
25684
25685 * calc/calc.el (calc-lu-power-reference): Rename from
25686 `calc-logunits-power-reference'.
25687 (calc-lu-field-reference): Rename from
25688 `calc-logunits-field-reference'.
25689
25690 * calc/calc-help.el (calc-l-prefix-help):
25691 Mention musical note functions.
25692
25693 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25694
25695 * minibuffer.el (completion-all-sorted-completions):
25696 Use :completion-cycle-penalty text property if present.
25697
25698 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25699
25700 * allout.el (allout-yank-processing): Adjust for new rebulleting
25701 regime so bullet being yanked is used without prompting the user
25702 for a choice.
25703
25704 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25705
25706 * startup.el (command-line): Warn the user that _emacs is deprecated.
25707
25708 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25709
25710 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25711 (delphi-verbose, delphi-comment-face, delphi-string-face)
25712 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25713 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25714 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25715 (delphi-new-comment-line, delphi-font-lock-defaults)
25716 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25717 Fix typos in docstrings.
25718
25719 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25720
25721 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25722 Invert the roles of character and string values for INSTEAD, so a
25723 string is used for the more common case of a defaulting prompt.
25724
25725 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25726
25727 * progmodes/ruby-mode.el (ruby-backward-sexp):
25728 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25729 * play/gamegrid.el (gamegrid-make-face):
25730 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25731 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25732 * notifications.el (notifications-notify):
25733 * net/xesam.el (xesam-search-engines):
25734 * net/quickurl.el (quickurl-list-insert):
25735 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25736
25737 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25738
25739 * startup.el (command-line): Update package subdirectory regexp.
25740
25741 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25742
25743 * allout.el (allout-abbreviate-flattened-numbering)
25744 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25745
25746 * subr.el (read-char-choice): Only show the cursor after the prompt,
25747 not after the answer.
25748
25749 2011-03-15 Kevin Ryde <user42@zip.com.au>
25750
25751 * help-fns.el (variable-at-point): Skip leading quotes, if any
25752 (bug#8253).
25753
25754 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25755
25756 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25757 warning message.
25758
25759 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25760
25761 * shell.el (shell): When called interactively, offer to change the
25762 shell file name on remote hosts.
25763
25764 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25765
25766 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25767 integration for LDAP parameters. The host, base, user or binddn,
25768 and secret tokens can be specified in a netrc file, for instance.
25769 This is optional because an `auth-source' parameter must be
25770 specified in the search attributes.
25771
25772 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25773
25774 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25775
25776 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25777
25778 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25779 into declaration. Remove redundant and harmful binding.
25780
25781 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25782
25783 * files.el (file-ownership-preserved-p): Pass `integer' as an
25784 explicit 2nd argument to `file-attributes'. If the file's owner
25785 is the Administrators group on Windows, and the current user is
25786 Administrator, consider that a match.
25787
25788 * server.el (server-ensure-safe-dir): Consider server directory
25789 safe on MS-Windows if its owner is the Administrators group while
25790 the current Emacs user is Administrator. Use `=' to compare
25791 numerical UIDs, since they could be integers or floats.
25792
25793 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25794
25795 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25796
25797 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25798
25799 Sync with Tramp 2.2.1.
25800
25801 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25802
25803 * net/trampver.el: Update release number.
25804
25805 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25806
25807 * progmodes/compile.el (compilation--previous-directory): Fix up
25808 various nil/dead-marker mismatches (bug#8014).
25809 (compilation-directory-properties, compilation-error-properties):
25810 Don't call it at a position past the one we're about to change.
25811
25812 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25813 Disable obsolescence warnings in the file that declares it.
25814
25815 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25816
25817 * allout-widgets.el (allout-widgets-tally):
25818 Initialize allout-widgets-tally as a hash table rather than nil to
25819 prevent mode-line redisplay warnings. Also, clarify the module
25820 description and fix a comment typo.
25821
25822 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25823
25824 * help-fns.el (describe-variable): Don't complete keywords.
25825 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25826
25827 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25828
25829 * emacs-lisp/package.el (package-version-join): Impose a standard
25830 string representation for pre/alpha/beta version lists.
25831 (package-unpack-single): Standardize the directory name by passing
25832 it through package-version-join.
25833 (package-strip-rcs-id): Accept any version string that does not
25834 signal an error in version-to-list.
25835
25836 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25837
25838 * simple.el (delete-trailing-whitespace): Return nil for the
25839 benefit of `write-file-functions'.
25840
25841 2011-03-10 Glenn Morris <rgm@gnu.org>
25842
25843 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25844
25845 * vc/vc-git.el (vc-git-program): New option.
25846 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25847 (vc-git--call): Use it.
25848
25849 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25850
25851 * cus-edit.el (Custom-newline): If no button at point, look
25852 for a subgroup button at start-of-line. (Bug#2298)
25853
25854 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25855
25856 2011-03-10 Julien Danjou <julien@danjou.info>
25857
25858 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25859 `cursor-type' is nil.
25860
25861 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25862
25863 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25864
25865 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25866
25867 * allout.el: Change so yank of distinctive-bullet items
25868 preserves the existing header prefix, rebulleting it if necessary,
25869 rather than replacing it. This is necessary for proper operation
25870 of cooperative addons like allout-widgets.
25871 (allout-make-topic-prefix, allout-rebullet-heading):
25872 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25873 value as alternate bullet to be used, instead of prompting the user
25874 for a bullet character.
25875
25876 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25877
25878 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25879 Do not use `tramp-file-name-port', because this returns also
25880 `tramp-default-port'.
25881
25882 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25883
25884 * net/rcirc.el (rcirc-handler-001): Remove useless
25885 with-rcirc-process-buffer.
25886 (rcirc-check-auth-status): Swap arguments to string-match.
25887
25888 2011-03-09 Glenn Morris <rgm@gnu.org>
25889
25890 * shell.el (shell-mode):
25891 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25892
25893 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25894 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25895
25896 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25897
25898 * emacs-lisp/package.el (package-refresh-contents)
25899 (package-menu-execute): Use condition-case-no-debug.
25900
25901 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25902
25903 * simple.el (shell-command-to-string): Use `process-file'.
25904
25905 * emacs-lisp/package.el (package-tar-file-info): Handle also
25906 remote files.
25907
25908 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25909 Use `equal' for upload base check.
25910
25911 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25912
25913 * textmodes/texinfo.el (texinfo-environments):
25914 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25915
25916 2011-03-08 Glenn Morris <rgm@gnu.org>
25917
25918 * cus-start.el (cursor-in-non-selected-windows):
25919 Fix :set quoting oddness. (Bug#8192)
25920
25921 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25922 in some setf expressions. (Bug#2159)
25923
25924 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25925
25926 * custom.el (custom-available-themes): Return themes in
25927 alphabetical order.
25928
25929 See ChangeLog.15 for earlier changes.
25930
25931 ;; Local Variables:
25932 ;; coding: utf-8
25933 ;; End:
25934
25935 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25936
25937 This file is part of GNU Emacs.
25938
25939 GNU Emacs is free software: you can redistribute it and/or modify
25940 it under the terms of the GNU General Public License as published by
25941 the Free Software Foundation, either version 3 of the License, or
25942 (at your option) any later version.
25943
25944 GNU Emacs is distributed in the hope that it will be useful,
25945 but WITHOUT ANY WARRANTY; without even the implied warranty of
25946 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25947 GNU General Public License for more details.
25948
25949 You should have received a copy of the GNU General Public License
25950 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.