* emacs-lisp/package.el (package-untar-buffer): Improve integrity check for tarball...
[bpt/emacs.git] / lisp / ChangeLog
1 2012-12-29 Chong Yidong <cyd@gnu.org>
2
3 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4 check for the tarball contents.
5
6 2012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
7
8 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
9 tarfile content listings (Bug#13136).
10
11 2012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
12
13 * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert
14 the undecoded text of the message being forwarded. (Bug#9521)
15
16 2012-12-28 Michael Albinus <michael.albinus@gmx.de>
17
18 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
19 integers, if they are real numbers. (Bug#13282)
20
21 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
22
23 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
24 "module" and "def" to have indentation before them. Regression
25 from 109911 (see the new test).
26
27 2012-12-24 Dmitry Gutov <dgutov@yandex.ru>
28
29 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
30
31 2012-12-23 Alan Mackenzie <acm@muc.de>
32
33 Speed up fontification where there's large brace blocks.
34 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
35 to a call of c-beginning-of-decl-1.
36
37 2012-12-21 Chong Yidong <cyd@gnu.org>
38
39 * sort.el (sort-subr): Doc fix (Bug#13056).
40
41 2012-12-20 Bastien Guerry <bzg@gnu.org>
42
43 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
44
45 2012-12-11 Alan Mackenzie <acm@muc.de>
46
47 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
48 * progmodes/cc-engine.el (c-backward-comments): Add code to work
49 around `forward-comment' not recognizing ^M as whitespace.
50
51 2012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
52
53 * progmodes/python.el (python-skeleton-class)
54 (python-skeleton-def): Do not add space after defun name.
55
56 2012-12-09 Chong Yidong <cyd@gnu.org>
57
58 * simple.el (set-mark-default-inactive): Mark as obsolete, for
59 removal after 24.3.
60
61 2012-12-08 Dani Moncayo <dmoncayo@gmail.com>
62
63 * simple.el (just-one-space): Doc fix.
64
65 2012-12-07 Eli Zaretskii <eliz@gnu.org>
66
67 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add
68 "smallexample".
69
70 2012-12-07 Le Wang <l26wang@gmail.com>
71
72 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
73 narrowed buffer (bug#12361).
74
75 2012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
76
77 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
78 Virtually backported from trunk.
79
80 2012-12-07 Juanma Barranquero <lekktu@gmail.com>
81
82 * vc/vc-hooks.el (vc-state): Doc fix.
83
84 2012-12-06 Glenn Morris <rgm@gnu.org>
85
86 * mail/rmail.el (rmail-maybe-display-summary):
87 Preserve buffer, in case select-window changes it. (Bug#13066)
88
89 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
92 cl-load-hook where they belong.
93
94 2012-12-06 Chong Yidong <cyd@gnu.org>
95
96 * ffap.el (ffap-replace-file-component): Fix typo.
97
98 2012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
101 fix open-paren-like token test (bug#12785).
102
103 2012-12-04 Glenn Morris <rgm@gnu.org>
104
105 * mail/rmailsum.el (rmail-new-summary): Tweak for
106 rmail-maybe-display-summary changing buffer. (Bug#13066)
107
108 2012-12-03 Juri Linkov <juri@jurta.org>
109
110 * info.el (Info-fontify-node): Don't hide the last newline.
111 (Bug#12272)
112
113 2012-12-01 Leo Liu <sdl.web@gmail.com>
114
115 * files.el (dir-locals-read-from-file): Check file non-empty
116 before reading. (Bug#13038)
117
118 2012-11-28 Glenn Morris <rgm@gnu.org>
119
120 * jka-cmpr-hook.el (jka-compr-get-compression-info):
121 Remove any version extension before checking filename. (Bug#13006)
122 (jka-compr-compression-info-list): Belated :version bump.
123
124 2012-11-28 Chong Yidong <cyd@gnu.org>
125
126 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
127
128 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
129 (buffer-menu): Doc fix (Bug#12294).
130
131 2012-11-27 Roland Winkler <winkler@gnu.org>
132
133 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
134 of diary-show-all-entries in the diary buffer (Bug#12994).
135
136 2012-11-27 Michael Albinus <michael.albinus@gmx.de>
137
138 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
139 "<STDIN>". This is binary safe.
140
141 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * textmodes/table.el (table-insert): Don't use `symbol-name' on
144 lexically scoped variables (bug#13005).
145
146 2012-11-26 Glenn Morris <rgm@gnu.org>
147
148 * vc/vc-hooks.el (vc-mistrust-permissions):
149 Default to t, to avoid data-loss. (Bug#11490)
150
151 2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
152
153 * progmodes/python.el (python-indent-guess-indent-offset):
154 If indentation is guessed make python-indent-offset buffer-local.
155
156 Fix Imenu regression.
157 * progmodes/python.el (python-nav-beginning-of-defun):
158 Fix forward movement when statement(s) separates point from defun.
159 (python-imenu-prev-index-position): New function.
160
161 2012-11-26 Eli Zaretskii <eliz@gnu.org>
162
163 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
164
165 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
166 Don't set buffer-file-type. Return nil. (Bug#12989)
167
168 2012-11-26 Glenn Morris <rgm@gnu.org>
169
170 * hippie-exp.el (hippie-expand-try-functions-list):
171 Re-autoload it. (Bug#12982)
172
173 2012-11-25 Eli Zaretskii <eliz@gnu.org>
174
175 * descr-text.el (describe-char-padded-string):
176 Call internal-char-font only on GUI frames. (Bug#11964)
177
178 2012-11-24 Andreas Schwab <schwab@linux-m68k.org>
179
180 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
181 and obsoletion message.
182
183 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
186 the constructs to keep outside of the `cl-block' (bug#12977).
187
188 2012-11-24 Chong Yidong <cyd@gnu.org>
189
190 * mouse.el (mouse-drag-line): Even if the line is not draggable,
191 keep reading until we get the up-event anyway, in order to process
192 the up-event for mouse-1-click-follows-link (Bug#12971).
193
194 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
197 lexical-binding (bug#12938).
198
199 2012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
200
201 * image-mode.el (image-transform-check-size): Use assertions only
202 for images of type imagemagick.
203
204 Otherwise no error, image-transform-fit-to-{width,height} is
205 silently ignored, as before. Doc fix.
206
207 2012-11-23 Chong Yidong <cyd@gnu.org>
208
209 * faces.el (color-defined-p): Doc fix (Bug#12853).
210
211 2012-11-23 Juri Linkov <juri@jurta.org>
212
213 * dired.el (dired-mark): Add optional arg `interactive'.
214 Check for `use-region-p' if `interactive' is non-nil.
215 (dired-unmark, dired-flag-file-deletion): Add optional arg
216 `interactive'. Call `dired-mark' with the arg `interactive'.
217 (Bug#10624)
218
219 2012-11-23 Juri Linkov <juri@jurta.org>
220
221 * wdired.el: Revert 2012-10-17 change partly and replace it with
222 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
223 (wdired-finish-edit): Add marks for new file names to
224 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
225 after `revert-buffer'.
226 (wdired-do-renames): Remove calls to `dired-remove-file',
227 `dired-add-file', `dired-add-entry'. (Bug#11795)
228
229 2012-11-21 Alan Mackenzie <acm@muc.de>
230
231 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
232
233 Fix bugs in the state cache. Enhance a debugging mechanism.
234 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
235 "brace at column zero" strategy for C++.
236 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
237 (c-parse-state-point): New variable.
238 (c-record-parse-state-state): Record old parse state with
239 `copy-tree'. Record previous value of point.
240 (c-debug-parse-state-double-cons): New debugging function.
241 (c-debug-parse-state): Call the above new function.
242 (c-toggle-parse-state-debug): Output a confirmatory message.
243
244 * progmodes/cc-mode.el (c-before-change, c-after-change):
245 Call c-invalidate-state-cache from `c-before-change' instead of
246 `c-after-change'.
247
248 2012-11-20 Daniel Colascione <dancol@dancol.org>
249
250 * term/w32-win.el (cygwin-convert-path-from-windows):
251 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
252 This change is a backport from trunk.
253
254 2012-11-20 Eli Zaretskii <eliz@gnu.org>
255
256 * simple.el (line-move): Don't call line-move-partial if
257 scroll-conservatively is in effect. (Bug#12927)
258
259 2012-11-20 Michael Albinus <michael.albinus@gmx.de>
260
261 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
262 order to distinguish from trunk.
263
264 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
267 non-symbols for compiler macros (yet).
268
269 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
270 Fallback on completion-at-point rather than
271 pcomplete-expand-and-complete, and only if pcomplete actually failed.
272 (eshell-cmpl-initialize): Setup completion-at-point.
273
274 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
275
276 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
277
278 2012-11-19 Michael Albinus <michael.albinus@gmx.de>
279
280 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
281 are remote, check out-of-band property for both.
282
283 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * window.el (switch-to-buffer): Re-add the warning that was lost in the
286 code rewrite.
287
288 2012-11-18 Paul Eggert <eggert@cs.ucla.edu>
289
290 More minor time fixes.
291 * calendar/time-date.el: Commentary fix.
292 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
293 too much other code depends on (0 0) time stamps.
294 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
295 Add a couple of FIXME comments.
296
297 Minor cleanup for times as lists of four integers.
298 * files.el (dir-locals-directory-cache):
299 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
300 Doc fixes.
301 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
302 * ps-bdf.el (bdf-file-newer-than-time):
303 Process four-integers time stamps, not two. Doc fixes.
304
305 2012-11-18 Glenn Morris <rgm@gnu.org>
306
307 * image.el (insert-image, insert-sliced-image): Doc fix.
308
309 2012-11-17 Chong Yidong <cyd@gnu.org>
310
311 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
312 (Bug#12810).
313
314 2012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
315
316 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
317 response when the target file is in a subdirectory (Bug#12757).
318
319 2012-11-17 Chong Yidong <cyd@gnu.org>
320
321 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
322
323 2012-11-17 Glenn Morris <rgm@gnu.org>
324
325 * woman.el (woman-non-underline-faces):
326 * emacs-lisp/cl-lib.el (face-underline-p):
327 Use set-face-underline rather than the alias set-face-underline-p.
328
329 * window.el (with-temp-buffer-window): Doc fix.
330 * subr.el (with-output-to-temp-buffer):
331 Add doc xref to with-temp-buffer-window.
332
333 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * emacs-lisp/cl-lib.el: Set more meaningful version number.
336
337 2012-11-16 Martin Rudalics <rudalics@gmx.at>
338
339 * window.el (enlarge-window, shrink-window): Don't mention return
340 value in doc-string (Bug#12896).
341 (window--display-buffer): Don't resize frames - it won't work
342 with all window managers and defeat pop-up-frame-alist.
343 (display-buffer-alist): In doc-string explain that CONDITION can
344 be a function and which arguments are passed to it (Bug#12854).
345 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
346 expressions (Bug#12854).
347 (display-buffer): Pass ACTION argument to
348 display-buffer-assq-regexp.
349
350 2012-11-16 Glenn Morris <rgm@gnu.org>
351
352 * window.el (fit-frame-to-buffer-bottom-margin)
353 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
354
355 * faces.el (face-underline-p): Use face-attribute-specified-or.
356
357 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
358
359 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
360
361 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
364
365 2012-11-15 Glenn Morris <rgm@gnu.org>
366
367 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
368 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
369
370 * faces.el (face-underline-p): Doc fix. Handle :underline being
371 things other than `t' (a string, a list).
372 (face-inverse-video-p): Doc fix.
373 (set-face-underline): Rename it back from set-face-underline-p.
374 Doc fix. Allow interactive input of values other than t.
375 (read-face-attribute): Apply formatting to :underline,
376 since like :box and :stipple it can take list values.
377
378 * term.el (ansi-term): Don't let C-x escape-char binding
379 clobber the more standard C-c binding. (Bug#12842)
380
381 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
384 (bug#12879).
385
386 2012-11-14 Glenn Morris <rgm@gnu.org>
387
388 * subr.el (set-temporary-overlay-map): Doc fix.
389
390 2012-11-13 Martin Rudalics <rudalics@gmx.at>
391
392 * window.el (record-window-buffer)
393 (display-buffer-record-window): When copying the markers to
394 window-point preserve window-point-insertion-type. (Bug#12588)
395
396 2012-11-13 Glenn Morris <rgm@gnu.org>
397
398 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
399 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
400 Use new names for hooks rather than obsolete aliases.
401
402 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
405
406 2012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
407
408 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
409 39 and 49. This fixes bug#12792. Also, treat unimplemented
410 parameters as 0, thereby restoring the behavior of revisions prior
411 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
412
413 2012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
414
415 Fix end-of-defun misbehavior.
416 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
417 python-beginning-of-defun-function. Handle nested defuns
418 correctly.
419 (python-nav-end-of-defun): Rename from
420 python-end-of-defun-function. Ensure forward movement.
421 (python-info-current-defun): Reimplement to work as intended
422 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
423 parent defuns as soon as possible.
424
425 2012-11-12 Glenn Morris <rgm@gnu.org>
426
427 * progmodes/flymake.el (flymake-error-bitmap)
428 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
429 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
430
431 2012-11-12 Dmitry Gutov <dgutov@yandex.ru>
432
433 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
434 backward, always stop at indentation. Reverts the change from
435 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
436
437 2012-11-11 Glenn Morris <rgm@gnu.org>
438
439 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
440 Add ibuffer-filter-by-derived-mode.
441
442 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
443 the same name shadowing each other.
444
445 * window.el (with-temp-buffer-window): Doc tweak.
446
447 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
448
449 * help.el (temp-buffer-max-height):
450 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
451 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
452
453 2012-11-10 Leo Liu <sdl.web@gmail.com>
454
455 * ido.el (ido-set-matches-1): Fix split-string args to avoid
456 performance issue. (Bug#12796)
457
458 2012-11-10 Glenn Morris <rgm@gnu.org>
459
460 * term.el (term-default-fg-color, term-default-bg-color):
461 Make obsolete, rather than just saying "deprecated" in the doc.
462
463 * term.el (term): Rename from `term-face'.
464 (term-current-face, ansi-term-color-vector)
465 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
466 Update all users.
467
468 2012-11-09 Jan Djärv <jan.h.d@swipnet.se>
469
470 * server.el (server-create-window-system-frame): Improve comment.
471
472 2012-11-08 Jan Djärv <jan.h.d@swipnet.se>
473
474 * server.el (server-create-window-system-frame): Handle Nextstep
475 specially (Bug#12780).
476
477 2012-11-08 Glenn Morris <rgm@gnu.org>
478
479 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
480 Unautoload, and make obsolete. (Bug#7449)
481
482 2012-11-08 Chong Yidong <cyd@gnu.org>
483
484 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
485 rename from diff-remove-trailing-whitespace (Bug#12831).
486
487 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
490 miscompilation of trace.el.
491
492 2012-11-08 Glenn Morris <rgm@gnu.org>
493
494 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
495
496 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
499 (bug#12812).
500
501 2012-11-07 Chong Yidong <cyd@gnu.org>
502
503 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
504 a defcustom with an appropriate :set function.
505 (minibuffer-default--in-prompt-regexps): New function.
506
507 2012-11-07 Glenn Morris <rgm@gnu.org>
508
509 * emacs-lisp/cl.el (define-setf-expander, defsetf)
510 (define-modify-macro): Doc fixes.
511
512 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
513 (gv-define-simple-setter): Update doc of `fix-return'.
514
515 2012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
518 twice when `fix-return' is set (bug#12813).
519
520 * emacs-lisp/cl.el (defsetf): Pass the third arg to
521 gv-define-simple-setter (bug#12812).
522
523 2012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
526 (bug#12756).
527
528 2012-11-06 Glenn Morris <rgm@gnu.org>
529
530 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
531
532 2012-11-05 Glenn Morris <rgm@gnu.org>
533
534 * emacs-lisp/cl-extra.el (cl-prettyexpand):
535 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
536 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
537 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
538
539 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
540
541 2012-11-03 Glenn Morris <rgm@gnu.org>
542
543 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
544 Rename handler properties back from cl-- to cl-. (Bug#12788)
545
546 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
547
548 2012-11-03 Eli Zaretskii <eliz@gnu.org>
549
550 * term/pc-win.el: Don't load term/internal from here.
551
552 * loadup.el: Load term/internal from here.
553
554 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
555
556 * progmodes/python.el (inferior-python-mode): Fix hang in
557 jit-lock (Bug#12645).
558
559 2012-11-03 Martin Rudalics <rudalics@gmx.at>
560
561 * window.el (switch-to-visible-buffer)
562 (switch-to-buffer-preserve-window-point): Fix doc-strings.
563
564 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
565
566 * play/gomoku.el (gomoku-display-statistics): Update mode line
567 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
568
569 2012-10-31 Martin Rudalics <rudalics@gmx.at>
570
571 * window.el (quit-restore-window): If the window has been
572 created on an existing frame and ended up as the sole window on
573 that frame, do not delete it (Bug#12764).
574
575 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * progmodes/sh-script.el (sh--inside-noncommand-expression):
578 Rename from sh--inside-arithmetic-expression, handle more cases
579 (bug#11263).
580
581 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
582 (sh-font-lock-open-heredoc): Use it (bug#12770).
583
584 2012-10-30 Glenn Morris <rgm@gnu.org>
585
586 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
587
588 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
589
590 2012-10-29 Chong Yidong <cyd@gnu.org>
591
592 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
593 function key is stored in a keyboard macro (Bug#4894).
594
595 * thingatpt.el (number-at-point): Apply a thing-at-point property.
596
597 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
600 header comments".
601 (diff-unified->context, diff-context->unified)
602 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
603
604 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
605
606 * files.el (find-alternate-file): Only ask one question (bug#12487).
607
608 2012-10-29 Chong Yidong <cyd@gnu.org>
609
610 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
611 Suggested by Dan Nicolaescu (Bug#6326).
612
613 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
614
615 * startup.el (fancy-about-screen): Don't message (Bug#12680).
616
617 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
618
619 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
620
621 * face-remap.el (face-remap-add-relative): Handle the case where a
622 face-remapping-alist entry is a cons cell (Bug#12762).
623
624 2012-10-29 Kevin Ryde <user42@zip.com.au>
625
626 * woman.el (woman-parse-numeric-value): Handle picas correctly
627 (Bug#12639).
628
629 2012-10-29 Glenn Morris <rgm@gnu.org>
630
631 * emacs-lisp/cl.el (defsetf): Doc fix.
632
633 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
634
635 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
636 syntax to the matching opener, if any (bug#12547).
637 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
638 matching open as a "case-(".
639 (sh-smie-rc-grammar): Add a corresponding rule for it.
640
641 2012-10-28 Daniel Hackney <dan@haxney.org>
642
643 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
644 "PKGNAME-autoloads.el" in case we created it.
645
646 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
649 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
650 (completion--twq-all): Disable too-strict assertions.
651
652 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
653
654 2012-10-27 Eli Zaretskii <eliz@gnu.org>
655
656 * profiler.el (profiler-report-make-entry-part): Fix help-echo
657 text to match the real keybindings.
658
659 2012-10-27 Juri Linkov <juri@jurta.org>
660
661 * wdired.el (wdired-keep-marker-rename): New defcustom.
662 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
663 (Bug#11795)
664
665 * dired.el (dired-keep-marker-rename): Add reference to
666 `wdired-keep-marker-rename' in the docstring.
667 Add default character value ?R to display initially in
668 Customization UI instead of ?@.
669
670 2012-10-27 Martin Rudalics <rudalics@gmx.at>
671
672 * window.el (display-buffer): In doc-string describe
673 window-height and window-width alist entries.
674
675 * time.el (display-time-world): Restore fit-window-to-buffer
676 behavior.
677
678 2012-10-27 Chong Yidong <cyd@gnu.org>
679
680 * subr.el (insert-buffer-substring-as-yank): Doc fix.
681
682 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
683
684 * minibuffer.el (completion-category-overrides): New completion
685 category `bookmark' (bug#11131).
686
687 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * emacs-lisp/advice.el (ad-assemble-advised-definition):
690 Silence bogus compiler warnings for ad-do-it.
691
692 * bookmark.el (bookmark-completing-read): Set the completion category
693 to `bookmark' (bug#11131).
694
695 2012-10-26 Bastien <bzg@altern.org>
696 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * face-remap.el: Use lexical-binding.
699 (text-scale-adjust): Improve docstring. Use itself for the temporary
700 overlay-map bindings, so as to repeat the "Use..." message each time.
701
702 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * emacs-lisp/macroexp.el (macroexp--expand-all):
705 Obey byte-compile-warning-enabled-p (bug#12486).
706
707 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
708 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
709
710 2012-10-26 Martin Rudalics <rudalics@gmx.at>
711
712 * mouse.el (mouse-drag-line): Move last form into preceding when
713 clause (Bug#12731).
714
715 * help.el (resize-temp-buffer-window): Fix doc-string.
716
717 2012-10-25 David Engster <deng@randomsample.de>
718
719 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
720 Remove. This feature is already integrated in imenu.
721
722 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
723 always loaded. Require `speedbar' unconditionally.
724
725 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
728
729 * minibuffer.el (minibuffer-force-complete): Fix thinko.
730
731 * net/ldap.el (ldap-search-internal): The official ldif format starts
732 with a "version: 1" header (bug#12724).
733
734 * emacs-lisp/package.el (package-installed-p): Warn if not ready
735 (bug#12721).
736
737 2012-10-25 Glenn Morris <rgm@gnu.org>
738
739 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
740
741 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * minibuffer.el (minibuffer-force-complete): Use one more marker
744 for the temporary-overlay-map command (bug#12619).
745
746 2012-10-24 Chong Yidong <cyd@gnu.org>
747
748 * time.el (display-time-world-mode): Derive from special-mode.
749 (display-time-world): Use display-buffer (Bug#12708).
750 (display-time-world-mode-map): Variable deleted.
751 (display-time-world-display): Wrap the final delete-char inside
752 inhibit-read-only.
753
754 2012-10-24 Chong Yidong <cyd@gnu.org>
755
756 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
757 Doc fix.
758
759 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
760
761 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * minibuffer.el (completion--all-sorted-completions-location): New var.
764 (completion--cache-all-sorted-completions)
765 (completion--flush-all-sorted-completions): Use it.
766 (completion-in-region, completion-in-region--postch)
767 (completion-at-point, completion-help-at-point): Use markers in
768 completion-in-region--data (bug#12619).
769
770 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * progmodes/compile.el (compilation-start): Try to handle common
773 quoting of `cd' argument (bug#12640).
774
775 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
776 (bug#12671).
777
778 2012-10-23 Glenn Morris <rgm@gnu.org>
779
780 * progmodes/gud.el (gud-menu-map):
781 Check gdb-active-process is bound. (Bug#12358)
782
783 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * repeat.el (repeat): Set real-this-command (bug#12232).
786
787 * htmlfontify.el (hfy-post-html-hook):
788 * filesets.el (filesets-cache-fill-content-hook):
789 * arc-mode.el (archive-extract-hook):
790 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
791 * net/rcirc.el (rcirc-sentinel-functions)
792 (rcirc-receive-message-functions, rcirc-activity-functions)
793 (rcirc-print-functions):
794 * net/dbus.el (dbus-event-error-functions):
795 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
796 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
797 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
798 * term/sun.el (sun-raw-prefix-hooks):
799 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
800
801 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
802
803 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
804 Set `tramp-chunksize' to 1. This improves the performance.
805 (tramp-smb-wait-for-output): Add timeout to
806 `tramp-accept-process-output' calls.
807
808 2012-10-23 Chong Yidong <cyd@gnu.org>
809
810 * faces.el (font-list-limit): Define as an obsolete variable.
811
812 * startup.el (command-line):
813 * cus-start.el: Don't refer to font-list-limit.
814
815 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
816
817 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * subr.el (internal-temp-output-buffer-show): Rename from
820 temp-output-buffer-show, since previously compiled files expect this name.
821
822 2012-10-23 Glenn Morris <rgm@gnu.org>
823
824 * image.el (image-type-from-file-name): If multiple types match,
825 return the first one that is supported. (Bug#9045)
826
827 2012-10-22 Glenn Morris <rgm@gnu.org>
828
829 * image.el (imagemagick-enabled-types): Doc fix.
830
831 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
832
833 * progmodes/which-func.el (which-func-current): The hash-table may have
834 an explicit nil (bug#12338).
835
836 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * electric.el (electric-pair-delete-selection-self-insert-function):
839 Rename to electric-pair-will-use-region, return a boolean.
840 (electric-pair-mode): Adjust accordingly. Don't require delsel.
841
842 * delsel.el (delete-selection-helper): Use a function instead of a hook.
843 (delete-selection-pre-hook): Use use-region-p.
844 (delete-selection-self-insert-function): Remove.
845 (self-insert-command): Obey self-insert-uses-region-functions.
846 (self-insert-iso): Revert to previous setting, since we don't actually
847 know what that command does.
848 (delete-selection-self-insert-hooks): Remove.
849
850 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
851
852 * delsel.el (delete-selection-helper): New function, extracted from
853 delete-selection-pre-hook.
854 (delete-selection-pre-hook): Use it.
855 (delete-selection-self-insert-function): New function.
856 (delete-selection-self-insert-hooks): New hook.
857 (self-insert-command, self-insert-iso): Use it.
858 * electric.el (electric-pair-syntax): New function, extracted from
859 electric-pair-post-self-insert-function.
860 (electric-pair-post-self-insert-function): Use it.
861 (electric-pair-delete-selection-self-insert-function): New function.
862 (electric-pair-mode): Require delsel and setup
863 delete-selection-self-insert-hooks (bug#11520).
864
865 2012-10-20 Chong Yidong <cyd@gnu.org>
866
867 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
868 no changes to show (Bug#12586).
869
870 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
871 list explicitly (Bug#12571).
872
873 2012-10-20 Arne Jørgensen <arne@arnested.dk>
874
875 * progmodes/flymake.el (flymake-create-temp-inplace):
876 Use file-truename.
877
878 2012-10-20 Eli Zaretskii <eliz@gnu.org>
879
880 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
881
882 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
883
884 * calc/calc-units.el (math-extract-units): Properly extract powers
885 of units.
886
887 2012-10-20 Daniel Colascione <dancol@dancol.org>
888
889 * frame.el (make-frame): Set x-display-name as we used to in order
890 to unbreak creating an X11 frame from an Emacs daemon started
891 without a display.
892
893 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * minibuffer.el (minibuffer-force-complete): Make the next completion use
896 the same completion-field (bug@12221).
897
898 2012-10-19 Martin Rudalics <rudalics@gmx.at>
899
900 * emacs-lisp/debug.el (debug): Record height of debugger window
901 also when debugger will be back (Bug#8789).
902
903 2012-10-18 Chong Yidong <cyd@gnu.org>
904
905 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
906 Convert to defcustom.
907 (gdb-get-source-file): Don't bind pop-up-windows.
908
909 * progmodes/gud.el (gud-display-line): Don't specially re-use
910 other frames for the gdb-mi case (Bug#12648).
911
912 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * emacs-lisp/advice.el: Clean up commentary a bit.
915 (ad-do-advised-functions, ad-with-originals): Use `declare'.
916 (byte-code-function-p): Never redefine.
917
918 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
919
920 2012-10-18 Glenn Morris <rgm@gnu.org>
921
922 * dired.el (dired-sort-toggle): Some ls implementations only allow
923 a single option string. (Bug#12666)
924
925 * minibuffer.el (completion-cycle-threshold): Doc fix.
926
927 2012-10-17 Kenichi Handa <handa@gnu.org>
928
929 * international/mule.el (set-keyboard-coding-system):
930 Recover input meta mode when the new coding system doesn not use 8-bit.
931 Supply TERMINAL arg to set-input-meta-mode.
932
933 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
934
935 * wdired.el (wdired-old-marks): New variable.
936 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
937 (wdired-do-renames): Move point with renamed file and don't lose
938 mark status (Bug#11795).
939
940 2012-10-16 Juri Linkov <juri@jurta.org>
941
942 * replace.el (query-replace-help): Mention multi-buffer replacement
943 keys in the Help message. (Bug#12655)
944
945 2012-10-15 Chong Yidong <cyd@gnu.org>
946
947 * emacs-lisp/byte-run.el (defsubst): Doc fix.
948
949 2012-10-14 Eli Zaretskii <eliz@gnu.org>
950
951 * window.el (display-buffer): Doc fix.
952
953 * progmodes/compile.el (compilation-error-regexp-alist-alist):
954 Adjust the msft regexp to the output of Studio 2010, and move msft
955 before edg-1. See the discussion on emacs-devel,
956 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
957 for the details.
958
959 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
962 (oset): Move uses of object-class-fast macro after its definition.
963
964 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
965
966 2012-10-13 Chong Yidong <cyd@gnu.org>
967
968 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
969 enabled, re-enable it (Bug#11963).
970
971 2012-10-13 Martin Rudalics <rudalics@gmx.at>
972
973 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
974 non-nil, restore window configuration (Bug#12623).
975
976 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * help-fns.el (describe-variable, describe-function-1):
979 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
980
981 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
982
983 2012-10-12 Glenn Morris <rgm@gnu.org>
984
985 * mail/rmailsum.el (rmail-header-summary):
986 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
987
988 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
989
990 * progmodes/python.el (python-mode-map):
991 Replace subtitute-key-definition with proper command remapping.
992 (python-nav--up-list): Fix behavior for blocks on the same level.
993
994 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
995
996 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
997
998 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
999 changes to the format of load-history.
1000
1001 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1002 completion-ignore-case in case that var is buffer-local (bug#12615).
1003
1004 2012-10-11 Kenichi Handa <handa@gnu.org>
1005
1006 * international/eucjp-ms.el: Re-generated.
1007
1008 2012-10-10 Kenichi Handa <handa@gnu.org>
1009
1010 * select.el (xselect--encode-string): If a coding is specified for
1011 selection, and that is compatible with COMPOUND_TEXT, use it.
1012
1013 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1014
1015 * window.el (switch-to-buffer-preserve-window-point): New option.
1016 (switch-to-buffer):
1017 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1018
1019 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1022 Don't document nil as a useful value (bug#12583).
1023
1024 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1025
1026 * net/tramp.el (tramp-debug-message):
1027 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1028 (with-tramp-progress-reporter): Rename from
1029 `tramp-with-progress-reporter'.
1030 (with-tramp-file-property, with-tramp-connection-property):
1031 Move from tramp-cache.el, rename from `with-file-property' and
1032 `with-connection-property', respectively.
1033
1034 * net/tramp-cache.el: Remove `with-file-property' and
1035 `with-connection-property'.
1036
1037 * net/tramp.el:
1038 * net/tramp-gvfs.el:
1039 * net/tramp-sh.el:
1040 * net/tramp-smb.el: Adapt callees.
1041
1042 * net/trampver.el: Update release number.
1043
1044 2012-10-09 Glenn Morris <rgm@gnu.org>
1045
1046 * w32-fns.el (set-message-beep):
1047 * term/w32-win.el (set-message-beep): Update declarations.
1048
1049 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1052 (mode-line-widen, mode-line-input-method-map)
1053 (mode-line-coding-system-map, mode-line-remote)
1054 (mode-line-unbury-buffer, mode-line-bury-buffer)
1055 (mode-line-next-buffer, mode-line-previous-buffer):
1056 Replace save-selected-window+select-window => with-selected-window.
1057
1058 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1059 * progmodes/cc-vars.el (bq-process): Remove, unused.
1060
1061 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1062
1063 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1064
1065 Implemented `backward-up-list'-like navigation.
1066 * progmodes/python.el (python-nav-up-list)
1067 (python-nav-backward-up-list): New functions.
1068 (python-mode-map): Define substitute key for backward-up-list to
1069 python-nav-backward-up-list.
1070
1071 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1072
1073 * progmodes/python.el (python-fill-paragraph): Rename from
1074 python-fill-paragraph-function. Fixed fill-paragraph for
1075 decorators (Bug#12605).
1076
1077 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1078
1079 * progmodes/python.el (python-shell-output-filter): Handle extra
1080 carriage return in OSX (Bug#12409).
1081
1082 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1083
1084 Fix shell handling of unbalanced quotes and parens in output.
1085 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1086 (python-syntax-propertize-function): Use it.
1087 (python-shell-output-syntax-table): New var.
1088 (inferior-python-mode): Prevent unbalanced parens/quotes from
1089 previous output mess with current input context.
1090
1091 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1092
1093 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1094 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1095
1096 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1097
1098 * ffap.el (ffap-replace-file-component): Support Tramp file name
1099 syntax, not only ange-ftp's one.
1100
1101 2012-10-08 Glenn Morris <rgm@gnu.org>
1102
1103 * cus-start.el (message-log-max): Set :version.
1104
1105 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1106
1107 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1108
1109 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1110 the minibuffer window (Bug#10851).
1111
1112 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1113
1114 Enhancements on forward-sexp movement.
1115 * progmodes/python.el (python-nav-beginning-of-statement)
1116 (python-nav-end-of-statement): Return point-marker.
1117 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1118 (python-info-current-symbol)
1119 (python-info-statement-starts-block-p): Rename from
1120 python-info-beginning-of-block-p.
1121 (python-info-statement-ends-block-p): Rename from
1122 python-info-end-of-block-p.
1123 (python-info-beginning-of-statement-p)
1124 (python-info-end-of-statement-p)
1125 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1126 New functions.
1127
1128 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1131 frame-selected-windows.
1132
1133 2012-10-08 Daniel Colascione <dancol@dancol.org>
1134
1135 * battery.el (battery-status-function): Check for
1136 w32-battery-status itself, not system-time windows-nt.
1137
1138 * frame.el: Require cl-lib.
1139 (display-format-alist): New variable mapping frame types to
1140 functions that initialize them.
1141 (window-system-for-display): New function: interprets
1142 display-format-alist.
1143 (make-frame-on-display): Remove existing display-selection logic
1144 and just forward to make-frame, which will now DTRT.
1145 (make-frame): Restructure to use window-system-for-display to
1146 figure out how to create a frame on a given display.
1147 (display-mouse-p): Look for frame-type w32, not a particular
1148 system-type.
1149
1150 * loadup.el: Load w32 lisp code when we have the w32 feature.
1151
1152 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1153 system-type windows-nt.
1154
1155 * server.el (server-create-window-system-frame): Look for window
1156 type.
1157 (server-proces-filter): Only force a window system when windows-nt
1158 _and_ w32. Explain why.
1159
1160 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1161 of window systems we configure for the mode.
1162
1163 * startup.el (command-line): Mark window system is initialized
1164 after we've done it.
1165
1166 * common-win.el (x-select-text): Look for w32, not windows-nt.
1167
1168 * ns-win.el: Require cl-lib. Add ourselves to
1169 display-format-alist.
1170 (ns-initialize-window-system): Assert we're not initialized twice.
1171
1172 * w32-win.el: Enable lexical binding; require cl-lib; add
1173 ourselves to display-format-alist.
1174 (w32-handle-dropped-file): Convert incoming dropped files from
1175 Windows paths to Cygwin ones before passing them on to the rest of
1176 Emacs.
1177 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1178 (w32-initialize-window-system): Assert we're not initialized twice.
1179
1180 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1181 (x-initialize-window-system): Assert we're not initialized twice.
1182
1183 * w32-common-fns.el: New File.
1184 (w32-version, w32-using-nt, w32-get-clipboard-data)
1185 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1186 (w32-charset-info-alist, x-last-selected, text)
1187 (x-get-selection-value, x-selection-value): Move here.
1188
1189 * w32-fns.el: Require w32-common-fns.
1190 (w32-version, w32-using-nt, w32-get-clipboard-data)
1191 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1192 (w32-charset-info-alist, x-last-selected, text)
1193 (x-get-selection-value, x-selection-value): Move to
1194 w32-common-fns.
1195
1196 * w32-vars.el:
1197 (w32-allow-system-shell, w32-system-shells): Define only in
1198 non-cygwin case.
1199
1200 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1203 (read-passwd): Remove a few more potential sources of leaks.
1204
1205 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1206
1207 * progmodes/python.el (inferior-python-mode)
1208 (python-shell-make-comint): Fix initialization of local
1209 variables copied from parent buffer.
1210
1211 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1212
1213 * term/ns-win.el (ns-read-file-name): Update declaration to match
1214 nsfns.m.
1215 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1216 it is set when font is acted upon.
1217
1218 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1219
1220 Enhancements to indentation.
1221 * progmodes/python.el (python-indent-context): Give priority to
1222 inside-string context. Make comments indentation markers.
1223 (python-indent-region): Do not mess with strings, unless it's the
1224 enclosing set of quotes.
1225
1226 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * window.el (internal--before-save-selected-window)
1229 (internal--after-save-selected-window): New functions extracted from
1230 save-selected-window. Make sure we return the `alist' we construct.
1231 (save-selected-window): Use them.
1232
1233 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1234 Use with-selected-window.
1235
1236 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1237 forms that define macros (bug#12593).
1238
1239 2012-10-07 Kenichi Handa <handa@gnu.org>
1240
1241 * international/mule-conf.el (compound-text-with-extensions):
1242 Add :mime-charset property as x-ctext.
1243
1244 2012-10-07 Stefan Merten <smerten@oekonux.de>
1245
1246 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1247 (rst-indent-literal-normal, rst-indent-literal-minimized)
1248 (rst-indent-comment): Correct :version tag.
1249 (rst-official-cvs-rev): Correct version string.
1250
1251 2012-10-07 Glenn Morris <rgm@gnu.org>
1252
1253 * mail/rmailmm.el (rmail-mime-process-multipart):
1254 Do not confuse a multipart message with an epilogue
1255 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1256
1257 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1258
1259 Fix shell output retrieval and comint-prompt-regexp init.
1260 * progmodes/python.el (inferior-python-mode):
1261 (python-shell-make-comint): Fix initialization of
1262 comint-prompt-regexp from copied file local variables.
1263 (python-shell-fetched-lines): Remove var.
1264 (python-shell-output-filter-in-progress): Rename from
1265 python-shell-fetch-lines-in-progress.
1266 (python-shell-output-filter-buffer): Rename from
1267 python-shell-fetch-lines-string.
1268 (python-shell-fetch-lines-filter): Delete function.
1269 (python-shell-output-filter): New function.
1270 (python-shell-send-string-no-output): Use them.
1271
1272 2012-10-07 Glenn Morris <rgm@gnu.org>
1273
1274 * hi-lock.el (hi-lock-process-phrase):
1275 Try to make it less fragile. (Bug#7161)
1276
1277 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1278
1279 2012-10-06 Glenn Morris <rgm@gnu.org>
1280
1281 * ehelp.el (electric-help-mode): Use help-mode rather than
1282 non-existent mode `help'.
1283 (electric-help-map): Use button-buffer-map. (Bug#10917)
1284
1285 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1286 (reftex-create-bibtex-footer): Fix custom types.
1287
1288 * progmodes/sh-script.el (sh-indent-after-continuation):
1289 Add explicit :group.
1290
1291 * textmodes/rst.el (rst-preferred-decorations)
1292 (rst-shift-basic-offset): Clarify obsolescence versions.
1293
1294 * profiler.el (profiler): Add missing group :version tag.
1295 * avoid.el (mouse-avoidance-banish-position):
1296 * proced.el (proced-renice-command):
1297 * calc/calc.el (calc-ensure-consistent-units):
1298 * calendar/icalendar.el (icalendar-import-format-uid):
1299 * net/tramp.el (tramp-save-ad-hoc-proxies):
1300 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1301 * progmodes/flymake.el (flymake-error-bitmap)
1302 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1303 * progmodes/sh-script.el (sh-indent-after-continuation):
1304 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1305 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1306 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1307 (vhdl-array-index-record-field-in-sensitivity-list)
1308 (vhdl-indent-comment-like-next-code-line):
1309 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1310 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1311 (reftex-cite-key-separator, reftex-create-bibtex-header)
1312 (reftex-create-bibtex-footer):
1313 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1314 (rst-indent-literal-normal, rst-indent-literal-minimized)
1315 (rst-indent-comment): Add missing custom :version tags.
1316
1317 * calendar/timeclock.el (timeclock-modeline-display):
1318 Add missing obsolete alias for renamed user option.
1319
1320 * strokes.el (strokes-modeline-string):
1321 * emulation/crisp.el (crisp-mode-modeline-string):
1322 * eshell/esh-mode.el (eshell-status-in-modeline):
1323 Aliases to defcustoms must come before the defcustom.
1324
1325 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1326 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1327 (cal-tex-cursor-week-monday): Doc fixes.
1328 (cal-tex-cursor-week2-summary): Doc fix.
1329 Rename from cal-tex-cursor-week-at-a-glance.
1330
1331 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1332 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1333
1334 * calendar/calendar.el (calendar-mode-map):
1335 Add cal-tex-cursor-week2-summary.
1336
1337 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1340
1341 * subr.el (read-passwd-map): New var.
1342 (read-passwd): Use `read-string' again.
1343 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1344
1345 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1346
1347 * register.el (append-to-register, prepend-to-register):
1348 Deactivate mark, as does `copy-to-register' (bug#12389).
1349
1350 2012-10-06 Chong Yidong <cyd@gnu.org>
1351
1352 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1353
1354 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1355
1356 * international/characters.el: Fix simple mistake ((car chars) ->
1357 elt), delete duplicated code.
1358
1359 2012-10-06 Glenn Morris <rgm@gnu.org>
1360
1361 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1362
1363 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1364
1365 * color.el (color-hsl-to-rgb): Fix incorrect results for
1366 small and large hue values. (Bug#12559)
1367
1368 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1369
1370 Enhancements to docstring formatting when filling paragraphs.
1371 * progmodes/python.el (python-fill-docstring-style): Rename from
1372 python-fill-string-style. Added new style.
1373 (python-fill-string): Use new style. Better checks for
1374 docstrings.
1375
1376 2012-10-05 Glenn Morris <rgm@gnu.org>
1377
1378 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1379
1380 * color.el (color-name-to-rgb, color-rgb-to-hex)
1381 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1382 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1383 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1384 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1385
1386 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1387
1388 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1389
1390 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1391 to get the correct size across symlinks.
1392
1393 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1394
1395 2012-10-04 Juri Linkov <juri@jurta.org>
1396
1397 * replace.el (query-replace-interactive): Declare obsolete.
1398 (query-replace-read-from): Add the last incremental search string
1399 to the list of default values accessible via M-n.
1400 (map-query-replace-regexp): Use `read-regexp'.
1401 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1402 (map-query-replace-regexp, replace-string, replace-regexp):
1403 Fix docstrings to replace mentions of `query-replace-interactive'
1404 with alternatives. (Bug#12526)
1405
1406 2012-10-04 Juri Linkov <juri@jurta.org>
1407
1408 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1409 (dired-pop-to-buffer): Declare obsolete.
1410 (dired-mark-pop-up): Doc fix.
1411
1412 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1413
1414 Allow user to set docstring style for fill-paragraph.
1415 * progmodes/python.el
1416 (python-fill-comment-function, python-fill-string-function)
1417 (python-fill-decorator-function, python-fill-paren-function):
1418 Remove :safe for defcustoms.
1419 (python-fill-string-style): New defcustom
1420 (python-fill-paragraph-function): Enhance context detection.
1421 (python-fill-string): Honor python-fill-string-style settings.
1422
1423 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1424
1425 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1426 after setting its buffer (Bug#10805).
1427
1428 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1429
1430 Fix cornercase for string syntax.
1431 * progmodes/python.el (python-syntax-propertize-function):
1432 Simplify and enhance the regexp for unescaped quotes. Now it also
1433 matches quotes in weird situations like the single quote in
1434 "something\"'".
1435 (python-syntax-stringify): Simplify num-quotes detecting code.
1436
1437 2012-10-03 Glenn Morris <rgm@gnu.org>
1438
1439 * help-macro.el (three-step-help):
1440 Revert 2012-09-29 change. (Bug#12567)
1441
1442 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1443
1444 * menu-bar.el (kill-this-buffer): Don't do anything when
1445 `menu-frame' is not alive or visible (Bug#8184).
1446
1447 * emacs-lisp/debug.el (debug): When quitting the debugger window
1448 restore current buffer (Bug#12502).
1449
1450 2012-10-02 Chong Yidong <cyd@gnu.org>
1451
1452 * progmodes/hideif.el (hif-lookup, hif-defined):
1453 Handle semantic-c-takeover-hideif.
1454
1455 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1456
1457 Change sampling interval units from ms to ns.
1458 * profiler.el (profiler-sampling-interval): Change units
1459 from ms to ns, multiplying the default by 1000000 so that
1460 it remains 1 ms.
1461 (profiler-report-cpu-line-format): Give enough room for
1462 the maximum counters on 64-bit hosts.
1463 (profiler-report-render-calltree-1): Call them "CPU samples",
1464 not "Time (ms)", since they are not milliseconds now (and
1465 never really were).
1466
1467 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1468
1469 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1470 Fix querying BBDB for entries without a last name (Bug#11580).
1471
1472 2012-10-02 Chong Yidong <cyd@gnu.org>
1473
1474 * emacs-lisp/eieio.el: Restore Version header.
1475
1476 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * vc/diff-mode.el (diff--auto-refine-data): New var.
1479 (diff-hunk): Use it to delay refinement.
1480 (diff-mode): Remove overlays when we turn off font-lock.
1481
1482 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1483 (table-initialize-table-fixed-width-mode)
1484 (table-set-table-fixed-width-mode): Remove functions.
1485 (table-command-list): Move initialization into declaration.
1486 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1487 (table-with-cache-buffer): Use `declare'.
1488 (table-span-cell): Simplify via CSE.
1489 (table-fixed-width-mode): Use define-minor-mode.
1490 (table-call-interactively, table-funcall, table-apply): Remove.
1491 (table-function): New function, to replace them.
1492
1493 * bookmark.el (bookmark-search-pattern): Remove var.
1494 (bookmark-read-search-input): Remove function.
1495 (bookmark-bmenu-search): Reimplement using a minibuffer.
1496
1497 * faces.el (modeline): Remove obsolete face name.
1498
1499 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1500 and give a non-nil default value.
1501 (add-change-log-entry): Simplify accordingly.
1502
1503 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1504
1505 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1506 (vc-git-log-edit-toggle-amend): New function.
1507 (vc-git-log-edit-toggle-signoff): New function.
1508 (vc-git-log-edit-mode): New major mode.
1509 (vc-git-log-edit-mode-map): Keymap for it.
1510 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1511
1512 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1513 header names.
1514 (log-edit-toggle-header): New function.
1515 (log-edit-extract-headers): Accept function values in HEADERS alist.
1516
1517 2012-10-01 David Engster <deng@randomsample.de>
1518
1519 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1520 from symbol property and change message to be more consistent with
1521 Emacs proper.
1522 (eieio-describe-generic): Add filename for each implementation.
1523 Fix indices for generic and normal methods.
1524 (eieio-method-def, eieio-class-def): New buttons.
1525 (eieio-help-find-method-definition)
1526 (eieio-help-find-class-definition): New functions.
1527 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1528 class, constructor and method definitions.
1529
1530 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1531 information in symbol property.
1532 (scoped-class): Remove.
1533 (eieio-slot-name-index, call-next-method): Check if it is bound.
1534
1535 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1536
1537 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1538 (eieio-custom-mode): New major mode.
1539 (eieio-customize-object): Use it.
1540
1541 2012-10-01 Eric Ludlam <zappo@gnu.org>
1542
1543 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1544 specifying the expected class, and whether subclassing is allowed.
1545 (eieio-persistent-convert-list-to-object):
1546 (eieio-persistent-validate/fix-slot-value)
1547 (eieio-persistent-slot-type-is-class-p): New functions.
1548 (eieio-named::slot-missing): Doc fix.
1549
1550 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1551 Stop using unused publd variable.
1552
1553 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1554 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1555 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1556 (eieio-speedbar-handle-click): Do not specify a class for the
1557 method. Fixes method invocation order problems with EDE.
1558
1559 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1562 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1563
1564 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1565
1566 * bookmark.el (bookmark-version-control): Give tags in the
1567 :type choices (Bug#12309), and improve doc string.
1568 (bookmark-write-file): Bind `print-circle' to `t' to allow
1569 circular custom bookmark types. (Bug#12503)
1570
1571 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1572
1573 Revert the FOLLOW-SYMLINKS change for file-attributes.
1574 * files.el (remote-file-name-inhibit-cache, after-find-file):
1575 * time.el (display-time-file-nonempty-p): Undo last change.
1576
1577 * profiler.el (profiler-sampling-interval): Change default back to 1.
1578 See Stefan Monnier in
1579 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1580
1581 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1582
1583 Shell output catching a la gud-gdb.
1584 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1585 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1586 New Vars.
1587 (python-shell-fetch-lines-filter): New function.
1588 (python-shell-send-string-no-output): Use them.
1589
1590 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1591
1592 * profiler.el (profiler-sampling-interval): Rename from
1593 profiler-sample-interval.
1594 (profiler-sampling-interval): Default to 10.
1595 (profiler-find-profile): New command (was profiler-find-log).
1596 (profiler-find-profile-other-window): New command.
1597 (profiler-find-profile-other-frame): New command.
1598 (profiler-profile): Introduce API-level data structure.
1599
1600 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1601
1602 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1603 * files.el (remote-file-name-inhibit-cache):
1604 * time.el (display-time-file-nonempty-p): Use it.
1605 * files.el (after-find-file): Don't chase links before calling
1606 file-exists-p, as file-exists-p already does the right thing.
1607
1608 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1609
1610 Merge from standalone RefTeX repository.
1611
1612 The following ChangeLog entries are shortened versions of the
1613 original ones with file paths adapted. A not so strongly edited
1614 version of the original ChangeLog can be found in the commit log.
1615
1616 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1617 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1618 Correctly handle new value type returned by `reftex-citation'.
1619
1620 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1621 that entries with whitespace at various places are found.
1622 Doc fix. Include entries that are cross-referenced from cited entries.
1623 Include @String definitions in the resulting bib file. Add header
1624 and footer defined in `reftex-create-bibtex-header' and
1625 `reftex-create-bibtex-footer'.
1626 (reftex-do-citation): Make it possible again to insert
1627 non-existent entries. Save match data when asking for optional
1628 arguments. Return all keys, not just the first one.
1629 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1630 all citations in the same line.
1631 (reftex-parse-bibtex-entry): Accept additional optional argument
1632 `raw' and keep quotes or braces if it is non-nil. Match fields
1633 containing hyphens besides word constituents.
1634 (reftex-get-string-refs): New function.
1635 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1636 and ask if it should be reread in case it did.
1637 (reftex-pop-to-bibtex-entry)
1638 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1639 entries with spaces or tabs in front of arguments.
1640 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1641 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1642 Match entries containing numbers and symbol constituents.
1643 (reftex-do-citation, reftex-figure-out-cite-format):
1644 Use `reftex-cite-key-separator'.
1645
1646 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1647 (reftex-mouse-view-crossref): Explain why point is set.
1648
1649 * textmodes/reftex-global.el: Whitespace changes.
1650
1651 * textmodes/reftex-index.el: Move provide statement to end of
1652 file.
1653 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1654 (reftex-index-visit-phrases-buffer): Set marker when visiting
1655 buffer. This allows for returning from the phrases file to the
1656 file one was just editing instead of the file where the last
1657 phrases was added from.
1658 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1659 punctuation syntax as it usually is not used as string quote in
1660 TeX-related modes and may occur unmatched. The change also
1661 prevents fontification of quoted content.
1662 (reftex-index-phrases-mode): Use it.
1663
1664 * textmodes/reftex-parse.el (reftex-parse-from-file):
1665 Move backward one char if a `\' was matched after a section macro.
1666 (reftex-parse-from-file): Use beginning of match instead of end as
1667 bound.
1668
1669 * textmodes/reftex-ref.el: Adapt creation of
1670 `reftex-<package>-<macro>' functions to new structure of
1671 `reftex-ref-style-alist'.
1672 (reftex-reference): Use `reftex-ref-style-list' function.
1673 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1674 reference macro if `reftex-ref-macro-prompt' is non-nil.
1675 (reftex-reference): Pass refstyle to `reftex-format-special'.
1676 Determine reference macro by looking at
1677 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1678 Use only one special format function.
1679 (reftex-varioref-vref, reftex-fancyref-fref)
1680 (reftex-fancyref-Fref): Remove definitions. The functions are now
1681 generated from `reftex-ref-style-alist'.
1682 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1683 Remove.
1684 (reftex-format-special): New function.
1685
1686 * textmodes/reftex-sel.el
1687 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1688 of `reftex-ref-style-alist'. Remove code for testing macro type.
1689 (reftex-select-toggle-varioref)
1690 (reftex-select-toggle-fancyref): Remove.
1691 (reftex-select-cycle-ref-style-internal)
1692 (reftex-select-cycle-ref-style-forward)
1693 (reftex-select-cycle-ref-style-backward): New functions.
1694 (reftex-select-label-map): Use `v' and `V' for general cycling
1695 through reference styles. Add `p' for switching between number
1696 and page reference types.
1697
1698 * textmodes/reftex-toc.el (reftex-re-enlarge):
1699 Call `enlarge-window' only if there is something to do because in Emacs
1700 the horizontal version throws an error even if the parameter is 0.
1701
1702 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1703 (reftex-plug-into-AUCTeX): Doc fix.
1704 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1705 string. Adapt to new name.
1706 (reftex-ref-style-alist): Change structure so that it is not
1707 possible to use multiple different package names within a style.
1708 Remove the symbols for symbols for macro type distinction.
1709 Add characters for macro selection.
1710 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1711 (reftex-create-bibtex-footer): New variables.
1712 (reftex-format-ref-function): Mention third argument of special
1713 format function.
1714 (reftex-ref-style-alist, reftex-ref-style-default-list):
1715 New variables.
1716 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1717 to new implementation. Mark as obsolete. Add compatibility code
1718 for honoring the variable values in case they are set.
1719 (reftex-cite-format-builtin, reftex-bibliography-commands):
1720 Add support for ConTeXt.
1721 (reftex-format-ref-function, reftex-format-cite-function):
1722 Fix custom type.
1723 (reftex-cite-key-separator): New variable.
1724
1725 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1726 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1727 `reftex-syntax-table' because parens have to retain their paren
1728 syntax in order for parsing of BibTeX entries like @book(...) to
1729 work.
1730 (reftex-in-comment): Do not error out if `comment-start-skip' is
1731 not set. Deal correctly with escaped comment characters.
1732 (reftex-tie-multifile-symbols): Add doc string.
1733 Initialize `reftex-ref-style-list'.
1734 (reftex-untie-multifile-symbols): Add doc string.
1735 (reftex-add-index-macros): Doc fix.
1736 (reftex-ref-style-activate, reftex-ref-style-toggle)
1737 (reftex-ref-style-list): New functions.
1738 (reftex-mode-menu): Use them. Adapt to new structure of
1739 `reftex-ref-style-alist'.
1740 (reftex-select-with-char): Kill the RefTeX Select buffer when
1741 done.
1742 (reftex-remove-if): New function.
1743 (reftex-erase-all-selection-and-index-buffers)
1744 (reftex-mode-menu): Reference styles are now computed from
1745 `reftex-ref-style-alist'. Fix typo.
1746 (reftex-report-bug): New function.
1747 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1748 algorithms with O(n log n). Introduce optional argument SORT (not
1749 yet used).
1750
1751 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1752
1753 Enhancements for triple-quote string syntax.
1754 * progmodes/python.el (python-syntax-propertize-function):
1755 Match both quote cases in one regexp.
1756 (python-syntax-stringify): Handle matches properly.
1757
1758 2012-09-30 Juri Linkov <juri@jurta.org>
1759
1760 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1761 to nil around the call to `insert' to prevent
1762 directory time modification by lock_file. (Bug#2295)
1763 * tar-mode.el (tar-summarize-buffer): Idem.
1764
1765 2012-09-30 Juri Linkov <juri@jurta.org>
1766
1767 * facemenu.el (list-colors-sort): Add option "Luminance".
1768 (list-colors-sort-key): Implement it.
1769
1770 * vc/diff-mode.el (diff-refine-removed):
1771 * vc/ediff-init.el (ediff-fine-diff-A):
1772 * vc/smerge-mode.el (smerge-refined-removed):
1773 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1774
1775 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1776
1777 * term/ns-win.el (x-file-dialog): New function.
1778
1779 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1780
1781 * ido.el (ido-max-directory-size): Default to nil; the current
1782 default is small for POSIX systems, and impractical on Windows 7
1783 now that lstat returns directory sizes for NTFS.
1784
1785 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1786
1787 In buffer display functions handle window-height/window-width
1788 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1789 * window.el (window--display-buffer): New argument ALIST.
1790 Obey window-height and window-width alist entries.
1791 (window--try-to-split-window): New argument ALIST.
1792 Bind window-combination-limit to t when the window's size shall be
1793 changed and window-combination-limit equals `window-size'.
1794 (display-buffer-in-atom-window)
1795 (display-buffer-in-major-side-window)
1796 (display-buffer-in-side-window, display-buffer-same-window)
1797 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1798 (display-buffer-pop-up-window, display-buffer-below-selected)
1799 (display-buffer-at-bottom, display-buffer-in-previous-window)
1800 (display-buffer-use-some-window): Adjust all callers of
1801 window--display-buffer and window--try-to-split-window.
1802 (fit-frame-to-buffer): New option.
1803 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1804 is non-nil.
1805 (display-buffer-in-major-side-window): Evaluate window-height /
1806 window-width alist entries.
1807
1808 * help.el (temp-buffer-resize-frames)
1809 (temp-buffer-resize-regexps): Remove options.
1810 (temp-buffer-resize-mode): Adjust doc-string.
1811 (resize-temp-buffer-window): Don't consult
1812 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1813 temp-buffer-resize-frames.
1814
1815 * dired.el (dired-mark-pop-up):
1816 Call display-buffer-below-selected with a fit-window-to-buffer alist
1817 entry.
1818
1819 2012-09-30 Chong Yidong <cyd@gnu.org>
1820
1821 * server.el (server-host): Document the security implications.
1822 (server-auth-key): Doc fix.
1823
1824 * startup.el (initial-buffer-choice): Doc fix.
1825
1826 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1827
1828 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1829 restriction change.
1830
1831 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1832
1833 * help-fns.el (help-fns--obsolete): Fix last change.
1834
1835 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1838 (minor-mode-map-alist): Remove redundant code.
1839
1840 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1841 visited in a buffer.
1842 (cvs-insert-visited-file): New function.
1843 (find-file-hook): Use it.
1844
1845 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1846
1847 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1848 chose face.
1849 (log-edit-empty-buffer-p): Don't require a space after a header.
1850
1851 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1852
1853 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1854
1855 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1856 a proper minor-mode.
1857
1858 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1859
1860 2012-09-29 Glenn Morris <rgm@gnu.org>
1861
1862 * winner.el (winner-mode): Remove variable (let define-minor-mode
1863 handle it).
1864 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1865 Doc fixes.
1866 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1867 (winner-mode): Use define-minor-mode.
1868
1869 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1870 the full definition in loaddefs, rather than duplicating it.
1871
1872 * help-macro.el (three-step-help): No need to autoload defcustom.
1873
1874 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1875 (inferior-lisp-program, inferior-lisp-load-command)
1876 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1877 No need to autoload defcustoms.
1878
1879 * hippie-exp.el (hippie-expand-try-functions-list)
1880 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1881 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1882 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1883 (hippie-expand-only-buffers): No need to autoload defcustoms.
1884 * progmodes/vhdl-mode.el (vhdl-line-expand):
1885 Explicitly load hippie-exp, so it does not get autoloaded
1886 while hippie-expand-try-functions-list is let-bound.
1887
1888 2012-09-28 Glenn Morris <rgm@gnu.org>
1889
1890 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1891
1892 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1893 Only "cl.el" counts as cl these days.
1894
1895 2012-09-28 Juri Linkov <juri@jurta.org>
1896
1897 Display archive errors in the echo area instead of inserting
1898 to the file buffer.
1899
1900 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1901 to STDERR-TEST that can be a regexp matching a successful output.
1902 Create a temporary file and redirect stderr to it. Search for
1903 STDERR-TEST in the stderr output and display it in the echo area
1904 if no match is found.
1905 (archive-extract-by-file): New function like
1906 `archive-extract-by-stdout' but extracting archives to files
1907 and looking for successful matches in stdout. Function body is
1908 mostly copied from `archive-rar-extract'.
1909 (archive-rar-extract): Use `archive-extract-by-file'.
1910 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1911
1912 2012-09-28 Leo Liu <sdl.web@gmail.com>
1913
1914 * pcomplete.el (pcomplete-show-completions):
1915 Use minibuffer-message to make pcomplete usable in minibuffer.
1916
1917 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1918
1919 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * type-break.el: Use lexical-binding.
1922 (type-break-mode): Use define-minor-mode.
1923
1924 * emacs-lisp/pcase.el (pcase--mark-used): New.
1925 (pcase--u1): Use it (bug#12512).
1926
1927 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1928 in load-history with the right file name.
1929
1930 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1931
1932 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1933 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1934 (doc-view-get-bounding-box): Make bounding box slicing work for
1935 ODF and DVI documents.
1936
1937 2012-09-28 Glenn Morris <rgm@gnu.org>
1938
1939 * type-break.el (type-break-mode, type-break-interval)
1940 (type-break-good-rest-interval, type-break-keystroke-threshold):
1941 No need to autoload.
1942 (type-break-good-rest-interval, type-break-keystroke-threshold):
1943 Add :set-after.
1944
1945 2012-09-28 Chong Yidong <cyd@gnu.org>
1946
1947 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1948 Add :version tag.
1949
1950 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1953
1954 2012-09-27 Glenn Morris <rgm@gnu.org>
1955
1956 * faces.el (x-display-name): Declare (for without-x builds).
1957
1958 * linum.el (linum-format): Don't autoload it. Improve :type.
1959
1960 * progmodes/tcl.el: Don't require outline when compiling.
1961 (outline-regexp, outline-level): Declare.
1962 * textmodes/sgml-mode.el: Don't require outline when compiling.
1963 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1964
1965 * term.el (term-ansi-reset):
1966 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1967
1968 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1969 files for RCS and SCCS. (Bug#9781)
1970
1971 2012-09-27 Chong Yidong <cyd@gnu.org>
1972
1973 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1974 change; value should be t.
1975
1976 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1977
1978 * image-mode.el: Use lexical-binding.
1979 (image-mode-winprops): Use t to stand for the window of
1980 a buffer that's not displayed.
1981 * doc-view.el (doc-view-new-window-function): Handle the new
1982 t in winprops.
1983 (doc-view-enlarge): Make it a real nop if the size is not changed.
1984 (doc-view-display): Handle the case where the buffer is not (yet?)
1985 displayed in any window.
1986 (doc-view-saved-settings): New var.
1987 (doc-view-mode): Use it.
1988 (doc-view-fallback-mode): Set it.
1989
1990 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1991 Set lexical-binding.
1992 (minibuffer-eldef-shorten-default): New var.
1993 (minibuffer-default-in-prompt-regexps): Use it for new default.
1994 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1995
1996 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1997
1998 * international/uni-bidi.el:
1999 * international/uni-category.el:
2000 * international/uni-name.el:
2001 * international/uni-numeric.el: Regenerate.
2002
2003 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2004 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * profiler.el: New file.
2007
2008 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2010 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2011 (testcover-reinstrument): Simplify with CSE.
2012
2013 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2014
2015 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2016
2017 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2018
2019 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2020 (verilog-auto-input, verilog-auto-insert-lisp)
2021 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2022 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2023 (verilog-auto-unused, verilog-auto-wire)
2024 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2025 newline. Reported by Andrew Jones.
2026 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2027 Reported by Brad Dobbie.
2028 (verilog-batch-delete-trailing-whitespace):
2029 Create verilog-batch-delete-trailing-whitespace.
2030 Reported by Brad Dobbie.
2031 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2032 parameters from another module. Reported by Dan Katz.
2033 (verilog-auto, verilog-auto-assign-modport)
2034 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2035 AUTOINOUTMODPORT for UVM interface module shell generation.
2036 Reported by Brad Dobbie.
2037 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2038 standard behavior.
2039 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2040 Reported by Matt Martin.
2041
2042 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2043
2044 * window.el (window--resize-child-windows): When resizing child
2045 windows proportionally, process them in reverse order to
2046 preserve the "when splitting a window the new one gets the odd
2047 line" behavior.
2048 (window--resize-root-window-vertically): When resizing the
2049 minibuffer window try to affect only windows at the bottom of the
2050 frame. (Bug#12419)
2051
2052 2012-09-25 Chong Yidong <cyd@gnu.org>
2053
2054 * subr.el (declare): Doc fix.
2055
2056 * help-fns.el (help-fns--obsolete): Handle macros properly.
2057
2058 2012-09-25 Chong Yidong <cyd@gnu.org>
2059
2060 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2061 this function obsolete.
2062
2063 * calendar/cal-x.el (calendar-two-frame-setup)
2064 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2065 * calendar/calendar.el (american-calendar, european-calendar)
2066 (calendar-for-loop):
2067 * comint.el (comint-dynamic-simple-complete)
2068 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2069 * desktop.el (desktop-load-default):
2070 * dired-x.el (dired-omit-here-always)
2071 (dired-hack-local-variables, dired-default-directory):
2072 * emacs-lisp/derived.el (derived-mode-class):
2073 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2074 * emacs-lock.el (toggle-emacs-lock):
2075 * epa.el (epa-display-verify-result):
2076 * epg.el (epg-sign-keys, epg-start-sign-keys)
2077 (epg-passphrase-callback-function):
2078 * eshell/esh-util.el (eshell-for):
2079 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2080 (eshell-add-to-window-buffer-names):
2081 * files.el (locate-file-completion):
2082 * imenu.el (imenu-example--create-c-index)
2083 (imenu-example--create-lisp-index)
2084 (imenu-example--lisp-extract-index-name)
2085 (imenu-example--name-and-position):
2086 * international/mule-cmds.el (princ-list):
2087 * international/mule-diag.el (decode-codepage-char):
2088 * international/mule-util.el (detect-coding-with-priority):
2089 * iswitchb.el (iswitchb-read-buffer):
2090 * mail/mailalias.el (mail-complete):
2091 * mail/sendmail.el (mail-sent-via):
2092 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2093 (mouse-major-mode-menu):
2094 * password-cache.el (password-read-and-add):
2095 * pcomplete.el (pcomplete-parse-comint-arguments):
2096 * progmodes/sh-script.el (sh-maybe-here-document):
2097 * replace.el (query-replace-regexp-eval):
2098 * savehist.el (savehist-load):
2099 * simple.el (choose-completion-delete-max-match):
2100 * term.el (term-dynamic-simple-complete):
2101 * vc/ediff-init.el (ediff-check-version):
2102 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2103 * vc/vc.el (vc-diff-switches-list):
2104 * view.el (view-return-to-alist-update): Likewise.
2105
2106 * subr.el (eval-next-after-load, makehash, insert-string)
2107 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2108 mark obsolete.
2109 (mode-line-inverse-video): Variable deleted.
2110
2111 * international/mule-util.el (string-to-sequence): Remove.
2112
2113 * calendar/calendar.el (calendar-version):
2114 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2115 (icalendar-convert-diary-to-ical):
2116 * cus-edit.el (custom-mode):
2117 * ansi-color.el (ansi-color-unfontify-region):
2118 * international/latin1-disp.el (latin1-char-displayable-p):
2119 * progmodes/cwarn.el (turn-on-cwarn-mode):
2120 * progmodes/which-func.el (which-func-update-1):
2121 Use define-obsolete-function-alias.
2122
2123 * net/newst-backend.el (newsticker-cache-filename):
2124 * net/newst-treeview.el (newsticker-groups-filename):
2125 Fix incorrect obsolescence declaration.
2126
2127 * allout.el (allout-passphrase-hint-string): Likewise.
2128 (allout-init): Use a declare form to mark obsolete.
2129
2130 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2131 this applies to functions.
2132
2133 * iswitchb.el (iswitchb-read-buffer): Move code of
2134 iswitchb-define-mode-map here, and delete that obsolete function.
2135
2136 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2137 font-lock-reference-face.
2138
2139 2012-09-25 Glenn Morris <rgm@gnu.org>
2140
2141 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2142 Doc fixes.
2143
2144 * eshell/em-term.el (eshell-term-name):
2145 Default to term-term-name. (Bug#12485)
2146
2147 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2148
2149 * progmodes/python.el (python-shell-send-buffer): Better handling
2150 of "if __name__ == '__main__':" conditionals when sending the buffer.
2151
2152 2012-09-24 Glenn Morris <rgm@gnu.org>
2153
2154 * eshell/esh-cmd.el (eshell-find-alias-function):
2155 Tighten up file-name regexp. (Bug#12499)
2156
2157 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2158
2159 Enhancements for triple-quote string syntax.
2160 * progmodes/python.el (python-quote-syntax): Remove.
2161 (python-syntax-propertize-function): New value.
2162 (python-syntax-count-quotes, python-syntax-stringify):
2163 New functions.
2164
2165 2012-09-24 Chong Yidong <cyd@gnu.org>
2166
2167 * mail/supercite.el (sc-version): Remove obsolete function.
2168 (sc-describe): Don't mark as obsolete, since it is bound.
2169 (sc-submit-bug-report): Remove.
2170
2171 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2172 (cvs-commit-buffer-require-final-newline): Remove.
2173 (log-edit-require-final-newline)
2174 (log-edit-changelog-full-paragraphs): Default to t.
2175
2176 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2177 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2178 * vc/vc.el (vc-checkout-carefully): Likewise.
2179
2180 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2181 (emerge-version): Remove.
2182
2183 * progmodes/compile.el (compile-internal): Remove.
2184 (compilation-parse-errors-function): Fix typo.
2185
2186 * international/mule.el (set-char-table-default): Remove.
2187 (set-coding-priority, make-coding-system, generic-char-p)
2188 (charset-list, charset-bytes, charset-id): Use declare to mark
2189 functions as obsolete.
2190
2191 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2192 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2193 * vc/vc-hooks.el (vc-default-registered): Don't use
2194 vc-master-templates.
2195
2196 * font-lock.el (font-lock-reference-face):
2197 Use define-obsolete-variable-alias.
2198
2199 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2200 * calendar/calendar.el (calendar-font-lock-keywords):
2201 * calendar/diary-lib.el (diary-font-lock-keywords)
2202 (diary-fancy-font-lock-keywords):
2203 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2204 * textmodes/reftex-index.el (reftex-insert-index):
2205 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2206 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2207 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2208 * progmodes/prolog.el (prolog-font-lock-keywords):
2209 * progmodes/idlwave.el (idlwave-idl-keywords):
2210 * progmodes/ada-mode.el (ada-font-lock-keywords):
2211 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2212
2213 2012-09-24 Glenn Morris <rgm@gnu.org>
2214
2215 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2216
2217 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2218
2219 * progmodes/python.el (python-indent-line): More consistent cursor
2220 movement behavior.
2221
2222 2012-09-23 Stefan Merten <smerten@oekonux.de>
2223
2224 * textmodes/rst.el: Fix compiler warning.
2225
2226 2012-09-23 Roland Winkler <winkler@gnu.org>
2227
2228 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2229 Transcribe also LaTeX hyphenation.
2230 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2231 bibtex-reformat-previous-options.
2232
2233 2012-09-23 Roland Winkler <winkler@gnu.org>
2234
2235 * proced.el (proced-renice-command): New variable.
2236 (proced-marked-processes): New function.
2237 (proced-with-processes-buffer): New macro.
2238 (proced-send-signal): Use them.
2239 (proced-renice): New command bound to r.
2240
2241 2012-09-23 Roland Winkler <winkler@gnu.org>
2242
2243 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2244 ibuffer-saved-filter-groups has one element, shortcut the call of
2245 completing-read. (Bug#12331)
2246
2247 2012-09-23 Chong Yidong <cyd@gnu.org>
2248
2249 * bindings.el (mode-line-toggle-read-only):
2250 * bs.el (bs-toggle-readonly):
2251 * buff-menu.el (Buffer-menu-toggle-read-only):
2252 * dired.el (dired-toggle-read-only):
2253 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2254
2255 2012-09-23 Chong Yidong <cyd@gnu.org>
2256
2257 * image.el (image-type-available-p): Adapt to init-image-library
2258 argument changes.
2259
2260 2012-09-22 Juri Linkov <juri@jurta.org>
2261
2262 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2263 `dired-toggle-read-only'. (Bug#12462)
2264
2265 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2266
2267 * subr.el (temp-output-buffer-show): New function.
2268 (with-output-to-temp-buffer): Call temp-output-buffer-show
2269 instead of internal-temp-output-buffer-show.
2270
2271 2012-09-22 Chong Yidong <cyd@gnu.org>
2272
2273 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2274 (Bug#12462).
2275
2276 * repeat.el (repeat): Doc fix (Bug#12348).
2277
2278 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2279 (Bug#10909).
2280
2281 * simple.el (shell-command-on-region): Doc fix.
2282 (read-only-mode): Doc fix.
2283
2284 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2285
2286 * emacs-lisp/timer.el (run-with-idle-timer)
2287 (timer-activate-when-idle): Warn against reinvoking an idle timer
2288 from within its own timer action. (Bug#12447)
2289
2290 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2291
2292 * cus-start.el (window-combination-limit): Add new optional
2293 values.
2294 * window.el (temp-buffer-window-show)
2295 (window--try-to-split-window): Handle new values of
2296 window-combination-limit (Bug#1806).
2297 (split-window): Test window-combination-limit for t instead of
2298 non-nil.
2299 (display-buffer-at-bottom): New buffer display action function.
2300 * help.el (temp-buffer-resize-regexps): New option.
2301 (temp-buffer-resize-mode): Rewrite doc-string.
2302 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2303 Don't resize reused window. Suggested by Glenn Morris.
2304
2305 2012-09-22 Stefan Merten <smerten@oekonux.de>
2306
2307 * textmodes/rst.el: Revamp section title faces.
2308 (rst-official-version)
2309 (rst-package-emacs-version-alist): Sync with official version
2310 V1.4.0.
2311 (rst-faces-defaults, rst-set-level-default)
2312 (rst-level-face-max, rst-level-face-base-color)
2313 (rst-level-face-base-light, rst-level-face-format-light)
2314 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2315 (rst-adornment-faces-alist): Match new setup.
2316 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2317 (rst-level-5, rst-level-6): New faces.
2318
2319 2012-09-22 Chong Yidong <cyd@gnu.org>
2320
2321 * simple.el (undo): Handle indirect buffers (Bug#8207).
2322
2323 2012-09-21 Leo Liu <sdl.web@gmail.com>
2324
2325 IDO: Disable match re-ordering for buffer switching.
2326 * ido.el (ido-buffer-disable-smart-matches): New variable.
2327 (ido-set-matches-1): Use it. (Bug#2042)
2328
2329 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2330
2331 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2332 Fix 2011-05-17 change. (Bug#12418)
2333
2334 2012-09-21 Leo Liu <sdl.web@gmail.com>
2335
2336 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2337
2338 2012-09-21 Glenn Morris <rgm@gnu.org>
2339
2340 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2341 Be more robust about locating simple.el.
2342
2343 2012-09-21 Glenn Morris <rgm@gnu.org>
2344
2345 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2346
2347 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2348
2349 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2350
2351 2012-09-20 Juri Linkov <juri@jurta.org>
2352
2353 * replace.el (query-replace-read-from): Use `read-regexp' instead
2354 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2355 (occur-read-primary-args): Use `read-regexp' instead of
2356 `read-string'.
2357 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2358 `read-from-minibuffer'.
2359 * isearch.el (isearch-occur): Use `read-regexp' instead of
2360 `read-string'.
2361 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2362 `read-from-minibuffer'.
2363 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2364 of `read-string'. (Bug#7567)
2365
2366 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2367 and allow accepting a list of strings prepended to a list of
2368 standard default values. Doc fix. (Bug#12321)
2369
2370 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2371
2372 * replace.el (read-regexp): Don't add ": " when PROMPT already
2373 ends with a colon and space. (Bug#12321)
2374
2375 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2376
2377 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2378 error.
2379
2380 2012-09-20 Stefan Merten <smerten@oekonux.de>
2381
2382 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2383 Fixes feature request bug#11711.
2384 (rst-mode): Create `imenu-create-index-function'.
2385 (rst-get-stripped-line): Delete after refactoring.
2386 (rst-section-tree, rst-section-tree-rec)
2387 (rst-section-tree-point): Refactor and document properly.
2388 (rst-imenu-find-adornments-for-position)
2389 (rst-imenu-convert-cell, rst-imenu-create-index):
2390 New function.
2391
2392 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2395 (macroexp--expand-all): Use it.
2396 (macroexp--funcall-and-return): Remove by folding it into its sole
2397 caller (macroexp--warn-and-return).
2398 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2399 Use macroexp--obsolete-warning.
2400
2401 * calc/calc.el: Fix last change by removing the whole chunk, since it
2402 was only needed back when Calc was not bundled.
2403
2404 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2405
2406 * emacs-lisp/debug.el (debug): Restore assignment to
2407 debugger-old-buffer removed on 2012-09-08.
2408
2409 2012-09-20 Juri Linkov <juri@jurta.org>
2410
2411 * dired-aux.el (dired-diff): Remove (require 'diff) since
2412 `diff-latest-backup-file' is now autoloaded.
2413
2414 2012-09-20 Chong Yidong <cyd@gnu.org>
2415
2416 * vc/diff.el (diff-latest-backup-file): Autoload.
2417
2418 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * calc/calc.el: Remove redundant autoload shape check.
2421 (sel-mode): Don't defvar.
2422 (calc-get-stack-element): Add `sel-mode' arg instead.
2423 (calc-top, calc-top-list): Pass it this additional argument.
2424 * calc/calc-store.el (calc-store-map):
2425 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2426 (calc-map-equation, calc-outer-product, calc-inner-product):
2427 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2428
2429 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2430
2431 2012-09-19 Juri Linkov <juri@jurta.org>
2432
2433 * dired-aux.el (dired-diff): Add (require 'diff) because
2434 `diff-latest-backup-file' is not autoloaded.
2435 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2436 of `dired-get-filename' to t to not report error when there is
2437 no default file on the current line.
2438
2439 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2442 macroexp--eval-if-compile.
2443 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2444 (macroexp--expand-all): Use them (bug#12371).
2445
2446 * doc-view.el (doc-view-guess-paper-size)
2447 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2448
2449 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2450
2451 New feature: set optimal slice from BoundingBox information.
2452 * doc-view.el (doc-view-mode-map): Add keybinding.
2453 (doc-view-menu): Add menu entry.
2454 (doc-view-set-slice): Adapt docstring.
2455 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2456 (doc-view-scale-bounding-box)
2457 (doc-view-set-slice-from-bounding-box): New functions.
2458 (doc-view-paper-sizes): New defvar.
2459
2460 2012-09-19 Glenn Morris <rgm@gnu.org>
2461
2462 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2463 (byte-compile-log-warning): Autoload. (Bug#12371)
2464
2465 * calendar/calendar.el (calendar-american-month-header)
2466 (calendar-european-month-header, calendar-iso-month-header)
2467 (calendar-month-header): New options.
2468 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2469 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2470
2471 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2472
2473 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2474
2475 2012-09-18 Juri Linkov <juri@jurta.org>
2476
2477 * dired-aux.el (dired-diff): Restore original functionality of
2478 getting the default value, but keep new feature of using the
2479 latest existing backup file (`diff-latest-backup-file').
2480
2481 2012-09-18 Juri Linkov <juri@jurta.org>
2482
2483 * dired.el (dired-mark): If the region is active in Transient Mark
2484 mode, mark all files in the active region. Doc fix.
2485 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2486 Doc fix. (Bug#10624)
2487
2488 2012-09-18 Juri Linkov <juri@jurta.org>
2489
2490 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2491 attributes for M-n are pulled from the file at point.
2492 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2493 Suggested by Drew Adams. (Bug#10624)
2494
2495 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2496
2497 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2498 whitespace after "end".
2499 (ruby-do-end-to-brace): Collapse block to one line if it fits
2500 within fill-column.
2501
2502 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2503
2504 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2505 value.
2506 (debug): Don't remove debugger window when debugger is expected
2507 to be back.
2508
2509 2012-09-18 Chong Yidong <cyd@gnu.org>
2510
2511 * custom.el (defface): Doc fix.
2512
2513 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2514
2515 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2516
2517 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2518 to initialize query-on-exit; then test that instead (bug#12288).
2519
2520 2012-09-17 Stefan Merten <smerten@oekonux.de>
2521
2522 * textmodes/rst.el: Add support for `testcover'.
2523 (rst-defcustom-testcover, rst-testcover-add-compose)
2524 (rst-testcover-add-1value): New functions.
2525 (rst-portable-mark-active-p): Replace by `use-region-p'.
2526 (rst-update-section, rst-classify-adornment)
2527 (rst-find-title-line): Mark `1value' forms.
2528 (rst-classify-adornment): Remove superfluous form.
2529 (rst-update-section, rst-get-adornments-around)
2530 (rst-adornment-complete-p, rst-get-next-adornment)
2531 (rst-adjust, rst-promote-region)
2532 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2533 (rst-find-pfx-in-region, rst-section-tree-rec)
2534 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2535 (rst-toc-node, rst-toc, rst-forward-section)
2536 (rst-iterate-leftmost-paragraphs)
2537 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2538 (rst-bullet-list-region)
2539 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2540 (rst-compile-find-conf, rst-compile)
2541 (rst-repeat-last-character): Fix style.
2542
2543 2012-09-17 Chong Yidong <cyd@gnu.org>
2544
2545 * comint.el (comint--complete-file-name-data): Don't add a space
2546 if the status is `sole'; that adds a gratuitous space in the
2547 completion-cycling case (Bug#12092).
2548
2549 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2550
2551 2012-09-17 Richard Stallman <rms@gnu.org>
2552
2553 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2554 only in the mime-shown mode, not in raw mode.
2555 (rmail-mime): Toggle off mime by displaying the message without
2556 mime processing. (Bug#12305)
2557
2558 * mail/rmail.el (rmail-retry-failure):
2559 Turn off mime processing first. (Bug#12037)
2560
2561 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2562
2563 2012-09-17 Chong Yidong <cyd@gnu.org>
2564
2565 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2566 (shell-dynamic-complete-functions): Convert to defcustom.
2567 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2568
2569 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2570 * comint.el (comint-prompt-read-only):
2571 * custom.el (defcustom):
2572 * hi-lock.el (hi-lock-mode):
2573 * ibuffer.el (ibuffer-formats):
2574 * ielm.el (ielm-prompt-read-only):
2575 * novice.el (disable-command):
2576 * saveplace.el (toggle-save-place):
2577 * speedbar.el (speedbar-supported-extension-expressions):
2578 * startup.el (auto-save-list-file-prefix, init-file-user)
2579 (after-init-hook, inhibit-startup-echo-area-message):
2580 * strokes.el (strokes-help):
2581 * time-stamp.el (time-stamp):
2582 * calendar/calendar.el (calendar, diary-file):
2583 * calendar/diary-lib.el (diary-mail-entries, diary)
2584 (diary-list-entries-hook):
2585 * calendar/holidays.el (holidays, calendar-holidays):
2586 * calendar/lunar.el (lunar-phases):
2587 * calendar/solar.el (sunrise-sunset):
2588 * emulation/edt.el (edt-load-keys):
2589 * emulation/viper.el (viper-mode):
2590 * eshell/em-alias.el (eshell-command-aliases-list):
2591 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2592 * international/ogonek.el (ogonek-information):
2593 * net/tramp-cmds.el (tramp-bug):
2594 * net/quickurl.el (quickurl-reread-hook-postfix):
2595 * play/decipher.el (decipher-font-lock-keywords):
2596 * progmodes/cc-styles.el (c-set-style):
2597 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2598 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2599 * progmodes/octave-mod.el (octave-mode):
2600 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2601 * progmodes/verilog-mode.el (verilog-read-defines):
2602 * textmodes/two-column.el (2C-mode): Likewise.
2603
2604 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2605
2606 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2607 that holds many addresses.
2608
2609 2012-09-16 Chong Yidong <cyd@gnu.org>
2610
2611 * align.el (align-areas): Call the indication function with
2612 positions instead of markers for arguments (Bug#12343).
2613
2614 * files.el (parse-colon-path): Use split-string (Bug#12351).
2615
2616 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2617 (display-buffer-function): Mark as obsolete.
2618
2619 * progmodes/compile.el (compilation-parse-errors): Accept list
2620 values similar to font-lock-keywords (Bug#12136).
2621 Suggested by Oleksandr Manzyuk.
2622 (compilation-error-regexp-alist): Doc fix.
2623
2624 2012-09-15 Glenn Morris <rgm@gnu.org>
2625
2626 * version.el (emacs-bzr-version-bzr): New function.
2627 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2628
2629 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2630 checkouts, check the parent dirstate matches the branch.
2631 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2632 empty string.
2633
2634 * version.el (emacs-bzr-version): Doc fix.
2635 (emacs-bzr-version-dirstate): New function.
2636 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2637 is local try and check that it matches the branch. If not, just
2638 use dirstate information. (Bug#12441)
2639
2640 2012-09-14 Juri Linkov <juri@jurta.org>
2641
2642 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2643 (Bug#12399)
2644
2645 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2648
2649 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2650 Remove obsolete byte-compiler hack that tried to silence some warnings.
2651 (edebug-submit-bug-report): Remove.
2652 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2653 Remove aliases, use the un-prefixed name instead.
2654 (edebug-pop-to-buffer): Consider other frames.
2655 (edebug-original-read):: Make it more obvious that it's always defined.
2656 (edebug--make-form-data-entry, edebug--form-data-name)
2657 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2658 single-dashed name, and implement with cl-defstruct.
2659 (edebug-set-form-data-entry): Use the standard accessors.
2660 (edebug-make-top-form-data-entry): Use push.
2661 (edebug-no-match): Drop useless `funcall'.
2662 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2663 to functions.
2664 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2665 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2666 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2667 (easy-menu-define, with-custom-print): Remove redundant specs.
2668 (edebug-outside-overriding-local-map)
2669 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2670 (edebug--display): Bind unread-command-events directly to nil rather
2671 than binding it to unread-command-events and later setting it to nil.
2672 (edebug--display): Kill edebug-eval-buffer here...
2673 (edebug--recursive-edit): ...rather than here.
2674 Bind standard-output and standard-input.
2675 (edebug-eval): Check cl-macroexpand-all is fboundp.
2676 (edebug-temp-display-freq-count): Fix last change.
2677
2678 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2679 * subr.el (noreturn, 1value): Add `debug' spec.
2680 * emacs-lisp/advice.el: Require cl-lib.
2681 (ad-copy-tree): Remove, use copy-tree instead.
2682 (ad-dolist): Remove use dolist or cl-dolist instead.
2683 (ad-do-return): Remove, use cl-return instead.
2684 (defadvice): Add `debug' spec.
2685
2686 2012-09-13 Juri Linkov <juri@jurta.org>
2687
2688 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2689 (Bug#12399)
2690
2691 2012-09-13 Glenn Morris <rgm@gnu.org>
2692
2693 * calc/calc.el (math-compose-expr):
2694 * calc/calc-ext.el (math-compose-expr):
2695 * progmodes/cc-defs.el (cl-macroexpand-all):
2696 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2697 (cl-macroexpand-all): Update declarations.
2698
2699 * vc/vc.el: No need to require ediff.
2700 (ediff-load-version-control): Declare.
2701 (ediff-vc-internal): Fix declaration.
2702 (vc-version-ediff): Require ediff.
2703
2704 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2705
2706 Use a more backwards-compatible timer format (Bug#12430).
2707 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2708 being right after USECS, as that better supports old code that
2709 inadvisedly looked directly at the timer vector.
2710
2711 2012-09-13 Kenichi Handa <handa@gnu.org>
2712
2713 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2714 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2715 `coding-priority' property of these language environment.
2716
2717 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2718
2719 Fix glitches caused by addition of psec to timers (Bug#12430).
2720 * image.el (image-animate-timer):
2721 * time.el (display-time-world-timer):
2722 Use timer--function and timer--args rather than raw access to
2723 timer vector.
2724
2725 2012-09-13 Glenn Morris <rgm@gnu.org>
2726
2727 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2728 If not compiling a file, try using load-file-name.
2729
2730 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2733 Fix last change.
2734 (edebug-update-eval-list): Use `push'.
2735
2736 * emacs-lisp/edebug.el: Use lexical-binding.
2737 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2738 Mark unused args with underscore.
2739 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2740 (edebug-form-data): Use defvar-local.
2741 (edebug-make-before-and-after-form, edebug-make-after-form):
2742 Use backquote.
2743 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2744 Not dynamically scoped any more.
2745 (edebug--enter-trace): Add arguments `function' and `args'.
2746 Rename from edebug-enter-trace.
2747 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2748 (edebug--update-coverage): Add `after-index' and `value' args.
2749 Rename from edebug-update-coverage.
2750 (edebug-slow-after): Call it accordingly.
2751 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2752 edebug-recursive-edit.
2753 (edebug--display): Call it accordingly. Add args `value',
2754 `offset-index', and `arg-mode'. Rename from edebug-display.
2755 (edebug-debugger, edebug): Call it accordingly.
2756 (edebug-eval-display-list): Use dolist.
2757
2758 2012-09-12 Juri Linkov <juri@jurta.org>
2759
2760 * info.el (Info-search): Don't check for isearch-mode and
2761 isearch-regexp before let-binding search-spaces-regexp to
2762 Info-search-whitespace-regexp.
2763 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2764 search-whitespace-regexp if isearch-lax-whitespace or
2765 isearch-regexp-lax-whitespace is non-nil.
2766 (Info-mode): Don't set local variable search-whitespace-regexp.
2767 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2768
2769 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2772 (debugger-env-macro): Remove support for unread-command-char.
2773
2774 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2775 the temporary map re-appearing on emulation-mode-map-alists.
2776
2777 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2778 since 22.1.
2779
2780 * ehelp.el (with-electric-help): Accept functions in
2781 electric-help-form-to-execute.
2782 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2783 And replace unread-command-char -> unread-command-events.
2784
2785 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2786
2787 Sync with Tramp 2.2.6.
2788
2789 * net/tramp.el (tramp-accept-process-output): Don't use
2790 JUST-THIS-ONE in the XEmacs case.
2791
2792 * net/trampver.el: Update release number.
2793
2794 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2795
2796 * emacs-lisp/debug.el (debugger-previous-window-height):
2797 New variable.
2798 (debug): When debugger-jumping-flag is non-nil try to restore
2799 height of debugger window. (Bug#8789)
2800
2801 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2802
2803 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2804 overriding-local-map and pre/post-command-hook here.
2805 (edebug-recursive-edit): Do it here instead (bug#12345).
2806 (edebug-outside-unread-command-char): Remove all uses of
2807 unread-command-char.
2808
2809 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2810 inhibit-debugger is bound instead.
2811
2812 2012-09-11 Bastien Guerry <bzg@gnu.org>
2813
2814 * subr.el (set-temporary-overlay-map): Add a docstring.
2815 (Bug#12346)
2816
2817 2012-09-11 Bastien Guerry <bzg@gnu.org>
2818
2819 * minibuffer.el (completion-table-subvert): Fix docstring.
2820 (Bug#12347)
2821
2822 2012-09-11 Bastien Guerry <bzg@gnu.org>
2823
2824 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2825
2826 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2827
2828 * progmodes/sql.el: Version 3.1
2829 (sql-db2-escape-newlines): New variable.
2830 (sql-escape-newlines-filter): Use it.
2831
2832 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2833
2834 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2835
2836 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2837
2838 * vc/diff-mode.el (diff-mode-menu):
2839 Bind diff-remove-trailing-whitespace.
2840
2841 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2844 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2845 (emacs-lisp-byte-code-mode): New functions.
2846 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2847 (eval-defun-2): Remove bogus interactive spec.
2848 (lisp-indent-line): Remove redundant whole-exp code, now done in
2849 indent-according-to-mode.
2850 (save-match-data): Remove redundant indent data.
2851
2852 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2853 Use `declare'.
2854
2855 2012-09-09 Juri Linkov <juri@jurta.org>
2856
2857 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2858 (replace-lax-whitespace, query-replace-regexp)
2859 (query-replace-regexp-eval, replace-regexp): Doc fix.
2860 (perform-replace, replace-highlight): Let-bind
2861 isearch-lax-whitespace to replace-lax-whitespace and
2862 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2863
2864 * isearch.el (isearch-query-replace): Let-bind
2865 replace-lax-whitespace to isearch-lax-whitespace and
2866 replace-regexp-lax-whitespace to
2867 isearch-regexp-lax-whitespace. (Bug#10885)
2868
2869 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2872
2873 2012-09-09 Alan Mackenzie <acm@muc.de>
2874
2875 * progmodes/cc-engine.el (c-state-cache-init):
2876 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2877 (c-record-parse-state-state):
2878 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2879
2880 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2881
2882 * register.el (register-separator): Rename from
2883 separator-register. All uses changed. Doc fix.
2884 (register): Fix version.
2885
2886 2012-09-09 Chong Yidong <cyd@gnu.org>
2887
2888 * replace.el (query-replace-map): Bind four new symbols for
2889 requesting window scrolling.
2890
2891 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2892 query-replace-map (Bug#8948).
2893
2894 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2895
2896 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2897 since they are now in query-replace-map.
2898
2899 * window.el (scroll-other-window-down): Make the arg optional.
2900
2901 2012-09-09 Chong Yidong <cyd@gnu.org>
2902
2903 * files.el (hack-local-variables-confirm): Use quit-window to kill
2904 the *Local Variables* buffer.
2905
2906 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2907
2908 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2909 not just expect to be at its beginning. Adjust callees.
2910 Succeed when do-end block has no space before the pipe character.
2911 (ruby-brace-to-do-end): When the original block is one-liner,
2912 convert to multiline. Reindent the result.
2913
2914 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2915
2916 * register.el (register): New group.
2917 (separator-register): New user option.
2918 (increment-register): Route it to `append-to-register', if
2919 register contains text. Implication is that `C-x r +' can now be
2920 used for appending to a text register (bug#12217).
2921 (append-to-register, prepend-to-register): Add separator based on
2922 `separator-register'.
2923
2924 2012-09-08 Alan Mackenzie <acm@muc.de>
2925
2926 AWK Mode: make auto-newline work when there's "==" in the pattern.
2927 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2928 correctly.
2929 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2930 Test more rigorously for "=" token.
2931
2932 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2933
2934 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2935 Only fail when reached LIMIT.
2936
2937 2012-09-08 Chong Yidong <cyd@gnu.org>
2938
2939 * dired.el (dired-mode-map): Don't bind M-=.
2940
2941 * dired-aux.el (dired-diff): Use backup file as default.
2942
2943 2012-09-08 Drew Adams <drew.adams@oracle.com>
2944
2945 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2946
2947 2012-09-08 Chong Yidong <cyd@gnu.org>
2948
2949 * subr.el (syntax-after, syntax-class): Doc fix.
2950
2951 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2952
2953 * window.el (display-buffer-in-previous-window): New buffer
2954 display action function.
2955
2956 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2957 (debugger-previous-window): New variable.
2958 (debug): Rewrite using display-buffer-in-previous-window,
2959 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2960
2961 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2964
2965 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2966
2967 * progmodes/python.el (python-shell-send-string):
2968 When default-directory is remote, create temp file on remote
2969 filesystem.
2970 (python-shell-send-file): When file is remote, pass local view of
2971 file paths to remote Python interpreter. (Bug#12340)
2972
2973 2012-09-07 Chong Yidong <cyd@gnu.org>
2974
2975 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2976
2977 * files.el (after-find-file): Don't fail on a read-only buffer if
2978 require-final-newline is `visit' or `visit-save' (Bug#11156).
2979
2980 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2981
2982 * userlock.el (ask-user-about-supersession-threat):
2983 Use read-char-choice (Bug#12093).
2984
2985 2012-09-07 Chong Yidong <cyd@gnu.org>
2986
2987 * subr.el (buffer-narrowed-p): New function.
2988
2989 * ses.el (ses-widen):
2990 * simple.el (count-words--buffer-message):
2991 * net/browse-url.el (browse-url-of-buffer): Use it.
2992
2993 * simple.el (count-words-region): Don't signal an error if there
2994 is a non-nil prefix arg and the mark is not set.
2995
2996 * help.el (describe-key-briefly): Allow the message to be seen
2997 when invoked from the minibuffer (Bug#7014).
2998
2999 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3000
3001 * progmodes/ruby-mode.el (ruby-end-of-defun)
3002 (ruby-beginning-of-defun): Simplify, allow indentation before
3003 block beginning and end keywords.
3004 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3005 (ruby-end-of-defun): Expect that the point is at the beginning of
3006 the defun.
3007
3008 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3011 (bug#12367).
3012 (cl--make-usage-args): Strip _ from argument names.
3013
3014 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3015
3016 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3017 obsolete alias speedbar-key-map.
3018 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3019 (vhdl-index-menu-init): Don't use obsolete variable
3020 font-lock-maximum-size.
3021
3022 2012-09-06 Chong Yidong <cyd@gnu.org>
3023
3024 * frame.el (window-system-version): Mark as obsolete.
3025
3026 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3027 of obsolete variable speedbar-key-map.
3028
3029 2012-09-06 Juri Linkov <juri@jurta.org>
3030
3031 * replace.el (replace-lax-whitespace): New defcustom.
3032 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3033 (replace-string, replace-regexp): Mention it in docstrings.
3034 (perform-replace, replace-highlight): Let-bind
3035 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3036 to the values of replace-lax-whitespace and regexp-flag.
3037 Don't let-bind search-whitespace-regexp. (Bug#10885)
3038
3039 * isearch.el (isearch-query-replace): Let-bind
3040 replace-lax-whitespace instead of let-binding
3041 replace-search-function and replace-re-search-function.
3042 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3043 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3044 (isearch-toggle-symbol): Set isearch-regexp to nil
3045 in isearch-word mode (like in isearch-toggle-word).
3046
3047 2012-09-06 Juri Linkov <juri@jurta.org>
3048
3049 * replace.el (replace-search-function)
3050 (replace-re-search-function): Set default values to nil.
3051 (perform-replace): Let-bind isearch-related variables based on
3052 replace-related values, call `isearch-search-fun' and let-bind
3053 the result to `search-function'. Remove code that sets
3054 `search-function' and `search-string' separately for
3055 `delimited-flag'.
3056 (replace-highlight): Add new argument `delimited-flag' and
3057 rename other arguments to the names used in `perform-replace'.
3058 Let-bind `isearch-word' to the argument `delimited-flag'.
3059 (Bug#10885, bug#10887)
3060
3061 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3062
3063 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3064 ruby-beginning-of-indent, simplify, allow all keywords to have
3065 indentation before them.
3066 (ruby-beginning-of-indent): Adjust for above. Search until the
3067 found point is not inside a string or comment.
3068 (ruby-font-lock-keywords): Allow symbols to start with "@"
3069 character, give them higher priority than variables.
3070 (ruby-syntax-propertize-function)
3071 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3072 matchers. Expression expansions are not comments when inside a
3073 string, and there comment syntax status is irrelevant.
3074 (ruby-match-expression-expansion): New function. Check that
3075 expression expansion is inside a string, and it's not escaped.
3076 (ruby-font-lock-keywords): Use it.
3077
3078 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3079
3080 * help.el (temp-buffer-max-height): New default value.
3081 (temp-buffer-resize-frames): New option.
3082 (resize-temp-buffer-window): Optionally resize frame.
3083
3084 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3085 (fit-frame-to-buffer): New function.
3086
3087 2012-09-05 Glenn Morris <rgm@gnu.org>
3088
3089 * emulation/cua-rect.el (cua--init-rectangles):
3090 * textmodes/picture.el (picture-mode-map):
3091 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3092 like forward-char and backward-char. (Bug#12317)
3093
3094 2012-09-05 Leo Liu <sdl.web@gmail.com>
3095
3096 * progmodes/flymake.el (flymake-warning-re): New variable.
3097 (flymake-parse-line): Use it.
3098
3099 2012-09-05 Glenn Morris <rgm@gnu.org>
3100
3101 * calendar/holidays.el (holiday-christian-holidays):
3102 Rename an entry. (Bug#12289)
3103
3104 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3107 (bug#12222).
3108
3109 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * loadup.el: Load macroexp. Remove hack.
3112 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3113 (macroexp--expand-all): Use it to get better warnings.
3114 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3115 (internal-macroexpand-for-load): New functions.
3116 (macroexp--pending-eager-loads): New var.
3117 (emacs-startup-hook): New hack to replace one in loadup.el.
3118 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3119 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3120 (cl-psetf): Simplify.
3121 (cl-defstruct): Add indent rule.
3122
3123 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3124
3125 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3126 over `user-mail-address' for the SMTP MAIL FROM envelope.
3127 (smtpmail-via-smtp): Ditto.
3128
3129 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3130
3131 * progmodes/ruby-mode.el: Clean up keybindings.
3132 (ruby-mode-map): Don't bind ruby-electric-brace,
3133 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3134 backward-kill-word, reindent-then-newline-and-indent.
3135 (ruby-mark-defun): Remove.
3136 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3137 (ruby-mode): Set local beginning-of-defun-function and
3138 end-of-defun-function values.
3139
3140 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3141
3142 * window.el (temp-buffer-window-setup-hook)
3143 (temp-buffer-window-show-hook): New hooks.
3144 (temp-buffer-window-setup, temp-buffer-window-show)
3145 (with-temp-buffer-window): New functions.
3146 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3147 (special-display-popup-frame): Make sure the window used shows BUFFER.
3148
3149 * help.el (temp-buffer-resize-mode): Fix doc-string.
3150 (resize-temp-buffer-window): New optional argument WINDOW.
3151
3152 * files.el (recover-file, save-buffers-kill-emacs):
3153 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3154
3155 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3156
3157 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3158 remote definition of `default-directory', ensure we can connect.
3159
3160 2012-09-02 Juri Linkov <juri@jurta.org>
3161
3162 Toggle whitespace matching mode with M-s SPC.
3163 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3164
3165 * isearch.el (search-whitespace-regexp): Doc fix.
3166 Remove cons cell customization.
3167 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3168 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3169 New variables.
3170 (isearch-forward, isearch-forward-regexp): Doc fix.
3171 (isearch-toggle-lax-whitespace): New command.
3172 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3173 (re-search-forward-lax-whitespace)
3174 (re-search-backward-lax-whitespace): New functions.
3175 (isearch-whitespace-regexp): Remove function.
3176 (isearch-query-replace): Let-bind replace-search-function and
3177 replace-re-search-function.
3178 (isearch-occur): Let-bind search-spaces-regexp according to the
3179 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3180 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3181 condition for C-q SPC.
3182 (isearch-search-fun-default): Use new functions mentioned above.
3183 (isearch-search-forward, isearch-search-backward): Remove functions.
3184 (isearch-search): Don't let-bind search-spaces-regexp.
3185 (isearch-lazy-highlight-space-regexp): Remove variable.
3186 (isearch-lazy-highlight-lax-whitespace)
3187 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3188 (isearch-lazy-highlight-new-loop): Use them.
3189 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3190
3191 2012-09-02 Chong Yidong <cyd@gnu.org>
3192
3193 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3194
3195 2012-09-02 Glenn Morris <rgm@gnu.org>
3196
3197 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3198
3199 2012-09-01 Glenn Morris <rgm@gnu.org>
3200
3201 * term.el: Tidy up menu definitions.
3202 (term-mode-map): Use easymenu for In/Out, Complete menus.
3203 (term-pager-break-map): Initialize in the defvar.
3204 (term-terminal-menu, term-signals-menu): Define with easymenu.
3205 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3206 (term-pager-menu): New, extracted from term-process-pager.
3207 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3208 (term-update-mode-line): Propertize line/char and page items.
3209 (term-process-pager): Move keymap initialization elsewhere.
3210
3211 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3212
3213 * window.el (switch-to-prev-buffer): Handle additional values of
3214 BURY-OR-KILL argument. Don't switch in minibuffer window.
3215 (switch-to-next-buffer): Don't switch in minibuffer window.
3216 (quit-restore-window): New function based on quit-window.
3217 Handle additional values of former KILL argument.
3218 (quit-window): Call quit-restore-window with appropriate
3219 interpretation of KILL argument.
3220 (display-buffer-below-selected): New buffer display action
3221 function.
3222
3223 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * minibuffer.el (completion-at-point-functions): Complete docstring
3226 (bug#12254).
3227
3228 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3229
3230 Better seed support for (random).
3231 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3232 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3233 * play/mpuz.el, play/tetris.el, play/zone.el:
3234 * calc/calc-comb.el (math-init-random-base):
3235 * play/blackbox.el (bb-init-board):
3236 * play/life.el (life):
3237 * server.el (server-use-tcp):
3238 * type-break.el (type-break):
3239 Remove unnecessary call to (random t).
3240 * net/sasl.el (sasl-unique-id-function):
3241 Change (random t) to (random), now that the latter is more random.
3242 * play/life.el (life-initialized): Remove no-longer-needed var.
3243
3244 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3245
3246 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3247 Consider frame's buffer predicate when choosing the buffer.
3248 (Bug#12081)
3249
3250 2012-08-30 Richard Stallman <rms@gnu.org>
3251
3252 * simple.el (special-mode-map): Delete binding for `z'.
3253
3254 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3255
3256 * progmodes/compile.el (compilation-always-kill): Doc fix.
3257
3258 2012-08-30 Chong Yidong <cyd@gnu.org>
3259
3260 * window.el (display-buffer-reuse-frames): Make the obsolescence
3261 message more informative.
3262
3263 2012-08-30 Glenn Morris <rgm@gnu.org>
3264
3265 * paren.el (show-paren-delay):
3266 Add a :set function. Doc fix. (Bug#12297)
3267
3268 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3269
3270 * progmodes/compile.el (compilation-always-kill): New var.
3271 (compilation-start): Use it.
3272
3273 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3274
3275 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3276 * files.el (read-only-mode): Move to simple.el.
3277
3278 * files.el (read-only-mode): New minor mode.
3279 (toggle-read-only): Use it and mark obsolete.
3280 (find-file--read-only):
3281 * vc/vc.el (vc-next-action, vc-checkout):
3282 * vc/vc-cvs.el (vc-cvs-checkout):
3283 * obsolete/vc-mcvs.el (vc-mcvs-update):
3284 * ffap.el (ffap--toggle-read-only): Update callers.
3285
3286 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3287
3288 * eshell/esh-ext.el (eshell-external-command): Do not examine
3289 remote shell scripts.
3290 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3291
3292 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3293 "/usr/local/sbin".
3294
3295 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3298
3299 2012-08-28 Leo Liu <sdl.web@gmail.com>
3300
3301 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3302 completion-at-point. (Bug#12220)
3303
3304 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3305
3306 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3307
3308 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3309
3310 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3311 be buffer-local; add delete-trailing-whitespace (bug#12259).
3312
3313 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3314
3315 * progmodes/hideif.el (hif-compress-define-list):
3316 Fix typo. (Bug#11951)
3317
3318 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3319
3320 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3321 buffer local setting.
3322
3323 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3324 rcirc-encode-coding-system.
3325
3326 2012-08-28 Leo Liu <sdl.web@gmail.com>
3327
3328 * net/rcirc.el (rcirc-split-message): New function.
3329 (rcirc-send-message): Use it. (Bug#12051)
3330
3331 2012-08-28 Juri Linkov <juri@jurta.org>
3332
3333 * info.el (Info-fontify-node): Hide empty lines at the end of
3334 the node. (Bug#12272)
3335
3336 2012-08-27 Drew Adams <drew.adams@oracle.com>
3337
3338 * dired.el (dired-pop-to-buffer): Make window start at beginning
3339 of buffer (Bug#12281).
3340
3341 2012-08-26 Chong Yidong <cyd@gnu.org>
3342
3343 * window.el (special-display-regexps, special-display-frame-alist)
3344 (special-display-buffer-names, special-display-function)
3345 (display-buffer-reuse-frames): Mark as obsolete.
3346
3347 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3348
3349 * help.el (help-print-return-message): Don't treat
3350 display-buffer-reuse-frames specially.
3351
3352 2012-08-26 Chong Yidong <cyd@gnu.org>
3353
3354 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3355 New variable, replacing gdb-frame-parameters.
3356 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3357 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3358 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3359 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3360 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3361 the functions directly with gdb-display-buffer-other-frame-action.
3362 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3363 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3364 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3365 (gdb-display-registers-buffer): Define directly.
3366 (def-gdb-display-buffer): Macro deleted.
3367 (gdb-display-buffer): Remove second and third args, callers don't
3368 use them. Defer to the default display-buffer behavior, apart
3369 from making windows dedicated.
3370 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3371
3372 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3373
3374 * window.el (display-buffer-pop-up-frame): Handle a
3375 pop-up-frame-parameters alist entry.
3376 (display-buffer): Document it.
3377
3378 2012-08-26 Chong Yidong <cyd@gnu.org>
3379
3380 * isearch.el (search-whitespace-regexp): Make string and nil
3381 values apply to both ordinary and regexp search. Allow a cons
3382 cell value to distinguish between the two.
3383 (isearch-whitespace-regexp, isearch-search-forward)
3384 (isearch-search-backward): New functions.
3385 (isearch-occur, isearch-search-fun-default, isearch-search)
3386 (isearch-lazy-highlight-new-loop): Use them.
3387 (isearch-forward, isearch-forward-regexp): Doc fix.
3388
3389 2012-08-26 Chong Yidong <cyd@gnu.org>
3390
3391 * faces.el (help-argument-name): Always inherit from italic
3392 (Bug#12213).
3393
3394 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3395
3396 * window.el (window--even-window-heights): Even heights when
3397 WINDOW and the selected window form a vertical combination.
3398 (display-buffer-use-some-window): Provide that window used gets
3399 sized back by quit-window. (Bug#11880) and (Bug#12091)
3400
3401 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3402
3403 Fix file time stamp problem with bzr and CVS (Bug#12001).
3404 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3405 in the file's time stamp, since the version control system loses
3406 that information.
3407
3408 2012-08-22 Juri Linkov <juri@jurta.org>
3409
3410 * info.el (Info-fontify-node): Hide the suffix of the
3411 Info file name in the header line. (Bug#12187)
3412
3413 2012-08-22 Glenn Morris <rgm@gnu.org>
3414
3415 * calendar/cal-tex.el (cal-tex-weekly-common):
3416 Restore leading blank page.
3417
3418 2012-08-22 Le Wang <l26wang@gmail.com>
3419
3420 * misc.el (forward-to-word, backward-to-word): Activate or extend
3421 the region under `shift-select-mode'. (Bug#12231)
3422
3423 2012-08-22 Bastien Guerry <bzg@gnu.org>
3424
3425 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3426 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3427 gives details on why the space is never needed.
3428
3429 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3430
3431 * window.el (walk-window-tree, window-with-parameter):
3432 New optional argument MINIBUF to control whether these functions
3433 should run on the minibuffer window.
3434 (window-at-side-list): Don't operate on minibuffer window.
3435 (window-in-direction): Simplify and rewrite doc-string.
3436 (window--size-ignore): Rename to window--size-ignore-p.
3437 Update callers.
3438 (display-buffer-in-atom-window, window--major-non-side-window)
3439 (window--major-side-window, display-buffer-in-major-side-window)
3440 (delete-side-window, display-buffer-in-side-window):
3441 New functions.
3442 (window--side-check, window-deletable-p, delete-window)
3443 (delete-other-windows, split-window): Handle side windows and
3444 atomic windows appropriately.
3445 (window--display-buffer): Call display-buffer-record-window also
3446 when the window buffer did not change.
3447
3448 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3449
3450 * help-fns.el (help-fns--key-bindings):
3451 Abbreviate non-symbol remap targets. (Bug#12174)
3452
3453 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3454
3455 * dired.el (dired-mark-remembered): Don't clobber point.
3456 (Bug#11795)
3457
3458 2012-08-22 Glenn Morris <rgm@gnu.org>
3459
3460 * progmodes/bug-reference.el (bug-reference): New custom group.
3461 (bug-reference-bug-regexp): Make it a defcustom.
3462
3463 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3464
3465 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3466 (js-paren-indent-offset, js-square-indent-offset)
3467 (js-curly-indent-offset): Add :safe (Bug#12257).
3468
3469 2012-08-22 Edward O'Connor <hober0@gmail.com>
3470
3471 * json.el (json-key-format): Add error properties.
3472 (json-encode-key): New function.
3473 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3474 Use json-encode-key.
3475
3476 2012-08-22 Glenn Morris <rgm@gnu.org>
3477
3478 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3479 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3480 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3481 Update for above change.
3482
3483 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3484
3485 * cus-face.el (custom-face-attributes): Fix customize type for the
3486 :underline attribute. (Bug#11805)
3487
3488 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3489
3490 * window.el (window-point-1, set-window-point-1): Remove.
3491 (window-in-direction, record-window-buffer)
3492 (set-window-buffer-start-and-point, split-window-below)
3493 (window--state-get-1, display-buffer-record-window):
3494 Replace calls to window-point-1 and set-window-point-1 by calls to
3495 window-point and set-window-point respectively.
3496
3497 2012-08-21 Glenn Morris <rgm@gnu.org>
3498
3499 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3500 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3501 Use it.
3502
3503 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3504 (cal-tex-shortday): New function.
3505 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3506 (cal-tex-cursor-filofax-daily): Use the above.
3507
3508 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3509 New functions.
3510 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3511 (cal-tex-cursor-filofax-week): Use them.
3512
3513 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3514 New constants.
3515 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3516 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3517
3518 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3519 (cal-tex-end-document): Don't rely on buffer name.
3520
3521 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3522 Use cal-tex-vspace.
3523 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3524 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3525 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3526 Use cal-tex-arg.
3527
3528 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3529 (cal-tex-cursor-week, cal-tex-cursor-week2)
3530 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3531 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3532 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3533 (cal-tex-insert-preamble, cal-tex-b-document)
3534 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3535 Improve cal-tex-cmd usage.
3536
3537 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3538 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3539 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3540 (cal-tex-weekly-paper): New function.
3541 (cal-tex-cursor-week, cal-tex-cursor-week2)
3542 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3543 (cal-tex-cursor-day): Use it.
3544
3545 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3546 (cal-tex-cursor-filofax-week): Remove leading blank page.
3547
3548 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3549 Add autoload cookie. For now at least, don't use color, since
3550 no other cal-tex function does.
3551
3552 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3553 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3554 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3555
3556 2012-08-21 Juri Linkov <juri@jurta.org>
3557
3558 * info.el (Info-file-attributes): New variable.
3559 (info-insert-file-contents): Add file attributes to
3560 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3561 `Info-toc-nodes' when previous modtime of the Info file is less
3562 than new modtime.
3563 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3564 of info.el. (Bug#12230)
3565
3566 2012-08-20 Glenn Morris <rgm@gnu.org>
3567
3568 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3569 * calendar/holidays.el (calendar-holiday-list):
3570 Report errors with display-warning rather than beep'n'sleep.
3571
3572 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3573
3574 * net/tramp.el (tramp-accept-process-output): Accept only output
3575 from PROC. Otherwise, process filters and sentinels might be
3576 confused. (Bug#12145)
3577
3578 2012-08-20 Chong Yidong <cyd@gnu.org>
3579
3580 * descr-text.el (describe-text-properties-1): Use overlays-in to
3581 report on empty overlays (Bug#3322).
3582
3583 2012-08-20 Glenn Morris <rgm@gnu.org>
3584
3585 * mail/rmailout.el (rmail-output-read-file-name):
3586 Trap and report errors in rmail-output-file-alist elements.
3587
3588 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3589 since most non-font-lock faces are not also variables).
3590
3591 2012-08-20 Edward Reingold <reingold@iit.edu>
3592
3593 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3594 New function. (Bug12160)
3595
3596 2012-08-19 Glenn Morris <rgm@gnu.org>
3597
3598 * mail/rmailout.el (rmail-output-read-file-name):
3599 Fix previous change (when the alist is nil or does not match).
3600
3601 2012-08-19 Chong Yidong <cyd@gnu.org>
3602
3603 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3604 (Bug#12228).
3605
3606 2012-08-18 Chong Yidong <cyd@gnu.org>
3607
3608 * simple.el (yank-handled-properties): New defcustom.
3609 (yank-excluded-properties): Add font-lock-face and category.
3610 (yank): Doc fix.
3611
3612 * subr.el (remove-yank-excluded-properties):
3613 Obey yank-handled-properties. The special handling of font-lock-face
3614 and category is now done this way, instead of being hard-coded.
3615 (insert-for-yank-1): Remove font-lock-face handling.
3616 (yank-handle-font-lock-face-property)
3617 (yank-handle-category-property): New function.
3618
3619 2012-08-17 Glenn Morris <rgm@gnu.org>
3620
3621 * mail/rmailout.el (rmail-output-read-file-name):
3622 Check rmail-output-file-alist against the full message body
3623 in the correct rmail buffer. (Bug#12214)
3624
3625 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3626
3627 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3628 Eliminate superfluous prompt. (Bug#12203)
3629
3630 2012-08-17 Chong Yidong <cyd@gnu.org>
3631
3632 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3633 font spec, set the font directly (Bug#3228).
3634
3635 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3636
3637 * window.el (delete-window): Fix last fix.
3638
3639 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3640
3641 * window.el (window-valid-p): Move to window.c.
3642 (window-child, window-child-count, window-last-child)
3643 (window-normalize-window, window-combined-p)
3644 (window-combinations, window-atom-root, window-min-size)
3645 (window-sizable, window-sizable-p, window-size-fixed-p)
3646 (window-min-delta, window-max-delta, window--resizable)
3647 (window--resizable-p, window-resizable, window-total-size)
3648 (window-full-height-p, window-full-width-p, window-body-size)
3649 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3650 (minimize-window, window-deletable-p, delete-window)
3651 (delete-other-windows, set-window-buffer-start-and-point)
3652 (next-buffer, previous-buffer, split-window, balance-windows-2)
3653 (set-window-text-height, window-buffer-height)
3654 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3655 (truncated-partial-width-window-p): Minor code adjustments.
3656 In doc-strings state whether the argument window has to denote a
3657 live, valid or any window.
3658
3659 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3660
3661 * progmodes/subword.el (subword-forward-function)
3662 (subword-backward-function, subword-forward-regexp)
3663 (subword-backward-regexp): New variables.
3664 (subword-forward, subword-forward-internal, subword-backward-internal):
3665 Use new variables, eg so that different "word" definitions
3666 can be easily used. (Bug#11411)
3667
3668 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3671 for composite selectors.
3672 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3673 operation just because we can't find a previous revision.
3674
3675 2012-08-15 Chong Yidong <cyd@gnu.org>
3676
3677 * frame.el (set-frame-font): Accept font objects.
3678
3679 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3682
3683 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3684
3685 * man.el (Man-overstrike-face, Man-underline-face)
3686 (Man-reverse-face): Remove variables.
3687 (Man-overstrike, Man-underline, Man-reverse): New faces.
3688 (Man-fontify-manpage): Use them instead of the variables.
3689 (Man-cleanup-manpage): Comment change.
3690 (Man-ansi-color-map): New variable.
3691 (Man-fontify-manpage): Use it.
3692 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3693
3694 Implement ANSI SGR parameters 22-27 (bug#12146).
3695 * ansi-color.el (ansi-colors): Doc fix.
3696 (ansi-color-context, ansi-color-context-region): Doc fix.
3697 (ansi-color--find-face): New function.
3698 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3699 Rename the local variable `face' to `codes' since it is now a list of
3700 ansi codes. Doc fix.
3701 (ansi-color-get-face): Remove.
3702 (ansi-color-parse-sequence): New function, derived from
3703 ansi-color-get-face.
3704 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3705 codes 22-27.
3706
3707 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3708
3709 * subr.el (read-passwd): Allow use from a minibuffer.
3710
3711 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3712
3713 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3714 inside comments and strings as identifiers.
3715
3716 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3717 expression to evaluate. This allows to evaluate expressions with
3718 embedded whitespace.
3719 (gud-tooltip-tips): Add a blank before the newline in the
3720 message-box text, for the benefit of message-box emulation on
3721 MS-Windows.
3722
3723 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3724 messages from GDB, pop them up in a tooltip to give feedback to
3725 user.
3726 (gdb-tooltip-print-1): Quote the expression to evaluate.
3727 This allows to evaluate expressions with embedded whitespace.
3728 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3729 if the TTY name is nil or empty (which happens when communicating
3730 with the inferior via pipes, e.g. on MS-Windows).
3731 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3732 don't send that to the GUD buffer.
3733
3734 2012-08-14 Glenn Morris <rgm@gnu.org>
3735
3736 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3737 Optimize away setq-default with no args, as for setq. (Bug#12195)
3738
3739 2012-08-14 Chong Yidong <cyd@gnu.org>
3740
3741 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3742
3743 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3744 (Bug#12085).
3745
3746 2012-08-14 Glenn Morris <rgm@gnu.org>
3747
3748 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3749
3750 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3751
3752 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3753 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3754 Use cached shell name.
3755
3756 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3757
3758 * progmodes/python.el (python-shell-send-string):
3759 (python-shell-send-setup-code): Do not use `format' with `message'.
3760
3761 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3762
3763 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3764 (ruby-percent-literal-beg-re): New constant.
3765 (ruby-syntax-general-delimiters-goto-beg): Rename to
3766 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3767 (ruby-syntax-propertize-general-delimiters): Rename to
3768 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3769 popular term. Adjust comments everywhere.
3770 (ruby-syntax-propertize-percent-literal): Only propertize when not
3771 inside a simple string or comment. When the literal is unclosed,
3772 leave the text after it unpropertized.
3773 (ruby-syntax-methods-before-regexp): New constant.
3774 (ruby-syntax-propertize-function): Use it to recognize regexps.
3775 Don't look at the text after regexp, just use the whitelist.
3776
3777 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3778
3779 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3780 non-nil always load the compiled file if it exists. (Bug#12197)
3781
3782 2012-08-14 Chong Yidong <cyd@gnu.org>
3783
3784 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3785 (hi-lock-set-pattern): When deciding whether to use font lock or
3786 overlays, look at font-lock-mode instead of font-lock-fontified
3787 (Bug#12168).
3788 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3789 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3790
3791 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3792
3793 * subr.el (internal--after-with-selected-window): Fix typo
3794 (Bug#12193).
3795
3796 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3797
3798 Use `completion-table-dynamic' for completion functions.
3799 * progmodes/python.el
3800 (python-shell-completion--do-completion-at-point)
3801 (python-shell-completion--get-completions):
3802 Remove functions.
3803 (python-shell-completion-complete-at-point): New function.
3804 (python-completion-complete-at-point): Use it.
3805
3806 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3807
3808 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3809 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3810
3811 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * subr.el (function-get): Refine `autoload' arg so it can also
3814 autoload functions for gv.el (bug#12191).
3815 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3816 autoloads macros.
3817
3818 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3819 Prefer pcase-let over destructuring-bind.
3820 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3821 Also, remove whitespace as we go, rather than after accumulating the
3822 various places.
3823
3824 * subr.el (internal--before-with-selected-window)
3825 (internal--after-with-selected-window): Fix typo seleted->selected.
3826 (with-selected-window): Adjust callers.
3827 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3828
3829 2012-08-13 Bastien Guerry <bzg@gnu.org>
3830
3831 * window.el (special-display-popup-frame): Minor docstring
3832 enhancement. (Bug#12172)
3833
3834 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3835
3836 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3837 type 1-6.
3838 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3839 extended headers.
3840
3841 * files.el (hack-local-variables-filter): Remove useless eval.
3842
3843 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3844
3845 * subr.el (with-selected-window): Fix last change.
3846
3847 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * subr.el (internal--before-with-seleted-window)
3850 (internal--after-with-seleted-window): New functions.
3851 (with-selected-window): Use them, to replace dependency on
3852 tty-top-frame.
3853
3854 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3855
3856 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3857 binding for `newline'.
3858 (ruby-move-to-block): When moving backward, stop at block opening,
3859 not indentation.
3860 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3861 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3862 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3863 `ruby-toggle-block'.
3864
3865 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * ibuffer.el (ibuffer-do-toggle-read-only):
3868 * dired.el (dired-toggle-read-only):
3869 * buff-menu.el (Buffer-menu-toggle-read-only):
3870 * bindings.el (mode-line-toggle-read-only):
3871 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3872
3873 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3874
3875 * descr-text.el (describe-char): Put the overlays over the
3876 "displayed as" character.
3877
3878 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3879
3880 * calc/calc-units.el (math-default-units-table): Give an
3881 initial value.
3882 (math-put-default-units): Add options to put composite units and
3883 unit systems in the default units table.
3884 (calc-convert-units): Send composite units to
3885 `math-put-default-units' when appropriate.
3886
3887 2012-08-11 Glenn Morris <rgm@gnu.org>
3888
3889 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3890
3891 * tutorial.el (help-with-tutorial):
3892 * emacs-lisp/copyright.el (copyright-update-directory):
3893 * emacs-lisp/autoload.el (autoload-find-generated-file)
3894 (autoload-find-file): Disable local eval: (for insurance).
3895
3896 * files.el (hack-local-variables-filter): If an eval: form is not
3897 known to be safe, and enable-local-variables is :safe, then ignore
3898 the form totally, as is done for non-eval forms. (Bug#12155)
3899 This is CVE-2012-3479.
3900
3901 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3904 (rx-form): Simplify.
3905
3906 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3907
3908 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3909 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3910 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3911 (ruby-syntax-propertize-function): Adjust for changes in
3912 `ruby-syntax-propertize-heredoc'.
3913
3914 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3915
3916 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3917 binding (use `M-;' instead).
3918 (ruby-singleton-class-p): New function.
3919 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3920
3921 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3924
3925 2012-08-10 Chong Yidong <cyd@gnu.org>
3926
3927 * progmodes/python.el (python-shell-get-process-name): Don't mess
3928 with same-window-buffer-names.
3929
3930 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3931 (eshell-remove-from-window-buffer-names): Make obsolete.
3932 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3933 (eshell): Just use pop-to-buffer-same-window instead.
3934
3935 2012-08-10 Chong Yidong <cyd@gnu.org>
3936
3937 * bindings.el: Bind M-= back to count-words-region.
3938
3939 * simple.el (count-words-region): Accept a prefix arg for acting
3940 on the entire buffer.
3941 (count-words--buffer-message): New helper function.
3942
3943 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3946 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3947 (event-start, event-end): Use posn-at-point to return a more
3948 informative posn.
3949 (posnp): New function.
3950 * mouse.el (popup-menu-normalize-position): Use it.
3951
3952 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3953
3954 * mouse.el (popup-menu-normalize-position): New function.
3955 (popup-menu): Use `popup-menu-normalize-position' to normalize
3956 the form for POSITION argument.
3957
3958 * term/x-win.el (x-menu-bar-open):
3959 Use the value returend from (posn-at-point) as position
3960 passed to `popup-menu'.
3961
3962 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3963
3964 * calc/calccomp.el (math-compose-expr): Add extra argument
3965 indicating that parentheses should be put around products in
3966 denominators. Give multiplication precedence over division during
3967 composition.
3968
3969 2012-08-09 Chong Yidong <cyd@gnu.org>
3970
3971 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3972 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3973 (Man-untabify-command, manual-program): Convert to defcustom
3974 (Bug#10429).
3975
3976 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3977
3978 * descr-text.el (describe-char): Don't insert extra newlines
3979 (Bug#10127).
3980
3981 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3982 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3983
3984 * align.el (align-region): Delete temporary markers (Bug#10047).
3985 Plus some code cleanups.
3986
3987 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3988
3989 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3990 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3991 (python-shell-internal-last-output): Use make-local-variable
3992 instead of make-variable-buffer-local.
3993
3994 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3995
3996 * progmodes/python.el: Enhancements to forward-sexp.
3997 (python-nav-forward-sexp): Rename from
3998 python-nav-forward-sexp-function.
3999 (python-nav--forward-sexp, python-nav--backward-sexp):
4000 New functions.
4001
4002 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4003
4004 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4005 modes and simplification modes.
4006
4007 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 * delsel.el (delete-selection-pre-hook): Don't propagate the
4010 file-supersession signals (bug#12161).
4011
4012 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4015 (cl-map-extents): Add compatibility aliases (bug#12135).
4016
4017 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4018
4019 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4020 tests by `ignore-error'.
4021 (tramp-find-shell): Open also a new shell, when cache is already
4022 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4023
4024 2012-08-08 Juri Linkov <juri@jurta.org>
4025
4026 * bookmark.el: Add `defaults' property to the bookmark record.
4027 (bookmark-current-buffer): Doc fix.
4028 (bookmark-make-record): Add `defaults' property with default values
4029 to the bookmark record.
4030 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4031 with `bookmark-insert-current-bookmark'.
4032 (bookmark-set): Get `defaults' property from the bookmark record
4033 and use it in `read-from-minibuffer'.
4034 (bookmark-insert-current-bookmark): Remove function.
4035
4036 * info.el (Info-bookmark-make-record): Add `defaults' property
4037 with values of canonical Info node name, the current Info file
4038 name and the current Info node name. (Bug#12107)
4039
4040 2012-08-08 Juri Linkov <juri@jurta.org>
4041
4042 * files.el (basic-save-buffer): Use `buffer-name' as the default
4043 of `read-file-name' when buffer is not visiting a file (bug#12128).
4044
4045 2012-08-08 Juri Linkov <juri@jurta.org>
4046
4047 * info.el (Info-isearch-search): Doc fix.
4048 (Info-search): Change search-failed message from "initial node" to
4049 "end of node" (bug#12078).
4050 (Info-isearch-search): Change `isearch-string-state' to
4051 `isearch--state-string'.
4052
4053 2012-08-08 Glenn Morris <rgm@gnu.org>
4054
4055 * language/persian.el: Remove file.
4056 * language/misc-lang.el: Move unique part of persian.el here.
4057 * loadup.el: Remove language/persian.
4058
4059 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4060
4061 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4062
4063 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4064
4065 * progmodes/python.el Fixed defsubst warning.
4066 (python-syntax-context) Rename from python-info-ppss-context.
4067 (python-syntax-context-type): Rename from
4068 python-info-ppss-context-type.
4069 (python-syntax-comment-or-string-p): Rename from
4070 python-info-ppss-comment-or-string-p.
4071
4072 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4073
4074 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4075
4076 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4077
4078 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4079 a defcustom that is quoted with backquote.
4080
4081 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4082 Fix handling of interactive spec when the body uses return.
4083 (math-do-arg-check, math-define-function-body): Use backquote forms.
4084 * calc/calc-ext.el (math-defcache): Likewise.
4085 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4086 * allout.el (allout-new-exposure): Likewise.
4087 * calc/calcalg2.el (math-tracing-integral): Likewise.
4088 * info.el (Info-last-menu-item): Likewise.
4089 * emulation/vip.el (vip-loop): Likewise.
4090 * textmodes/artist.el (artist-funcall): Likewise.
4091 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4092 Construct menu-item directly.
4093
4094 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4095 Don't declare.
4096
4097 2012-08-07 Chong Yidong <cyd@gnu.org>
4098
4099 * simple.el (deactivate-mark): Preserve text properties when
4100 saving the primary selection (Bug#8384).
4101
4102 2012-08-07 Kevin Ryde <user42@zip.com.au>
4103
4104 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4105 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4106 and continue processing (Bug#12110).
4107
4108 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4111 syntax-propertize-function (bug#10095).
4112
4113 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4116 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4117 describe-function-1.
4118 (describe-function-1): Use them. Move compiler macro after sig.
4119 (help-fns--compiler-macro): Use function-get. Assume we're already in
4120 standard-output. Adjust layout to new call order.
4121
4122 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4123 re-binding a symbol that has a symbol-macro (bug#12119).
4124
4125 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4126
4127 * language/persian.el: New file. (Bug#11812)
4128 * loadup.el: Add language/persian.el.
4129
4130 2012-08-06 Chong Yidong <cyd@gnu.org>
4131
4132 * window.el (window--maybe-raise-frame): New function.
4133 (window--display-buffer): Split off from here.
4134 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4135 (display-buffer-pop-up-window, display-buffer-use-some-window):
4136 Obey an inhibit-switch-frame action alist entry.
4137 (display-buffer): Update doc.
4138
4139 * replace.el (occur-after-change-function): Avoid losing focus by
4140 using the inhibit-switch-frame display parameter (Bug#12139).
4141
4142 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4143
4144 Make internal shell process buffer names start with space.
4145 * progmodes/python.el (python-shell-make-comint): Add optional
4146 argument INTERNAL.
4147 (run-python-internal): Use it.
4148 (python-shell-internal-get-or-create-process): Check for new
4149 internal buffer names.
4150
4151 2012-08-06 Glenn Morris <rgm@gnu.org>
4152
4153 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4154 Do less getting and setting of environment variables.
4155
4156 2012-08-05 Chong Yidong <cyd@gnu.org>
4157
4158 * proced.el (proced): Add substitution string to docstring to
4159 trigger autoloading of the proced library on C-h f (Bug#1768).
4160
4161 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4162 Don't show defvars which have no second argument (Bug#8638).
4163
4164 * imenu.el (imenu-generic-expression): Move documentation here
4165 from imenu--generic-function.
4166 (imenu--generic-function): Refer to imenu-generic-expression.
4167
4168 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4169
4170 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4171 indentation declaration.
4172 (viper-loop): Add indentation declaration (Bug#7025).
4173
4174 2012-08-05 Chong Yidong <cyd@gnu.org>
4175
4176 * help-fns.el (describe-variable): Add hyperlink for
4177 directory-local variables files. Improve buffer-local and
4178 permanent-local reporting; suggested by MON KEY (Bug#6644).
4179
4180 * help-mode.el (help-dir-local-var-def): New button type.
4181
4182 * files.el (kill-buffer-hook): Provide a defvar.
4183
4184 2012-08-05 Glenn Morris <rgm@gnu.org>
4185
4186 * eshell/esh-ext.el (eshell/addpath):
4187 Also update eshell-path-env. (Bug#12013)
4188
4189 2012-08-05 Chong Yidong <cyd@gnu.org>
4190
4191 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4192
4193 * fringe.el (fringe-styles): Add docstring.
4194 (fringe--check-mode): New function.
4195 (set-fringe-mode, set-fringe-style): Use it.
4196 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4197
4198 * files.el (set-auto-mode): Fix invalid setq call.
4199
4200 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4201
4202 * isearch.el: Misc simplification; use defstruct.
4203 (isearch-mode-map): Dense maps now work like sparse ones.
4204 (isearch--state): New defstruct.
4205 (isearch-string-state, isearch-message-state, isearch-point-state)
4206 (isearch-success-state, isearch-forward-state)
4207 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4208 (isearch-wrapped-state, isearch-barrier-state)
4209 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4210 replaced by defstruct's accessors.
4211 (isearch--set-state): Rename from isearch-top-state and change
4212 calling convention.
4213 (isearch-push-state): Use new isearch--get-state.
4214 (isearch-toggle-word): Disable regexp when enabling word.
4215 (isearch-message-prefix): Remove unused arg _c-q-hack.
4216 (isearch-message-suffix): Remove unused arg _ellipsis.
4217
4218 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4219
4220 * simple.el (list-processes--refresh): For a server use :host or
4221 :local as the address.
4222 (list-processes): Doc fix.
4223
4224 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4225
4226 * lisp/mpc.el: Support password in host argument.
4227 (mpc--proc-connect): Parse and use new password element.
4228 Set mpc-proc variable instead of returning process.
4229 (mpc-proc): Adjust accordingly.
4230
4231 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4232
4233 * whitespace.el (whitespace-display-mappings): Use Unicode
4234 codepoints, instead of emacs-mule codepoints. See
4235 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4236 for the details.
4237
4238 * files.el (file-truename): Don't skip symlink-chasing part on
4239 windows-nt. Incorporate the resolution of 8+3 short aliases on
4240 Windows into the loop that recursively chases symlinks.
4241 Compare directory and its parent case-insensitively on MS-Windows and
4242 MS-DOS.
4243
4244 2012-08-03 Chong Yidong <cyd@gnu.org>
4245
4246 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4247
4248 * sort.el (sort-regexp-fields): Doc fix.
4249
4250 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4251
4252 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4253 labels regex position point at the expected place.
4254
4255 2012-08-03 MON KEY <monkey@sandpframing.com>
4256
4257 * net/imap.el (imap-interactive-login, imap-authenticate)
4258 (imap-mailbox-lsub, imap-mailbox-list)
4259 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4260 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4261 (imap-parse-response): Doc fix.
4262
4263 2012-08-03 João Távora <joaotavora@gmail.com>
4264
4265 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4266 if sexp scanning does not move point (Bug#5734).
4267
4268 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4269
4270 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4271 Add listings, minted, and ctable packages.
4272 (reftex-label-alist-builtin): Move listings, minted, and ctable
4273 entries before LaTeX.
4274 (reftex-label-alist): Docfix.
4275
4276 2012-08-02 Bastien Guerry <bzg@gnu.org>
4277
4278 * replace.el (occur): Fix docstring (bug#12122).
4279
4280 2012-08-02 Glenn Morris <rgm@gnu.org>
4281
4282 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4283
4284 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4285
4286 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4287 * international/mule-cmds.el: Create
4288 inactivate-current-input-method-function as an obsolete alias for
4289 deactivate-current-input-method-function. See Katsumi Yamaoka in
4290 <http://bugs.gnu.org/10150#46>.
4291
4292 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4293
4294 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4295 of nested `if's.
4296
4297 2012-08-01 Glenn Morris <rgm@gnu.org>
4298
4299 * progmodes/autoconf.el (autoconf-definition-regexp):
4300 Add AH_TEMPLATE, adjust submatch numbering.
4301 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4302 (autoconf-current-defun-function): Update for above change.
4303 (autoconf-current-defun-function): First skip to end of current word.
4304
4305 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4306
4307 * calendar/cal-html.el (cal-html-insert-agenda-days):
4308 Fix typo. (Bug#12018)
4309
4310 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4311
4312 Shell processes: enhancements to startup and CEDET compatibility.
4313 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4314 (python-shell-make-comint): accept-process-output at startup.
4315 (run-python-internal): Set inferior-python-mode-hook to nil.
4316 (python-shell-internal-get-or-create-process): call sit-for.
4317 (python-preoutput-result): Add obsolete alias.
4318 (python-shell-internal-send-string): Use it.
4319 (python-shell-send-setup-code): Remove call to
4320 accept-process-output.
4321
4322 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4323
4324 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4325 (Bug#12108)
4326
4327 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4328
4329 * calc-mode.el (calc-basic-simplification-mode): Rename from
4330 `calc-limited-simplification-mode'.
4331 (calc-alg-simplification-mode): New function.
4332 (calc-set-simplify-mode): Adjust message.
4333
4334 * calc.el (calc-set-mode-line): Adjust mode line display for
4335 basic simplification mode.
4336
4337 * calc-help.el (calc-m-prefix-help): Update help message.
4338
4339 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4340 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4341
4342 2012-07-31 Bastien Guerry <bzg@gnu.org>
4343
4344 * man.el (man): Fix comment. (bug#12101)
4345
4346 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4347
4348 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4349 Don't return a non-nil value when no suitable buffer was found.
4350
4351 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4352
4353 * progmodes/python.el (run-python-internal): Disable font lock for
4354 internal shells.
4355
4356 2012-07-30 Stefan Merten <smerten@oekonux.de>
4357
4358 * textmodes/rst.el: Silence `checkdoc-ispell'.
4359 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4360 (rst-official-version, rst-official-cvs-rev)
4361 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4362 (rst-mode-map): New key binding.
4363
4364 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4365
4366 Update .PHONY listings in makefiles.
4367 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4368 autoloads, update-subdirs, updates, bzr-update, update-authors,
4369 compile-onefile, compile-calc, backup-compiled-files,
4370 compile-after-backup, compile-one-process, mh-autoloads,
4371 bootstrap-clean, distclean, maintainer-clean.
4372
4373 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4374
4375 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4376 (calc-set-mode-line): Don't display "AlgSimp ".
4377
4378 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4379 (calc-lim-simplify-mode): New function.
4380 (calc-set-simplify-mode): Default to 'alg.
4381 (calc-default-simplify-mode): Make algebraic simplifications
4382 the default.
4383
4384 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4385 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4386
4387 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4388 indicate new simplification modes.
4389
4390 * calc/README: Mention new default simplification mode.
4391
4392 * calc/calc.el (math-normalize-error): New variable.
4393 (math-normalize): Set `math-normalize-error' to t
4394 when there's an error.
4395
4396 * calc/calc-alg.el (math-simplify): Don't simplify when
4397 `math-normalize' returns an error.
4398
4399 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4400
4401 * international/mule-cmds.el (set-locale-environment): Revert last
4402 change, since display-graphic-p returns nil when this function is
4403 called during startup. Instead...
4404
4405 * term/w32console.el (terminal-init-w32console): ...setup the
4406 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4407
4408 2012-07-29 Juri Linkov <juri@jurta.org>
4409
4410 * simple.el (goto-line): Don't display default line number in the
4411 prompt because it should be displayed by `read-number' (bug#9952).
4412 Add the current line number to the defaults of `goto-line' to
4413 allow its easier modification by users with `M-n' (bug#9201).
4414
4415 * subr.el (read-number): Support multiple default values like in
4416 other minibuffer reading functions. Replace `read' with
4417 `string-to-number' for consistency with `number-to-string'.
4418
4419 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4420
4421 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4422 * emulation/viper-init.el (viper-deactivate-input-method-action):
4423 Rename from viper-inactivate-input-method-action.
4424 (viper-deactivate-input-method):
4425 Rename from viper-inactivate-input-method.
4426 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4427 * international/mule-cmds.el (deactivate-input-method):
4428 Rename from inactivate-input-method.
4429 Also run input-method-deactivate-hook.
4430 (deactivate-current-input-method-function):
4431 Rename from inactivate-current-input-method-function.
4432 (input-method-deactivate-hook): New hook.
4433 (input-method-inactivate-hook): Mark obsolete.
4434 (inactivate-input-method): Mark obsolete.
4435
4436 * international/quail.el (quail-activate):
4437 Also run quail-deactivate-hook.
4438 (quail-deactivate): Rename from quail-inactivate.
4439 * international/robin.el (robin-activate):
4440 Also run robin-deactivate-hook.
4441 (robin-deactivate): Rename from robin-inactivate.
4442
4443 2012-07-29 Chong Yidong <cyd@gnu.org>
4444
4445 * simple.el (indicate-copied-region): New function.
4446 (kill-ring-save): Split off from here.
4447
4448 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4449 (kill-rectangle): Set deactivate-mark to t on read-only error.
4450
4451 * register.el (copy-to-register, copy-rectangle-to-register):
4452 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4453 (append-to-register, prepend-to-register): Call indicate-copied-region.
4454
4455 2012-07-29 Juri Linkov <juri@jurta.org>
4456
4457 * simple.el (async-shell-command-buffer): New defcustom.
4458 (shell-command): Use it. (Bug#4719)
4459
4460 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4461
4462 * international/mule-cmds.el (set-locale-environment): In a
4463 console session on MS-Windows, set up keyboard and terminal
4464 encoding from the OEM codepage, not the ANSI codepage.
4465 (Bug#12055)
4466
4467 2012-07-28 Chong Yidong <cyd@gnu.org>
4468
4469 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4470 gdb-get-location.
4471
4472 2012-07-28 Leo Liu <sdl.web@gmail.com>
4473
4474 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4475 the alist (bug#12029).
4476
4477 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4478
4479 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4480 (compile-always, compile-first)
4481 ($(lisp)/calendar/cal-loaddefs.el)
4482 ($(lisp)/calendar/diary-loaddefs.el)
4483 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4484 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4485 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4486 instead of on update-subdirs.
4487 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4488
4489 2012-07-28 Chong Yidong <cyd@gnu.org>
4490
4491 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4492 directory if vc-deduce-backend returns nil (Bug#7350).
4493
4494 * simple.el (delete-trailing-lines): New option.
4495 (delete-trailing-whitespace): Obey it (Bug#11879).
4496
4497 2012-07-28 David Engster <deng@randomsample.de>
4498
4499 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4500 Explanation of new 'symbol-qnames feature in doc-strings.
4501 (xml-maybe-do-ns): Return expanded names as plain symbols if
4502 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4503 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4504
4505 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4506
4507 Consistent completion in inferior python with emacs -nw.
4508 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4509 binding in inferior-python-mode-map with "\t".
4510 (python-shell-completion-complete-at-point)
4511 (python-completion-complete-at-point): Remove interactive spec.
4512
4513 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4514
4515 * calc/calccomp.el (math-compose-expr): Undo previous change.
4516
4517 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4518
4519 * progmodes/python.el (python-mode-map): Add keybinding for
4520 run-python.
4521 (python-shell-make-comint): Fix pop-to-buffer call.
4522 (run-python): Autoload. New arg SHOW.
4523 (python-shell-get-or-create-process): Do not pop python process
4524 buffer.
4525
4526 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4527
4528 * notifications.el (notifications-on-action-signal)
4529 (notifications-on-closed-signal): Use also the bus address for the map.
4530 (notifications-notify, notifications-close-notification)
4531 (notifications-get-capabilities): Add optional argument BUS.
4532
4533 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4534
4535 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4536 Add support for the lstlisting and minted environments, and for the
4537 ctable macro.
4538 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4539 labels written in keyvals syntax.
4540
4541 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4542
4543 * calc/calccomp.el (math-compose-expr): Use parentheses when
4544 there is a product in the denominator of a fraction.
4545
4546 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4547
4548 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4549 ($(lisp)/calendar/diary-loaddefs.el)
4550 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4551 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4552 Fixes failures in parallel bootstrap because subdirs.el is being
4553 rewritten while the autoload files are built at the same time,
4554 which needs to load subdirs.el.
4555
4556 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4557
4558 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4559 (mouse-drag-line): Don't exit tracking when a switch-frame or
4560 switch-window event occurs (Bug#12006).
4561
4562 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 * mouse.el (popup-menu): Fix last change.
4565
4566 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 Autoload from Lisp with more care. Follow aliases when looking for
4569 function properties.
4570 * subr.el (autoloadp): New function.
4571 (symbol-file): Use it.
4572 (function-get): New function.
4573 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4574 autoload-do-load.
4575 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4576 (lisp-indent-function):
4577 * emacs-lisp/gv.el (gv-get):
4578 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4579 * emacs-lisp/byte-opt.el (byte-optimize-form):
4580 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4581 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4582 Use function-get.
4583 * emacs-lisp/cl.el: Don't propagate function properties any more.
4584
4585 * speedbar.el (speedbar-add-localized-speedbar-support):
4586 * emacs-lisp/disass.el (disassemble-internal):
4587 * desktop.el (desktop-load-file):
4588 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4589 (describe-function-1):
4590 * emacs-lisp/find-func.el (find-function-noselect):
4591 * emacs-lisp/elp.el (elp-instrument-function):
4592 * emacs-lisp/advice.el (ad-has-proper-definition):
4593 * apropos.el (apropos-safe-documentation, apropos-macrop):
4594 * emacs-lisp/debug.el (debug-on-entry):
4595 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4596 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4597 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4598
4599 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4600
4601 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4602 function, not an obsolete variable (Bug#12046).
4603
4604 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4605
4606 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4607
4608 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4609
4610 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4611 window only if it is still live (Bug#12034).
4612
4613 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4614
4615 * subr.el (redirect-frame-focus): Add advertised calling
4616 convention (Bug#12030).
4617
4618 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4619
4620 Prefer typical American spelling for "acknowledgment".
4621 * vc/add-log.el (change-log-acknowledgment): Rename from
4622 change-log-acknowledgement, with an alias for the old name.
4623
4624 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4625
4626 * calc-alg.el (math-simplify-divide): Don't cross multiply
4627 in an equation when the lhs is a variable.
4628
4629 2012-07-24 Julien Danjou <julien@danjou.info>
4630
4631 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4632 Remove, unused.
4633
4634 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4635
4636 * startup.el (command-line): Don't display an empty user name in
4637 the error message about non-existent home directory, when
4638 init-file-user was set to an empty string. See
4639 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4640 for the details and context.
4641
4642 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4643
4644 * ses.el (ses-cell-formula-aset): New macro.
4645 (ses-cell-references-aset): New macro.
4646 (ses-cell-p): New function.
4647 (ses-rename-cell): Do no longer rely on complex operations like
4648 ses-cell-set-formula or ses-set-cell to change the cell and handle
4649 the undo at the same time, but rather use lower level new macros
4650 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4651 the undo directly. Refresh the mode line.
4652
4653 2012-07-21 Leo Liu <sdl.web@gmail.com>
4654
4655 * progmodes/cc-cmds.el (c-defun-name):
4656 Use match-string-no-properties instead for consistency.
4657
4658 2012-07-20 Leo Liu <sdl.web@gmail.com>
4659
4660 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4661 (Bug#7879)
4662
4663 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4664
4665 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4666
4667 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4668 * progmodes/bug-reference.el, misearch.el: Provide themselves
4669 (bug#11915).
4670
4671 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4672 of narrowed buffer (bug#11966).
4673
4674 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4675
4676 * ses.el (ses-rename-cell): Set new name also in reference list of
4677 cells of which the renamed cell depends.
4678
4679 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4680
4681 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4682 to check whether menu-bar is shown or not. If not shown,
4683 show the menu-bar as a popup menu instead of using tmm.
4684 * mouse.el (popup-menu): Accept `point' as `position' argument.
4685
4686 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4689 up inside string symbol literal (bug#11923).
4690
4691 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4692
4693 * startup.el (fancy-startup-text): Read the whole tutorial, not
4694 just its first 256 bytes. Prevents gibberish in display of the
4695 tutorial title.
4696
4697 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4698
4699 Drop idle buffer compaction due to an absence of the
4700 proved efficiency.
4701 * compact.el: Remove.
4702
4703 2012-07-19 Sam Steingold <sds@gnu.org>
4704
4705 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4706 vc-bzr-pull & vc-bzr-merge-branch.
4707 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4708 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4709 for consistency with compilation-error-regexp-alist.
4710 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4711 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4712 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4713 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4714
4715 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * emacs-lisp/chart.el: Use lexical-binding.
4718 (chart-emacs-storage): Don't hardcode the list of entries.
4719
4720 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4721
4722 Next round of tweaks caused by Fgarbage_collect changes.
4723 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4724
4725 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4726
4727 Compact buffers when idle.
4728 * compact.el: New file.
4729
4730 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * subr.el (eventp): Presume that if it looks vaguely like an event,
4733 it's an event (bug#10190).
4734
4735 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4736
4737 Enhancements to ppss related code (thanks Stefan).
4738 * progmodes/python.el (python-indent-context)
4739 (python-indent-calculate-indentation, python-indent-dedent-line)
4740 (python-indent-electric-colon, python-nav-forward-block)
4741 (python-mode-abbrev-table)
4742 (python-info-assignment-continuation-line-p): Simplify checks
4743 for ppss context.
4744 (python-info-continuation-line-p): Cleanup.
4745 (python-info-ppss-context): Do not catch 'quote.
4746 (python-info-ppss-context-type)
4747 (python-info-ppss-comment-or-string-p): Simplify.
4748
4749 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4750
4751 * progmodes/python.el: Enhancements to eldoc support.
4752 (python-info-current-symbol): New function.
4753 (python-eldoc-at-point): Use python-info-current-symbol.
4754 (python-info-current-defun): Fix cornercase on first defun scan.
4755 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4756 and signal error when no inferior python process is available.
4757
4758 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4759
4760 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4761 assume it's always t.
4762 (vc-git-registered): Remove caching, the function is only called
4763 once.
4764 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4765
4766 2012-07-18 Chong Yidong <cyd@gnu.org>
4767
4768 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4769
4770 * simple.el (count-words): Report on narrowing (Bug#9959).
4771
4772 * bindings.el: Bind M-= to count-words.
4773
4774 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4775
4776 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4777
4778 * progmodes/sh-script.el (sh-imenu-generic-expression):
4779 Capture a function with `function' keyword and without parentheses
4780 like "function FOO" (bug#11856).
4781
4782 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4783
4784 * window.el (split-window-sensibly): Make WINDOW argument
4785 optional.
4786
4787 2012-07-18 Chong Yidong <cyd@gnu.org>
4788
4789 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4790
4791 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4792 and make C-x 8 RET exit isearch (Bug#11439).
4793
4794 * international/iso-transl.el: Move isearch-mode-map key
4795 definitions to isearch.el.
4796
4797 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4800 (eieio-defclass): Use gv-define-setter when possible.
4801
4802 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4803
4804 Reflect recent changes in Fgarbage_collect.
4805 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4806 reflect new format of data returned by Fgarbage_collect.
4807
4808 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4809
4810 New utility functions + python-info-ppss-context fix (Bug#11910).
4811 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4812 (python-info-ppss-comment-or-string-p): New functions.
4813 (python-info-ppss-context): Small fix for string check.
4814
4815 2012-07-17 Juri Linkov <juri@jurta.org>
4816
4817 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4818 (dired-do-async-shell-command): Don't add `*' at the end of the
4819 command (Bug#11815).
4820 (dired-do-shell-command): Doc fix.
4821 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4822 Join the individual commands using either "&" or ";" as the
4823 separator depending on the values of these trailing characters.
4824 At the end re-add the trailing "&". (Bug#10598)
4825
4826 * simple.el (async-shell-command): Sync the interactive spec with
4827 `shell-command'. Doc fix.
4828 (shell-command): Doc fix.
4829
4830 2012-07-17 Juri Linkov <juri@jurta.org>
4831
4832 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4833
4834 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4835
4836 Final renames and doc fixes for movement commands (bug#11899).
4837 * progmodes/python.el (python-nav-beginning-of-statement):
4838 Rename from python-nav-statement-start.
4839 (python-nav-end-of-statement): Rename from
4840 python-nav-statement-end.
4841 (python-nav-beginning-of-block): Rename from
4842 python-nav-block-start.
4843 (python-nav-end-of-block): Rename from python-nav-block-end.
4844
4845 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4846
4847 * progmodes/python.el (python-shell-send-string-no-output):
4848 Allow accept-process-output to quit, keeping shell process ready for
4849 future interactions (Bug#11868).
4850
4851 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4854
4855 * emacs-lisp/elint.el (elint-find-args-in-code):
4856 Use help-function-arglist, so as to handle lexical byte-code.
4857
4858 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4859 change (bug#11826).
4860
4861 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4864 Avoid spuriously marking the buffer as modified because of c-is-sws.
4865
4866 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4867 as not-a-comment (bug#11946).
4868
4869 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4870 for uninterned vars.
4871
4872 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4873 Use read-event since we don't really want to read chars but bytes.
4874
4875 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4876 $$..$$ but also $..$ using regexps (bug#11953).
4877 Use tex-verbatim for \url and \path.
4878 (tex-font-lock-keywords): Define as defconst like the others.
4879 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4880
4881 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4882
4883 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4884 alias for insert-char.
4885
4886 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4887
4888 * progmodes/python.el: Simplified imenu implementation.
4889 (python-nav-jump-to-defun): Remove command.
4890 (python-mode-map): Use `imenu' instead.
4891 (python-nav-list-defun-positions-cache)
4892 (python-imenu-include-defun-type, python-imenu-make-tree)
4893 (python-imenu-subtree-root-label, python-imenu-index-alist):
4894 Remove vars.
4895 (python-nav-list-defun-positions, python-nav-read-defun)
4896 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4897 (python-imenu-make-tree, python-imenu-create-index):
4898 Remove functions.
4899 (python-mode): Update to interact with imenu by setting
4900 `imenu-extract-index-name-function' only.
4901
4902 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4903
4904 * progmodes/python.el: Enhancements to navigation commands.
4905 (python-nav-backward-sentence)
4906 (python-nav-forward-sentence): Remove.
4907 (python-nav-backward-statement, python-nav-forward-statement)
4908 (python-nav-statement-start, python-nav-statement-end)
4909 (python-nav-backward-block, python-nav-forward-block)
4910 (python-nav-block-start, python-nav-block-end)
4911 (python-nav-forward-sexp-function)
4912 (python-info-current-line-comment-p)
4913 (python-info-current-line-empty-p): New functions.
4914 (python-indent-context): Use `python-nav-statement-start'.
4915
4916 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * eshell/em-ls.el (eshell/ls): Use `apply'.
4919
4920 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4921 multi-hops, instead of Tramp internals.
4922
4923 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4924
4925 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4926 when F1 and F2 are located on different hosts.
4927
4928 2012-07-14 Chong Yidong <cyd@gnu.org>
4929
4930 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4931 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4932 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4933 (xterm-mouse--read-event-sequence-1000)
4934 (xterm-mouse--read-event-sequence-1006): New functions. For old
4935 mouse protocol, handle M-mouse-X events correctly.
4936 (xterm-mouse-event): New arg specifying mouse protocol.
4937 (turn-on-xterm-mouse-tracking-on-terminal)
4938 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4939 sequence to toggle extended coordinates on newer XTerms.
4940 This appears to be harmless on terminals which do not support this.
4941
4942 2012-07-14 Leo Liu <sdl.web@gmail.com>
4943
4944 Add fringe bitmap indicators for flymake. (Bug#11253)
4945 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4946 (flymake-make-overlay): New arg BITMAP.
4947 (flymake-error-bitmap, flymake-warning-bitmap)
4948 (flymake-fringe-indicator-position): New user variables.
4949
4950 * fringe.el: New bitmap exclamation-mark.
4951
4952 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4953
4954 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4955 also (Bug#7879).
4956
4957 2012-07-14 Chong Yidong <cyd@gnu.org>
4958
4959 * electric.el (electric-pair-post-self-insert-function): Fix pair
4960 insertion in empty-region case (Bug#11520).
4961
4962 2012-07-14 Chong Yidong <cyd@gnu.org>
4963
4964 * bindings.el: Consolidate ctl-x-r-map bindings.
4965 Bind copy-rectangle-as-kill to C-x r w.
4966
4967 * rect.el, register.el: Move bindings to bindings.el.
4968
4969 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4970
4971 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4972
4973 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4974
4975 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4976
4977 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4978
4979 * bindings.el (top): Use `mapc' instead of `mapcar'.
4980
4981 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4982
4983 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4984
4985 * progmodes/sql.el (sql-comint): Suppress the check for program on
4986 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4987 (Bug#11908)
4988
4989 2012-07-13 Chong Yidong <cyd@gnu.org>
4990
4991 * bindings.el: Assign a non-nil permanent-local property to
4992 per-buffer variables which lack a default value (Bug#11930).
4993
4994 * help-fns.el (describe-variable): In the "automatically becomes
4995 local" notice, take note of permanent-local variables.
4996
4997 2012-07-13 Chong Yidong <cyd@gnu.org>
4998
4999 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5000 to allow printing the message when called from Lisp.
5001
5002 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5003 Remove toggle-read-only.
5004
5005 * bs.el (bs-toggle-readonly):
5006 * buff-menu.el (Buffer-menu-toggle-read-only):
5007 Remove with-no-warnings around toggle-read-only.
5008
5009 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5010 Remove with-no-warnings around toggle-read-only.
5011 (ffap-read-only, ffap-read-only-other-window)
5012 (ffap-read-only-other-frame): Callers changed.
5013
5014 * help-mode.el: Don't require view package.
5015 (help-mode-finish): Set buffer-read-only instead of calling
5016 toggle-read-only.
5017
5018 * bindings.el (mode-line-toggle-read-only):
5019 * dired.el (dired-toggle-read-only):
5020 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5021 with non-nil second arg.
5022
5023 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5024 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5025 directly.
5026
5027 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5028
5029 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5030 not incf.
5031
5032 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 More CL cleanups and reduction of use of cl.el.
5035 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5036 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5037 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5038 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5039 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5040 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5041 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5042 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5043 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5044 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5045 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5046 * eshell/em-cmpl.el, eshell/em-banner.el:
5047 * calendar/parse-time.el: Use cl-lib.
5048 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5049 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5050 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5051 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5052 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5053 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5054 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5055 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5056 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5057 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5058 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5059 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5060 `lambda' rather than with `quote'.
5061 (eshell-do-opt): Adjust accordingly.
5062 (eshell-process-option): Simplify.
5063 * eshell/esh-var.el:
5064 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5065 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5066 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5067 to `pcase--dontcare'.
5068 * emacs-lisp/cl.el (labels): Mark obsolete.
5069 (cl--letf, letf): Move to cl-lib.
5070 (cl--letf*, letf*): Remove.
5071 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5072 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5073 (cl-progv): Rewrite.
5074 (cl--letf, cl-letf): Move from cl.el.
5075 (cl-letf*): New macro.
5076 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5077
5078 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5079
5080 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5081
5082 2012-07-11 Chong Yidong <cyd@gnu.org>
5083
5084 * vc/log-edit.el (log-edit-vc-backend): New variable.
5085 (log-edit): Doc fix.
5086
5087 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5088 argument of log-edit to set up all local variables.
5089 (vc-start-logentry): New optional arg specifying VC backend.
5090
5091 * vc/vc.el (vc-checkin): Use it.
5092 (vc-deduce-fileset): Handle Log Edit buffers.
5093 (vc-diff): Make first argument optional too.
5094
5095 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5096
5097 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5098
5099 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5100 command, just in case. The function is not needed anymore.
5101 (eshell-external-command): Do not call `eshell-remote-command'.
5102
5103 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 Reduce use of (require 'cl).
5106 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5107 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5108 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5109 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5110 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5111 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5112 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5113 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5114 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5115 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5116 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5117 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5118 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5119 (byte-compile-unfold-bcf, byte-compile-check-variable):
5120 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5121 (byte-compile-nilconstp):
5122 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5123 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5124
5125 * emacs-lisp/gv.el (cond): Make it a valid place.
5126 (if): Simplify slightly.
5127
5128 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5129 (pcase--self-quoting-p): New function.
5130 (pcase--u1): Use it.
5131
5132 2012-07-10 Glenn Morris <rgm@gnu.org>
5133
5134 * emacs-lisp/authors.el (authors-fixed-entries):
5135 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5136
5137 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5138
5139 Rename configure.in to configure.ac (Bug#11603).
5140 * emacs-lisp/authors.el (authors-canonical-file-name):
5141 * progmodes/autoconf.el (autoconf-mode):
5142 Prefer configure.ac to configure.in.
5143
5144 2012-07-08 Chong Yidong <cyd@gnu.org>
5145
5146 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5147 Implement the mouse-1-click-follows-link handling properly.
5148
5149 * info.el (Info-link-keymap): Use follow-link mechanism for
5150 header-line links (Bug#374).
5151
5152 * simple.el (deactivate-mark): Do not set the primary selection
5153 if another program has acquired it (Bug#11772).
5154
5155 2012-07-07 Kevin Ryde <user42@zip.com.au>
5156
5157 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5158 (woman-decode-region): Replace escaped-escapes without destroying
5159 bold or underline (Bug#11552).
5160 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5161
5162 2012-07-07 Chong Yidong <cyd@gnu.org>
5163
5164 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5165 (interprogram-cut-function, interprogram-paste-function):
5166 Mention that we typically mean the clipboard.
5167
5168 2012-07-06 Glenn Morris <rgm@gnu.org>
5169
5170 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5171
5172 * files.el (toggle-read-only): Restrict message to interactive use.
5173
5174 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5175
5176 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5177
5178 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5179
5180 2012-07-06 Glenn Morris <rgm@gnu.org>
5181
5182 * Makefile.in (compile-one-process): Rename from "recompile".
5183
5184 * Makefile.in (bzr-update): "compile" is the same as "recompile
5185 autoloads", but parallelizable, so use that instead.
5186
5187 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5188
5189 * window.el (quit-window): Always restore window height when
5190 it's saved in quit-restore parameter (Bug#11810).
5191
5192 2012-07-06 Glenn Morris <rgm@gnu.org>
5193
5194 * simple.el (kill-whole-line): Doc tweak.
5195
5196 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5197
5198 * files.el (file-relative-name): Compare file names
5199 case-insensitively if on MS-Windows or MS-DOS, or if
5200 read-file-name-completion-ignore-case is non-nil. Don't use
5201 case-fold-search for this purpose. (Bug#11827)
5202
5203 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5204
5205 * calendar/cal-dst.el (calendar-current-time-zone):
5206 Return calendar-current-time-zone-cache if non-nil.
5207
5208 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5209 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5210
5211 * calendar/cal-dst.el (calendar-current-time-zone):
5212 Return calendar-current-time-zone-cache if non-nil.
5213
5214 2012-07-06 Glenn Morris <rgm@gnu.org>
5215
5216 * Makefile.in (cvs-update): Remove old alias.
5217
5218 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5219
5220 Sync with Tramp 2.2.6-pre.
5221
5222 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5223 compatible declaration.
5224
5225 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5226 Protect `list-load-path-shadows' call.
5227
5228 * net/tramp-compat.el (top): Require packages, which aren't
5229 autoloaded anymore for XEmacs. Protect call of
5230 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5231 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5232 it hurts at least for SXEmacs.
5233 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5234 standard-value for `temporary-file-directory'.
5235
5236 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5237 Redirect stderr to /dev/null.
5238 (tramp-sh-handle-write-region): uid and gid can be floats.
5239 Reported by Russell Sim <russell.sim@gmail.com>.
5240 (tramp-sh-handle-vc-registered): Hide errors.
5241 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5242 and `start-file-process'.
5243 (tramp-maybe-open-connection): Check also whether `non-essential'
5244 is bound.
5245
5246 2012-07-04 Chong Yidong <cyd@gnu.org>
5247
5248 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5249 (xml-parse-tag): Likewise, and avoid changing entity tables.
5250 (xml-syntax-table): Define from scratch, making sure not to give
5251 x2000 and other Unicode spaces whitespace syntax, since those are
5252 not spaces in XML.
5253 (xml-parse-fragment): Delete unused function.
5254 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5255 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5256 (xml-entity-ref, xml-pe-reference-re)
5257 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5258 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5259 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5260 (xml-entity-value-re): Use syntax references in regexps where
5261 possible; no need to define inside a let-binding.
5262 (xml-parse-dtd): Use xml-pe-reference-re.
5263 (xml-entity-or-char-ref-re): New defconst.
5264 (xml-parse-string, xml-substitute-special): Use it.
5265
5266 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5269 (find-file--read-only): New function.
5270 (find-file-read-only, find-file-read-only-other-window)
5271 (find-file-read-only-other-frame): Use it.
5272 (insert-file-contents-literally): Don't `fset'.
5273 (get-free-disk-space): Use locate-dominating-file.
5274
5275 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5276 function is already compiled.
5277
5278 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5279
5280 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5281
5282 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5283 files on the same host.
5284
5285 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5286
5287 * help-fns.el (describe-function-1): Only call
5288 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5289
5290 2012-07-03 Chong Yidong <cyd@gnu.org>
5291
5292 * xml.el: Protect parser against XML bombs.
5293 (xml-entity-expansion-limit): New variable.
5294 (xml-parse-string, xml-substitute-special): Use it.
5295 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5296
5297 2012-07-03 Glenn Morris <rgm@gnu.org>
5298
5299 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5300 Allow linking to specific messages in debbugs reports (eg 123#5).
5301
5302 2012-07-02 Chong Yidong <cyd@gnu.org>
5303
5304 * xml.el: Fix entity and character reference expansion, allowing
5305 them to expand into markup as per XML spec.
5306 (xml-default-ns): New variable.
5307 (xml-entity-alist): Use XML spec definitions for lt and amp.
5308 (xml-parse-region): Make first two arguments optional.
5309 Discard text properties.
5310 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5311 All callers changed.
5312 (xml-parse-tag): Call xml-parse-tag-1. For backward
5313 compatibility, this function should not modify buffer contents.
5314 (xml-parse-tag-1): Fix opening-tag regexp.
5315 (xml-parse-string): Rewrite, handling entity and character
5316 references properly.
5317 (xml--entity-replacement-text): Signal an error if a parameter
5318 entity is undefined.
5319
5320 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5321
5322 * comint.el (comint-output-filter): Filter out repeated prompts.
5323
5324 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5325 and file-name-absolute-p.
5326 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5327 internal calls.
5328
5329 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5330
5331 Spelling fixes.
5332 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5333 Rename from byte-compile--refiy-function. All uses changed.
5334
5335 2012-07-01 Chong Yidong <cyd@gnu.org>
5336
5337 * xml.el (xml--parse-buffer): New function. Move most of
5338 xml-parse-region here.
5339 (xml-parse-region): Copy region into a temporary buffer, since
5340 parameter entity substitution requires changing buffer contents.
5341 Use xml--parse-buffer.
5342 (xml-parse-file): Use xml--parse-buffer.
5343 (xml-parse-dtd): Make parameter entity substitution work right.
5344 Use proper regexps for ELEMENT declarations (Bug#7172).
5345
5346 2012-06-30 Glenn Morris <rgm@gnu.org>
5347
5348 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5349
5350 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5351 Remove outdated and unnecessary dbus declarations.
5352
5353 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5354
5355 * emacs-lisp/timer.el (timer-until): Subtract results of
5356 float-time, instead of taking float-time of the result of
5357 time-subtract, since float-time signals an error for negative time
5358 arguments.
5359
5360 2012-06-30 Chong Yidong <cyd@gnu.org>
5361
5362 * xml.el (xml-*-re): Convert defvars into defconsts, and
5363 eval-and-compile them so eval-and-compile works on derivatives.
5364 (xml--entity-replacement-text): Use eval-and-comple.
5365
5366 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5367
5368 * vc/vc-git.el (vc-git-registered): Use cache property
5369 `git-registered'.
5370 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5371 `vc-git-working-revision' in order to benefit from the cache.
5372 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5373
5374 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5375
5376 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5377 removed (likely outside Emacs). (Bug#11757)
5378
5379 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * emacs-lisp/cl-lib.el: Require macroexp.
5382
5383 2012-06-30 Chong Yidong <cyd@gnu.org>
5384
5385 * xml.el: Implement XML parameter entities.
5386 (xml-parameter-entity-alist): New variable.
5387 (xml-parse-region, xml-parse-fragment): Preserve previous values
5388 of xml-entity-alist and xml-parameter-entity-alist, so that
5389 repeated calls on different documents do not change them.
5390 (xml-parse-tag): Fix doctype regexp.
5391 (xml--entity-replacement-text): New function.
5392 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5393 properly requires url retrieval which is unimplemented.
5394 (xml-escape-string): Doc fix.
5395
5396 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5399
5400 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5401
5402 * fringe.el (fringe-mode): Doc fix.
5403
5404 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5405
5406 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5407 is non-nil.
5408 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5409 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5410
5411 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5412
5413 * calendar/cal-dst.el (calendar-current-time-zone):
5414 Return calendar-current-time-zone-cache if non-nil.
5415
5416 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5417
5418 * progmodes/which-func.el (which-func-format):
5419 Add mouse-face. (Bug#11698)
5420
5421 2012-06-29 Leo Liu <sdl.web@gmail.com>
5422
5423 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5424
5425 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * minibuffer.el (minibuffer-confirm-exit-commands):
5428 Add completion-at-point (bug#11725).
5429
5430 2012-06-29 Glenn Morris <rgm@gnu.org>
5431
5432 * progmodes/f90.el (f90-font-lock-keywords-2):
5433 Add some preprocessor elements. (Bug#10499)
5434
5435 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5438 Use syntax-propertize (bug#11739).
5439
5440 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5441
5442 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5443
5444 2012-06-28 Julien Danjou <julien@danjou.info>
5445
5446 * term.el (term-handle-colors-array): Use a set of new faces to
5447 color the terminal. Also uses :inverse-video property.
5448 (term-default-fg-color): Set to nil by default, deprecate in favor
5449 of `term-face'.
5450 (term-default-bg-color): Set to nil by default, deprecate in favor
5451 of `term-face'.
5452 (term-current-face): Use `term-face' by default.
5453 (term-bold-attribute): Variable deleted.
5454
5455 2012-06-28 Glenn Morris <rgm@gnu.org>
5456
5457 * simple.el (completion-list-mode-finish):
5458 Don't use toggle-read-only. (Since completion-list-mode has
5459 a special mode-class, it wasn't doing anything extra anyway.)
5460
5461 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 Make inlining of other-mode interpreted functions work (bug#11799).
5464 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5465 (byte-compile): Use it to fix compilation of lexical-binding closures.
5466 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5467 function, if needed.
5468
5469 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * help-mode.el (help-make-xrefs): Don't just withstand
5472 cyclic-variable-indirection but any error in documentation-property.
5473
5474 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5475 memory use.
5476 * bindings.el (bindings--define-key): New function.
5477 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5478 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5479 * bindings.el: Use it to purecopy define-key bindings.
5480
5481 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5482
5483 * emacs-lisp/cl.el (flet): Mark obsolete.
5484 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5485 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5486 * progmodes/js.el (js-c-fill-paragraph):
5487 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5488 (ebrowse-switch-member-buffer-to-derived-class):
5489 * play/5x5.el (5x5-solver): Use cl-flet.
5490
5491 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5492 (cl--symbol-function): New macro.
5493 (cl--letf, cl--letf*): Use it.
5494
5495 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5496 Strip "toggle-" if any.
5497
5498 2012-06-27 Glenn Morris <rgm@gnu.org>
5499
5500 * info.el (Info-default-directory-list): Move here from paths.el.
5501 * paths.el: Remove file, which is now empty.
5502 * loadup.el: No longer load "paths".
5503
5504 * custom.el (custom-initialize-delay): Doc fix.
5505
5506 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5507 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5508 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5509 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5510 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5511 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5512 * eshell/eshell.el (eshell-defgroup): Remove alias.
5513
5514 2012-06-27 Chong Yidong <cyd@gnu.org>
5515
5516 * help.el (help-enable-auto-load): New variable.
5517
5518 * help-fns.el (help-fns--autoloaded-p): New function.
5519 (describe-function-1): Refer to a function as "autoloaded" if it
5520 was autoloaded at any time in the past. Perform autoloading if
5521 help-enable-auto-load is non-nil.
5522
5523 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5524
5525 * makefile.w32-in (compile, compile-always): Depend on
5526 update-subdirs, not on subdirs.el. Otherwise, several different
5527 sub-targets of 'bootstrap' running in parallel could
5528 simultaneously write to subdirs.el, producing a garbled file.
5529
5530 2012-06-26 Sam Steingold <sds@gnu.org>
5531
5532 * files.el (file-name-base): New convenience function.
5533 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5534 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5535 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5536 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5537 * textmodes/ispell.el, textmodes/reftex-ref.el:
5538 * textmodes/tex-mode.el: Use it.
5539 Did not touch cedet and org because they are maintained elsewhere.
5540
5541 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5542
5543 * calendar/calendar.el (calendar-exit): Don't try to delete or
5544 iconify last frame. See:
5545 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5546
5547 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5548
5549 * server.el (server-process-filter): Remember dir in the
5550 process's `server-client-directory' properties.
5551
5552 2012-06-24 Chong Yidong <cyd@gnu.org>
5553
5554 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5555 non-tag text.
5556
5557 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5558
5559 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5560
5561 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5563 * help-fns.el (describe-variable): Don't croak when doc is not found.
5564 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5565 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5566 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5567 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5568 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5569 ((lambda ..) ..).
5570 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5571
5572 2012-06-23 Chong Yidong <cyd@gnu.org>
5573
5574 * info.el (Info-mouse-follow-link): Accept symbol values of
5575 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5576 (Info-fontify-node): Use Info-link-keymap for all navigation
5577 buttons, with link-args property to perform the desired action.
5578 (Info-link-keymap): Doc fix.
5579 (Info-next-link-keymap, Info-prev-link-keymap)
5580 (Info-up-link-keymap): Delete now-unused keymaps.
5581
5582 2012-06-23 Chong Yidong <cyd@gnu.org>
5583
5584 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5585
5586 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5587 system abbrevs.
5588
5589 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5590
5591 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5594 (bug#11719).
5595
5596 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5597 the requote function doesn't work properly (bug#11714).
5598
5599 2012-06-23 Glenn Morris <rgm@gnu.org>
5600
5601 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5602
5603 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5604
5605 Further GV/CL cleanups.
5606 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5607 gv-expander.
5608 (gv--defun-declaration): New function.
5609 (defun-declarations-alist): Use it.
5610 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5611 (gv-place): Autoload.
5612 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5613 original definition of dotimes and dolist.
5614 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5615 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5616 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5617 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5618 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5619 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5620 to the function's definition.
5621 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5622 * window.el:
5623 * files.el:
5624 * faces.el:
5625 * env.el: Don't use CL.
5626
5627 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5628
5629 Support higher-resolution time stamps (Bug#9000).
5630
5631 * calendar/time-date.el (with-decoded-time-value): New arg
5632 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5633 (encode-time-value): New optional arg PICO. New type 3.
5634 (time-to-seconds) [!float-time]: Support the new picoseconds
5635 component if it's used.
5636 (seconds-to-time, time-subtract, time-add):
5637 Support ps-resolution time stamps as well.
5638
5639 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5640 (timerp): Timer vectors now have length 9, not 8.
5641 (timer--time): Support new-style (4-part) time stamps.
5642 (timer-next-integral-multiple-of-time): Time stamps now have
5643 picosecond resolution, so take a bit more care about rounding.
5644 (timer-relative-time, timer-inc-time): New optional arg psecs.
5645 (timer-set-time-with-usecs): Set psecs to 0.
5646 (timer--activate): Check psecs component, too.
5647
5648 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5649
5650 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5653 Move the non-essential binding to the post/pre-command-hook where it is
5654 more obviously correct.
5655
5656 * subr.el (read-passwd): Don't use a history at all.
5657 * savehist.el (savehist-save): Remove password saved accidentally
5658 because of the above bug.
5659
5660 2012-06-22 Bastien Guerry <bzg@gnu.org>
5661
5662 * files.el (toggle-read-only): Display a message telling whether
5663 the buffer is read-only or not (bug#11726).
5664
5665 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * emacs-lisp/gv.el: New file.
5668 * subr.el (push, pop): Extend to generalized variables.
5669 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5670 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5671 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5672 gv-define-simple-setter, and gv-define-expander.
5673 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5674 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5675 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5676 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5677 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5678 gv-letplace.
5679 (cl-defstruct): Don't define setf-method any more.
5680 * emacs-lisp/cl.el (flet): Don't autoload.
5681 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5682 (define-setf-expander, defsetf, define-modify-macro)
5683 (cl-struct-setf-expander): Move from cl-lib.el.
5684 * emacs-lisp/syntax.el:
5685 * emacs-lisp/ewoc.el:
5686 * emacs-lisp/smie.el:
5687 * emacs-lisp/cconv.el:
5688 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5689 (timer--time): Use gv-define-simple-setter.
5690 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5691 to avoid coding-system problems in subr.el. Adjust all users.
5692 (macroexp--maxsize, macroexp-small-p): New functions.
5693 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5694 * scroll-bar.el (scroll-bar-mode):
5695 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5696 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5697 * winner.el (winner-configuration, winner-make-point-alist)
5698 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5699 * files.el (locate-file-completion-table): Avoid list*.
5700
5701 2012-06-22 Chong Yidong <cyd@gnu.org>
5702
5703 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5704 (dired-create-files): Doc fix (Bug#11329).
5705 (dired-do-copy): Doc fix (Bug#11334).
5706 (dired-mark-read-string): Doc fix (Bug#11553).
5707
5708 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5709 Doc fix (Bug#11326).
5710 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5711 (dired-dwim-target): Doc fix.
5712
5713 * wdired.el (wdired-mode): Doc fix.
5714
5715 2012-06-22 Glenn Morris <rgm@gnu.org>
5716
5717 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5718 (pcmpl-rpm-cache-stamp-file): New constant.
5719 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5720 (pcmpl-rpm-packages): Optionally cache list of packages.
5721
5722 * pcmpl-rpm.el (pcmpl-rpm): New group.
5723 (pcmpl-rpm-query-options): New option.
5724 (pcmpl-rpm-packages): No need to inline it.
5725 Use pcmpl-rpm-query-options.
5726
5727 * calendar/calendar.el (calendar-in-read-only-buffer):
5728 Avoid some needless mode changes.
5729
5730 2012-06-21 Chong Yidong <cyd@gnu.org>
5731
5732 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5733 (desktop-path): Remove . from the default value (Bug#10977).
5734 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5735
5736 2012-06-20 Chong Yidong <cyd@gnu.org>
5737
5738 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5739
5740 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5741
5742 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5743 (bug#11201).
5744
5745 2012-06-20 Chong Yidong <cyd@gnu.org>
5746
5747 * term.el (term-window-width): Handle the case of a missing right
5748 fringe (Bug#8837).
5749 (term-check-size): Use window-text-height (Bug#5445).
5750 (term-mode): Use define-derived-mode. Minor cleanups.
5751 Set font-lock-defaults (Bug#7692).
5752 (term-move-columns, term-insert-char, term-emulate-terminal)
5753 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5754
5755 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5756
5757 * net/ange-ftp.el (ange-ftp-get-passwd):
5758 Bind `enable-recursive-minibuffers'.
5759 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5760
5761 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5762
5763 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5764
5765 2012-06-19 Glenn Morris <rgm@gnu.org>
5766
5767 * progmodes/python.el (python-mode): Derive from prog-mode.
5768
5769 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5770
5771 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5772 (edt-user-menu-bar-update-buffers): New functions.
5773 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5774
5775 2012-06-19 Chong Yidong <cyd@gnu.org>
5776
5777 * subr.el (with-selected-window): Preserve the selected window's
5778 terminal's top-frame (Bug#4702).
5779
5780 * window.el (save-selected-window): Likewise.
5781
5782 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * progmodes/python.el (python-rx-constituents): Move backquote.
5785 (python-skeleton-define, python-define-auxiliary-skeleton):
5786 Use `declare'.
5787
5788 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5789
5790 * minibuffer.el (read-file-name-default): Revert the patch from
5791 2012-06-17.
5792
5793 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5796 (pcase--u1, pcase--q1): Don't use apply-partially.
5797
5798 2012-06-18 Glenn Morris <rgm@gnu.org>
5799
5800 * progmodes/python.el (python-proc, python-buffer)
5801 (python-send-receive, python-send-string): Fix obsolete versions.
5802
5803 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5804
5805 * window.el (special-display-p): Completely remove stringp
5806 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5807
5808 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5809
5810 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5811
5812 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5813
5814 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5815 * net/tramp-sh.el (tramp-maybe-open-connection):
5816 Throw if `non-essential' is non-nil.
5817
5818 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5819
5820 * window.el (special-display-p): Signal an error if BUFFER-NAME
5821 is not a string (Bug#11713).
5822
5823 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5824
5825 * progmodes/python.el (python-info-beginning-of-backslash):
5826 Rename from python-info-beginning-of-backlash, as a spelling fix.
5827
5828 2012-06-17 Chong Yidong <cyd@gnu.org>
5829
5830 * term.el (term-emulate-terminal): If term-check-size is called,
5831 move point to the process mark without resetting point (Bug#4635).
5832
5833 2012-06-17 Glenn Morris <rgm@gnu.org>
5834
5835 * international/mule-cmds.el (mule-menu-keymap)
5836 (set-language-environment, set-locale-environment): Doc tweaks.
5837
5838 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5839
5840 * cus-face.el (custom-face-attributes): Add wave-style underline
5841 attribute.
5842 * faces.el (set-face-attribute): Update docstring to describe
5843 wave-style underline attribute.
5844
5845 2012-06-16 Chong Yidong <cyd@gnu.org>
5846
5847 * term/xterm.el (terminal-init-xterm): Discard input before
5848 querying background mode (Bug#10959).
5849
5850 2012-06-16 Stefan Merten <smerten@oekonux.de>
5851
5852 * textmodes/rst.el: Added and corrected some comments.
5853 (rst-re-alist-def): Improve symbol syntax.
5854 (rst-mode-syntax-table): Correct syntax entries.
5855 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5856 (rst-official-version, rst-official-cvs-rev): Update version
5857 information.
5858
5859 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5860
5861 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5862 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5863
5864 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5865
5866 * progmodes/python.el: New python.el merge.
5867 (python-guess-indent): Obsolete var.
5868 (python-indent-guess-indent-offset): New defcustom.
5869 (python-indent): Obsolete var.
5870 (python-indent-offset): New defcustom.
5871 (python-python-command, python-jython-command): Delete var.
5872 (python-shell-interpreter): New defcustom.
5873 (python-pdbtrack-do-tracking-p): Delete var.
5874 (python-pdbtrack-activate): New defcustom.
5875 (python-use-skeletons): Obsolete var.
5876 (python-skeleton-autoinsert): New defcustom.
5877 (inferior-python-filter-regexp, python-continuation-offset)
5878 (python-honour-comment-indentation, python-indent-string-contents)
5879 (python-jython-packages, python-mode-hook)
5880 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5881 (python-shell-prompt-alist)
5882 (python-source-modes): Delete defcustoms.
5883 (python-check-buffer-name, python-eldoc-setup-code)
5884 (python-eldoc-string-code, python-ffap-setup-code)
5885 (python-ffap-string-code, python-fill-comment-function)
5886 (python-fill-decorator-function, python-fill-paren-function)
5887 (python-fill-string-function, python-imenu-include-defun-type)
5888 (python-imenu-make-tree, python-imenu-subtree-root-label)
5889 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5890 (python-shell-compilation-regexp-alist)
5891 (python-shell-completion-module-string-code)
5892 (python-shell-completion-pdb-string-code)
5893 (python-shell-completion-setup-code)
5894 (python-shell-completion-string-code)
5895 (python-shell-enable-font-lock, python-shell-exec-path)
5896 (python-shell-extra-pythonpaths)
5897 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5898 (python-shell-process-environment)
5899 (python-shell-prompt-block-regexp)
5900 (python-shell-prompt-output-regexp)
5901 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5902 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5903 (python-shell-virtualenv-path): New defcustoms.
5904 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5905 (inferior-python-mode-syntax-table, python--prompt-regexp)
5906 (python-buffer, python-command python-python-command)
5907 (python-default-template, python-imports, python-indent-index)
5908 (python-indent-list, python-indent-list-length)
5909 (python-mode-running, python-pdbtrack-is-tracking-p)
5910 (python-preoutput-continuation, python-preoutput-leftover)
5911 (python-preoutput-result, python-preoutput-skip-next-prompt)
5912 (python-prev-dir/file, python-recursing)
5913 (python-saved-check-command, python-version-checked)
5914 (python-which-func-length-limit)
5915 (view-return-to-alist): Delete vars.
5916 (python-check-custom-command, python-dotty-syntax-table)
5917 (python-imenu-index-alist, python-indent-current-level)
5918 (python-indent-dedenters, python-indent-levels)
5919 (python-nav-beginning-of-defun-regexp)
5920 (python-nav-list-defun-positions-cache)
5921 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5922 (python-shell-internal-buffer)
5923 (python-skeleton-available): New vars.
5924 (def-python-skeleton): Delete macro.
5925 (python-skeleton-define): New macro.
5926 (python-define-auxiliary-skeleton, python-rx): New macros.
5927 (python-insert-class): Delete command.
5928 (python-skeleton-class): New command.
5929 (python-insert-def): Delete command.
5930 (python-skeleton-def): New command.
5931 (python-insert-for): Delete command.
5932 (python-skeleton-for): New command.
5933 (python-insert-if): Delete command.
5934 (python-skeleton-if): New command.
5935 (python-insert-try/except, python-insert-try/finally): Delete commands.
5936 (python-skeleton-try): New command.
5937 (python-insert-while): Delete command.
5938 (python-skeleton-while): New command.
5939 (python-backspace): Delete command.
5940 (python-indent-dedent-line-backspace): New command.
5941 (python-electric-colon): Delete command.
5942 (python-indent-electric-colon): New command.
5943 (python-guess-indent): Delete command.
5944 (python-indent-guess-indent-offset): New command.
5945 (python-shift-left): Delete command.
5946 (python-indent-shift-left): New command.
5947 (python-shift-right): Delete command.
5948 (python-indent-shift-right): New command.
5949 (python-find-function): Delete command.
5950 (python-nav-jump-to-defun): New command.
5951 (python-next-statement): Delete command.
5952 (python-nav-forward-sentence): New command.
5953 (python-previous-statement): Delete command.
5954 (python-nav-backward-sentence): New command.
5955 (python-fill-paragraph): Delete command.
5956 (python-fill-paragraph-function): New command.
5957 (python-send-buffer): Delete command.
5958 (python-shell-send-buffer): New command.
5959 (python-send-defun): Delete command.
5960 (python-shell-send-defun): New command.
5961 (python-send-region, python-send-region-and-go): Delete commands.
5962 (python-shell-send-region)
5963 (python-shell-switch-to-shell): New commands.
5964 (python-send-string): Delete command.
5965 (python-shell-send-string): New command.
5966 (python-switch-to-python): Delete command.
5967 (python-shell-switch-to-shell): New command.
5968 (python-describe-symbol): Delete command.
5969 (python-eldoc-at-point): New command.
5970 (python--set-prompt-regexp, python-args-to-list)
5971 (python-after-info-look, python-check-version)
5972 (python-check-comint-prompt, python-find-imports)
5973 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5974 (python-unload-function, python-expand-template)
5975 (python-maybe-jython, python-preoutput-filter)
5976 (python-pdbtrack-get-source-buffer)
5977 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5978 (python-pdbtrack-toggle-stack-tracking)
5979 (python-pdbtrack-track-stack-file, python-initial-text)
5980 (python-first-word, python-comment-line-p, python-send-command)
5981 (python-setup-brm, python-sentinel, python-set-proc)
5982 (python-skip-out, python-input-filter, python-outdent-p)
5983 (python-outline-level, python-backslash-continuation-line-p)
5984 (python-end-of-block, python-end-of-statement, python-mark-block)
5985 (python-beginning-of-block, python-beginning-of-statement)
5986 (python-blank-line-p, python-beginning-of-string)
5987 (python-open-block-statement-p): Delete functions.
5988 (python-indent-line, python-indent-line-1): Delete functions.
5989 (python-indent-line): New function.
5990 (python-indentation-levels): Delete function.
5991 (python-indent-calculate-levels): New function.
5992 (python-proc): Delete function.
5993 (python-shell-get-process): New function.
5994 (python-send-receive): Delete function.
5995 (python-shell-send-string-no-output): New function.
5996 (python-module-path): Delete function.
5997 (python-ffap-module-path): New function.
5998 (python-completion-at-point)
5999 (python-symbol-completions): Delete functions.
6000 (python-completion-complete-at-point): New function.
6001 (python-load-file): Delete function.
6002 (python-shell-send-file): New function.
6003 (python-calculate-indentation): Delete function.
6004 (python-indent-calculate-indentation): New function.
6005 (python-skip-comments/blanks): Delete function.
6006 (python-util-forward-comment): New function.
6007 (python-continuation-line-p): Delete function.
6008 (python-info-continuation-line-p): New function.
6009 (python-which-func, python-current-defun): Delete function.
6010 (python-info-current-defun): New function.
6011 (python-beginning-of-defun): Delete function.
6012 (python-nav-beginning-of-defun): New function.
6013 (python-close-block-statement-p)
6014 (python-block-end-p): Delete function.
6015 (python-info-closing-block): New function.
6016 (python-comint-output-filter-function)
6017 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6018 (python-fill-comment, python-fill-decorator, python-fill-paren)
6019 (python-fill-string, python-imenu-make-element-tree)
6020 (python-imenu-make-tree, python-imenu-tree-assoc)
6021 (python-indent-context, python-indent-dedent-line)
6022 (python-indent-line-function)
6023 (python-indent-post-self-insert-function)
6024 (python-indent-toggle-levels)
6025 (python-info-assignment-continuation-line-p)
6026 (python-info-beginning-of-backlash)
6027 (python-info-block-continuation-line-p)
6028 (python-info-closing-block-message)
6029 (python-info-line-ends-backslash-p)
6030 (python-info-looking-at-beginning-of-defun)
6031 (python-info-ppss-context, python-info-ppss-context-type)
6032 (python-nav-list-defun-positions, python-nav-read-defun)
6033 (python-nav-sentence-end, python-nav-sentence-start)
6034 (python-pdbtrack-comint-output-filter-function)
6035 (python-pdbtrack-set-tracked-buffer)
6036 (python-shell-calculate-exec-path)
6037 (python-shell-calculate-process-environment)
6038 (python-shell-completion--do-completion-at-point)
6039 (python-shell-completion--get-completions)
6040 (python-shell-completion-complete-at-point)
6041 (python-shell-completion-complete-or-indent)
6042 (python-shell-get-or-create-process)
6043 (python-shell-get-process-name)
6044 (python-shell-internal-get-or-create-process)
6045 (python-shell-internal-get-process-name)
6046 (python-shell-internal-send-string, python-shell-make-comint)
6047 (python-shell-parse-command, python-shell-send-setup-code)
6048 (python-skeleton-add-menu-items)
6049 (python-util-clone-local-variables, python-util-position)
6050 (run-python-internal, python-indentation-levels)
6051 (python-nav-beginning-of-defun)
6052 (python-completion-complete-at-point): New functions.
6053 (run-python): Change arguments. New API requirements.
6054
6055 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6057 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6058 (bug#11649).
6059
6060 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6061 (macroexp--expand-all): Use it.
6062
6063 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6064 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6065 Use `cl-function' instead.
6066
6067 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6068
6069 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6070 Suggested by Stefan Monnier while discussing bug#11657.
6071
6072 2012-06-14 Sam Steingold <sds@gnu.org>
6073
6074 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6075
6076 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6077
6078 * play/doctor.el (doctor-doc): Remove parameter and use
6079 doctor-sent instead of sent.
6080 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6081
6082 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6083
6084 * files.el: Require cl-lib.
6085 (file-name-non-special): Replace case -> cl-case.
6086
6087 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6088
6089 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6090 mapping from #' to function*.
6091
6092 2012-06-13 Chong Yidong <cyd@gnu.org>
6093
6094 * mouse.el (mouse-drag-track): Do not set the mark if the user
6095 releases the mouse without selecting anything (Bug#11588).
6096
6097 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6100 as well (bug#11646).
6101
6102 * loadup.el: Count byte-code functions as well.
6103
6104 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6105 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6106
6107 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6108 (bug#11649). Add cl-defun and cl-defmacro.
6109
6110 2012-06-13 Drew Adams <drew.adams@oracle.com>
6111
6112 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6113 Fix last change.
6114
6115 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6116
6117 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6118 Otherwise, it blocks in batch mode.
6119
6120 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6121
6122 * help-mode.el (bookmark-make-record-default): Declare.
6123
6124 2012-06-13 Chong Yidong <cyd@gnu.org>
6125
6126 * emacs-lisp/package.el (list-packages): Compute a list of
6127 packages that are newly-available since the last list-packages
6128 invocation.
6129 (package-menu--new-package-list): New var.
6130 (package-menu--generate, package-menu--print-info)
6131 (package-menu--status-predicate, package-menu-mark-install):
6132 Handle new status label "new".
6133
6134 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6137 conversion to backquotes.
6138
6139 2012-06-12 Chong Yidong <cyd@gnu.org>
6140
6141 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6142 Rename from gud-inhibit-global-bindings.
6143
6144 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6145
6146 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6147 hook from nxml-glyph-set-hook.
6148
6149 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6150 declaration.
6151
6152 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6153
6154 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6155 Convert to defcustom.
6156
6157 2012-06-12 Drew Adams <drew.adams@oracle.com>
6158
6159 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6160 New functions.
6161 (help-mode): Use them.
6162
6163 2012-06-11 Glenn Morris <rgm@gnu.org>
6164
6165 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6166 Use preprocessor face for directives.
6167 (fortran-directive-re): Doc fix.
6168
6169 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6172 conversion to backquotes (bug#11652).
6173
6174 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6175 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6176 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6177 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6178 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6179 (cl-ninth, cl-tenth): Mark them as inlinable.
6180 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6181 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6182 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6183 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6184 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6185 (cl-list*, cl-adjoin): Don't put an autoload manually.
6186 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6187 (cl--compiler-macro-list*): Add autoload cookie.
6188 (cl--compiler-macro-cXXr): New function.
6189
6190 * help-fns.el (help-fns--compiler-macro): New function extracted from
6191 describe-function-1; follow aliases and use `compiler-macro' property.
6192 (describe-function-1): Use it.
6193
6194 2012-06-11 Chong Yidong <cyd@gnu.org>
6195
6196 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6197 is uninstalled, if imagemagick is installed.
6198
6199 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 * emacs-lisp/cl-lib.el: Use lexical-binding.
6202 (cl-map-extents, cl-maclisp-member): Remove.
6203 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6204 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6205 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6206 * emacs-lisp/cl-extra.el: Use lexical-binding.
6207 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6208 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6209 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6210 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6211 * emacs-lisp/cl-seq.el: Use lexical-binding.
6212 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6213 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6214 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6215 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6216 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6217 CL's internals.
6218
6219 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6220
6221 Sync with Tramp 2.2.6-pre.
6222
6223 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6224 `print-length' and `print-level' to nil, in order to avoid
6225 truncation. Reported by Christopher Schmidt
6226 <christopher@ristopher.com>.
6227
6228 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6229
6230 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6231 New defmacro.
6232 (tramp-compat-copy-directory): Add optional argument
6233 COPY-CONTENTS. It is not handled yet.
6234
6235 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6236 (tramp-ftp-file-name-p): Simplify.
6237
6238 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6239 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6240 connection vector.
6241
6242 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6243 (tramp-methods): Do not use `tramp-password-end-of-line'.
6244 (tramp-completion-function-alist-putty): Handle UNIX case.
6245 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6246 (tramp-do-file-attributes-with-stat)
6247 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6248 gid as real numbers. They could run out of integer range on cygwin.
6249 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6250 (tramp-sh-handle-expand-file-name): Handle hops.
6251 (tramp-open-connection-setup-interactive-shell):
6252 Use `tramp-cleanup'. Move check for busyboxes ...
6253 (tramp-find-shell): ... here. Simplify implementation.
6254 Set "remote-shell" property also for alternative shells.
6255 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6256 If failing, a regular file would be written otherwise.
6257 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6258 (tramp-find-inline-encoding): Cache the coding commands in the
6259 process cache. Apply test command on the remote side, if defined.
6260 (tramp-find-inline-compress): Cache the compress commands in the
6261 process cache.
6262 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6263 when requested. Handle hops.
6264 (tramp-current-connection): New defvar.
6265 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6266 Throw `suppress', if there was a failed connection shortly before.
6267 Handle user interrupt. (Bug#10187)
6268 (tramp-get-inline-compress, tramp-get-inline-coding):
6269 Read connection properties from the process cache.
6270
6271 * net/tramp-smb.el (tramp-smb-server-version)
6272 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6273 New defconsts.
6274 (tramp-smb-prompt): Extend for powershell prompt.
6275 (tramp-smb-file-name-handler-alist): Add handlers for
6276 `process-file', `shell-command' and `start-file-process'.
6277 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6278 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6279 (tramp-smb-file-name-p): Simplify.
6280 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6281 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6282 (tramp-smb-shell-quote-argument): New defuns.
6283 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6284 Implement using "tar". By this, time-stamps are preserved.
6285 (tramp-smb-handle-copy-file): Handle also the case of directories.
6286 (tramp-smb-do-file-attributes-with-stat)
6287 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6288 Use `tramp-get-connection-buffer').
6289 (tramp-smb-handle-rename-file): Use "rename", when source and
6290 target are on the same share.
6291 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6292 Use `tramp-smb-server-version'.
6293 (tramp-smb-wait-for-output): Remove prompt.
6294
6295 * net/tramp.el (top): Require 'cl.
6296 (tramp-methods, tramp-rsh-end-of-line):
6297 Remove `tramp-password-end-of-line' from docstring.
6298 (tramp-save-ad-hoc-proxies): New defcustom.
6299 (tramp-completion-function-alist): Adapt docstring.
6300 (tramp-default-password-end-of-line): Remove defcustom.
6301 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6302 (tramp-user-regexp, tramp-file-name-regexp-unified)
6303 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6304 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6305 (tramp-remote-file-name-spec-regexp): New defconst.
6306 (tramp-file-name-structure): Extend structure for hops.
6307 (tramp-get-method-parameter): Move up.
6308 (tramp-file-name-p, tramp-dissect-file-name)
6309 (with-parsed-tramp-file-name): Handle hops.
6310 (tramp-file-name-hop): New defun.
6311 (tramp-make-tramp-file-name): New optional arg HOP.
6312 (tramp-message-show-progress-reporter-message): New defvar.
6313 (tramp-with-progress-reporter): Use it. We cannot use
6314 `tramp-message-show-message' here, because this suppresses also
6315 error buffers.
6316 (tramp-error-with-buffer): Suppress buffer view, if
6317 `tramp-message-show-message' is nil.
6318 Use `tramp-get-connection-buffer'.
6319 (tramp-cleanup): New defun.
6320 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6321 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6322 an error unchanged.
6323 (tramp-completion-handle-file-name-all-completions): Handle hops.
6324 Fix an error when called from ido.
6325 (tramp-completion-dissect-file-name): Use better local variable
6326 name. Add hop to the vector.
6327 (tramp-handle-insert-file-contents): Use progress-reporter for the
6328 whole scenario.
6329 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6330 to `t'.
6331 (tramp-check-for-regexp): Simplify search.
6332 (tramp-enter-password): Remove it. Move implementation ...
6333 (tramp-action-password): ... here.
6334 (tramp-mode-string-to-int, tramp-local-host-p)
6335 (tramp-make-tramp-temp-file, tramp-read-passwd)
6336 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6337 Set tramp-autoload cookie.
6338
6339 * net/trampver.el: Update release number.
6340
6341 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6342 Michael Albinus <michael.albinus@gmx.de>
6343
6344 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6345 (tramp-parse-group, tramp-parse-file)
6346 (tramp-parse-shostkeys-sknownhosts): New defuns.
6347 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6348 (tramp-parse-shosts-group, tramp-parse-sconfig)
6349 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6350 (tramp-parse-sknownhosts, tramp-parse-hosts)
6351 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6352 Use them.
6353 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6354 (tramp-parse-putty-group): Don't narrow.
6355 (tramp-parse-putty): Make a loop.
6356 (tramp-file-name-handler): Catch the `suppress' signal.
6357
6358 2012-06-11 Chong Yidong <cyd@gnu.org>
6359
6360 * image.el (imagemagick-register-types): Put the ImageMagick entry
6361 at the end of image-type-file-name-regexps.
6362
6363 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6364
6365 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6366 (pcase, pcase-let*, pcase-dolist): Use them.
6367
6368 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * emacs-lisp/pcase.el (pcase--let*): New function.
6371 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6372 (pcase--expand): Use macroexp-let².
6373
6374 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6377 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6378 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6379 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6380 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6381 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6382
6383 2012-06-10 Glenn Morris <rgm@gnu.org>
6384
6385 * mail/rmail.el (rmail-yank-current-message): Leave point at
6386 correct position. (Bug#11660)
6387
6388 2012-06-10 Chong Yidong <cyd@gnu.org>
6389
6390 * allout-widgets.el: Fix code header.
6391
6392 2012-06-10 Chong Yidong <cyd@gnu.org>
6393
6394 * cus-edit.el (customize-changed-options-previous-release):
6395 Bump to 24.1.
6396
6397 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6398
6399 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6400
6401 2012-06-09 Chong Yidong <cyd@gnu.org>
6402
6403 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6404
6405 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6406
6407 * window.el (special-display-popup-frame): Don't use
6408 window--display-buffer (Bug#11651).
6409
6410 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6411
6412 Fix parallel builds: make sure loaddefs.el is not being written
6413 while Lisp files are compiled.
6414 (compile): Don't depend on 'mh-autoloads'.
6415 (compile-CMD, compile-SH): Depend on 'autoloads'.
6416 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6417
6418 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6419
6420 2012-06-09 Chong Yidong <cyd@gnu.org>
6421
6422 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6423 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6424 Doc fixes (Bug#11225).
6425
6426 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6429 a function if there's a clear indication that it has a compiler-macro.
6430 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6431 (macro-declarations-alist): Add arglist to declaration functions.
6432 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6433 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6434 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6435 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6436 Also add autoload to find the compiler macro.
6437 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6438 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6439 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6440 (cl--compiler-macro-get): New functions, replacing calls to
6441 cl-define-compiler-macro.
6442 (cl-typep) [compiler-macro]: Use macroexp-let².
6443
6444 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6445
6446 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6447 string properly, fixes Bug#11473.
6448
6449 2012-06-08 Chong Yidong <cyd@gnu.org>
6450
6451 * faces.el (set-face-attribute): Doc fix.
6452 (modify-face): Don't use :bold and :italic.
6453 (error, warning, success): Tweak definitions.
6454
6455 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6456 (custom-modified, custom-set, custom-changed, custom-themed)
6457 (custom-saved, custom-button, custom-button-mouse)
6458 (custom-button-pressed, custom-state, custom-comment-tag)
6459 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6460 (custom-group-subtitle): Use new-style face specs.
6461 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6462 (custom-set-face, custom-changed-face, custom-saved-face)
6463 (custom-button-face, custom-button-pressed-face)
6464 (custom-documentation-face, custom-state-face)
6465 (custom-comment-face, custom-comment-tag-face)
6466 (custom-variable-tag-face, custom-variable-button-face)
6467 (custom-face-tag-face, custom-group-tag-face-1)
6468 (custom-group-tag-face): Remove obsolete face alias.
6469
6470 * epa.el (epa-validity-high, epa-validity-medium)
6471 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6472 (epa-field-name, epa-field-body):
6473 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6474 (font-lock-keyword-face, font-lock-builtin-face)
6475 (font-lock-function-name-face, font-lock-variable-name-face)
6476 (font-lock-type-face, font-lock-constant-face):
6477 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6478 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6479 * speedbar.el (speedbar-button-face, speedbar-file-face)
6480 (speedbar-directory-face, speedbar-tag-face)
6481 (speedbar-selected-face, speedbar-highlight-face)
6482 (speedbar-separator-face):
6483 * whitespace.el (whitespace-newline, whitespace-space)
6484 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6485 (whitespace-line, whitespace-space-before-tab)
6486 (whitespace-space-after-tab, whitespace-indentation)
6487 (whitespace-empty):
6488 * emulation/cua-base.el (cua-global-mark):
6489 * eshell/em-prompt.el (eshell-prompt):
6490 * net/newst-plainview.el (newsticker-new-item-face)
6491 (newsticker-old-item-face, newsticker-immortal-item-face)
6492 (newsticker-obsolete-item-face, newsticker-date-face)
6493 (newsticker-statistics-face, newsticker-default-face):
6494 * net/newst-reader.el (newsticker-feed-face)
6495 (newsticker-extra-face, newsticker-enclosure-face):
6496 * net/newst-treeview.el (newsticker-treeview-face)
6497 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6498 (newsticker-treeview-immortal-face)
6499 (newsticker-treeview-obsolete-face)
6500 (newsticker-treeview-selection-face):
6501 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6502 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6503 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6504 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6505 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6506 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6507 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6508 (mpuz-text):
6509 * progmodes/vera-mode.el (vera-font-lock-number)
6510 (vera-font-lock-function, vera-font-lock-interface):
6511 * textmodes/table.el (table-cell): Use new-style face specs, and
6512 don't use the old :bold and :italic attributes.
6513
6514 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6515 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6516 (ebrowse-member-class, ebrowse-progress): Likewise.
6517 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6518 (ebrowse-file-name-face, ebrowse-default-face)
6519 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6520 (ebrowse-progress-face): Remove obsolete faces.
6521
6522 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6523 Inherit from error and warning faces respectively.
6524
6525 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6526 Likewise.
6527 (flyspell-incorrect-face, flyspell-duplicate-face):
6528 Remove obsolete aliases.
6529
6530 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6531
6532 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6533 Avoid infloop.
6534
6535 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6536
6537 * startup.el (argv, argi): Make lexically scoped.
6538 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6539 * emacs-lisp/cl-macs.el: Use lexical-binding.
6540 Rename cl-bind-* to cl--bind-*.
6541 * files.el: Don't require `cl' since it doesn't use it.
6542 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6543
6544 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6545
6546 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6547 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6548 instead of calling external sort utility.
6549 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6550
6551 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6552
6553 * descr-text.el (describe-char): Mention how to insert the
6554 character, if the current input method doesn't support it.
6555 See the discussion in this thread for the details:
6556 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6557
6558 2012-06-08 Sam Steingold <sds@gnu.org>
6559
6560 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6561 XF86Back to previous-buffer.
6562 (minibuffer-local-map): Bind them to next-history-element and
6563 previous-history-element respectively.
6564 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6565 help-go-back respectively.
6566 * info.el (Info-mode-map): Bind them to Info-history-forward and
6567 Info-history-back respectively.
6568 These are the keys next to Up on the ThinkPad keyboard.
6569
6570 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6573 * emacs-lisp/cl-macs.el: Provide itself.
6574 (cl--labels-convert-cache): New var.
6575 (cl--labels-convert): New function.
6576 (cl-flet, cl-labels): New implementation with new semantics, relying on
6577 lexical-binding.
6578 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6579 (cl-closure-vars, cl--function-convert-cache)
6580 (cl--function-convert): Move from cl-macs.el.
6581 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6582 rename by removing the "cl-" prefix.
6583 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6584
6585 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6586
6587 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6588 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6589 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6590 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6591 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6592 (cl-hash-table-count): Add old compatibility aliases.
6593
6594 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6595 Use macroexpand-all-environment instead.
6596 (cl--old-macroexpand): New var.
6597 (cl--sm-macroexpand): New function.
6598 (cl-symbol-macrolet): Use it during macro expansion.
6599 (cl--function-convert-cache): New var.
6600 (cl--function-convert): New function, extracted from
6601 cl-macroexpand-all.
6602 (cl-lexical-let): Use it.
6603
6604 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6605 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6606 (cl-member): Remove old alias.
6607
6608 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6609 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6610 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6611 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6612 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6613 (cl-macroexpand-cmacs): Remove var.
6614 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6615 Use macroexpand-all instead.
6616
6617 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6620 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6621 (macroexp-copyable-p): New functions and macros.
6622 * emacs-lisp/edebug.el (edebug-unwrap):
6623 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6624 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6625 (pcase--let*): Remove.
6626 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6627 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6628 macroexp-const-p instead.
6629 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6630
6631 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6632 instead of "cl-" for internal definitions. Use macroexp-const-p.
6633 (cl-old-bc-file-form): Remove var.
6634 (cl-const-exprs-p): Remove fun.
6635 (cl-labels, cl-macrolet): Use backquote.
6636 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6637 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6638 (cl-define-setf-expander): Rename from cl-define-setf-method.
6639 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6640
6641 * international/mule-cmds.el: Don't require CL.
6642 (view-hello-file): Don't use `letf'.
6643
6644 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6645
6646 * tmm.el (tmm-prompt): Use string-prefix-p.
6647 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6648 (tmm-add-prompt): Use minibuffer-completion-help.
6649 (tmm-delete-map): Remove.
6650
6651 * subr.el (kbd): Make it its own function.
6652
6653 2012-06-07 Stefan Merten <smerten@oekonux.de>
6654
6655 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6656 Silence compiler warnings. Fix versions.
6657 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6658 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6659 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6660 (rst-package-emacs-version-alist): Correct Emacs version to
6661 represent major merge with upstream.
6662 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6663
6664 2012-06-06 Glenn Morris <rgm@gnu.org>
6665
6666 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6667 Only print environment variables if set.
6668
6669 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6670
6671 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6672 (macroexp--cons): Rename from maybe-cons.
6673 (macroexp--accumulate): Rename from macroexp-accumulate.
6674 (macroexp--all-forms): Rename from macroexpand-all-forms.
6675 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6676 (macroexp--expand-all): Rename from macroexpand-all-1.
6677
6678 2012-06-06 Sam Steingold <sds@gnu.org>
6679
6680 * calendar/calendar.el (calendar-in-read-only-buffer):
6681 Call `special-mode' to enable the standard read-only keybindings.
6682
6683 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6684
6685 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6686 with "loading" messages (bug#11635).
6687
6688 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6689
6690 * files.el (enable-remote-dir-locals): New option.
6691 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6692
6693 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6694 Ensure, that the temp directory is local.
6695
6696 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6697 `temporary-file-directory'.
6698
6699 * progmodes/python.el (python-send-region): Ensure, that the
6700 temporary file is created also in the remote case.
6701
6702 2012-06-06 Glenn Morris <rgm@gnu.org>
6703
6704 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6705 (vc-rcs-update-changelog): Use it.
6706
6707 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6708
6709 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6710 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6711 (vc-sccs-diff): Replace use of the external vcdiff script.
6712
6713 2012-06-05 Glenn Morris <rgm@gnu.org>
6714
6715 * ledit.el: Move to obsolete/.
6716
6717 2012-06-05 Sam Steingold <sds@gnu.org>
6718
6719 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6720 patch (Bug#11140).
6721
6722 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6723
6724 * emacs-lisp/cust-print.el: Move to obsolete.
6725
6726 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6727 compiler-macro expansion.
6728
6729 Add native compiler-macro support.
6730 * emacs-lisp/macroexp.el (macroexpand-all-1):
6731 Support compiler-macros directly. Properly follow aliases and apply
6732 the compiler macros more thoroughly.
6733 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6734 macroexpand now properly follows aliases.
6735 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6736 (cl-compiler-macroexpand): Use new prop.
6737 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6738
6739 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6740
6741 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6742
6743 * window.el (get-lru-window, get-mru-window, get-largest-window):
6744 New argument NOT-SELECTED to avoid picking the selected window.
6745 (window--display-buffer-1, window--display-buffer-2): Replace by
6746 new function window--display-buffer
6747 (display-buffer-same-window, display-buffer-reuse-window)
6748 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6749 Use window--display-buffer.
6750 (display-buffer-use-some-window): Remove temporary dedication
6751 hack by calling get-lru-window and get-largest-window with
6752 NOT-SELECTED argument non-nil. Call window--display-buffer.
6753
6754 2012-06-05 Glenn Morris <rgm@gnu.org>
6755
6756 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6757 Replace external vcdiff script.
6758
6759 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6762
6763 2012-06-04 Chong Yidong <cyd@gnu.org>
6764
6765 * image.el (imagemagick-types-inhibit): Revert last change.
6766 Add INFO and M.
6767 (imagemagick-enabled-types): Remove CIN and EPS*.
6768
6769 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6770
6771 * emacs-lisp/cl-lib.el: Rename from cl.el.
6772 * emacs-lisp/cl.el: New compatibility file.
6773 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6774 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6775 to obey the "cl-" prefix.
6776 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6777
6778 2012-06-03 Glenn Morris <rgm@gnu.org>
6779
6780 * emacs-lisp/authors.el (authors-aliases): Addition.
6781
6782 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6783 Fix :version.
6784
6785 2012-06-03 Stefan Merten <smerten@oekonux.de>
6786
6787 * textmodes/rst.el: Add comments.
6788 (rst-transition, rst-adornment): New faces.
6789 (rst-adornment-faces-alist): Make default safe to reevaluate.
6790 Fixes
6791 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6792 Improve customization tags.
6793 (rst-define-level-faces): Clarify meaning.
6794
6795 2012-06-03 Chong Yidong <cyd@gnu.org>
6796
6797 * progmodes/compile.el (compilation-mode-line-fail)
6798 (compilation-mode-line-run, compilation-mode-line-exit):
6799 New faces.
6800 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6801
6802 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6803
6804 * progmodes/which-func.el (which-func-update-ediff-windows):
6805 New function. Use it in ediff-select-hook (Bug#11478).
6806
6807 2012-06-03 Chong Yidong <cyd@gnu.org>
6808
6809 * bindings.el: Remove explicit help text from format-mode-line.
6810 It is now supplied by mode-line-default-help-echo.
6811 (mode-line-front-space, mode-line-end-spaces)
6812 (mode-line-misc-info): New variables.
6813 (mode-line-modes, mode-line-position): Move the default value to
6814 the variable definition.
6815 (mode-line-default-help-echo): New defcustom.
6816 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6817 (mode-line-modified-help-echo): New functions.
6818 (mode-line-mule-info, mode-line-modified): Use them.
6819 (mode-line-eol-desc, propertized-buffer-identification):
6820 Consistency fixes for help text.
6821 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6822 set-buffer-file-coding-system (Bug#289).
6823 (mode-line-mule-info-help-echo): Update help text.
6824
6825 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6826
6827 * simple.el (execute-extended-command): Set real-this-command
6828 (bug#11506).
6829
6830 2012-06-02 Chong Yidong <cyd@gnu.org>
6831
6832 Remove incorrect uses of "modeline" in comments, docstrings, and
6833 function/variable names (Bug#10329).
6834
6835 * cus-edit.el (mode-line):
6836 * dframe.el (dframe-mouse-hscroll):
6837 * emacs-lisp/re-builder.el:
6838 * emacs-lisp/easy-mmode.el (define-minor-mode):
6839 * frame.el (set-frame-name):
6840 * help.el (lookup-minor-mode-from-indicator):
6841 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6842 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6843 (c-toggle-hungry-state):
6844 * progmodes/antlr-mode.el (antlr-language-alist):
6845 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6846 * progmodes/vhdl-mode.el (vhdl-mode):
6847 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6848 * term/ns-win.el (ns-face-at-pos):
6849 * term/sup-mouse.el (sup-mouse-report):
6850 * textmodes/flyspell.el (flyspell-mode-line-string):
6851 * textmodes/ispell.el (ispell-highlight-face):
6852 * textmodes/reftex-global.el:
6853 * vc/vc-arch.el (vc-arch-mode-line-string):
6854 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6855 * vc/vc-git.el (vc-git-mode-line-string):
6856 * vc/vc-hooks.el (vc-display-status)
6857 (vc-default-mode-line-string):
6858 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6859
6860 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6861
6862 * dired.el (dired-sort-set-mode-line): Rename from
6863 dired-sort-set-modeline. All callers changed.
6864
6865 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6866 eshell-status-in-modeline.
6867
6868 * foldout.el (foldout-mode-line-string): Rename from
6869 foldout-modeline-string. All callers changed.
6870 (foldout-update-mode-line): Rename from foldout-update-modeline.
6871
6872 * subr.el (redraw-modeline): Make into obsolete alias.
6873
6874 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6875 timeclock-modeline-display. Make old name an alias.
6876 (timeclock-update-mode-line): Likewise. All callers changed.
6877 (timeclock-mode-line-display): No need to check before using
6878 add-hook.
6879 (timeclock-relative, timeclock-day-over-hook)
6880 (timeclock-use-elapsed, timeclock-mode-string)
6881 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6882
6883 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6884 crisp-mode-modeline-string.
6885
6886 * play/solitaire.el (solitaire-build-mode-line): Rename from
6887 solitaire-build-modeline. All callers changed.
6888
6889 * play/zone.el (zone-hiding-mode-line): Rename from
6890 zone-hiding-modeline. All callers changed.
6891 (zone): Remove unusued `modeline-hidden-level' property.
6892
6893 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6894 xscheme-modeline-initialize. All callers changed.
6895
6896 * strokes.el (strokes-lighter): Rename from
6897 strokes-modeline-string.
6898
6899 * textmodes/sgml-mode.el (html-face-tag-alist)
6900 (html-tag-face-alist): Use mode-line face instead of obsolete
6901 alias modeline.
6902
6903 2012-06-02 Stefan Merten <smerten@oekonux.de>
6904
6905 * textmodes/rst.el: Always require `cl'.
6906 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6907
6908 2012-06-02 Chong Yidong <cyd@gnu.org>
6909
6910 * image.el (imagemagick-enabled-types): Rename from
6911 imagemagick-types-enable. Add many more types.
6912 (imagemagick-types-inhibit): Change default to nil.
6913 (imagemagick-filter-types): Caller changed.
6914
6915 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 * emacs-lisp/cl-macs.el: Use backquotes.
6918 (cl-transform-function-property): Use eval-and-compile rather than
6919 abusing `require'.
6920 (defstruct): Use declare-function instead of with-no-warnings.
6921
6922 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6923 (byte-compile-output-docform): Re-add the print-circle bindings.
6924 (byte-compile-fix-header): Use #$ just because it's shorter.
6925 (byte-compile-output-file-form): Remove defun/defmacro.
6926
6927 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6928
6929 * simple.el (choose-completion): Remove now obsolete binding for
6930 owindow.
6931
6932 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6933
6934 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6935 in order to avoid "Stack overflow in regexp matcher".
6936
6937 2012-05-31 Glenn Morris <rgm@gnu.org>
6938
6939 * image.el: For clarity, call imagemagick-register-types at
6940 top-level, rather than relying on a custom :initialize.
6941 (imagemagick-types-enable): New option. (Bug#11557)
6942 (imagemagick-filter-types): New function. (Bug#7406)
6943 (imagemagick-register-types): Use imagemagick-filter-types.
6944 If disabling support, remove elements altogether rather
6945 than using an impossible regexp.
6946 (imagemagick-types-inhibit): Give it the default init function.
6947
6948 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6951 Handle arbitrary file name lengths (Bug#11585).
6952
6953 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6954
6955 * desktop.el (desktop-read): Clear previous and next buffers for
6956 all windows and bury *Messages* buffer (bug#11556).
6957
6958 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 Add `declare' for `defun'. Align `defmacro's with it.
6961 * emacs-lisp/easy-mmode.el (define-minor-mode)
6962 (define-globalized-minor-mode): Don't autoload the var definitions.
6963 * emacs-lisp/byte-run.el: Use lexical-binding.
6964 (defun-declarations-alist, macro-declarations-alist): New vars.
6965 (defmacro, defun): Use them.
6966 (make-obsolete, define-obsolete-function-alias)
6967 (make-obsolete-variable, define-obsolete-variable-alias):
6968 Use `declare'.
6969 (macro-declaration-function): Mark obsolete.
6970 * emacs-lisp/autoload.el: Use lexical-binding.
6971 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6972
6973 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6974
6975 * textmodes/ispell.el (ispell-with-no-warnings):
6976 Define as a macro.
6977 (ispell-kill-ispell, ispell-change-dictionary):
6978 Use `called-interactively-p' for Emacs instead of obsolete
6979 `interactive-p'.
6980
6981 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6982
6983 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6984 (macro-declaration-function): Move var from C code.
6985 (macro-declaration-function): Define function with defalias.
6986 * emacs-lisp/macroexp.el (macroexpand-all-1):
6987 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6988 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6989 defun/defmacro any more.
6990 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6991 Provide fallback for unknown arglist.
6992 (byte-compile-arglist-warn): Change calling convention.
6993 (byte-compile-output-file-form): Move print-vars binding.
6994 (byte-compile-output-docform): Simplify accordingly.
6995 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6996 (byte-compile-defmacro-declaration): Remove.
6997 (byte-compile-file-form-defmumble): Generalize to defalias.
6998 (byte-compile-output-as-comment): Return byte-positions.
6999 Simplify callers accordingly.
7000 (byte-compile-lambda): Use `assert'.
7001 (byte-compile-defun, byte-compile-defmacro): Remove.
7002 (byte-compile-file-form-defalias):
7003 Use byte-compile-file-form-defmumble.
7004 (byte-compile-defalias-warn): Remove.
7005
7006 2012-05-29 Stefan Merten <smerten@oekonux.de>
7007
7008 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7009 possible. Fix authors. Improve comments. Improve loading of `cl'.
7010
7011 (rst-mode-abbrev-table): Merge definition.
7012 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7013 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7014
7015 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7016
7017 * calendar/icalendar.el
7018 (icalendar-export-region): Export UID properly.
7019
7020 2012-05-29 Leo Liu <sdl.web@gmail.com>
7021 * calendar/icalendar.el (icalendar-import-format):
7022 Add `icalendar-import-format-uid' (Bug#11525).
7023 (icalendar-import-format-uid): New.
7024 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7025 Export UID.
7026
7027 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7028
7029 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7030 different alternative patterns.
7031 (pcase-codegen): Be more careful to preserve identity.
7032 (pcase--u1): Don't forget to mark vars as used.
7033
7034 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7035 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7036 (byte-compile-from-buffer): ...rather than here.
7037
7038 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7039 functions from byte-compile-function-environment.
7040
7041 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7042
7043 * window.el (window-deletable-p): Avoid deleting the root window
7044 of a frame with an active minibuffer.
7045
7046 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7047
7048 * simple.el (choose-completion): Use quit-window (Bug#11567).
7049
7050 2012-05-29 Chong Yidong <cyd@gnu.org>
7051
7052 * whitespace.el (whitespace-cleanup): Fix usage of
7053 whitespace-empty-at-bob-regexp (Bug#11492).
7054
7055 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7056
7057 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7058 revert (Bug#11488).
7059
7060 2012-05-29 Juri Linkov <juri@jurta.org>
7061
7062 * isearch.el (isearch-mode-map): Bind `M-s _' to
7063 `isearch-toggle-symbol'. Bind `M-s c' to
7064 `isearch-toggle-case-fold'.
7065 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7066 (isearch-forward): Add `M-s _' to the docstring.
7067 (isearch-forward-symbol, isearch-toggle-case-fold)
7068 (isearch-symbol-regexp): New functions. (Bug#11381)
7069
7070 2012-05-29 Juri Linkov <juri@jurta.org>
7071
7072 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7073 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7074 a function, call it to get the regexp.
7075 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7076 property `isearch-message-prefix' instead of the string "word ".
7077 (isearch-search-fun-default): For the case of `isearch-word',
7078 return a lambda that calls re-search-forward/re-search-backward
7079 with a regexp returned by `word-search-regexp' or by the function
7080 in `isearch-word'.
7081
7082 2012-05-29 Juri Linkov <juri@jurta.org>
7083
7084 * isearch.el (isearch-search-fun-default): New function.
7085 (isearch-search-fun): Move default part to the new function
7086 `isearch-search-fun-default'.
7087 (isearch-search-fun-function): Set the default value to
7088 `isearch-search-fun-default'. (Bug#11381)
7089
7090 * comint.el (comint-history-isearch-end):
7091 Use `isearch-search-fun-default'.
7092 (comint-history-isearch-search): Use `isearch-search-fun-default'
7093 and remove spacial case for `isearch-word'.
7094 (comint-history-isearch-wrap): Remove spacial case for
7095 `isearch-word'.
7096
7097 * hexl.el (hexl-isearch-search-function):
7098 Use `isearch-search-fun-default'.
7099
7100 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7101 Use `word-search-regexp' for `isearch-word'.
7102
7103 * misearch.el (multi-isearch-search-fun):
7104 Use `isearch-search-fun-default'.
7105
7106 * simple.el (minibuffer-history-isearch-search):
7107 Use `isearch-search-fun-default' and remove spacial case for
7108 `isearch-word'.
7109 (minibuffer-history-isearch-wrap): Remove spacial case for
7110 `isearch-word'.
7111
7112 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7113 Remove spacial case for `isearch-word'.
7114 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7115
7116 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7117
7118 Decrease XEmacs incompatibilities.
7119 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7120 Use `string-match'.
7121 (flyspell-delete-region-overlays): Use alternative definition for
7122 XEmacs.
7123 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7124 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7125 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7126 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7127 `define-obsolete-face-alias' under XEmacs, but old method.
7128
7129 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7130 `with-no-warnings' definition or Emacs alias.
7131 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7132 (ispell-word): Do not use `region-p' if XEmacs.
7133
7134 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7135
7136 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7137 Check for `ispell-dictionary-base-alist' instead of full
7138 `ispell-dictionary-alist'.
7139 (ispell-init-process): Show spellchecker when starting new Ispell
7140 process.
7141
7142 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7145 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7146
7147 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7148
7149 * version.el (motif-version-string, gtk-version-string)
7150 (ns-version-string): Declare.
7151
7152 2012-05-27 Juri Linkov <juri@jurta.org>
7153
7154 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7155 after the `eval-defun-1' specialcaseing
7156 like in `edebug-eval-defun' (bug#10181).
7157
7158 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7159 like in `eval-defun-1'.
7160
7161 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7162
7163 * mail/sendmail.el (mail-yank-region):
7164 Recognize rmail-yank-current-message in addition to insert-buffer.
7165 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7166 a *mail* buffer created through rmail-start-mail with sendmail as
7167 mail-user-agent.
7168
7169 2012-05-27 Chong Yidong <cyd@gnu.org>
7170
7171 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7172 Default to 256 (Bug#11267).
7173
7174 * help.el (describe-mode): Doc fix.
7175
7176 2012-05-26 Glenn Morris <rgm@gnu.org>
7177
7178 * w32-fns.el (w32-init-info): Remove.
7179 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7180
7181 * info.el (info-initialize): For self-contained NS builds, put the
7182 included info/ directory at the front. (Bug#2791)
7183
7184 * paths.el (Info-default-directory-list): Make it a defcustom,
7185 mainly so that we can use custom-initialize-delay.
7186
7187 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7188
7189 * subr.el (buffer-has-markers-at): Mark obsolete.
7190
7191 * subr.el (lambda): Use declare.
7192
7193 * emacs-lisp/lisp-mode.el (lambda):
7194 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7195
7196 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7197
7198 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7199
7200 2012-05-26 Glenn Morris <rgm@gnu.org>
7201
7202 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7203
7204 2012-05-25 Glenn Morris <rgm@gnu.org>
7205
7206 * paths.el: Remove no-byte-compile.
7207 * loadup.el: No need to load paths.el uncompiled.
7208
7209 * image.el (imagemagick-types-inhibit): Doc fix.
7210
7211 * version.el: Remove no-byte-compile and associated formatting.
7212 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7213 is ancient code from when there was an "inc-vers.el".
7214
7215 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 * progmodes/gdb-mi.el: Minor style changes.
7218 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7219 Turn into minor modes.
7220 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7221 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7222 (gdb-shell): Remove unneeded let-binding.
7223 (gdb-get-many-fields): Eliminate O(n²) behavior.
7224
7225 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7226
7227 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7228 platforms that don't link in fontset.c.
7229
7230 2012-05-25 Juri Linkov <juri@jurta.org>
7231
7232 Use the same diff color scheme as in modern VCSes (bug#10181).
7233
7234 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7235 to avoid confusion with `diff-added' that now uses green colors.
7236 (diff-removed): Use shades of red.
7237 (diff-added): Use shades of green.
7238 (diff-changed): Leave just the yellow color.
7239 (diff-use-changed-face): New variable.
7240 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7241 how to highlight context diff changes.
7242 (diff-refine-change): Use shades of yellow.
7243 (diff-refine-removed): New face that uses shades of red.
7244 (diff-refine-added): New face that uses shades of green.
7245 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7246 `diff-refine-removed' in the call to `smerge-refine-subst'
7247 depending on the value of `diff-use-changed-face'.
7248
7249 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7250 (smerge-other): Use shades of green.
7251 (smerge-base): Use shades of yellow.
7252 (smerge-refined-change): Empty face.
7253 (smerge-refined-removed): New face that uses shades of red.
7254 (smerge-refined-added): New face that uses shades of green.
7255 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7256 args `props-r' and `props-a', and use them. Doc fix.
7257 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7258 on its value use different faces `smerge-refined-change',
7259 `smerge-refined-removed', `smerge-refined-added' in the call to
7260 `smerge-refine-subst'.
7261
7262 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7263 Add face condition `min-colors 88' with shades of red.
7264 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7265 `min-colors 88' with shades of green.
7266 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7267 `min-colors 88' with shades of yellow.
7268
7269 2012-05-24 Glenn Morris <rgm@gnu.org>
7270
7271 * paths.el (prune-directory-list, remote-shell-program): Move to...
7272 * files.el (prune-directory-list, remote-shell-program): ...here.
7273 For the latter, delay initialization, prefer ssh, just search PATH.
7274
7275 * paths.el (term-file-prefix): Move to faces.el (the only user).
7276 * faces.el (term-file-prefix): Move here, make it a defcustom.
7277
7278 * paths.el (news-directory, news-path, news-inews-program):
7279 Move to gnus/nnspool.el.
7280
7281 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7282
7283 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7284 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7285 Make the latter a defcustom, with a delayed initialization.
7286
7287 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7288 These were deleted from Gnus itself late 2010.
7289
7290 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7291
7292 * progmodes/which-func.el (which-func-ff-hook):
7293 Check against user-error, not error.
7294
7295 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7296 cl-specs.el, which no longer exists.
7297
7298 2012-05-22 Glenn Morris <rgm@gnu.org>
7299
7300 * info.el (info-emacs-bug): New command.
7301 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7302 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7303
7304 2012-05-21 Glenn Morris <rgm@gnu.org>
7305
7306 * makefile.w32-in (update-subdirs-SH):
7307 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7308
7309 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7310
7311 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7312
7313 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7314 Simplify Maven regexp, and make sure the file can't start with a space
7315 (bug#11517).
7316
7317 2012-05-21 Glenn Morris <rgm@gnu.org>
7318
7319 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7320 Scrap superfluous subshells.
7321
7322 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7325 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7326
7327 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7328
7329 * calc/calc.el (calc-ensure-consistent-units): New variable.
7330
7331 * calc/calc-units.el (math-consistent-units-p)
7332 (math-check-unit-consistency): New functions.
7333 (calc-quick-units, calc-convert-units):
7334 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7335 is non-nil.
7336 (calc-extract-units): Fix typo.
7337
7338 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7339
7340 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7341
7342 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7343 (flyspell-default-deplacement-commands): Don't spell check after
7344 repeated window/frame switches (e.g. triggered by mouse-movement).
7345 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7346 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7347 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7348 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7349 Remove unused vars.
7350 (flyspell-get-casechars, flyspell-get-not-casechars):
7351 Simplify; Don't bother removing a ] just to add it back.
7352 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7353
7354 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7355
7356 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7357 New functions.
7358 (math-function-table): Add support for more C functions.
7359
7360 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7361
7362 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7363 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7364 Protect delay handling for otherchars against empty otherchars.
7365
7366 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7369 their respective macro declarations.
7370 * skeleton.el (define-skeleton):
7371 * progmodes/compile.el (define-compilation-mode):
7372 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7373 (define-ibuffer-filter):
7374 * emacs-lisp/generic.el (define-generic-mode):
7375 * emacs-lisp/easy-mmode.el (define-minor-mode)
7376 (define-globalized-minor-mode):
7377 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7378 * emacs-lisp/byte-run.el (defsubst):
7379 * custom.el (deftheme): Add doc-string metadata.
7380
7381 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7384
7385 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7388
7389 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7390 * emacs-lisp/cl-macs.el: Idem.
7391 * emacs-lisp/cl-specs.el: Remove.
7392
7393 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 Minor renaming of internal CL functions and variables.
7396 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7397 (cl--position): Rename from cl-position.
7398 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7399 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7400 (cl--random-state): Rename from *random-state*.
7401
7402 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7403
7404 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7405 parens around the arg list (bug#11499).
7406
7407 2012-05-17 Juri Linkov <juri@jurta.org>
7408
7409 * isearch.el (word-search-regexp, word-search-backward)
7410 (word-search-forward, word-search-backward-lax)
7411 (word-search-forward-lax): Move functions from search.c
7412 (bug#10145, bug#11381).
7413
7414 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7415
7416 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7417 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7418 Delay for otherchars as for normal word components.
7419
7420 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * minibuffer.el (completion--sifn-requote): Fix last change.
7423 (minibuffer-local-must-match-filename-map):
7424 Move define-obsolete-variable-alias before its var.
7425
7426 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7427
7428 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7429
7430 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7431 behavior.
7432 (completion--string-equal-p): New function.
7433 (completion--twq-all): Use it to get better assertion failure data.
7434
7435 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7436 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7437 (shell--requote-argument): New functions.
7438 (shell-completion-vars): Use them.
7439 (shell--parse-pcomplete-arguments): Rename from
7440 shell-parse-pcomplete-arguments.
7441 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7442 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7443 Obey comint-file-name-quote-list.
7444
7445 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7446 (smie-indent-keyword): Use it.
7447
7448 2012-05-14 Stefan Merten <smerten@oekonux.de>
7449
7450 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7451
7452 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * net/rlogin.el (rlogin-mode-map): Fix last change.
7455
7456 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7457
7458 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7459 the following \r\n using a single `process-send-string', since the
7460 Lotus SMTP server refuses to accept any commands if they are sent
7461 with two `process-send-string's (Bug#11444).
7462
7463 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * shell.el (shell-parse-pcomplete-arguments):
7466 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7467
7468 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7469
7470 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7471 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7472 (image-transform-width, image-transform-fit-width): New functions.
7473 (image-transform-properties): Use them.
7474 (image-transform-check-size): New function.
7475 (image-toggle-display-image): Use it (for testing).
7476 (image-transform-set-rotation): Reduce angle mod 360.
7477 Delete obsolete comment.
7478
7479 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7480
7481 * image-mode.el: Fix scaling (bug#11399).
7482 (image-transform-resize): Doc fix.
7483 (image-transform-properties): Default scale is 1 and height should
7484 be an integer.
7485
7486 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7487
7488 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7489 than hard-coding `car', to fix misbehavior when moving forward.
7490
7491 2012-05-13 Chong Yidong <cyd@gnu.org>
7492
7493 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7494 (tabulated-list-entries, tabulated-list-padding)
7495 (tabulated-list-sort-key): Make permanent-local.
7496
7497 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7498 (electric-buffer-list): Put electric buffer menu
7499 command descriptions in this docstring, instead of the docstring
7500 of electric-buffer-menu-mode. Code cleanups.
7501 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7502 Electric-buffer-menu-mode.
7503 (electric-buffer-update-highlight): Minor code cleanup.
7504
7505 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7506
7507 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7508 (Bug#11447)
7509
7510 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 Move define-obsolete-variable-alias before the var's definition.
7513 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7514 * tooltip.el (tooltip-hook):
7515 * textmodes/reftex-toc.el (reftex-toc-map):
7516 * textmodes/reftex-sel.el (reftex-select-label-map)
7517 (reftex-select-bib-map):
7518 * textmodes/reftex-index.el (reftex-index-map)
7519 (reftex-index-phrases-map):
7520 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7521 * progmodes/meta-mode.el (meta-mode-map):
7522 * novice.el (disabled-command-hook):
7523 * loadhist.el (unload-hook-features-list):
7524 * frame.el (blink-cursor):
7525 * files.el (find-file-not-found-hooks, write-file-hooks)
7526 (write-contents-hooks):
7527 * emulation/tpu-edt.el (GOLD-map):
7528 * emacs-lock.el (emacs-lock-from-exiting):
7529 * emacs-lisp/generic.el (generic-font-lock-defaults):
7530 * emacs-lisp/chart.el (chart-map):
7531 * dos-fns.el (register-name-alist):
7532 * dired-x.el (dired-omit-files-p):
7533 * desktop.el (desktop-enable):
7534 * cus-edit.el (custom-mode-hook):
7535 * buff-menu.el (buffer-menu-mode-hook):
7536 * bookmark.el (bookmark-read-annotation-text-func)
7537 (bookmark-exit-hooks):
7538 * allout.el (allout-mode-deactivate-hook)
7539 (allout-exposure-change-hook, allout-structure-added-hook)
7540 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7541 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7542 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7543 comes before the corresponding variable's definition.
7544
7545 2012-05-12 Chong Yidong <cyd@gnu.org>
7546
7547 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7548 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7549 (Buffer-menu-mode-map): Bind it.
7550 (Buffer-menu--pretty-name): Add a mouse-face property.
7551
7552 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7555 (prolog-upper-case-string, prolog-lower-case-string)
7556 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7557 (prolog-use-smie, prolog-smie-grammar): New vars.
7558 (prolog-smie-forward-token, prolog-smie-backward-token)
7559 (prolog-smie-rules): New funs.
7560 (prolog-comment-indent): Remove.
7561 (prolog-mode-variables): Use default comment indentation instead.
7562 Setup SMIE.
7563 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7564 (prolog-mode): Don't call them any more.
7565 (prolog-electric-colon, prolog-electric-dash)
7566 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7567
7568 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7569
7570 * minibuffer.el (completion--twq-all): Again, allow case differences.
7571
7572 * term.el: Move keymap initialization code to be more idiomatic.
7573 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7574 (term-terminal-menu): Move initialization into declaration.
7575 (term-escape-char): Let the user set it in her .emacs.
7576
7577 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7578 Provide SMIE-based indentation (not enabled by default yet).
7579 (sh-mode-map): Don't bind electric keys.
7580 Use electric-pair-mode instead of skeleton-pair.
7581 (sh-assignment-regexp): Fit within 80 columns.
7582 (sh-indent-supported): Specify actual shell name instead of boolean.
7583 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7584 (sh-maybe-here-document): Use it. Make obsolete.
7585 (sh-electric-here-document-mode) New minor mode.
7586 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7587 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7588 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7589 (sh-smie-rc-grammar, sh-use-smie): New vars.
7590 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7591 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7592 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7593 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7594 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7595 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7596 (sh-set-shell): Use smie-setup if requested.
7597
7598 * term.el (term-set-escape-char): Properly set term-escape-char.
7599 See http://stackoverflow.com/questions/10524656.
7600
7601 2012-05-10 Chong Yidong <cyd@gnu.org>
7602
7603 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7604 Use url-generic-parse-url, and handle host names and Windows
7605 filenames properly.
7606 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7607 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7608 URL schemes to work on.
7609 (ffap--toggle-read-only): New function.
7610 (ffap-read-only, ffap-read-only-other-window)
7611 (ffap-read-only-other-frame): Use it.
7612 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7613 necessary for ffap-url-unwrap-remote.
7614
7615 2012-05-10 Dave Abrahams <dave@boostpro.com>
7616
7617 * cus-start.el (create-lockfiles): Add it.
7618
7619 2012-05-09 Chong Yidong <cyd@gnu.org>
7620
7621 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7622 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7623
7624 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7625
7626 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7627
7628 2012-05-09 Chong Yidong <cyd@gnu.org>
7629
7630 * ansi-color.el (ansi-color-process-output): Check for validity of
7631 comint-last-output-start before using it. This avoids a bad
7632 interaction with gdb-mi's input/output buffer.
7633
7634 2012-05-09 Glenn Morris <rgm@gnu.org>
7635
7636 * files.el (dir-locals-read-from-file):
7637 Mention dir-locals in any error message.
7638
7639 2012-05-09 Chong Yidong <cyd@gnu.org>
7640
7641 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7642 package (Bug#11410).
7643
7644 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7645 variables into description.
7646
7647 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7648
7649 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7650 shell-delimiter-argument-list (bug#11348).
7651 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7652
7653 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7654
7655 * textmodes/rst.el: Silence byte-compiler warnings.
7656 (rst-re-alist, rst-reset-section-caches): Move around.
7657 (rst-re): Use `characterp', not `char-valid-p'.
7658 (font-lock-beg, font-lock-end): Declare.
7659
7660 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7661 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7662
7663 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7664
7665 2012-05-08 Glenn Morris <rgm@gnu.org>
7666
7667 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7668
7669 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * vc/log-edit.el: Add GNU coding standards highlighting.
7672 (log-edit-font-lock-gnu-style)
7673 (log-edit-font-lock-gnu-keywords): New vars.
7674 (log-edit-font-lock-keywords): New fun.
7675 (log-edit-mode): Don't fold case in font-lock.
7676 (log-edit-font-lock-keywords): Do not assume case-folding.
7677
7678 * imenu.el: Misc cleanup. Make docstrings out of comments.
7679 Use lexical-binding.
7680 (imenu--index-alist, imenu--last-menubar-index-alist)
7681 (imenu-menubar-modified-tick): Use defvar-local.
7682 (imenu--split-menu): Remove unused var.
7683 (imenu--cleanup-seen): Declare as global.
7684 (imenu--cleanup): Use dolist.
7685
7686 * subr.el (defvar-local): Add debug spec and doc-string position.
7687
7688 2012-05-08 Glenn Morris <rgm@gnu.org>
7689
7690 * language/burmese.el, language/cham.el, language/czech.el:
7691 * language/english.el, language/georgian.el, language/greek.el:
7692 * language/japanese.el, language/khmer.el, language/korean.el:
7693 * language/lao.el, language/misc-lang.el, language/romanian.el:
7694 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7695 * language/thai.el, language/utf-8-lang.el:
7696 Remove no-byte-compile setting.
7697
7698 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7699
7700 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7701
7702 * progmodes/make-mode.el (makefile-browse):
7703 Remove unnecessary interactive. (Bug#11324)
7704
7705 2012-05-07 Glenn Morris <rgm@gnu.org>
7706
7707 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7708
7709 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7710
7711 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7712
7713 * loadup.el: Preload newcomment.el.
7714 * newcomment.el: Move autoload-only code to toplevel.
7715
7716 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7717 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7718 Handle new :right-align column property.
7719 (tabulated-list-print-col): Idem, plus use `display' text-property to
7720 try and preserve alignment for variable pitch fonts.
7721
7722 2012-05-07 Chong Yidong <cyd@gnu.org>
7723
7724 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7725 (tabulated-list-use-header-line): New var.
7726 (tabulated-list-init-header): Use it.
7727 (tabulated-list-print-fake-header): New function.
7728 (tabulated-list-print): Use it.
7729 (tabulated-list-sort-button-map): Add non-header-line commands.
7730 (tabulated-list-init-header): Add column name property to basic
7731 labels as well.
7732 (tabulated-list-col-sort): Handle non-header-line button case.
7733 (tabulated-list--sort-by-column-name): Fix a corner case.
7734
7735 * buff-menu.el (list-buffers--refresh):
7736 Handle Buffer-menu-use-header-line.
7737
7738 2012-05-06 Chong Yidong <cyd@gnu.org>
7739
7740 * buff-menu.el: Convert to Tabulated List mode.
7741 (Buffer-menu-buffer+size-width): Make obsolete.
7742 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7743 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7744 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7745 documentation into docstring of buffer-menu.
7746 (Buffer-menu-toggle-files-only): Add an informative message.
7747 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7748 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7749 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7750 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7751 (Buffer-menu-execute, Buffer-menu-select)
7752 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7753 (Buffer-menu-bury): Use Tabulated List machinery.
7754 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7755 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7756 Delete.
7757 (list-buffers--refresh): New function.
7758 (list-buffers-noselect): Use it.
7759 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7760 (Buffer-menu--pretty-file-name): New helper functions.
7761
7762 * loadup.el: Preload tabulated-list.
7763
7764 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7765 tabulated-list-sort-column.
7766 (tabulated-list-init-header): Add the initial aligning space even
7767 if tabulated-list-padding is zero.
7768
7769 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7770
7771 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7772 whose cdr is not a cons cell correctly (bug#11038).
7773
7774 2012-05-06 Chong Yidong <cyd@gnu.org>
7775
7776 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7777 Accept additional plist in column descriptors.
7778 (tabulated-list-init-header): Obey it.
7779 (tabulated-list-get-entry): New function.
7780 (tabulated-list-put-tag): Use it. Use string-width instead of
7781 length.
7782 (tabulated-list--column-number): New function.
7783 (tabulated-list-print): Use it.
7784 (tabulated-list-print-col): New function.
7785 Set `tabulated-list-column-name' property on each column's text.
7786 (tabulated-list-print-entry): Use it.
7787 (tabulated-list-delete-entry, tabulated-list-set-col):
7788 New functions.
7789 (tabulated-list-sort-column): New command (Bug#11337).
7790
7791 * buff-menu.el (list-buffers): Move C-x C-b binding from
7792 buff-menu.el to bindings.el.
7793
7794 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7795 :advertised-binding feature.
7796
7797 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7798
7799 * progmodes/compile.el (compilation-internal-error-properties):
7800 Calculate start position correctly when end-col is set but
7801 end-line is not (Bug#11382).
7802
7803 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7804
7805 * man.el (Man-unindent): Use text-property-default-nonsticky to
7806 prevent untabify from inheriting face properties (Bug#11408).
7807
7808 2012-05-05 Stefan Merten <smerten@oekonux.de>
7809
7810 * textmodes/rst.el: Major merge with upstream development up to
7811 Docutils SVN r7399 / rst.el V1.2.1.
7812
7813 Clarify maintainership and authors.
7814
7815 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7816 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7817 (rst-official-version, rst-official-cvs-rev, rst-version)
7818 (rst-package-emacs-version-alist): New functions and variables
7819 for version information.
7820
7821 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7822 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7823 (rst-mode-syntax-table, rst-mode): New and corrected functions
7824 and variables representing reStructuredText features.
7825
7826 (rst-re): New function for reStructuredText regexes. Use in
7827 many places.
7828
7829 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7830 (rst-mode-map): Rebind keys.
7831
7832 (rst-mode-lazy, rst-font-lock-keywords)
7833 (rst-font-lock-extend-region)
7834 (rst-font-lock-extend-region-internal)
7835 (rst-font-lock-extend-region-extend)
7836 (rst-font-lock-find-unindented-line-limit)
7837 (rst-font-lock-find-unindented-line-match)
7838 (rst-adornment-level, rst-font-lock-adornment-level)
7839 (rst-font-lock-adornment-match)
7840 (rst-font-lock-handle-adornment-pre-match-form)
7841 (rst-font-lock-handle-adornment-matcher): Major revision of
7842 font-locking. Integrate with other code. Use `jit-lock-mode'.
7843
7844 (rst-preferred-adornments, rst-adjust-hook)
7845 (rst-new-adornment-down, rst-preferred-bullets)
7846 (rst-preferred-bullets, rst-indent, rst-indent-width)
7847 (rst-indent-field, rst-indent-literal-normal)
7848 (rst-indent-literal-minimized, rst-indent-comment): Change,
7849 extend and improve customization.
7850
7851 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7852 (rst-normalize-cursor-position, rst-get-decoration)
7853 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7854 (rst-rstrip, rst-toc-insert-find-delete-contents)
7855 (rst-shift-fill-region, rst-compute-bullet-tabs)
7856 (rst-debug-print-tabs, rst-debug-mark-found)
7857 (rst-shift-region-guts, rst-shift-region-right)
7858 (rst-shift-region-left, rst-use-char-classes)
7859 (rst-font-lock-keywords-function)
7860 (rst-font-lock-indentation-point)
7861 (rst-font-lock-find-unindented-line-begin)
7862 (rst-font-lock-find-unindented-line-end)
7863 (rst-font-lock-find-unindented-line)
7864 (rst-font-lock-adornment-point, rst-font-lock-level)
7865 (rst-adornment-level-alist): Remove functions and variables.
7866
7867 (rst-compare-adornments, rst-get-adornment-match)
7868 (rst-suggest-new-adornment, rst-get-adornments-around)
7869 (rst-adornment-complete-p, rst-get-next-adornment)
7870 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7871 (rst-straighten-adornments): Standardize function names to
7872 use "adornment" instead of "decoration". Correct callers.
7873 Similar standardizing in many places.
7874
7875 (rst-update-section, rst-adjust, rst-promote-region)
7876 (rst-enumerate-region, rst-bullet-list-region)
7877 (rst-repeat-last-character): Correct use of `interactive'.
7878
7879 (rst-classify-adornment, rst-find-all-adornments)
7880 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7881 (rst-find-leftmost-column, rst-repeat-last-character):
7882 Refactor functions.
7883
7884 (rst-find-title-line, rst-reset-section-caches)
7885 (rst-get-adornments-around, rst-adjust-adornment-work)
7886 (rst-arabic-to-roman, rst-roman-to-arabic)
7887 (rst-insert-list-pos, rst-insert-list-new-item)
7888 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7889 New functions.
7890
7891 (rst-all-sections, rst-section-hierarchy)
7892 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7893 New variables.
7894
7895 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7896 configuration instead of only buffer. Change where necessary.
7897
7898 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7899 (rst-shift-region, rst-adaptive-fill): New functions for
7900 indentation and filling.
7901
7902 (rst-comment-line-break, rst-comment-indent)
7903 (rst-comment-insert-comment, rst-comment-region)
7904 (rst-uncomment-region): New functions for handling comments.
7905
7906 (rst-compile): Quote shell arguments.
7907
7908 (rst-compile-pdf-preview, rst-compile-slides-preview):
7909 Delete temporary files after use.
7910
7911 2012-05-05 Glenn Morris <rgm@gnu.org>
7912
7913 * calendar/cal-html.el: Optionally include holidays in the output.
7914 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7915 (cal-html-holidays): New option.
7916 (cal-html-css-default): Add holiday entry.
7917 (holiday-in-range): Autoload it.
7918 (cal-html-htmlify-entry): Add optional class argument.
7919 (cal-html-htmlify-list): Add optional holidays argument.
7920 (cal-html-insert-agenda-days): Include holidays in the output.
7921 (cal-html-one-month): Maybe include holidays.
7922
7923 * calendar/holidays.el (holiday-in-range):
7924 Move here from cal-tex-list-holidays.
7925 * calendar/cal-tex.el (cal-tex-list-holidays):
7926 Make it an obsolete alias for holiday-in-range. Update all callers.
7927
7928 2012-05-05 Chong Yidong <cyd@gnu.org>
7929
7930 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7931 Nextstep.
7932
7933 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7934
7935 * files.el (file-auto-mode-skip): New var.
7936 (set-auto-mode-1): Use it.
7937
7938 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * repeat.el: Use lexical-binding.
7941 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7942 (repeat-undo-count): Remove.
7943 (repeat):
7944 * progmodes/octave-mod.el (octave-abbrev-start):
7945 * progmodes/f90.el (f90-abbrev-start):
7946 * face-remap.el (text-scale-adjust):
7947 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7948
7949 * emacs-lisp/pcase.el (pcase--let*): New function.
7950 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7951 a bit more.
7952 (pcase--split-pred): Be more clever about ruling out overlap between
7953 a predicate and some constant pattern.
7954 (pcase--q1): Use `null' instead of (eq foo nil).
7955
7956 * subr.el (setq-local, defvar-local): New macros.
7957 (kbd): Redefine as an alias.
7958 (with-selected-window): Leave unrelated frames alone.
7959 (set-temporary-overlay-map): New function.
7960
7961 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * subr.el (user-error): New function.
7964 * window.el (switch-to-buffer):
7965 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7966 (smerge-match-conflict):
7967 * simple.el (previous-matching-history-element)
7968 (next-matching-history-element, goto-history-element, undo-more)
7969 (undo-start):
7970 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7971 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7972 (next-file, tags-loop-scan, list-tags, complete-tag):
7973 * progmodes/compile.el (compilation-loop):
7974 * mouse.el (mouse-minibuffer-check):
7975 * man.el (Man-bgproc-sentinel, Man-goto-page):
7976 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7977 (Info-history-forward, Info-follow-reference, Info-menu)
7978 (Info-extract-menu-item, Info-extract-menu-counting)
7979 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7980 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7981 (Info-next-reference, Info-prev-reference, Info-index)
7982 (Info-index-next, Info-follow-nearest-node)
7983 (Info-copy-current-node-name):
7984 * imenu.el (imenu--make-index-alist)
7985 (imenu-default-create-index-function, imenu-add-to-menubar):
7986 * files.el (basic-save-buffer, recover-file):
7987 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7988 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7989 (checkdoc-message-text, checkdoc-defun):
7990 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7991 * cus-edit.el (customize-changed-options, customize-rogue)
7992 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7993 (custom-variable-mark-to-reset-standard)
7994 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7995 (custom-file):
7996 * completion.el (check-completion-length):
7997 * comint.el (comint-search-arg)
7998 (comint-previous-matching-input-string-position)
7999 (comint-previous-matching-input)
8000 (comint-replace-by-expanded-history-before-point, comint-send-input)
8001 (comint-copy-old-input, comint-backward-matching-input)
8002 (comint-goto-process-mark, comint-set-process-mark):
8003 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8004 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8005
8006 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * dabbrev.el (dabbrev--ignore-case-p): New function.
8009 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8010 Use it.
8011
8012 * files.el (automount-dir-prefix): Mark as obsolete.
8013
8014 2012-05-04 Glenn Morris <rgm@gnu.org>
8015
8016 * patcomp.el, play/bruce.el: Move to obsolete/.
8017
8018 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8019
8020 Fix minor Y10k bugs.
8021 * arc-mode.el (archive-unixdate):
8022 * autoinsert.el (auto-insert-alist):
8023 * calc/calc-forms.el (math-this-year):
8024 * emacs-lisp/copyright.el (copyright-current-year)
8025 (copyright-update-year, copyright):
8026 * tar-mode.el (tar-clip-time-string):
8027 * time.el (display-time-update):
8028 Don't assume years have 4 digits.
8029
8030 2012-05-04 Chong Yidong <cyd@gnu.org>
8031
8032 * dos-w32.el (file-name-buffer-file-type-alist)
8033 (direct-print-region-use-command-dot-com):
8034 * ffap.el (ffap-menu-regexp):
8035 * find-file.el (ff-special-constructs):
8036 * follow.el (follow-debug):
8037 * forms.el (forms--debug):
8038 * iswitchb.el (iswitchb-all-frames):
8039 * ido.el (ido-all-frames):
8040 * emacs-lisp/timer.el (timer-max-repeats):
8041 * mail/feedmail.el (feedmail-mail-send-hook)
8042 (feedmail-mail-send-hook-queued):
8043 * mail/footnote.el (footnote-signature-separator):
8044 * mail/mailabbrev.el (mail-alias-separator-string)
8045 (mail-abbrev-mode-regexp):
8046 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8047 * progmodes/idlwave.el (idlwave-libinfo-file)
8048 (idlwave-default-completion-case-is-down)
8049 (idlwave-library-routines): Convert defvars to defcustoms.
8050
8051 * mail/rmail.el (rmail-decode-mime-charset):
8052 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8053 (idlwave-shell-fix-inserted-breaks)
8054 (idlwave-shell-activate-alt-keybindings)
8055 (idlwave-shell-use-breakpoint-glyph):
8056 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8057
8058 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8059
8060 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8061
8062 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8063
8064 * progmodes/verilog-mode.el (font-lock-keywords):
8065 Fix mis-highligting auto. Reported by Craig Barner.
8066 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8067 defines from global name space. Reported by Dan Dever.
8068 (verilog-auto-reset, verilog-auto-reset-widths)
8069 (verilog-auto-tieoff): Support using unbased numbers for
8070 AUTORESET and AUTOTIEOFF.
8071 (verilog-submit-bug-report): Update variable list.
8072 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8073 parenthesis from not matching. Reported by Michael Rytting.
8074 (verilog-auto-template-lint): Fix hash error when linting modules
8075 with no used templates.
8076 (verilog-warn, verilog-warn-error)
8077 (verilog-warn-fatal): When non-interactive report multiple
8078 warnings before exiting. Suggested by Brad Dobbie.
8079 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8080 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8081 to report unused template errors. Reported by Brad Dobbie.
8082 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8083 nets, bug438. Reported by Vns Blore.
8084 (verilog-auto-inout-module, verilog-auto-reg)
8085 (verilog-read-decls, verilog-read-sub-decls-sig)
8086 (verilog-signals-edit-wire-reg, verilog-signals-with):
8087 Fix passing of Verilog data types in ANSI input/output ports
8088 such as "output logic" into the AUTOs. Special case "wire" and
8089 "reg" for backwards compatibility presuming Verilog 2001.
8090 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8091 (verilog-preprocess): Fix replication of preprocess output.
8092 Reported by Brad Dobbie.
8093 (verilog-auto-inst-interfaced-ports):
8094 Create verilog-auto-inst-interfaced-ports, bug429.
8095 Reported by Julian Gorfajn.
8096 (verilog-after-save-font-hook)
8097 (verilog-before-save-font-hook): New variable.
8098 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8099 (verilog-save-font-mods): Wrap disabling fontification, reported
8100 by David Rogoff.
8101 (verilog-do-indent, verilog-pretty-declarations-auto)
8102 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8103 Reported by Pierre-David Pfister.
8104 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8105 of class declarations, bug292. Reported by Kevin Heilman.
8106 (verilog-read-decls): Fix 'parameter type' not appearing in
8107 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8108 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8109 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8110 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8111 Reported by David Kravitz.
8112
8113 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8114
8115 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8116 assignment with tests in ifs and for loops.
8117 (verilog-extended-complete-re, verilog-complete-reg): Change so
8118 that DPI inport functions don't look like fuction declarations.
8119 (verilog-pretty-expr): Don't line up assignment
8120 operations to the test and increment in if and for loops
8121 (verilog-extended-complete-re, verilog-complete-reg): Change so
8122 that DPI inport functions don't look like fuction declarations.
8123
8124 2012-05-03 Kenichi Handa <handa@m17n.org>
8125
8126 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8127 decoding, and show a warning message without signaling an error
8128 (Bug#11282).
8129
8130 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8131
8132 * emacs-lisp/bytecomp.el
8133 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8134 since cconv.el might have introduced :fun-body, internal-make-closure,
8135 and friends for bytecomp to handle (bug#11391).
8136 * custom.el (defcustom): Avoid ((λ ..) ..).
8137
8138 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8141
8142 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8143
8144 * notifications.el (dbus-debug):
8145 * term/linux.el (gpm-mouse-enable):
8146 * term/screen.el (xterm-register-default-colors): Declare.
8147
8148 2012-05-02 Chong Yidong <cyd@gnu.org>
8149
8150 * cus-start.el (gc-cons-percentage, exec-suffixes)
8151 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8152 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8153 (make-cursor-line-fully-visible, void-text-area-pointer)
8154 (font-list-limit): Add customization data.
8155
8156 * allout.el (allout-exposure-change-functions)
8157 (allout-structure-added-functions)
8158 (allout-structure-deleted-functions)
8159 (allout-structure-shifted-functions): Rename abnormal hooks from
8160 *-hook, and convert to defcustoms.
8161 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8162 Convert to defcustoms.
8163 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8164
8165 * allout-widgets.el: Hook callers changed.
8166
8167 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8168
8169 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8170 the yanked message in preference to the default value of
8171 buffer-file-coding-system.
8172
8173 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8174
8175 * window.el (display-buffer--action-function-custom-type):
8176 Fix entry.
8177
8178 2012-05-02 Alan Mackenzie <acm@muc.de>
8179
8180 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8181
8182 2012-05-01 Glenn Morris <rgm@gnu.org>
8183
8184 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8185
8186 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8187
8188 * cus-edit.el (custom-variable-documentation): Simplify with format.
8189
8190 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8191 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * simple.el (suggest-key-bindings, execute-extended-command):
8194 Move from keyboard.c.
8195
8196 2012-05-01 Chong Yidong <cyd@gnu.org>
8197
8198 * follow.el: Eliminate advice.
8199 (set-process-filter, process-filter, sit-for): Advice deleted.
8200 (follow-mode-off-hook): Obsolete hook removed.
8201 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8202 Vars deleted.
8203 (follow-auto): Use a :set function.
8204 (follow-mode): Rewritten. Don't advise process filters.
8205 (follow-switch-to-current-buffer-all, follow-scroll-up)
8206 (follow-scroll-down): Assume follow-mode is bound.
8207 (follow-comint-scroll-to-bottom)
8208 (follow-align-compilation-windows): New functions.
8209 (follow--window-sorter): New function.
8210 (follow-all-followers): Use it to explicitly sort windows by their
8211 positions; don't make assumptions about next-window order.
8212 (follow-windows-start-end, follow-delete-other-windows-and-split)
8213 (follow-calc-win-start): Doc fix.
8214 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8215 vertical-motion unnecessarily.
8216 (follow-adjust-window): New function.
8217 (follow-post-command-hook): Use it.
8218 (follow-call-set-process-filter, follow-call-process-filter)
8219 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8220 (follow-stop-intercept-process-output, follow-generic-filter):
8221 Functions deleted.
8222 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8223 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8224 New functions, replacing advice on scroll-bar-* commands.
8225 (follow-mwheel-scroll): New function (Bug#4112).
8226
8227 * comint.el (comint-adjust-point): New function.
8228 (comint-postoutput-scroll-to-bottom): Use it.
8229 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8230
8231 2012-05-01 Glenn Morris <rgm@gnu.org>
8232
8233 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8234 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8235 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8236 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8237 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8238 Remove no-byte-compile setting.
8239
8240 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8241
8242 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8243 all-completions code to not return a number in the last cdr.
8244
8245 2012-04-30 Leo Liu <sdl.web@gmail.com>
8246
8247 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8248 read-only error.
8249
8250 2012-04-29 Chong Yidong <cyd@gnu.org>
8251
8252 * follow.el (follow-calc-win-end): Rewrite to handle partial
8253 screen lines correctly (Bug#8390).
8254 (follow-avoid-tail-recenter): Minor cleanup.
8255
8256 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 Avoid the obsolete `assoc' package.
8259 * speedbar.el (speedbar-refresh): Avoid adelete.
8260 (speedbar-file-lists): Simplify and avoid aput.
8261 * man.el (Man--sections, Man--refpages): New vars, replacing
8262 Man-sections-alist and Man-refpages-alist.
8263 (Man-build-section-alist, Man-build-references-alist):
8264 Use them; avoid aput.
8265 (Man--last-section, Man--last-refpage): New vars.
8266 (Man-follow-manual-reference): Use them.
8267 Use the `default' arg of completing-read.
8268 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8269
8270 2012-04-27 Chong Yidong <cyd@gnu.org>
8271
8272 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8273
8274 * startup.el (x-apply-session-resources): New function.
8275
8276 * term/ns-win.el (ns-initialize-window-system):
8277 * term/w32-win.el (w32-initialize-window-system):
8278 * term/x-win.el (x-initialize-window-system): Use it to properly
8279 set menu-bar-mode and other vars from X resources, even if the
8280 initial frame is not a window-system frame (Bug#2299).
8281
8282 * subr.el (read-key): Avoid running filter function when setting
8283 up temporary tool bar entries (Bug#9922).
8284
8285 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8286
8287 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8288 (Bug#11344)
8289
8290 2012-04-27 Chong Yidong <cyd@gnu.org>
8291
8292 * select.el (xselect--encode-string): New function, split from
8293 xselect-convert-to-string.
8294 (xselect-convert-to-string): Use it.
8295 (xselect-convert-to-filename, xselect-convert-to-os)
8296 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8297 returned strings are properly encoded (Bug#11315).
8298
8299 2012-04-27 Chong Yidong <cyd@gnu.org>
8300
8301 * simple.el (delete-active-region): Move to killing custom group.
8302
8303 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8304
8305 * progmodes/which-func.el (which-func-current): Quote %
8306 characters for mode-line processing.
8307
8308 2012-04-27 Chong Yidong <cyd@gnu.org>
8309
8310 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8311 reaching eob (Bug#11286).
8312
8313 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8314
8315 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8316 (gdb): Make it buffer-local and init to zero.
8317 (gdb-control-commands-regexp): New variable.
8318 (gdb-send): Don't wrap in "-interpreter-exec console" if
8319 gdb-control-level is positive. Increment gdb-control-level
8320 whenever the command matches gdb-control-commands-regexp, and
8321 decrement it each time the command is "end". (Bug#11279)
8322
8323 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8324
8325 * window.el (adjust-window-trailing-edge, enlarge-window)
8326 (shrink-window, window-resize):
8327 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8328 windows (Bug#11276).
8329
8330 2012-04-27 Chong Yidong <cyd@gnu.org>
8331
8332 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8333 fix "missing prefix" warning. All callers changed.
8334
8335 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * emacs-lisp/assoc.el: Move to obsolete/.
8338
8339 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8342
8343 * term/ns-win.el (ns-define-service):
8344 * progmodes/pascal.el (pascal-goto-defun):
8345 * progmodes/js.el (js--read-tab):
8346 * progmodes/etags.el (tags-lazy-completion-table):
8347 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8348 * emacs-lisp/ewoc.el (ewoc--wrap):
8349 * emacs-lisp/assoc.el (aput, adelete, amake):
8350 * doc-view.el (doc-view-convert-current-doc):
8351 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8352
8353 2012-04-26 Chong Yidong <cyd@gnu.org>
8354
8355 * image.el (image-type-from-buffer): Only return supported image
8356 type (Bug#9045).
8357
8358 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8359 value, for symmetry with diff-end-of-hunk.
8360 (diff-split-hunk, diff-find-source-location)
8361 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8362 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8363 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8364 compute the relevant hunk or file properly (Bug#6005).
8365 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8366
8367 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * vc/vc-mtn.el:
8370 * vc/vc-hg.el:
8371 * vc/vc-git.el:
8372 * vc/vc-dir.el:
8373 * vc/vc-cvs.el:
8374 * vc/vc-bzr.el:
8375 * vc/vc-arch.el:
8376 * vc/vc.el: Replace lexical-let by lexical-binding.
8377 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8378 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8379 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8380
8381 2012-04-26 Chong Yidong <cyd@gnu.org>
8382
8383 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8384 (diff-mode-shared-map): Bind it to / and [remap undo].
8385
8386 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8387 (ediff-window-setup-function): Use it as the default, to set up
8388 windows based on whether the current frame is graphical (Bug#2138).
8389 (ediff-choose-window-setup-function-automatically): Make obsolete.
8390
8391 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8392
8393 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 * ffap.el: Remove old code for obsolete package.
8396 (ffap-complete-as-file-p): Remove.
8397
8398 Use completion-table-with-quoting for comint and pcomplete.
8399 * comint.el (comint--unquote&requote-argument)
8400 (comint--unquote-argument, comint--requote-argument): New functions.
8401 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8402 (comint-quote-filename): Use regexp-opt-charset.
8403 (comint--common-suffix, comint--common-quoted-suffix)
8404 (comint--table-subvert): Remove.
8405 (comint-unquote-function, comint-requote-function): New vars.
8406 (comint--complete-file-name-data): Use them with
8407 completion-table-with-quoting.
8408 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8409 * pcomplete.el (pcomplete-arg-quote-list)
8410 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8411 (pcomplete-unquote-argument-function): Default to non-nil.
8412 (pcomplete-unquote-argument): Simplify.
8413 (pcomplete--common-quoted-suffix): Remove.
8414 (pcomplete-requote-argument-function): New var.
8415 (pcomplete--common-suffix): New function.
8416 (pcomplete-completions-at-point): Use completion-table-with-quoting
8417 and completion-table-subvert.
8418
8419 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8420 (minibuffer--double-dollars): Preserve properties.
8421 (completion--sifn-requote): New function.
8422 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8423
8424 * minibuffer.el: Add support for completion of quoted/escaped data.
8425 (completion-table-with-quoting, completion-table-subvert): New funs.
8426 (completion--twq-try, completion--twq-all): New functions.
8427 (completion--nth-completion): New function.
8428 (completion-try-completion, completion-all-completions): Use it.
8429
8430 2012-04-25 Leo Liu <sdl.web@gmail.com>
8431
8432 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8433 Use compilation-message if available to find real filename.
8434
8435 2012-04-25 Chong Yidong <cyd@gnu.org>
8436
8437 * vc/diff-mode.el (diff-setup-whitespace): New function.
8438 (diff-mode): Use it.
8439
8440 * vc/diff.el (diff-sentinel):
8441 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8442 Whitespace mode variables based on diff style (Bug#8612).
8443
8444 2012-04-25 Leo Liu <sdl.web@gmail.com>
8445
8446 * progmodes/python.el (python-send-region): Add suffix .py to the
8447 temp file.
8448
8449 * files.el (auto-mode-alist): Use javascript-mode instead.
8450
8451 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8452
8453 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8454
8455 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8456 (soap-resolve-references-for-array-type): Hack to prevent self
8457 references, see Bug#9.
8458 (soap-parse-envelope): Report the contents of the 'detail' node
8459 when receiving a fault reply.
8460 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8461
8462 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8463 (soap-inspect-simple-type): New function.
8464
8465 * net/soap-client.el (soap-simple-type): New struct.
8466 (soap-default-xsd-types, soap-default-soapenc-types)
8467 (soap-decode-basic-type, soap-encode-basic-type):
8468 support unsignedInt and double basic types.
8469 (soap-resolve-references-for-simple-type)
8470 (soap-parse-simple-type, soap-encode-simple-type): New function.
8471 (soap-parse-schema): Parse xsd:simpleType declarations.
8472
8473 * net/soap-client.el (soap-default-xsd-types)
8474 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8475 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8476 the local name of "soapenc:Array".
8477 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8478 decoding integer, byte and anyURI xsd types.
8479
8480 2012-04-25 Chong Yidong <cyd@gnu.org>
8481
8482 * cus-edit.el (custom-buffer-create-internal): Update header text.
8483
8484 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8485
8486 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8487 settings on 'system-type', not on 'window-system'. On MS-Windows,
8488 set interactive-mode on in GDB.
8489
8490 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8493 (ruby-syntax-propertize-regexp): Remove.
8494 (ruby-syntax-propertize-function): Split regexp into chunks.
8495 Match following code directly.
8496
8497 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8498
8499 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8500 (ruby-syntax-propertize-regexp): New function.
8501 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8502 by a special keyword.
8503
8504 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8505 (ruby-syntax-general-delimiters-goto-beg)
8506 (ruby-syntax-propertize-general-delimiters): New functions.
8507 (ruby-syntax-propertize-function): Use them to handle GDL.
8508 (ruby-font-lock-keywords): Move old handling of GDL...
8509 (ruby-font-lock-syntactic-keywords): .. to here.
8510 (ruby-calculate-indent): Adjust indentation for GDL.
8511
8512 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8513
8514 * notifications.el (top): Remove unneeded declarations.
8515 (notifications-specification-version): Change to "1.2".
8516 (notifications-interface, notifications-notify-method)
8517 (notifications-close-notification-method): Fix docstring.
8518 (notifications-get-capabilities-method): New defconst.
8519 (notifications-notify): Add :action-items, :resident and
8520 :transient hints. Change "image_data" to "image-data" and
8521 "image_path" to "image-path".
8522 (notifications-get-capabilities): New defun.
8523
8524 2012-04-24 Leo Liu <sdl.web@gmail.com>
8525
8526 * progmodes/python.el: Move hideshow setup to the end.
8527
8528 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8529
8530 * window.el (handle-select-window): Clear echo area since this is
8531 no more done by read_char (Bug#11304).
8532
8533 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8536 and `/ M' to filter-derived-mode.
8537 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8538 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8539 (ibuffer-mark-by-mode): Use default rather than initial-input.
8540 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8541
8542 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8543
8544 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8545 (ibuffer-filter-by-derived-mode): New filter.
8546 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8547
8548 2012-04-23 Andreas Politz <politza@fh-trier.de>
8549
8550 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8551
8552 2012-04-23 Chong Yidong <cyd@gnu.org>
8553
8554 * cus-edit.el (customize-apropos, customize-apropos-options):
8555 Disable matching of non-option variables (Bug#11176).
8556 (customize-option, customize-option-other-window)
8557 (customize-changed-options): Doc fix.
8558 (customize-apropos-options, customize-apropos-faces)
8559 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8560
8561 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8562 Fix word list splitting (Bug#11132).
8563 (apropos-symbol, apropos-keybinding, apropos-label)
8564 (apropos-property, apropos-function-button)
8565 (apropos-variable-button, apropos-misc-button): New faces.
8566 (apropos-symbol-face, apropos-keybinding-face)
8567 (apropos-label-face, apropos-property-face, apropos-match-face):
8568 Variables removed (Bug#8396).
8569 (apropos-library-button, apropos-format-plist, apropos-print)
8570 (apropos-print-doc, apropos-describe-plist): Callers changed.
8571
8572 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8573
8574 * net/xesam.el (xesam-mode-map): Use let-bound map in
8575 initialization. (Bug#11292)
8576
8577 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8578
8579 Preserve ispell session localwords when switching back to
8580 original buffer.
8581
8582 * textmodes/ispell.el (ispell-buffer-session-localwords):
8583 New buffer-local variable to hold buffer session localwords.
8584 (ispell-kill-ispell): Add option 'clear to delete session
8585 localwords.
8586 (ispell-command-loop, ispell-change-dictionary)
8587 (ispell-buffer-local-words): Preserve session localwords when
8588 needed.
8589
8590 * textmodes/flyspell.el (flyspell-process-localwords)
8591 (flyspell-do-correct): Preserve session localwords when needed.
8592
8593 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8594
8595 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8596 using obsolete `translation-table-for-input'.
8597 (ispell-word, ispell-process-line, ispell-complete-word):
8598 Use plain `insert' instead of removed `ispell-insert-word'.
8599
8600 2012-04-22 Chong Yidong <cyd@gnu.org>
8601
8602 * cus-edit.el (custom-variable-menu)
8603 (custom-variable-reset-saved, custom-face-menu)
8604 (custom-face-reset-saved): If there is no saved value, make the
8605 "reset-saved" operation bring back the default (Bug#9509).
8606 (custom-face-state): Properly detect themed faces.
8607
8608 * faces.el (face-spec-set): Stop supporting deprecated form of
8609 third arg.
8610
8611 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8612
8613 Move functions from C to Lisp. Make non-blocking method calls
8614 the default. Implement further D-Bus standard interfaces.
8615
8616 * net/dbus.el (dbus-message-internal): Declare function.
8617 Remove unneeded function declarations.
8618 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8619 (dbus-message-type-method-return, dbus-message-type-error)
8620 (dbus-message-type-signal): Declare variables. Remove local
8621 definitions.
8622 (dbus-interface-dbus, dbus-interface-peer)
8623 (dbus-interface-introspectable, dbus-interface-properties)
8624 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8625 Adapt docstring.
8626 (dbus-interface-objectmanager): New defconst.
8627 (dbus-call-method, dbus-call-method-asynchronously)
8628 (dbus-send-signal, dbus-method-return-internal)
8629 (dbus-method-error-internal, dbus-register-service)
8630 (dbus-register-signal, dbus-register-method): New defuns, moved
8631 from dbusbind.c
8632 (dbus-call-method-handler, dbus-setenv)
8633 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8634 New defuns.
8635 (dbus-call-method-non-blocking): Make it an obsolete function.
8636 (dbus-unregister-object, dbus-unregister-service)
8637 (dbus-handle-event, dbus-register-property)
8638 (dbus-property-handler): Obey the new structure of
8639 `bus-registered-objects'.
8640 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8641 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8642 Use `dbus-call-method'.
8643
8644 2012-04-22 Chong Yidong <cyd@gnu.org>
8645
8646 * cus-edit.el (custom-commands, custom-reset-menu)
8647 (Custom-reset-standard): Tweak labels.
8648 (custom-reset-button-menu): Change default to t.
8649 (custom-buffer-create-internal): For the custom-reset-button-menu
8650 case, put the revert button first.
8651 (custom-group-subtitle): New face.
8652 (custom-group-value-create): Align docstring to a specific column.
8653
8654 * wid-edit.el (widget-documentation-link-add): Don't handle
8655 indentation in this function.
8656 (widget-documentation-string-indent-to): New function.
8657 (widget-documentation-string-value-create): Use it.
8658
8659 * autorevert.el (auto-revert):
8660 * epg-config.el (epg):
8661 * ibuffer.el (ibuffer):
8662 * mpc.el (mpc):
8663 * ses.el (ses):
8664 * eshell/eshell.el (eshell):
8665 * net/ange-ftp.el (ange-ftp):
8666 * progmodes/ebnf2ps.el (postscript):
8667 * progmodes/flymake.el (flymake):
8668 * progmodes/prolog.el (prolog):
8669 * progmodes/verilog-mode.el (verilog-mode):
8670 * progmodes/which-func.el (which-func):
8671 * term/xterm.el (xterm):
8672 * textmodes/picture.el (picture):
8673 * textmodes/tildify.el (tildify):
8674 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8675 customization buffers.
8676
8677 2012-04-22 Alan Mackenzie <acm@muc.de>
8678
8679 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8680 Adding a ) can hide the resulting (..) from searches. Fix it.
8681 Bound the backward search to the position of the existing (.
8682
8683 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8684
8685 * progmodes/verilog-mode.el (verilog-mode): Check whether
8686 which-func-modes is t before adding verilog-mode.
8687 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8688
8689 2012-04-21 Leo Liu <sdl.web@gmail.com>
8690
8691 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8692
8693 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8694
8695 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8696 filling of the last column of a table (Bug#5635).
8697 (woman-find-next-control-line): New arg, specifying an additional
8698 regexp component for the control line.
8699 (woman2-roff-buffer): Use it.
8700 (woman-break-table): New function.
8701 (woman2-TS): Use it.
8702
8703 2012-04-21 Chong Yidong <cyd@gnu.org>
8704
8705 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8706 (woman-horizontal-escapes, woman-negative-vertical-space)
8707 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8708 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8709
8710 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * minibuffer.el (completion-file-name-table): Complete user names.
8713
8714 2012-04-20 Leo Liu <sdl.web@gmail.com>
8715
8716 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8717 and pcase-let*.
8718
8719 2012-04-20 Chong Yidong <cyd@gnu.org>
8720
8721 * server.el (server-execute): Respect initial-buffer-choice if it
8722 is a string and there are no files to open (Bug#2825).
8723 (server-create-window-system-frame, server-create-tty-frame):
8724 Don't switch buffers here.
8725 (server-process-filter): Only try to open a window system frame if
8726 compiled with graphical support (Bug#8314).
8727
8728 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8729
8730 * battery.el (battery-echo-area-format): Display remaining time
8731 for sysfs backend too (Bug#11269).
8732 (battery-linux-sysfs): Fix conditional for the charge.
8733
8734 2012-04-20 Chong Yidong <cyd@gnu.org>
8735
8736 * progmodes/gdb-mi.el (gdb): Revert previous change.
8737 (gdb-inferior-io--init-proc): New function.
8738 (gdb-init-1): Use it.
8739 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8740 responsible for allocating a new pty and hooking it to gdb when
8741 the old pty gets an EIO due to process exit.
8742 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8743 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8744 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8745
8746 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8747
8748 * window.el (window-min-size, window-sizable, window-min-delta)
8749 (window-max-delta, window--resizable, window-resizable)
8750 (window-total-size, window-full-height-p, window-full-width-p)
8751 (window-in-direction, window--resize-mini-window, window-resize)
8752 (window--resize-child-windows-normal)
8753 (window--resize-child-windows, window--resize-siblings)
8754 (window--resize-this-window, adjust-window-trailing-edge)
8755 (enlarge-window, shrink-window): Doc fixes.
8756
8757 2012-04-20 Chong Yidong <cyd@gnu.org>
8758
8759 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8760 New function to call delete-process on the gdb-inferior buffer's pty.
8761 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8762 pty process (Bug#11273).
8763 (gdb-update): New arg to suppress talking to the gdb process.
8764 (gdb-done-or-error): Use it.
8765 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8766 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8767 sentinel not being called.
8768
8769 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8770
8771 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8772
8773 2012-04-20 Glenn Morris <rgm@gnu.org>
8774
8775 * net/network-stream.el (open-network-stream): Doc fix.
8776
8777 2012-04-20 Chong Yidong <cyd@gnu.org>
8778
8779 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8780
8781 2012-04-20 Alan Mackenzie <acm@muc.de>
8782
8783 Ensure searching for keywords is case sensitive.
8784
8785 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8786 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8787 (c-defun-name, c-mark-function, c-cpp-define-name)
8788 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8789 (c-context-line-break): Bind case-fold-search to nil.
8790
8791 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8792 Bind case-fold-search to nil.
8793
8794 2012-04-20 Chong Yidong <cyd@gnu.org>
8795
8796 * mail/sendmail.el (mail-bury): Call return action with the right
8797 Rmail buffer (Bug#11242).
8798
8799 * server.el (server-process-filter): Handle corner case where both
8800 tty and nowait options are present (Bug#11102).
8801
8802 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8803
8804 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8805 (top level): Put into the executable the ident-style '$Id:' tag on
8806 windows-nt as well.
8807
8808 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * electric.el (electric-indent-post-self-insert-function): Check that
8811 electric-indent-mode is enabled in current buffer.
8812
8813 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8814
8815 * imenu.el (imenu-progress-message): Restore; it is "used" in
8816 erc/erc-imenu.el and net/snmp-mode.el.
8817
8818 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8819
8820 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8821 (mouse-avoidance-nudge-mouse): Remove unused binding.
8822
8823 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8824
8825 * descr-text.el (describe-char):
8826 * progmodes/python.el (python-describe-symbol):
8827 Don't call `toggle-read-only', set `buffer-read-only'.
8828
8829 * imenu.el (imenu-default-goto-function): Mark unused args.
8830 (imenu-progress-message): Remove obsolete macro; all callers changed.
8831
8832 * subr.el (keymap-canonicalize): Remove unused binding.
8833 (read-passwd): Mark unused arg.
8834
8835 * tutorial.el (tutorial--display-changes): Remove unused binding.
8836 (tutorial--save-tutorial-to): Remove unused variable.
8837
8838 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8839 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8840 (package-generate-autoloads, package-menu--generate)
8841 (package-menu--find-upgrades): Remove unused bindings.
8842
8843 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8844 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8845 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8846 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8847 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8848 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8849 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8850 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8851 (cua-delete-char-rectangle): Mark unused args.
8852 (cua-align-rectangle): Remove unused binding.
8853
8854 * mail/rmail.el (compilation--message->loc)
8855 (epa--find-coding-system-for-mime-charset): Declare.
8856
8857 * net/dbus.el (dbus-register-service): Declare.
8858 (dbus-name-owner-changed-handler): Remove unused binding.
8859
8860 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8861 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8862 (nxml-scan-backward-within): Mark unused arg.
8863 (nxml-dynamic-markup-word): Remove unused binding.
8864
8865 * mouse.el (mouse-menu-major-mode-map):
8866 * emacs-lisp/authors.el (authors-scan-change-log)
8867 (authors-add-to-author-list):
8868 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8869 * emacs-lisp/smie.el (smie-auto-fill):
8870 * mail/sendmail.el (mail-bury):
8871 * mail/unrmail.el (unrmail):
8872 * net/tls.el (open-tls-stream):
8873 * textmodes/picture.el (picture-mouse-set-point):
8874 Remove unused bindings.
8875
8876 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8877
8878 * net/tramp.el (tramp-action-password): Let-bind
8879 `enable-recursive-minibuffers' to t.
8880
8881 2012-04-18 Sam Steingold <sds@gnu.org>
8882
8883 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8884 instead of 'string to accommodate values like [f11].
8885 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8886 * progmodes/gdb-mi.el: Likewise.
8887
8888 2012-04-18 Leo Liu <sdl.web@gmail.com>
8889
8890 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8891 current buffer.
8892 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8893 LOCAL is nil.
8894
8895 2012-04-18 Chong Yidong <cyd@gnu.org>
8896
8897 * simple.el (line-move): Use forward-line if in batch mode
8898 (Bug#11053).
8899
8900 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8901
8902 * files.el (after-find-file): Do not try to add a final newline if
8903 the buffer is read-only (Bug#11156).
8904
8905 2012-04-17 Richard Stallman <rms@gnu.org>
8906
8907 * mail/rmail.el (rmail-start-mail):
8908 Pass (rmail-mail-return...) for the return-action.
8909 Pass (rmail-yank-current-message...) for the yank-action.
8910 (rmail-yank-current-message): New function.
8911 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8912 (rmail-reply): Likewise.
8913 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8914
8915 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8916 buffer, not the last. Reject temp buffers. Use the rmail-mode
8917 buffer, not newbuf.
8918
8919 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8920
8921 * server.el (server-ensure-safe-dir): Simplify.
8922
8923 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * emacs-lisp/smie.el: Provide smarter auto-filling.
8926 (smie-auto-fill): New function.
8927 (smie-setup): Use it.
8928
8929 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8930
8931 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8932
8933 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8934 (comment-indent): Use it.
8935
8936 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8937
8938 * ses.el: The overall change is to add cell renaming, that is
8939 setting fancy names for cell symbols other than name matching
8940 "\\`[A-Z]+[0-9]+\\'" regexp .
8941 (ses-localvars): Add ses--renamed-cell-symb-list.
8942 (ses-create-cell-variable): New defun.
8943 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8944 (ses-relocate-formula): Relocate formulas only for cells the
8945 symbols of which are not renamed, i.e. symbols whose names do not
8946 match regexp "\\`[A-Z]+[0-9]+\\'".
8947 (ses-relocate-all): Relocate values only for cells the symbols of
8948 which are not renamed.
8949 (ses-load): Create cells variables as the (ses-cell ...) are read,
8950 in order to check row col consistency with cell symbol name only
8951 for cells that are not renamed.
8952 (ses-replace-name-in-formula): New defun.
8953 (ses-rename-cell): New defun.
8954
8955 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8956
8957 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8958 New option (bug#11118).
8959 (perl-calculate-indent): Respect it.
8960
8961 2012-04-17 Glenn Morris <rgm@gnu.org>
8962
8963 * dired-aux.el (dired-mark-read-string): Doc fix.
8964
8965 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8966
8967 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8968 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8969
8970 2012-04-17 Glenn Morris <rgm@gnu.org>
8971
8972 * mouse.el (mouse-drag-track):
8973 * speedbar.el (speedbar-frame-mode):
8974 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8975
8976 2012-04-16 Leo Liu <sdl.web@gmail.com>
8977
8978 * progmodes/python.el: Trivial cleanup.
8979
8980 2012-04-16 Glenn Morris <rgm@gnu.org>
8981
8982 * vc/vc.el (vc-string-prefix-p):
8983 * vc/pcvs-util.el (cvs-string-prefix-p):
8984 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8985 * mpc.el (mpc-string-prefix-p):
8986 Make all of these into obsolete aliases for string-prefix-p.
8987 Update callers.
8988 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8989
8990 * textmodes/two-column.el: Move custom options to the start.
8991 (frame-width): Remove compat definition.
8992 (2C-associate-buffer, 2C-dissociate):
8993 Use with-current-buffer rather than save-excursion.
8994 (2C-dissociate): Force a mode-line update.
8995 (2C-autoscroll): Use ignore-errors.
8996
8997 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8998 Autoload trivia.
8999
9000 * emacs-lisp/cl-extra.el (*random-state*):
9001 Remove unnecessary declaration.
9002
9003 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9004
9005 * play/cookie1.el (cookie-snarf):
9006 Give an explicit error if input file cannot be read.
9007
9008 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9009
9010 * progmodes/perl-mode.el (c-macro-expand):
9011 Remove unnecessary autoload (it is in loaddefs.el).
9012
9013 * textmodes/picture.el (picture-desired-column)
9014 (picture-update-desired-column): Convert comments to doc-strings.
9015 (picture-substitute): Remove function.
9016 (picture-mode-map): Initialize in the defvar.
9017
9018 * woman.el: Remove eval-after-load for tar-mode.
9019 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9020 (woman-tar-extract-file): Autoload it.
9021
9022 * frame.el (automatic-hscrolling): Make this alias obsolete.
9023
9024 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9025
9026 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9027 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9028 (ispell-dictionary-base-alist): Revert to original XEmacs
9029 friendly version for default. [:alpha:] will be added in
9030 `ispell-set-spellchecker-params' if needed.
9031
9032 2012-04-16 Chong Yidong <cyd@gnu.org>
9033
9034 * image.el (imagemagick--file-regexp): New variable.
9035 (imagemagick-register-types): Use it.
9036 (imagemagick-types-inhibit): Add :set function. Allow new value
9037 of t to inhibit all types.
9038
9039 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9040 so we can preload it.
9041
9042 * loadup.el (fboundp): Preload regexp-opt, needed by
9043 imagemagick-register-types.
9044
9045 2012-04-15 Chong Yidong <cyd@gnu.org>
9046
9047 * frame.el (scrolling): Remove nearly unused customization group.
9048
9049 * scroll-all.el (scroll-all-mode): Move to windows group.
9050
9051 2012-04-15 Chong Yidong <cyd@gnu.org>
9052
9053 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9054
9055 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9058 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9059
9060 2012-04-15 Glenn Morris <rgm@gnu.org>
9061
9062 * simple.el (process-file-side-effects): Doc fix.
9063
9064 2012-04-15 Glenn Morris <rgm@gnu.org>
9065
9066 * international/mule-cmds.el (set-language-environment): Doc fix.
9067
9068 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9069
9070 * server.el (server-auth-key, server-generate-key): Doc fixes.
9071 (server-get-auth-key): Doc fix. Use `string-match-p'.
9072 (server-start): Reflow docstring.
9073
9074 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9075
9076 * server.el (server-generate-key): `called-interactively-p'
9077 requires a parameter.
9078
9079 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9080
9081 * server.el (server-auth-key): New variable.
9082 (server-generate-key, server-get-auth-key): New function.
9083 (server-start): Use the new variable and functions to allow
9084 setting a permanent server key (bug#9423).
9085
9086 2012-04-14 Leo Liu <sdl.web@gmail.com>
9087
9088 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9089
9090 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9091
9092 Spelling fixes.
9093 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9094 Emacs uses American spelling.
9095
9096 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9097
9098 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9099 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9100 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9101 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9102
9103 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * progmodes/which-func.el (which-func-modes): Change default.
9106
9107 2012-04-14 Kim F. Storm <storm@cua.dk>
9108
9109 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9110 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9111
9112 2012-04-14 Chong Yidong <cyd@gnu.org>
9113
9114 * custom.el (custom-theme-set-variables): Doc fix.
9115
9116 2012-04-14 Glenn Morris <rgm@gnu.org>
9117
9118 * international/mule.el (set-auto-coding-for-load): Doc fix.
9119
9120 2012-04-14 Alan Mackenzie <acm@muc.de>
9121
9122 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9123 imenu work again for Objective C Mode. Correct the *-index values,
9124 these having been disturbed by a previous change in 2011-08.
9125
9126 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9127 Correct two search limits.
9128
9129 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9132
9133 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9134
9135 * international/characters.el: Fix sorting.
9136
9137 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9138
9139 * international/characters.el: Add more missing Latin case pairs.
9140
9141 2012-04-14 Glenn Morris <rgm@gnu.org>
9142
9143 * files.el (dir-locals-set-class-variables): Doc fix.
9144
9145 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9146
9147 * international/characters.el: Add set-case-syntax-pair call for
9148 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9149 counterpart. (Bug#11209)
9150
9151 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9152
9153 2012-04-14 Glenn Morris <rgm@gnu.org>
9154
9155 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9156
9157 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9158
9159 * textmodes/ispell.el (ispell-dictionary-base-alist):
9160 Add data for Hebrew.
9161
9162 2012-04-14 Chong Yidong <cyd@gnu.org>
9163
9164 * net/rcirc.el (rcirc-cmd-quit):
9165 Revert 2012-03-18 change (Bug#11192).
9166
9167 2012-04-14 Glenn Morris <rgm@gnu.org>
9168
9169 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9170
9171 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9172
9173 * minibuffer.el (completion-in-region-mode-map):
9174 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9175
9176 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9177
9178 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9179
9180 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9181
9182 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9183 to allow `C-M-f' and `C-M-b' to move to the nearest path
9184 separator (bug#9511).
9185
9186 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9187
9188 * avoid.el: Require cl when compiling. And also move the
9189 `provide' to the end.
9190
9191 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9192
9193 * avoid.el (mouse-avoidance-banish-position): New variable.
9194 (mouse-avoidance-banish-destination): Use it (bug#10165).
9195
9196 2012-04-13 Leo Liu <sdl.web@gmail.com>
9197
9198 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9199
9200 2012-04-13 Ken Brown <kbrown@cornell.edu>
9201
9202 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9203 this is no longer needed now that cygstart understands file:// URLs.
9204 (browse-url-filename-alist): For the same reason, don't modify
9205 file:// URLs on Cygwin.
9206
9207 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9210 the region on shift if the binding is already shifted (bug#11221).
9211
9212 2012-04-12 Glenn Morris <rgm@gnu.org>
9213
9214 * mail/mailpost.el: Move to obsolete/.
9215
9216 2012-04-12 Drew Adams <drew.adams@oracle.com>
9217
9218 * imenu.el (imenu--generic-function): Ignore invisible definitions
9219 (bug#10123).
9220
9221 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9222
9223 * hexl.el (hexl-bits): New variable.
9224 (hexl-options): Mention the variable in the doc string.
9225 (hexl-rulerise, hexl-line-displen): New functions.
9226 (hexl-mode): Mention the new variable.
9227 (hexl-mode, hexl-current-address, hexl-current-address):
9228 Use the displen.
9229 (hexl-ascii-start-column): New function.
9230 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9231 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9232
9233 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9234
9235 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9236 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9237 the encoding, as expected by hunspell.
9238
9239 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9240
9241 * battery.el (battery--linux-sysfs-regexp): New const.
9242 (battery-status-function): Use it. Remove yeeloong special case.
9243 (battery-yeeloong-sysfs): Remove.
9244 (battery-echo-area-format): Remove yeeloong special case.
9245
9246 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9249 Reported by Noah Friedman.
9250
9251 * subr.el (read-passwd): Use read-string.
9252
9253 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9254
9255 * vcursor.el (vcursor-move): Increase the priority of the overlay
9256 (bug#9663).
9257
9258 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9259
9260 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9261 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9262
9263 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9264
9265 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9266 define-minor-mode (bug#10760).
9267
9268 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9269
9270 * progmodes/grep.el (rgrep): Tweak the find command line so
9271 that directories matching `grep-find-ignored-files' won't be
9272 pruned (bug#10351).
9273
9274 2012-04-11 Chong Yidong <cyd@gnu.org>
9275
9276 * startup.el (command-line): Remove support for long-obsolete
9277 variable font-lock-face-attributes.
9278
9279 2012-04-11 Glenn Morris <rgm@gnu.org>
9280
9281 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9282
9283 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * window.el (window--state-get-1): Obey window-point-insertion-type.
9286
9287 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9288
9289 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9290 to previous function when point is on the first character of a
9291 function. Take care of that in `narrow-to-defun' (bug#6157).
9292
9293 2012-04-11 Glenn Morris <rgm@gnu.org>
9294
9295 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9296 not just file-errors.
9297
9298 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9299 (vc-bzr-sha1): Use internal sha1.
9300
9301 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9304
9305 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9306
9307 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9308 that start in the middle of the line (bug#10496).
9309
9310 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9311
9312 * battery.el (battery-linux-proc-acpi): Only one battery is
9313 discharged at a time, but that seems to confuse battery.el when
9314 computing `rate-type' for the battery not being discharged
9315 (bug#10332).
9316
9317 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9320
9321 * international/quail.el: Use dolist and simplify.
9322 (quail-define-package, quail-update-keyboard-layout)
9323 (quail-define-rules): Use dolist.
9324 (quail-insert-kbd-layout, quail-get-translation): CSE.
9325
9326 * tmm.el: Use dolist, remove left over hook.
9327 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9328 Use dolist.
9329 (calendar-load-hook): Don't mess with it.
9330
9331 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9332 Use derived-mode-p. Run the diff asynchronously.
9333
9334 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9335
9336 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9337
9338 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9339
9340 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9341 (list-dynamic-libraries--loaded): New function.
9342 (list-dynamic-libraries--refresh): Use it.
9343
9344 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9345
9346 * progmodes/python.el (python-fill-paragraph):
9347 Make python-fill-region in a multiline string work when font-lock is
9348 disabled (bug#7018).
9349
9350 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9351
9352 * language/european.el (cp775): Add oem/legacy (en)coding on
9353 DOS/MS Windows for the Baltic languages. There are still plenty
9354 of texts written in this encoding/codepage (bug#6519).
9355
9356 2012-04-10 Glenn Morris <rgm@gnu.org>
9357
9358 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9359 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9360
9361 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9362
9363 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9364 next-line "n" and previous-line "p" in order to make recentf more
9365 consistent with ibuffer, dired or org-mode (bug#9387).
9366
9367 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9368
9369 * image.el (put-image): Return the overlay created instead of the
9370 optional input string (bug#7834). Note that this may break code
9371 that is (for some reason or other) depending on `put-image'
9372 returning the string.
9373
9374 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9375
9376 * simple.el (zap-to-char): Allow zapping using input methods
9377 (bug#1580).
9378
9379 * textmodes/fill.el (fill-region): Leave point and mark where they
9380 were before filling (bug#5399).
9381
9382 2012-04-09 Glenn Morris <rgm@gnu.org>
9383
9384 * version.el (emacs-bzr-get-version):
9385 Handle lightweight checkouts of local branches.
9386
9387 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9388
9389 * international/characters.el: Recover lost case pairs. (Bug#11209)
9390
9391 2012-04-09 Chong Yidong <cyd@gnu.org>
9392
9393 * custom.el (custom-variable-p): Return nil for non-symbol
9394 arguments instead of signaling an error.
9395 (user-variable-p): Obsolete alias for custom-variable-p.
9396
9397 * apropos.el (apropos-variable):
9398 * files-x.el (read-file-local-variable):
9399 * simple.el (set-variable):
9400 * woman.el (woman-mini-help):
9401 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9402
9403 2012-04-09 Glenn Morris <rgm@gnu.org>
9404
9405 * startup.el (normal-top-level): Don't look for leim-list.el
9406 in places where it will not be found. (Bug#910)
9407
9408 * international/mule-cmds.el (set-default-coding-systems):
9409 * files.el (normal-mode):
9410 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9411 This function was removed with ucs-tables.el in 2008.
9412
9413 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9414
9415 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9416 ispell-encoding8-command to "-i", without a trailing space.
9417 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9418 separate command-line arguments, to specify the encoding, since
9419 that's how hunspell expects it.
9420
9421 2012-04-08 Glenn Morris <rgm@gnu.org>
9422
9423 * loadup.el: Load bindings before cus-start.
9424 This reduces somewhat the number of "rogue" settings in emacs -Q.
9425
9426 2012-04-07 Glenn Morris <rgm@gnu.org>
9427
9428 * version.el (emacs-bzr-get-version): New function.
9429 (emacs-bzr-version): New variable.
9430 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9431 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9432
9433 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9434
9435 * international/uni-bidi.el, international/uni-category.el:
9436 * international/uni-combining.el, international/uni-decimal.el:
9437 * international/uni-decomposition.el, international/uni-digit.el:
9438 * international/uni-lowercase.el, international/uni-mirrored.el:
9439 * international/uni-name.el, international/uni-numeric.el:
9440 * international/uni-titlecase.el, international/uni-uppercase.el:
9441 Update for Unicode 6.1.
9442
9443 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9444
9445 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9446
9447 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9448
9449 * window.el (shrink-window): Mention the `window-min-height'
9450 variable in the doc string.
9451
9452 2012-04-05 Bastien Guerry <bzg@altern.org>
9453
9454 * color.el (color-lighten-name): Fix typo.
9455
9456 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * server.el (server--on-display-p): New function.
9459 (server--on-display-p): Use it.
9460
9461 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9462
9463 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9464 (bug#11145).
9465
9466 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * comint.el (comint--common-quoted-suffix): Check string boundary
9469 before comparing (bug#11158).
9470 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9471
9472 2012-04-04 Chong Yidong <cyd@gnu.org>
9473
9474 * minibuffer.el (completion-extra-properties): Doc fix.
9475
9476 * subr.el (delayed-warnings-hook): Doc fix.
9477
9478 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9479
9480 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9481 selection (Bug#11159).
9482 (epa-insert-keys): Inform that the default public key will be
9483 exported if no key is selected.
9484
9485 2012-04-04 Richard Stallman <rms@gnu.org>
9486
9487 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9488
9489 2012-04-03 Chong Yidong <cyd@gnu.org>
9490
9491 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9492 mail-insert-file, not its obsolete alias mail-attach-file.
9493
9494 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9495
9496 * notifications.el (notifications-notify): Fix docstring.
9497
9498 2012-04-02 Glenn Morris <rgm@gnu.org>
9499
9500 * emacs-lisp/authors.el (authors-aliases): Another addition.
9501
9502 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9503
9504 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9505 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9506 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9507
9508 2012-04-01 Chong Yidong <cyd@gnu.org>
9509
9510 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9511 Handle root directory properly.
9512 (copy-directory): Caller changed.
9513
9514 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9515 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9516
9517 2012-03-31 Glenn Morris <rgm@gnu.org>
9518
9519 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9520
9521 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9522
9523 * calendar/calendar.el (calendar-window-list)
9524 (calendar-hide-window): Restore. (Bug#11140)
9525 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9526
9527 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9528
9529 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9530
9531 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9532 Check if file is a symlink (Bug#10489).
9533
9534 * files.el (copy-directory): Likewise.
9535
9536 2012-03-30 Chong Yidong <cyd@gnu.org>
9537
9538 * image.el (imagemagick-types-inhibit)
9539 (imagemagick-register-types): Doc fix.
9540
9541 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9542
9543 * textmodes/ispell.el (ispell-get-extended-character-mode):
9544 Disable extended-char-mode for hunspell. hunspell does not support it
9545 and treats ~word as ordinary words in pipe mode.
9546
9547 2012-03-30 Glenn Morris <rgm@gnu.org>
9548
9549 * tutorial.el (help-with-tutorial): Ensure local variables don't
9550 happen to make the buffer read-only. (Bug#11127)
9551
9552 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9553
9554 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9555 (perl-calculate-indent): Return `noindent' in strings.
9556
9557 2012-03-28 Sam Steingold <sds@gnu.org>
9558
9559 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9560 instead of the broken adhockery which does not prevent calendar
9561 buffers from being displayed at random after exit.
9562 (calendar-window-list, calendar-hide-window): Remove the broken
9563 adhockery.
9564
9565 2012-03-28 Glenn Morris <rgm@gnu.org>
9566
9567 * replace.el (query-replace-map): Doc fix.
9568
9569 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9570
9571 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9572 contents. (Bug#11109)
9573
9574 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9575
9576 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9577 (bug#11077).
9578 (avl-tree--check, avl-tree--check-node): New funs.
9579
9580 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9581
9582 * window.el (switch-to-visible-buffer): New option.
9583 (switch-to-prev-buffer, switch-to-next-buffer):
9584 Observe switch-to-visible-buffer. Make sure that checking for a window
9585 showing a buffer already is done on the same frame.
9586
9587 2012-03-27 Glenn Morris <rgm@gnu.org>
9588
9589 * startup.el (mail-host-address): Doc fix.
9590
9591 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9594 than 197 variables.
9595
9596 2012-03-26 Ami Fischman <ami@fischman.org>
9597
9598 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9599
9600 2012-03-26 Glenn Morris <rgm@gnu.org>
9601
9602 * files.el (save-buffers-kill-emacs): Doc fix.
9603
9604 * startup.el (normal-top-level, command-line, command-line-1):
9605 Give them doc strings.
9606
9607 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9608
9609 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9610 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9611
9612 2012-03-25 Chong Yidong <cyd@gnu.org>
9613
9614 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9615 theme if it was previously enabled before (Bug#11031).
9616
9617 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9618 spec with custom-face-get-current-spec if its :shown-value is not
9619 determined yet (Bug#9337).
9620 (customize-create-theme, custom-theme-revert): Doc fixes.
9621
9622 * button.el (button-at): Minor addition to docstring.
9623
9624 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9625
9626 * vc/vc.el (vc-merge): Fix a prompt.
9627
9628 2012-03-24 Chong Yidong <cyd@gnu.org>
9629
9630 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9631 point (Bug#9623).
9632
9633 * button.el (button-at): Minor addition to docstring.
9634
9635 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * newcomment.el (comment-choose-indent): No space after BOL.
9638
9639 2012-03-22 Sam Steingold <sds@gnu.org>
9640
9641 * window.el (switch-to-prev-buffer): Revert last patch because the
9642 bug turned out to be an advertised feature (Elisp manual 28.14).
9643
9644 2012-03-22 Glenn Morris <rgm@gnu.org>
9645
9646 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9647 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9648
9649 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9650
9651 * net/network-stream.el (network-stream-open-starttls): Make error
9652 message under Windows be less misleading.
9653
9654 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9655
9656 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9657 understands (bug#9942).
9658
9659 2012-03-22 Chong Yidong <cyd@gnu.org>
9660
9661 * simple.el (end-of-visible-line): Handle return value of
9662 next-single-property-change properly (Bug#9371).
9663
9664 2012-03-22 Kenichi Handa <handa@m17n.org>
9665
9666 * international/quail.el (quail-insert-kbd-layout): Fix previous
9667 change. To avoid unwanted bidi reordering, use
9668 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9669
9670 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9671
9672 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9673 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9674 (ruby-beginning-of-indent): Be more careful with the difference
9675 between word-boundary and symbol boundary.
9676 (ruby-mode-syntax-table): Make : a symbol constituent.
9677
9678 2012-03-21 Andreas Politz <politza@fh-trier.de>
9679
9680 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9681
9682 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * progmodes/etags.el (tags-completion-at-point-function):
9685 Improve last fix.
9686
9687 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9688
9689 2012-03-21 Sam Steingold <sds@gnu.org>
9690
9691 * progmodes/etags.el (tags-completion-at-point-function):
9692 Avoid the error when point is inside the pattern.
9693
9694 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9695
9696 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9697 line (Bug#10855).
9698
9699 2012-03-21 Drew Adams <drew.adams@oracle.com>
9700
9701 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9702
9703 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9704
9705 * ido.el (ido-set-current-directory, ido-read-internal)
9706 (ido-choose-completion-string, ido-completion-help): Handle nil
9707 value of ido-completion-buffer (Bug#11008).
9708
9709 2012-03-21 Sam Steingold <sds@gnu.org>
9710
9711 * window.el (switch-to-prev-buffer): Do not switch to a visible
9712 window previous buffer, just like with the frame previous buffers.
9713
9714 2012-03-21 Chong Yidong <cyd@gnu.org>
9715
9716 * faces.el (make-face, make-empty-face, copy-face):
9717 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9718 Doc fixes.
9719
9720 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9723 (widget-complete): Remove broken use of it.
9724
9725 2012-03-20 Chong Yidong <cyd@gnu.org>
9726
9727 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9728 Use string-width and truncate-string-width to handle arbitrary
9729 characters.
9730
9731 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9732
9733 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9734 to draw rectangles, not squares. (Regression introduced by revno
9735 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9736
9737 2012-03-18 Chong Yidong <cyd@gnu.org>
9738
9739 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9740 it is not yet defined (for temacs).
9741
9742 2012-03-18 Leo Liu <sdl.web@gmail.com>
9743
9744 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9745 prefix.
9746
9747 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9748
9749 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9750 (ispell-choices-win-default-height, ispell-silently-savep)
9751 (ispell-dictionary-alist, ispell-encoding8-command)
9752 (ispell-check-version, ispell-aspell-find-dictionary)
9753 (ispell-valid-dictionary-list, ispell-words-keyword)
9754 (ispell-get-word, ispell-internal-change-dictionary)
9755 (ispell-region, ispell-skip-region-list)
9756 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9757 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9758 (ispell-message-text-end, ispell-message)
9759 (ispell-buffer-local-parsing): Doc fix.
9760
9761 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9762
9763 * htmlfontify.el: Add support for code block fontification for ODT
9764 export (Bug #9914).
9765 (hfy-optimisations): Define new option
9766 `body-text-only'
9767 (hfy-fontify-buffer): Honor above setting.
9768 (hfy-begin-span, hfy-end-span): New routines factored out form
9769 `hfy-fontify-buffer'.
9770 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9771 that permit insertion of custom tags.
9772 (hfy-fontify-buffer): Use above handlers.
9773 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9774 (hfy-face-to-css): Re-defined to be a variable.
9775 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9776 over multiple runs. This is made possible by having the caller let
9777 bind a special variable `hfy-user-sheet-assoc'.
9778 (htmlfontify-string): New defun.
9779 (hfy-compile-face-map): Make sure that the last char in the
9780 buffer is correctly fontified.
9781 (hfy-face-resolve-face): Whitespace only change.
9782
9783 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9784
9785 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9786 message more clear.
9787
9788 2012-03-16 Leo Liu <sdl.web@gmail.com>
9789
9790 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9791
9792 2012-03-16 Alan Mackenzie <acm@muc.de>
9793
9794 Further optimise the handling of large macros.
9795
9796 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9797 limit to a call of `c-literal-limits'.
9798 (c-determine-+ve-limit): New function.
9799 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9800 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9801 In CASE 5B, restrict a search limit to 500.
9802 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9803
9804 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9805 Restrict macro bounds to +-500 from after-change's BEG END.
9806
9807 2012-03-16 Leo Liu <sdl.web@gmail.com>
9808
9809 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9810
9811 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9812
9813 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9814 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9815
9816 2012-03-16 Glenn Morris <rgm@gnu.org>
9817
9818 * view.el (view-buffer, view-buffer-other-window)
9819 (view-buffer-other-frame): Doc fixes re special mode-class.
9820
9821 * subr.el (eval-after-load): If named feature is provided not from
9822 a file, run after-load forms. (Bug#10946)
9823
9824 * calendar/calendar.el (calendar-insert-at-column):
9825 Handle non-unit-width characters a bit better. (Bug#10978)
9826
9827 2012-03-15 Chong Yidong <cyd@gnu.org>
9828
9829 * emacs-lisp/ring.el (ring-extend): New function.
9830 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9831
9832 * comint.el (comint-read-input-ring)
9833 (comint-add-to-input-history): Grow comint-input-ring lazily.
9834
9835 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9836
9837 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9838 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9839
9840 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9841 (imenu-add-to-menubar): Don't add a redundant index.
9842 (imenu-update-menubar): Handle a dynamically composed keymap.
9843
9844 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9845
9846 * mail/sendmail.el (mail-encode-header):
9847 Bind rfc2047-encode-encoded-words to nil.
9848
9849 2012-03-13 Glenn Morris <rgm@gnu.org>
9850
9851 * calendar/calendar.el (calendar-string-spread):
9852 Handle non-unit-width characters a bit better. (Bug#10978)
9853
9854 2012-03-13 Leo Liu <sdl.web@gmail.com>
9855
9856 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9857 directory and file as argument (Bug#10822).
9858
9859 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9860
9861 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9862 For dynamically generated code, follow $PC.
9863 (gdb-disassembly-handler-custom): Handle no function name case.
9864
9865 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9866
9867 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9868 * emulation/ws-mode.el (ws-query-replace):
9869 * sort.el (sort-regexp-fields):
9870 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9871
9872 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9873
9874 * dabbrev.el: Fix cycle completion order (bug#10963).
9875 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9876 (dabbrev-completion): Don't use an obarray; provide
9877 a cycle-sort-function.
9878
9879 2012-03-12 Leo Liu <sdl.web@gmail.com>
9880
9881 * simple.el (kill-new): Use equal-including-properties for comparison.
9882 (kill-do-not-save-duplicates): Doc fix.
9883
9884 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9885
9886 * dabbrev.el: Fix cycle completion (bug#10963).
9887 Use lexical binding and wrap to 80 columns.
9888 (dabbrev-completion): Delay computing the list of completions.
9889
9890 2012-03-12 Kenichi Handa <handa@m17n.org>
9891
9892 * international/quail.el (quail-insert-kbd-layout): Surround each
9893 row by LRO and PDF instead of inserting many LRMs. Pad the left
9894 and right of each non-spacing marks. Insert invisible space
9895 between lower and upper characters to prevent composition.
9896
9897 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9898
9899 * minibuffer.el (minibuffer-complete): Don't get confused when the
9900 function is run twice via different commands (bug#10958).
9901 (complete-with-action): Fix docstring.
9902
9903 2012-03-12 Chong Yidong <cyd@gnu.org>
9904
9905 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9906 (nxml-completion-at-point-function): New function.
9907 (nxml-mode): Use it.
9908 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9909
9910 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9911 Load generated autoloads file before byte compiling (Bug#10970).
9912 (package--make-autoloads-and-compile): New helper fun.
9913
9914 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9915
9916 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9917
9918 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9919
9920 * autorevert.el (auto-revert-handler): Ensure, that
9921 file-readable-p is applied only for local files or in
9922 auto-revert-tail-mode.
9923
9924 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9925
9926 * server.el (server-eval-at): Handle non-tcp connections.
9927 Decode result string.
9928
9929 * server.el (server-msg-size): New constant.
9930 (server-reply-print): New function.
9931 (server-eval-and-print): Use it.
9932 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9933 Handle -print-nonl.
9934
9935 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9936
9937 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9938 (Bug#10987).
9939
9940 2012-03-11 Chong Yidong <cyd@gnu.org>
9941
9942 * simple.el (goto-line): Doc fix (Bug#9938).
9943
9944 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9945
9946 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9947 when finished (Bug#10963).
9948
9949 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9950
9951 * window.el (split-window-below): Fix bug in case where
9952 split-window-keep-point is nil (Bug#10971).
9953
9954 2012-03-11 Juri Linkov <juri@jurta.org>
9955
9956 * replace.el (replace-highlight): Set isearch-word to nil
9957 unconditionally. (Bug#10887)
9958
9959 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9960
9961 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9962 mairix-replace-illegal-chars; all callers changed. Don't remove
9963 ^, ~, and = characters: they are meaningful in mairix search specs.
9964 (mairix-widget-create-query): Add usage information about mairix
9965 search forms: negating words, searching for substrings, etc.
9966
9967 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9968
9969 * international/fontset.el (font-encoding-alist): Add an entry for
9970 ksx1001 (Bug#5667).
9971
9972 2012-03-10 Richard Stallman <rms@gnu.org>
9973
9974 * mail/sendmail.el (mail-encode-header):
9975 Set rfc2047-encode-encoded-words.
9976
9977 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9978
9979 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9980 view buffer means not swapped.
9981 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9982 (rmail-write-region-annotate): Error if real text has disappeared.
9983
9984 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9985
9986 2012-03-10 Chong Yidong <cyd@gnu.org>
9987
9988 * emulation/cua-rect.el (cua--init-rectangles):
9989 * emulation/cua-base.el (cua--init-keymaps):
9990 Add delete-forward-char to remappings (Bug#9666).
9991
9992 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9993
9994 * speedbar.el (speedbar-unhighlight-one-tag-line):
9995 Avoid unhighlighting due to frame switching (Bug#10275).
9996
9997 2012-03-10 Chong Yidong <cyd@gnu.org>
9998
9999 * minibuffer.el (completion-in-region, completion-help-at-point):
10000 Give the completion field overlay a high priority (Bug#6830).
10001
10002 * dired.el (dired-goto-file): Recognize absolute file name
10003 listings (Bug#7126).
10004 (dired-goto-file-1): New helper function.
10005 (dired-toggle-read-only): Inhibit warnings.
10006
10007 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10008
10009 * net/dbus.el (dbus-property-handler): Return empty array if
10010 there are no properties.
10011
10012 2012-03-09 Leo Liu <sdl.web@gmail.com>
10013
10014 * savehist.el (savehist-printable): Stricter check for string
10015 value (Bug#10937).
10016
10017 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10018
10019 * mail/smtpmail.el (smtpmail-send-it):
10020 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10021 valid mbox format.
10022
10023 2012-03-09 Glenn Morris <rgm@gnu.org>
10024
10025 * files.el (dir-locals-find-file):
10026 Don't check result is regular, readable.
10027 (dir-locals-read-from-file): Demote errors.
10028
10029 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10030
10031 * international/quail.el (quail-insert-kbd-layout):
10032 Insert invisible LRM characters before each character in a keyboard
10033 layout cell, to prevent their reordering by bidi display engine.
10034 For details, see the discussion in
10035 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10036
10037 2012-03-08 Alan Mackenzie <acm@muc.de>
10038
10039 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10040 the starting position; make it extend the marked region when
10041 invoked repeatedly - all under appropriate circumstances.
10042 Fixes bugs #5525, #10906.
10043
10044 2012-03-08 Glenn Morris <rgm@gnu.org>
10045
10046 * files.el (locate-dominating-file, dir-locals-find-file):
10047 Undo 2012-03-06 change.
10048
10049 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10050
10051 * international/quail.el (quail-help):
10052 Force bidi-paragraph-direction be left-to-right. See discussion in
10053 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10054 for the reason.
10055
10056 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10057
10058 Avoid superfluous registering of signals. (Bug#10807)
10059
10060 * notifications.el (notifications-on-action-object)
10061 (notifications-on-close-object): New defvars.
10062 (notifications-on-action-signal, notifications-on-closed-signal):
10063 Unregister the signal if not needed any longer.
10064 (notifications-notify): Register `notifications-action-signal' or
10065 `notifications-closed-signal', if :on-action or :on-close has been
10066 passed as argument.
10067
10068 2012-03-07 Chong Yidong <cyd@gnu.org>
10069
10070 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10071 non-X platforms.
10072
10073 2012-03-06 Glenn Morris <rgm@gnu.org>
10074
10075 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10076 (x-disown-selection-internal, x-get-selection-internal):
10077 Doc fix (add arglist signatures). (Bug#10783)
10078
10079 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10080
10081 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10082 Handle breakpoints with no "type".
10083
10084 2012-03-06 Glenn Morris <rgm@gnu.org>
10085
10086 * files.el (locate-dominating-file): Add optional predicate argument.
10087 (dir-locals-find-file): Make use of above change.
10088
10089 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10090
10091 * info.el (Info-insert-dir): Also try "dir.gz".
10092
10093 2012-03-06 Glenn Morris <rgm@gnu.org>
10094
10095 * files.el (dir-locals-find-file):
10096 Ignore non-readable or non-regular files. (Bug#10928)
10097
10098 * files.el (locate-dominating-file): Doc fix.
10099
10100 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10101
10102 * calendar/calendar.el (calendar-set-mode-line):
10103 `getenv' returns a string. (Bug#10951)
10104
10105 2012-03-05 Leo Liu <sdl.web@gmail.com>
10106
10107 * simple.el (backward-delete-char-untabify): Constrain point to
10108 field (Bug#10939).
10109
10110 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10111
10112 2012-03-05 Chong Yidong <cyd@gnu.org>
10113
10114 * simple.el (count-words): If called from Lisp, return the word
10115 count, for symmetry with `count-lines'. Arglist changed.
10116 (count-words--message): Args changed. Consolidate counting code
10117 from count-words and count-words-region.
10118 (count-words-region): Caller changed.
10119 (count-lines-region): Make it an obsolete alias.
10120
10121 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10122
10123 * saveplace.el (save-place-to-alist)
10124 (save-place-ignore-files-regexp): Allow value nil to disable this
10125 feature.
10126
10127 2012-03-04 Chong Yidong <cyd@gnu.org>
10128
10129 * faces.el (face-spec-reset-face): For the default face, reset the
10130 attributes to default values (Bug#10748).
10131
10132 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10133
10134 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10135 previous patch: Check `message-send-mail-function', and not the
10136 default function (bug#10897).
10137
10138 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10139
10140 * notifications.el (notifications-on-action-signal)
10141 (notifications-on-closed-signal): Check for unique service name of
10142 incoming event. Fix error in removing entry.
10143 (top): Register for signals with wildcard service name.
10144 (notifications-notify): Use daemon unique service name for map entries.
10145
10146 2012-03-04 Chong Yidong <cyd@gnu.org>
10147
10148 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10149
10150 2012-03-04 Glenn Morris <rgm@gnu.org>
10151
10152 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10153 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10154 (expand-abbrev, define-abbrev-table): Doc fixes.
10155
10156 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10157
10158 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10159 `message-default-send-mail-function' and not `send-mail-function'
10160 when doing the prompting for `sendmail-query-once' before sending
10161 in Message buffers (bug#10897).
10162
10163 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10164 This is inconsistent with all the other stream functions, which leave
10165 the setting up to the higher levels (if so wanted) (bug#10931).
10166
10167 2012-03-02 Alan Mackenzie <acm@muc.de>
10168
10169 Depessimize the handling of very large macros.
10170
10171 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10172 (c-macro-cache-syntactic): New variables to implement a one
10173 element macro cache.
10174 (c-invalidate-macro-cache): New function.
10175 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10176 Adapt to use the new cache.
10177 (c-state-safe-place): Use better the cache of safe positions.
10178 (c-state-semi-nonlit-pos-cache)
10179 (c-state-semi-nonlit-pos-cache-limit):
10180 New variables for...
10181 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10182 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10183 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10184 Use c-state-semi-safe-place.
10185
10186 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10187 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10188
10189 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10190
10191 * jka-compr.el (jka-compr-call-process):
10192 Apply `file-accessible-directory-p' only when the default directory is
10193 not remote.
10194
10195 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10196
10197 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10198 access of FILE2, if FILE1 does not exist.
10199
10200 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10201 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10202
10203 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10204 Add "PAGER=" to `process-environment'.
10205
10206 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10207
10208 * progmodes/sql.el: Bug fix
10209 (sql-get-login-ext): Save login values in globals.
10210 (sql-get-login): Use new version of `sql-get-login-ext'.
10211 (sql-interactive-mode): Set global `sql-connection' to nil.
10212 (sql-connect): Set global values for connection.
10213 (sql-product-interactive): Save global values as buffer local.
10214
10215 2012-02-29 Leo Liu <sdl.web@gmail.com>
10216
10217 * abbrev.el (define-abbrevs): Reset sys to nil.
10218
10219 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10220
10221 * files.el (file-equal-p): Rename from `files-equal-p'.
10222 Return nil when one or both files don't exist.
10223 (file-subdir-of-p): Now only top directory must exists,
10224 return nil if it doesn't.
10225 (copy-directory): No need to test with `file-subdir-of-p' after
10226 creating dir.
10227 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10228 to `file-equal-p'.
10229
10230 2012-02-28 Glenn Morris <rgm@gnu.org>
10231
10232 * shell.el (shell-mode):
10233 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10234 * play/landmark.el (landmark-font-lock-face-O):
10235 * play/handwrite.el (handwrite):
10236 * play/gomoku.el (gomoku-O):
10237 * net/browse-url.el (browse-url-browser-display):
10238 * international/mule.el (define-charset):
10239 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10240 * filesets.el (filesets-find-file-delay):
10241 * eshell/em-xtra.el (eshell-xtra):
10242 * eshell/em-unix.el (eshell-grep):
10243 * emulation/viper.el (viper-mode):
10244 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10245 * emacs-lisp/easymenu.el (easy-menu-define):
10246 * calendar/timeclock.el (timeclock-use-display-time):
10247 * bs.el (bs-mode):
10248 * bookmark.el (bookmark-save-flag):
10249 Doc fix (standardize possessive apostrophe usage).
10250
10251 2012-02-27 Chong Yidong <cyd@gnu.org>
10252
10253 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10254 Fix key-binding lookup for ESC key (Bug#9146).
10255
10256 * font-lock.el (font-lock-specified-p): Rename from
10257 font-lock-spec-present. Callers changed.
10258
10259 2012-02-27 Daniel Hackney <dan@haxney.org>
10260
10261 * emacs-lisp/package.el (package-compute-transaction):
10262 Handle holding a package version to t in package-load-list.
10263
10264 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10265
10266 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10267 (tramp-get-inode, tramp-get-device): Use cached values.
10268
10269 2012-02-26 Alan Mackenzie <acm@muc.de>
10270
10271 Check there is a font-lock specification before doing initial
10272 fontification.
10273
10274 * font-core.el (font-lock-mode): Move the conditional from
10275 :after-hook to font-lock-initial-fontify.
10276 (font-lock-default-function): Move the check for a specification
10277 to font-lock-spec-present.
10278
10279 * font-lock.el (font-lock-initial-fontify): Call ...
10280 (font-lock-spec-present): New function.
10281
10282 2012-02-26 Jim Blandy <jimb@red-bean.com>
10283
10284 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10285 (gdb-send): Apply it to the operand of the '-interpreter-exec
10286 console' command, so that we can pass arguments with (say) quotes
10287 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10288
10289 2012-02-26 Chong Yidong <cyd@gnu.org>
10290
10291 * help-fns.el (describe-function-1): Clarify description of
10292 remapping (Bug#10844).
10293
10294 * files.el (files-equal-p): Doc fix.
10295 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10296 and quit the loop once a mismatch is found.
10297
10298 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10299
10300 * bs.el (bs--show-with-configuration): Don't throw an error
10301 if the window cannot be split; otherwise, subsequent calls to
10302 bs-show fail, restoring a stale window config. (Bug#10882)
10303
10304 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10305
10306 * term/ns-win.el (global-map): Bind ns-drag-file to
10307 ns-find-file (Bug#5855, Bug#10050).
10308
10309 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10310
10311 * calendar/parse-time.el (parse-time-string): Allow extractor to
10312 return nil.
10313
10314 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10315
10316 * net/tramp.el (tramp-file-name-for-operation):
10317 Add `files-equal-p' and `file-subdir-of-p'.
10318
10319 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10320 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10321 Add COPY-CONTENTS argument.
10322
10323 2012-02-25 Chong Yidong <cyd@gnu.org>
10324
10325 Add custom groups for VC backends, for consistency with vc-bzr.
10326
10327 * vc/vc-arch.el (vc-arch):
10328 * vc/vc-cvs.el (vc-cvs):
10329 * vc/vc-git.el (vc-git):
10330 * vc/vc-hg.el (vc-hg):
10331 * vc/vc-mtn.el (vc-mtn):
10332 * vc/vc-rcs.el (vc-rcs):
10333 * vc/vc-sccs.el (vc-sccs):
10334 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10335 All relevant defcustoms reassigned.
10336
10337 2012-02-25 Chong Yidong <cyd@gnu.org>
10338
10339 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10340
10341 * term/x-win.el (x-initialize-window-system): Reduce default for
10342 x-selection-timeout to 5 seconds (Bug#8869).
10343
10344 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10345
10346 * files.el (files-equal-p, file-subdir-of-p): New functions.
10347 (copy-directory): Error when trying to copy a directory on itself.
10348 Add missing copy-contents arg to tramp handler.
10349 * dired-aux.el (dired-copy-file-recursive): Same.
10350 (dired-create-files): Modify destination when source is equal to
10351 dest when copying files.
10352 Return also when dest is a subdir of source. (Bug#10489)
10353
10354 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10355
10356 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10357 (Bug#10874)
10358
10359 2012-02-23 Alan Mackenzie <acm@muc.de>
10360
10361 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10362 parameter "after-hook:" to allow the expansion to run code after
10363 the execution of the mode hooks.
10364
10365 * font-lock.el (font-lock-initial-fontify): New function extracted
10366 from font-lock-mode-internal.
10367
10368 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10369 :after-hook.
10370
10371 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10372
10373 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10374 (completion--cache-all-sorted-completions): New function.
10375 (completion-all-sorted-completions): Use it.
10376 (completion--do-completion, minibuffer-force-complete):
10377 Use it to re-instate the flush hook.
10378
10379 * icomplete.el (icomplete-completions): Replace last fix with a better
10380 one (bug#10850).
10381
10382 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10383
10384 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10385 when it might call us back infinitely (bug#10797).
10386
10387 2012-02-23 Glenn Morris <rgm@gnu.org>
10388
10389 * minibuffer.el (completion-category-overrides): Doc fix.
10390
10391 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10394 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10395
10396 2012-02-23 Glenn Morris <rgm@gnu.org>
10397
10398 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10399 (authors-obsolete-files-regexps, authors-ignored-files)
10400 (authors-ambiguous-files, authors-renamed-files-alist):
10401 Add more entries.
10402
10403 2012-02-23 Juri Linkov <juri@jurta.org>
10404
10405 * isearch.el (isearch-occur): Sync interactive spec with occur's
10406 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10407
10408 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10409
10410 2012-02-22 Juri Linkov <juri@jurta.org>
10411
10412 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10413 (ucs-insert): Doc fix. Check for hex digits in the string.
10414 Don't display `nil' in the error message. (Bug#10857)
10415
10416 2012-02-22 Alan Mackenzie <acm@muc.de>
10417
10418 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10419
10420 2012-02-22 Glenn Morris <rgm@gnu.org>
10421
10422 * ffap.el (ffap-c-path):
10423 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10424
10425 2012-02-22 Chong Yidong <cyd@gnu.org>
10426
10427 * custom.el (load-theme): Doc fix.
10428
10429 2012-02-22 Glenn Morris <rgm@gnu.org>
10430
10431 * dired-x.el (dired-guess-shell-alist-default):
10432 Remove escape sequences from nroff output. (Bug#172)
10433
10434 2012-02-21 Glenn Morris <rgm@gnu.org>
10435
10436 * vc/emerge.el (emerge-defvar-local):
10437 Set `permanent-local' property rather than unused `preserved'.
10438
10439 * textmodes/picture.el (picture-delete-char): New alias.
10440 (picture-mode-map): Use it. (Bug#10860)
10441 (picture-mode): Doc fix.
10442
10443 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10444
10445 * newcomment.el (uncomment-region-default): Remove unused binding.
10446
10447 2012-02-21 Glenn Morris <rgm@gnu.org>
10448
10449 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10450 (picture-self-insert, picture-tab-chars): Doc fix.
10451 (picture-mode-map): Fix C-a, C-e.
10452
10453 2012-02-20 Glenn Morris <rgm@gnu.org>
10454
10455 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10456
10457 2012-02-20 Leo Liu <sdl.web@gmail.com>
10458
10459 * icomplete.el (icomplete-completions): Check FROM arg before
10460 passing to substring (Bug#10850).
10461
10462 2012-02-19 Chong Yidong <cyd@gnu.org>
10463
10464 * comint.el: Require ansi-color.
10465 (comint-output-filter-functions): Add ansi-color-process-output.
10466
10467 * ansi-color.el: Don't set comint-output-filter-functions; it is
10468 now in the initial value defined in comint.el.
10469 (ansi-color-apply-face-function): New variable.
10470 (ansi-color-apply-on-region): Use it.
10471 (ansi-color-apply-overlay-face): New function.
10472
10473 * shell.el (shell): No need to require ansi-color.
10474 (shell-mode): Use ansi-color-apply-face-function to highlight
10475 color escapes using font-lock-face property (Bug#10835).
10476
10477 2012-02-19 Chong Yidong <cyd@gnu.org>
10478
10479 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10480 mode-line formats (Bug#10839).
10481
10482 2012-02-18 Glenn Morris <rgm@gnu.org>
10483
10484 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10485
10486 * mail/undigest.el (unforward-rmail-message): Doc fix.
10487
10488 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10489
10490 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10491
10492 * international/characters.el (script-list): Sync with the latest
10493 Unicode Character Database.
10494
10495 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10496
10497 * international/titdic-cnv.el: Remove duplicate coding tag.
10498 * language/cham.el: Likewise.
10499 * language/tai-viet.el: Likewise.
10500
10501 2012-02-18 Glenn Morris <rgm@gnu.org>
10502
10503 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10504 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10505 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10506 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10507 * calendar/holidays.el (holiday-bahai-holidays)
10508 (calendar-holidays, list-holidays):
10509 Use utf-8 Bahá'í in doc-strings, menus, etc.
10510
10511 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10512
10513 * saveplace.el (save-place-ignore-files-regexp): New variable
10514 allowing for excluding files from saving their location of point.
10515 The default value matches the temporary commit message editing
10516 files from Git, SVN, Bazaar, and Mercurial.
10517 (save-place-to-alist): Use it.
10518
10519 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10520 Stefan Monnier <monnier@iro.umontreal.ca>
10521
10522 * newcomment.el (uncomment-region-default): Don't leave extra space
10523 when an arg is provided (bug#8150).
10524
10525 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10526
10527 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10528
10529 2012-02-17 Glenn Morris <rgm@gnu.org>
10530
10531 * net/socks.el: Require network-stream. (Bug#10599)
10532
10533 2012-02-17 Kenichi Handa <handa@m17n.org>
10534
10535 * international/charprop.el:
10536 * international/uni-name.el:
10537 * international/uni-old-name.el:
10538 * international/uni-comment.el: Regenerate.
10539
10540 2012-02-16 Glenn Morris <rgm@gnu.org>
10541
10542 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10543 Interactively in calendar buffer, give an error if not on a date.
10544
10545 2012-02-15 Glenn Morris <rgm@gnu.org>
10546
10547 * shell.el (shell-delimiter-argument-list):
10548 Revert 2011-02-17 change. (Bug#8027)
10549
10550 2012-02-15 Chong Yidong <cyd@gnu.org>
10551
10552 * minibuffer.el (completion-at-point-functions): Doc fix.
10553
10554 * custom.el (defcustom): Doc fix; note use of defvar.
10555
10556 2012-02-15 Glenn Morris <rgm@gnu.org>
10557
10558 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10559 Doc fixes.
10560
10561 2012-02-14 Glenn Morris <rgm@gnu.org>
10562
10563 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10564
10565 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10566
10567 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10568 way the ports list is computed.
10569 (smtpmail-query-smtp-server): Prompt the user for a port number if
10570 we can't connect to any of the standard ports (bug#10810).
10571
10572 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10573
10574 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10575
10576 2012-02-13 Glenn Morris <rgm@gnu.org>
10577
10578 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10579
10580 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10581
10582 * net/gnutls.el (gnutls-trustfiles): New variable.
10583 (gnutls-negotiate): Use it.
10584
10585 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10586
10587 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10588 does its stuff if Gnus is running.
10589
10590 2012-02-13 Alan Mackenzie <acm@muc.de>
10591
10592 Fix a loop in c-set-fl-decl-start.
10593
10594 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10595 c-backward-syntactic-ws actually moves backwards.
10596
10597 2012-02-13 Leo Liu <sdl.web@gmail.com>
10598
10599 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10600 beginning so that all \C-o chars are removed.
10601
10602 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10603
10604 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10605
10606 2012-02-12 Alan Mackenzie <acm@muc.de>
10607
10608 Fix infinite loop with long macros.
10609 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10610
10611 2012-02-12 Chong Yidong <cyd@gnu.org>
10612
10613 * window.el (display-buffer): Doc fix (Bug#10785).
10614
10615 2012-02-12 Glenn Morris <rgm@gnu.org>
10616
10617 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10618 (x-disown-selection-internal, x-get-selection-internal):
10619 Sync docs with the xselect.c versions.
10620
10621 * allout-widgets.el: Add missing license notice.
10622
10623 2012-02-11 Glenn Morris <rgm@gnu.org>
10624
10625 * select.el (x-get-selection-internal, x-own-selection-internal)
10626 (x-disown-selection-internal):
10627 * x-dnd.el (x-get-selection-internal): Update declarations.
10628
10629 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10630
10631 * window.el (window-sides-slots):
10632 * tool-bar.el (tool-bar-position):
10633 * term/xterm.el (xterm-extra-capabilities):
10634 * ses.el (ses-self-reference-early-detection):
10635 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10636 (verilog-auto-wire-type)
10637 (verilog-auto-delete-trailing-whitespace)
10638 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10639 (verilog-auto-tieoff-declaration):
10640 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10641 (sql-oracle-statement-starters, sql-oracle-scan-on):
10642 * progmodes/prolog.el (prolog-align-comments-flag)
10643 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10644 (prolog-left-indent-regexp, prolog-paren-indent-p)
10645 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10646 (prolog-types, prolog-mode-specificators)
10647 (prolog-determinism-specificators, prolog-directives)
10648 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10649 (prolog-electric-dot-flag)
10650 (prolog-electric-dot-full-predicate-template)
10651 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10652 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10653 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10654 (prolog-program-switches, prolog-prompt-regexp)
10655 (prolog-debug-on-string, prolog-debug-off-string)
10656 (prolog-trace-on-string, prolog-trace-off-string)
10657 (prolog-zip-on-string, prolog-zip-off-string)
10658 (prolog-use-standard-consult-compile-method-flag)
10659 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10660 (prolog-imenu-max-lines, prolog-info-predicate-index)
10661 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10662 (prolog-char-quote-workaround):
10663 * progmodes/cc-vars.el (c-defun-tactic):
10664 * net/tramp.el (tramp-encoding-command-interactive)
10665 (tramp-local-end-of-line):
10666 * net/soap-client.el (soap-client):
10667 * net/netrc.el (netrc-file):
10668 * net/gnutls.el (gnutls):
10669 * minibuffer.el (completion-category-overrides)
10670 (completion-cycle-threshold)
10671 (completion-pcm-complete-word-inserts-delimiters):
10672 * man.el (Man-name-local-regexp):
10673 * mail/feedmail.el (feedmail-display-full-frame):
10674 * international/characters.el (glyphless-char-display-control):
10675 * eshell/em-ls.el (eshell-ls-date-format):
10676 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10677 (lisp-lambda-list-keyword-parameter-indentation)
10678 (lisp-lambda-list-keyword-parameter-alignment):
10679 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10680 * dired-x.el (dired-omit-verbose):
10681 * cus-theme.el (custom-theme-allow-multiple-selections):
10682 * calc/calc.el (calc-highlight-selections-with-faces)
10683 (calc-lu-field-reference, calc-lu-power-reference)
10684 (calc-note-threshold):
10685 * battery.el (battery-mode-line-limit):
10686 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10687 (archive-7z-update):
10688 * allout.el (allout-prefixed-keybindings)
10689 (allout-unprefixed-keybindings)
10690 (allout-inhibit-auto-fill-on-headline)
10691 (allout-flattened-numbering-abbreviation):
10692 * allout-widgets.el (allout-widgets-auto-activation)
10693 (allout-widgets-icons-dark-subdir)
10694 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10695 (allout-widgets-theme-dark-background)
10696 (allout-widgets-theme-light-background)
10697 (allout-widgets-item-image-properties-emacs)
10698 (allout-widgets-item-image-properties-xemacs)
10699 (allout-widgets-run-unit-tests-on-load)
10700 (allout-widgets-time-decoration-activity)
10701 (allout-widgets-hook-error-post-time)
10702 (allout-widgets-track-decoration):
10703 Add missing :version tags to new defcustoms and defgroups.
10704
10705 * progmodes/sql.el (sql-ansi-statement-starters)
10706 (sql-oracle-statement-starters): Add custom type.
10707
10708 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10709 (prolog-system-version): Give it a type.
10710
10711 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10712
10713 * term/pc-win.el (x-select-text, x-selection-owner-p)
10714 (x-own-selection-internal, x-disown-selection-internal)
10715 (x-get-selection-internal): Sync doc strings and argument lists
10716 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10717
10718 2012-02-11 Leo Liu <sdl.web@gmail.com>
10719
10720 * progmodes/python.el (python-end-of-statement): Fix infinite
10721 loop. (Bug#10788)
10722
10723 2012-02-10 Glenn Morris <rgm@gnu.org>
10724
10725 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10726 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10727
10728 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10729
10730 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10731 about SMTP before checking the From header.
10732
10733 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10734 into own function for reuse by emacsbug.el.
10735
10736 2012-02-10 Leo Liu <sdl.web@gmail.com>
10737
10738 * subr.el (condition-case-unless-debug): Rename from
10739 condition-case-no-debug. All callers changed.
10740 (with-demoted-errors): Fix caller.
10741
10742 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10743 * nxml/rng-valid.el (rng-do-some-validation):
10744 * emacs-lisp/package.el (package-refresh-contents)
10745 (package-menu-execute):
10746 * desktop.el (desktop-create-buffer):
10747 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10748
10749 2012-02-10 Glenn Morris <rgm@gnu.org>
10750
10751 * textmodes/bibtex.el:
10752 Add missing :version tags for new/changed defcustoms.
10753
10754 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10755
10756 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10757
10758 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10759 (smtpmail-via-smtp): Use it, or fall back on the From address.
10760 (smtpmail-send-it): Ditto.
10761
10762 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10765 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10766 (byte-compile-tmp-var): New const.
10767 (byte-compile-defvar): Use it to minimize .elc size.
10768 Just use `defvar' rather than simulate it (bug#10761).
10769
10770 2012-02-09 Glenn Morris <rgm@gnu.org>
10771
10772 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10773
10774 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10775 Add :version tags.
10776
10777 * progmodes/compile.el (compilation-error-screen-columns)
10778 (compilation-first-column, compilation-filter-start): Doc fixes.
10779
10780 * vc/log-view.el (log-view-toggle-entry-display):
10781 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10782
10783 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10784 (report-emacs-bug-can-use-xdg-email):
10785 (report-emacs-bug-insert-to-mailer): Doc fixes.
10786 (report-emacs-bug): Message fix.
10787
10788 * net/browse-url.el (browse-url-can-use-xdg-open)
10789 (browse-url-xdg-open): Doc fixes.
10790
10791 * electric.el (electric-indent-mode, electric-pair-mode)
10792 (electric-layout-rules, electric-layout-mode): Doc fixes.
10793 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10794
10795 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10796
10797 * server.el (server-unselect-display): Don't inadvertently kill
10798 the current buffer. (Bug#10729)
10799
10800 2012-02-08 Glenn Morris <rgm@gnu.org>
10801
10802 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10803 (sql-list-table): Doc fixes.
10804
10805 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10806 Comment out (does nothing).
10807
10808 * completion.el (dynamic-completion-mode):
10809 * dirtrack.el (dirtrack-debug-mode):
10810 * electric.el (electric-layout-mode):
10811 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10812 * face-remap.el (text-scale-mode, buffer-face-mode):
10813 * iimage.el (iimage-mode):
10814 * image-mode.el (image-transform-mode):
10815 * minibuffer.el (completion-in-region-mode):
10816 * scroll-lock.el (scroll-lock-mode):
10817 * simple.el (next-error-follow-minor-mode):
10818 * tar-mode.el (tar-subfile-mode):
10819 * tooltip.el (tooltip-mode):
10820 * vcursor.el (vcursor-use-vcursor-map):
10821 * wid-browse.el (widget-minor-mode):
10822 * emulation/tpu-edt.el (tpu-edt-mode):
10823 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10824 * international/iso-ascii.el (iso-ascii-mode):
10825 * language/thai-util.el (thai-word-mode):
10826 * mail/supercite.el (sc-minor-mode):
10827 * net/goto-addr.el (goto-address-mode):
10828 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10829 * progmodes/cwarn.el (cwarn-mode):
10830 * progmodes/flymake.el (flymake-mode):
10831 * progmodes/glasses.el (glasses-mode):
10832 * progmodes/hideshow.el (hs-minor-mode):
10833 * progmodes/pascal.el (pascal-outline-mode):
10834 * textmodes/enriched.el (enriched-mode):
10835 * vc/smerge-mode.el (smerge-mode):
10836 Doc fixes (minor mode argument).
10837
10838 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10839
10840 * ls-lisp.el (ls-lisp-sanitize): New function.
10841 (ls-lisp-insert-directory): Use it to fix or remove any elements
10842 in file-alist with missing attributes. (Bug#4673)
10843
10844 2012-02-07 Alan Mackenzie <acm@muc.de>
10845
10846 Fix spurious recognition of c-in-knr-argdecl.
10847
10848 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10849 putative K&R region.
10850
10851 2012-02-07 Alan Mackenzie <acm@muc.de>
10852
10853 * progmodes/cc-engine.el (c-forward-objc-directive):
10854 Prevent looping in "#pragma mark @implementation".
10855
10856 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10857
10858 * notifications.el (notifications-on-closed-signal): Make `reason'
10859 optional. (Bug#10744)
10860
10861 2012-02-07 Glenn Morris <rgm@gnu.org>
10862
10863 * emacs-lisp/easy-mmode.el (define-minor-mode):
10864 Doc fixes for the macro and the mode it defines.
10865
10866 * image.el (imagemagick-types-inhibit): Doc fix.
10867
10868 * cus-start.el (imagemagick-render-type): Add it.
10869
10870 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10871
10872 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10873 Set the default at load time, too, so that `font-lock-fontify-buffer'
10874 can be called without setting up the entire mode first. This fixes
10875 a bug in `mm-inline-text' with C MIME parts.
10876
10877 2012-02-06 Chong Yidong <cyd@gnu.org>
10878
10879 * simple.el (list-processes--refresh): Delete exited processes
10880 (Bug#8094).
10881
10882 * comint.el (comint-next-prompt): next-single-char-property-change
10883 and prev-single-char-property-change never return nil (Bug#8657).
10884
10885 * custom.el (defcustom): Doc fix (Bug#9711).
10886
10887 2012-02-05 Chong Yidong <cyd@gnu.org>
10888
10889 * cus-edit.el (custom-variable-reset-backup): Quote the value
10890 before storing it in the customized-value property (Bug#6712).
10891 (custom-display): Add a customization type tag.
10892 (custom-buffer-create-internal): Improve tooltip message.
10893
10894 * wid-edit.el (widget-field-value-get): New optional arg to
10895 suppress trailing whitespace truncation.
10896 (character): Use it (Bug#2689).
10897
10898 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10899
10900 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10901 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10902
10903 2012-02-05 Chong Yidong <cyd@gnu.org>
10904
10905 * cus-edit.el (custom-variable-value-create): For mismatched
10906 types, show the current value (Bug#7600).
10907
10908 * custom.el (defcustom): Doc fix.
10909
10910 2012-02-05 Glenn Morris <rgm@gnu.org>
10911
10912 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10913
10914 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10915
10916 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10917 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10918 (pp-last-sexp): Use `looking-at-p'.
10919
10920 2012-02-04 Glenn Morris <rgm@gnu.org>
10921
10922 * files.el (revert-buffer):
10923 Doc fix (mention revert-buffer-in-progress-p).
10924
10925 * emacs-lisp/ert-x.el (ert-simulate-command):
10926 Check deferred-action-list (which is obsolete) is bound.
10927
10928 * subr.el (with-wrapper-hook): Doc fixes.
10929
10930 * simple.el (filter-buffer-substring-functions)
10931 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10932
10933 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10934
10935 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10936 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10937
10938 2012-02-04 Leo Liu <sdl.web@gmail.com>
10939
10940 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10941
10942 2012-02-04 Glenn Morris <rgm@gnu.org>
10943
10944 * image.el (image-extension-data): Add obsolete alias.
10945
10946 * isearch.el (isearch-update): Doc fix.
10947
10948 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10949
10950 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10951
10952 2012-02-03 Glenn Morris <rgm@gnu.org>
10953
10954 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10955 (image-animate-timeout): Doc fix.
10956
10957 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10958
10959 2012-02-02 Glenn Morris <rgm@gnu.org>
10960
10961 * server.el (server-auth-dir): Doc fix.
10962 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10963
10964 * subr.el (run-mode-hooks): Doc fix.
10965
10966 2012-02-02 Juri Linkov <juri@jurta.org>
10967
10968 * image-mode.el (image-toggle-display-image): Remove tautological
10969 `major-mode' from the `derived-mode-p' test.
10970
10971 2012-02-02 Kenichi Handa <handa@m17n.org>
10972
10973 * composite.el (compose-region): Cancel previous change.
10974
10975 2012-02-02 Kenichi Handa <handa@m17n.org>
10976
10977 * composite.el (compose-region, compose-string): Signal error for
10978 a null string component (Bug#6988).
10979
10980 2012-02-01 Chong Yidong <cyd@gnu.org>
10981
10982 * view.el (view-buffer-other-window, view-buffer-other-frame):
10983 Handle special modes like view-buffer (Bug#10650).
10984 (view-buffer): Simplify.
10985
10986 * frame.el (set-frame-font): Tweak meaning of third argument.
10987
10988 * dynamic-setting.el (font-setting-change-default-font):
10989 Use set-frame-font (Bug#9982).
10990
10991 2012-02-01 Glenn Morris <rgm@gnu.org>
10992
10993 * progmodes/compile.el (compilation-internal-error-properties):
10994 Respect compilation-first-column in the "*compilation*" buffer.
10995
10996 * emacs-lisp/easy-mmode.el (define-minor-mode):
10997 Relax :variable's test for a named function.
10998
10999 2012-01-31 Alan Mackenzie <acm@muc.de>
11000
11001 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11002 off by one error.
11003
11004 2012-01-31 Chong Yidong <cyd@gnu.org>
11005
11006 * frame.el (set-frame-font): New arg ALL-FRAMES.
11007
11008 * menu-bar.el (menu-set-font): Use set-frame-font.
11009
11010 * faces.el (face-spec-reset-face): Don't apply unspecified
11011 attribute values to the default face.
11012
11013 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11014
11015 * progmodes/cwarn.el (cwarn): Remove dead link.
11016 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11017 Remove * from defcustom docstrings.
11018 (turn-on-cwarn-mode): Make obsolete.
11019 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11020 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11021
11022 2012-01-31 Glenn Morris <rgm@gnu.org>
11023
11024 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11025 Fix :variable handling of mode a symbol not equal to modefun.
11026 Allow named functions to be used as the cdr of :variable.
11027
11028 2012-01-30 Glenn Morris <rgm@gnu.org>
11029
11030 * emacs-lisp/authors.el (authors-fixed-entries):
11031 Remove reference to deleted file rnewspost.el.
11032
11033 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11034
11035 * window.el (window-with-parameter): Remove unused variable `windows'.
11036 (window--side-check): Remove unused variable `code'.
11037 (window--resize-siblings): Remove unused variable `first'.
11038 (adjust-window-trailing-edge): Remove unused variable `failed'.
11039 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11040 Use `let', not `let*'.
11041 (balance-windows-2): Remove unused variable `found'.
11042 (window--state-put-2): Remove unused variable `splits'.
11043 (window-state-put): Remove unused variable `selected'.
11044 (same-window-p): Use `string-match-p'.
11045 (display-buffer-assq-regexp): Remove unused variable `value'.
11046 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11047 Mark argument ALIST as ignored.
11048 (pop-to-buffer): Remove unused variable `old-window'.
11049
11050 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11051
11052 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11053 and .lzma compressed files.
11054
11055 2012-01-29 Chong Yidong <cyd@gnu.org>
11056
11057 * frame.el (window-system-default-frame-alist): Doc fix.
11058
11059 * dynamic-setting.el (font-setting-change-default-font): Don't
11060 change the default face if SET-FONT argument is non-nil (Bug#9982).
11061
11062 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11063
11064 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11065
11066 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11067
11068 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11069 breakpoints in files outside current directory (Bug#6098).
11070
11071 2012-01-29 Chong Yidong <cyd@gnu.org>
11072
11073 * progmodes/python.el: Require ansi-color at top-level.
11074
11075 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11076 Define and use in Emacs Lisp mode (Bug#9360).
11077 (lisp-mode-abbrev-table): Add doc.
11078 (lisp-mode-variables): Don't set local-abbrev-table.
11079 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11080
11081 2012-01-28 Roland Winkler <winkler@gnu.org>
11082
11083 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11084
11085 2012-01-28 Roland Winkler <winkler@gnu.org>
11086
11087 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11088 (bibtex-set-dialect): Use it. Either set global values of
11089 dialect-dependent variables or bind these variables buffer-locally
11090 (Bug#10254).
11091 (bibtex-mode): Call bibtex-set-dialect via
11092 hack-local-variables-hook.
11093 (bibtex-dialect): Update docstring.
11094 Add safe-local-variable predicate.
11095 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11096 bibtex-set-dialect.
11097 (bibtex-mode-map): Define menu for each dialect.
11098 (bibtex-entry): Fix docstring.
11099
11100 2012-01-28 Chong Yidong <cyd@gnu.org>
11101
11102 * eshell/esh-arg.el (eshell-quote-argument): New function.
11103
11104 * eshell/esh-ext.el (eshell-invoke-batch-file):
11105 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11106 first arg to eshell-parse-command (Bug#10523).
11107
11108 2012-01-28 Drew Adams <drew.adams@oracle.com>
11109
11110 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11111 `default-directory' is non-nil.
11112
11113 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11114
11115 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11116 line that displays system-configuration-options. (Bug#9924)
11117
11118 2012-01-28 Drew Adams <drew.adams@oracle.com>
11119
11120 * descr-text.el (describe-char): Show information about POS, in
11121 addition to information about the character at POS. Improve and
11122 update the doc string. Change "code point" to "code point in
11123 charset", to avoid confusion with the character's Unicode code
11124 point shown above that. (Bug#10129)
11125
11126 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11127
11128 * descr-text.el (describe-char): Show the raw character, not only
11129 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11130 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11131 for the reasons.
11132
11133 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11134
11135 * emacs-lisp/package.el (package-install):
11136 Run package-refresh-contents if there is no archive yet (Bug#9798).
11137
11138 2012-01-28 Chong Yidong <cyd@gnu.org>
11139
11140 * emacs-lisp/package.el (package-maybe-load-descriptor):
11141 New function, split from package-maybe-load-descriptor.
11142 (package-maybe-load-descriptor): Use it.
11143 (package-download-transaction): Fully load required packages
11144 inside the loop, so that `require' calls work (Bug#10593).
11145 (package-install): No need to call package-initialize now.
11146
11147 2012-01-28 Chong Yidong <cyd@gnu.org>
11148
11149 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11150
11151 * tooltip.el (tooltip-mode): Doc fix.
11152 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11153
11154 * frame.el (set-cursor-color): Doc fix (Bug#352).
11155
11156 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11157 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11158
11159 * cus-edit.el (custom-buffer-create-internal): Fix search button
11160 action (Bug#10542).
11161 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11162
11163 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11164
11165 * dired.el (dired-mark-files-regexp):
11166 Include any subdirectory components. (Bug#10445)
11167
11168 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11169
11170 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11171 Handle [host]:port syntax. (Bug#10533)
11172
11173 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11174
11175 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11176
11177 2012-01-26 Glenn Morris <rgm@gnu.org>
11178
11179 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11180 * term.el (term-raw-escape-map): Use Control-X-prefix.
11181 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11182
11183 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11184
11185 * window.el (window-state-get, window--state-get-1): Don't deal
11186 with fixed-sizeness of windows. Simplify code.
11187
11188 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11189
11190 * window.el (window--state-get-1, window--state-put-2):
11191 Don't save and restore the mark.
11192
11193 2012-01-25 Chong Yidong <cyd@gnu.org>
11194
11195 * custom.el (custom-variable-p): Doc fix.
11196
11197 2012-01-25 Glenn Morris <rgm@gnu.org>
11198
11199 * dired.el (dired-goto-file): Handle some of the more common
11200 characters that `ls -b' escapes. (Bug#10596)
11201
11202 * progmodes/compile.el (compilation-next-error-function):
11203 Respect compilation-first-column in the "*compilation*" buffer.
11204 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11205
11206 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11207
11208 2012-01-24 Glenn Morris <rgm@gnu.org>
11209
11210 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11211
11212 2012-01-24 Julien Danjou <julien@danjou.info>
11213
11214 * color.el (color-rgb-to-hsl): Fix value computing.
11215 (color-hue-to-rgb): New function.
11216 (color-hsl-to-rgb): New function.
11217 (color-clamp, color-saturate-hsl, color-saturate-name)
11218 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11219 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11220
11221 2012-01-24 Glenn Morris <rgm@gnu.org>
11222
11223 * vc/vc-rcs.el (vc-rcs-create-tag):
11224 * vc/vc-sccs.el (vc-sccs-create-tag):
11225 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11226
11227 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11228
11229 * eshell/esh-util.el (eshell-read-hosts-file):
11230 Skip comment lines. (Bug#10549)
11231
11232 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11233
11234 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11235
11236 * subr.el (display-delayed-warnings): Doc fix.
11237 (collapse-delayed-warnings): New function to collapse identical
11238 adjacent warnings.
11239 (delayed-warnings-hook): Add it.
11240
11241 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11242
11243 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11244
11245 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11246 (tramp-default-user-alist): Don't add "pscp".
11247 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11248 property "login-as", if set. (Bug#10530)
11249
11250 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11251
11252 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11253 "plink1" and "psftp". (Bug#10530)
11254
11255 2012-01-21 Kenichi Handa <handa@m17n.org>
11256
11257 * international/mule-cmds.el (prefer-coding-system): Show a
11258 warning message if the default value of file-name-coding-system
11259 was not changed.
11260
11261 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11262
11263 * windmove.el (windmove-reference-loc):
11264 Fix windmove-reference-loc miscalculation.
11265
11266 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11267
11268 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11269 default unit.
11270
11271 2012-01-21 Glenn Morris <rgm@gnu.org>
11272
11273 * international/mule.el (auto-coding-alist): Add .tbz.
11274
11275 * files.el (local-enable-local-variables): Doc fix.
11276 (inhibit-local-variables-regexps): Rename from
11277 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11278 Doc fix. Add some extensions from auto-coding-alist.
11279 (inhibit-local-variables-suffixes):
11280 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11281 (inhibit-local-variables-p):
11282 New function, extracted from set-auto-mode-1.
11283 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11284 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11285 (hack-local-variables): Doc fix. Make the mode-only case
11286 respect enable-local-variables and friends.
11287 Respect inhibit-local-variables-regexps for file-locals, but
11288 not for directory-locals.
11289 (set-visited-file-name):
11290 Take account of inhibit-local-variables-regexps.
11291 Whether it applies may change as the file name is changed.
11292 * jka-cmpr-hook.el (jka-compr-install):
11293 * jka-compr.el (jka-compr-uninstall):
11294 Update for inhibit-first-line-modes-suffixes name change.
11295
11296 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11297
11298 * help-macro.el (make-help-screen): Temporarily restore original
11299 binding for minor-mode-map-alist (Bug#10454).
11300
11301 2012-01-19 Julien Danjou <julien@danjou.info>
11302
11303 * color.el (color-name-to-rgb): Use the white color to find the max
11304 color component value and return correctly computed values.
11305 (color-name-to-rgb): Add missing float conversion for max value.
11306
11307 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11308
11309 * window.el (window--state-get-1, window-state-get): Do not use
11310 special state value for window-persistent-parameters.
11311 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11312 (window--state-put-2): Reset all window parameters to nil before
11313 assigning values of persistent parameters.
11314
11315 2012-01-18 Alan Mackenzie <acm@muc.de>
11316
11317 Eliminate sluggishness and hangs in fontification of "semicolon
11318 deserts".
11319
11320 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11321 Change value 10000 -> 3000.
11322 (c-state-safe-place): Reformulate so it doesn't stack up an
11323 infinite number of wrong entries in c-state-nonlit-pos-cache.
11324 (c-determine-limit-get-base, c-determine-limit): New functions to
11325 determine backward search limits disregarding literals.
11326 (c-find-decl-spots): Amend commenting.
11327 (c-cheap-inside-bracelist-p): New function which detects "={".
11328
11329 * progmodes/cc-fonts.el
11330 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11331 backward search.
11332 (c-font-lock-declarations): Fix an occurrence of point being
11333 undefined. Check additionally for point being in a bracelist or
11334 near a macro invocation without a semicolon so as to avoid a
11335 fruitless time consuming search for a declarator. Give a more
11336 precise search limit for declarators using the new
11337 c-determine-limit.
11338
11339 2012-01-18 Glenn Morris <rgm@gnu.org>
11340
11341 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11342 (set-auto-mode): Doc fixes.
11343
11344 2012-01-17 Glenn Morris <rgm@gnu.org>
11345
11346 * isearch.el (search-nonincremental-instead): Fix doc typo.
11347
11348 * dired.el (dired-insert-directory): Handle newlines in directory name.
11349 (dired-build-subdir-alist): Unescape newlines in directory name.
11350
11351 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11352
11353 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11354 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11355 (tramp-action-terminal): Use it. (Bug#10530)
11356
11357 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11358
11359 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11360
11361 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11362
11363 * window.el (window-state-ignored-parameters): Remove variable.
11364 (window--state-get-1): Rename argument MARKERS to IGNORE.
11365 Handle persistent window parameters. Make copy of clone-of
11366 parameter only if requested. (Bug#10348)
11367 (window--state-put-2): Install a window parameter only if it has
11368 a non-nil value or an existing parameter shall be overwritten.
11369
11370 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11371
11372 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11373
11374 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11375
11376 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11377 don't pass the (nil) value of `upnode' to string-match.
11378
11379 2012-01-14 Chong Yidong <cyd@gnu.org>
11380
11381 * startup.el (command-line): Fix X resource class for cursorColor.
11382 Fix values recognized by the cursorBlink resource.
11383
11384 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11385
11386 * epg.el (epg--make-temp-file): Avoid permission race condition
11387 when running on old Emacs versions (bug#10403).
11388
11389 2012-01-14 Glenn Morris <rgm@gnu.org>
11390
11391 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11392
11393 2012-01-13 Alan Mackenzie <acm@muc.de>
11394
11395 Fix filling for when filladapt mode is enabled.
11396
11397 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11398 c-mask-paragraph, pass in `fill-paragraph' rather than
11399 `fill-region-as-paragraph'. (This is a reversion of a previous
11400 change.)
11401 * progmodes/cc-mode.el (c-basic-common-init):
11402 Make fill-paragraph-handle-comment buffer local and set it to nil.
11403
11404 2012-01-13 Glenn Morris <rgm@gnu.org>
11405
11406 * dired.el (dired-switches-escape-p): New function.
11407 (dired-insert-directory): Use dired-switches-escape-p.
11408 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11409
11410 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11411
11412 2012-01-12 Glenn Morris <rgm@gnu.org>
11413
11414 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11415 changes in adaptive-fill-regexp. (Bug#10276)
11416
11417 2012-01-11 Alan Mackenzie <acm@muc.de>
11418
11419 Fix Emacs bug #10463 - put `widen's around the critical spots.
11420
11421 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11422 widen around each invocation of c-state-pp-to-literal. Remove an
11423 unused let variable.
11424
11425 2012-01-11 Glenn Morris <rgm@gnu.org>
11426
11427 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11428 Doc fix.
11429
11430 2012-01-10 Chong Yidong <cyd@gnu.org>
11431
11432 * net/network-stream.el (network-stream-open-starttls):
11433 Avoid emitting a confusing error message when the server gives a bad
11434 response to the capability command.
11435
11436 2012-01-10 Glenn Morris <rgm@gnu.org>
11437
11438 * mail/unrmail.el (unrmail): Tweak previous change.
11439
11440 2012-01-09 Chong Yidong <cyd@gnu.org>
11441
11442 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11443
11444 2012-01-08 Alan Mackenzie <acm@muc.de>
11445
11446 Optimise font locking in long enum definitions.
11447
11448 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11449 arm to a cond form to handle enums.
11450 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11451 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11452
11453 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11454
11455 * files.el (move-file-to-trash): Preserve default file modes on error.
11456 (Bug#10401)
11457
11458 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11459
11460 * faces.el (set-face-attribute): Clarify the meaning of the nil
11461 frame (bug#10294).
11462
11463 * subr.el (with-selected-frame): Mention that the selected frame
11464 is restored (bug#9980).
11465
11466 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11467 (bug#9759).
11468
11469 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11470 (password-read): Don't autoload unused function.
11471
11472 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11473
11474 * progmodes/which-func.el (which-func-mode): Turn into a
11475 non-interactive function and mark as obsolete (bug#10428).
11476
11477 2012-01-06 Chong Yidong <cyd@gnu.org>
11478
11479 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11480 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11481 functions, along with 1 and -1.
11482
11483 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11484
11485 * time.el (display-time-load-average)
11486 (display-time-default-load-average): Doc fixes. See the thread
11487 starting at
11488 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11489 for the details.
11490
11491 2012-01-06 Glenn Morris <rgm@gnu.org>
11492
11493 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11494 has no messages. (Bug#10377)
11495
11496 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11497 than Info-edit. (Bug#10385)
11498
11499 * time.el (display-time-load-average, display-time-next-load-average):
11500 Doc fixes.
11501
11502 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11503 local setting of buffer-read-only to the input buffer. (Bug#10419)
11504
11505 * calendar/calendar.el (calendar-mode):
11506 Locally set scroll-margin to 0. (Bug#10379)
11507
11508 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11509
11510 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11511
11512 2012-01-05 Glenn Morris <rgm@gnu.org>
11513
11514 * eshell/em-unix.el (diff-no-select): Autoload it.
11515 (eshell/diff): Use diff-no-select. (Bug#10420)
11516
11517 2012-01-05 Chong Yidong <cyd@gnu.org>
11518
11519 * shell.el (shell-dynamic-complete-functions): Revert last change.
11520 (shell-command-completion-function): New function.
11521 (shell-completion-vars): Use it to implement
11522 shell-completion-execonly (Bug#10417).
11523
11524 * custom.el (enable-theme): Don't set custom-safe-themes.
11525
11526 * cus-theme.el (custom-theme-merge-theme):
11527 Ignore custom-enabled-themes and custom-safe-themes.
11528
11529 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11530
11531 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11532 first prompt in `sql-interacive-mode'.
11533 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11534 keywords.
11535 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11536 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11537 context of original buffer. Invoke `sql-login-hook'.
11538
11539 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11540
11541 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11542 letters in cite-prefix.
11543
11544 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11545
11546 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11547
11548 2012-01-03 Chong Yidong <cyd@gnu.org>
11549
11550 * shell.el (shell-dynamic-complete-functions):
11551 Put pcomplete-completions-at-point, so as to try
11552 comint-filename-completion first (Bug#10417).
11553
11554 2012-01-02 Richard Stallman <rms@gnu.org>
11555
11556 * battery.el (battery-status-function):
11557 Detect when to use battery-yeeloong-sysfs.
11558 (battery-echo-area-format): Add string for Yeeloong.
11559 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11560 (battery-yeeloong-sysfs): New function.
11561
11562 2012-01-02 Chong Yidong <cyd@gnu.org>
11563
11564 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11565 (dirtrack): Merge code for handling relative filenames in prompt
11566 from shell-dir-cookie-watcher.
11567 (dirtrack-debug-message): New arg to avoid excess format calls.
11568
11569 * shell.el (shell-dir-cookie-re): Variable deleted.
11570 (shell-dir-cookie-watcher): Function deleted.
11571 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11572 with dirtrack-mode.
11573
11574 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11575
11576 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11577 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11578 libgnutls-26.dll.
11579
11580 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11581
11582 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11583
11584 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11585
11586 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11587 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11588
11589 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11590
11591 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11592 also for alternative shells.
11593 (tramp-open-connection-setup-interactive-shell): Check, whether
11594 the shell is a busybox.
11595 (tramp-send-command): Don't suppress multiple prompts for
11596 busyboxes, it hurts.
11597
11598 2011-12-28 Chong Yidong <cyd@gnu.org>
11599
11600 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11601 (gdb-get-source-file): Move mode line update to
11602 gdb-get-source-file (Bug#10087).
11603
11604 2011-12-25 Chong Yidong <cyd@gnu.org>
11605
11606 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11607 gud-gdb-marker-filter without taking it as an argument.
11608 (gud-gdb-run-command-fetch-lines): Caller changed.
11609 (gud-gdb-completion-function): New variable.
11610 (gud-gdb-completion-at-point): Use it.
11611 (gud-gdb-completions-1): Split from gud-gdb-completions.
11612
11613 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11614 function as separate arguments.
11615 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11616 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11617 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11618 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11619 (gdb-stopped, def-gdb-auto-update-trigger)
11620 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11621 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11622 Callers changed.
11623 (gud-gdbmi-completions): New function.
11624 (gdb): Use it for generating the completion table.
11625
11626 2011-12-24 Alan Mackenzie <acm@muc.de>
11627
11628 Introduce a mechanism to widen the region used in context font
11629 locking. Use this to protect declarations from losing their contexts.
11630
11631 * progmodes/cc-langs.el (c-before-font-lock-functions):
11632 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11633 (c-before-context-fontification-functions): New defvar, a list of
11634 functions to be run just before context (etc.) font locking.
11635
11636 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11637 New, functionality extracted from
11638 c-neutralize-syntax-in-and-mark-CPP.
11639 (c-in-after-change-fontification): New variable.
11640 (c-after-change): Set c-in-after-change-fontification.
11641 (c-set-fl-decl-start): Rejig its interface, so it can be called
11642 from both after-change and context fontifying.
11643 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11644 New functions.
11645 (c-standard-font-lock-fontify-region-function): New variable.
11646 (c-font-lock-fontify-region): New function.
11647
11648 2011-12-24 Juri Linkov <juri@jurta.org>
11649
11650 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11651 (Bug#10348)
11652
11653 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11654
11655 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11656 existence of source file. (Bug#10325)
11657
11658 2011-12-23 Alan Mackenzie <acm@muc.de>
11659
11660 Fix unstable fontification inside templates.
11661
11662 * progmodes/cc-langs.el (c-before-font-lock-functions):
11663 Newly created from the singular version. The (c c++ objc) entry now
11664 additionally has c-set-fl-decl-start. The other languages (apart
11665 from AWK) have that as a single entry.
11666
11667 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11668 The functionality for "local" declarations has been extracted to
11669 c-set-fl-decl-start.
11670
11671 * progmodes/cc-mode.el (c-common-init, c-after-change):
11672 Changes due to pluralisation of c-before-font-lock-functions.
11673 (c-set-fl-decl-start): New function, extracted from
11674 c-font-lock-enclosing-decls and enhanced.
11675
11676 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11677
11678 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11679
11680 2011-12-22 Juri Linkov <juri@jurta.org>
11681
11682 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11683
11684 2011-12-22 Chong Yidong <cyd@gnu.org>
11685
11686 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11687
11688 2011-12-21 Drew Adams <drew.adams@oracle.com>
11689
11690 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11691
11692 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11693
11694 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11695
11696 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11697
11698 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11699 highlighting and support. Fix up comments for capitalization.
11700 (cfengine-mode-debug): New var.
11701 (cfengine3-mode): Change the modeline indicator to "CFE3".
11702 (cfengine3-font-lock-keywords): Improve defun highlighting.
11703 (cfengine2-actions): Rename from `cfengine-actions'.
11704 (cfengine2-font-lock-keywords): Rename from
11705 `cfengine-font-lock-keywords'.
11706 (cfengine2-imenu-expression): Rename from
11707 `cfengine-imenu-expression'.
11708 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11709 (cfengine2-beginning-of-defun): Rename from
11710 `cfengine-beginning-of-defun'.
11711 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11712 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11713 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11714 modeline indicator to "CFE2".
11715 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11716 (cfengine-mode-abbrevs): Mark obsolete.
11717
11718 2011-12-21 Chong Yidong <cyd@gnu.org>
11719
11720 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11721 filename argument.
11722
11723 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11724
11725 * window.el (window-normalize-buffer-to-display): Remove.
11726 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11727
11728 2011-12-19 Chong Yidong <cyd@gnu.org>
11729
11730 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11731 Don't signal an error in a predicate function; return non-nil.
11732 (vc-dir-mark-file): Move the error here.
11733 (vc-dir-mark-unmark): If acting on the region, keep going if one
11734 of the entries cannot be marked/unmarked.
11735 (vc-dir-mark-all-files): If current entry is a directory, mark
11736 only child files, as documented.
11737
11738 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11739
11740 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11741 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11742 addition.
11743
11744 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11745
11746 * term/ns-win.el (ns-get-selection-internal)
11747 (ns-store-selection-internal): Declare.
11748 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11749 Declare as obsolete.
11750 (ns-get-pasteboard, ns-paste-secondary):
11751 Use ns-get-selection-internal.
11752 (ns-set-pasteboard, ns-copy-including-secondary):
11753 Use ns-store-selection-internal.
11754
11755 2011-12-17 Chong Yidong <cyd@gnu.org>
11756
11757 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11758 (vc-deduce-fileset): Doc fix.
11759
11760 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11761
11762 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11763
11764 2011-12-13 Sam Steingold <sds@gnu.org>
11765
11766 * man.el (Man-getpage-in-background): When running under a
11767 window-system, ignore $MANWIDTH and $COLUMNS.
11768
11769 2011-12-15 Kenichi Handa <handa@m17n.org>
11770
11771 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11772 (setup-ethiopic-environment-internal): Comment out key-binding for
11773 ethio-toggle-punctuation.
11774
11775 2011-12-13 Alan Mackenzie <acm@muc.de>
11776
11777 Add the switch statement to AWK Mode.
11778
11779 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11780 "default" to the keywords regexp.
11781
11782 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11783 expression as the rest.
11784 (c-nonlabel-token-key): Allow string literals for AWK.
11785 Refactor for the other modes.
11786
11787 Large brace-block initialisation makes CC Mode slow: Fix.
11788 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11789 routines. Limit backward searching in c-font-lock-enclosing.decl.
11790
11791 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11792 pp-state and literal type in addition to the limits.
11793 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11794 (c-state-literal-at): Use the above new defun.
11795 (c-slow-in-literal, c-fast-in-literal): Remove.
11796 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11797
11798 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11799 being in a literal. Add a limit for backward searching.
11800
11801 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11802 c-slow-in-literal.
11803
11804 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11807
11808 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11809
11810 * window.el (delete-other-windows): Use correct frame in call to
11811 window-with-parameter.
11812
11813 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11814
11815 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11816 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11817 (makefile-gmake-statements, makefile-makepp-statements):
11818 Use it and add new makepp keywords.
11819 (makefile-makepp-font-lock-keywords): Add new patterns.
11820 (makefile-match-function-end): Match new [...] and [[...]].
11821
11822 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11823
11824 * ses.el (ses-call-printer-return, ses-cell-property-get)
11825 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11826 (ses-create-cell-variable, ses-reset-header-string)
11827 (ses-cell-set-formula, ses-repair-cell-reference-all)
11828 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11829 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11830 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11831 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11832 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11833 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11834 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11835 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11836 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11837 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11838 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11839 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11840
11841 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11842
11843 * ses.el: The overall change is to add cell renaming, that is
11844 setting fancy names for cell symbols other than name matching
11845 "\\`[A-Z]+[0-9]+\\'" regexp .
11846 (ses-create-cell-variable): New defun.
11847 (ses-relocate-formula): Relocate formulas only for cells the
11848 symbols of which are not renamed, i.e. symbols whose names do not
11849 match regexp "\\`[A-Z]+[0-9]+\\'".
11850 (ses-relocate-all): Relocate values only for cells the symbols of
11851 which are not renamed.
11852 (ses-load): Create cells variables as the (ses-cell ...) are read,
11853 in order to check row col consistency with cell symbol name only
11854 for cells that are not renamed.
11855 (ses-replace-name-in-formula): New defun.
11856 (ses-rename-cell): New defun.
11857
11858 2011-12-11 Chong Yidong <cyd@gnu.org>
11859
11860 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11861 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11862
11863 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11864
11865 * window.el (other-window): Fix docstring.
11866
11867 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11868
11869 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11870 `from' or `to' address before taking its substring.
11871 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11872 encoded name is chopped in the middle of the encoded string, and
11873 thus displayed encoded.
11874
11875 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11876
11877 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11878
11879 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11880
11881 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11882 to use texinfo-update-node and commands that call it if the
11883 Texinfo file uses @node lines without next/prev/up pointers.
11884 Correct outdated description about texinfo-master-menu.
11885 (texinfo-all-menus-update, texinfo-master-menu)
11886 (texinfo-update-node, texinfo-every-node-update)
11887 (texinfo-multiple-files-update): Doc fix. Warn against updating
11888 all the @node lines.
11889 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11890 argument is numeric. Explain better in the doc string what the
11891 function really does.
11892 (texinfo-insert-master-menu-list): Improve the error message
11893 displayed if there's no menu in the Top node.
11894 (Bug#2975) See also this thread:
11895 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11896
11897 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11898
11899 * speedbar.el (speedbar-supported-extension-expressions):
11900 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11901
11902 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11903
11904 * printing.el (pr-mode-alist):
11905 * simple.el (filter-buffer-substring-functions)
11906 (completion-list-insert-choice-function):
11907 * window.el (window-with-parameter, window-atom-root)
11908 (window-sides-slots, window-size-fixed, window-min-delta)
11909 (window-max-delta, window--resize-mini-window)
11910 (window--resize-child-windows-normal, window-tree)
11911 (delete-other-windows, quit-window, split-window)
11912 (display-buffer-record-window, special-display-buffer-names)
11913 (special-display-regexps, special-display-popup-frame)
11914 (same-window-p, split-window-sensibly)
11915 (display-buffer-overriding-action, display-buffer-alist)
11916 (display-buffer-base-action, display-buffer, switch-to-buffer)
11917 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11918 (fit-window-to-buffer, recenter-positions)
11919 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11920 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11921 and remove unneeded backslashes in docstrings.
11922
11923 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11926
11927 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11928 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11929 end in ".mk".
11930 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11931 when reading the makefile (bug#10116).
11932
11933 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11934
11935 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11936 (bug#10116).
11937
11938 2011-12-06 Glenn Morris <rgm@gnu.org>
11939
11940 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11941
11942 2011-12-06 Chong Yidong <cyd@gnu.org>
11943
11944 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11945
11946 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11947
11948 * textmodes/table.el (table-shorten-cell): Fix typo.
11949
11950 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11951
11952 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11953
11954 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11955
11956 * descr-text.el (describe-char): Fix display of strong
11957 right-to-left characters and directional embeddings and overrides.
11958
11959 * simple.el (what-cursor-position): Fix display of codepoints of
11960 strong right-to-left characters.
11961
11962 2011-12-05 Chong Yidong <cyd@gnu.org>
11963
11964 * faces.el (read-color): Doc fix.
11965
11966 2011-12-05 Glenn Morris <rgm@gnu.org>
11967
11968 * align.el (align--set-marker): Add doc-string.
11969 Don't try to move something that is not a marker. (Bug#10216)
11970
11971 2011-12-04 Glenn Morris <rgm@gnu.org>
11972
11973 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11974 overly zealous deletion of trailing whitespace.
11975
11976 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11977
11978 * server.el (server-delete-client): On Windows, do not try to delete
11979 the only terminal.
11980 (server-process-filter): On Windows, treat requests for a tty frame as
11981 if they were for a GUI frame if the running server is in GUI mode.
11982
11983 2011-12-03 Glenn Morris <rgm@gnu.org>
11984
11985 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11986
11987 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * electric.el: Streamline electric-indent's hook.
11990 (electric-indent-chars): Revert to simple list.
11991 (electric-indent-functions): New var.
11992 (electric-indent-post-self-insert-function): Use it.
11993
11994 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11995 there's no inferior buffer (bug#10196).
11996 (prolog-consult-compile): Don't use toggle-read-only.
11997
11998 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11999
12000 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12001 interrupt. (Bug#10187)
12002
12003 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12004
12005 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12006 (bug#9160).
12007
12008 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12009 (bug#10191).
12010
12011 2011-12-02 Juri Linkov <juri@jurta.org>
12012
12013 * info.el (Info-search): Display "end of manual" when Isearch
12014 reaches the end of single-file Info manual. (Bug#9918)
12015
12016 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12017
12018 * isearch.el (isearch-message-prefix): Run the input method part
12019 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12020
12021 2011-12-02 Juri Linkov <juri@jurta.org>
12022
12023 * isearch.el (isearch-occur): Use `word-search-regexp' for
12024 `isearch-word'.
12025 (isearch-search-and-update): Add condition for `isearch-word' and
12026 call `word-search-regexp'. (Bug#10145)
12027
12028 2011-12-01 Glenn Morris <rgm@gnu.org>
12029
12030 * eshell/em-hist.el (eshell-hist-initialize):
12031 Handle eshell-history-size nil and HISTSIZE set or unset.
12032 (eshell-history-file-name, eshell-history-size): Fix custom type.
12033
12034 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12035
12036 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12037
12038 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12039
12040 * progmodes/verilog-mode.el (verilog-pretty-expr):
12041 Rework verilog-pretty-expr to handle new assignment operators in system
12042 verilog, such as += *= and the like.
12043 (verilog-assignment-operator-re): Regular expression to find the
12044 assigment operator in a verilog assignment.
12045 (verilog-assignment-operation-re): Regular expression to find an
12046 assignment statement for pretty-expr.
12047 (verilog-in-attribute-p): Query returns true if point is in an
12048 attribute context; used to skip these for expression line up from
12049 pretty-expr.
12050 (verilog-in-parameter-p): Query returns true if point is in an
12051 parameter definition context; used to skip these for expression
12052 line up from pretty-expr.
12053 (verilog-in-parenthesis-p): Query returns true if point is in a
12054 parenthetical expression, specifically ( ) but not [ ] or { };
12055 used by pretty-expr.
12056 (verilog-just-one-space): If there is no space, don't add one.
12057 (verilog-get-lineup-indent-2): Specifically skip just attribute
12058 contexts for expression lineup, rather than skipping all
12059 parenthetical expressions.
12060 (verilog-calculate-indent): Fix comment, and fix indent.
12061 (verilog-do-indent): Indent declarations in lists (suggested by
12062 Joachim Lechner).
12063 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12064 skeleton items.
12065 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12066 by Alain Mellan).
12067
12068 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12069
12070 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12071 parameters with embedded comments. Reported by Ray Stevens.
12072 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12073 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12074 Reported by Tim Holt.
12075 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12076 instantiated by upper module causing wrong expansion until AUTOed a
12077 second time. Reported by K C Buckenmaier.
12078 (verilog-diff-auto): Fix showing .* as a difference when
12079 `verilog-auto-star-save' off. Reported by Dan Dever.
12080 (verilog-auto-reset, verilog-read-always-signals)
12081 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12082 temporary signals in reset list if
12083 verilog-auto-reset-blocking-in-non is nil, and match assignment
12084 style to each signal's assignment type, bug381.
12085 Reported by Thomas Esposito.
12086 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12087 (verilog-uvm-statement-re): Support UVM indentation and
12088 highlighting, with old OVM keywords only.
12089 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12090 Support AUTOTIEOFF creating non-wire data types.
12091 Suggested by Jonathan Greenlaw.
12092 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12093 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12094 (verilog-inject-sense, verilog-read-inst-pins)
12095 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12096 Fix mismatching parenthesis inside commented out code when deleting
12097 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12098 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12099 non-numeric vector width. Reported by Alex Reed.
12100 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12101 detecting signals with parameter widths. Reported by Alex Reed.
12102 (verilog-auto-delete-trailing-whitespace):
12103 With `verilog-auto-delete-trailing-whitespace' remove trailing
12104 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12105 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12106 Fix verilog-scan-cache corruption when running user AUTO expansion
12107 hooks that call indentation routines.
12108 (verilog-simplify-range-expression): Fix typo ignoring lower case
12109 identifiers.
12110 (verilog-delete-auto): Fix delete-autos to also remove user created
12111 automatics, as long as they start with AUTO.
12112 (verilog-batch-diff-auto, verilog-diff-auto)
12113 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12114 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12115 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12116 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12117 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12118 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12119 is disabled and its cache will get corrupt, causing AUTOS not to
12120 expand. Instead use only -quick functions.
12121 (verilog-scan-region): Fix scanning over escaped quotes.
12122 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12123 (verilog-re-search-backward-quick)
12124 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12125 related functions now ignore strings, to fix misparsing of strings
12126 with magic comments embedded in them.
12127 (verilog-read-auto-template):
12128 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12129 Reported by Brad Dobbie.
12130 (verilog-read-auto-template):
12131 Fix 'verilog-auto-inst-template-numbers' with comments.
12132 Reported by Brad Dobbie.
12133 (verilog-auto-inst, verilog-auto-inst-param)
12134 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12135 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12136 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12137 debugging templates without merge conflicts, bug357.
12138 Reported by Brad Dobbie.
12139 (verilog-read-auto-template):
12140 Fix verilog-auto-inst-template-numbers with multiple templates.
12141 Reported by Brad Dobbie.
12142 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12143 abbrevs so user won't be asked to save.
12144 (verilog-read-auto-lisp-present): Fix to start at beginning of
12145 buffer in case called outside of verilog-auto.
12146 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12147 to "X-2". Reported by Matthew Myers.
12148 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12149 all inputs from module templates. Reported by Leith Johnson.
12150 (verilog-module-inside-filename-p): Fix locating programs as with
12151 modules.
12152 (verilog-auto-inst-port): Fix vl-width expressions when using
12153 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12154 (verilog-decls-get-regs, verilog-decls-get-signals,
12155 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12156 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12157 verilog-read-decls): Combine reg and wire structures into one var
12158 structure to represent SystemVerilog concepts.
12159 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12160 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12161 (verilog-auto-wire-type, verilog-insert-definition):
12162 Add verilog-auto-wire-type and AUTOLOGIC to support using
12163 SystemVerilog "logic" keyword instead of "wire"/"reg".
12164 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12165 to declares outputs that also have assignments (presumably in an
12166 ifdef or generate if so there's not a driver conflict).
12167 Reported by Matthew Myers.
12168 (verilog-auto-declare-nettype, verilog-insert-definition):
12169 Add verilog-auto-declare-nettype to fix declarations using
12170 `default_nettype none. Reported by Julian Gorfajn.
12171 (verilog-read-always-signals-recurse, verilog-read-decls)
12172 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12173 malformed end statement, bug325. Reported by Joshua Wise and
12174 Andrew Drake.
12175 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12176 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12177 when expanding .* in interfaces, bug320.
12178 Reported by Pierre-David Pfister.
12179 (verilog-read-module-name): Fix import statements between module
12180 name and open parenthesis, bug317.
12181 Reported by Pierre-David Pfister.
12182 (verilog-simplify-range-expression): Fix simplification of
12183 multiplications inside AUTOWIRE connections, bug303.
12184 (verilog-auto-inst-port): Support parameter expansion in
12185 multidimensional arrays.
12186 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12187 after "assert property". Reported by Julian Gorfajn.
12188 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12189 with multiplication, bug303.
12190 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12191 Reported by Jan Frode Lonnum.
12192
12193 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12194
12195 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12196 (hfy-shell-file-name, hfy-shell):
12197 * international/fontset.el (x-decompose-font-name): Fix typos.
12198
12199 2011-11-29 Ken Brown <kbrown@cornell.edu>
12200
12201 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12202 (gdb-version): Remove defvar.
12203 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12204 (gdb-gud-context-command, gdb-non-stop-handler)
12205 (gdb-current-context-command, gdb-stopped): Use it.
12206 (gdb-init-1): Enable pretty printing here.
12207 (gdb-non-stop-handler): Don't enable pretty-printing here.
12208 Check to see if the target supports non-stop mode; if not, turn off
12209 non-stop mode. Use the following.
12210 (gdb-check-target-async): New defun.
12211 (gud-watch, gdb-stopped): Fix whitespace.
12212 (gdb-get-source-file): Don't try to display the source file if
12213 `gdb-main-file' is nil.
12214
12215 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * align.el: Try to generate fewer markers (bug#10047).
12218 (align--set-marker): New macro.
12219 (align-region): Use it.
12220
12221 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12222
12223 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12224
12225 2011-11-29 Chong Yidong <cyd@gnu.org>
12226
12227 * indent.el (indent-for-tab-command, indent-according-to-mode):
12228 Doc fix.
12229 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12230
12231 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12232
12233 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12234 aware of remote file names. (Bug#10124)
12235
12236 2011-11-29 Chong Yidong <cyd@gnu.org>
12237
12238 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12239
12240 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12241
12242 * files.el (find-file): Don't use force-same-window (bug#10144).
12243 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12244 use pop-to-buffer if the selected window can't be used.
12245 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12246
12247 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12248
12249 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12250 special-mode-map.
12251
12252 2011-11-28 Chong Yidong <cyd@gnu.org>
12253
12254 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12255
12256 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12257
12258 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12259 gdb-get-source-file-list on gdb-create-source-file-list.
12260
12261 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12262
12263 * whitespace.el (whitespace-newline): Use a different foreground
12264 color for 16-color light-background displays.
12265
12266 2011-11-24 Chong Yidong <cyd@gnu.org>
12267
12268 * window.el (display-buffer--special-action): Doc fix.
12269
12270 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12271
12272 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12273 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12274 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12275 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12276 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12277 (avl-tree-stack-first):
12278 * emacs-lisp/cconv.el (cconv--analyse-use):
12279 * net/gnutls.el (gnutls-negotiate): Fix typos.
12280
12281 2011-11-24 Glenn Morris <rgm@gnu.org>
12282
12283 * lpr.el (lpr-windows-system, lpr-lp-system):
12284 * mail/binhex.el (binhex-begin-line):
12285 * progmodes/grep.el (grep-history, grep-find-history):
12286 * textmodes/flyspell.el:
12287 * vc/pcvs-defs.el (cvs-global-menu):
12288 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12289 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12290 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12291
12292 * net/tls.el: Fix case of "GnuTLS".
12293
12294 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12295
12296 * version.el (emacs-build-system): Give it a doc-string.
12297
12298 2011-11-24 Juri Linkov <juri@jurta.org>
12299
12300 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12301
12302 2011-11-24 Glenn Morris <rgm@gnu.org>
12303
12304 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12305 if called on a non-mime message just toggle the headers. (Bug#8006)
12306
12307 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12308
12309 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12310 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12311 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12312 (allout-rebullet-heading, allout-open-sibtopic)
12313 (allout-toggle-current-subtree-encryption)
12314 (allout-toggle-subtree-encryption, allout-encrypt-string)
12315 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12316 (allout-distinctive-bullets-string, allout-auto-activation):
12317 * window.el (window-normalize-buffer-to-display):
12318 * progmodes/verilog-mode.el (verilog-batch-indent):
12319 * textmodes/bibtex.el (bibtex-field-braces-opt)
12320 (bibtex-field-strings-opt):
12321 * vc/cvs-status.el (cvs-tree-merge):
12322 Fix typos.
12323
12324 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12325
12326 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12327 `non-essential' to t, in order to avoid remote connections.
12328
12329 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12330
12331 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12332 On MS-DOS and MS-Windows, compare with loaddefs.el
12333 case-insensitively.
12334
12335 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12336
12337 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12338
12339 2011-11-23 Glenn Morris <rgm@gnu.org>
12340
12341 * paths.el (rmail-file-name): Reformat the doc-string so that it
12342 is picked up.
12343
12344 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12345 (rmail-auto-file): Ignore case in the "special" field names,
12346 as mail-fetch-field does for all others.
12347
12348 * mail/rmail.el (rmail-forward):
12349 * mail/rmailkwd.el (rmail-set-label):
12350 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12351 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12352
12353 * mail/rmail.el (rmail-current-message): Doc fix.
12354
12355 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12356
12357 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12358
12359 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12360
12361 2011-11-22 Glenn Morris <rgm@gnu.org>
12362
12363 * mail/rmailmm.el (test-rmail-mime-handler)
12364 (test-rmail-mime-bulk-handler)
12365 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12366
12367 2011-11-21 Juri Linkov <juri@jurta.org>
12368
12369 * calc/calc.el (calc-read-key-sequence):
12370 Let-bind `input-method-function' to nil. (Bug#10018)
12371
12372 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12373
12374 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12375 Tell the caller that the next line needs recomputation, even
12376 though it doesn't start a sexp (bug#10094).
12377
12378 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12381
12382 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12383
12384 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12385 Use force-same-window.
12386
12387 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12388
12389 * descr-text.el (describe-char-unicode-data):
12390 * json.el (json-string-escape):
12391 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12392 (Footnote-unicode, Footnote-style-p):
12393 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12394
12395 2011-11-20 Chong Yidong <cyd@gnu.org>
12396
12397 * window.el (replace-buffer-in-windows): Restore interactive spec.
12398
12399 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12402
12403 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12404 (byte-compile-global-not-obsolete-vars): New var.
12405 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12406 Use it.
12407 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12408
12409 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12410
12411 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12412 * progmodes/pascal.el (electric-pascal-equal):
12413 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12414 * xml.el (xml-substitute-special): Fix typos.
12415
12416 2011-11-20 Glenn Morris <rgm@gnu.org>
12417
12418 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12419 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12420 Doc fixes.
12421 (rmail-decode-mime-charset): Mark as obsolete.
12422
12423 * mail/rmailsum.el (rmail-message-regexp-p-1):
12424 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12425 Before using mime functions, check they are set. (Bug#10077)
12426
12427 2011-11-19 Juri Linkov <juri@jurta.org>
12428
12429 * info.el (Info-finder-find-node): Use `package--builtins' instead
12430 of `package-alist'. Use node names formed by the pattern "Keyword "
12431 and the keyword name.
12432
12433 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12434
12435 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12436
12437 2011-11-19 Juri Linkov <juri@jurta.org>
12438
12439 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12440 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12441 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12442 `old-history', `old-history-forward'. Add let-binding
12443 `window-selected'. Remove calls to `kill-buffer',
12444 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12445 before calling `Info-find-node', so `Info-find-node-2' will reread
12446 the Info file. Restore window positions only when `window-selected'
12447 is non-nil.
12448
12449 2011-11-19 Juri Linkov <juri@jurta.org>
12450
12451 * isearch.el (isearch-lazy-highlight-new-loop):
12452 Remove condition `(not isearch-error)'. (Bug#9918)
12453
12454 * misearch.el (multi-isearch-search-fun): Add condition
12455 `(not bound)' to ignore lazy-highlighting search.
12456 Add the search-failed message "end of multi" when the end of
12457 multi-sequence is reached. Uncapitalize the search-failed
12458 message "Repeat for next buffer".
12459
12460 * info.el (Info-search): Add the search-failed message
12461 "end of the manual" when the end of the manual is reached
12462 in Isearch mode.
12463
12464 2011-11-19 Juri Linkov <juri@jurta.org>
12465
12466 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12467 Use non-destructive `remove' instead of `delete' because
12468 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12469 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12470
12471 2011-11-19 Juri Linkov <juri@jurta.org>
12472
12473 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12474 to nil instead of binding `search-ring' and `regexp-search-ring'.
12475 (Bug#9185)
12476
12477 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12478
12479 * simple.el (line-move): Force movement by logical lines for any
12480 hscrolled window, not only when auto-hscroll-mode is on.
12481 (line-move-visual): Update doc string to that effect. (Bug#10076)
12482
12483 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12484
12485 * language/european.el (macintosh): Define as alias for mac-roman.
12486
12487 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12488
12489 * mail/rmailmm.el (rmail-mime-display-header)
12490 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12491 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12492 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12493 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12494 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12495 of a raw aref.
12496 (rmail-mime-entity-segment): To get past the tagline, move forward
12497 2 more lines, to account for the 2 empty lines that precede and
12498 follow the line with the buttons.
12499 (rmail-mime-update-tagline): Move one more line, to get past the
12500 empty line that follows the buttons in the tagline. (Bug#9520)
12501
12502 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12503
12504 * window.el (window-max-delta-1, window-min-delta-1)
12505 (window-min-size-1, window-state-get-1, window-state-put-1)
12506 (window-state-put-2): Use "window--" prefix.
12507
12508 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12509
12510 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12511 (smie-warning-count): New var.
12512 (smie-set-prec2tab): Use it.
12513 (smie-bnf->prec2): Improve warnings. Add docstring.
12514 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12515 (smie-bnf--set-class): New function.
12516 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12517 corner case.
12518
12519 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12520 (compilation-error-properties, compilation-move-to-column):
12521 Handle compilation-first-column while in the target buffer.
12522
12523 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12524 Don't hardcode point-min==1.
12525
12526 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12527 (eshell-rewrite-for-command): Remove workaround.
12528 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12529 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12530 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12531
12532 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12533
12534 2011-11-17 Glenn Morris <rgm@gnu.org>
12535
12536 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12537 Ignore buffer-local generated-autoload-file if it is the same
12538 as the global value. (Bug#10049)
12539
12540 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12541
12542 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12543 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12544 (reftex-toc-previous-heading, reftex-toc-max-level)
12545 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12546 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12547 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12548 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12549 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12550 (reftex-toc-rename-label, reftex-toc-visit-location)
12551 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12552 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12553 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12554 leaving "*toc*" only for references to the buffer.
12555
12556 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12557
12558 * window.el (window-resize, delete-window, split-window):
12559 Replace window-splits by window-combination-resize.
12560 * cus-start.el (window-splits): Replace by window-combination-resize.
12561
12562 2011-11-17 Glenn Morris <rgm@gnu.org>
12563
12564 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12565 Make bash entry derive from sh entry, not shell entry.
12566
12567 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12568
12569 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12570 local file name.
12571
12572 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12573
12574 * menu-bar.el (menu-bar-file-menu):
12575 * printing.el (pr-ps-utility):
12576 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12577 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12578 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12579 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12580 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12581 (icalendar--convert-cyclic-to-ical)
12582 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12583 (icalendar--convert-ical-to-diary)
12584 (icalendar--convert-recurring-to-diary)
12585 (icalendar--convert-non-recurring-all-day-to-diary)
12586 (icalendar-import-format-sample):
12587 * progmodes/idlw-shell.el (idlwave-shell-mode):
12588 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12589 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12590 (vhdl-ps-print-init): Fix typos.
12591
12592 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12593
12594 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12595 FSF and collapse date sequence, obscure author/maintainer email address
12596 better, remove extra version line, track relocation of author's webpage.
12597
12598 * progmodes/python.el (python-pdbtrack-input-prompt)
12599 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12600 regular python pdb prompts. Adjustments shamelessly taken exactly as
12601 suggested in EmacsWiki page (tiny change):
12602 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12603
12604 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12605
12606 * expand.el (expand-pos, expand-index, expand-point):
12607 Remove redundant info from docstring.
12608 (expand-add-abbrevs): Doc fix.
12609 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12610 (expand-sample-perl-mode-expand-list): Fix typos.
12611
12612 * net/dbus.el (dbus-event-member-name):
12613 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12614 * term/pc-win.el (msdos-create-frame-with-faces):
12615 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12616
12617 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12618
12619 * window.el (split-window, window-state-get-1)
12620 (window-state-put-1, window-state-put-2): Rename occurrences of
12621 window-nest to window-combination-limit.
12622 * cus-start.el (window-nest): Rename to window-combination-limit.
12623
12624 2011-11-16 Chong Yidong <cyd@gnu.org>
12625
12626 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12627 regexp (Bug#10033).
12628
12629 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12630
12631 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12632 `completing-read' will remove *Completions* and will preserve
12633 current-buffer for us.
12634 (tmm-add-prompt): Users of *Completions* will always (re)set its
12635 major mode.
12636 (tmm-old-comp-map): Remove.
12637
12638 2011-11-16 Glenn Morris <rgm@gnu.org>
12639
12640 * mail/rmailedit.el: Require rmailmm when compiling.
12641 (rmail-old-mime-state): New declaration.
12642 (rmail-edit-current-message): If editing a mime message,
12643 edit the "raw" message from the mbox buffer.
12644 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12645
12646 2011-11-15 Glenn Morris <rgm@gnu.org>
12647
12648 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12649 which wasn't being used. Add optional arg to force given state.
12650 (rmail-mime): Add optional arg to force given state.
12651
12652 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12653
12654 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12655 * frame.el (display-mm-dimensions-alist):
12656 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12657 (outline-move-subtree-down):
12658 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12659 (newsticker--treeview-do-get-node):
12660 * net/quickurl.el (quickurl-list-buffer-name):
12661 * progmodes/dcl-mode.el (dcl-mode):
12662 * progmodes/gdb-mi.el (gdb-mapcar*):
12663 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12664
12665 2011-11-15 Glenn Morris <rgm@gnu.org>
12666
12667 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12668 in a boolean sense, so just make it a boolean, and fix the doc.
12669 (rmail-show-mime-function, rmail-mime-feature)
12670 (rmail-require-mime-maybe): Doc fixes.
12671 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12672
12673 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12674
12675 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12676
12677 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12678 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12679 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12680 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12681
12682 2011-11-15 Glenn Morris <rgm@gnu.org>
12683
12684 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12685 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12686 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12687 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12688 (rmail-mime, rmail-show-mime): Doc fixes.
12689
12690 * term/ns-win.el (mode-line-frame-identification):
12691 Leave it alone. (Bug#10051)
12692
12693 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12694
12695 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12696 Handle empty buffers. (Bug#9978)
12697
12698 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12699
12700 * international/mule.el (define-charset):
12701 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12702 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12703 * progmodes/verilog-mode.el (verilog-backward-token):
12704 * textmodes/ispell.el (lookup-words):
12705 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12706
12707 2011-11-14 Glenn Morris <rgm@gnu.org>
12708
12709 * progmodes/executable.el
12710 (executable-make-buffer-file-executable-if-script-p):
12711 Handle file-modes returning nil.
12712
12713 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12714 message - not necessary, and causes problems. (Bug#9831)
12715
12716 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12717
12718 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12719
12720 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12721 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12722 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12723
12724 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12725
12726 * window.el (window-resize, delete-window): Use window-splits
12727 variable instead of function.
12728 (window-state-get-1, window-state-put-2, window-state-put):
12729 Don't deal with windows' splits status.
12730
12731 2011-11-12 Glenn Morris <rgm@gnu.org>
12732
12733 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12734 (apropos-documentation): Doc fixes.
12735
12736 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12737
12738 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12739 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12740
12741 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12742
12743 * electric.el (electric-indent-post-self-insert-function): Make it
12744 possible for a char to only indent in some circumstances.
12745 (electric-indent-mode): Simplify.
12746
12747 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12748
12749 * window.el (windows-with-parameter): Remove unused function.
12750 (windows-at-side): Rename to window-at-side-list.
12751 (window-check, window-atom-check, window-atom-check-1)
12752 (window-side-check, window-size-ignore, window-size-fixed-1)
12753 (window-in-direction-2): Prefix with "window--".
12754 (window-tree-1): Rename to window--subtree, fix doc-string.
12755
12756 2011-11-11 Glenn Morris <rgm@gnu.org>
12757
12758 * subr.el (eval-after-load): If FILE is already loaded,
12759 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12760
12761 2011-11-10 Glenn Morris <rgm@gnu.org>
12762
12763 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12764 Call svn via vc-svn-command rather than vc-do-command.
12765 (vc-svn-command): Add --non-interactive. (Bug#9993)
12766 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12767
12768 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12769 Add toggle-read-only. (Bug#7292)
12770 * files.el (toggle-read-only): Mention that it should only
12771 be used interactively. (Bug#10006)
12772
12773 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12774
12775 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12776 Adjust regexp for OCaml warnings.
12777
12778 * electric.el (electric-pair-post-self-insert-function): Let user
12779 turn it off buffer-locally (bug#9932).
12780
12781 * progmodes/python.el (python-beginning-of-statement):
12782 Rewrite (bug#2703).
12783
12784 * progmodes/compile.el: Better handle TABs (bug#9749).
12785 (compilation-internal-error-properties)
12786 (compilation-next-error-function): Obey the target buffer's
12787 compilation-error-screen-columns.
12788
12789 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12790
12791 * progmodes/meta-mode.el: Remove obsolete comments.
12792 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12793 Fix typos in docstrings.
12794
12795 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12796
12797 * window.el (window-size-fixed-p): Rewrite doc-string.
12798 (window-resizable-p): Rename to window--resizable-p. Update callers.
12799 (window--resizable): New function. Make all callers of
12800 window-resizable call window--resizable instead.
12801 (window-resizable): Rewrite in terms of window--resizable.
12802
12803 2011-11-08 Glenn Morris <rgm@gnu.org>
12804
12805 * progmodes/delphi.el (delphi-mode-syntax-table):
12806 Let define-derived-mode define a proper syntax table. (Bug#9994)
12807
12808 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * window.el: Stay away from defsubst.
12811 (window-list-no-nils): Remove.
12812 (window-state-get-1, window-state-get): Use backquote instead.
12813
12814 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12815
12816 * emacs-lisp/find-func.el (find-function-read):
12817 Fix incorrect use of default argument in `completing-read'.
12818
12819 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12820
12821 * window.el (display-buffer-function, special-display-function):
12822 Mention display-buffer-record-window but do not mention
12823 help-setup parameter in doc-strings.
12824 (window-min-delta): Fix doc-string typo.
12825
12826 2011-11-08 Chong Yidong <cyd@gnu.org>
12827
12828 * window.el (window-total-height, window-total-width): Doc fix.
12829 (window-body-size): Move from C.
12830 (window-body-height, window-body-width): Move to C.
12831
12832 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12833
12834 * window.el: Make special-display like display-buffer-alist (bug#9532).
12835 (display-buffer--special-action): New function, morphed
12836 from display-buffer--special.
12837 (display-buffer): Use it to handle special-display-buffers at higher
12838 priority (just after display-buffer-alist).
12839 (display-buffer-fallback-action, display-buffer--other-frame-action)
12840 (pop-to-buffer-same-window): Remove display-buffer--special.
12841
12842 2011-11-07 Glenn Morris <rgm@gnu.org>
12843
12844 * calendar/cal-menu.el (cal-menu-set-date-title):
12845 Do nothing if not in a calendar. (Bug#9976)
12846
12847 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12848
12849 * files.el (find-file): Always use selected-window.
12850
12851 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12852
12853 * window.el (window-combinations): Make WINDOW argument
12854 mandatory. Rewrite doc-string.
12855 (walk-window-subtree, window-atom-check, window-min-delta)
12856 (window-max-delta, window--resize-this-window)
12857 (window--resize-root-window-vertically, window-tree)
12858 (balance-windows, window-state-put): Rewrite doc-strings as to
12859 not mention the term "subwindow".
12860 (window--resize-subwindows-skip-p): Rename to
12861 window--resize-child-windows-skip-p.
12862 (window--resize-subwindows-normal): Rename to
12863 window--resize-child-windows-normal.
12864 (window--resize-subwindows): Rename to
12865 window--resize-child-windows.
12866 (window-or-subwindow-p): Rename to window--in-subtree-p.
12867
12868 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12869
12870 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12871 Ensure that mbox format messages end in two newlines (Bug#9974).
12872
12873 2011-11-06 Chong Yidong <cyd@gnu.org>
12874
12875 * window.el (window-combination-p): Function deleted; its
12876 side-effect is not used in any existing code.
12877 (window-combinations, window-combined-p): Call window-*-child
12878 directly.
12879
12880 2011-11-05 Chong Yidong <cyd@gnu.org>
12881
12882 * window.el (window-valid-p): Rename from window-any-p.
12883 (window-size-ignore, window-state-get): Callers changed.
12884 (window-normalize-window): Rename from window-normalize-any-window.
12885 New arg LIVE-ONLY, replacing window-normalize-live-window.
12886 (window-normalize-live-window): Delete.
12887 (window-combination-p, window-combined-p, window-combinations)
12888 (walk-window-subtree, window-atom-root, window-min-size)
12889 (window-sizable, window-sizable-p, window-size-fixed-p)
12890 (window-min-delta, window-max-delta, window-resizable)
12891 (window-resizable-p, window-full-height-p, window-full-width-p)
12892 (window-current-scroll-bars, window-point-1, set-window-point-1)
12893 (window-at-side-p, window-in-direction, window-resize)
12894 (adjust-window-trailing-edge, maximize-window, minimize-window)
12895 (window-deletable-p, delete-window, delete-other-windows)
12896 (record-window-buffer, unrecord-window-buffer)
12897 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12898 (quit-window, split-window, window-state-put)
12899 (set-window-text-height, fit-window-to-buffer)
12900 (shrink-window-if-larger-than-buffer): Callers changed.
12901
12902 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12903
12904 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12905 rfc2047-decode-string.
12906 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12907 warnings.
12908
12909 * window.el (window-body-height, window-body-width): Mention in
12910 the doc string that the return values are in frame's canonical
12911 units. (Bug#9949)
12912
12913 2011-11-03 Alan Mackenzie <acm@muc.de>
12914
12915 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12916 change in cc-engine.el.
12917
12918 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12919
12920 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12921
12922 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12923
12924 * window.el (quit-window): Call unrecord-window-buffer after
12925 showing another buffer in the window. (Bug#9937)
12926 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12927
12928 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12929
12930 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12931 Accept status with more than 9 shelves. (Bug#9935)
12932 Reported by Colin D Bennett <colin@gibibit.com>.
12933
12934 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12935
12936 * help.el (with-help-window): Don't reference
12937 temp-buffer-show-specifiers in doc-string.
12938
12939 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12940
12941 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12942 menu-item.
12943
12944 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12945
12946 * whitespace.el: New version 13.2.2.
12947 (whitespace-newline-mode): Disable properly. Reported by Sarah
12948 <EmacsWiki>.
12949
12950 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12951
12952 * net/newst-treeview.el: Remove "Time-stamp".
12953 (newsticker--group-manage-orphan-feeds): Do not call
12954 newsticker--treeview-tree-update.
12955 (newsticker-treeview-update, newsticker-treeview):
12956 Call newsticker--treeview-tree-update if necessary.
12957
12958 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12959
12960 * window.el (window-iso-combination-p, window-iso-combined-p)
12961 (window-iso-combinations): Remove "iso-" infix.
12962 Suggested by Chong Yidong.
12963 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12964 (window-max-delta-1, window-resize, window--resize-siblings)
12965 (window--resize-this-window, adjust-window-trailing-edge)
12966 (split-window, balance-windows-1)
12967 (shrink-window-if-larger-than-buffer):
12968 * calendar/calendar.el (calendar-generate-window):
12969 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12970
12971 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12972
12973 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12974 in place (bug#9907).
12975 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12976 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12977 (eshell-structure-basic-command, eshell-rewrite-while-command)
12978 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12979 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12980 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12981 (eshell-do-pipelines-synchronously, eshell-eval-command):
12982 Use backquotes and prefer setq to set.
12983 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12984 (eshell-macrop): Use functionp.
12985 (eshell-do-eval): Handle multiple expressions in `while' body.
12986
12987 2011-10-30 Chong Yidong <cyd@gnu.org>
12988
12989 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12990 instead of set-mark (Bug#9810).
12991
12992 2011-10-30 Chong Yidong <cyd@gnu.org>
12993
12994 * window.el (split-window-below, split-window-right): Rename from
12995 split-window-above-each-other and split-window-side-by-side
12996 respectively. All callers changed.
12997 (split-window-sensibly, split-window-sensibly): Use them.
12998 (split-window-keep-point): Doc fix.
12999
13000 * isearch.el: Add isearch-scroll property to split-window-below
13001 and split-window-right.
13002
13003 * follow.el (follow-mode):
13004 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13005 * progmodes/ada-xref.el (ada-gdb-application):
13006 * emulation/vip.el (vip-buffer-in-two-windows):
13007 * image-dired.el (image-dired-dired-with-window-configuration):
13008 * dired-x.el (dired-do-find-marked-files):
13009 * dired.el (dired-pop-to-buffer):
13010 * bs.el (bs--show-with-configuration):
13011 * vc/emerge.el (emerge-setup-windows):
13012 * textmodes/two-column.el (2C-two-columns):
13013 * textmodes/reftex-toc.el (reftex-toc):
13014 * progmodes/gdb-mi.el (gdb-setup-windows):
13015 * progmodes/fortran.el (fortran-window-create):
13016 * net/newst-treeview.el (newsticker--treeview-window-init):
13017 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13018 * emulation/tpu-edt.el (tpu-gold-map):
13019 * emulation/crisp.el (crisp-mode-map):
13020 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13021
13022 2011-10-29 Chong Yidong <cyd@gnu.org>
13023
13024 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13025
13026 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13027
13028 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13029 forged Ispell output (Bug#7904).
13030
13031 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13032
13033 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13034
13035 * doc-view.el: Avoid ugly errors about not finding nil.
13036 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13037 (doc-view-dvipdf-program, doc-view-unoconv-program)
13038 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13039 Avoid nil or absolute file name as default value.
13040 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13041
13042 2011-10-28 Alan Mackenzie <acm@muc.de>
13043
13044 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13045
13046 2011-10-28 Alan Mackenzie <acm@muc.de>
13047
13048 Amend the handling of c-beginning/end-of-defun in nested declaration
13049 scopes.
13050
13051 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13052 cc-langs.el. Change it to a defcustom.
13053
13054 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13055 cc-vars.el.
13056
13057 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13058 Prevent "class foo : bar" being spuriously recognized as a label.
13059
13060 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13061 Add parameter `inclusive' (to include enclosing braces in the region).
13062 (c-widen-to-enclosing-decl-scope): New function.
13063 (c-while-widening-to-decl-block): New macro.
13064 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13065 outward for defun boundaries, and correspondingly change symbol
13066 `respect-enclosure' to `go-outward'.
13067 (c-declaration-limits): Change algorithm to report only the "innermost"
13068 defun's boundaries.
13069
13070 2011-10-28 Deniz Dogan <deniz@dogan.se>
13071
13072 * net/rcirc.el (rcirc-mode): Use hard newlines.
13073
13074 2011-10-28 Alan Mackenzie <acm@muc.de>
13075
13076 Amend to indent and fontify macros "which include their own semicolon"
13077 correctly, using the "virtual semicolon" mechanism.
13078
13079 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13080
13081 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13082 Recode to scan one line at a time rather than having \n and \r
13083 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13084 (c-forward-label): Amend for virtual semicolons.
13085 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13086
13087 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13088 of the new C macros.
13089
13090 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13091 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13092 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13093 (c-opt-cpp-macro-define): Make into a full language variable.
13094 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13095 AWK Mode (including \n, \r) removed, no longer needed.
13096
13097 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13098 Invoke c-make-macro-with-semi-re.
13099
13100 * progmodes/cc-vars.el (c-macro-with-semi-re):
13101 (c-macro-names-with-semicolon): New variables.
13102 (c-make-macro-with-semi-re): New function.
13103
13104 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13105
13106 * vc/log-edit.el: Fill empty field rather than adding new one.
13107 (log-edit-add-field): New function.
13108 (log-edit-insert-changelog): Use it.
13109
13110 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13111
13112 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13113
13114 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13115
13116 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13117 (gdb--check-interpreter): New function.
13118 (gdb): Use it.
13119
13120 2011-10-27 Glenn Morris <rgm@gnu.org>
13121
13122 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13123 (least-positive-float, least-negative-float)
13124 (least-positive-normalized-float, least-negative-normalized-float)
13125 (float-epsilon, float-negative-epsilon):
13126 Remove unnecessary declarations.
13127
13128 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13129 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13130 (least-positive-float, least-negative-float)
13131 (least-positive-normalized-float, least-negative-normalized-float)
13132 (float-epsilon, float-negative-epsilon): Add doc-strings,
13133 based on those in cl.texi.
13134
13135 * files.el (set-visited-file-name): If the major-mode changed,
13136 reload the local variables. (Bug#9796)
13137
13138 2011-10-27 Chong Yidong <cyd@gnu.org>
13139
13140 * subr.el (change-major-mode-after-body-hook): New hook.
13141 (run-mode-hooks): Run it.
13142
13143 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13144 Use change-major-mode-before-body-hook.
13145
13146 * simple.el (fundamental-mode):
13147 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13148 change introducing fundamental-mode-hook.
13149
13150 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13151
13152 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13153
13154 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13155
13156 * ido.el (ido-file-name-all-completions-1): Do not require
13157 tramp.el explicitly. (Bug#7583)
13158
13159 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13160
13161 * progmodes/octave-mod.el:
13162 * progmodes/octave-inf.el: Update maintainer.
13163
13164 2011-10-26 Chong Yidong <cyd@gnu.org>
13165
13166 * subr.el (with-wrapper-hook): Rewrite doc.
13167
13168 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13169
13170 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13171 filenames "/method:foo:". (Bug#9793)
13172
13173 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13174
13175 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13176 (bug#9865).
13177
13178 2011-10-24 Glenn Morris <rgm@gnu.org>
13179
13180 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13181
13182 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13183
13184 * notifications.el: Add the requirement of a running D-Bus session
13185 bus to the Commentary.
13186
13187 2011-10-24 Juri Linkov <juri@jurta.org>
13188
13189 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13190 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13191 (Bug#9364)
13192
13193 2011-10-24 Juri Linkov <juri@jurta.org>
13194
13195 * info.el (Info-following-node-name-re): Add newline to the list
13196 of allowed characters for leading space. (Bug#9824)
13197
13198 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13199
13200 * progmodes/octave-inf.el (inferior-octave-mode-map):
13201 Fix C-c C-h binding.
13202 * progmodes/octave-mod.el (octave-help): Remove.
13203
13204 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13205
13206 Sync with Tramp 2.2.3.
13207
13208 * net/tramp-cache.el (top): Pacify byte-compiler using
13209 `init-file-user' and `site-run-file'.
13210
13211 * net/trampver.el: Update release number.
13212
13213 2011-10-23 Chong Yidong <cyd@gnu.org>
13214
13215 * files.el (toggle-read-only): Remove obsolete comment about
13216 version control.
13217
13218 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13219 for toggle-read-only. Note that this hasn't called vc-next-action
13220 since 2008-05-02, though it wasn't documented at the time.
13221
13222 * vc/ediff-init.el (ediff-toggle-read-only-function):
13223 Use toggle-read-only.
13224
13225 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13226
13227 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13228 of c-parse-state.
13229
13230 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13231 correct faulty logical expression.
13232 (c-parse-state-state, c-record-parse-state-state):
13233 (c-replay-parse-state-state): New defvar/defuns.
13234 (c-debug-parse-state): Use new functions.
13235
13236 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13237
13238 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13239 last fix. Use window-in-direction correctly.
13240
13241 2011-10-21 Chong Yidong <cyd@gnu.org>
13242
13243 * progmodes/idlwave.el (idlwave-mode):
13244 * progmodes/vera-mode.el (vera-mode): No need to set
13245 require-final-newline; that's done in prog-mode.
13246 Suggested by Stefan Monnier.
13247
13248 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13249
13250 * mouse.el (mouse-drag-window-above)
13251 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13252 (mouse-drag-mode-line-1, mouse-drag-header-line)
13253 (mouse-drag-vertical-line-rightward-window): Remove.
13254 (mouse-drag-line): New function.
13255 (mouse-drag-mode-line, mouse-drag-header-line)
13256 (mouse-drag-vertical-line): Call mouse-drag-line.
13257 * window.el (window-at-side-p, windows-at-side): New functions.
13258
13259 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13260
13261 * tar-mode.el (tar-grind-file-mode):
13262 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13263
13264 2011-10-21 Chong Yidong <cyd@gnu.org>
13265
13266 * progmodes/idlwave.el (idlwave-mode):
13267 * progmodes/vera-mode.el (vera-mode):
13268 Use mode-require-final-newline.
13269
13270 2011-10-20 Glenn Morris <rgm@gnu.org>
13271
13272 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13273
13274 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13275
13276 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13277
13278 2011-10-20 Chong Yidong <cyd@gnu.org>
13279
13280 * emulation/cua-base.el (cua-mode):
13281 * mail/footnote.el (footnote-mode):
13282 * mail/mailabbrev.el (mail-abbrevs-mode):
13283 * net/xesam.el (xesam-minor-mode):
13284 * progmodes/bug-reference.el (bug-reference-mode):
13285 * progmodes/cap-words.el (capitalized-words-mode):
13286 * progmodes/compile.el (compilation-minor-mode)
13287 (compilation-shell-minor-mode):
13288 * progmodes/gud.el (gud-tooltip-mode):
13289 * progmodes/hideif.el (hide-ifdef-mode):
13290 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13291 * progmodes/subword.el (subword-mode):
13292 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13293 * progmodes/which-func.el (which-function-mode):
13294 * term/tvi970.el (tvi970-set-keypad-mode):
13295 * term/vt100.el (vt100-wide-mode):
13296 * textmodes/flyspell.el (flyspell-mode):
13297 * textmodes/ispell.el (ispell-minor-mode):
13298 * textmodes/nroff-mode.el (nroff-electric-mode):
13299 * textmodes/paragraphs.el (use-hard-newlines):
13300 * textmodes/refill.el (refill-mode):
13301 * textmodes/reftex.el (reftex-mode):
13302 * textmodes/rst.el (rst-minor-mode):
13303 * textmodes/sgml-mode.el (html-autoview-mode)
13304 (sgml-electric-tag-pair-mode):
13305 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13306 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13307 * emulation/crisp.el (crisp-mode):
13308 * emacs-lisp/eldoc.el (eldoc-mode):
13309 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13310 minor mode behavior.
13311
13312 2011-10-19 Juri Linkov <juri@jurta.org>
13313
13314 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13315 the list of hard-coded chars with escape-glyph face.
13316
13317 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13318
13319 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13320
13321 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13322
13323 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13324 running process.
13325
13326 2011-10-19 Glenn Morris <rgm@gnu.org>
13327
13328 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13329 Ignore ignored files. (Bug#9726)
13330
13331 2011-10-19 Chong Yidong <cyd@gnu.org>
13332
13333 Doc fix for minor modes, stating that an omitted argument enables
13334 the mode unconditionally when called from Lisp.
13335
13336 * abbrev.el (abbrev-mode):
13337 * allout.el (allout-mode):
13338 * autoinsert.el (auto-insert-mode):
13339 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13340 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13341 (global-auto-revert-mode):
13342 * battery.el (display-battery-mode):
13343 * composite.el (global-auto-composition-mode)
13344 (auto-composition-mode):
13345 * delsel.el (delete-selection-mode):
13346 * desktop.el (desktop-save-mode):
13347 * dired-x.el (dired-omit-mode):
13348 * dirtrack.el (dirtrack-mode):
13349 * doc-view.el (doc-view-minor-mode):
13350 * double.el (double-mode):
13351 * electric.el (electric-indent-mode, electric-pair-mode):
13352 * emacs-lock.el (emacs-lock-mode):
13353 * epa-hook.el (auto-encryption-mode):
13354 * follow.el (follow-mode):
13355 * font-core.el (font-lock-mode):
13356 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13357 * help.el (temp-buffer-resize-mode):
13358 * hilit-chg.el (highlight-changes-mode)
13359 (highlight-changes-visible-mode):
13360 * hi-lock.el (hi-lock-mode):
13361 * hl-line.el (hl-line-mode, global-hl-line-mode):
13362 * icomplete.el (icomplete-mode):
13363 * ido.el (ido-everywhere):
13364 * image-file.el (auto-image-file-mode):
13365 * image-mode.el (image-minor-mode):
13366 * iswitchb.el (iswitchb-mode):
13367 * jka-cmpr-hook.el (auto-compression-mode):
13368 * linum.el (linum-mode):
13369 * longlines.el (longlines-mode):
13370 * master.el (master-mode):
13371 * mb-depth.el (minibuffer-depth-indicate-mode):
13372 * menu-bar.el (menu-bar-mode):
13373 * minibuf-eldef.el (minibuffer-electric-default-mode):
13374 * mouse-sel.el (mouse-sel-mode):
13375 * msb.el (msb-mode):
13376 * mwheel.el (mouse-wheel-mode):
13377 * outline.el (outline-minor-mode):
13378 * paren.el (show-paren-mode):
13379 * recentf.el (recentf-mode):
13380 * reveal.el (reveal-mode, global-reveal-mode):
13381 * rfn-eshadow.el (file-name-shadow-mode):
13382 * ruler-mode.el (ruler-mode):
13383 * savehist.el (savehist-mode):
13384 * scroll-all.el (scroll-all-mode):
13385 * scroll-bar.el (scroll-bar-mode):
13386 * server.el (server-mode):
13387 * shell.el (shell-dirtrack-mode):
13388 * simple.el (auto-fill-mode, transient-mark-mode)
13389 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13390 (line-number-mode, column-number-mode, size-indication-mode)
13391 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13392 * strokes.el (strokes-mode):
13393 * time.el (display-time-mode):
13394 * t-mouse.el (gpm-mouse-mode):
13395 * tool-bar.el (tool-bar-mode):
13396 * tooltip.el (tooltip-mode):
13397 * type-break.el (type-break-mode-line-message-mode)
13398 (type-break-query-mode):
13399 * view.el (view-mode):
13400 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13401 (global-whitespace-mode, global-whitespace-newline-mode):
13402 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13403
13404 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13405 Fix autogenerated docstring.
13406
13407 2011-10-19 Juri Linkov <juri@jurta.org>
13408
13409 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13410 by checking environment variables "DESKTOP_SESSION" and
13411 "XDG_CURRENT_DESKTOP". (Bug#9779)
13412
13413 2011-10-19 Juri Linkov <juri@jurta.org>
13414
13415 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13416 (browse-url-chromium-program, browse-url-chromium-arguments):
13417 New defcustoms.
13418 (browse-url-default-browser): Check for `browse-url-chromium' and
13419 call `browse-url-chromium-program'.
13420 (browse-url-chromium): New command. (Bug#9779)
13421
13422 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13423
13424 * facemenu.el (list-colors-duplicates): On Windows, detect more
13425 duplicates by assuming that only colors matching "^System" are
13426 special "system colors". (Bug#9722)
13427
13428 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13429
13430 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13431 to distinguish the author from the committer.
13432
13433 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13434
13435 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13436
13437 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13438
13439 * international/mule.el (sgml-html-meta-auto-coding-function):
13440 Add support for detecting encoding in HTML5 specified only as
13441 <meta charset="UTF-8">. Implementation just makes http-equiv and
13442 content-type parts from HTML4 encoding string optional. (Bug#9716)
13443
13444 2011-10-18 Glenn Morris <rgm@gnu.org>
13445
13446 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13447
13448 2011-10-18 Chong Yidong <cyd@gnu.org>
13449
13450 * faces.el (cursor): Doc fix.
13451
13452 2011-10-17 Chong Yidong <cyd@gnu.org>
13453
13454 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13455
13456 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13457
13458 * dirtrack.el (dirtrack): Support shell buffers with path
13459 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13460
13461 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13462
13463 * json.el: Bump version to 1.3 and note change in History.
13464 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13465
13466 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * comint.el (comint-insert-input, comint-send-input)
13469 (comint-get-old-input-default, comint-backward-matching-input)
13470 (comint-next-prompt): Use nil instead of `input' for field property of
13471 past user input (bug#114).
13472
13473 * minibuffer.el (completion--replace): Inherit surrounding properties
13474 (bug#114).
13475 (minibuffer-complete-and-exit): Use it.
13476
13477 * comint.el (comint--table-subvert): Quote the all-completions output
13478 (bug#9160).
13479
13480 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13481
13482 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13483
13484 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13485 window on right of selected. (Bug#9350) Reword other window
13486 entries and separate them from frame entries.
13487
13488 2011-10-15 Glenn Morris <rgm@gnu.org>
13489
13490 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13491 Doc fixes.
13492
13493 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13494
13495 * net/network-stream.el (network-stream-open-starttls):
13496 Improve detection of failure due to lack of TLS support.
13497
13498 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13499 putting the input text in front and in bold.
13500
13501 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13502
13503 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13504
13505 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13506 empty buffer.
13507
13508 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13509 unread-command-events rather than pushing yet-another event.
13510
13511 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13512
13513 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13514 the explanation of the possible choices. Make the options passed
13515 to completing-read shorter.
13516
13517 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13518
13519 * textmodes/flyspell.el (flyspell-large-region): Make sure
13520 extended character mode is used if defined (Bug#1339).
13521
13522 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13523
13524 * simple.el (what-cursor-position): Fix the display of the
13525 character info for LRE, LRO, RLE, and RLO characters by appending
13526 an invisible PDF.
13527
13528 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13529
13530 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13531 even in case of error; add debug spec; simplify data flow.
13532 (with-timeout-handler): Remove.
13533
13534 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13535
13536 Fix Bug#6019, Bug#9315.
13537
13538 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13539 complete `buffer-file-name', the local file name part could look
13540 remotely (for example on VMS).
13541
13542 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13543 `tramp-run-real-handler'.
13544 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13545 already quoted by '"'.
13546
13547 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13548 Let `file-name-handler-alist' be nil, the local file name part
13549 could look remotely (for example on VMS).
13550
13551 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13552
13553 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13554 from here...
13555 (flyspell-post-command-hook): ...to here.
13556
13557 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13558
13559 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13560 if not needed.
13561 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13562 using completion. Protect against "slow" callers.
13563 Remove the "message hack".
13564
13565 2011-10-11 Juri Linkov <juri@jurta.org>
13566
13567 * isearch.el (isearch-lazy-highlight-word): New variable.
13568 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13569 Use it. (Bug#9727)
13570
13571 2011-10-11 Glenn Morris <rgm@gnu.org>
13572
13573 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13574 like f90-previous-statement does.
13575
13576 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13577
13578 * eshell/eshell.el (eshell-command): History should be saved
13579 only in interactive use, to avoid error.
13580
13581 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13582
13583 * minibuffer.el (completion-file-name-table): Fix last change,
13584 i.e. ignore normal errors but not the other ones.
13585
13586 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13587
13588 * window.el (special-display-buffer-names)
13589 (special-display-regexps): Remove some remnants of earlier
13590 changes from doc-strings.
13591 (quit-windows-on): New function.
13592
13593 * vc/vc.el (vc-revert, vc-rollback):
13594 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13595 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13596 (Bug#6183) (Bug#7074) (Bug#7447)
13597
13598 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13599
13600 * window.el (frame-auto-hide-function): Add version tag.
13601 (Bug#9699)
13602
13603 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13604
13605 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13606 condition.
13607
13608 2011-10-09 Leo Liu <sdl.web@gmail.com>
13609
13610 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13611 (Bug#9701)
13612
13613 2011-10-08 Glenn Morris <rgm@gnu.org>
13614
13615 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13616 before the first code statement zero indent. (Bug#9690)
13617
13618 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13619
13620 * simple.el (count-words-region): Always count in the region.
13621 Report the number of lines and characters too.
13622 (count-words): New command, which counts in the buffer if the
13623 region is inactive, as count-words-region used to.
13624 (count-words--message): New function. Handle plurals.
13625 (count-lines-region): Make it an alias for count-words-region.
13626
13627 * bindings.el (esc-map): Replace count-lines-region with
13628 count-words-region.
13629
13630 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13631
13632 * window.el (window--delete): Delete dedicated frame
13633 unconditionally when argument KILL is non-nil. (Bug#9699)
13634 (switch-to-buffer): Fix doc-string typo.
13635
13636 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13637
13638 * eshell/eshell.el (eshell-command): Avoid using hooks.
13639
13640 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13641
13642 * bindings.el ([M-left],[M-right]): Bind to left-word and
13643 right-word respectively.
13644
13645 2011-10-07 Glenn Morris <rgm@gnu.org>
13646
13647 * cus-start.el (debug-on-quit): Fix custom type.
13648
13649 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13650
13651 * subr.el (define-key-after): Clarify that the function is not
13652 useful for non-menu keymaps.
13653
13654 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13655
13656 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13657
13658 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13659 in current minibuffer (Fix bug with recursive minibuffers).
13660
13661 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13662
13663 * progmodes/gdb-mi.el (gdb): Doc fix.
13664
13665 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13666
13667 * window.el (frame-auto-hide-function): New option replacing
13668 frame-auto-delete. Suggested by Stefan Monnier.
13669 (window--delete): Call frame-auto-hide-function instead of
13670 investigating frame-auto-delete.
13671 (window-point-1, set-window-point-1): New functions.
13672 (window-in-direction, record-window-buffer, window-state-get-1)
13673 (display-buffer-record-window): Use window-point-1 instead of
13674 window-point.
13675 (set-window-buffer-start-and-point): Use set-window-point-1.
13676
13677 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13678
13679 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13680
13681 2011-10-05 Glenn Morris <rgm@gnu.org>
13682
13683 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13684 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13685
13686 2011-10-05 Leo Liu <sdl.web@gmail.com>
13687
13688 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13689 works with buffer object.
13690
13691 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13692
13693 * mpc.el (mpc-tool-bar-map): Add labels.
13694
13695 2011-10-04 Glenn Morris <rgm@gnu.org>
13696
13697 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13698
13699 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13700
13701 * window.el (window--delete): New function.
13702 (frame-auto-delete): Resuscitate option.
13703 (bury-buffer, replace-buffer-in-windows)
13704 (quit-window): Rewrite using window--delete.
13705 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13706 Pass display-buffer-mark-dedicated to window--display-buffer-2
13707 (Bug#9639).
13708
13709 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13710
13711 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13712 returns a list (bug#9554). Add remote file name completion.
13713 * comint.el (comint--table-subvert): Curry and get quote&unquote
13714 functions as arguments.
13715 (comint--complete-file-name-data): Adjust call accordingly.
13716 * pcomplete.el (pcomplete--table-subvert): Remove.
13717 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13718
13719 * minibuffer.el (completion-table-case-fold): Use currying.
13720 (completion--styles-type, completion--cycling-threshold-type):
13721 New constants.
13722 (completion-styles, completion-category-overrides)
13723 (completion-cycle-threshold): Use them.
13724 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13725 completion-table-case-fold.
13726
13727 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13728
13729 * minibuffer.el (completion-category-overrides): Fix type of styles
13730 and add more user friendly tags (bug#9660).
13731
13732 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13735 (mule-input-method-string): New widget.
13736 (default-input-method, language-info-custom-alist): Use it.
13737
13738 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * pcomplete.el: Require comint.
13741 (pcomplete--common-suffix): Remove.
13742 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13743 (pcomplete--table-subvert): Sync with comint--table-subvert.
13744 (pcomplete--entries): Use comint-completion-file-name-table.
13745 * comint.el (comint-unquote-filename): Simplify.
13746 (comint-completion-file-name-table): New function (bug#9616).
13747 (comint--complete-file-name-data): Use it.
13748
13749 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13750 (pcmpl-gnu-tar-buffer): Remove.
13751 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13752 around. Make sure pcomplete-suffix-list is only changed temporarily.
13753 Don't look inside the tar's file if it's too large.
13754
13755 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13756
13757 * cus-edit.el (custom-mode-map):
13758 * epa.el (epa-key-list-mode-map):
13759 * man.el (Man-mode-map):
13760 * startup.el (splash-screen-keymap):
13761 * simple.el (special-mode-map): Use scroll-up-command and
13762 scroll-down-command.
13763
13764 * progmodes/idlw-help.el (idlwave-help-mode-map):
13765 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13766 * net/newst-plainview.el (newsticker-mode-map):
13767 * emulation/ws-mode.el (wordstar-mode-map):
13768 * emulation/vi.el (vi-com-map):
13769 * calc/calc-graph.el (calc-graph-show-dumb):
13770 * term/sun.el (terminal-init-sun):
13771 * term/ns-win.el (global-map):
13772 * progmodes/grep.el (grep-mode-map):
13773 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13774 * mail/rmail.el (rmail-mode-map):
13775 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13776
13777 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13778 custom-safe-themes as special.
13779
13780 2011-10-01 Julien Danjou <julien@danjou.info>
13781
13782 * notifications.el (notifications-notify): Fix docstring.
13783
13784 2011-10-01 Per Starbäck <per@starback.se>
13785
13786 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13787
13788 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13789
13790 * startup.el (command-line-1): Fix last fix by inserting
13791 initial-scratch-message into *scratch* before displaying it.
13792 (Bug#9605) and (Bug#9636)
13793
13794 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13795
13796 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13797 window is hscrolled, move by logical lines. (Bug#9607)
13798 (line-move-visual): Update the doc string to the above effect.
13799
13800 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13801
13802 * window.el (display-buffer-record-window): When WINDOW is the
13803 selected window use `point' instead of `window-point'. (Bug#9626)
13804
13805 * startup.el (command-line-1): Use insert-before-markers when
13806 inserting initial-scratch-message. (Bug#9605)
13807
13808 * help.el (help-window): Remove variable.
13809
13810 2011-09-29 Glenn Morris <rgm@gnu.org>
13811
13812 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13813
13814 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13815
13816 * descr-text.el (describe-char-categories): Accept category
13817 descriptions more than one line long.
13818
13819 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * simple.el (delete-trailing-whitespace): Fix last change.
13822
13823 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13824 Don't confuse "y => 3" as the beginning of a `y' operation.
13825
13826 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13827 object has more than 4 slots (bug#9613).
13828
13829 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13830
13831 * subr.el (with-output-to-temp-buffer):
13832 * net/quickurl.el (quickurl, quickurl-browse-url):
13833 Fix typos in docstrings.
13834
13835 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13836
13837 * minibuffer.el (completion-styles)
13838 (completion-category-overrides): Cross reference each other in doc
13839 strings.
13840
13841 2011-09-27 Glenn Morris <rgm@gnu.org>
13842
13843 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13844 to split-string. (Bug#9606)
13845
13846 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13847
13848 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13849 (bug#9615).
13850
13851 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13852
13853 * emacs-lisp/package.el (list-packages): Fix echo area message.
13854
13855 2011-09-27 Leo Liu <sdl.web@gmail.com>
13856
13857 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13858
13859 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13860
13861 * net/dbus.el (dbus-unregister-object): Don't release services for
13862 registered signals. (Bug#9581)
13863
13864 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13865
13866 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13867 function that picks between cfengine 2 and 3 support
13868 automatically. Update docs accordingly.
13869
13870 2011-09-22 Kenichi Handa <handa@m17n.org>
13871
13872 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13873 ZERO.
13874 (indian-itrans-v5-table-for-tamil): New variable.
13875 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13876
13877 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13878
13879 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13880 that's true if the current command involved collapsing of text.
13881 It's reset to false at the beginning of the next command.
13882 (allout-post-command-business): Move the cursor to the beginning
13883 of entry if the cursor is hidden and collapsing activity just
13884 happened.
13885
13886 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13887
13888 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13889 tracking (Bug#9541).
13890
13891 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13892
13893 * net/newst-reader.el (newsticker-html-renderer)
13894 (newsticker-show-news): Automatically load html rendering package
13895 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13896 because w3m-fill-column is let-bound" and the error "Symbol's value
13897 as variable is void: w3m-fill-column".
13898
13899 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13900
13901 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13902 Release services only if they are defined. (Bug#9581)
13903
13904 2011-09-23 Richard Stallman <rms@gnu.org>
13905
13906 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13907 distinguish start of paragraph from start of its text.
13908
13909 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13910
13911 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13912 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13913 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13914
13915 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13916
13917 * international/mule-diag.el (mule-diag): Insert a newline after
13918 each fontset description.
13919
13920 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 * simple.el (delete-trailing-whitespace):
13923 Document last change; simplify.
13924
13925 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13926
13927 * simple.el (delete-trailing-whitespace): Also delete
13928 extra newlines at the end of the buffer.
13929
13930 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13931 (picture-newline): Use forward-line so as to ignore fields.
13932
13933 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * subr.el (with-wrapper-hook): Fix edebug spec.
13936
13937 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13938
13939 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13940 (bug#4538).
13941
13942 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13943
13944 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13945 Fix nasty bug using wrong cached values.
13946
13947 2011-09-23 Alan Mackenzie <acm@muc.de>
13948
13949 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13950
13951 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13952
13953 * window.el (pop-to-buffer): Ensure right window is selected if we
13954 chose another frame.
13955
13956 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13957
13958 * simple.el (what-cursor-position): Use get-char-property-change
13959 and next-single-char-property-change, to be able to show display
13960 properties that come from overlays as well as text properties.
13961
13962 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13963
13964 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13965
13966 * cmuscheme.el (run-scheme, switch-to-scheme):
13967 * cus-edit.el (customize-group, custom-buffer-create)
13968 (customize-browse):
13969 * info.el (info):
13970 * shell.el (shell):
13971 * mail/sendmail.el (mail):
13972 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13973
13974 2011-09-22 Richard Stallman <rms@gnu.org>
13975
13976 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13977 move back only to line beg, don't move back over blank lines.
13978
13979 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13980
13981 * files.el (copy-directory): Set directory attributes only in case
13982 they could be retrieved from the source directory. (Bug#9565)
13983
13984 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13985
13986 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13987 (hs-find-block-beginning, hs-hide-level-recursive):
13988 Ignore strings as well as comments. (Bug#9502)
13989
13990 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13991
13992 * progmodes/sql.el (sql-comint-postgres):
13993 Convert port number to a string. (Bug#9566)
13994
13995 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13996
13997 * window.el (quit-window): Undedicate window when switching to
13998 previous buffer. Reported by Thierry Volpiatto
13999 <thierry.volpiatto@gmail.com>.
14000 (special-display-popup-frame): When popping up a new frame reset
14001 its previous buffers to nil. Simplify code.
14002
14003 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14004
14005 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14006 and process filter, as done also in `shell-command'.
14007
14008 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14009
14010 * window.el (set-window-buffer-start-and-point):
14011 Call set-window-start with NOFORCE argument t.
14012 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14013 (quit-window): Reword doc-string. Handle new format of
14014 quit-restore parameter. Don't delete window if it has a
14015 previous buffer we can show instead of the present one.
14016 (display-buffer-record-window): Rewrite using a new format for
14017 the quit-restore window parameter
14018 (special-display-popup-frame, display-buffer-same-window)
14019 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14020 (display-buffer-pop-up-window, display-buffer-use-some-window):
14021 Adapt symbol passed to display-buffer-record-window.
14022 * help.el (help-window-setup): Handle new format of quit-restore
14023 parameter.
14024
14025 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14026
14027 * faces.el (face-list): Fix docstring (bug#9564).
14028
14029 * window.el (display-buffer--action-function-custom-type):
14030 Don't include internal functions in the Custom interface.
14031
14032 2011-09-20 Juri Linkov <juri@jurta.org>
14033
14034 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14035 (Info-forward-node, Info-backward-node, Info-next-preorder)
14036 (Info-last-preorder): Use it. (Bug#9528)
14037
14038 2011-09-20 Juri Linkov <juri@jurta.org>
14039
14040 * info.el (Info-last-preorder): Visit last menu item only when
14041 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14042
14043 2011-09-20 Julien Danjou <julien@danjou.info>
14044
14045 * password-cache.el (password-cache-remove): Remove entries even if the
14046 value is nil, so that password with a nil value (negative caching) is
14047 possible to invalidate.
14048
14049 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14050
14051 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14052 all whitespace around breakpoint. (Bug#9553)
14053 (f90-find-breakpoint): Only break at whitespace inside a comment.
14054
14055 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14056
14057 * minibuffer.el (completion-file-name-table): Keep track of errors.
14058 (completion-table-with-predicate): Handle the case where pred1 is nil.
14059 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14060
14061 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14062
14063 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14064 (debugger-return-value): Signal an error if the debugging context does
14065 not await any return value.
14066
14067 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14068 * image-mode.el (image-toggle-display-text)
14069 (image-toggle-display-image): Stay away from evil `intangible'.
14070
14071 2011-09-19 Leo Liu <sdl.web@gmail.com>
14072
14073 * replace.el (occur-revert-arguments): Make it permanent-local.
14074 (occur-mode): Don't call font-lock-defontify.
14075
14076 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14077
14078 * net/ldap.el (ldap-search-internal): Don't push empty search
14079 result (Bug#9508).
14080
14081 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14082
14083 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14084
14085 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14086
14087 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14088 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14089
14090 2011-09-18 Juri Linkov <juri@jurta.org>
14091
14092 * buff-menu.el (Buffer-menu-mode-map):
14093 * dired.el (dired-mode-map):
14094 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14095 (lisp-interaction-mode-map):
14096 * emacs-lisp/package.el (package-menu-mode-map):
14097 * epa.el (epa-key-list-mode-map):
14098 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14099 (menu-bar-options-menu):
14100 * outline.el (outline-mode-menu-bar-map):
14101 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14102 * vc/vc-dir.el (vc-dir-menu-map):
14103 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14104 Capitalize non-function content words in menu item strings.
14105
14106 * dired.el (dired-mode-map): Add menu item for
14107 `image-dired-dired-toggle-marked-thumbs'.
14108
14109 2011-09-18 Juri Linkov <juri@jurta.org>
14110
14111 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14112 to `isearch-case-fold-search' and restore its original value
14113 after the `isearch-mode' call.
14114
14115 2011-09-18 Juri Linkov <juri@jurta.org>
14116
14117 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14118 because `zgrep' returns 1 for successful matches (bug#9226).
14119
14120 2011-09-18 Juri Linkov <juri@jurta.org>
14121
14122 * info.el (Info-extract-menu-node-name): Check the second match
14123 for empty string (second test-case of bug#9528).
14124 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14125 intermediate nodes to the history (first test-case of bug#9528).
14126
14127 2011-09-18 Juri Linkov <juri@jurta.org>
14128
14129 * info.el (Info-mode-syntax-table): New variable.
14130 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14131
14132 2011-09-18 Juri Linkov <juri@jurta.org>
14133
14134 * info.el (Info-file-supports-index-cookies):
14135 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14136 outputs one more line for long file names (bug#4142).
14137
14138 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14139
14140 * newcomment.el (comment-normalize-vars): If prompting for
14141 comment-start, set comment-start-skip too (Bug#8424).
14142
14143 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14144
14145 * icomplete.el: Fix previous fix of Bug#5849.
14146 (icomplete-mode): Don't set completion-show-inline-help.
14147 (icomplete-minibuffer-setup): Set completion-show-inline-help
14148 locally during icompletion.
14149
14150 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14151
14152 * woman.el (woman2-process-escapes): Don't delete unrecognized
14153 escapes (Bug#7843).
14154
14155 * files.el (inhibit-first-line-modes-regexps): Add image files.
14156 (hack-local-variables-prop-line): Return nil for malformed
14157 prop-lines (Bug#9044).
14158
14159 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14160
14161 * net/tramp.el (top): Don't require 'shell.
14162 (tramp-methods): Fix docstring.
14163 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14164 Return complete remote file name. Handle "smb" case.
14165 Use `tramp-tmpdir', if defined for the respective method.
14166 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14167
14168 * net/tramp-compat.el (top): Require 'shell.
14169
14170 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14171 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14172 `tramp-current-host'.
14173 (tramp-get-remote-tmpdir): Remove.
14174
14175 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14176 `tramp-tmpdir' entries.
14177 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14178 (tramp-smb-handle-file-attributes): Ignore errors.
14179 (tramp-smb-wait-for-output): Check also for process end.
14180
14181 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14182
14183 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14184 when sending QUIT (bug#9312).
14185
14186 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14187
14188 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14189 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14190 occur-mode-display-occurrence.
14191 (occur-edit-mode): Add usage message.
14192 (occur-cease-edit): New command.
14193 (occur-after-change-function): Use text properties to find the
14194 position of the prefix text.
14195 (occur-engine): Set stickiness of prefix text properties.
14196
14197 2011-09-17 Glenn Morris <rgm@gnu.org>
14198
14199 * progmodes/etags.el (complete-tag):
14200 Fix call to completion-in-region. (Bug#9526)
14201
14202 2011-09-17 Juri Linkov <juri@jurta.org>
14203
14204 * textmodes/ispell.el (ispell-word): Add to the error message
14205 the word, ispell program name and current dictionary (bug#9121).
14206 (ispell-tex-arg-end): Capitalize "error" in the error message.
14207
14208 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14209
14210 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14211 check. (Bug#4251)
14212
14213 2011-09-17 Juri Linkov <juri@jurta.org>
14214
14215 * window.el (window-safe-min-height, window-safe-min-width):
14216 Fix typos (followup to bug#9522).
14217
14218 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14219
14220 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14221
14222 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14223
14224 * simple.el (line-move): If goal-column is set, move by logical
14225 lines, not by display lines. (Bug#971)
14226 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14227 to reflect the above change.
14228
14229 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14230
14231 * image.el (imagemagick-register-types): Use regexp-opt.
14232
14233 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14234
14235 * window.el (display-buffer-base-action): Rename from
14236 display-buffer-default-action. Make default value empty.
14237 (display-buffer-overriding-action): Convert to defvar.
14238 (display-buffer-fallback-action): New var.
14239
14240 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14241
14242 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14243 declaration.
14244 (package--add-to-archive-contents): If there is a duplicate entry
14245 with an older version, remove it.
14246 (package-menu-mark-delete, package-menu-mark-install)
14247 (package-menu-mark-unmark): Make unused args optional.
14248 (package-menu-mark-obsolete-for-deletion):
14249 Use package-menu-get-status instead of a regexp search.
14250 (package-menu-get-status): Use tabulated-list-entry.
14251 (package-menu-mark-upgrades): New command.
14252 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14253 (package-menu-execute): Do installation before deletion.
14254 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14255 instead of checking major-mode.
14256 (package-menu--find-upgrades): New function.
14257
14258 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14259
14260 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14261 passwords in the log buffer.
14262 (smtpmail-process-filter): Update the process marker so that the
14263 "broken by peer" status message is inserted in the right place.
14264
14265 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14266
14267 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14268 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14269 bibtex-completion-at-point-function.
14270 (bibtex-completion-at-point-function): Use them.
14271
14272 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14273
14274 * mpc.el (mpc-constraints-tag-lookup): New function.
14275 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14276 also to browser "album|playlist".
14277
14278 2011-09-14 Juri Linkov <juri@jurta.org>
14279
14280 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14281 (isearch-edit-string): Use length of `isearch-string' when
14282 `isearch-fail-pos' returns nil.
14283 (isearch-message): Remove duplicate code and call
14284 `isearch-fail-pos' with arg `t'.
14285
14286 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14287
14288 * replace.el (occur-mode-goto-occurrence): Don't force using other
14289 window (Bug#9499).
14290
14291 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14292
14293 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14294
14295 * window.el (display-buffer-window): Remove.
14296 (display-buffer-record-window): Use help-setup window parameter
14297 instead of variable display-buffer-window.
14298 (display-buffer-function, special-display-buffer-names)
14299 (special-display-function): Mention help-setup parameter instead
14300 of display-buffer-window in doc-string.
14301 * help.el (help-window-setup): New argument help-window.
14302 Use help-window-setup parameter instead of display-buffer-window.
14303 Reword some messages.
14304 (with-help-window): Pass window used for displaying the buffer
14305 to help-window-setup. Don't set display-buffer-window.
14306
14307 2011-09-13 Glenn Morris <rgm@gnu.org>
14308
14309 * emacs-lisp/debug.el (debugger-make-xrefs):
14310 Preserve point. (Bug#9462)
14311
14312 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14313
14314 * window.el (window-deletable-p): Use next-frame.
14315
14316 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14317
14318 * window.el (window-auto-delete): Remove.
14319 (window-deletable-p): Remove argument FORCE. Don't deal with
14320 dedication and previous buffers.
14321 (switch-to-prev-buffer): Don't delete window.
14322 (delete-windows-on): Delete a window's frame if and only if the
14323 window is dedicated.
14324 (replace-buffer-in-windows): Delete buffer's window or frame if
14325 and only if window is dedicated.
14326 (quit-window): Handle quit-restore as before last change.
14327 (bury-buffer): Delete window only if window-deletable-p returns t.
14328
14329 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14330
14331 * window.el (window-deletable-p): Never delete the last frame on a
14332 given terminal.
14333
14334 2011-09-13 Glenn Morris <rgm@gnu.org>
14335
14336 * help.el (describe-key-briefly): Copy previous standard-output change.
14337
14338 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14339
14340 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14341
14342 2011-09-13 Glenn Morris <rgm@gnu.org>
14343
14344 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14345 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14346
14347 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14348
14349 * dired-aux.el (dired-mark-read-string): Don't return default
14350 value on empty input (Bug#9361).
14351 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14352 Omit initial minibuffer contents.
14353 (dired-do-chmod): Signal an error on empty input.
14354 (dired-mark-read-string): Don't return default on empty input.
14355
14356 * files.el (file-modes-symbolic-to-number): Doc fix.
14357
14358 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14359
14360 * international/mule-cmds.el (ucs-completions): Remove.
14361 (read-char-by-name): Use complete-with-action instead; add metadata.
14362
14363 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14364
14365 * window.el (display-buffer--action-function-custom-type)
14366 (display-buffer--action-custom-type): New vars.
14367 (display-buffer-alist, display-buffer-default-action)
14368 (display-buffer-overriding-action): Add defcustom types.
14369
14370 * frame.el (delete-other-frames): Doc fix (Bug#276).
14371
14372 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14373
14374 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14375
14376 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14377
14378 Change modes that used same-window-* vars to use switch-to-buffer.
14379
14380 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14381 Use switch-to-buffer.
14382
14383 * cus-edit.el (customize-group, custom-buffer-create)
14384 (customize-browse, custom-buffer-create-other-window):
14385 Use switch-to-buffer or switch-to-buffer-other-window.
14386
14387 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14388 (Info-prev, Info-up, Info-speedbar-goto-node)
14389 (info-display-manual): Use switch-to-buffer.
14390 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14391
14392 * mail/sendmail.el (mail): Use switch-to-buffer.
14393 (mail-recover): Use switch-to-buffer-other-window.
14394
14395 * cmuscheme.el (run-scheme, switch-to-scheme):
14396 * ielm.el (ielm):
14397 * shell.el (shell):
14398 * net/rlogin.el (rlogin):
14399 * net/telnet.el (telnet, rsh):
14400 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14401
14402 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14403
14404 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14405
14406 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14407
14408 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14409 so don't mention it (bug#9301).
14410 (dired-sort-toggle-or-edit): Clarify string further.
14411
14412 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14413 match `x', `w32' and `ns', like the manual says (bug#9029).
14414
14415 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14416 (process-kill-buffer-query-function): Mention the buffer name in
14417 the query.
14418
14419 * image-mode.el (image-next-line): The line parameter is mandatory
14420 (bug#9258).
14421
14422 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14423 which can be useful (bug#9301).
14424
14425 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14426
14427 * subr.el (match-string): Mention that the current buffer should
14428 be the same as the search was done in (bug#9282).
14429
14430 * facemenu.el: Disable the remove-* commands if the mark isn't
14431 active (bug#9162).
14432
14433 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14434
14435 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14436 of display-buffer.
14437 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14438
14439 * replace.el (occur-mode-goto-occurrence)
14440 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14441 and display-buffer.
14442
14443 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14444 display-buffer.
14445
14446 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14447 special-display and same-window variables.
14448 (mail-other-window): Use switch-to-buffer-other-window.
14449 (mail-other-frame): USe switch-to-buffer-other-frame.
14450
14451 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14452 Use display-buffer-other-frame.
14453 (gdb-display-gdb-buffer): Use pop-to-buffer.
14454
14455 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14456
14457 * progmodes/python.el: Don't set same-window-buffer-names.
14458
14459 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14460
14461 * window.el (display-buffer-alist): Add *Python*.
14462
14463 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14464
14465 * window.el (display-buffer-alist): Add entry for buffers
14466 previously handled same-window-*.
14467 (display-buffer-alist, display-buffer-default-action)
14468 (display-buffer-overriding-action): Mark as risky.
14469 (display-buffer-alist): Document action function changes.
14470 (display-buffer--same-window-action)
14471 (display-buffer--other-frame-action): New variables.
14472 (switch-to-buffer, display-buffer-other-frame): Use them.
14473 (display-buffer): Rename reuse-frame entry to reusable-frames.
14474 (display-buffer-reuse-selected-window): Function deleted.
14475 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14476 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14477 (display-buffer-special): New function.
14478 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14479 display-buffer-reuse-or-pop-window. Split off special-display
14480 part into display-buffer-special.
14481 (display-buffer-use-some-window): Don't perform any special
14482 pop-up-frames handling.
14483 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14484 (display-buffer--maybe-same-window): Rename from
14485 display-buffer-maybe-same-window.
14486
14487 * info.el: Don't set same-window-regexps.
14488 (info-setup): New function.
14489 (info-other-window, info): Call it.
14490
14491 * cus-edit.el: Don't set same-window-regexps.
14492 (customize-group): New argument.
14493 (customize-group-other-window): Use it.
14494 (customize-face, customize-face-other-window): Likewise.
14495 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14496
14497 * net/rlogin.el:
14498 * net/telnet.el:
14499 * progmodes/gud.el: Don't set same-window-regexps.
14500
14501 * cmuscheme.el:
14502 * ielm.el:
14503 * shell.el:
14504 * mail/sendmail.el:
14505 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14506
14507 2011-09-10 Juri Linkov <juri@jurta.org>
14508
14509 * isearch.el (isearch-edit-string): Remove obsolete mention of
14510 `C-w' (`isearch-yank-word-or-char') from docstring.
14511 (isearch-query-replace): Fix typo in docstring (bug#9466).
14512
14513 2011-09-10 Juri Linkov <juri@jurta.org>
14514
14515 * paren.el (show-paren-function): Don't show escaped parens.
14516 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14517
14518 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14519
14520 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14521 (mm-default-file-encoding): Remove autoload forms, they are
14522 replaced with autoload cookies in mml.el and mm-encode.el.
14523 (mail-add-attachment): New command.
14524 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14525 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14526 the doc string.
14527 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14528
14529 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14530
14531 * simple.el (count-words-region): Use buffer if there's no region
14532 (bug#9429).
14533
14534 2011-09-09 Juri Linkov <juri@jurta.org>
14535
14536 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14537 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14538 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14539
14540 2011-09-09 Alan Mackenzie <acm@muc.de>
14541
14542 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14543 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14544
14545 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14546
14547 Fix for Savannah bug#9392.
14548 * simple.el (mail-encode-mml): New defvar.
14549
14550 * mail/rmail.el (mail-encode-mml): Add a defvar.
14551 (rmail-enable-mime-composing): Default to t.
14552 (rmail-forward): Use MIME method of forwarding only if both
14553 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14554 Set mail-encode-mml non-nil if the MIME method was used.
14555
14556 * mail/sendmail.el (mml-to-mime): Add autoload form.
14557 (mail-encode-mml): Add a defvar.
14558 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14559 to nil.
14560 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14561 message through mml-to-mime, and reset mail-encode-mml to nil.
14562
14563 2011-09-09 Glenn Morris <rgm@gnu.org>
14564
14565 * woman.el (woman-if-body): When processing an .el block,
14566 do not delete the next .el block as well. (Bug#9447)
14567 (woman-special-characters): Add oq, cq, and hy characters.
14568
14569 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14570
14571 * window.el (window-deletable-p): Make sure window is live before
14572 invoking window-prev-buffers.
14573
14574 2011-09-08 Leo Liu <sdl.web@gmail.com>
14575
14576 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14577
14578 2011-09-08 Juri Linkov <juri@jurta.org>
14579
14580 * progmodes/compile.el (compilation-environment): Make it
14581 a defcustom (bug#8340).
14582
14583 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14584
14585 * window.el (frame-auto-delete): Rename to window-auto-delete.
14586 Make it control auto-deletion of windows and/or frames.
14587 (window-deletable-p): New argument FORCE. Rewrite conditions
14588 for deleting window/frame. (Bug#9419)
14589 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14590 Rewrite handling of case when window/frame can be deleted.
14591 (delete-windows-on): Call window-deletable-p with new FORCE
14592 argument t. (Bug#9456)
14593
14594 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14595
14596 * help-mode.el (help-mode): Restore autoload.
14597
14598 2011-09-07 Juri Linkov <juri@jurta.org>
14599
14600 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14601 `compilation-environment'. Set buffer-local
14602 `compilation-environment' to `thisenv' later after (funcall mode).
14603 (Bug#8340)
14604
14605 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14606 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14607 instead of replacing its value. (Bug#8340)
14608
14609 2011-09-07 Juri Linkov <juri@jurta.org>
14610
14611 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14612 based on text properties put by `grep-filter' instead of matching
14613 escape sequences.
14614 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14615 to the value of `grep-error-screen-columns' (bug#9438).
14616
14617 2011-09-07 Juri Linkov <juri@jurta.org>
14618
14619 * simple.el (next-error-highlight, next-error-highlight-no-select):
14620 Doc fix (bug#9432).
14621
14622 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14623
14624 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14625 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14626
14627 2011-09-07 Leo Liu <sdl.web@gmail.com>
14628
14629 * net/rcirc.el (rcirc-mode): Conditionally initialize
14630 rcirc-input-ring.
14631
14632 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14633
14634 * emacs-lisp/find-func.el (find-function-C-source): Only set
14635 find-function-C-source-directory after checking that we found a source
14636 file there (bug#9440).
14637
14638 2011-09-06 Alan Mackenzie <acm@muc.de>
14639
14640 * isearch.el (isearch-other-meta-char): Wherever a key list is
14641 unread, "unread" the prefix arg, too. This fixes bug #8901.
14642
14643 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14644
14645 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14646
14647 2011-09-05 Juri Linkov <juri@jurta.org>
14648
14649 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14650
14651 2011-09-05 Juri Linkov <juri@jurta.org>
14652
14653 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14654 keeping point where processing of grep matches begins, and
14655 continue to delete remaining escape sequences from the same point.
14656 (grep-filter): Make leading zero optional in "0?1;31m" because
14657 git-grep emits "\033[1;31m" escape sequences unlike expected
14658 "\033[01;31m" as GNU Grep does (bug#9408).
14659 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14660
14661 2011-09-05 Juri Linkov <juri@jurta.org>
14662
14663 * subr.el (y-or-n-p): Capitalize "yes".
14664
14665 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14666
14667 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14668 `tramp-cache-unload-hook' where appropriate.
14669 (tramp-methods): Rename `tramp-remote-sh' to
14670 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14671 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14672
14673 * net/tramp-sh.el (top): Don't require 'shell.
14674 (tramp-methods): Add `tramp-remote-shell' and
14675 `tramp-remote-shell-args' entries.
14676 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14677 (tramp-sh-handle-shell-command): Remove.
14678 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14679 Use `tramp-remote-shell'.
14680
14681 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14682
14683 * mail/sendmail.el (sendmail-query-once-function): Delete.
14684 (sendmail-query-once): Save directly to send-mail-function.
14685 Update message-send-mail-function too.
14686
14687 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14688
14689 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14690
14691 * progmodes/python.el (python-mode-map): Use correct function to
14692 start python interpreter from menu-bar (as reported by Geert
14693 Kloosterman).
14694 (inferior-python-mode-map): Fix typo.
14695 (python-shell-map): Remove.
14696
14697 2011-09-03 Deniz Dogan <deniz@dogan.se>
14698
14699 * net/rcirc.el (rcirc-print): Simplify code for
14700 rcirc-scroll-show-maximum-output. There is no need to walk
14701 through all windows to find the right one.
14702
14703 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14704
14705 * help.el (help-return-method): Doc fix.
14706
14707 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14708
14709 * window.el (window-deletable-p): Don't return a non-nil value
14710 when there's a buffer that was shown in the window before.
14711 (Bug#9419)
14712 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14713 Set window's previous buffers to nil.
14714
14715 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14716
14717 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14718 newline before and after the tag line, so it doesn't interfere
14719 with determining the paragraph direction of bidirectional text.
14720
14721 2011-09-03 Leo Liu <sdl.web@gmail.com>
14722
14723 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14724
14725 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14726
14727 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14728 (pop-to-buffer): Change interactive spec. Pass second argument
14729 directly to display-buffer.
14730 (display-buffer): Fix interactive spec. Use functionp to
14731 distinguish between a function and a list of functions.
14732
14733 * abbrev.el (edit-abbrevs):
14734 * arc-mode.el (archive-extract):
14735 * autoinsert.el (auto-insert):
14736 * bookmark.el (bookmark-bmenu-list):
14737 * files.el (find-file):
14738 * view.el (view-buffer):
14739 * progmodes/compile.el (compilation-goto-locus):
14740 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14741
14742 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14743
14744 * window.el (display-buffer-alist): Doc fix.
14745 (display-buffer): Add docstring. Don't treat
14746 display-buffer-default specially.
14747 (display-buffer-reuse-selected-window)
14748 (display-buffer-same-window, display-buffer-maybe-same-window)
14749 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14750 (display-buffer-pop-up-window)
14751 (display-buffer-reuse-or-pop-window)
14752 (display-buffer-use-some-window): New functions.
14753 (display-buffer-default-action): Use them.
14754 (display-buffer-default): Delete.
14755 (pop-to-buffer-1): Fix choice of actions.
14756
14757 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14758
14759 * minibuffer.el (completion--insert-strings): Don't get confused by
14760 completion entries that end with an LF char.
14761
14762 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14763
14764 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14765
14766 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14767
14768 * window.el (display-buffer): Restore interactive spec.
14769 (display-buffer-same-window, display-buffer-other-window):
14770 New functions.
14771 (pop-to-buffer-1): New function. Use the above.
14772 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14773 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14774
14775 * view.el (view-buffer-other-window, view-buffer-other-frame):
14776 Just use pop-to-buffer.
14777
14778 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14779
14780 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14781
14782 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14783
14784 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14785
14786 2011-08-31 Richard Stallman <rms@gnu.org>
14787
14788 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14789 of the separation of rmail-view-buffer from rmail-buffer.
14790 If you say no to "replace original", the decrypt is in the
14791 view buffer. If you say yes, the decrypt goes into the
14792 rmail buffer also.
14793
14794 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14795
14796 * window.el (display-buffer-window): Rewrite doc-string.
14797 (display-buffer-record-window): New function.
14798 (display-buffer-macro-specifiers)
14799 (display-buffer-even-window-sizes, display-buffer-set-height)
14800 (display-buffer-set-width, display-buffer-in-window)
14801 (display-buffer-reuse-window, display-buffer-split-specifiers)
14802 (display-buffer-side-specifiers, display-buffer-split-window-1)
14803 (display-buffer-split-window, display-buffer-split-atom-window)
14804 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14805 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14806 (display-buffer-other-window-means-other-frame)
14807 (display-buffer-normalize-special)
14808 (display-buffer-normalize-default)
14809 (display-buffer-normalize-argument)
14810 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14811 (display-buffer-normalize-specifiers, display-buffer-frame)
14812 (display-buffer-same-window, display-buffer-same-frame)
14813 (display-buffer-other-window)
14814 (display-buffer-same-frame-other-window)
14815 (display-buffer-other-frame, pop-to-buffer-same-window)
14816 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14817 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14818 (switch-to-buffer-same-frame)
14819 (switch-to-buffer-other-window-same-frame)
14820 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14821 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14822 (display-buffer-alist-set): Remove.
14823 (display-buffer-function, special-display-buffer-names)
14824 (special-display-regexps, special-display-function):
14825 In doc-string refer to display-buffer-window and quit-restore
14826 parameter.
14827 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14828 (special-display-frame-alist, special-display-popup-frame)
14829 (same-window-buffer-names, same-window-regexps, same-window-p)
14830 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14831 (split-window-preferred-function, split-height-threshold)
14832 (split-width-threshold, window-splittable-p)
14833 (split-window-sensibly, window--try-to-split-window)
14834 (window--frame-usable-p, even-window-heights)
14835 (window--even-window-heights, window--display-buffer-1)
14836 (window--display-buffer-2, display-buffer-other-frame):
14837 Restore old Emacs 23 code, order and doc-strings where applicable.
14838 (display-buffer-default, display-buffer-assq-regexp): New functions.
14839 (display-buffer-alist): Rewrite doc-string.
14840 (display-buffer-default-action)
14841 (display-buffer-overriding-action): New variables.
14842 (display-buffer, switch-to-buffer): Rewrite.
14843 (pop-to-buffer): Restore Emacs 23 behavior but use
14844 window-normalize-buffer-to-display.
14845 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14846 Restore Emacs 23 behavior but use
14847 window-normalize-buffer-to-switch-to.
14848 (pop-to-buffer-same-window): Rewrite.
14849 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14850 Rewrite using Emacs 23 options.
14851
14852 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14853
14854 * net/tramp.el (tramp-root-regexp): Remove.
14855 (tramp-completion-file-name-regexp-unified)
14856 (tramp-completion-file-name-regexp-separate)
14857 (tramp-completion-file-name-regexp-url): Don't use leading volume
14858 letter on w32 systems. (Bug#5303, Bug#9311)
14859 (tramp-drop-volume-letter): Simplify definition.
14860 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14861
14862 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14863
14864 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14865 (bug#9356).
14866
14867 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14868
14869 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14870
14871 2011-08-29 Juri Linkov <juri@jurta.org>
14872
14873 * isearch.el (isearch-done): Don't display message "Mark saved"
14874 when arg `edit' is non-nil to prevent its flicker in the echo area.
14875
14876 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14877
14878 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14879 obsolete packages for deletion.
14880
14881 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14882
14883 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14884 (help-mode): Derive help-mode from special-mode. Don't invoke
14885 view-mode from help-mode.
14886 (help-xref-override-view-map): Remove.
14887 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14888 view-mode is not used anymore.
14889
14890 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14891
14892 * server.el (server-port): Doc fix.
14893
14894 * cus-theme.el (custom-theme-choose-mode): Inherit from
14895 special-mode (Bug#9124).
14896 (custom-theme-choose-mode-map): Add special-mode to parent.
14897
14898 2011-08-28 Alan Mackenzie <acm@muc.de>
14899
14900 * progmodes/cc-fonts.el
14901 (c-make-font-lock-BO-decl-search-function): New function.
14902 (c-basic-matchers-after - "Fontify the clauses after various
14903 keywords"): Extract the three keyword lists for the 3 erroneous
14904 constructs from the list of four, and use the new function above
14905 in place of an old one.
14906
14907 2011-08-28 Deniz Dogan <deniz@dogan.se>
14908
14909 * net/rcirc.el (rcirc-insert-prev-input)
14910 (rcirc-insert-next-input): Remove unused argument.
14911
14912 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14913
14914 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14915
14916 2011-08-27 Alan Mackenzie <acm@muc.de>
14917
14918 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14919 handle function pointer parameters properly.
14920
14921 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14922
14923 * window.el (display-buffer-reuse-window): Fix case where
14924 selected window was reused with non-nil OTHER-WINDOW argument.
14925 (Bug#9381)
14926
14927 2011-08-27 Deniz Dogan <deniz@dogan.se>
14928
14929 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14930 oftc's NickServ messages.
14931
14932 2011-08-27 Glenn Morris <rgm@gnu.org>
14933
14934 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14935
14936 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14937
14938 * emacs-lisp/package.el (package-install): Call package-initialize
14939 if called interactively.
14940
14941 2011-08-26 Leo Liu <sdl.web@gmail.com>
14942
14943 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14944
14945 2011-08-25 Juri Linkov <juri@jurta.org>
14946
14947 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14948 `search-whitespace-regexp' (bug#9364).
14949
14950 2011-08-25 Juri Linkov <juri@jurta.org>
14951
14952 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14953 `regexp-search-ring' to their global values to protect from
14954 updating by `read-from-minibuffer' (bug#9185).
14955
14956 2011-08-25 Juri Linkov <juri@jurta.org>
14957
14958 * textmodes/ispell.el (ispell-command-loop): Add newline
14959 at the end of the "Use option `i'..." line.
14960
14961 2011-08-25 Juri Linkov <juri@jurta.org>
14962
14963 * battery.el (display-battery-mode): If `battery-status-function'
14964 or `battery-mode-line-format' is nil, display the message and set
14965 `display-battery-mode' to nil (bug#9363).
14966
14967 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14968
14969 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14970 bidi-string-mark-left-to-right; they are unnecessary now.
14971
14972 2011-08-25 Deniz Dogan <deniz@dogan.se>
14973
14974 * net/quickurl.el: Documentation typo fixes.
14975
14976 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14977
14978 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14979
14980 2011-08-25 Glenn Morris <rgm@gnu.org>
14981
14982 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14983
14984 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14985 (smtpmail-via-smtp): Handle nil response from smtp.
14986
14987 2011-08-24 Juri Linkov <juri@jurta.org>
14988
14989 * proced.el (proced-marked): Inherit from `error' instead of
14990 `font-lock-warning-face'.
14991
14992 * ibuffer.el (ibuffer-marked-face): Change default face from
14993 `font-lock-warning-face' to `warning'.
14994 (ibuffer-deletion-face): Change default face from
14995 `font-lock-type-face' to `error'.
14996
14997 * battery.el (battery-update): Use the face `error' instead of
14998 `font-lock-warning-face' (bug#6117).
14999
15000 2011-08-24 Juri Linkov <juri@jurta.org>
15001
15002 * faces.el (success): Change face color from "Green3" to
15003 "ForestGreen" on light background (bug#9353).
15004
15005 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15006
15007 * window.el (quit-window): Rename from quit-restore-window.
15008 Use same arglist as old quit-window.
15009 (frame-auto-delete): Doc fix.
15010
15011 * view.el (view-mode-exit): Use quit-window.
15012
15013 2011-08-24 Juri Linkov <juri@jurta.org>
15014
15015 * isearch.el (isearch-ring-adjust1): Start visiting previous
15016 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15017 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15018 for empty search string (when the last search string is reused
15019 automatically) to adjust the isearch ring to the last element and
15020 prepare the correct index for further M-p commands (bug#9185).
15021
15022 2011-08-24 Kenichi Handa <handa@m17n.org>
15023
15024 * international/ucs-normalize.el: If decomposition property of
15025 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15026 nil.
15027 (nfd, nfkd): Likewise.
15028
15029 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15030
15031 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15032 from process filters aren't reliably transmitted to the surrounding
15033 accept-process-output.
15034 (mpc-proc-check): New function.
15035 (mpc-proc-sync): Use it (bug#8293)
15036
15037 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15038
15039 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15040 Add compatibility functions (bug#9313).
15041
15042 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15043
15044 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15045
15046 * international/uni-bidi.el: Regenerate.
15047
15048 2011-08-23 Kenichi Handa <handa@m17n.org>
15049
15050 * international/charprop.el:
15051 * international/uni-bidi.el:
15052 * international/uni-category.el:
15053 * international/uni-combining.el:
15054 * international/uni-comment.el:
15055 * international/uni-decimal.el:
15056 * international/uni-decomposition.el:
15057 * international/uni-digit.el:
15058 * international/uni-lowercase.el:
15059 * international/uni-mirrored.el:
15060 * international/uni-name.el:
15061 * international/uni-numeric.el:
15062 * international/uni-old-name.el:
15063 * international/uni-titlecase.el:
15064 * international/uni-uppercase.el: Regenerate.
15065
15066 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15067
15068 * help.el (help-window-setup): Fix message displayed when other
15069 window is reused. (Bug#9341)
15070
15071 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15074 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15075
15076 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15077 Mark obsolete.
15078 * shell.el (shell-parse-pcomplete-arguments): New function.
15079 (shell-completion-vars): Use it instead (bug#9160).
15080
15081 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15082
15083 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15084 strings and comments (bug#9333).
15085
15086 * emacs-lisp/debug.el (debug-arglist): New function.
15087 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15088 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15089
15090 2011-08-22 Juri Linkov <juri@jurta.org>
15091
15092 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15093 Revert regexp that highlights output switches to its old
15094 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15095
15096 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15097 to check for empty output (bug#9226).
15098
15099 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15100
15101 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15102 symbol-constituent as the default, as that stops font-lock from
15103 working properly (Bug#8843).
15104
15105 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15106
15107 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15108 `coding-system-for-*' around the process open call to avoid
15109 auth-source side effects.
15110 (smtpmail-try-auth-methods): Expand the secret password.
15111 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15112 probe hangs.
15113
15114 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15115
15116 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15117
15118 * emacs-lisp/find-func.el (find-function-noselect): New arg
15119 lisp-only.
15120
15121 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15122 signal an error for built-in functions (Bug#6664).
15123
15124 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15125
15126 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15127 (smtpmail-try-auth-methods): Use it.
15128
15129 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15130
15131 * font-lock.el (font-lock-fontify-region)
15132 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15133 (font-lock-default-unfontify-buffer)
15134 (font-lock-default-fontify-region)
15135 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15136
15137 * progmodes/compile.el (compilation-error-properties):
15138 Fix confusion between file struct and message struct (Bug#9319).
15139 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15140 `ant' regexp.
15141
15142 * net/browse-url.el (browse-url-firefox): Don't call
15143 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15144
15145 2011-08-20 Glenn Morris <rgm@gnu.org>
15146
15147 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15148
15149 * tutorial.el (tutorial--default-keys): Update some default bindings.
15150
15151 * files.el (hack-local-variables): Fully ignore case for "mode:".
15152
15153 2011-08-20 Alan Mackenzie <acm@muc.de>
15154
15155 Resolve invalid use of a regexp in regexp-opt.
15156
15157 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15158 detection for a java annotation.
15159
15160 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15161 detection for a java annotation.
15162
15163 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15164 handling for java.
15165 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15166
15167 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15168
15169 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15170 (Bug#9274).
15171
15172 2011-08-20 Alan Mackenzie <acm@muc.de>
15173
15174 Fontify CPP expressions correctly when starting in the middle of
15175 such a construct. Mainly for when jit-lock etc. starts a chunk
15176 here.
15177
15178 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15179 variable.
15180 (c-make-font-lock-search-form): New function, extracted from
15181 c-make-font-lock-search-function.
15182 (c-make-font-lock-search-function): Use the above function.
15183 (c-make-font-lock-context-search-function): New function.
15184 (c-cpp-matchers): Enhance the preprocessor expression case with
15185 the above function
15186 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15187 which takes an expression.
15188
15189 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15190
15191 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15192
15193 * window.el (display-buffer-reuse-window)
15194 (display-buffer-pop-up-window): Don't reuse or split a side
15195 window.
15196
15197 2011-08-19 Glenn Morris <rgm@gnu.org>
15198
15199 * files.el (hack-local-variables-prop-line, hack-local-variables):
15200 Downcase "Mode:". (Bug#9331)
15201
15202 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15203
15204 * international/characters.el: Add L and R categories.
15205
15206 * subr.el (bidi-string-mark-left-to-right): Rename from
15207 string-mark-left-to-right. Use category search.
15208
15209 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15210
15211 2011-08-18 Juri Linkov <juri@jurta.org>
15212
15213 * faces.el (error, warning, success): New faces with definitions
15214 copied from old default values of `font-lock-warning-face',
15215 `compilation-warning', `compilation-info' (bug#6117).
15216
15217 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15218
15219 * progmodes/compile.el (compilation-error): Inherit from `error'.
15220 (compilation-warning): Inherit from `warning'.
15221 (compilation-info): Inherit from `success'.
15222
15223 * dired.el (dired-marked): Inherit from `warning'.
15224 (dired-flagged): Inherit from `error'.
15225
15226 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15227
15228 * mail/smtpmail.el (auth-source): Require to avoid problems with
15229 binding variables (bug#9298). Also clean up some unused
15230 autoloads.
15231
15232 * net/network-stream.el (network-stream-open-starttls):
15233 Support using starttls.el without using gnutls-cli.
15234
15235 2011-08-17 Juri Linkov <juri@jurta.org>
15236
15237 * progmodes/grep.el (rgrep): Handle the case when
15238 `grep-find-command' is a cons cell (bug#9278).
15239
15240 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15241
15242 * window.el (display-buffer-pop-up-frame): Run frame creation
15243 function with BUFFER current (as special-display-popup-frame
15244 does). Reported by Drew Adams.
15245
15246 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15247
15248 * epa-mail.el: Simplify GnuPG group expansion using
15249 epg-expand-group.
15250 (epa-mail-group-alist, epa-mail-group-modtime)
15251 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15252 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15253 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15254 Remove.
15255
15256 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15257
15258 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15259
15260 2011-08-16 Alan Mackenzie <acm@muc.de>
15261
15262 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15263 Correct, to avoid the inside of macros.
15264
15265 2011-08-16 Richard Stallman <rms@gnu.org>
15266
15267 * epa-mail.el: Handle GnuPG group definitions.
15268 (epa-mail-group-alist, epa-mail-group-modtime)
15269 (epa-mail-gnupg-conf-file): New variables.
15270 (epa-mail-parse-groups, epa-mail-sync-groups)
15271 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15272 (epa-mail-expand-recipients): New functions.
15273 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15274
15275 * mail/rmail.el (rmail-epa-decrypt): New command.
15276
15277 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15278 Don't bind buffer-read-only, just inhibit-read-only.
15279 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15280 (epa-decrypt-armor-in-region): Make error message clearer.
15281
15282 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15283
15284 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15285 and "a2b" to "ab" for `prefix'.
15286
15287 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15288
15289 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15290 filter groups.
15291 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15292 Fourquet (Bug#8804).
15293
15294 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15295
15296 * startup.el (argi): Declare as global variable (bug#9275).
15297
15298 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15299
15300 * subr.el (string-mark-left-to-right): Search the entire string
15301 for RTL script, not just the terminating character. Doc fix.
15302
15303 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15304
15305 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15306 New function.
15307 (js--regexp-literal, js-syntax-propertize-function): Remove.
15308 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15309 (js-mode-map): Don't rebind electric keys.
15310 (js-insert-and-indent): Remove.
15311 (js-mode): Setup electric-layout and electric-indent instead.
15312
15313 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15314
15315 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15316
15317 * epa.el (epa-progress-callback-function): Fix the logic of
15318 displaying progress.
15319 * epa-file.el (epa-file-insert-file-contents): Make progress
15320 display more user-friendly.
15321 (epa-file-write-region): Ditto.
15322
15323 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15324
15325 * subr.el (string-mark-left-to-right): New function.
15326
15327 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15328 Use string-mark-left-to-right.
15329 (list-buffers-noselect): Caller changed.
15330
15331 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15332 Use string-mark-left-to-right.
15333 (tabulated-list-print): Recenter after moving point.
15334
15335 2011-08-10 Juri Linkov <juri@jurta.org>
15336
15337 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15338 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15339 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15340
15341 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15342
15343 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15344 (Bug#7554).
15345
15346 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15347
15348 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15349 character. (Bug#6594)
15350
15351 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15352
15353 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15354 (image-dired--with-db-file): New macro.
15355 (image-dired-write-tags, image-dired-remove-tag)
15356 (image-dired-create-gallery-lists, image-dired-write-comments)
15357 (image-dired-get-comment, image-dired-mark-tagged-files)
15358 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15359 (image-dired-gallery-generate): Use insert-file-contents.
15360
15361 * time.el (display-time-world-list, display-time-world-display):
15362 * time-stamp.el (time-stamp-string):
15363 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15364 set-time-zone-rule (Bug#7337).
15365
15366 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15367
15368 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15369 (epg-error-to-string, epg-errors-to-string): New function.
15370 (epg-wait-for-completion): Reverse errors list.
15371 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15372 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15373 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15374 (epg-sign-keys, epg-generate-key-from-file)
15375 (epg-generate-key-from-string): Format errors by using
15376 epg-errors-to-string (bug#9255).
15377 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15378
15379 2011-08-07 Juri Linkov <juri@jurta.org>
15380
15381 * faces.el (list-faces-display): Remove extra angle bracket
15382 from `help-mode-map'.
15383
15384 * info.el (Info-history-toc-nodes): Doc fix.
15385
15386 * longlines.el (longlines-mode): Doc fix.
15387
15388 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15389
15390 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15391 of statements and in a few more cases (bug#9183).
15392
15393 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15394 New functions.
15395 (cl-transform-lambda): Use them (bug#9239).
15396
15397 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15398
15399 * window.el (display-buffer-same-window)
15400 (display-buffer-same-frame, display-buffer-other-window)
15401 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15402 (pop-to-buffer-other-window)
15403 (pop-to-buffer-same-frame-other-window)
15404 (pop-to-buffer-other-frame): Make them defuns.
15405 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15406
15407 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15408
15409 * subr.el (make-composed-keymap): Move from C. Change calling
15410 convention, and improve docstring to bring attention to a subtle point.
15411 * minibuffer.el (completing-read-default): Adjust accordingly.
15412
15413 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15414
15415 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15416 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15417
15418 * net/trampver.el: Update release number.
15419
15420 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15421
15422 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15423 "in" (bug#9190).
15424
15425 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15426
15427 * mail/sendmail.el (sendmail-query-once): Restore the current
15428 buffer after querying (bug#9074).
15429
15430 * dired.el (dired-flagged): Use different faces for marked and
15431 flagged files (bug#6117).
15432
15433 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15434 (bug#4433).
15435
15436 * ido.el (ido-mode): Switch off the message if called
15437 non-interactively.
15438
15439 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15440 before 587, since it appears that that's more likely to work for
15441 more people.
15442
15443 * cus-edit.el (custom-file): When running under emacs -q, always
15444 refuse to save the customizations, even if the .emacs file doesn't
15445 exist.
15446
15447 * info.el: Remove the `Info-beginning-of-buffer' function
15448 (bug#8325).
15449
15450 * net/network-stream.el (network-stream-open-starttls):
15451 Use `starttls-available-p' to see whether starttls.el can be used.
15452
15453 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15454
15455 * window.el (display-buffer-in-window): Don't set dedicated status
15456 of window here (Bug#9215).
15457 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15458 (display-buffer-pop-up-side-window)
15459 (display-buffer-in-side-window): Set dedicated status of window here.
15460
15461 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15462
15463 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15464 before binding generated-autoload-file.
15465
15466 2011-08-01 Deniz Dogan <deniz@dogan.se>
15467
15468 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15469
15470 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15471
15472 Sync with Tramp 2.2.2.
15473
15474 * net/trampver.el: Update release number.
15475
15476 2011-07-30 Juri Linkov <juri@jurta.org>
15477
15478 * dired-aux.el (dired-touch-initial): Remove function.
15479 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15480 current time, and `default' to the last modification time of the
15481 current marked file (bug#6887).
15482
15483 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15484
15485 * simple.el (goto-line): Use string-to-number to provide a
15486 numeric argument to read-number (bug#9163).
15487
15488 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15489
15490 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15491 connection process, it could be nil.
15492
15493 2011-07-27 Leo Liu <sdl.web@gmail.com>
15494
15495 Simplify url handling in rcirc-mode.
15496
15497 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15498 (rcirc-browse-url-at-mouse): Remove.
15499 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15500
15501 2011-07-26 Alan Mackenzie <acm@muc.de>
15502
15503 Fontify bitfield declarations properly.
15504
15505 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15506 (c-symbol-chars): Now exported as a lang variable.
15507 (c-not-primitive-type-keywords): New lang variable.
15508
15509 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15510 QT keyword "more" to prevent "more slots: ...." being spuriously
15511 parsed as a bitfield declaration.
15512
15513 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15514 Refactor and enhance to handle bitfield declarations.
15515 (c-punctuation-in): New function.
15516 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15517 declarations properly.
15518
15519 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15520
15521 * calendar/icalendar.el (icalendar--all-events): Take care of
15522 multiple vcalendars in a single file.
15523 (icalendar--convert-float-to-ical): Checkdoc fixes.
15524
15525 2011-07-25 Deniz Dogan <deniz@dogan.se>
15526
15527 * image.el (insert-image): Clarifying docstring.
15528
15529 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15530
15531 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15532 `tramp-send-command-and-check' if there is no error.
15533 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15534
15535 2011-07-22 Alan Mackenzie <acm@muc.de>
15536
15537 Prevent cc-langs.elc being loaded at run time.
15538
15539 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15540 cc-langs.
15541
15542 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15543 "(require 'cc-langs)". Quote a form so it will evaluate at
15544 (cc-mode's) compilation time.
15545
15546 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15547
15548 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15549 loading. (Bug#9114)
15550
15551 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15552
15553 * window.el (display-buffer-pop-up-window)
15554 (display-buffer-pop-up-side-window)
15555 (display-buffer-in-side-window): Call display-buffer-set-height
15556 and display-buffer-set-width after setting the new window's
15557 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15558
15559 2011-07-20 Sam Steingold <sds@gnu.org>
15560
15561 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15562 (etags-tags-included-tables): Call `convert-standard-filename' on
15563 the file names contained in TAGS so that windows Emacs can handle
15564 TAGS files created by cygwin ctags.
15565
15566 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15567
15568 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15569 which apparently didn't work.
15570
15571 2011-07-19 Roland Winkler <winkler@gnu.org>
15572
15573 * proced.el (proced-send-signal): For *Marked Processes* buffer
15574 put point at beginning of buffer.
15575
15576 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15577
15578 * proced.el (proced-format): Make header lines align with the text
15579 (bug#1779).
15580
15581 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15582
15583 * view.el (view-buffer): Allow running in `special' modes if we're
15584 visiting a file (bug#8615).
15585
15586 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15587
15588 * window.el (display-buffer-alist-of-strings-p)
15589 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15590 New functions.
15591 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15592 more accurately.
15593
15594 2011-07-18 Alan Mackenzie <acm@muc.de>
15595
15596 Fontify declarators properly when, e.g., a jit-lock chunk begins
15597 inside a declaration.
15598
15599 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15600
15601 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15602 New function.
15603 (c-complex-decl-matchers): Insert reference to
15604 c-font-lock-enclosing-decls.
15605
15606 * progmodes/cc-engine.el (c-backward-single-comment):
15607 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15608 to nil around calls to (forward-comment -1).
15609
15610 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15611
15612 * image.el (put-image): Doc typo fix.
15613
15614 * progmodes/etags.el (tags-search): Doc typo fix.
15615
15616 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15617 password if we get errors 550 to 554.
15618
15619 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15620
15621 * net/gnutls.el (gnutls-log-level): Remove.
15622
15623 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15624 indentation character (bug#6380).
15625
15626 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15627
15628 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15629 to clarify what the problem is (bug#4291).
15630
15631 * simple.el (current-kill): Clarify what
15632 `interprogram-paste-function' does (bug#7500).
15633 (auto-fill-mode): Document `auto-fill-function' in relation to
15634 `auto-fill-mode' (bug#2470).
15635
15636 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15637
15638 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15639 method if slot is read-only (bug#9035).
15640
15641 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15642
15643 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15644 * window.el (pop-to-buffer): Select window used even if it was
15645 selected before, see discussion of (Bug#8615), (Bug#6954).
15646 Pass argument NORECORD on to select-frame-set-input-focus.
15647
15648 2011-07-15 Glenn Morris <rgm@gnu.org>
15649
15650 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15651 Respect help-form.
15652
15653 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15654
15655 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15656 (gnutls-negotiate): Use it.
15657
15658 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15659
15660 * net/gnutls.el (gnutls-negotiate):
15661 Upcase `gnutls-algorithm-priority'.
15662
15663 2011-07-15 Glenn Morris <rgm@gnu.org>
15664
15665 * jka-compr.el (jka-compr-verbose): Move from here...
15666 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15667 Add missing :version tag.
15668 * info.el: No need to require jka-compr when compiling.
15669
15670 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15671
15672 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15673 (gnutls-negotiate): Use it.
15674
15675 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15676
15677 * info.el (Info-beginning-of-buffer): New command.
15678 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15679 announcing `b' as the key (bug#8325).
15680 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15681
15682 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15683
15684 * international/mule-cmds.el
15685 (describe-specified-language-support): Make the error message
15686 clearer (bug#8905).
15687
15688 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15689
15690 * isearch.el (isearch-barrier): Add a doc string, since it's
15691 mentioned in a function doc string (bug#8678).
15692
15693 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15694
15695 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15696 buffer argument (Bug#9083) and self-identifying label argument.
15697
15698 2011-07-15 Glenn Morris <rgm@gnu.org>
15699
15700 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15701
15702 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15703
15704 * man.el (Man-fontify-manpage): Fix message when formatting the
15705 man page (bug#7929).
15706
15707 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15708
15709 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15710 argument LRM; if non-nil, append an invisible LRM character to the
15711 buffer name.
15712 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15713 last argument non-nil, when formatting buffer names.
15714 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15715 paragraph direction.
15716
15717 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15718
15719 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15720 the man page name (bug#7929).
15721
15722 * image.el (put-image): Mention the `put-image' overlay property
15723 (bug#7834).
15724
15725 * scroll-bar.el (set-scroll-bar-mode): Mention that
15726 `scroll-bar-mode' lists the values (bug#7772).
15727
15728 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15729 command (bug#7729).
15730
15731 * rect.el (apply-on-rectangle): Return the point after the last
15732 operation.
15733 (string-rectangle): Go to the point after the last operation
15734 (bug#7522).
15735
15736 * printing.el (pr-toggle-region): Clarify the documentation
15737 slightly (bug#7493).
15738
15739 * time.el (display-time-update):
15740 Allow `display-time-mail-function' to return nil (bug#7158).
15741 Fix suggested by Detlev Zundel.
15742
15743 * vc/diff.el (diff): Clarify the order the file names are read
15744 (bug#7111).
15745
15746 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15747 the doc string (bug#7015).
15748
15749 * font-lock.el (font-lock-maximum-decoration): Mention what
15750 numeric levels mean (bug#6935).
15751
15752 * startup.el (initial-buffer-choice): Don't mention the `none'
15753 selection, which is against policy.
15754
15755 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15756
15757 * window.el (display-buffer-normalize-special):
15758 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15759
15760 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15761
15762 * subr.el (version<, version<=, version=): Mention "-CVS" and
15763 "-12345" alpha version numbers.
15764
15765 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15766
15767 * bindings.el: Add advertised binding for set-mark-command
15768 (Bug#5772).
15769
15770 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15771
15772 * bindings.el (mode-line-other-buffer):
15773 * bookmark.el (bookmark-bmenu-2-window):
15774 * bs.el (bs-cycle-next, bs-cycle-previous):
15775 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15776 switch-to-buffer.
15777
15778 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15779 Delete.
15780
15781 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15782
15783 * follow.el (follow-debug-message, follow-redisplay):
15784 * jka-cmpr-hook.el (with-auto-compression-mode):
15785 Fix typos in docstrings.
15786
15787 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15788
15789 * subr.el (with-silent-modifications): Clarify somewhat what the
15790 macro inhibits (bug#6525).
15791
15792 * simple.el (eval-expression): Note what it does if called
15793 interactively (bug#6495).
15794
15795 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15796
15797 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15798 Use pop-to-buffer buffer-or-name if it is nil.
15799
15800 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15801 Remove switch-to-buffer.
15802
15803 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15804
15805 * files.el (make-directory): Clarify that an error will be raised
15806 if there's an error (bug#6397).
15807
15808 * startup.el (initial-buffer-choice): Add `none' as a choice
15809 (bug#6234).
15810
15811 * subr.el (add-hook): Clarify section about buffer-local hooks
15812 (bug#6218).
15813
15814 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15815
15816 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15817
15818 * tabify.el (untabify): Preserve the current column so that point
15819 doesn't move (bug#6032).
15820
15821 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15822
15823 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15824 Rewrite to avoid awkward possessive "s" (bug#5986).
15825
15826 2011-07-13 Glenn Morris <rgm@gnu.org>
15827
15828 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15829 (dired-insert-directory): Give a message the first time
15830 if ls is found not to support --dired.
15831
15832 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15833
15834 * simple.el (toggle-truncate-lines): Clarify what is toggled
15835 (bug#5580). Text by Drew Adams.
15836
15837 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15838
15839 * simple.el (blink-matching-open): Make the error message from the
15840 last change less verbose.
15841
15842 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15843
15844 * font-lock.el (font-lock-comment-face): Use the high contrast
15845 "yellow" color for font-lock-comment-face on low color terminals
15846 using a dark background color (bug#4221).
15847
15848 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15849
15850 * dired.el (dired-insert-set-properties): Make the doc string
15851 reflect what it does now (bug#5325).
15852
15853 * simple.el (blink-matching-open): Say that we were unable to find
15854 the match within the limit, if we're limited (bug#5122).
15855
15856 * international/mule-cmds.el (prefer-coding-system): Add an
15857 example (bug#4869).
15858
15859 * progmodes/etags.el (tags-search): Document `file-list-form'
15860 (bug#4731).
15861
15862 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15863
15864 * net/browse-url.el (browse-url-default-browser)
15865 (browse-url-browser-function): Make the default browser choice a
15866 bit more logical (bug#4300). Also clean up the doc string.
15867
15868 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15869
15870 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15871 binary endings (bug#4440).
15872
15873 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15874
15875 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15876 which can be pretty annoying (bug#8971).
15877
15878 * jka-compr.el (jka-compr-verbose): New variable, and use
15879 throughout (bug#8971).
15880
15881 * info.el (Info-find-file): Fall back on the installation
15882 directory if we can't find the info node anywhere else.
15883
15884 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15885
15886 * vc/vc.el (vc-revert-file):
15887 Don't set file time-stamp in the past. (Bug#5181)
15888
15889 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15890
15891 * files.el (after-find-file): Give a better error message when
15892 trying to find a symlink that points to a file that doesn't exist
15893 (bug#4398).
15894
15895 * progmodes/cc-vars.el: Remove (probably) misleading comment
15896 (bug#4396).
15897
15898 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15899
15900 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15901
15902 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15903
15904 * mouse-sel.el: Hack restoring functionality, while keeping
15905 compatibility with 2010-07-03 changes to mouse selection.
15906 (mouse-sel-primary-overlay): New var.
15907 (mouse-sel-selection-alist): Use it.
15908 (mouse-sel-mode): Doc fix; remove points that are default features
15909 of mouse.el.
15910
15911 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15912
15913 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15914 Fix previous fix (bug#2490).
15915
15916 2011-07-12 Roland Winkler <winkler@gnu.org>
15917
15918 * textmodes/bibtex.el (bibtex-initialize):
15919 Use pop-to-buffer-same-window.
15920 (bibtex-search-entries): Fix interactive call.
15921
15922 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15923
15924 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15925 Fontise bytecomp Error lines more correctly (bug#2490).
15926 Fix suggested by Johan Bockgård.
15927
15928 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15929
15930 * dired-x.el (dired-guess-default): Use `delete-dups'.
15931
15932 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15933
15934 * dired.el (dired-mark-prompt):
15935 * dired-aux.el (dired-read-shell-command): Doc fix.
15936
15937 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15938
15939 * mail/sendmail.el (sendmail-query-once):
15940 Use `customize-save-variable' unconditionally, now that it works under
15941 emacs -Q.
15942
15943 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15944
15945 * cus-edit.el (custom-file): Take an optional no-error variable.
15946 (customize-save-variable): Set the variable, and give a warning if
15947 running under "emacs -q".
15948
15949 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15950
15951 * loadhist.el (unload-feature-special-hooks):
15952 Add `auto-coding-functions', `fill-nobreak-predicate' and
15953 `find-directory-functions' (bug#5327).
15954
15955 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15956
15957 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15958
15959 * cus-edit.el (custom-guess-name-alist): -alist variables should
15960 use the `alist' type (bug#3120). Suggested by Drew Adams.
15961
15962 * printing.el: Add documentation to all the `pr-toggle-' commands.
15963
15964 2011-07-11 Leo Liu <sdl.web@gmail.com>
15965
15966 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15967 backends where it makes sense (bug#2623).
15968
15969 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15970
15971 * dired-x.el (dired-guess-default): Remove duplicate shell command
15972 entries (bug#2028).
15973 (dired-guess-default): Fix grammar in doc string (bug#2028).
15974 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15975
15976 * subr.el (remove-duplicates): New conveniency function.
15977
15978 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15979
15980 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15981 (bug#1526).
15982
15983 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15984
15985 * window.el (display-buffer-normalize-default): Don't invert
15986 meaning of even-window-heights. Reported by Eli Zaretskii
15987 <eliz@gnu.org>.
15988
15989 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15990
15991 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15992
15993 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15994
15995 * window.el (display-buffer): Fix arguments to
15996 display-buffer-reuse-window in last change.
15997
15998 * faces.el (link): Use a less saturated blue on light backgrounds.
15999
16000 * startup.el (fancy-startup-text, fancy-about-text)
16001 (fancy-startup-tail): Use font-lock faces, for background safety.
16002
16003 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16004
16005 * emulation/viper-cmd.el (viper-change-state-to-vi):
16006 Limit triggering of abbrev expansion (Bug#9038).
16007
16008 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16009
16010 * window.el (display-buffer-default-specifiers): Remove.
16011 (display-buffer-macro-specifiers): Remove default specifiers.
16012 (display-buffer-alist): Default to nil.
16013 (display-buffer-reuse-window): New optional argument other-window.
16014 (display-buffer-pop-up-window): Allow splitting internal
16015 windows. Check whether a live window was created.
16016 (display-buffer-other-window-means-other-frame)
16017 (display-buffer-normalize-arguments): Rename to
16018 display-buffer-normalize-argument and rewrite. Set the
16019 other-window specifier.
16020 (display-buffer-normalize-special): New function.
16021 (display-buffer-normalize-options): Rename to
16022 display-buffer-normalize-default and rewrite.
16023 (display-buffer-normalize-options-inhibit): Remove.
16024 (display-buffer-normalize-specifiers): Rewrite.
16025 (display-buffer): Process other-window specifier and call
16026 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16027 more faithfully.
16028 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16029 (display-buffer-alist-set): Don't handle 'unset default values.
16030 (display-buffer-in-window, display-buffer-alist-set):
16031 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16032 <tassilo@member.fsf.org>.
16033
16034 2011-07-09 Leo Liu <sdl.web@gmail.com>
16035
16036 * register.el (insert-register): Restore accidental change on
16037 2011-06-26. (Bug#9028)
16038
16039 2011-07-09 Glenn Morris <rgm@gnu.org>
16040
16041 * subr.el (remq): Handle the empty list. (Bug#9024)
16042
16043 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16044
16045 * mail/sendmail.el (send-mail-function): No longer delay custom
16046 initialization.
16047 * custom.el (custom-initialize-delay): Doc fix.
16048
16049 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16052
16053 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16054
16055 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16056 human-friendly prompt.
16057
16058 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16059
16060 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16061 provided by a particular plugin.
16062
16063 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16064
16065 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16066 save customizations (with "emacs -Q"), just set the variable
16067 instead of erroring out.
16068
16069 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16070
16071 2011-07-08 Juri Linkov <juri@jurta.org>
16072
16073 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16074 (archive-zip-update-case): Use 7z if found by `executable-find'.
16075 The order of searching the available programs is the same as in
16076 `archive-zip-extract' (bug#8968).
16077
16078 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16079
16080 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16081 (menu-bar-options-menu): Tweak descriptions.
16082
16083 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16084
16085 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16086 menu items into verb phrases (bug#1421). Also refill to fit under
16087 80 columns.
16088
16089 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16090
16091 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16092 (Info-read-node-name): Doc fix (Bug#1084).
16093
16094 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16095 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16096 (end-of-sexp, beginning-of-sexp)
16097 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16098 (forward-symbol, forward-same-syntax, word-at-point)
16099 (sentence-at-point): Doc fix (Bug#1144).
16100
16101 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16102
16103 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16104 should cover it (bug#1281).
16105
16106 * cus-edit.el (custom-show): Mark as obsolete.
16107
16108 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16109 negotiation fails, then possibly try again with a non-encrypted
16110 connection (bug#9017).
16111
16112 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16113 be used.
16114
16115 2011-07-07 Richard Stallman <rms@gnu.org>
16116
16117 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16118 property, and handle its changed format.
16119 Look for the correct line number.
16120 Use file's line contents (but not past first =) to find
16121 correct line in message.
16122
16123 2011-07-07 Kenichi Handa <handa@m17n.org>
16124
16125 * international/characters.el (build-unicode-category-table):
16126 Delete it.
16127 (unicode-category-table): Set it by unicode-property-table-internal.
16128
16129 * international/mule-cmds.el (char-code-property-alist): Move to
16130 to src/chartab.c.
16131 (get-char-code-property): Call unicode-property-table-internal to
16132 load a file. Call get-unicode-property-internal where necessary.
16133 (put-char-code-property): Call unicode-property-table-internal to
16134 load a file. Call put-unicode-property-internal where necessary.
16135 put-unicode-property-internal where necessary.
16136 (char-code-property-description):
16137 Call unicode-property-table-internal to load a file.
16138
16139 * international/charprop.el:
16140 * international/uni-bidi.el:
16141 * international/uni-category.el:
16142 * international/uni-combining.el:
16143 * international/uni-comment.el:
16144 * international/uni-decimal.el:
16145 * international/uni-decomposition.el:
16146 * international/uni-digit.el:
16147 * international/uni-lowercase.el:
16148 * international/uni-mirrored.el:
16149 * international/uni-name.el:
16150 * international/uni-numeric.el:
16151 * international/uni-old-name.el:
16152 * international/uni-titlecase.el:
16153 * international/uni-uppercase.el: Regenerate.
16154
16155 * loadup.el: Load international/charprop.el before
16156 international/characters.
16157
16158 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16159
16160 * window.el (next-buffer, previous-buffer): Signal an error if
16161 called from a minibuffer window.
16162
16163 * bindings.el: Revert 2011-07-04 change.
16164
16165 2011-07-06 Richard Stallman <rms@gnu.org>
16166
16167 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16168 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16169 Treat markers like ints.
16170 (rmail-mime-entity): Doc fix.
16171
16172 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16173
16174 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16175 defcustom again for backwards compatibility.
16176
16177 * simple.el (shell-command-on-region): Fill.
16178
16179 * dired-aux.el (dired-kill-line): Add a doc string.
16180
16181 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16182 to "\\sw\\|\\s_" (bug#358).
16183
16184 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16185 (dired-unmark-backward): Ditto.
16186 (dired-flag-backup-files): Ditto.
16187
16188 * dired-x.el (dired-mark-sexp): Ditto.
16189
16190 2011-07-06 Richard Stallman <rms@gnu.org>
16191
16192 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16193 (rmail-mime-entity): New arg TRUNCATED.
16194 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16195 New functions.
16196 (rmail-mime-save): Warn if entity is truncated.
16197 (rmail-mime-toggle-hidden): Likewise, for showing.
16198 (rmail-mime-process-multipart): Record when an entity is truncated.
16199
16200 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16201 if ENTITY is a string.
16202
16203 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16204
16205 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16206 of faces when `M-C-x'-ing their definitions (bug#8378).
16207 Also clean up the code slightly.
16208
16209 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16210 because that makes the colors go away.
16211
16212 * mail/sendmail.el (send-mail-function): Change the default to
16213 `sendmail-query-once'.
16214 (sendmail-query-once): Add an autoload cookie.
16215
16216 * net/network-stream.el (network-stream-open-starttls): Try using
16217 a plain connection even if the server offered STARTTLS, and we
16218 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16219 capability. This should make smtpmail.el work in slightly more
16220 configurations.
16221
16222 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16223
16224 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16225 New defun.
16226 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16227
16228 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16229
16230 * progmodes/sql.el: Version 3.0
16231 (sql-product-alist): Add product :completion-object,
16232 :completion-column, and :statement attributes.
16233 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16234 (sql-mode-syntax-table): Mark all punctuation.
16235 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16236 ansi keywords.
16237 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16238 (sql-mode-oracle-font-lock-keywords): Improve.
16239 (sql-oracle-show-reserved-words): New function for development.
16240 (sql-product-font-lock): Simplify for source code buffers.
16241 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16242 New functions.
16243 (sql-highlight-product): Set product specific syntax table.
16244 (sql-mode-map): Add statement movement functions.
16245 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16246 New variable.
16247 (sql-statement-regexp, sql-beginning-of-statement)
16248 (sql-end-of-statement, sql-signum): New functions.
16249 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16250 (sql-show-sqli-buffer): Bug fix.
16251 (sql-interactive-mode): Store connection data as buffer local.
16252 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16253 with sql-interactive-mode.
16254 (sql-save-connection): Save buffer local settings.
16255 (sql-connection-menu-filter): Change menu entry name.
16256 (sql-product-interactive): Bug fix.
16257 (sql-preoutput-hold): New variable.
16258 (sql-interactive-remove-continuation-prompt): Bug fixes.
16259 (sql-debug-redirect): New variable.
16260 (sql-str-literal): New function.
16261 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16262 Redesign.
16263 (sql-oracle-save-settings, sql-oracle-restore-settings)
16264 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16265 (sql-completion-object, sql-completion-column)
16266 (sql-completion-sqlbuf): New variables.
16267 (sql-build-completions-1, sql-build-completions)
16268 (sql-try-completion): New functions.
16269 (sql-read-table-name): Use them.
16270 (sql-contains-names): New buffer local variable.
16271 (sql-list-all, sql-list-table): Use it.
16272 (sql-oracle-completion-types): New variable.
16273 (sql-oracle-completion-object, sql-sqlite-completion-object)
16274 (sql-postgres-completion-object): New functions.
16275
16276 2011-07-06 Glenn Morris <rgm@gnu.org>
16277
16278 * window.el (pop-to-buffer): Doc fix.
16279
16280 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16281
16282 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16283
16284 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16285
16286 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16287
16288 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16289
16290 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16291
16292 * button.el (button): Inherit from link face. Suggested by Dan
16293 Nicolaescu.
16294
16295 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16296
16297 * progmodes/gdb-mi.el: Fit in 80 columns.
16298 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16299 switch-to-buffer.
16300
16301 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16302 if imenu is simply not configured (bug#8941).
16303
16304 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16305
16306 * allout.el (allout-post-undo-hook): New allout outline-change
16307 event hook to signal undo activity.
16308 (allout-post-command-business): Run allout-post-undo-hook if an
16309 undo just occurred.
16310 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16311 * allout-widgets.el (allout-widgets-after-undo-function):
16312 Ensure the integrity of the current item's decoration after it has been
16313 in the vicinity of an undo.
16314 (allout-widgets-mode): Include allout-widgets-after-undo-function
16315 on the new allout-post-undo-hook.
16316
16317 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16318
16319 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16320 Let define-derived-mode define it.
16321 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16322 cycles of abbrev-table inheritance (bug#8998).
16323
16324 2011-07-05 Roland Winkler <winkler@gnu.org>
16325
16326 * textmodes/bibtex.el: Add support for biblatex.
16327 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16328 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16329 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16330 (bibtex-entry-alist, bibtex-field-alist): New variables.
16331 (bibtex-entry-field-alist): Obsolete alias for
16332 bibtex-BibTeX-entry-alist.
16333 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16334 (bibtex-set-dialect): New command.
16335 (bibtex-entry-type, bibtex-entry-head)
16336 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16337 Bind via bibtex-set-dialect.
16338 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16339 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16340 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16341 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16342 Define via bibtex-set-dialect.
16343 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16344 Obey bibtex-no-opt-remove-re.
16345 (bibtex-vec-push, bibtex-vec-incr): New functions.
16346 (bibtex-format-entry, bibtex-field-list)
16347 (bibtex-print-help-message, bibtex-validate)
16348 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16349
16350 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16351
16352 * progmodes/compile.el (compilation-goto-locus):
16353 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16354 * bs.el (bs-cycle-next, bs-cycle-previous):
16355 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16356 * bindings.el (mode-line-other-buffer):
16357 * autoinsert.el (auto-insert):
16358 * arc-mode.el (archive-extract):
16359 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16360
16361 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16362
16363 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16364 Fix check of `emacs-lock-unlockable-modes'.
16365 Coerce true values of `emacs-lock--try-unlocking' to t.
16366
16367 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16368
16369 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16370 * emacs-lock.el: New file.
16371
16372 2011-07-05 Julien Danjou <julien@danjou.info>
16373
16374 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16375 than `boundp' to check if face is set.
16376
16377 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16378
16379 * register.el (registerv-make):
16380 * window.el (window-min-height): Fix typos in docstrings.
16381
16382 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16383
16384 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16385 Update doc string.
16386
16387 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16388
16389 * server.el (server-execute): Catch quit and call
16390 `server-return-error' to pass the error back to emacsclient and
16391 close the connection (bug#8942).
16392
16393 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16394
16395 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16396 insecure exception for current topic. Also note that auto-saves
16397 are handled differently.
16398
16399 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16400 State variables for tracking auto-save inhibition situation.
16401
16402 (allout-write-contents-hook-handler): Rename from
16403 'allout-write-file-hook-handler', and describe how it depends on
16404 write-contents-functions sensitivity to non-nil value to prevent
16405 file write.
16406
16407 (allout-auto-save-hook-handler): Remove. auto-save does not check
16408 this in individual buffers, only in the starting buffer, so this
16409 is not the right way for us to inhibit auto-save in a buffer
16410 according to its condition.
16411
16412 (allout-mode): Use new allout-write-contents-hook-handler, and
16413 only with write-contents-functions. Remove auto-save provisions -
16414 they're implemented elsewhere.
16415
16416 (allout-before-change-handler): If undo is in progress, note that
16417 for attention of allout-post-command-business.
16418
16419 (allout-post-command-business): If the command we're following was
16420 an undo, check for change in the status of encrypted items and
16421 adjust auto-save inhibitions accordingly.
16422
16423 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16424 according to whether there are or aren't any plain-text topics
16425 pending encryption.
16426
16427 (allout-inhibit-auto-save-info-for-decryption):
16428 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16429 if there are plain-text topics pending encryption.
16430
16431 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16432 buffer-saved-size and some allout state to not inhibit auto-saves
16433 if there are no longer any plain-text topics pending encryption.
16434
16435 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16436 No longer provide for exemption of the current topic.
16437
16438 2011-07-04 Juri Linkov <juri@jurta.org>
16439
16440 Add 7z operations to delete and save changed members (bug#8968).
16441 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16442 New defcustoms.
16443 (archive-7z-write-file-member): New function.
16444 (archive-7z-summarize): Fix the number of dashes in the
16445 listing output.
16446
16447 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16448
16449 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16450 (bug#8958).
16451
16452 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16453
16454 * bindings.el: Ignore next-buffer and previous-buffer in
16455 minibuffer-local-map.
16456
16457 * font-lock.el (font-lock-builtin-face): Change light background
16458 color to dark slate blue (Bug#6693).
16459
16460 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16461
16462 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16463
16464 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16465
16466 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16467 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16468 Add switch-to-buffer.
16469
16470 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16471
16472 * isearch.el (isearch-search-fun-function): Clarify further the
16473 meaning of the function returned.
16474
16475 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16476
16477 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16478
16479 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16480 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16481 Use it.
16482 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16483 `tramp-default-remote-path' does not exist.
16484 (tramp-send-command-and-read): New optional argument NOERROR.
16485 (tramp-open-connection-setup-interactive-shell)
16486 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16487 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16488 (tramp-process-sentinel): Flush also process' connection property.
16489 (tramp-sh-handle-start-file-process): Do not set process
16490 sentinel. It is done now ...
16491 (tramp-maybe-open-connection): ... here. (Bug#8929)
16492
16493 2011-07-04 MON KEY <monkey@sandpframing.com>
16494
16495 * play/animate.el (animate-string): Doc fixes and allow changing
16496 the buffer name (bug#5417).
16497
16498 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16499
16500 * play/animate.el (animation-buffer-name): Rename from *animate*.
16501
16502 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16503
16504 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16505 This is simpler and helps future-proof the code.
16506 (timer-until): Use time-subtract and float-time.
16507 (timer--time-less-p): Use time-less-p.
16508
16509 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16510
16511 * type-break.el (timep): Use the value of `float-time' to avoid a
16512 byte-compiler warning.
16513
16514 * server.el (server-eval-and-print): Return any result, even nil.
16515
16516 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16517
16518 * type-break.el: Accept time formats that the builtins accept.
16519 (timep, type-break-time-difference): Accept any format that
16520 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16521 This is simpler and helps future-proof the code.
16522 (type-break-time-difference): Round rather than ignoring
16523 subseconds components.
16524
16525 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16526
16527 * info.el (Info-apropos-matches): Make non-interactive, since it
16528 doesn't seem to do anything useful as a command (bug#8829).
16529
16530 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16531
16532 * frame.el (frame-background-mode, frame-set-background-mode):
16533 Move from faces.el.
16534 (frame-default-terminal-background): New function.
16535
16536 * custom.el (custom-push-theme): Don't record faces in `changed'
16537 theme; this doesn't work correctly for per-frame face settings.
16538 (disable-theme): Use face-set-after-frame-default to reset faces.
16539 (custom--frame-color-default): New function.
16540
16541 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16542
16543 * dired.el (dired-flagging-regexp): Remove unused variable
16544 (bug#8769).
16545
16546 2011-03-29 Kevin Ryde <user42@zip.com.au>
16547
16548 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16549 `perl-Test2' extend to match possible "fail #N" rep count
16550 (bug#8377).
16551
16552 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16553
16554 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16555 `smtpmail-via-smtp' now returns the error instead of nil.
16556
16557 * isearch.el (isearch-search-fun-function): Clarify the doc string
16558 (bug#8101).
16559
16560 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16561
16562 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16563 unnecessary spaces (bug#8987).
16564
16565 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16566
16567 * net/network-stream.el (open-network-stream): Use the
16568 :end-of-capability command thoughout.
16569
16570 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16571
16572 * net/network-stream.el (open-network-stream): Add the
16573 :end-of-capability command parameter, used by pop3.el.
16574
16575 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16576
16577 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16578
16579 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16580 for list)" (bug#6475).
16581
16582 * files.el (file-expand-wildcards): Ignore non-readable
16583 sub-directories while trying to find matches instead of signaling
16584 an error (bug#6297).
16585
16586 * man.el (Man-reference-regexp): Allow matching possible
16587 word-wrapped references (bug#6289).
16588
16589 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16590 for consistency with the other vc buffers (bug#6197).
16591 (vc-checkin): Ditto.
16592
16593 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16594
16595 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16596
16597 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16598
16599 * custom.el (defcustom): Clarify that :set is only used in the
16600 Customize user interface (bug#6089).
16601
16602 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16603 associated with a file, refuse to run instead of erroring out
16604 (bug#6084).
16605
16606 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16607 the doc string, since it appears that using `fill-column' always
16608 controls the width (bug#7845).
16609
16610 * simple.el (shell-command-on-region): Say where the error output
16611 went if `shell-command-default-error-buffer' is set (bug#6857).
16612
16613 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16614
16615 * allout.el (allout-yank-processing): Adjust cursor position for
16616 backwards-deleted space.
16617
16618 (allout-rebullet-heading): Register changes with
16619 allout-exposure-changed-hook, so the modified topic is properly
16620 decorated.
16621
16622 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16623
16624 * minibuffer.el (completion-in-region): Document PREDICATE
16625 (bug#7136).
16626
16627 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16628 of keyword/argument pairs (bug#6904).
16629
16630 * replace.el (multi-occur):
16631 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16632
16633 2011-07-02 Drew Adams <drew.adams@oracle.com>
16634
16635 * dired.el (dired-mark-if): Make the message about whether it's
16636 marking or unmarking clearer (bug#8523).
16637
16638 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16639
16640 * disp-table.el (display-table-print-array): New function.
16641 (describe-display-table): Use it to print the vectors more pretty
16642 (Bug#8859).
16643
16644 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16645
16646 * window.el (window-state-get-1): Don't assign clone numbers.
16647 Add clone-of item to list of window parameters.
16648 (window-state-put-2): Don't process clone numbers.
16649 (display-buffer-alist): Fix doc-string.
16650
16651 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16652
16653 * subr.el (remq): Don't allocate if it's not needed.
16654 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16655 (keymap--merge-bindings): New functions.
16656 (keymap-canonicalize): Use them to refine the canonicalization.
16657 * minibuffer.el (minibuffer-local-completion-map)
16658 (minibuffer-local-must-match-map): Move initialization from C.
16659 (minibuffer-local-filename-completion-map): Move initialization from C;
16660 don't inherit from anything here.
16661 (minibuffer-local-filename-must-match-map): Make obsolete.
16662 (completing-read-default): Use make-composed-keymap to combine
16663 minibuffer-local-filename-completion-map with either
16664 minibuffer-local-must-match-map or
16665 minibuffer-local-filename-completion-map.
16666
16667 2011-07-01 Glenn Morris <rgm@gnu.org>
16668
16669 * type-break.el (type-break-time-sum): Use dolist.
16670
16671 * textmodes/flyspell.el (flyspell-word-search-backward):
16672 Replace CL function.
16673
16674 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16675
16676 * mouse.el (mouse--strip-first-event): New function.
16677 (function-key-map): Use it to map fringe clicks to normal clicks
16678 by default.
16679
16680 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16681 (vc-bzr-revision-completion-table): Add support for annotate and date.
16682
16683 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16684 inherit from parent.
16685
16686 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16687
16688 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16689 (dired-show-file-type): Doc fixup (bug#8818).
16690
16691 * dired.el (dired-mode): Fix up the doc string as suggested by
16692 Drew Adams (bug#8817).
16693
16694 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16695 cookie, since the manual says that it should be possible to add
16696 this function to `find-file-hook' (bug#8709).
16697
16698 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16699
16700 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16701 here. Noted Ted Zlatanov as the maintainer.
16702 (cfengine-common-settings, cfengine-common-syntax): New functions
16703 to set up common things between `cfengine-mode' and
16704 `cfengine3-mode'.
16705 (cfengine3-mode): New mode.
16706 (cfengine3-defuns cfengine3-defuns-regex
16707 (cfengine3-class-selector-regex cfengine3-category-regex)
16708 (cfengine3-vartypes cfengine3-font-lock-keywords)
16709 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16710 (cfengine3-indent-line): Add from cfengine3.el.
16711
16712 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16713
16714 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16715
16716 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16717
16718 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16719
16720 * window.el (same-window-buffer-names, same-window-regexps)
16721 (same-window-p, special-display-frame-alist)
16722 (special-display-popup-frame, special-display-function)
16723 (special-display-buffer-names, special-display-regexps)
16724 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16725 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16726 (split-window-preferred-function, split-height-threshold)
16727 (split-width-threshold, even-window-heights)
16728 (display-buffer-mark-dedicated, window-splittable-p)
16729 (split-window-sensibly, window-safely-shrinkable-p):
16730 Un-obsolete.
16731 (display-buffer): Don't spread args with function specifier
16732 because special-display-popup-frame won't like it.
16733
16734 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16735
16736 Time-stamp simplifications and fixes.
16737 These improve accuracy slightly, and future-proof the code
16738 against some potential changes to current-time format.
16739
16740 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16741 by using time-since and float-time.
16742
16743 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16744 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16745 + NNN microseconds".
16746
16747 * type-break.el (type-break-time-sum): Rewrite using time-add.
16748
16749 * play/hanoi.el (hanoi-current-time-float): Remove.
16750 All uses replaced by float-time.
16751
16752 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16753 This yields a more-accurate answer.
16754 (rng-time-to-float): Remove; no longer needed.
16755
16756 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16757
16758 * calendar/timeclock.el (timeclock-seconds-to-time):
16759 Defalias to seconds-to-time, since they're the same thing.
16760
16761 * emacs-lisp/elp.el (elp-elapsed-time):
16762 * emacs-lisp/benchmark.el (benchmark-elapse):
16763 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16764
16765 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16766
16767 * window.el (bury-buffer): Don't iconify the only frame.
16768 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16769 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16770
16771 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16772
16773 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16774 Add mouse-yank-primary.
16775
16776 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16777
16778 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16779
16780 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16781
16782 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16783 (find-library-name): Use it to find relative load names when provided
16784 absolute file name (bug#8803).
16785
16786 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16787
16788 * textmodes/flyspell.el (flyspell-word): Consider words that
16789 differ only in case as potential doublons (bug#5687).
16790
16791 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16792 Remove two rather uninteresting debugging-like messages to make
16793 debbugs.el more silent.
16794
16795 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16796 a password-like phrase.
16797
16798 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16799
16800 * progmodes/cc-guess.el: New file.
16801
16802 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16803
16804 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16805 derived from `c-basic-common-init'.
16806
16807 * progmodes/cc-mode.el (top-level): Require cc-guess.
16808 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16809
16810 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16811
16812 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16813
16814 2011-06-30 Alan Mackenzie <acm@muc.de>
16815
16816 * progmodes/cc-engine.el (c-guess-continued-construct):
16817 Correct the handling of template-args-cont, particularly for when font
16818 lock is disabled. Name this case as "CASE G".
16819
16820 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16821
16822 * allout.el (allout-yank-processing): Fix injection of extra space
16823 between bullet and non-whitespace character in first topic when
16824 pasting, ensuring that the actual spacing in the pasted topic
16825 following the bullet char is preserved. This extra space was
16826 causing pasted encrypted topics to get a decrypted status even
16827 when the content was actually still encrypted. Now the decryption
16828 status from before the paste is preserved.
16829
16830 (allout-flag-region): Set all allout overlays so they evaporate
16831 when reduced to zero length (evanescent), to prevent overlay
16832 leakage.
16833
16834 2011-06-30 Glenn Morris <rgm@gnu.org>
16835
16836 * w32-fns.el (w32-charset-info-alist): Declare.
16837
16838 * find-dired.el (find-grep-options): Simplify.
16839
16840 * term/ns-win.el (ns-set-resource): Declare.
16841
16842 * ses.el (row, col): Declare dynamic variables honestly.
16843
16844 * textmodes/reftex-parse.el (index-tags): Declare.
16845
16846 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16847
16848 * cus-edit.el (customize-push-and-save): New function.
16849
16850 * files.el (hack-local-variables-confirm): Use it.
16851
16852 * custom.el (load-theme): New arg NO-CONFIRM.
16853 Use customize-push-and-save (Bug#8720).
16854 (custom-enabled-themes): Doc fix.
16855
16856 * cus-theme.el (customize-create-theme)
16857 (custom-theme-merge-theme): Callers to load-theme changed.
16858
16859 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16860
16861 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16862 short URLs have at least one dot in them (bug #7614).
16863
16864 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16865 nil, because using a pty is apparently too slow (bug #895).
16866
16867 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16868
16869 * mail/sendmail.el (sendmail-query-once): New function.
16870 (sendmail-query-once-function): New variable.
16871
16872 2011-06-29 Glenn Morris <rgm@gnu.org>
16873
16874 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16875
16876 * ses.el (top-level): Require cl when compiling.
16877 (ses-set-localvars): Fix error statement.
16878 Call it at compile time to silence a storm of warnings.
16879
16880 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16881
16882 * window.el (normalize-live-buffer): Rename to
16883 window-normalize-buffer.
16884 (normalize-live-frame): Rename to window-normalize-frame.
16885 (normalize-any-window): Rename to window-normalize-any-window.
16886 (normalize-live-window): Rename to window-normalize-live-window.
16887 (make-window-atom): Rename to window-make-atom.
16888 (window-resize-reset): Rename to window--resize-reset.
16889 (window-resize-reset-1): Rename to window--resize-reset-1.
16890 (resize-mini-window): Rename to window--resize-mini-window.
16891 (resize-subwindows-skip-p): Rename to
16892 window--resize-subwindows-skip-p.
16893 (resize-subwindows-normal): Rename to
16894 window--resize-subwindows-normal.
16895 (resize-subwindows): Rename to window--resize-subwindows.
16896 (resize-other-windows): Rename to window--resize-siblings.
16897 (resize-this-window): Rename to window--resize-this-window.
16898 (resize-root-window): Rename to window--resize-root-window.
16899 (resize-root-window-vertically): Rename to
16900 window--resize-root-window-vertically.
16901 (normalize-buffer-to-display): Rename to
16902 window-normalize-buffer-to-display.
16903 (normalize-buffer-to-switch-to): Rename to
16904 window-normalize-buffer-to-switch-to.
16905 Correspondingly update all callers of the functions listed
16906 above.
16907 (display-buffer-alist, display-buffer-normalize-arguments)
16908 (display-buffer-normalize-options, display-buffer)
16909 (display-buffer-alist-set): Use "function" instead of
16910 "fun-with-args".
16911
16912 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16913
16914 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16915 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16916 debbugs.gnu.org. Mention acknowledgment email.
16917
16918 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16919
16920 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16921 buffer multibyteness, since it shouldn't matter.
16922
16923 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16924
16925 * window.el (display-buffer-in-side-window): Handle dedicated
16926 windows as in display-buffer-reuse-window.
16927 (display-buffer-normalize-alist): Use value of override
16928 specifier.
16929 (display-buffer-normalize-specifiers): Use value of
16930 other-window-means-other-frame specifier.
16931 (display-buffer-alist): Rewrite some texts in widgets.
16932 (display-buffer): Spread arguments when calling function
16933 specified by fun-with-args.
16934
16935 2011-06-28 Deniz Dogan <deniz@dogan.se>
16936
16937 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16938 Unnest `let'.
16939
16940 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16941 selectors (Bug#5732).
16942 (css-proprietary-nmstart-re): Use `regexp-opt'.
16943
16944 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16945
16946 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16947 (eshell-ls-date-format): New defcustom.
16948 (eshell-ls-file): Use it.
16949
16950 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16951
16952 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16953
16954 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16955
16956 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16957 (ange-ftp-make-tmp-name): New arg.
16958 (ange-ftp-file-local-copy): Use it.
16959
16960 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16961
16962 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16963 no-conversion (Bug#8870).
16964
16965 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16966
16967 * window.el (window-right, window-left, window-child)
16968 (window-child-count, window-last-child)
16969 (window-iso-combination-p, walk-window-tree-1)
16970 (window-atom-check-1, window-tree-1, delete-window)
16971 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16972 new naming conventions - window-vchild, window-hchild,
16973 window-next and window-prev are now called window-top-child,
16974 window-left-child, window-next-sibling and window-prev-sibling
16975 respectively.
16976 (resize-window-reset): Rename to window-resize-reset.
16977 (resize-window-reset-1): Rename to window-resize-reset-1.
16978 (resize-window): Rename to window-resize.
16979 (window-min-height, window-min-width)
16980 (resize-mini-window, resize-this-window, resize-root-window)
16981 (resize-root-window-vertically, adjust-window-trailing-edge)
16982 (enlarge-window, shrink-window, maximize-window)
16983 (minimize-window, delete-window, quit-restore-window)
16984 (split-window, balance-windows, balance-windows-area-adjust)
16985 (balance-windows-area, window-state-put-2)
16986 (display-buffer-even-window-sizes, display-buffer-set-height)
16987 (display-buffer-set-width, set-window-text-height)
16988 (fit-window-to-buffer): Rename all "resize-window" prefixed
16989 calls to use the "window-resize" prefix convention.
16990 (display-buffer-alist): Fix symbol for label specifier.
16991 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16992 corresponding specifier.
16993 Reported by Juanma Barranquero <lekktu@gmail.com>.
16994
16995 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16996
16997 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16998 convention.
16999 (ses-call-printer): Does not pass an empty string to formatter when the
17000 cell is empty to keep from barking printer Calc math-format-value.
17001
17002 2011-06-27 Richard Stallman <rms@gnu.org>
17003
17004 * battery.el (battery-mode-line-limit): New variable.
17005 (battery-update): Handle it.
17006
17007 * mail/rmailmm.el (rmail-mime-process-multipart):
17008 Handle truncated messages.
17009
17010 2011-06-27 Glenn Morris <rgm@gnu.org>
17011
17012 * progmodes/flymake.el (flymake-err-line-patterns):
17013 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17014
17015 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17016
17017 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17018 (ses--clean-!, ses--clean-_): New functions.
17019 (ses-range): Add configurability of readout order, and conversion
17020 to Calc vector.
17021
17022 * ses.el (ses-repair-cell-reference-all): New function.
17023 (ses-cell-symbol): Set macro as safe, so that it can be used in
17024 formulas.
17025
17026 * ses.el: Update cycle detection algorithm.
17027 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17028 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17029 (ses-set-localvars): New function.
17030 (ses-make-cell): Add property-list as a cell element.
17031 (ses-cell-property-get-fun, ses-cell-property-get)
17032 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17033 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17034 New functions.
17035 (ses-cell-property-set, ses-cell-property-pop)
17036 (ses-cell-property-get-handle): New macro.
17037 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17038 New aliases, used for code readability.
17039 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17040 cycle detection.
17041 (ses-self-reference-early-detection): New defcustom.
17042 (ses-formula-references): Robustify against self-referring cells.
17043 (ses-mode): Use ses-set-localvars.
17044 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17045 before lauching the update processing.
17046 (ses-initialize-Dijkstra-attempt): New function.
17047 (ses-recalculate-cell): Update for cycle detection based on
17048 Dijkstra algorithm.
17049
17050 * ses.el: Fix commenting and indenting convention.
17051
17052 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17053
17054 * bs.el (bs-cycle-next): Complete last change.
17055
17056 2011-06-27 Drew Adams <drew.adams@oracle.com>
17057
17058 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17059
17060 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17061
17062 * net/network-stream.el (network-stream-open-starttls):
17063 Don't re-get capabilities unless we've reestablished connection.
17064 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17065
17066 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17067 to binary to possibly avoid line encoding issues on Windows (among
17068 other things).
17069
17070 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17071
17072 * net/network-stream.el (open-network-stream): Return an :error
17073 saying what the problem was, if possible.
17074
17075 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17076 server.
17077
17078 * net/network-stream.el (network-stream-open-starttls): If we
17079 wanted to use STARTTLS, and the server offered it, but we weren't
17080 able to because we had no STARTTLS support, then close the connection.
17081 (open-network-stream): Return an :error element, if present.
17082
17083 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17084
17085 * hl-line.el (hl-line-sticky-flag): Doc fix.
17086 (global-hl-line-sticky-flag): New option (Bug#8323).
17087 (global-hl-line-highlight): Obey it.
17088
17089 * vc/vc.el (vc-revert-show-diff): Default to t.
17090
17091 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17092
17093 * allout-widgets.el (allout-widgets-post-command-business):
17094 Stop decorating intermediate isearch matches. They're not being
17095 undecorated when an isearch is continued past, and isearch
17096 automatically collapses them. This leads to "widget leaks", where
17097 decorated items accumulate in collapsed areas. Lines with lots of
17098 hidden widgets can slow down cursor travel, substantially.
17099 Too much complicated machinery would be needed to ensure undecoration,
17100 so we're doing without this nicety.
17101
17102 (allout-widgets-tally-string): Don't try to do a hash-table-count
17103 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17104 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17105 *Messages* when allout-widgets-maintain-tally is t.
17106
17107 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17108
17109 * window.el (display-buffer-normalize-argument): Rename to
17110 display-buffer-normalize-arguments. Handle special meaning of
17111 LABEL argument. Respect special-display-function when popping up
17112 a new frame. Fix code searching for a window showing the buffer
17113 on another frame.
17114 (display-buffer-normalize-specifiers):
17115 Call display-buffer-normalize-arguments.
17116 (display-buffer-in-window): Don't undedicate the window if its
17117 buffer remains the same.
17118 Reported by Drew Adams <drew.adams@oracle.com>.
17119 (display-buffer-alist): Add choice for same-window macro
17120 specfier.
17121 (display-buffer): Mention special meaning of LABEL argument in
17122 doc-string. Fix quoting. Don't pop up a new frame even as
17123 fallback.
17124
17125 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17126
17127 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17128 avoid deleting the current window in some cases (bug#8911).
17129
17130 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17131
17132 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17133 (Bug#8934)
17134
17135 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17136
17137 * net/network-stream.el (network-stream-open-starttls):
17138 Use built-in TLS support if `gnutls-available-p' is true.
17139 (network-stream-open-tls): Ditto.
17140
17141 2011-06-26 Leo Liu <sdl.web@gmail.com>
17142
17143 * register.el (registerv): New struct.
17144 (registerv-make): New function.
17145 (jump-to-register, describe-register-1, insert-register):
17146 Support the jump-func, print-func and insert-func slot of a registerv
17147 struct. (Bug#8415)
17148
17149 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17150
17151 * vc/vc.el (vc-revert-show-diff): New defcustom.
17152 (vc-diff-internal): New arg specifying diff buffer.
17153 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17154 reuse an existing *vc-diff* buffer (Bug#8927).
17155
17156 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17157
17158 2011-06-26 Glenn Morris <rgm@gnu.org>
17159
17160 * progmodes/f90.el (f90-critical-indent): New option.
17161 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17162 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17163 (f90-mode): Doc fix.
17164 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17165 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17166 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17167 (f90-match-end): Handle block, critical.
17168
17169 2011-06-25 Glenn Morris <rgm@gnu.org>
17170
17171 * calendar/diary-lib.el (diary-included-files): Doc fix.
17172 (diary-include-files): New function, extracted from
17173 diary-include-other-diary-files and diary-mark-included-diary-files.
17174 (diary-include-other-diary-files, diary-mark-included-diary-files):
17175 Just call diary-include-files.
17176 (diary-mark-entries): Reset diary-included-files on first call.
17177
17178 * calendar/diary-lib.el (diary-mark-entries)
17179 (diary-mark-included-diary-files):
17180 Visit included diary-files in temp buffers.
17181
17182 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17183 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17184 (f90-start-block-re, f90-imenu-generic-expression)
17185 (f90-looking-at-program-block-start, f90-no-block-limit):
17186 Add support for submodules.
17187
17188 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17189 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17190
17191 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17192
17193 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17194 buffer-file-type before setting its value, to avoid disastrous
17195 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17196
17197 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17198
17199 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17200
17201 * ses.el (ses-unload-function):
17202 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17203
17204 * proced.el (proced-unload-function):
17205 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17206
17207 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17208
17209 * server.el (server-create-window-system-frame): Add parameters arg.
17210 (server-process-filter): Doc fix. Handle frame-parameters.
17211
17212 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17213
17214 Fix bug#8730, bug#8781.
17215
17216 * loadhist.el (unload--set-major-mode): New function.
17217 (unload-feature): Use it.
17218
17219 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17220 (python-unload-function): New function.
17221
17222 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17223
17224 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17225
17226 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17227
17228 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17229 the candidates list.
17230
17231 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17232
17233 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17234
17235 2011-06-23 Richard Stallman <rms@gnu.org>
17236
17237 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17238 (rmail-variables): Set next-error-move-function.
17239 (rmail-what-message): Take argument POS.
17240 (rmail-next-error-move): New function.
17241
17242 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17243
17244 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17245 messages for adjacent non-terminals.
17246
17247 2011-06-23 Richard Stallman <rms@gnu.org>
17248
17249 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17250 (rmail-show-message-1): Preserve buffer modified flag.
17251 (rmail-start-mail): Don't specify use of rmail-mail-return;
17252 that's done by mail-bury now.
17253 (rmail-mail-return): Handle arg NEWBUF.
17254
17255 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17256
17257 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17258 SIZE is a number.
17259
17260 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17261
17262 * window.el (get-lru-window, get-mru-window)
17263 (get-largest-window): Never return a minibuffer window.
17264 (display-buffer-pop-up-window): Fix a bug that could lead to
17265 reusing the minibuffer window.
17266 (display-buffer): Pass original specifier argument to
17267 display-buffer-function instead of the normalized one.
17268 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17269
17270 2011-06-22 Leo Liu <sdl.web@gmail.com>
17271
17272 * minibuffer.el (completing-read-function)
17273 (completing-read-default): Move from minibuf.c.
17274
17275 2011-06-22 Richard Stallman <rms@gnu.org>
17276
17277 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17278 to Rmail even if not started by a special Rmail command.
17279
17280 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17281 Copy the buffer currently showing just one message.
17282
17283 2011-06-22 Roland Winkler <winkler@gnu.org>
17284
17285 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17286 (bibtex-clean-entry): First delete the old key so that a
17287 customized algorithm for generating the new key does not get
17288 confused by the old key.
17289 (bibtex-url): Obey regexp of first step.
17290 (bibtex-search-entries): Do not use add-to-list with local
17291 list-var.
17292
17293 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17294
17295 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17296 stored a user name, then query for the password first, instead of
17297 waiting for SMTP to give an error message and the trying again.
17298
17299 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17300
17301 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17302 BUFFER in call-process.
17303
17304 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17305
17306 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17307 QUIT twice.
17308 (smtpmail-try-auth-methods): Require user name and password from
17309 auth-source.
17310
17311 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17312
17313 * window.el (display-buffer-default-specifiers)
17314 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17315 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17316 (split-window): Normalize SIDE argument (Bug#8916).
17317
17318 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17319 (special-display-frame-alist, special-display-popup-frame):
17320 Remove duplicate declarations. These are now in window.el.
17321
17322 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17323
17324 * mail/smtpmail.el (smtpmail-via-smtp):
17325 Set :use-starttls-if-possible so that we always use STARTTLS if the
17326 server supports it. SMTP servers that support STARTTLS commonly
17327 require it.
17328
17329 * net/network-stream.el (network-stream-open-starttls): Support
17330 upgrading to STARTTLS always, even if we don't have built-in support.
17331 (open-network-stream): Add the :always-query-capabilities keyword.
17332
17333 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17334 upgrades with `open-network-stream', and rely solely on
17335 auth-source for all credentials. Big changes throughout the file,
17336 but in particular:
17337 (smtpmail-auth-credentials): Remove.
17338 (smtpmail-starttls-credentials): Remove.
17339 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17340 MAIL FROM, too.
17341
17342 * net/network-stream.el (network-stream-open-starttls):
17343 Provide support for client certificates both for external and built-in
17344 STARTTLS.
17345 (auth-source): Require.
17346 (open-network-stream): Document the :client-certificate keyword.
17347 (network-stream-certificate): Change cert-cert to cert and
17348 cert-key to key.
17349
17350 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17351
17352 * net/tramp-cache.el (top): Don't load the persistency file when
17353 "emacs -Q" has been called.
17354
17355 2011-06-21 Tim Harper <timcharper@gmail.com>
17356
17357 * term/ns-win.el (ns-initialize-window-system):
17358 Set application-specific `ApplePressAndHoldEnabled' system
17359 resource to NO as it is not yet supported by the NS port.
17360
17361 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17362
17363 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17364 (list-dynamic-libraries): ...not here.
17365
17366 2011-06-21 Leo Liu <sdl.web@gmail.com>
17367
17368 * subr.el (sha1): Implement sha1 using secure-hash.
17369
17370 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17371
17372 * window.el (display-buffer-alist): In default value do not
17373 enforce searching a window on any but the selected frame.
17374 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17375 (display-buffer-select-window): Remove function.
17376 (display-buffer-in-window): When a window on another frame gets
17377 reused, do not select it any more but just raise its frame if
17378 necessary (Bug#8851) and (Bug#8856).
17379 (display-buffer-normalize-options): Handle pop-up-frames related
17380 options more faithfully.
17381 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17382 window if it is on another frame.
17383 (display-buffer-alist, display-buffer-default-specifiers):
17384 Don't make new frame unsplittable by default.
17385 (display-buffer-normalize-argument): Fix doc-string typo and use
17386 'same-frame-other-window instead of 'other-window when associating
17387 with display-buffer-macro-specifiers.
17388
17389 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17390
17391 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17392 New functions.
17393 (5x5-mode-map, 5x5-mode-menu): Bind them.
17394 (5x5-draw-grid): Tweak the solver's rendering.
17395
17396 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17397
17398 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17399 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17400
17401 2011-06-21 Drew Adams <drew.adams@oracle.com>
17402
17403 * menu-bar.el: Use function variable instead of switch-to-buffer.
17404 (menu-bar-select-buffer-function): New variable.
17405 (menu-bar-update-buffers): Use it (bug#8876).
17406
17407 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17408
17409 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17410 variable's status.
17411
17412 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17413
17414 * x-dnd.el (x-dnd-version-from-flags)
17415 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17416 and long as number (Bug#8899).
17417 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17418
17419 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17420
17421 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17422 (completion-try-completion, completion-all-completions): Compute the
17423 metadata argument if it's missing; make it optional (bug#8795).
17424
17425 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17426 (widget-complete): Use new :completion-function property.
17427 (widget-completions-at-point): New function.
17428 (default): Use :completion-function instead of :complete.
17429 (widget-default-completions): Rename from widget-default-complete;
17430 Rewrite.
17431 (widget-string-complete, widget-file-complete, widget-color-complete):
17432 Remove functions.
17433 (file, symbol, function, variable, coding-system, color):
17434 * international/mule-cmds.el (default-input-method, charset)
17435 (language-info-custom-alist):
17436 * cus-edit.el (face): Use new property :completions.
17437
17438 * progmodes/pascal.el (pascal-completions-at-point): New function.
17439 (pascal-mode): Use it.
17440 (pascal-mode-map): Use completion-at-point.
17441 (pascal-toggle-completions): Make obsolete.
17442 (pascal-complete-word, pascal-show-completions):
17443 * progmodes/octave-mod.el (octave-complete-symbol):
17444 Redefine as obsolete alias.
17445 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17446 Signal absence of completion info for old Octave,
17447 (inferior-octave-complete): Redefine as obsolete alias.
17448 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17449 (meta-completions-at-point): Rename from meta-complete-symbol and
17450 adapt it for use on completion-at-point-functions.
17451 (meta-common-mode): Use it.
17452 (meta-looking-at-backward, meta-match-buffer): Remove.
17453 (meta-complete-symbol): Redefine as obsolete alias.
17454 (meta-common-mode-map): Use completion-at-point.
17455 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17456 (makefile-mode-map): Use completion-at-point.
17457 (makefile-completions-at-point): Rename from makefile-complete and
17458 adapt it for use on completion-at-point-functions.
17459 (makefile-mode): Use it.
17460 (makefile-complete): Redefine as obsolete alias.
17461
17462 2011-06-20 Deniz Dogan <deniz@dogan.se>
17463
17464 * net/rcirc.el: Delete trailing whitespaces once and for all.
17465
17466 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17467
17468 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17469
17470 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17471
17472 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17473
17474 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17475
17476 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17477
17478 * window.el (display-buffer-other-window-means-other-frame):
17479 Call display-buffer-normalize-alist.
17480 (display-buffer-normalize-specifiers-1): Rename to
17481 display-buffer-normalize-argument. New argument other-frame.
17482 Rewrite.
17483 (display-buffer-normalize-specifiers-2): Rename to
17484 display-buffer-normalize-options.
17485 (display-buffer-normalize-alist-1): New function.
17486 (display-buffer-normalize-specifiers-3): Rename to
17487 display-buffer-normalize-alist.
17488 Call display-buffer-normalize-alist-1.
17489 (display-buffer-normalize-options-inhibit): New variable.
17490 (display-buffer-normalize-specifiers): Rewrite calling
17491 display-buffer-normalize-alist,
17492 display-buffer-normalize-argument, and
17493 display-buffer-normalize-options. Don't call the latter if
17494 display-buffer-normalize-options-inhibit is non-nil.
17495 (frame-auto-delete): New option.
17496 (window-deletable-p): Use frame-auto-delete.
17497 (window-list-no-nils, window-state-ignored-parameters)
17498 (window-state-get-1, window-state-get, window-state-put-list)
17499 (window-state-put-1, window-state-put-2, window-state-put):
17500 New functions.
17501 (display-buffer-normalize-options): Move special-display-p group
17502 after pop-up-frame group (Bug#8851) and (Bug#8856).
17503
17504 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17505
17506 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17507 groups (Bug#8776).
17508 (rx-submatch-n): New function.
17509 (rx): Document it.
17510
17511 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17512 (Bug#8768).
17513
17514 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17515
17516 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17517
17518 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17519 anytime existing face settings are present (Bug#8889).
17520
17521 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17522 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17523 Remove unused argument.
17524
17525 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17526
17527 * window.el (display-buffer-default-specifiers):
17528 Remove pop-up-frame. Add pop-up-window-min-height,
17529 pop-up-window-min-width, and another reuse-window specifier
17530 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17531 (display-buffer-normalize-specifiers-2):
17532 Handle split-height-threshold and split-width-threshold also when
17533 pop-up-windows is unset. Add a reuse-window specifier for the
17534 case popping up a new window fails.
17535 (special-display-popup-frame): Remove double quoting.
17536 (display-buffer-normalize-specifiers-1): Fix thinko.
17537
17538 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17539
17540 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17541 according to comint-completion-addsuffix.
17542
17543 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17544 (pcomplete-suffix-list): Mark as obsolete.
17545 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17546 pcomplete-seen in the closure.
17547 (pcomplete-comint-setup): Setup completion-at-point as well.
17548 (pcomplete--entries): New function.
17549 (pcomplete--env-regexp): New var.
17550 (pcomplete-entries): Rewrite to work with partial-completion and
17551 without relying on pcomplete-suffix-list.
17552 (pcomplete-pare-list): Remove, unused.
17553
17554 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17555
17556 * window.el (display-buffer-alist): Set pop-up-window-min-height
17557 and pop-up-window-min-width in default value. Reported by
17558 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17559 other-window-means-other-frame.
17560 (display-buffer-macro-specifiers): Comment out entry for
17561 other-window specifier.
17562 (display-buffer-other-window-means-other-frame): New function.
17563 (display-buffer-normalize-specifiers-1): New arguments
17564 buffer-name and label. Treat other-window case specially.
17565 (display-buffer-normalize-specifiers-2): Treat other-window case
17566 specially.
17567 (display-buffer-normalize-specifiers-3): New function.
17568 (display-buffer-normalize-specifiers):
17569 Call display-buffer-normalize-specifiers-3.
17570
17571 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17572
17573 * window.el (same-window-p): Fix two typos introduced when
17574 adding with-no-warnings.
17575 (display-buffer-normalize-specifiers-1): Don't check
17576 pop-up-frames for 'unset initialization.
17577 (display-buffer-normalize-specifiers-2): Major rewrite using
17578 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17579 (pop-up-frames, display-buffer-reuse-frames)
17580 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17581 Suggested by David Engster <deng@randomsample.de>.
17582 (even-window-heights): Initialize to 'unset.
17583 (display-buffer-alist-set): Handle new 'unset initializations.
17584 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17585 other window case.
17586
17587 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17588
17589 * window.el (display-buffer-normalize-specifiers-1):
17590 Respect current value of pop-up-frames for most reasonable values of
17591 second argument of display-buffer (Bug#8865).
17592 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17593 (switch-to-buffer-other-window-same-frame)
17594 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17595 Adams (Bug#8875).
17596 (display-buffer): Don't check noninteractive when calling
17597 display-buffer-pop-up-frame.
17598 (display-buffer-pop-up-frame): Never pop up a frame in
17599 noninteractive mode (Bug#8857).
17600 (enlarge-window, shrink-window): Don't report an error when the
17601 window can't be resized as requested (Bug#8862).
17602
17603 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17604
17605 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17606
17607 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17608
17609 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17610
17611 2011-06-15 Alan Mackenzie <acm@muc.de>
17612
17613 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17614 for declarators, disable knr checking to speed up for normal files.
17615 2: Refactor, replacing a sequence of nested if forms by a cond form.
17616
17617 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17618
17619 * net/network-stream.el (open-network-stream): Add the keyword
17620 :always-query-capabilities for the case where you want to force a
17621 `plain' network connection, but the protocol still requires the
17622 capabilitiy command (i.e., SMTP and EHLO).
17623
17624 * subr.el (process-live-p): Rename from `process-alive-p' for
17625 consistency with other `-live-p' functions.
17626
17627 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17628
17629 * window.el (same-window-buffer-names, same-window-regexps)
17630 (special-display-frame-alist, special-display-popup-frame)
17631 (special-display-function, special-display-buffer-names)
17632 (special-display-regexps, pop-up-frame-alist)
17633 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17634 (pop-up-windows, split-window-preferred-function)
17635 (split-height-threshold, split-width-threshold, even-window-heights)
17636 (display-buffer-mark-dedicated): Don't encourage the use of
17637 display-buffer-alist from Elisp code.
17638
17639 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17640
17641 * progmodes/python.el (python-mode): Derive from prog-mode.
17642 * progmodes/ps-mode.el (ps-mode):
17643 * progmodes/mixal-mode.el (mixal-mode):
17644 * progmodes/cfengine.el (cfengine-mode):
17645 * progmodes/ld-script.el (ld-script-mode): Likewise.
17646
17647 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17648
17649 * window.el (display-buffer-alist): Trim default value to avoid
17650 popping up a new frame (Bug#8857) or reusing an arbitrary window
17651 on another frame.
17652 (display-buffer): Do not fall back on popping up a new frame in
17653 batch mode (Bug#8857).
17654
17655 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17656
17657 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17658 (custom-theme-summary): New function.
17659 (customize-themes): Use it.
17660
17661 2011-06-13 Glenn Morris <rgm@gnu.org>
17662
17663 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17664
17665 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17666
17667 * help.el (help-window): Remove variable.
17668 (help-window-point-marker, temp-buffer-max-height)
17669 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17670 (help-print-return-message): Don't set help-window.
17671 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17672 (help-window-setup-finish): Remove.
17673 (help-window-display-message, help-window-setup)
17674 (with-help-window): Major rewrite based on new
17675 display-buffer-window variable.
17676
17677 * help-mode.el (help-mode-finish): Remove help-window related
17678 code.
17679
17680 * view.el (view-exits-all-viewing-windows): Remove reference to
17681 view-return-to-alist in doc-string.
17682 (view-return-to-alist): Make obsolete.
17683 (view-buffer): Call pop-to-buffer-same-window and remove
17684 undo-window code.
17685 (view-buffer-other-window): Call pop-to-buffer-other-window and
17686 simplify code. Ignore second argument.
17687 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17688 simplify code. Ignore second argument.
17689 (view-return-to-alist-update): Make obsolete.
17690 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17691 Rewrite using quit-restore window parameters.
17692 (view-mode-exit): Rename second argument to EXIT-ONLY.
17693 Rewrite using quit-restore-window.
17694 (View-exit, View-exit-and-edit, View-leave, View-quit)
17695 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17696 appropriate arguments.
17697 (view-end-message): Use quit-restore window parameter.
17698
17699 * window.el (display-buffer-function): Rewrite doc-string.
17700 (display-buffer-window, display-buffer-alist): New variables.
17701 (display-buffer-split-specifiers)
17702 (display-buffer-side-specifiers)
17703 (display-buffer-macro-specifiers): New constants.
17704 (display-buffer-even-window-sizes, display-buffer-set-height)
17705 (display-buffer-set-width, display-buffer-select-window)
17706 (display-buffer-in-window, display-buffer-reuse-window)
17707 (display-buffer-split-window-1, display-buffer-split-window)
17708 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17709 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17710 (display-buffer-in-side-window, normalize-buffer-to-display)
17711 (display-buffer-normalize-specifiers-1)
17712 (display-buffer-normalize-specifiers-2)
17713 (display-buffer-normalize-specifiers, display-buffer-frame):
17714 New functions.
17715 (display-buffer): Major rewrite.
17716 (display-buffer-other-window, display-buffer-other-frame)
17717 (pop-to-buffer, switch-to-buffer-other-window)
17718 (switch-to-buffer-other-frame): Rewrite.
17719 (display-buffer-same-window, display-buffer-same-frame)
17720 (display-buffer-same-frame-other-window)
17721 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17722 (pop-to-buffer-other-window)
17723 (pop-to-buffer-same-frame-other-window)
17724 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17725 (switch-to-buffer-other-window-same-frame): New functions.
17726 (same-window-p, special-display-p): Rewrite disabling warnings.
17727 Make obsolete.
17728 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17729 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17730 Make obsolete
17731 (same-window-buffer-names, same-window-regexps)
17732 (special-display-frame-alist, special-display-popup-frame)
17733 (special-display-function, special-display-buffer-names)
17734 (special-display-regexps, pop-up-frame-alist)
17735 (pop-up-frame-function, split-window-preferred-function)
17736 (split-height-threshold, split-width-threshold)
17737 (even-window-heights): Make obsolete.
17738
17739 2011-06-12 Glenn Morris <rgm@gnu.org>
17740
17741 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17742 Misc simplifications.
17743
17744 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17745
17746 * window.el (window-safely-shrinkable-p): Restore function which
17747 was inadvertently removed in change from 2011-06-11. Declare as
17748 obsolete.
17749
17750 * calendar/calendar.el (calendar-generate-window):
17751 Use window-iso-combined-p instead of combination of one-window-p and
17752 window-safely-shrinkable-p.
17753
17754 2011-06-12 Glenn Morris <rgm@gnu.org>
17755
17756 * progmodes/fortran.el (fortran-mode-syntax-table):
17757 * progmodes/f90.el (f90-mode-syntax-table):
17758 Set % to punctuation. (Bug#8820)
17759 (f90-find-tag-default): Remove, no longer needed.
17760
17761 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17762
17763 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17764
17765 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17766
17767 * image.el (image-animated-p): Return animation delay in seconds.
17768 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17769 (image-animate-timeout): Remove DELAY argument. Don't assume
17770 every subimage has the same delay; get it from image-animated-p.
17771 (image-animate): Caller changed.
17772
17773 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17774
17775 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17776 to ignored backtrace functions.
17777
17778 2011-06-11 Glenn Morris <rgm@gnu.org>
17779
17780 * calendar/appt.el (appt-disp-window-function): Doc fix.
17781 (appt-check): Handle overlapping appointments. (Bug#8337)
17782
17783 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17784
17785 * window.el (window-tree-1, window-tree): New functions, moving
17786 the latter to window.el.
17787 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17788 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17789 (bw-refresh-edges): Remove.
17790 (balance-windows-1, balance-windows-2): New functions.
17791 (balance-windows): Rewrite in terms of window tree functions,
17792 balance-windows-1 and balance-windows-2.
17793 (bw-adjust-window): Remove.
17794 (balance-windows-area-adjust): New function with functionality of
17795 bw-adjust-window but using resize-window.
17796 (set-window-text-height): Rewrite doc-string.
17797 Use normalize-live-window and resize-window.
17798 (enlarge-window-horizontally, shrink-window-horizontally):
17799 Rename argument to DELTA.
17800 (window-buffer-height): New function.
17801 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17802 Rewrite using new window resize routines.
17803 (kill-buffer-and-window, mouse-autoselect-window-select):
17804 Use ignore-errors instead of condition-case.
17805 (quit-window): Call delete-frame instead of delete-windows-on
17806 for the only buffer on frame.
17807
17808 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17809
17810 * loadup.el (top-level): Load window before files for the sake
17811 of replace-buffer-in-windows.
17812
17813 * files.el (read-buffer-to-switch)
17814 (switch-to-buffer-other-window)
17815 (switch-to-buffer-other-frame, display-buffer-other-frame):
17816 Move to window.el.
17817
17818 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17819 (previous-buffer): Move to window.el.
17820
17821 * bindings.el (unbury-buffer): Move to window.el.
17822
17823 * window.el (delete-other-windows-vertically): Move after
17824 definition of delete-other-windows.
17825 (other-window, delete-windows-on, replace-buffer-in-windows):
17826 Move here from window.c.
17827 (record-window-buffer, unrecord-window-buffer)
17828 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17829 (switch-to-next-buffer): New functions.
17830 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17831 from simple.el. Call switch-to-next-buffer.
17832 (previous-buffer): Move here from simple.el.
17833 Call switch-to-prev-buffer.
17834 (bury-buffer): Move here from buffer.c. Switch to previous
17835 buffer when window cannot be deleted.
17836 (unbury-buffer): Move here from bindings.el.
17837 (ctl-x-map): Move binding for other-window from window.c to
17838 here.
17839 (read-buffer-to-switch, switch-to-buffer-other-window)
17840 (switch-to-buffer-other-frame): Move here from files.el.
17841 (normalize-buffer-to-switch-to): New functions.
17842 (switch-to-buffer): Move here from buffer.c.
17843 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17844
17845 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17846
17847 * window.el (window-min-height, window-min-width): Move here
17848 from window.c. Add defcustoms and rewrite doc-strings.
17849 (resize-mini-window, resize-window): New functions.
17850 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17851 Move here from window.c.
17852 (maximize-window, minimize-window): New functions.
17853 (delete-window, delete-other-windows, split-window): Move here
17854 from window.c.
17855 (window-split-min-size): New function.
17856 (split-window-keep-point): Mention split-window-above-each-other
17857 instead of split-window-vertically.
17858 (split-window-above-each-other, split-window-vertically):
17859 Rename split-window-vertically to split-window-above-each-other
17860 and provide defalias for old definition.
17861 (split-window-side-by-side, split-window-horizontally):
17862 Rename split-window-horizontally to split-window-side-by-side
17863 and provide defalias for the old definition.
17864 (ctl-x-map): Move bindings for delete-window,
17865 delete-other-windows and enlarge-window here from window.c.
17866 Replace bindings for split-window-vertically and
17867 split-window-horizontally by bindings for
17868 split-window-above-each-other and split-window-side-by-side.
17869
17870 * cus-start.el (all): Remove entries for window-min-height and
17871 window-min-width. Add entries for window-splits and
17872 window-nest.
17873
17874 2011-06-09 Glenn Morris <rgm@gnu.org>
17875
17876 * calendar/appt.el (appt-mode-line): New function.
17877 (appt-check, appt-disp-window): Use it.
17878
17879 * files.el (hack-one-local-variable-eval-safep):
17880 Allow minor-modes with explicit +/-1 arguments.
17881
17882 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17883
17884 * term/xterm.el (xterm): Add defgroup.
17885 (xterm-extra-capabilities): Add defcustom to supply known xterm
17886 capabilities, skip querying them, or query them (default).
17887 (terminal-init-xterm): Use it.
17888 (terminal-init-xterm-modify-other-keys): New function to set up
17889 modifyOtherKeys support to simplify `terminal-init-xterm'.
17890
17891 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17892
17893 * window.el (resize-window-reset, resize-window-reset-1)
17894 (resize-subwindows-skip-p, resize-subwindows-normal)
17895 (resize-subwindows, resize-other-windows, resize-this-window)
17896 (resize-root-window, resize-root-window-vertically)
17897 (window-deletable-p, window-or-subwindow-p)
17898 (frame-root-window-p): New functions.
17899
17900 2011-06-09 Glenn Morris <rgm@gnu.org>
17901
17902 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17903 (ange-ftp-get-files): Use it.
17904
17905 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17906
17907 * mail/sendmail.el (mail-recover-1, mail-recover):
17908 * files.el (recover-file, recover-session):
17909 Handle dired-listing-switches not being just a single short option.
17910
17911 2011-06-09 Glenn Morris <rgm@gnu.org>
17912
17913 * calendar/appt.el (appt-display-message, appt-disp-window):
17914 Handle lists of appointments.
17915
17916 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17917
17918 * window.el (one-window-p): Move down in code.
17919 Rewrite doc-string.
17920 (window-current-scroll-bars): Rewrite doc-string.
17921 Normalize live window argument.
17922 (walk-windows, get-window-with-predicate, count-windows):
17923 Rewrite doc-string. Use window-list-1.
17924 (window-in-direction-2, window-in-direction, get-mru-window):
17925 New functions.
17926
17927 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17928
17929 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17930 Doc fix (Bug#8713).
17931
17932 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17933
17934 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17935
17936 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17937
17938 * loadhist.el (unload-feature-special-hooks):
17939 Add `comint-output-filter-functions'.
17940
17941 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17942
17943 * calendar/appt.el (appt-check): Move some initializations into the let.
17944
17945 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17946
17947 * window.el (window-height): Defalias to window-total-height.
17948 (window-width): Defalias to window-body-width.
17949
17950 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17951
17952 * image-mode.el (image-toggle-animation): New command.
17953 (image-mode-map): Bind it to RET.
17954 (image-mode): Update message.
17955 (image-toggle-display-image): Avoid a spurious cache flush.
17956 (image-transform-rotation): Doc fix.
17957 (image-transform-properties): Return quickly in the normal case.
17958 (image-animate-loop): Rename from image-animate-max-time.
17959
17960 * image.el (image-animate-max-time): Move to image-mode.el.
17961 (create-animated-image): Remove unnecessary function.
17962 (image-animate): Rename from image-animate-start. New arg.
17963 (image-animate-stop): Remove; just use image-animate-timer.
17964 (image-animate-timer): Use car-safe.
17965 (image-animate-timeout): Rename argument.
17966
17967 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17968
17969 * window.el (get-lru-window, get-largest-window): Move here from
17970 window.c. Rename first argument to ALL-FRAMES.
17971 Rephrase doc-strings.
17972 (get-buffer-window-list): Rewrite using window-list-1.
17973 Rephrase doc-string.
17974 (window-safe-min-height, window-safe-min-width): New constants.
17975 (window-size-ignore, window-min-size, window-min-size-1)
17976 (window-sizable, window-sizable-p, window-size-fixed-1)
17977 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17978 (window-max-delta-1, window-max-delta, window-resizable)
17979 (window-resizable-p, window-total-height, window-total-width)
17980 (window-body-width): New functions.
17981 (window-full-height-p, window-full-width-p): Rewrite using
17982 window-total-size.
17983 (window-body-height): Rewrite using window-body-size.
17984
17985 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17986
17987 * window.el (window-right, window-left, window-child)
17988 (window-child-count, window-last-child, window-any-p)
17989 (normalize-live-buffer, normalize-live-frame)
17990 (normalize-any-window, normalize-live-window)
17991 (window-iso-combination-p, window-iso-combined-p)
17992 (window-iso-combinations)
17993 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17994 (windows-with-parameter, window-with-parameter)
17995 (window-atom-root, make-window-atom, window-atom-check-1)
17996 (window-atom-check, window-side-check, window-check):
17997 New functions.
17998 (ignore-window-parameters, window-sides, window-sides-vertical)
17999 (window-sides-slots): New variables.
18000 (window-size-fixed): Move down in code. Minor doc-string fix.
18001
18002 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18003
18004 * comint.el (comint-dynamic-complete-as-filename)
18005 (comint-dynamic-complete-filename): Correctly call
18006 completion-in-region.
18007
18008 2011-06-05 Deniz Dogan <deniz@dogan.se>
18009
18010 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18011 in last change.
18012
18013 2011-06-05 Deniz Dogan <deniz@dogan.se>
18014
18015 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18016 (rcirc): Use it to prompt for encryption.
18017
18018 2011-06-05 Roland Winkler <winkler@gnu.org>
18019
18020 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18021 (bibtex-search-entries): New command bound to C-c C-a.
18022 (bibtex-display-entries): New function.
18023
18024 2011-06-05 Roland Winkler <winkler@gnu.org>
18025
18026 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18027 (bibtex-insert-kill): After yanking insert newline if necessary.
18028 (bibtex-initialize): Call bibtex-string-files-init only once.
18029 (bibtex-mode): Do not call easy-menu-add.
18030 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18031 (bibtex-yank): Set arg properly if nil.
18032
18033 2011-06-05 Roland Winkler <winkler@gnu.org>
18034
18035 * textmodes/bibtex.el (bibtex-search-entry-globally):
18036 New variable.
18037 (bibtex-search-entry): Use it.
18038
18039 2011-06-05 Roland Winkler <winkler@gnu.org>
18040
18041 * textmodes/bibtex.el (bibtex-entry-format): New option
18042 sort-fields.
18043 (bibtex-format-entry, bibtex-reformat): Honor this option.
18044 (bibtex-parse-entry): Return fields in proper order.
18045
18046 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18047
18048 * doc-view.el (doc-view-remove-if): Move computation of result out
18049 of `dolist' to silence misleading lexical-binding warning.
18050
18051 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18052
18053 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18054 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18055
18056 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18057
18058 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18059 "SunOS 5.10".
18060
18061 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18062
18063 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18064 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18065 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18066 (tramp-parse-putty):
18067 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18068 (tramp-completion-function-alist-ssh)
18069 (tramp-completion-function-alist-telnet)
18070 (tramp-completion-function-alist-su)
18071 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18072 cookie.
18073
18074 * net/tramp-ftp.el:
18075 * net/tramp-sh.el:
18076 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18077 load "tramp.el" `tramp-set-completion-function'.
18078
18079 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18080
18081 * shell.el: Require and use pcomplete.
18082 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18083 (shell-completion-vars): Set pcomplete-default-completion-function.
18084
18085 2011-06-04 Deniz Dogan <deniz@dogan.se>
18086
18087 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18088 `memq' (Bug#8799).
18089
18090 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18091
18092 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18093
18094 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18095
18096 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18097 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18098 * vc/log-view.el (log-view-beginning-of-defun):
18099 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18100 (smerge-refine-forward, smerge-refine-chopup-region):
18101 Silence warning for unused `dotimes' counter variables.
18102
18103 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18104
18105 * net/tramp.el (tramp-with-progress-reporter): Rename from
18106 with-progress-reporter. Use `declare'.
18107 * net/tramp-smb.el:
18108 * net/tramp-sh.el:
18109 * net/tramp-gvfs.el: Update all uses.
18110
18111 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18112
18113 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18114 buffer isn't killed before making it current.
18115
18116 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18117
18118 Silence various byte-compiler warnings.
18119 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18120 `access-type' and new obsolescence format.
18121 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18122 new format.
18123 (byte-compile-check-variable): New `access-type' argument.
18124 Only warn if the access-type is obsolete.
18125 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18126 (byte-compile-variable-set): Adjust callers.
18127 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18128 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18129 setting it as obsolete.
18130 * simple.el (minibuffer-completing-symbol):
18131 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18132 access as obsolete.
18133 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18134 obsolete yet.
18135 * international/quail.el (quail-mouse-choose-completion): Remove unused
18136 code referring to obsolete var.
18137 (quail-choose-completion-string): Remove.
18138 * server.el (server-clients-with, server-kill-buffer-query-function)
18139 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18140 * proced.el (proced-send-signal):
18141 * emacs-lisp/lisp.el (lisp-complete-symbol):
18142 Replace completion-annotate-function with completion-extra-properties.
18143
18144 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18145
18146 * simple.el (goto-line): Use read-number.
18147 (overriding-map-is-bound): Remove.
18148 (saved-overriding-map): Change default.
18149 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18150 Take the map as argument.
18151 (universal-argument, negative-argument, digit-argument): Use it.
18152 (restore-overriding-map): Adjust.
18153 (do-auto-fill): Use fill-forward-paragraph.
18154 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18155
18156 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18157 (minibuffer-inactive-mode): New major mode.
18158 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18159 the *Messages* buffer" hack.
18160 (mouse-popup-menubar): Don't burp if the event is a normal key.
18161
18162 Miscellaneous tweaks.
18163 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18164 lexical scoping as in subr.el's dolist and dotimes.
18165 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18166 Silence compiler warning.
18167 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18168 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18169 * international/ccl.el (ccl-compile): Trivial simplification.
18170 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18171 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18172 `printflag' argument.
18173 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18174 Purecopy the whole obsolescence data.
18175
18176 2011-06-01 Leo Liu <sdl.web@gmail.com>
18177
18178 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18179 improve doc-string as suggested by Marco Pessotto
18180 <melmothx@gmail.com>.
18181 (rcirc-print): Fix last change.
18182
18183 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18184
18185 * minibuffer.el (complete-with-action): Return nil for the metadata and
18186 boundaries of non-functional tables.
18187 (completion-table-dynamic): Return nil for the metadata.
18188 (completion-table-with-terminator): Add default case, using
18189 complete-with-action.
18190 (completion--metadata): New function.
18191 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18192 to try and avoid pathological performance problems.
18193 (completion--embedded-envvar-table): Return `category' metadata.
18194
18195 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18196
18197 * subr.el (process-alive-p): New tiny convenience function.
18198
18199 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18200
18201 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18202 content but also its previous major mode.
18203
18204 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18205
18206 * emacs-lisp/debug.el (debug): Restore the previous content of the
18207 *Backtrace* buffer when we exit with C-M-c.
18208
18209 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18210
18211 * minibuffer.el: Add metadata method to completion tables.
18212 (completion-category-overrides): New defcustom.
18213 (completion-metadata, completion--field-metadata)
18214 (completion-metadata-get, completion--styles)
18215 (completion--cycle-threshold): New functions.
18216 (completion-try-completion, completion-all-completions):
18217 Add `metadata' argument to choose completion-styles.
18218 (completion--do-completion): Use metadata to choose cycling.
18219 (completion-all-sorted-completions): Use metadata for sorting.
18220 Remove :completion-cycle-penalty which is not needed any more.
18221 (completion--try-word-completion): Add `metadata' argument.
18222 (minibuffer-completion-help): Check metadata for annotation function
18223 and sorting.
18224 (completion-file-name-table): Return `category' metadata.
18225 (minibuffer-completing-file-name): Make obsolete.
18226 * simple.el (minibuffer-completing-symbol): Make obsolete.
18227 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18228 completion-try-completion.
18229
18230 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18231
18232 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18233
18234 2011-05-30 Leo Liu <sdl.web@gmail.com>
18235
18236 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18237 (rcirc-print): Decode all incoming messages (bug#8744).
18238 (rcirc-decode-coding-system): Allow value nil for automatic coding
18239 system detection.
18240
18241 2011-06-01 Glenn Morris <rgm@gnu.org>
18242
18243 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18244
18245 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18246
18247 * image.el (image-animate-max-time): Allow nil and t values.
18248 Default to nil.
18249 (create-animated-image): Doc fix.
18250 (image-animate-start): Remove second arg; just use
18251 image-animate-max-time.
18252 (image-animate-timeout): Doc fix. Args changed.
18253
18254 * image-mode.el (image-toggle-display-image): Ensure that the
18255 image spec passed to the animate timer is the same object as in
18256 the buffer's display property (Bug#6981).
18257 (image-transform-properties): Doc fix.
18258
18259 * image.el (image-animate-max-time): Default to nil.
18260
18261 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18262
18263 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18264 entire buffer list (Bug#8184).
18265
18266 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18267
18268 * image.el (imagemagick-types-inhibit)
18269 (imagemagick-register-types): Doc fix.
18270
18271 2011-05-29 Deniz Dogan <deniz@dogan.se>
18272
18273 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18274 default.
18275
18276 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18277
18278 * select.el: Don't perform clipboard-manager saving in hooks;
18279 leave the hooks empty.
18280
18281 2011-05-28 Leo Liu <sdl.web@gmail.com>
18282
18283 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18284 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18285 (occur-edit-mode): New major mode (Bug#8463).
18286 (occur-after-change-function): New function.
18287 (occur-engine): Give Occur tags a read-only property.
18288
18289 2011-05-28 Kevin Ryde <user42@zip.com.au>
18290
18291 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18292
18293 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18294
18295 * bindings.el (help-echo): Make the initial non-indicator dash
18296 empty on graphical terminals (Bug#7295).
18297
18298 * files.el (auto-mode-alist): Move config rule after the
18299 in-stripping one (Bug#8547).
18300
18301 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18302
18303 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18304 setting (Bug#8740).
18305
18306 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18307
18308 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18309 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18310 (Bug#8539).
18311
18312 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18313
18314 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18315
18316 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18317
18318 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18319 (hs-hide-block-at-point, hs-find-block-beginning)
18320 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18321 (Bug#8279).
18322
18323 2011-05-28 Glenn Morris <rgm@gnu.org>
18324
18325 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18326
18327 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18328
18329 * help-fns.el (describe-function-1): If the function is a derived
18330 major mode, print the parent mode.
18331
18332 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18333 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18334
18335 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18336
18337 * minibuffer.el (completion--capf-wrapper): Check applicability before
18338 returning non-nil for non-exclusive completion data.
18339 * progmodes/etags.el (tags-completion-at-point-function):
18340 * info-look.el (info-lookup-completions-at-point): Mark as
18341 non-exclusive.
18342 (info-complete): Adjust accordingly.
18343
18344 * info-look.el: Convert to lexical-binding and completion-at-point.
18345 (info-lookup-completions-at-point): New function.
18346 (info-complete): Use it and completion-in-region.
18347
18348 2011-05-28 Drew Adams <drew.adams@oracle.com>
18349
18350 * isearch.el: Let M-e start with point at the first mismatched char.
18351 (isearch-fail-pos): New function.
18352 (isearch-edit-string): Use it.
18353
18354 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18355
18356 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18357
18358 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18359
18360 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18361 traversal functions for avl-trees.
18362 (avl-tree--stack): New struct.
18363 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18364 (avl-tree-enter): Add optional `updatefun' arg.
18365 (avl-tree--do-enter): Add optional `updatefun' arg.
18366 Change return value.
18367 (avl-tree-delete): Add optional `test' and `nilflag' args.
18368 (avl-tree--do-delete): Add `test' and `nilflag' args.
18369 Change return value.
18370 (avl-tree-member): Add optional `nilflag'
18371 (avl-tree-member-p): New function.
18372 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18373 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18374 (avl-tree-stack-empty-p): New functions.
18375
18376 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18377 avl-tree--del-balance1 and make it work both ways.
18378 (avl-tree--del-balance2): Remove.
18379 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18380 make it work both ways.
18381 (avl-tree--enter-balance2): Remove.
18382 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18383 New macros.
18384 (avl-tree--mapc, avl-tree-map): Add direction argument.
18385
18386 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18387
18388 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18389
18390 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18391
18392 * select.el: Support clipboard managers with built-in function
18393 x-clipboard-manager-save, via delete-frame-functions and
18394 kill-emacs-hook.
18395 (xselect-convert-to-targets): Add MULTIPLE target to list.
18396 (xselect-convert-to-save-targets): New function.
18397
18398 2011-05-27 Kenichi Handa <handa@m17n.org>
18399
18400 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18401 let-binding rfc2047-encode-encoded-words to nil.
18402
18403 2011-05-27 Glenn Morris <rgm@gnu.org>
18404
18405 * mail/emacsbug.el: Don't require url-util.
18406
18407 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18408
18409 * files.el (set-auto-mode):
18410 Also respect mode: entries at the end of the file. (Bug#8586)
18411
18412 2011-05-26 Glenn Morris <rgm@gnu.org>
18413
18414 * files.el (hack-local-variables-prop-line, hack-local-variables):
18415 Downcase mode names, as seems to be traditional.
18416 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18417
18418 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18419 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18420
18421 2011-05-25 Julien Danjou <julien@danjou.info>
18422
18423 * textmodes/rst.el (rst-define-level-faces): Do not define face
18424 symbol if it is already defined.
18425
18426 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18427
18428 * play/5x5.el (5x5-new-game, 5x5-randomize):
18429 Reset 5x5-solver-output to nil when a new grid is cast.
18430 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18431 these debugging traces, as defmacro breaks the compiled code.
18432
18433 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18434
18435 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18436
18437 2011-05-24 Leo Liu <sdl.web@gmail.com>
18438
18439 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18440 (vc-bzr-sha1): Adapt.
18441
18442 * sha1.el: Remove. Function `sha1' is now builtin.
18443
18444 * bindings.el: Provide sha1 feature.
18445
18446 2011-05-24 Kenichi Handa <handa@m17n.org>
18447
18448 * mail/sendmail.el: Require `rfc2047'.
18449 (mail-insert-from-field): Do not perform RFC2047 encoding.
18450 (mail-encode-header): New function.
18451 (sendmail-send-it): Set buffer-file-coding-system of the work
18452 buffer to the return value of select-message-coding-system.
18453 Call mail-encode-header.
18454
18455 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18456
18457 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18458
18459 * mail/supercite.el (sc-default-cite-frame):
18460 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18461
18462 2011-05-24 Glenn Morris <rgm@gnu.org>
18463
18464 * progmodes/python.el (brm-menu): Declare.
18465
18466 * emulation/viper.el (viper-set-hooks): Declare.
18467
18468 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18469 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18470 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18471 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18472 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18473 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18474
18475 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18476
18477 Add an :exit-function for completion-at-point.
18478
18479 * minibuffer.el (completion--done): New fun.
18480 (completion--do-completion): Use it. New arg `expect-exact'.
18481 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18482 since completion--do-completion does it for us now.
18483 (minibuffer-force-complete): Use completion--done and
18484 completion--replace. Handle sole-completion case with more care.
18485 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18486 (completion-extra-properties): New var.
18487 (completion-annotate-function): Make obsolete.
18488 (minibuffer-completion-help): Adjust accordingly.
18489 Use completion-list-insert-choice-function.
18490 (completion-at-point, completion-help-at-point):
18491 Bind completion-extra-properties.
18492 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18493 * simple.el (completion-list-insert-choice-function): New var.
18494 (completion-setup-function): Preserve it.
18495 (choose-completion): Pay attention to it, shuffle the code a bit.
18496 (choose-completion-string): New arg `insert-function'.
18497
18498 * textmodes/bibtex.el: Convert to lexical binding.
18499 (bibtex-mode-map): Use completion-at-point.
18500 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18501 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18502 (bibtex-complete): Define as obsolete alias.
18503 (bibtex-complete-internal): Remove.
18504 (bibtex-format-entry): Remove unused sub-group in regexp.
18505 * shell.el (shell--command-completion-data)
18506 (shell-environment-variable-completion):
18507 * pcomplete.el (pcomplete-completions-at-point):
18508 * comint.el (comint--complete-file-name-data): Use :exit-function
18509 instead of completion-table-with-terminator so it also works for
18510 choose-completion.
18511
18512 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18513
18514 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18515
18516 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18517 (bug#8710).
18518
18519 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18520
18521 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18522
18523 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18524 customization variable and implement: If non-nil, auto-fill will
18525 be inhibited while on topic's header line.
18526
18527 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18528
18529 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18530 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18531 always have a solution in grid size = 5 cases.
18532 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18533 (5x5-solver-output, 5x5-log-buffer): New vars.
18534 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18535 Make these variables buffer local to achieve 5x5 multi-session-ness.
18536 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18537 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18538 (5x5-solve-suggest): New funs.
18539 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18540 randomize a grid so that we ensure that there is always a solution.
18541 (5x5-make-random-grid): Allow other movement than flipping.
18542
18543 2011-05-23 Kevin Ryde <user42@zip.com.au>
18544
18545 * emacs-lisp/advice.el (ad-read-advised-function):
18546 Use `function-called-at-point' as the default, if it has
18547 advice and passes PREDICATE.
18548
18549 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18550
18551 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18552 byte-compile-lambda if it's actually a lambda.
18553
18554 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18555 Fix function quoting. Use backquote better.
18556
18557 2011-05-22 Yuanle Song <sylecn@gmail.com>
18558
18559 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18560 matching (Bug#8516).
18561
18562 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18563
18564 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18565 different face (Bug#8178).
18566
18567 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18568
18569 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18570 defface (Bug#8144).
18571
18572 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18573
18574 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18575 funcall as well (bug#8712). Warn when performing those conversions.
18576 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18577
18578 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18579
18580 2011-05-22 Glenn Morris <rgm@gnu.org>
18581
18582 * files.el (hack-local-variables-prop-line): Small simplifications.
18583 (hack-local-variables, hack-local-variables-prop-line):
18584 If MODE-ONLY, return the mode, rather than just `t'.
18585
18586 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18587
18588 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18589
18590 2011-05-21 Glenn Morris <rgm@gnu.org>
18591
18592 * files.el (hack-local-variables-prop-line, hack-local-variables):
18593 If only interested in the mode, don't bother doing the other stuff.
18594
18595 * image-mode.el (image-after-revert-hook):
18596 Redraw all frames on which the image is visible. (Bug#8567)
18597
18598 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18599
18600 * wid-edit.el (widget-checklist-match-inline):
18601 Fix 2011-04-19 change. (Bug#8649)
18602
18603 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18604
18605 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18606 Also allow singlespace after single-letter capitals followed by a dot.
18607
18608 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18609 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18610
18611 2011-05-20 Nix <nix@esperi.org.uk>
18612
18613 * files.el (basic-save-buffer-2):
18614 Fix handling of break-hardlink-on-save with non-existent files.
18615
18616 2011-05-19 Deniz Dogan <deniz@dogan.se>
18617
18618 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18619 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18620
18621 2011-05-19 Glenn Morris <rgm@gnu.org>
18622
18623 * progmodes/f90.el (f90-type-def-re):
18624 Handle "type, bind(c)". (Bug#8691)
18625
18626 * emacs-lisp/autoload.el (batch-update-autoloads):
18627 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18628
18629 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18630
18631 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18632 property for the correct connection in case of multihops.
18633
18634 2011-05-18 Glenn Morris <rgm@gnu.org>
18635
18636 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18637 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18638
18639 Rationalize calendar handling of day and month abbrev-arrays.
18640 * calendar/calendar.el (calendar-customized-p): New function.
18641 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18642 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18643 Add :set function.
18644 (calendar-abbrev-length, calendar-day-abbrev-array)
18645 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18646 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18647 Elements may no longer be nil.
18648 (calendar-day-name, calendar-month-name):
18649 Update for changed nature of abbrev arrays.
18650 * calendar/diary-lib.el (diary-name-pattern):
18651 Update for changed nature of abbrev arrays.
18652 (diary-mark-entries-1): Update calendar-make-alist calls.
18653 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18654 * calendar/cal-html.el (cal-html-day-abbrev-array):
18655 Simply inherit from calendar-day-abbrev-array.
18656
18657 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18658
18659 * progmodes/grep.el (grep-mode): Disable default
18660 compilation-directory-matcher setting (bug#8684).
18661
18662 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18663
18664 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18665 instead of "head" and "tail". There were problems with SunOS 5.9,
18666 and it performs better.
18667
18668 2011-05-17 Glenn Morris <rgm@gnu.org>
18669
18670 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18671
18672 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18673 Replace obsolete function.
18674
18675 * shell.el (pcomplete-parse-arguments-function): Declare.
18676
18677 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18678 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18679 (appt-check): Doc fixes.
18680 (appt-disp-window-function, appt-delete-window-function):
18681 Remove needless special case in custom :type.
18682 (appt-display-count): Default to 0, not nil.
18683 (appt-check): Reset appt-display-count to 0, not nil.
18684
18685 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18686
18687 * progmodes/python.el (python-font-lock-keywords):
18688 Add the Python 3.X keyword "nonlocal" (bug#8639).
18689
18690 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18691
18692 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18693
18694 2011-05-16 Kevin Ryde <user42@zip.com.au>
18695
18696 * info-look.el (makefile-automake-mode): New setups, looking in
18697 automake manual, then makefile-mode.
18698 (makefile-mode): Remove automake manual, have it just in
18699 makefile-automake-mode since there's various things different or
18700 not relevant to plain make.
18701 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18702 believe a hypothetical automake-mode would go to makefile-mode,
18703 not the other way around.
18704
18705 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18706
18707 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18708 hunk-end tags (Bug#8672).
18709
18710 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18711 vc-annotate-show-diff-revision-at-line (Bug#8671).
18712
18713 2011-05-14 Glenn Morris <rgm@gnu.org>
18714
18715 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18716 in the middle of an existing one with multiple authors. (Bug#8645)
18717 (change-log-font-lock-keywords): Also handle multiple author lines
18718 with leading tabs. (Bug#8644)
18719
18720 * calendar/appt.el (appt-check): Rename some local variables.
18721 Some simplification/reordering.
18722
18723 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18724 (feedmail-sendmail-f-doesnt-sell-me-out)
18725 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18726 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18727 (feedmail-queue-runner-message-sender): Set :version.
18728 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18729 (bbdb-dwim-net-address, vm-mail): Declare.
18730 (feedmail-binmail-gnulinuxish-template):
18731 Rename from feedmail-binmail-linuxish-template.
18732 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18733 Use insert-buffer-substring.
18734
18735 2011-05-14 Bill Carpenter <bill@carpenter.org>
18736
18737 * mail/feedmail.el (feedmail-patch-level): Increase.
18738 (feedmail-debug): New custom group.
18739 (feedmail-confirm-outgoing-timeout)
18740 (feedmail-sendmail-f-doesnt-sell-me-out)
18741 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18742 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18743 (feedmail-sender-line, feedmail-from-line)
18744 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18745 (feedmail-spray-this-address)
18746 (feedmail-spray-address-fiddle-plex-list)
18747 (feedmail-queue-use-send-time-for-date)
18748 (feedmail-queue-use-send-time-for-message-id)
18749 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18750 (feedmail-buffer-eating-function):
18751 Doc fixes.
18752 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18753 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18754 (feedmail-message-action-scroll-down): New functions.
18755 (feedmail-queue-directory, feedmail-queue-draft-directory):
18756 Use expand-file-name.
18757 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18758 Remove C-v help entry.
18759 (feedmail-queue-buffer-file-name): New variable.
18760 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18761 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18762 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18763 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18764 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18765 (feedmail-message-action-toggle-spray)
18766 (feedmail-run-the-queue-no-prompts)
18767 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18768 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18769 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18770 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18771 (feedmail-envelope-deducer, feedmail-fiddle-from)
18772 (feedmail-fiddle-sender, feedmail-default-date-generator)
18773 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18774 (feedmail-fiddle-spray-address)
18775 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18776 (feedmail-fiddle-list-of-fiddle-plexes)
18777 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18778 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18779 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18780 Change default. Doc fix.
18781 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18782 (feedmail-binmail-linuxish-template): New constant.
18783 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18784 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18785 (feedmail-send-it): Add debug call.
18786 Use feedmail-queue-buffer-file-name, and
18787 feedmail-send-it-immediately-wrapper.
18788 (feedmail-message-action-send): Add debug call.
18789 Use feedmail-send-it-immediately-wrapper.
18790 (feedmail-queue-express-to-queue): Add debug call.
18791 Run feedmail-queue-express-hook.
18792 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18793 (feedmail-message-action-help-blat):
18794 Rename from feedmail-queue-send-edit-prompt-help-first.
18795 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18796 Check line-endings. Handle errors better.
18797 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18798 Doc fix. Add debug call.
18799 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18800 Use feedmail-queue-send-edit-prompt-inner.
18801 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18802 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18803 from feedmail-queue-send-edit-prompt.
18804 (feedmail-queue-send-edit-prompt-help)
18805 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18806 (feedmail-tidy-up-slug): Add debug call.
18807 Respect feedmail-queue-slug-suspect-regexp.
18808 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18809 (feedmail-dump-message-to-queue): Add debug call.
18810 Expand queue-directory.
18811 (feedmail-dump-message-to-queue): Change message slightly.
18812 Use feedmail-say-chatter.
18813 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18814 (feedmail-send-it-immediately-wrapper): New function.
18815 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18816 Insert empty string rather than newline. Handle full-frame case.
18817 Use catch/throw. Use feedmail-say-chatter.
18818 (feedmail-fiddle-from): Try mail-host-address.
18819 (feedmail-default-message-id-generator): Doc fix.
18820 Bind system-time-locale. Handle missing end.
18821 (feedmail-fiddle-x-mailer): Add debug call.
18822 Handle feedmail-x-mailer-line being nil.
18823 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18824 Add debug call. Use buffer-substring-no-properties.
18825 (feedmail-say-debug, feedmail-say-chatter): New functions.
18826 (feedmail-find-eoh): Give an explicit error.
18827
18828 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18829
18830 * net/newst-treeview.el (newsticker-treeview-face): Change default
18831 family from helvetica to sans.
18832 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18833 etc/images/newsticker.
18834
18835 * net/newst-reader.el (newsticker-feed-face): Change default
18836 family from helvetica to sans.
18837
18838 * net/newst-plainview.el (newsticker-new-item-face)
18839 (newsticker-old-item-face, newsticker-immortal-item-face)
18840 (newsticker-obsolete-item-face, newsticker-date-face)
18841 (newsticker-statistics-face): Change default family from
18842 helvetica to sans.
18843 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18844 etc/images/newsticker.
18845
18846 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18847 (newsticker--process-auto-mark-filter-match): Tell user about
18848 auto-marking.
18849
18850 2011-05-13 Didier Verna <didier@xemacs.org>
18851
18852 Common Lisp indentation improvements on defmethod and lambda-lists.
18853 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18854 TODO entries.
18855 (lisp-lambda-list-keyword-parameter-indentation)
18856 (lisp-lambda-list-keyword-parameter-alignment)
18857 (lisp-lambda-list-keyword-alignment): New customizable user options.
18858 (lisp-indent-defun-method): Improve docstring.
18859 (extended-loop-p): Fix comment.
18860 (lisp-indent-lambda-list-keywords-regexp): New variable.
18861 (lisp-indent-lambda-list): New function.
18862 (lisp-indent-259): Use it.
18863 (lisp-indent-defmethod): Support for more than one
18864 method qualifier and properly indent methods lambda-lists.
18865 (defgeneric): Provide a missing common-lisp-indent-function property.
18866
18867 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18868
18869 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18870 bounds for the empty string (bug#8667).
18871
18872 2011-05-13 Glenn Morris <rgm@gnu.org>
18873
18874 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18875
18876 * mail/sendmail.el (sendmail-program): Try executable-find first.
18877 (sendmail-send-it): `sendmail-program' cannot be unbound.
18878
18879 * calendar/appt.el (appt-make-list): Simplify.
18880 (appt-time-msg-list): Doc fix.
18881 (appt-check): Change mode-line message at the time of the appointment.
18882
18883 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18884
18885 * progmodes/ld-script.el (ld-script-keywords)
18886 (ld-script-builtins): Update keywords list.
18887
18888 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18889
18890 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18891
18892 * shell.el (shell-completion-vars): New function.
18893 (shell-mode):
18894 * simple.el (read-shell-command): Use it.
18895 (blink-matching-open): No need for " [...]" in minibuffer-message.
18896
18897 2011-05-12 Glenn Morris <rgm@gnu.org>
18898
18899 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18900 (appt-check): Simplify.
18901
18902 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18903
18904 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18905 literal "/dev/null".
18906
18907 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18908
18909 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18910 Fix typo.
18911
18912 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18913
18914 * progmodes/which-func.el (which-function):
18915 Use add-log-current-defun instead of add-log-current-defun-function,
18916 which might not be defined (Bug#8260).
18917
18918 2011-05-12 Glenn Morris <rgm@gnu.org>
18919
18920 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18921 Let byte-compile-initial-macro-environment always take precedence.
18922
18923 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18924
18925 * net/rcirc.el: Add support for SSL/TLS connections.
18926 (rcirc-server-alist): New field `encryption'.
18927 (rcirc): Check `encryption' settings.
18928 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18929 Merge make-local-variable into `set'.
18930 (rcirc--connection-open-p): New function.
18931 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18932 the process is not a network process (e.g. running gnutls-cli).
18933 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18934 Make rcirc-(en|de)code-coding-system local here.
18935 (rcirc-mode): Merge make-local-variable into `set'.
18936 (rcirc-parent-buffer): Make permanent buffer-local.
18937 (rcirc-multiline-minor-mode): Don't do it here.
18938 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18939 there's no server buffer.
18940
18941 2011-05-11 Glenn Morris <rgm@gnu.org>
18942
18943 * newcomment.el (comment-kill): Prefix "unused" local.
18944
18945 * term/w32console.el (get-screen-color): Declare.
18946
18947 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18948 Handle symbol elements of byte-compile-initial-macro-environment.
18949
18950 2011-05-10 Leo Liu <sdl.web@gmail.com>
18951
18952 * bookmark.el (bookmark-bmenu-mode-map):
18953 Bind bookmark-bmenu-search to `/'.
18954
18955 * mail/footnote.el: Convert to utf-8 encoding.
18956 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18957 (Footnote-unicode): New function.
18958 (footnote-style-alist): Add unicode style to the list.
18959 (footnote-style): Doc fix.
18960
18961 2011-05-10 Jim Meyering <meyering@redhat.com>
18962
18963 Fix doubled-word typos.
18964 * international/quail.el (quail-insert-kbd-layout): and and -> and
18965 * kermit.el: and and -> and
18966 * net/ldap.el (ldap-search-internal): to to -> to
18967 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18968 * progmodes/js.el (js-mode): and and -> and
18969 * textmodes/artist.el (artist-move-to-xy): at at -> at
18970 (artist-draw-region-trim-line-endings): if if -> if
18971 And Safetyc -> Safety.
18972 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18973
18974 2011-05-10 Glenn Morris <rgm@gnu.org>
18975 Stefan Monnier <monnier@iro.umontreal.ca>
18976
18977 * files.el (hack-one-local-variable-eval-safep):
18978 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18979
18980 2011-05-10 Glenn Morris <rgm@gnu.org>
18981
18982 * calendar/diary-lib.el (diary-list-entries-hook)
18983 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18984 (diary-nongregorian-marking-hook, diary-list-entries)
18985 (diary-include-other-diary-files, diary-mark-entries)
18986 (diary-mark-included-diary-files): Doc fixes.
18987
18988 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18989
18990 * misc.el: Require tabulated-list.el during compilation.
18991
18992 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18993
18994 * progmodes/compile.el (compilation-start):
18995 Run compilation-filter-hook for the async case too.
18996 (compilation-filter-hook): Doc fix.
18997
18998 2011-05-09 Deniz Dogan <deniz@dogan.se>
18999
19000 * wdired.el: Remove outdated installation comment. Fix usage
19001 comment.
19002
19003 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19004
19005 * misc.el: Implement new command `list-dynamic-libraries'.
19006 (list-dynamic-libraries--loaded-only-p): New variable.
19007 (list-dynamic-libraries--refresh): New function.
19008 (list-dynamic-libraries): New command.
19009
19010 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19011
19012 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19013 Fix the ant regexp to handle end-line and end-column info from jikes.
19014 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19015 higher priority to avoid clobbering by gnu.
19016
19017 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19018
19019 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19020 if the face has existing theme settings (Bug#8454).
19021
19022 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19023
19024 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19025 Only match variables declared via `my' or `our' (Bug#8261).
19026
19027 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19028 special file names `.' and `..' (Bug#8259).
19029
19030 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19031
19032 * progmodes/grep.el (grep-mode-font-lock-keywords):
19033 Remove buffer-changing entries.
19034 (grep-filter): New function.
19035 (grep-mode): Add it to compilation-filter-hook.
19036
19037 * progmodes/compile.el (compilation-filter-hook)
19038 (compilation-filter-start): New defvars.
19039 (compilation-filter): Call compilation-filter-hook prior to
19040 updating the process mark.
19041
19042 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19043
19044 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19045
19046 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19047
19048 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19049 mailclient-send-it even if window-system is nil. (Bug#8595)
19050
19051 * term/w32console.el (terminal-init-w32console):
19052 Call get-screen-color and use its output to set the frame
19053 background-mode. (Bug#8597)
19054
19055 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19056
19057 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19058 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19059 New functions.
19060 (defgeneric, eieio--defmethod): Use them.
19061 (eieio-defgeneric): Remove.
19062 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19063
19064 2011-05-07 Glenn Morris <rgm@gnu.org>
19065
19066 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19067 Use let rather than let*.
19068 (timeclock-find-discrep): Remove unused local.
19069
19070 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19071
19072 * calendar/appt.el (appt-time-msg-list): Doc fix.
19073
19074 2011-05-06 Noah Friedman <friedman@splode.com>
19075
19076 * apropos.el (apropos-print-doc): Only use
19077 emacs-lisp-docstring-fill-column when it is bound to an integer,
19078 per that variable's documentation.
19079
19080 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19081
19082 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19083 and warnings are not silently discarded (e.g. use -d instead of -P).
19084
19085 2011-05-06 Glenn Morris <rgm@gnu.org>
19086
19087 * calendar/appt.el (appt-message-warning-time): Doc fix.
19088 (appt-warning-time-regexp): New option.
19089 (appt-make-list): Respect appt-message-warning-time.
19090
19091 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19092 New options.
19093 (diary-add-to-list): Strip comments from the displayed string.
19094 (diary-mode): Set comment-start and comment-end.
19095
19096 * vc/diff-mode.el (smerge-refine-subst): Declare.
19097 (diff-refine-hunk): Don't require smerge-mode when compiling.
19098
19099 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19100
19101 * simple.el (list-processes): Return nil as the docstring says.
19102
19103 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19104
19105 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19106 to "".
19107 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19108 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19109 determining of binary transfer. (Bug#7383)
19110
19111 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19112
19113 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19114 Fix port computation bug. (Bug#8618)
19115
19116 2011-05-05 Glenn Morris <rgm@gnu.org>
19117
19118 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19119
19120 * simple.el (shell-dynamic-complete-functions)
19121 (comint-dynamic-complete-functions): Declare.
19122
19123 * net/network-stream.el (gnutls-negotiate):
19124 * simple.el (tabulated-list-print): Fix declarations.
19125
19126 * progmodes/gud.el (syntax-symbol, syntax-point):
19127 Remove unnecessary and incorrect declarations.
19128
19129 * emacs-lisp/check-declare.el (check-declare-scan):
19130 Handle byte-compile-initial-macro-environment in bytecomp.el.
19131
19132 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19133
19134 Fix earlier half-done eieio-defmethod change (bug#8338).
19135 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19136 Streamline and change calling convention.
19137 (defmethod): Adjust accordingly and simplify.
19138 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19139 new eieio--defmethod.
19140 (slot-boundp): Minor CSE simplification.
19141
19142 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19143
19144 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19145 (glasses-make-readable): Use glasses-separate-capital-groups.
19146
19147 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19148
19149 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19150 (warning-series): Doc fix.
19151 (display-warning): Don't try to create the buffer if we just found it.
19152
19153 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19154
19155 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19156 (autoload-find-generated-file): New function.
19157 (generate-file-autoloads): Bind generated-autoload-file to
19158 buffer-file-name.
19159 (update-file-autoloads, update-directory-autoloads):
19160 Use autoload-find-generated-file. If called interactively, prompt for
19161 output file (Bug#7989).
19162 (batch-update-autoloads): Doc fix.
19163
19164 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19165
19166 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19167
19168 2011-05-04 Glenn Morris <rgm@gnu.org>
19169
19170 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19171 function, so it follows changes in calendar-date-style.
19172 (diary-fancy-date-matcher): New function.
19173 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19174 (diary-fancy-font-lock-fontify-region-function):
19175 Use diary-fancy-date-pattern as a function.
19176
19177 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19178 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19179
19180 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19181
19182 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19183 instead of positional arguments. Allow :keylist and :crlfiles
19184 arguments.
19185 (open-gnutls-stream): Call it.
19186
19187 * net/network-stream.el (network-stream-open-starttls): Adjust to
19188 call `gnutls-negotiate' with :process and :hostname arguments.
19189
19190 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19191
19192 * minibuffer.el (completion--message): New function.
19193 (completion--do-completion, minibuffer-complete)
19194 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19195 (completion--do-completion): Don't ignore completion-auto-help when in
19196 icomplete-mode.
19197
19198 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19199 internal encoding (e.g. tibetan zero is not whitespace).
19200 (global-whitespace-mode): Prefer save-current-buffer.
19201 (whitespace-trailing-regexp): Remove useless save-match-data.
19202 (whitespace-empty-at-bob-regexp): Minor simplification.
19203
19204 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19205
19206 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19207
19208 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19209
19210 * textmodes/ispell.el (ispell-add-per-file-word-list):
19211 Use `concat' to create string for insertion.
19212
19213 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19214
19215 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19216 Avoid open-line which runs post-self-insert-hook.
19217 (bibtex-fill-entry): Remove unused `end' var.
19218
19219 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19220
19221 * textmodes/ispell.el (ispell-add-per-file-word-list):
19222 Protect against `nil' value of `comment-start' (Bug#8579).
19223
19224 2011-05-03 Leo Liu <sdl.web@gmail.com>
19225
19226 * isearch.el (isearch-yank-pop): New command.
19227 (isearch-mode-map): Bind it to `M-y'.
19228 (isearch-forward): Mention it.
19229
19230 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * simple.el (minibuffer-complete-shell-command): Remove.
19233 (minibuffer-local-shell-command-map): Use completion-at-point.
19234 (read-shell-command): Setup completion vars here instead.
19235 (read-expression-map): Bind TAB to symbol completion.
19236
19237 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19238 error directly rather via storing it into `results'.
19239
19240 2011-05-02 Leo Liu <sdl.web@gmail.com>
19241
19242 * vc/diff.el: Fix description.
19243
19244 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19245
19246 * server.el (server-eval-at): New function.
19247
19248 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19249
19250 * net/network-stream.el (open-network-stream): Take a :nowait
19251 parameter and pass it on to `make-network-process'.
19252 (network-stream-open-plain): Ditto.
19253
19254 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19255
19256 * faces.el (face-spec-set-match-display): Don't match toolkit
19257 options on terminal frames.
19258
19259 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19260
19261 * progmodes/pascal.el: Use lexical binding.
19262 (pascal-mode-map): Remove author preferences.
19263
19264 * pcomplete.el (pcomplete-std-complete): Don't abuse
19265 completion-at-point.
19266
19267 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19268
19269 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19270 removing code that has been dead since 1991 or so.
19271
19272 * startup.el (command-line): When warning about "_emacs", use a
19273 delayed warning to allow the user to filter it out.
19274
19275 2011-04-28 Deniz Dogan <deniz@dogan.se>
19276
19277 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19278 user has not joined.
19279
19280 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19281
19282 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19283 aren't any completions at point.
19284
19285 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19286
19287 * subr.el (display-delayed-warnings): New function.
19288 (delayed-warnings-hook): New variable.
19289
19290 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19291
19292 * minibuffer.el (completion-at-point, completion-help-at-point):
19293 Don't presume that a given completion-at-point-function will always
19294 use the same calling convention.
19295
19296 * pcomplete.el (pcomplete-completions-at-point):
19297 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19298 pcomplete-seen is non-nil.
19299 (pcomplete-comint-setup): Also recognize the new comint/shell
19300 completion functions.
19301 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19302 pcomplete-seen is non-nil.
19303
19304 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19305
19306 * calendar/icalendar.el (diary-lib): Add require statement.
19307 (icalendar--create-uid): Read out a uid from a text-property on
19308 the first character in the entry. This allows for code to add its
19309 own uid to the entry.
19310 (icalendar--convert-float-to-ical): Add export of
19311 `diary-float'-entries save for those with the optional DAY
19312 argument.
19313
19314 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19315
19316 * subr.el (shell-quote-argument): Use alternate escaping strategy
19317 when we spot a variable reference in a string.
19318
19319 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19320
19321 * cus-start.el (all): Define customization for debug-on-event.
19322
19323 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19324
19325 * subr.el (shell-quote-argument): Escape correctly under Windows.
19326
19327 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19328
19329 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19330
19331 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19332
19333 * net/tramp.el (tramp-process-actions): Add POS argument.
19334 Delete region between POS and (pos).
19335
19336 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19337 Use `nil' position in `tramp-process-actions' call.
19338 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19339
19340 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19341 position in `tramp-process-actions' call.
19342
19343 * net/trampver.el: Update release number.
19344
19345 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19346
19347 * custom.el (defcustom): Obey lexical-binding.
19348
19349 Fix octave-inf completion problems reported by Alexander Klimov.
19350 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19351 Inherit from octave-mode-syntax-table.
19352 (inferior-octave-mode): Set info-lookup-mode.
19353 (inferior-octave-completion-at-point): New function.
19354 (inferior-octave-complete): Use it and completion-in-region.
19355 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19356 comint-filename-completion.
19357 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19358 symbol elements which shouldn't be word elements.
19359 (octave-font-lock-keywords, octave-beginning-of-defun)
19360 (octave-function-header-regexp): Adjust regexps accordingly.
19361 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19362
19363 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19364
19365 * net/gnutls.el (gnutls-errorp): Declare before first use.
19366
19367 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19368
19369 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19370 verify-error, and verify-hostname-error parameters. Check whether
19371 default trustfile exists before going to use it. Add missing
19372 argument to gnutls-message-maybe call. Return value.
19373 Reported by Claudio Bley <claudio.bley@gmail.com>.
19374 (open-gnutls-stream): Add usage example.
19375
19376 * net/network-stream.el (network-stream-open-starttls): Give host
19377 parameter to `gnutls-negotiate'.
19378 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19379 * subr.el (shell-quote-argument): Escape correctly under Windows.
19380
19381 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19382
19383 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19384 Use correct match group (bug#8438).
19385
19386 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19387
19388 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19389 (package-menu--generate): New arg specifying packages to show.
19390 (package-menu-refresh, package-menu-execute, list-packages):
19391 Callers changed.
19392 (package-show-package-list): New function, replacing deleted
19393 package--list-packages (renamed because it is non-internal).
19394
19395 * finder.el (finder-list-matches): Use package-show-package-list
19396 instead of deleted package--list-packages.
19397
19398 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19399 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19400 (vc-annotate-mode-map): Bind it to RET.
19401
19402 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19403
19404 * progmodes/etags.el (next-file): Don't use set-buffer to change
19405 buffers (Bug#8478).
19406
19407 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19408
19409 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19410
19411 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19412 (apropos-accumulator): Doc fix.
19413 (apropos-function, apropos-macro, apropos-command)
19414 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19415 (apropos-plist): Add face property.
19416 (apropos-symbols-internal): Fix indentation.
19417 (apropos-print): Simplify help, and recognize apropos-multi-type.
19418 (apropos-print-doc): Use button-type-get to extract the button's
19419 face property. Fill docstring (Bug#8352).
19420
19421 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19422
19423 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19424
19425 * play/mpuz.el (mpuz-silent): Doc fix.
19426 (mpuz-mode-map): Use mapc.
19427 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19428 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19429 Fix typos in docstrings.
19430
19431 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19432 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19433
19434 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19435
19436 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19437
19438 * minibuffer.el (completion--do-completion): Avoid the "Next char
19439 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19440
19441 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19442 mouse-2 into unread-command-events, it is interpreted correctly.
19443
19444 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19445 (image-toggle-display): Doc fix.
19446
19447 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19448
19449 * textmodes/page.el (what-page): Use line-number-at-pos to
19450 calculate line number (Bug#6825).
19451
19452 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19453
19454 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19455 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19456 Pass argument NO-DEFAULT to `find-tag-interactive'.
19457
19458 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19459
19460 Lexical-binding cleanup.
19461
19462 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19463 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19464 * progmodes/ada-prj.el (ada-prj-initialize-values)
19465 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19466 (ada-prj-show-value):
19467 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19468 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19469 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19470 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19471 * progmodes/bug-reference.el (bug-reference-push-button):
19472 * progmodes/fortran.el (fortran-line-length):
19473 * progmodes/glasses.el (glasses-change):
19474 * progmodes/octave-mod.el (octave-fill-paragraph):
19475 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19476 (python-pdbtrack-grub-for-buffer, python-sentinel):
19477 * progmodes/sql.el (sql-save-connection):
19478 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19479 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19480 Mark unused parameters.
19481
19482 * progmodes/compile.el (compilation--flush-directory-cache)
19483 (compilation--flush-parse, compile-internal): Mark unused parameters.
19484 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19485 (compilation-next-error-function): Remove unused variable `timestamp'.
19486
19487 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19488 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19489
19490 * progmodes/dcl-mode.el (dcl-end-of-command):
19491 Remove unused variable `start'.
19492 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19493 (dcl-option-value-basic, dcl-option-value-offset)
19494 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19495 Mark unused parameters.
19496 (dcl-save-local-variable): Remove unused variable `val'.
19497 (mode): Declare.
19498
19499 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19500 Mark unused parameters.
19501 (delphi-ignore-changes): Move before first use.
19502 (delphi-charset-token-at): Remove unused variable `start'.
19503 (delphi-else-start): Remove unused variable `if-count'.
19504 (delphi-comment-block-start, delphi-comment-block-end):
19505 Remove unused variable `kind'.
19506 (delphi-indent-line): Remove unused variable `new-point'.
19507
19508 * progmodes/ebrowse.el (ebrowse-files-list)
19509 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19510 Mark unused parameters. Don't quote `lambda'.
19511 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19512 Don't quote `lambda'.
19513 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19514 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19515 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19516 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19517 Use `ignore-errors'.
19518 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19519 (ebrowse-view/find-file-and-search-pattern)
19520 (ebrowse-view/find-member-declaration/definition):
19521 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19522 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19523 Rename parameter PREFIX-ARG to PREFIX.
19524 (ebrowse-tags-read-name): Remove unused variables `start' and
19525 `member-info'.
19526 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19527 to `tags-file'.
19528
19529 * progmodes/etags.el (local-find-tag-hook): Declare.
19530 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19531 Mark unused parameters.
19532
19533 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19534 (executable-interpret): Mark unused parameter.
19535
19536 * progmodes/flymake.el (flymake-process-sentinel)
19537 (flymake-after-change-function)
19538 (flymake-create-temp-with-folder-structure)
19539 (flymake-get-include-dirs-dot): Mark unused parameters.
19540 (flymake-safe-delete-directory): Remove unused variable `err'.
19541
19542 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19543 (speedbar-timer-fn, speedbar-line-text)
19544 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19545 (speedbar-center-buffer-smartly): Declare functions.
19546 (gdb-find-watch-expression): Remove unused variable `array'.
19547 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19548 (gdb-starting): Mark unused parameters.
19549 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19550 (gdb-table-string): Remove unused variable `res'.
19551 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19552 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19553 (gdb-display-buffer): Remove unused variable `cur-size'.
19554
19555 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19556 allow lexical-binding compilation.
19557 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19558 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19559 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19560 Mark unused parameters.
19561 (gud-gdb-marker-filter): Remove unused variable `match'.
19562 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19563 lambda expressions and funcall them, instead of using `fset'.
19564
19565 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19566 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19567
19568 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19569 variable `header-beg'; use `let'.
19570
19571 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19572 `restart', `last-sexp' and `at-do'.
19573
19574 * progmodes/js.el (js--debug): Mark unused parameter.
19575 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19576 (js--splice-into-items): Remove unused variable `item'.
19577 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19578
19579 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19580 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19581 (makefile-complete): Remove unused variable `try'.
19582 (makefile-fill-paragraph, makefile-match-function-end):
19583 Mark unused parameters.
19584
19585 * progmodes/octave-inf.el (inferior-octave-complete):
19586 Remove unused variable `proc'.
19587 (inferior-octave-output-digest): Mark unused parameter.
19588
19589 * progmodes/perl-mode.el (perl-calculate-indent):
19590 Remove unused variable `err'.
19591
19592 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19593 (prolog-indent-line): Mark unused parameters.
19594 (prolog-indent-line): Remove unused variable `beg'.
19595
19596 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19597 (reporter-dont-compact-list): Declare.
19598
19599 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19600 Remove unused variable `char'.
19601 (sh-debug): Mark unused parameter.
19602 (sh-get-indent-info): Remove unused variable `start'.
19603 (sh-calculate-indent): Remove unused variable `var'.
19604
19605 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19606 (simula-electric-keyword): Remove unused variable `null'.
19607 (simula-search-backward, simula-search-forward): Remove unused
19608 variables `begin' and `end'.
19609
19610 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19611 Remove unused variable `pos'.
19612 (vera-electric-tab, vera-comment-uncomment-region):
19613 Mark unused parameters.
19614 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19615
19616 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19617
19618 * emacs-lisp/package.el (package--builtins, package-alist)
19619 (package-load-descriptor, package-built-in-p, package-activate)
19620 (define-package, package-installed-p)
19621 (package-compute-transaction, package-buffer-info)
19622 (package--push): Doc fix. Distinguish more clearly between
19623 version strings and version lists.
19624
19625 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19626
19627 Lexical-binding cleanup.
19628
19629 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19630 (5x5-make-mutate-best):
19631 * play/fortune.el (fortune-in-buffer):
19632 * play/gomoku.el (gomoku-init-display):
19633 * play/solitaire.el (solitaire, solitaire-do-check):
19634 * play/tetris.el (tetris-default-update-speed-function):
19635 Mark unused parameters.
19636
19637 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19638 (bubbles--shift): Remove unused variable `char-org'.
19639 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19640 (bubbles--show-images): Remove unused variable `char'.
19641
19642 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19643 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19644 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19645 (decipher-analyze-buffer): Use ?\s.
19646 (decipher-make-checkpoint): Remove unused variable `mapping'.
19647
19648 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19649
19650 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19651 Remove unused variable `result'; use `let'.
19652
19653 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19654 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19655 (gametree-children-shown-p, gametree-compute-reduced-score):
19656 Use `ignore-errors'.
19657
19658 * play/handwrite.el (ps-lpr-switches): Declare.
19659 (handwrite): Remove unused variables `pmin' and `lastp'.
19660
19661 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19662
19663 * play/landmark.el (landmark-init-display)
19664 (landmark-update-naught-weights): Mark unused parameters.
19665 (landmark-y): Remove unused variable `noise'. Simplify.
19666 (landmark-human-plays): Remove unused variable `score'.
19667
19668 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19669 (mpuz-try-proposal): Remove unused variable `game'.
19670
19671 * play/zone.el (life-patterns): Declare.
19672
19673 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19674
19675 * vc/vc.el (ediff-vc-internal): Declare function.
19676
19677 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19678
19679 * shell.el: Use lexical-binding and std completion UI.
19680 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19681 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19682 comint-preoutput-filter-functions rather than on
19683 comint-output-filter-functions.
19684 (shell-command-completion, shell--command-completion-data)
19685 (shell-filename-completion, shell-environment-variable-completion)
19686 (shell-c-a-p-replace-by-expanded-directory): New functions.
19687 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19688 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19689 (shell-dynamic-complete-environment-variable): Use them.
19690 (shell-dynamic-complete-as-environment-variable)
19691 (shell-dynamic-complete-as-command): Remove.
19692 (shell-match-partial-variable): Match past point.
19693 * comint.el: Clean up use of completion-at-point-functions.
19694 (comint-completion-at-point): New function.
19695 (comint-mode): Use it completion-at-point-functions.
19696 (comint-dynamic-complete): Make it obsolete.
19697 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19698 (comint-c-a-p-replace-by-expanded-history): New function.
19699 (comint-dynamic-complete-functions)
19700 (comint-replace-by-expanded-history): Use it.
19701 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19702 termination strings. Try harder to avoid second try-completion.
19703 (completion-in-region-mode-map): Disable bindings that don't work yet.
19704
19705 * comint.el: Use lexical-binding. Require CL.
19706 (comint-dynamic-complete-functions): Use comint-filename-completion.
19707 (comint-completion-addsuffix): Tweak custom type.
19708 (comint-filename-completion, comint--common-suffix)
19709 (comint--common-quoted-suffix, comint--table-subvert)
19710 (comint--complete-file-name-data): New functions.
19711 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19712 (comint-dynamic-list-filename-completions): Use them.
19713 (comint-dynamic-simple-complete): Make obsolete.
19714
19715 * minibuffer.el (completion-in-region-mode):
19716 Keep completion-in-region-mode--predicate global.
19717 (completion-in-region--postch):
19718 Assume completion-in-region-mode--predicate is not null.
19719
19720 * progmodes/flymake.el (flymake-start-syntax-check-process):
19721 Obey `dir'. Simplify.
19722
19723 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19724 we're in VC after all.
19725
19726 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19727
19728 * vc/vc.el (vc-diff-build-argument-list-internal)
19729 (vc-version-ediff, vc-ediff): New commands.
19730 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19731
19732 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19733
19734 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19735 add sanity check.
19736
19737 * obsolete/erc-hecomplete.el: Make obsolete.
19738 * obsolete/: Standardize obsolescence info in the header.
19739
19740 2011-04-20 Glenn Morris <rgm@gnu.org>
19741
19742 * calendar/solar.el (solar-horizontal-coordinates):
19743 Use the longitude argument rather than `calendar-longitude'.
19744 (solar-date-next-longitude): Remove unused locals.
19745
19746 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19747
19748 * whitespace.el: New version 13.2.1.
19749
19750 2011-04-20 felix <EmacsWiki> (tiny change)
19751
19752 * whitespace.el (global-whitespace-mode): Keep highlight when
19753 switching between major modes on a file.
19754
19755 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19756
19757 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19758 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19759 multi-line comments as well.
19760
19761 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19762
19763 Lexical-binding cleanup.
19764
19765 * arc-mode.el (archive-mode-revert):
19766 * cmuscheme.el (scheme-interactively-start-process):
19767 * custom.el (custom-initialize-delay):
19768 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19769 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19770 * emacs-lock.el (emacs-lock-clear-sentinel):
19771 * ezimage.el (defezimage):
19772 * follow.el (follow-avoid-tail-recenter):
19773 * fringe.el (set-fringe-mode-1):
19774 * generic-x.el (bat-generic-mode-compile):
19775 * help-mode.el (help-info-variable, help-do-xref)
19776 (help-mode-revert-buffer):
19777 * help.el (view-emacs-todo):
19778 * iswitchb.el (iswitchb-completion-help):
19779 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19780 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19781 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19782 * locate.el (locate-update):
19783 * longlines.el (longlines-encode-region)
19784 (longlines-after-change-function):
19785 * outline.el (outline-isearch-open-invisible):
19786 * ps-def.el (declare-function, charset-dimension, char-width)
19787 (encode-char):
19788 * ps-mule.el (ps-mule-plot-string):
19789 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19790 (recentf-edit-list-select, recentf-edit-list-validate)
19791 (recentf-open-files-action):
19792 * rect.el (delete-whitespace-rectangle-line)
19793 (rectangle-number-line-callback):
19794 * register.el (window-configuration-to-register)
19795 (frame-configuration-to-register):
19796 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19797 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19798 (xselect-convert-to-targets, xselect-convert-to-delete)
19799 (xselect-convert-to-filename, xselect-convert-to-charpos)
19800 (xselect-convert-to-lineno, xselect-convert-to-colno)
19801 (xselect-convert-to-os, xselect-convert-to-host)
19802 (xselect-convert-to-user, xselect-convert-to-class)
19803 (xselect-convert-to-name, xselect-convert-to-integer)
19804 (xselect-convert-to-atom, xselect-convert-to-identity):
19805 * subr.el (declare, ignore, process-kill-without-query)
19806 (text-clone-maintain):
19807 * terminal.el (te-get-char, te-tic-sentinel):
19808 * tool-bar.el (tool-bar-make-keymap):
19809 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19810 * type-break.el (type-break-mode, type-break-noninteractive-query):
19811 * view.el (View-back-to-mark):
19812 * wid-browse.el (widget-browse-action, widget-browse-widget)
19813 (widget-browse-widgets, widget-browse-sexp):
19814 * widget.el (define-widget-keywords):
19815 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19816 Mark unused parameters.
19817
19818 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19819 (align-areas): Remove unused variable `look'.
19820 (align-region): Remove unused variables `real-end' and `pos-list'.
19821
19822 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19823
19824 * bindings.el (mode-line-modified, mode-line-remote):
19825 Mark unused parameters.
19826 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19827
19828 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19829 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19830
19831 * comint.el (comint-history-isearch-pop-state)
19832 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19833 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19834 (comint-substitute-in-file-name): Doc fix.
19835
19836 * completion.el (cmpl-statistics-block): Mark unused parameter.
19837 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19838 (save-completions-to-file, load-completions-from-file):
19839 Remove unused local variable `e'.
19840
19841 * composite.el (compose-chars): Remove unused variable `len'.
19842 (lgstring-insert-glyph): Remove unused variable `g'.
19843 (compose-glyph-string): Remove unused variables `ascent',
19844 `descent', `lbearing' and `rbearing'.
19845 (compose-glyph-string-relative): Remove unused variables
19846 `lbearing', `rbearing' and `wadjust'.
19847 (compose-gstring-for-graphic): Remove unused variables `header',
19848 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19849 (compose-gstring-for-terminal): Remove unused variables `header'
19850 and `nchars'. Use `let', not `let*'.
19851
19852 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19853 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19854 (Custom-buffer-done, custom-buffer-create-internal)
19855 (custom-browse-visibility-action, custom-browse-group-tag-action)
19856 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19857 (widget-magic-mouse-down-action, custom-toggle-parent)
19858 (custom-add-parent-links, custom-toggle-hide-variable)
19859 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19860 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19861 (custom-face-menu-create, custom-variable-menu-create, get)
19862 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19863 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19864 (customize-apropos): Remove unused variable `tests'.
19865 (custom-group-value-create): Remove unused variable `hidden-p'.
19866 (sort-fold-case): Declare.
19867
19868 * cus-theme.el (custom-reset-standard-faces-list)
19869 (custom-reset-standard-variables-list): Declare.
19870 (customize-create-theme, custom-theme-revert, custom-theme-write)
19871 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19872 Mark unused parameters.
19873
19874 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19875
19876 * delim-col.el (delimit-columns-max): Move defvar before first use.
19877
19878 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19879 (describe-char): Don't quote `lambda'. Mark unused parameter.
19880
19881 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19882 (auto-insert): Declare.
19883 (desktop-restore-file-buffer): Rename desktop-* parameters;
19884 mark unused ones.
19885 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19886 (desktop-buffer): Rename desktop-* parameters.
19887
19888 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19889 (dframe-reposition-frame-xemacs, dframe-help-echo)
19890 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19891 Mark unused parameters.
19892
19893 * dired-aux.el (backup-extract-version-start, overwrite-query)
19894 (overwrite-backup-query, rename-regexp-query)
19895 (rename-non-directory-query): Declare.
19896 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19897 (dired-add-entry): Remove unused variable `orig-file-name'.
19898 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19899 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19900 `dired-copy-preserve-time' directly.
19901 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19902 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19903
19904 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19905 (dired-virtual-revert, dired-make-relative-symlink):
19906 Mark unused parameters.
19907 (manual-program): Declare.
19908 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19909 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19910 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19911
19912 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19913
19914 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19915
19916 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19917 Declare.
19918
19919 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19920
19921 * electric.el (Electric-command-loop): Rename parameter
19922 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19923
19924 * expand.el (expand-in-literal): Remove unused variable `here'.
19925
19926 * facemenu.el (facemenu-add-new-color):
19927 Remove unused variable `docstring'.
19928
19929 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19930 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19931 (face-attr-construct): Mark unused parameter. Doc fix.
19932 (read-color): Remove unused variable `hex-string'.
19933
19934 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19935 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19936 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19937 (display-buffer-other-frame): Remove unused variable `old-window'.
19938 (kill-buffer-hook): Declare.
19939 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19940 Mark unused parameters.
19941 (after-find-file): Pass 1 to `auto-save-mode', not t.
19942
19943 * files-x.el (auto-insert): Declare.
19944 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19945
19946 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19947 variable `buf'. Mark unused parameter.
19948 (find-lisp-insert-directory): Mark unused parameter.
19949
19950 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19951 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19952 (format-common-tail): Remove, unused.
19953 (format-deannotate-region): Remove unused variable `loc'.
19954 (format-annotate-region): Remove unused variable `p'.
19955 (format-annotate-single-property-change): Remove unused variables
19956 `default' and `tail'.
19957
19958 * forms.el (read-file-filter): Declare.
19959 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19960
19961 * frame.el (frame-creation-function-alist): Mark unused parameter.
19962 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19963
19964 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19965 Remove unused parameters.
19966 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19967 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19968
19969 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19970 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19971 (hfy-prepare-tag-map): Mark unused parameters.
19972 (htmlfontify-buffer): Use `called-interactively-p'.
19973
19974 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19975 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19976 (ibuffer-do-occur): Mark unused parameters.
19977 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19978 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19979
19980 * ibuffer.el: Don't quote `lambda'.
19981 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19982 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19983 Mark unused parameters.
19984
19985 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19986 (ido-completing-read): Mark unused parameters.
19987 (ido-copy-current-word): Mark unused parameters;
19988 remove unused variable `name'.
19989 (ido-sort-merged-list): Remove unused parameter `dirs'.
19990
19991 * ielm.el (ielm-input-sender): Mark unused parameter.
19992 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19993 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19994 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19995 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19996 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19997
19998 * image-dired.el (image-dired-display-thumbs): Remove unused
19999 variables `curr-file' and `count'.
20000 (image-dired-remove-tag): Remove unused variable `start'.
20001 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20002 variable `curr-file'
20003 (image-dired-rotate-original): Remove unused variable `temp-file'.
20004 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20005 Remove unused variable `file'.
20006 (image-dired-gallery-generate): Remove unused variable `curr'.
20007 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20008
20009 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20010
20011 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20012
20013 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20014
20015 * isearch.el (minibuffer-history-symbol): Declare.
20016 (isearch-edit-string): Remove unused variable `err'.
20017 (isearch-message-prefix, isearch-message-suffix):
20018 Mark unused parameters.
20019
20020 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20021
20022 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20023
20024 * makesum.el (double-column): Remove unused variable `cnt'.
20025
20026 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20027 (ido-ignore-item-temp-list): Declare.
20028
20029 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20030 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20031 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20032 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20033 `mouse-col-delta'.
20034
20035 * mouse-sel.el (mouse-extend-internal):
20036 Remove unused variable `orig-window-frame'.
20037
20038 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20039 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20040 Move declarations before first use.
20041 (pcomplete-opt): Mark unused parameters; doc fix.
20042
20043 * proced.el (proced-revert): Mark unused parameter.
20044 (proced-send-signal): Remove unused variable `err'.
20045
20046 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20047 Rename parameter PREFIX-ARG to ARG.
20048 (ps-basic-plot-string, ps-basic-plot-whitespace):
20049 Mark unused parameters.
20050
20051 * replace.el (replace-count): Define.
20052 (occur-revert-function): Mark unused parameters.
20053 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20054 (isearch-case-fold-search, isearch-string): Declare.
20055 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20056 bind `case-fold-search'. Remove unused variables `beg' and `end',
20057 and simplify.
20058 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20059 COUNT and bind `replace-count'.
20060 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20061 to COUNT.
20062
20063 * savehist.el (print-readably, print-string-length): Declare.
20064
20065 * shadowfile.el (shadow-expand-cluster-in-file-name):
20066 Remove unused variable `cluster'.
20067 (shadow-copy-file): Remove unused variable `i'.
20068 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20069 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20070 (shadow-define-literal-group, shadow-define-regexp-group)
20071 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20072
20073 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20074 (shell): Use `called-interactively-p'.
20075 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20076
20077 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20078 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20079 (delete-backward-char): Remove unused variable `ocol'.
20080 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20081 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20082 (event-apply-hyper-modifier, event-apply-shift-modifier)
20083 (event-apply-control-modifier, event-apply-meta-modifier):
20084 Mark unused parameters.
20085 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20086 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20087
20088 * speedbar.el (speedbar-ignored-directory-expressions)
20089 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20090 (speedbar-find-file, speedbar-dir-follow)
20091 (speedbar-directory-buttons-follow, speedbar-tag-find)
20092 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20093 (speedbar-buffers-line-directory, speedbar-buffer-click):
20094 Mark unused parameters.
20095 (speedbar-tag-file): Remove unused variable `mode'.
20096 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20097
20098 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20099
20100 * talk.el (talk): Remove unused variable `display'.
20101
20102 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20103 (tar-write-region-annotate): Mark unused parameter.
20104
20105 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20106 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20107 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20108 warning by another.
20109
20110 * time-stamp.el (time-stamp-string-preprocess):
20111 Remove unused variable `require-padding'.
20112
20113 * tree-widget.el (widget-glyph-enable): Declare.
20114 (tree-widget-action): Mark unused parameter.
20115
20116 * w32-fns.el (x-get-selection): Mark unused parameter.
20117 (autoload-make-program, generated-autoload-file): Declare.
20118
20119 * wdired.el (wdired-revert): Mark unused parameters.
20120 (wdired-xcase-word): Remove unused variable `err'.
20121
20122 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20123 (whitespace-help-scroll): Remove unused variable `data-help'.
20124
20125 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20126 (widget-image-insert, widget-after-change, default)
20127 (widget-default-format-handler, widget-default-notify)
20128 (widget-default-prompt-value, widget-info-link-action)
20129 (widget-url-link-action, widget-function-link-action)
20130 (widget-variable-link-action, widget-file-link-action)
20131 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20132 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20133 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20134 (widget-insert-button-action, widget-delete-button-action, visibility)
20135 (widget-documentation-link-action, widget-documentation-string-action)
20136 (widget-const-prompt-value, widget-regexp-match, symbol)
20137 (widget-coding-system-prompt-value)
20138 (widget-key-sequence-value-to-external, sexp)
20139 (widget-sexp-value-to-internal, character, vector, cons)
20140 (widget-choice-prompt-value, widget-boolean-prompt-value)
20141 (widget-color--choose-action): Mark unused parameters.
20142 (widget-item-match-inline, widget-choice-match-inline)
20143 (widget-checklist-match, widget-checklist-match-inline)
20144 (widget-group-match): Rename parameter VALUES to VALS.
20145 (widget-field-value-set): Remove unused variable `size'.
20146 (widget-color-action): Remove unused variables `value' and `start'.
20147
20148 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20149 variable `dir'. Doc fix.
20150 (windmove-find-other-window): Don't pass it.
20151
20152 * window.el (count-windows): Mark unused parameter.
20153 (bw-adjust-window): Remove unused variable `err'.
20154
20155 * woman.el (woman-file-name): Remove unused variable `default'.
20156 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20157 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20158 (global-font-lock-mode): Declare.
20159 (woman-decode-region): Mark unused parameter.
20160 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20161
20162 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20163 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20164 (x-dnd-handle-moz-url): Remove unused variable `title'.
20165 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20166
20167 * xml.el (xml-parse-tag, xml-parse-attlist):
20168 Remove unused variable `pos'.
20169
20170 2011-04-19 Glenn Morris <rgm@gnu.org>
20171
20172 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20173 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20174 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20175 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20176 * calendar/cal-html.el (cal-html-insert-minical):
20177 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20178 (calendar-mark-date-pattern):
20179 Prefix "unused" locals.
20180
20181 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20182 optional argument `style'.
20183
20184 * calendar/appt.el (appt-make-list):
20185 * calendar/cal-china.el (calendar-chinese-date-string):
20186 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20187 (diary-hebrew-yahrzeit):
20188 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20189 * calendar/calendar.el (calendar-generate-window):
20190 * calendar/time-date.el (time-to-days):
20191 Remove unused local variables.
20192
20193 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20194
20195 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20196 glyphless-char-display table.
20197 (tabulated-list-glyphless-char-display): New var.
20198
20199 2011-04-18 Sam Steingold <sds@gnu.org>
20200
20201 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20202 to acknowledgments.
20203
20204 2011-04-17 Glenn Morris <rgm@gnu.org>
20205
20206 * calendar/diary-lib.el (diary-sexp-entry):
20207 * calendar/holidays.el (holiday-sexp):
20208 Set debug-on-error rather than the removed stack-trace-on-error.
20209
20210 2011-04-16 Glenn Morris <rgm@gnu.org>
20211
20212 * progmodes/f90.el: Use lexical-binding.
20213 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20214
20215 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20216
20217 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20218 (mail-mode): Setup mailalias completion here instead.
20219 * mail/mailalias.el: Use lexical-binding.
20220 (pattern, mailalias-done): Declare dynamic.
20221 (mail-completion-at-point-function): New function, from mail-complete.
20222 (mail-complete): Use it.
20223 (mail-completion-expand): New function.
20224 (mail-get-names): Use it.
20225 (mail-directory, mail-directory-process, mail-directory-stream):
20226 Don't use `pattern' for lexically bound arg.
20227
20228 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20229
20230 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20231 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20232 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20233
20234 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20235 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20236 (byte-interactive-p): Define them again, for use when inlining
20237 old code.
20238
20239 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20240
20241 * loadup.el: Use `string-to-number', not `string-to-int'.
20242
20243 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20244
20245 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20246 gud-gdb-complete-command.
20247 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20248 (gud-gdb-completion-at-point): New function.
20249 (gud-gdb-completions): Remove.
20250
20251 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20252
20253 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20254 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20255 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20256 whether `executable-find' is bound.
20257
20258 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20259
20260 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20261
20262 * minibuffer.el (completion-in-region-mode-predicate)
20263 (completion-in-region-mode--predicate): New vars.
20264 (completion-in-region, completion-in-region--postch)
20265 (completion-in-region-mode): Use them.
20266 (completion--capf-wrapper): Also return the hook function.
20267 (completion-at-point, completion-help-at-point):
20268 Adjust and provide a predicate.
20269
20270 Preserve arg names for advice of subr and lexical functions (bug#8457).
20271 * help-fns.el (help-function-arglist): Consolidate the subr and
20272 new-byte-code cases. Add argument `preserve-names' to extract names
20273 from the docstring when needed.
20274 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20275 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20276 (ad-arglist): Use help-function-arglist's new arg.
20277 (ad-definition-type): Use cond.
20278
20279 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20280
20281 * autorevert.el (auto-revert-handler):
20282 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20283 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20284 Don't quote lambda.
20285
20286 * image-mode.el (image-transform-set-scale):
20287 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20288
20289 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20290
20291 * net/network-stream.el (network-stream-open-starttls): Only do
20292 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20293 Upgrades via gnutls-cli are too slow to be done opportunistically.
20294
20295 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20296
20297 * dframe.el (dframe-current-frame): Remove spurious quote.
20298
20299 2011-04-12 Glenn Morris <rgm@gnu.org>
20300
20301 * calendar/cal-tex.el (cal-tex-end-document):
20302 Try to automatically use latin1 input if needed.
20303
20304 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20305 Don't try to cons a mark onto an empty element.
20306
20307 2011-04-11 Leo Liu <sdl.web@gmail.com>
20308
20309 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20310 buffers.
20311 (ido-kill-buffer-at-head): Support killing virtual buffers.
20312
20313 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20314
20315 * minibuffer.el (completion-show-inline-help): New var.
20316 (completion--do-completion, minibuffer-complete)
20317 (minibuffer-force-complete, minibuffer-complete-word):
20318 Inhibit minibuffer messages if completion-show-inline-help is nil.
20319
20320 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20321 to avoid interference from inline help (Bug#5849).
20322
20323 2011-04-10 Leo Liu <sdl.web@gmail.com>
20324
20325 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20326 Fix typo.
20327
20328 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20329
20330 * image-mode.el (image-toggle-display-image): Signal an error if
20331 not in Image mode.
20332 (image-transform-mode, image-transform-resize)
20333 (image-transform-set-rotation): Doc fix.
20334 (image-transform-set-resize): Delete.
20335 (image-transform-set-scale, image-transform-fit-to-height)
20336 (image-transform-fit-to-width): Handle image-toggle-display-image
20337 and image-transform-resize directly.
20338
20339 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20340
20341 * doc-view.el (doc-view-fit-width-to-window)
20342 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20343 New functions for fitting the shown image to the Emacs window size.
20344 (doc-view-mode-map): Add bindings for the new functions.
20345
20346 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20347
20348 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20349 Fix typo in docstring.
20350
20351 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20352
20353 * files.el (file-size-human-readable): Produce one digit after
20354 decimal, like "ls -lh" does.
20355
20356 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20357 the file size representation.
20358
20359 * simple.el (list-processes): If async subprocesses are not
20360 available, error out with a clear error message.
20361
20362 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20363
20364 * help.el (help-form-show): New function, to be called from C.
20365 Put help-form output in a buffer named differently than *Help*.
20366
20367 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20368
20369 * files.el (file-size-human-readable): New function.
20370
20371 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20372 computing the representation inline. Don't require `cl'.
20373
20374 2011-04-08 Glenn Morris <rgm@gnu.org>
20375
20376 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20377
20378 * net/browse-url.el (browse-url-firefox):
20379 Test system-type, not system-configuration.
20380
20381 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20382 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20383 Use log-edit-empty-buffer-p. (Bug#7598)
20384
20385 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20386 (rlogin-mode-map): Initialize in the defvar.
20387 (rlogin): Use ignore-errors.
20388
20389 * replace.el (occur-mode-map): Some fixes for menu items.
20390
20391 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20392
20393 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20394
20395 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20396
20397 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20398 issuing unused warnings.
20399
20400 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20401 macro directly.
20402
20403 * simple.el: Lisp reimplement of list-processes. Based on an
20404 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20405 (process-menu-mode): New major mode.
20406 (list-processes--refresh, list-processes):
20407 (process-menu-visit-buffer): New functions.
20408
20409 * files.el (save-buffers-kill-emacs): Don't assume any return
20410 value of list-processes, which is undocumented anyway.
20411
20412 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20413
20414 * emacs-lisp/tabulated-list.el: New file.
20415
20416 * emacs-lisp/package.el: Use Tabulated List mode.
20417 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20418 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20419 table format using Tabulated List mode variables.
20420 (package--push): New macro, replacing package-list-maybe-add.
20421 (package-menu--generate): Use package--push. Renamed from
20422 package--generate-package-list.
20423 (package-menu-refresh, list-packages): Use it.
20424 (package-menu--print-info): Rename from package-print-package.
20425 Return insertion data instead of inserting it directly.
20426 (package-menu-describe-package, package-menu-execute):
20427 Use tabulated-list-get-id.
20428 (package-menu-mark-delete, package-menu-mark-install)
20429 (package-menu-mark-unmark, package-menu-backup-unmark)
20430 (package-menu-mark-obsolete-for-deletion):
20431 Use tabulated-list-put-tag.
20432 (package--list-packages, package-menu-revert)
20433 (package-menu-get-package, package-menu-get-version)
20434 (package-menu-sort-by-column): Functions deleted.
20435 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20436 (package-menu--status-predicate, package-menu--version-predicate)
20437 (package-menu--name-predicate)
20438 (package-menu--description-predicate): Handle arguments in the
20439 Tabulated List format.
20440 (package-list-packages-no-fetch): Call list-packages.
20441
20442 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20443
20444 * files.el (after-find-file-from-revert-buffer): Remove variable.
20445 (after-find-file): Don't bind it.
20446 (revert-buffer-in-progress-p): New variable.
20447 (revert-buffer): Bind it.
20448 Pass nil for `after-find-file-from-revert-buffer'.
20449
20450 * saveplace.el (save-place-find-file-hook): Use new variable
20451 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20452
20453 2011-04-06 Glenn Morris <rgm@gnu.org>
20454
20455 * Makefile.in (AUTOGEN_VCS): New variable.
20456 (autoloads): Use $AUTOGEN_VCS.
20457
20458 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20459 * calendar/calendar.el (calendar-mode-map):
20460 Check for toolkit scroll bars. (Bug#8305)
20461
20462 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20463
20464 * minibuffer.el (completion-in-region--postch)
20465 (completion-in-region-mode): Remove unnecessary messages.
20466
20467 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20468
20469 * font-lock.el (font-lock-refresh-defaults):
20470 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20471 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20472
20473 * info.el (Info-directory-list, Info-read-node-name-2)
20474 (Info-split-parameter-string): Doc fixes.
20475 (Info-virtual-nodes): Reflow docstring.
20476 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20477 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20478 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20479 Fix typos in docstrings.
20480 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20481 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20482 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20483 (Info-restore-desktop-buffer): Mark unused parameters.
20484 (Info-directory-find-file, Info-directory-find-node)
20485 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20486 (Info-virtual-index-find-node, Info-apropos-find-file)
20487 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20488 Mark unused parameters; fix typos in docstrings.
20489 (Info-virtual-index): Remove unused local variable `nodename'.
20490
20491 2011-04-05 Deniz Dogan <deniz@dogan.se>
20492
20493 * net/rcirc.el: Update my e-mail address.
20494 (rcirc-mode-map): Remove M-o binding.
20495
20496 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20497
20498 * startup.el (command-line): Save the cursor's theme-face
20499 directly, instead of using face-override-spec.
20500
20501 * custom.el (load-theme): Minor optimization in assigning faces.
20502
20503 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20504
20505 * help-fns.el (describe-variable): Complete all variables having
20506 documentation, including keywords.
20507 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20508
20509 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20510
20511 Convert to lexical-binding.
20512
20513 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20514 (bs--get-marked-string, bs--get-modified-string)
20515 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20516 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20517 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20518
20519 * ehelp.el (electric-help-execute-extended)
20520 (electric-help-ctrl-x-prefix):
20521 * hexl.el (hexl-revert-buffer-function):
20522 * linum.el (linum-after-change, linum-after-scroll):
20523 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20524
20525 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20526
20527 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20528
20529 * epa-dired.el:
20530 * epa-mail.el:
20531 * epa-hook.el:
20532 * epa-file.el:
20533 * epa.el:
20534 * epg.el: Use lexical binding.
20535
20536 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20537
20538 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20539
20540 * textmodes/flyspell.el (flyspell-word): Recognize default
20541 dictionary case for flyspell-mark-duplications-exceptions.
20542 Use regexp matching for languages.
20543 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20544 default dictionary (Bug#7926).
20545
20546 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20547
20548 * emacs-lisp/package.el (package--with-work-buffer):
20549 Recognize https URLs.
20550
20551 * net/network-stream.el: Move from gnus/proto-stream.el.
20552 Change prefix to network-stream throughout.
20553 (open-protocol-stream): Merge into open-network-stream, leaving
20554 open-protocol-stream as an alias. Handle nil BUFFER args.
20555
20556 * subr.el (open-network-stream): Move to net/network-stream.el.
20557
20558 2011-04-02 Glenn Morris <rgm@gnu.org>
20559
20560 * find-dired.el (find-exec-terminator): New option.
20561 (find-ls-option): Test for -ls support.
20562 (find-ls-subdir-switches): Test for -b in find-ls-option.
20563 (find-dired, find-grep-dired): Doc fixes.
20564 (find-dired): Use find-exec-terminator.
20565
20566 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20567 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20568 (find-name-arg): Remove purecopy.
20569
20570 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20571 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20572 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20573 accordingly. Don't add the null-device if not needed.
20574
20575 * files.el (save-some-buffers): Doc fix.
20576
20577 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20578
20579 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20580
20581 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20582
20583 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20584 Use `dolist' rather than `mapcar'.
20585
20586 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20587
20588 Add lexical binding.
20589
20590 * subr.el (apply-partially): Use new closures rather than CL.
20591 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20592 (dolist, dotimes): Use slightly different expansion for lexical code.
20593 (functionp): Move to C.
20594 (letrec): New macro.
20595 (with-wrapper-hook): Use it and apply-partially instead of CL.
20596 (eval-after-load): Preserve lexical-binding.
20597 (save-window-excursion, with-output-to-temp-buffer): Turn them
20598 into macros.
20599
20600 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20601
20602 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20603 than the arglist.
20604 (help-add-fundoc-usage): Don't add `Not documented'.
20605 (help-function-arglist): Handle closures, subroutines, and new
20606 byte-code-functions.
20607 (help-make-usage): Remove leading underscores.
20608 (describe-function-1): Handle closures.
20609 (describe-variable): Use special-variable-p for completion.
20610
20611 * files.el (lexical-binding): Declare safe.
20612
20613 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20614 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20615 (pcase): Add `let' pattern.
20616 Change memoization so it actually works.
20617 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20618 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20619 <let>: New case.
20620
20621 * emacs-lisp/macroexp.el: Use lexical binding.
20622 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20623 Don't convert ' to #' without checking that it's indeed quoting
20624 a lambda.
20625
20626 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20627 Use eval-sexp-add-defvars.
20628 (eval-sexp-add-defvars): New fun.
20629
20630 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20631
20632 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20633 Don't autoload.
20634 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20635 than the internal `byte-compile-lambda'.
20636 (defmethod): Don't hide code under quotes.
20637 (eieio-defmethod): New `code' argument.
20638
20639 * emacs-lisp/eieio-comp.el: Remove.
20640
20641 * emacs-lisp/edebug.el (edebug-eval-defun)
20642 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20643 (edebug-toggle): Avoid `eval'.
20644
20645 * emacs-lisp/disass.el (disassemble-internal): Handle new
20646 `closure' objects.
20647 (disassemble-1): Handle new byte codes.
20648
20649 * emacs-lisp/cl.el (pushnew): Silence warning.
20650
20651 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20652 (cl-byte-compile-throw): Remove.
20653 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20654
20655 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20656 closures.
20657
20658 * emacs-lisp/cconv.el: New file.
20659
20660 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20661 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20662 (byte-compile-initial-macro-environment):
20663 Handle declare-function here.
20664 (byte-compile--lexical-environment): New var.
20665 (byte-stack-ref, byte-stack-set, byte-discardN)
20666 (byte-discardN-preserve-tos): New lap codes.
20667 (byte-interactive-p): Don't use any more.
20668 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20669 New macros.
20670 (byte-compile-lapcode): Use them and handle new lap codes.
20671 (byte-compile-obsolete): Remove.
20672 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20673 (byte-compile-arglist-warn): Check late def of inlinable funs.
20674 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20675 since they should have been expanded by now.
20676 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20677 (byte-compile-from-buffer): Remove unused second arg.
20678 (byte-compile-preprocess): New function.
20679 (byte-compile-toplevel-file-form): New function to distinguish
20680 file-form calls from outside from file-form calls from hunk-handlers.
20681 (byte-compile-file-form): Simplify.
20682 (byte-compile-file-form-defsubst): Remove.
20683 (byte-compile-file-form-defmumble): Simplify now that
20684 byte-compile-lambda always returns a byte-code-function.
20685 (byte-compile): Preprocess.
20686 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20687 Remove, not used any more.
20688 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20689 (byte-compile-make-args-desc): New funs.
20690 (byte-compile-lambda): Handle lexical functions. Always return
20691 a byte-code-function.
20692 (byte-compile-reserved-constants): New var, to make up room for
20693 closed-over variables.
20694 (byte-compile-constants-vector): Obey it.
20695 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20696 (byte-compile-macroexpand-declare-function): New function.
20697 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20698 byte-code-functions.
20699 (byte-compile-form): Check obsolescence here.
20700 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20701 (byte-compile-variable-ref): Remove.
20702 (byte-compile-dynamic-variable-op): New fun.
20703 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20704 (byte-compile-variable-set): New funs.
20705 (byte-compile-discard): Add 2 args.
20706 (byte-compile-stack-ref, byte-compile-stack-set)
20707 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20708 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20709 macroexpand-all instead.
20710 (byte-compile-quote-form): Remove.
20711 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20712 (byte-compile-bind, byte-compile-unbind): New funs.
20713 (byte-compile-let): Handle let* and lexical binding.
20714 (byte-compile-let*): Remove.
20715 (byte-compile-catch, byte-compile-unwind-protect)
20716 (byte-compile-track-mouse, byte-compile-condition-case):
20717 Handle a new :fun-body form, used for lexical scoping.
20718 (byte-compile-save-window-excursion)
20719 (byte-compile-with-output-to-temp-buffer): Remove.
20720 (byte-compile-defun): Simplify.
20721 (byte-compile-stack-adjustment): New fun.
20722 (byte-compile-out): Use it.
20723 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20724
20725 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20726 handler any more.
20727
20728 * emacs-lisp/byte-opt.el: Use lexical binding.
20729 (byte-inline-lapcode): Remove (to bytecomp).
20730 (byte-compile-inline-expand): Pay attention to inlining to/from
20731 lexically bound code.
20732 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20733 any more.
20734 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20735 any more and don't call compiler-macros.
20736 (byte-compile-splice-in-already-compiled-code): Remove.
20737 (byte-code): Don't inline any more.
20738 (disassemble-offset): Receive `bytes' as argument rather than via
20739 dynamic scoping.
20740 (byte-compile-tag-number): Declare before first use.
20741 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20742 `return' even if make-spliceable.
20743 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20744 obsolete interactive-p.
20745 (byte-optimize-lapcode): Optimize new lap-codes.
20746 Don't trip up on new form of `byte-constant' lap code.
20747
20748 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20749
20750 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20751
20752 * custom.el (custom-initialize-default, custom-declare-variable):
20753 Use `defvar'.
20754
20755 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20756 New variables.
20757 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20758 (COMPILE_FIRST): Add macroexp and cconv.
20759 * makefile.w32-in: Mirror changes in Makefile.in.
20760
20761 * vc/cvs-status.el:
20762 * vc/diff-mode.el:
20763 * vc/log-edit.el:
20764 * vc/log-view.el:
20765 * vc/smerge-mode.el:
20766 * textmodes/bibtex-style.el:
20767 * textmodes/css-mode.el:
20768 * startup.el:
20769 * uniquify.el:
20770 * minibuffer.el:
20771 * newcomment.el:
20772 * reveal.el:
20773 * server.el:
20774 * mpc.el:
20775 * emacs-lisp/smie.el:
20776 * doc-view.el:
20777 * dired.el:
20778 * abbrev.el: Use lexical binding.
20779
20780 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20781
20782 * info.el (info-display-manual): New function.
20783
20784 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20785
20786 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20787
20788 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20789
20790 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20791 an entry for that server in rcirc-authinfo. (Bug#8385)
20792
20793 2011-03-31 Glenn Morris <rgm@gnu.org>
20794
20795 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20796
20797 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20798
20799 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20800
20801 * progmodes/python.el (python-default-interpreter)
20802 (python-python-command-args, python-jython-command-args)
20803 (python-which-shell, python-which-args, python-which-bufname)
20804 (python-file-queue, python-comint-output-filter-function)
20805 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20806 variables and functions.
20807
20808 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20809
20810 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20811 (completion-in-region-mode): New minor mode.
20812 (completion-in-region): Use it.
20813 (completion-in-region--data, completion-in-region-mode-map): New vars.
20814 (completion-in-region--postch): New function.
20815 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20816 New vars.
20817 (completion--capf-wrapper): New function.
20818 (completion-at-point): Use it to track well-behavedness of
20819 hook functions.
20820 (completion-help-at-point): New command.
20821
20822 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20823
20824 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20825 syntax class to search for whitespace on a single line
20826 (Message-ID: <4D938140.4030905@redhat.com>).
20827
20828 2011-03-30 Leo Liu <sdl.web@gmail.com>
20829
20830 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20831 New commands.
20832 (edit-abbrevs-map): Bind them here.
20833 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20834
20835 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20836
20837 * allout.el (allout-hide-by-annotation, allout-flag-region):
20838 Reduce possibility of overlay leakage by making them volatile.
20839
20840 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20841 hash is not shared between buffers. Mode initialization is
20842 responsible for giving it a useful starting value.
20843 (allout-item-span): Reduce possibility of overlay leakage by
20844 making them volatile.
20845 (allout-widgets-count-buttons-in-region): Add diagnostic function
20846 for tracking down button overlay leaks.
20847
20848 2011-03-29 Leo Liu <sdl.web@gmail.com>
20849
20850 * ido.el (ido-read-internal): Use the default history var
20851 minibuffer-history if no HISTORY is specified.
20852
20853 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20854
20855 * net/imap.el (imap-shell-open, imap-process-connection-type):
20856 Use imap-process-connection-type for 'shell' streams as well as
20857 Kerberos, SSL, other subprocesses.
20858
20859 2011-03-28 Leo Liu <sdl.web@gmail.com>
20860
20861 * abbrev.el (abbrev-table-empty-p): New function.
20862 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20863 nonempty ones. (Bug#5937)
20864
20865 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20866
20867 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20868
20869 2011-03-27 Leo Liu <sdl.web@gmail.com>
20870
20871 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20872 for foreground and background colors.
20873 (ansi-color-make-color-map): Adapt.
20874
20875 2011-03-25 Leo Liu <sdl.web@gmail.com>
20876
20877 * midnight.el (midnight-time-float): Remove. Note it calculates
20878 the microsecond component incorrectly and seconds-to-time does the
20879 same job.
20880 Remove redundant (require 'timer).
20881
20882 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20883 (ido-completions): Remove unused arguments. (Bug#8329)
20884
20885 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20886
20887 * minibuffer.el (completion--flush-all-sorted-completions):
20888 Remove itself from hook.
20889 (completion-at-point): Let the functions perform the completion
20890 immediately and return nil or t.
20891 * comint.el (comint-dynamic-complete-functions): Now identical to
20892 completion-at-point-functions.
20893 (comint-dynamic-list-input-ring): Remove unused var `index'.
20894 (comint--match-partial-filename, comint--unquote&expand-filename):
20895 New funs, split from comint-match-partial-filename.
20896 (comint-dynamic-complete): Use completion-at-point.
20897 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20898
20899 2011-03-24 Drew Adams <drew.adams@oracle.com>
20900
20901 * thingatpt.el: Support `defun'.
20902
20903 2011-03-23 Leo Liu <sdl.web@gmail.com>
20904
20905 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20906
20907 * help-mode.el (help-mode-finish): Tweak regexp.
20908
20909 2011-03-23 Glenn Morris <rgm@gnu.org>
20910
20911 * eshell/esh-opt.el (eshell-eval-using-options):
20912 Do not bind unused local variable `eshell-option-stub'.
20913
20914 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20915
20916 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20917
20918 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20919 keymap variable in `with-no-warnings' to avoid a warning when the
20920 keymap has been already `defconst'ed.
20921
20922 2011-03-22 Leo Liu <sdl.web@gmail.com>
20923
20924 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20925 encode all chars in abbrevs; otherwise use emacs-mule or
20926 utf-8-emacs. (Bug#8308)
20927
20928 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20929
20930 * simple.el (backward-delete-char-untabify):
20931 Avoid warning about using `delete-backward-char'.
20932
20933 * image.el (image-type-file-name-regexps): Make it variable.
20934 `imagemagick-register-types' modifies it, and the user may want
20935 to add new extensions for known image types.
20936 (imagemagick-register-types): Throw error if not using ImageMagick.
20937
20938 2011-03-22 Leo Liu <sdl.web@gmail.com>
20939
20940 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20941 located before rcirc-prompt-end-marker.
20942 (rcirc-complete): Error if point is not after rcirc prompt.
20943 Handle the case when table is nil.
20944 (rcirc-user-authenticated): Define to fix compiler warning.
20945
20946 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20947
20948 * custom.el (custom--inhibit-theme-enable): Make it affect only
20949 custom-theme-set-variables and custom-theme-set-faces.
20950 (provide-theme): Ignore custom--inhibit-theme-enable.
20951 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20952 (custom-enabling-themes): Delete variable.
20953 (enable-theme): Accept only loaded themes as arguments.
20954 Ignore the special custom-enabled-themes variable.
20955 (custom-enabled-themes): Forbid themes from setting this.
20956 Eliminate use of custom-enabling-themes.
20957 (custom-push-theme): Quote "changed" custom var entry.
20958
20959 2011-03-21 Leo Liu <sdl.web@gmail.com>
20960
20961 * ido.el (ido-read-internal): Add ido-selected to history instead
20962 of user input.
20963
20964 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20965
20966 * subr.el (deferred-action-list, deferred-action-function):
20967 Mark obsolete.
20968
20969 2011-03-21 Leo Liu <sdl.web@gmail.com>
20970
20971 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20972 change on 2011-02-13 (bug#8309).
20973
20974 * minibuffer.el (read-file-name-function): Change default value.
20975 (read-file-name--defaults): Rename from read-file-name-defaults.
20976 (read-file-name-default): Rename from read-file-name.
20977 (read-file-name): Call read-file-name-function.
20978
20979 2011-03-21 Glenn Morris <rgm@gnu.org>
20980
20981 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20982 Doc fixes.
20983
20984 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20985
20986 * cus-theme.el: Add missing provide statement.
20987 (customize-create-theme): Extract theme value correctly.
20988 (custom-theme-visit-theme): Autoload.
20989 (customize-create-theme): Prompt before inserting default faces.
20990
20991 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20992
20993 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20994 units and musical notes.
20995
20996 2011-03-20 Leo Liu <sdl.web@gmail.com>
20997
20998 * ido.el (ido-read-internal): Use completing-read-default.
20999 (ido-completing-read): Fix compatibility with completing-read.
21000
21001 2011-03-20 Christian Ohler <ohler@gnu.org>
21002
21003 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21004 (ert-delete-all-tests): Use `called-interactively-p' rather than
21005 `interactive-p'.
21006 (ert--make-xrefs-region): Respect END.
21007
21008 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21009
21010 * dired-aux.el (dired-create-directory): Signal an error if the
21011 directory already exists (Bug#8246).
21012
21013 * facemenu.el (list-colors-display): Call list-faces-display
21014 inside with-help-window.
21015 (list-colors-print): Use display property to align the final
21016 column, instead of checking window-width.
21017
21018 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21019
21020 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21021 windows-nt systems.
21022 (emerge-protect-metachars): Quote correctly for ms-dos and
21023 windows-nt systems.
21024
21025 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21026
21027 * info.el (info-initialize): Replace all uses of `:' with
21028 path-separator for compatibility with non-Unix systems.
21029 Cache quoting of path-separator. (Bug#8258)
21030
21031 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21032
21033 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21034 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21035 (mouse-avoidance-mode): Fix typos in docstrings.
21036
21037 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21038
21039 * startup.el (package-subdirectory-regexp): Move from package.el.
21040 Omit \\` and \\', and let callers add them.
21041
21042 * emacs-lisp/package.el (package-strip-version)
21043 (package-load-all-descriptors): Add \\` and \\' to
21044 package-subdirectory-regexp before using it.
21045 (package-untar-buffer): New arg DIR; ensure that file untars only
21046 into this expected directory. Remove superfluous delete-region.
21047 (package-unpack): Caller changed.
21048 (package-tar-file-info): Use package-subdirectory-regexp.
21049
21050 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21051
21052 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21053 diff-mode-shared-map (bug#8284).
21054 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21055
21056 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21057
21058 * calendar/time-date.el (format-seconds): Use assoc instead of
21059 assoc-string, since assoc-string doesn't exist in XEmacs.
21060
21061 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21062
21063 * custom.el (custom-known-themes): Reflow docstring.
21064 (custom-theme-load-path): Fix typo in docstring.
21065 (load-theme): Fix typo in error message.
21066 (custom-available-themes, custom-variable-theme-value):
21067 Use `let', not `let*'.
21068
21069 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21070
21071 * calc/README: Mention inclusion of musical notes.
21072
21073 * calc/calc-units.el (calc-lu-quant): Rename from
21074 `calc-logunits-quantity'.
21075 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21076 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21077 (calc-db): Rename from `calc-dblevel'.
21078 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21079 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21080 (calc-np): Rename from `calc-nplevel'.
21081 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21082 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21083 (calc-lu-plus): Rename from `calc-logunits-add'.
21084 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21085 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21086 (calc-lu-minus): Rename from `calc-logunits-sub'.
21087 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21088 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21089 (calc-lu-times): Rename from `calc-logunits-mul'.
21090 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21091 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21092 (calc-lu-divide): Rename from `calc-logunits-div'.
21093 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21094 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21095
21096 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21097 functions being autoloaded.
21098
21099 * calc/calc.el (calc-lu-power-reference): Rename from
21100 `calc-logunits-power-reference'.
21101 (calc-lu-field-reference): Rename from
21102 `calc-logunits-field-reference'.
21103
21104 * calc/calc-help.el (calc-l-prefix-help):
21105 Mention musical note functions.
21106
21107 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21108
21109 * minibuffer.el (completion-all-sorted-completions):
21110 Use :completion-cycle-penalty text property if present.
21111
21112 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21113
21114 * allout.el (allout-yank-processing): Adjust for new rebulleting
21115 regime so bullet being yanked is used without prompting the user
21116 for a choice.
21117
21118 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21119
21120 * startup.el (command-line): Warn the user that _emacs is deprecated.
21121
21122 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21123
21124 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21125 (delphi-verbose, delphi-comment-face, delphi-string-face)
21126 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21127 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21128 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21129 (delphi-new-comment-line, delphi-font-lock-defaults)
21130 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21131 Fix typos in docstrings.
21132
21133 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21134
21135 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21136 Invert the roles of character and string values for INSTEAD, so a
21137 string is used for the more common case of a defaulting prompt.
21138
21139 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21140
21141 * progmodes/ruby-mode.el (ruby-backward-sexp):
21142 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21143 * play/gamegrid.el (gamegrid-make-face):
21144 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21145 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21146 * notifications.el (notifications-notify):
21147 * net/xesam.el (xesam-search-engines):
21148 * net/quickurl.el (quickurl-list-insert):
21149 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21150
21151 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21152
21153 * startup.el (command-line): Update package subdirectory regexp.
21154
21155 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21156
21157 * allout.el (allout-abbreviate-flattened-numbering)
21158 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21159
21160 * subr.el (read-char-choice): Only show the cursor after the prompt,
21161 not after the answer.
21162
21163 2011-03-15 Kevin Ryde <user42@zip.com.au>
21164
21165 * help-fns.el (variable-at-point): Skip leading quotes, if any
21166 (bug#8253).
21167
21168 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21169
21170 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21171 warning message.
21172
21173 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21174
21175 * shell.el (shell): When called interactively, offer to change the
21176 shell file name on remote hosts.
21177
21178 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21179
21180 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21181 integration for LDAP parameters. The host, base, user or binddn,
21182 and secret tokens can be specified in a netrc file, for instance.
21183 This is optional because an `auth-source' parameter must be
21184 specified in the search attributes.
21185
21186 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21187
21188 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21189
21190 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21191
21192 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21193 into declaration. Remove redundant and harmful binding.
21194
21195 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21196
21197 * files.el (file-ownership-preserved-p): Pass `integer' as an
21198 explicit 2nd argument to `file-attributes'. If the file's owner
21199 is the Administrators group on Windows, and the current user is
21200 Administrator, consider that a match.
21201
21202 * server.el (server-ensure-safe-dir): Consider server directory
21203 safe on MS-Windows if its owner is the Administrators group while
21204 the current Emacs user is Administrator. Use `=' to compare
21205 numerical UIDs, since they could be integers or floats.
21206
21207 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21208
21209 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21210
21211 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21212
21213 Sync with Tramp 2.2.1.
21214
21215 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21216
21217 * net/trampver.el: Update release number.
21218
21219 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21220
21221 * progmodes/compile.el (compilation--previous-directory): Fix up
21222 various nil/dead-marker mismatches (bug#8014).
21223 (compilation-directory-properties, compilation-error-properties):
21224 Don't call it at a position past the one we're about to change.
21225
21226 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21227 Disable obsolescence warnings in the file that declares it.
21228
21229 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21230
21231 * allout-widgets.el (allout-widgets-tally):
21232 Initialize allout-widgets-tally as a hash table rather than nil to
21233 prevent mode-line redisplay warnings. Also, clarify the module
21234 description and fix a comment typo.
21235
21236 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21237
21238 * help-fns.el (describe-variable): Don't complete keywords.
21239 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21240
21241 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21242
21243 * emacs-lisp/package.el (package-version-join): Impose a standard
21244 string representation for pre/alpha/beta version lists.
21245 (package-unpack-single): Standardize the directory name by passing
21246 it through package-version-join.
21247 (package-strip-rcs-id): Accept any version string that does not
21248 signal an error in version-to-list.
21249
21250 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21251
21252 * simple.el (delete-trailing-whitespace): Return nil for the
21253 benefit of `write-file-functions'.
21254
21255 2011-03-10 Glenn Morris <rgm@gnu.org>
21256
21257 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21258
21259 * vc/vc-git.el (vc-git-program): New option.
21260 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21261 (vc-git--call): Use it.
21262
21263 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21264
21265 * cus-edit.el (Custom-newline): If no button at point, look
21266 for a subgroup button at start-of-line. (Bug#2298)
21267
21268 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21269
21270 2011-03-10 Julien Danjou <julien@danjou.info>
21271
21272 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21273 `cursor-type' is nil.
21274
21275 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21276
21277 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21278
21279 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21280
21281 * allout.el: Change so yank of distinctive-bullet items
21282 preserves the existing header prefix, rebulleting it if necessary,
21283 rather than replacing it. This is necessary for proper operation
21284 of cooperative addons like allout-widgets.
21285 (allout-make-topic-prefix, allout-rebullet-heading):
21286 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21287 value as alternate bullet to be used, instead of prompting the user
21288 for a bullet character.
21289
21290 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21291
21292 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21293 Do not use `tramp-file-name-port', because this returns also
21294 `tramp-default-port'.
21295
21296 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21297
21298 * net/rcirc.el (rcirc-handler-001): Remove useless
21299 with-rcirc-process-buffer.
21300 (rcirc-check-auth-status): Swap arguments to string-match.
21301
21302 2011-03-09 Glenn Morris <rgm@gnu.org>
21303
21304 * shell.el (shell-mode):
21305 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21306
21307 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21308 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21309
21310 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21311
21312 * emacs-lisp/package.el (package-refresh-contents)
21313 (package-menu-execute): Use condition-case-no-debug.
21314
21315 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21316
21317 * simple.el (shell-command-to-string): Use `process-file'.
21318
21319 * emacs-lisp/package.el (package-tar-file-info): Handle also
21320 remote files.
21321
21322 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21323 Use `equal' for upload base check.
21324
21325 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21326
21327 * textmodes/texinfo.el (texinfo-environments):
21328 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21329
21330 2011-03-08 Glenn Morris <rgm@gnu.org>
21331
21332 * cus-start.el (cursor-in-non-selected-windows):
21333 Fix :set quoting oddness. (Bug#8192)
21334
21335 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21336 in some setf expressions. (Bug#2159)
21337
21338 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21339
21340 * custom.el (custom-available-themes): Return themes in
21341 alphabetical order.
21342
21343 See ChangeLog.15 for earlier changes.
21344
21345 ;; Local Variables:
21346 ;; coding: utf-8
21347 ;; End:
21348
21349 Copyright (C) 2011-2012 Free Software Foundation, Inc.
21350
21351 This file is part of GNU Emacs.
21352
21353 GNU Emacs is free software: you can redistribute it and/or modify
21354 it under the terms of the GNU General Public License as published by
21355 the Free Software Foundation, either version 3 of the License, or
21356 (at your option) any later version.
21357
21358 GNU Emacs is distributed in the hope that it will be useful,
21359 but WITHOUT ANY WARRANTY; without even the implied warranty of
21360 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21361 GNU General Public License for more details.
21362
21363 You should have received a copy of the GNU General Public License
21364 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.