a35b537bdb1e315febd592ff45c17a9a280f120d
[bpt/emacs.git] / lisp / ChangeLog
1 2013-01-09 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/trace.el (trace-function, trace-function-background):
4 Doc fix.
5
6 2013-01-09 Juri Linkov <juri@jurta.org>
7
8 * international/mule-cmds.el (read-char-by-name): Move let-binding
9 of completion-ignore-case around completing-read to fix regression
10 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
11 `string-match-p' using the nil value of `case-fold-search' and
12 `completion-ignore-case' in `completion-pcm--all-completions'.
13 (Bug#12615).
14
15 2013-01-07 Glenn Morris <rgm@gnu.org>
16
17 * progmodes/compile.el (compilation-parse-errors):
18 Fix typo. (Bug#13369)
19
20 2013-01-07 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
21
22 * comint.el (comint-send-input): Check size of buffer before
23 waiting for process output, in case already accepted. (Bug#13290)
24
25 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
26
27 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
28 non-negative integers. Otherwise, the default values are used.
29 (tramp-convert-file-attributes): Convert uid and gid to integers.
30
31 2013-01-03 Glenn Morris <rgm@gnu.org>
32
33 * term.el (term-handle-colors-array): Ensure face attributes
34 are fully specified, not nil. (Bug#13337)
35
36 * term.el (term-default-fg-color, term-default-bg-color):
37 Fix custom type.
38
39 * progmodes/etags.el (tags-compression-info-list): Doc fix.
40 (tag-find-file-of-tag-noselect): Check auto-compression-mode
41 rather than 'jka-compr being loaded. (Bug#13338)
42
43 * subr.el (eval-after-load): Don't purecopy the form, so that it
44 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
45
46 * emacs-lisp/byte-run.el (defun): Place cl declarations
47 after any interactive spec. (Bug#13265)
48
49 2012-12-31 Andreas Schwab <schwab@linux-m68k.org>
50
51 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
52 defun. Don't check for DECL if DOCSTRING isn't a string.
53 (defun): Likewise.
54
55 2012-12-31 Glenn Morris <rgm@gnu.org>
56
57 * eshell/em-cmpl.el (eshell-pcomplete):
58 More thoroughly imitate pcomplete. (Bug#13293)
59
60 * files.el (parse-colon-path): Doc fix. (Bug#12351)
61 Return nil for empty path elements. (Bug#13296)
62
63 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
64
65 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
66 order to improve efficiency (Based on Daniel Colascione's
67 <dancol@dancol.org> patch). (Bug#13182)
68
69 2012-12-31 Glenn Morris <rgm@gnu.org>
70
71 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
72
73 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
74
75 * progmodes/python.el: Support other commands triggering
76 python-indent-line so indentation cycling continues to work.
77 (python-indent-trigger-commands): New defcustom.
78 (python-indent-line): Use it.
79
80 2012-12-31 Fabián Ezequiel Gallina <fgallina@cuca>
81
82 * progmodes/python.el (python-shell-send-region): Add blank lines
83 for non sent code so backtraces remain correct.
84
85 2012-12-31 Andreas Schwab <schwab@linux-m68k.org>
86
87 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
88 neither DOCSTRING nor DECL was given. (Bug#13316)
89
90 2012-12-30 Glenn Morris <rgm@gnu.org>
91
92 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
93 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
94 (rmail-summary-displayed, rmail-summary): Declare.
95 (mairix-rmail-display): Just require rmail.
96
97 2012-12-29 Chong Yidong <cyd@gnu.org>
98
99 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
100 check for the tarball contents.
101
102 2012-12-29 Matt Fidler <matt.fidler@alcon.com> (tiny change)
103
104 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
105 tarfile content listings (Bug#13136).
106
107 2012-12-29 Mark Lillibridge <mark.lillibridge@hp.com>
108
109 * mail/rmailmm.el (rmail-insert-mime-forwarded-message): Insert
110 the undecoded text of the message being forwarded. (Bug#9521)
111
112 2012-12-28 Michael Albinus <michael.albinus@gmx.de>
113
114 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
115 integers, if they are real numbers. (Bug#13282)
116
117 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
118
119 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
120 "module" and "def" to have indentation before them. Regression
121 from 109911 (see the new test).
122
123 2012-12-24 Dmitry Gutov <dgutov@yandex.ru>
124
125 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
126
127 2012-12-23 Alan Mackenzie <acm@muc.de>
128
129 Speed up fontification where there's large brace blocks.
130 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
131 to a call of c-beginning-of-decl-1.
132
133 2012-12-21 Chong Yidong <cyd@gnu.org>
134
135 * sort.el (sort-subr): Doc fix (Bug#13056).
136
137 2012-12-20 Bastien Guerry <bzg@gnu.org>
138
139 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
140
141 2012-12-11 Alan Mackenzie <acm@muc.de>
142
143 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
144 * progmodes/cc-engine.el (c-backward-comments): Add code to work
145 around `forward-comment' not recognizing ^M as whitespace.
146
147 2012-12-11 Fabián Ezequiel Gallina <fgallina@cuca>
148
149 * progmodes/python.el (python-skeleton-class)
150 (python-skeleton-def): Do not add space after defun name.
151
152 2012-12-09 Chong Yidong <cyd@gnu.org>
153
154 * simple.el (set-mark-default-inactive): Mark as obsolete, for
155 removal after 24.3.
156
157 2012-12-08 Dani Moncayo <dmoncayo@gmail.com>
158
159 * simple.el (just-one-space): Doc fix.
160
161 2012-12-07 Eli Zaretskii <eliz@gnu.org>
162
163 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add
164 "smallexample".
165
166 2012-12-07 Le Wang <l26wang@gmail.com>
167
168 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
169 narrowed buffer (bug#12361).
170
171 2012-12-07 Michael Heerdegen <michael_heerdegen@web.de>
172
173 * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025).
174 Virtually backported from trunk.
175
176 2012-12-07 Juanma Barranquero <lekktu@gmail.com>
177
178 * vc/vc-hooks.el (vc-state): Doc fix.
179
180 2012-12-06 Glenn Morris <rgm@gnu.org>
181
182 * mail/rmail.el (rmail-maybe-display-summary):
183 Preserve buffer, in case select-window changes it. (Bug#13066)
184
185 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
186
187 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
188 cl-load-hook where they belong.
189
190 2012-12-06 Chong Yidong <cyd@gnu.org>
191
192 * ffap.el (ffap-replace-file-component): Fix typo.
193
194 2012-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
195
196 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
197 fix open-paren-like token test (bug#12785).
198
199 2012-12-04 Glenn Morris <rgm@gnu.org>
200
201 * mail/rmailsum.el (rmail-new-summary): Tweak for
202 rmail-maybe-display-summary changing buffer. (Bug#13066)
203
204 2012-12-03 Juri Linkov <juri@jurta.org>
205
206 * info.el (Info-fontify-node): Don't hide the last newline.
207 (Bug#12272)
208
209 2012-12-01 Leo Liu <sdl.web@gmail.com>
210
211 * files.el (dir-locals-read-from-file): Check file non-empty
212 before reading. (Bug#13038)
213
214 2012-11-28 Glenn Morris <rgm@gnu.org>
215
216 * jka-cmpr-hook.el (jka-compr-get-compression-info):
217 Remove any version extension before checking filename. (Bug#13006)
218 (jka-compr-compression-info-list): Belated :version bump.
219
220 2012-11-28 Chong Yidong <cyd@gnu.org>
221
222 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
223
224 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
225 (buffer-menu): Doc fix (Bug#12294).
226
227 2012-11-27 Roland Winkler <winkler@gnu.org>
228
229 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
230 of diary-show-all-entries in the diary buffer (Bug#12994).
231
232 2012-11-27 Michael Albinus <michael.albinus@gmx.de>
233
234 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
235 "<STDIN>". This is binary safe.
236
237 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
238
239 * textmodes/table.el (table-insert): Don't use `symbol-name' on
240 lexically scoped variables (bug#13005).
241
242 2012-11-26 Glenn Morris <rgm@gnu.org>
243
244 * vc/vc-hooks.el (vc-mistrust-permissions):
245 Default to t, to avoid data-loss. (Bug#11490)
246
247 2012-11-26 Fabián Ezequiel Gallina <fgallina@cuca>
248
249 * progmodes/python.el (python-indent-guess-indent-offset):
250 If indentation is guessed make python-indent-offset buffer-local.
251
252 Fix Imenu regression.
253 * progmodes/python.el (python-nav-beginning-of-defun):
254 Fix forward movement when statement(s) separates point from defun.
255 (python-imenu-prev-index-position): New function.
256
257 2012-11-26 Eli Zaretskii <eliz@gnu.org>
258
259 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
260
261 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
262 Don't set buffer-file-type. Return nil. (Bug#12989)
263
264 2012-11-26 Glenn Morris <rgm@gnu.org>
265
266 * hippie-exp.el (hippie-expand-try-functions-list):
267 Re-autoload it. (Bug#12982)
268
269 2012-11-25 Eli Zaretskii <eliz@gnu.org>
270
271 * descr-text.el (describe-char-padded-string):
272 Call internal-char-font only on GUI frames. (Bug#11964)
273
274 2012-11-24 Andreas Schwab <schwab@linux-m68k.org>
275
276 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
277 and obsoletion message.
278
279 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
282 the constructs to keep outside of the `cl-block' (bug#12977).
283
284 2012-11-24 Chong Yidong <cyd@gnu.org>
285
286 * mouse.el (mouse-drag-line): Even if the line is not draggable,
287 keep reading until we get the up-event anyway, in order to process
288 the up-event for mouse-1-click-follows-link (Bug#12971).
289
290 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
293 lexical-binding (bug#12938).
294
295 2012-11-23 Wolfgang Jenkner <wjenkner@inode.at>
296
297 * image-mode.el (image-transform-check-size): Use assertions only
298 for images of type imagemagick.
299
300 Otherwise no error, image-transform-fit-to-{width,height} is
301 silently ignored, as before. Doc fix.
302
303 2012-11-23 Chong Yidong <cyd@gnu.org>
304
305 * faces.el (color-defined-p): Doc fix (Bug#12853).
306
307 2012-11-23 Juri Linkov <juri@jurta.org>
308
309 * dired.el (dired-mark): Add optional arg `interactive'.
310 Check for `use-region-p' if `interactive' is non-nil.
311 (dired-unmark, dired-flag-file-deletion): Add optional arg
312 `interactive'. Call `dired-mark' with the arg `interactive'.
313 (Bug#10624)
314
315 2012-11-23 Juri Linkov <juri@jurta.org>
316
317 * wdired.el: Revert 2012-10-17 change partly and replace it with
318 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
319 (wdired-finish-edit): Add marks for new file names to
320 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
321 after `revert-buffer'.
322 (wdired-do-renames): Remove calls to `dired-remove-file',
323 `dired-add-file', `dired-add-entry'. (Bug#11795)
324
325 2012-11-21 Alan Mackenzie <acm@muc.de>
326
327 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
328
329 Fix bugs in the state cache. Enhance a debugging mechanism.
330 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
331 "brace at column zero" strategy for C++.
332 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
333 (c-parse-state-point): New variable.
334 (c-record-parse-state-state): Record old parse state with
335 `copy-tree'. Record previous value of point.
336 (c-debug-parse-state-double-cons): New debugging function.
337 (c-debug-parse-state): Call the above new function.
338 (c-toggle-parse-state-debug): Output a confirmatory message.
339
340 * progmodes/cc-mode.el (c-before-change, c-after-change):
341 Call c-invalidate-state-cache from `c-before-change' instead of
342 `c-after-change'.
343
344 2012-11-20 Daniel Colascione <dancol@dancol.org>
345
346 * term/w32-win.el (cygwin-convert-path-from-windows):
347 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
348 This change is a backport from trunk.
349
350 2012-11-20 Eli Zaretskii <eliz@gnu.org>
351
352 * simple.el (line-move): Don't call line-move-partial if
353 scroll-conservatively is in effect. (Bug#12927)
354
355 2012-11-20 Michael Albinus <michael.albinus@gmx.de>
356
357 * net/trampver.el (tramp-version): Downgrade to 2.2.6-24.3, in
358 order to distinguish from trunk.
359
360 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't accept
363 non-symbols for compiler macros (yet).
364
365 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
366 Fallback on completion-at-point rather than
367 pcomplete-expand-and-complete, and only if pcomplete actually failed.
368 (eshell-cmpl-initialize): Setup completion-at-point.
369
370 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
371
372 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
373
374 2012-11-19 Michael Albinus <michael.albinus@gmx.de>
375
376 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
377 are remote, check out-of-band property for both.
378
379 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * window.el (switch-to-buffer): Re-add the warning that was lost in the
382 code rewrite.
383
384 2012-11-18 Paul Eggert <eggert@cs.ucla.edu>
385
386 More minor time fixes.
387 * calendar/time-date.el: Commentary fix.
388 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
389 too much other code depends on (0 0) time stamps.
390 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
391 Add a couple of FIXME comments.
392
393 Minor cleanup for times as lists of four integers.
394 * files.el (dir-locals-directory-cache):
395 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
396 Doc fixes.
397 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
398 * ps-bdf.el (bdf-file-newer-than-time):
399 Process four-integers time stamps, not two. Doc fixes.
400
401 2012-11-18 Glenn Morris <rgm@gnu.org>
402
403 * image.el (insert-image, insert-sliced-image): Doc fix.
404
405 2012-11-17 Chong Yidong <cyd@gnu.org>
406
407 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
408 (Bug#12810).
409
410 2012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
411
412 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
413 response when the target file is in a subdirectory (Bug#12757).
414
415 2012-11-17 Chong Yidong <cyd@gnu.org>
416
417 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
418
419 2012-11-17 Glenn Morris <rgm@gnu.org>
420
421 * woman.el (woman-non-underline-faces):
422 * emacs-lisp/cl-lib.el (face-underline-p):
423 Use set-face-underline rather than the alias set-face-underline-p.
424
425 * window.el (with-temp-buffer-window): Doc fix.
426 * subr.el (with-output-to-temp-buffer):
427 Add doc xref to with-temp-buffer-window.
428
429 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * emacs-lisp/cl-lib.el: Set more meaningful version number.
432
433 2012-11-16 Martin Rudalics <rudalics@gmx.at>
434
435 * window.el (enlarge-window, shrink-window): Don't mention return
436 value in doc-string (Bug#12896).
437 (window--display-buffer): Don't resize frames - it won't work
438 with all window managers and defeat pop-up-frame-alist.
439 (display-buffer-alist): In doc-string explain that CONDITION can
440 be a function and which arguments are passed to it (Bug#12854).
441 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
442 expressions (Bug#12854).
443 (display-buffer): Pass ACTION argument to
444 display-buffer-assq-regexp.
445
446 2012-11-16 Glenn Morris <rgm@gnu.org>
447
448 * window.el (fit-frame-to-buffer-bottom-margin)
449 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
450
451 * faces.el (face-underline-p): Use face-attribute-specified-or.
452
453 2012-11-15 Juanma Barranquero <lekktu@gmail.com>
454
455 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
456
457 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
460
461 2012-11-15 Glenn Morris <rgm@gnu.org>
462
463 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
464 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
465
466 * faces.el (face-underline-p): Doc fix. Handle :underline being
467 things other than `t' (a string, a list).
468 (face-inverse-video-p): Doc fix.
469 (set-face-underline): Rename it back from set-face-underline-p.
470 Doc fix. Allow interactive input of values other than t.
471 (read-face-attribute): Apply formatting to :underline,
472 since like :box and :stipple it can take list values.
473
474 * term.el (ansi-term): Don't let C-x escape-char binding
475 clobber the more standard C-c binding. (Bug#12842)
476
477 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
480 (bug#12879).
481
482 2012-11-14 Glenn Morris <rgm@gnu.org>
483
484 * subr.el (set-temporary-overlay-map): Doc fix.
485
486 2012-11-13 Martin Rudalics <rudalics@gmx.at>
487
488 * window.el (record-window-buffer)
489 (display-buffer-record-window): When copying the markers to
490 window-point preserve window-point-insertion-type. (Bug#12588)
491
492 2012-11-13 Glenn Morris <rgm@gnu.org>
493
494 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
495 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
496 Use new names for hooks rather than obsolete aliases.
497
498 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
501
502 2012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
503
504 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
505 39 and 49. This fixes bug#12792. Also, treat unimplemented
506 parameters as 0, thereby restoring the behavior of revisions prior
507 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
508
509 2012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
510
511 Fix end-of-defun misbehavior.
512 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
513 python-beginning-of-defun-function. Handle nested defuns
514 correctly.
515 (python-nav-end-of-defun): Rename from
516 python-end-of-defun-function. Ensure forward movement.
517 (python-info-current-defun): Reimplement to work as intended
518 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
519 parent defuns as soon as possible.
520
521 2012-11-12 Glenn Morris <rgm@gnu.org>
522
523 * progmodes/flymake.el (flymake-error-bitmap)
524 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
525 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
526
527 2012-11-12 Dmitry Gutov <dgutov@yandex.ru>
528
529 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
530 backward, always stop at indentation. Reverts the change from
531 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
532
533 2012-11-11 Glenn Morris <rgm@gnu.org>
534
535 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
536 Add ibuffer-filter-by-derived-mode.
537
538 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
539 the same name shadowing each other.
540
541 * window.el (with-temp-buffer-window): Doc tweak.
542
543 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
544
545 * help.el (temp-buffer-max-height):
546 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
547 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
548
549 2012-11-10 Leo Liu <sdl.web@gmail.com>
550
551 * ido.el (ido-set-matches-1): Fix split-string args to avoid
552 performance issue. (Bug#12796)
553
554 2012-11-10 Glenn Morris <rgm@gnu.org>
555
556 * term.el (term-default-fg-color, term-default-bg-color):
557 Make obsolete, rather than just saying "deprecated" in the doc.
558
559 * term.el (term): Rename from `term-face'.
560 (term-current-face, ansi-term-color-vector)
561 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
562 Update all users.
563
564 2012-11-09 Jan Djärv <jan.h.d@swipnet.se>
565
566 * server.el (server-create-window-system-frame): Improve comment.
567
568 2012-11-08 Jan Djärv <jan.h.d@swipnet.se>
569
570 * server.el (server-create-window-system-frame): Handle Nextstep
571 specially (Bug#12780).
572
573 2012-11-08 Glenn Morris <rgm@gnu.org>
574
575 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
576 Unautoload, and make obsolete. (Bug#7449)
577
578 2012-11-08 Chong Yidong <cyd@gnu.org>
579
580 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
581 rename from diff-remove-trailing-whitespace (Bug#12831).
582
583 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
586 miscompilation of trace.el.
587
588 2012-11-08 Glenn Morris <rgm@gnu.org>
589
590 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
591
592 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
595 (bug#12812).
596
597 2012-11-07 Chong Yidong <cyd@gnu.org>
598
599 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
600 a defcustom with an appropriate :set function.
601 (minibuffer-default--in-prompt-regexps): New function.
602
603 2012-11-07 Glenn Morris <rgm@gnu.org>
604
605 * emacs-lisp/cl.el (define-setf-expander, defsetf)
606 (define-modify-macro): Doc fixes.
607
608 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
609 (gv-define-simple-setter): Update doc of `fix-return'.
610
611 2012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
614 twice when `fix-return' is set (bug#12813).
615
616 * emacs-lisp/cl.el (defsetf): Pass the third arg to
617 gv-define-simple-setter (bug#12812).
618
619 2012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
620
621 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
622 (bug#12756).
623
624 2012-11-06 Glenn Morris <rgm@gnu.org>
625
626 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
627
628 2012-11-05 Glenn Morris <rgm@gnu.org>
629
630 * emacs-lisp/cl-extra.el (cl-prettyexpand):
631 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
632 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
633 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
634
635 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
636
637 2012-11-03 Glenn Morris <rgm@gnu.org>
638
639 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
640 Rename handler properties back from cl-- to cl-. (Bug#12788)
641
642 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
643
644 2012-11-03 Eli Zaretskii <eliz@gnu.org>
645
646 * term/pc-win.el: Don't load term/internal from here.
647
648 * loadup.el: Load term/internal from here.
649
650 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
651
652 * progmodes/python.el (inferior-python-mode): Fix hang in
653 jit-lock (Bug#12645).
654
655 2012-11-03 Martin Rudalics <rudalics@gmx.at>
656
657 * window.el (switch-to-visible-buffer)
658 (switch-to-buffer-preserve-window-point): Fix doc-strings.
659
660 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
661
662 * play/gomoku.el (gomoku-display-statistics): Update mode line
663 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
664
665 2012-10-31 Martin Rudalics <rudalics@gmx.at>
666
667 * window.el (quit-restore-window): If the window has been
668 created on an existing frame and ended up as the sole window on
669 that frame, do not delete it (Bug#12764).
670
671 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * progmodes/sh-script.el (sh--inside-noncommand-expression):
674 Rename from sh--inside-arithmetic-expression, handle more cases
675 (bug#11263).
676
677 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
678 (sh-font-lock-open-heredoc): Use it (bug#12770).
679
680 2012-10-30 Glenn Morris <rgm@gnu.org>
681
682 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
683
684 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
685
686 2012-10-29 Chong Yidong <cyd@gnu.org>
687
688 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
689 function key is stored in a keyboard macro (Bug#4894).
690
691 * thingatpt.el (number-at-point): Apply a thing-at-point property.
692
693 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
696 header comments".
697 (diff-unified->context, diff-context->unified)
698 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
699
700 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
701
702 * files.el (find-alternate-file): Only ask one question (bug#12487).
703
704 2012-10-29 Chong Yidong <cyd@gnu.org>
705
706 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
707 Suggested by Dan Nicolaescu (Bug#6326).
708
709 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
710
711 * startup.el (fancy-about-screen): Don't message (Bug#12680).
712
713 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
714
715 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
716
717 * face-remap.el (face-remap-add-relative): Handle the case where a
718 face-remapping-alist entry is a cons cell (Bug#12762).
719
720 2012-10-29 Kevin Ryde <user42@zip.com.au>
721
722 * woman.el (woman-parse-numeric-value): Handle picas correctly
723 (Bug#12639).
724
725 2012-10-29 Glenn Morris <rgm@gnu.org>
726
727 * emacs-lisp/cl.el (defsetf): Doc fix.
728
729 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
732 syntax to the matching opener, if any (bug#12547).
733 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
734 matching open as a "case-(".
735 (sh-smie-rc-grammar): Add a corresponding rule for it.
736
737 2012-10-28 Daniel Hackney <dan@haxney.org>
738
739 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
740 "PKGNAME-autoloads.el" in case we created it.
741
742 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
745 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
746 (completion--twq-all): Disable too-strict assertions.
747
748 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
749
750 2012-10-27 Eli Zaretskii <eliz@gnu.org>
751
752 * profiler.el (profiler-report-make-entry-part): Fix help-echo
753 text to match the real keybindings.
754
755 2012-10-27 Juri Linkov <juri@jurta.org>
756
757 * wdired.el (wdired-keep-marker-rename): New defcustom.
758 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
759 (Bug#11795)
760
761 * dired.el (dired-keep-marker-rename): Add reference to
762 `wdired-keep-marker-rename' in the docstring.
763 Add default character value ?R to display initially in
764 Customization UI instead of ?@.
765
766 2012-10-27 Martin Rudalics <rudalics@gmx.at>
767
768 * window.el (display-buffer): In doc-string describe
769 window-height and window-width alist entries.
770
771 * time.el (display-time-world): Restore fit-window-to-buffer
772 behavior.
773
774 2012-10-27 Chong Yidong <cyd@gnu.org>
775
776 * subr.el (insert-buffer-substring-as-yank): Doc fix.
777
778 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
779
780 * minibuffer.el (completion-category-overrides): New completion
781 category `bookmark' (bug#11131).
782
783 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * emacs-lisp/advice.el (ad-assemble-advised-definition):
786 Silence bogus compiler warnings for ad-do-it.
787
788 * bookmark.el (bookmark-completing-read): Set the completion category
789 to `bookmark' (bug#11131).
790
791 2012-10-26 Bastien <bzg@altern.org>
792 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * face-remap.el: Use lexical-binding.
795 (text-scale-adjust): Improve docstring. Use itself for the temporary
796 overlay-map bindings, so as to repeat the "Use..." message each time.
797
798 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
799
800 * emacs-lisp/macroexp.el (macroexp--expand-all):
801 Obey byte-compile-warning-enabled-p (bug#12486).
802
803 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
804 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
805
806 2012-10-26 Martin Rudalics <rudalics@gmx.at>
807
808 * mouse.el (mouse-drag-line): Move last form into preceding when
809 clause (Bug#12731).
810
811 * help.el (resize-temp-buffer-window): Fix doc-string.
812
813 2012-10-25 David Engster <deng@randomsample.de>
814
815 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
816 Remove. This feature is already integrated in imenu.
817
818 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
819 always loaded. Require `speedbar' unconditionally.
820
821 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
824
825 * minibuffer.el (minibuffer-force-complete): Fix thinko.
826
827 * net/ldap.el (ldap-search-internal): The official ldif format starts
828 with a "version: 1" header (bug#12724).
829
830 * emacs-lisp/package.el (package-installed-p): Warn if not ready
831 (bug#12721).
832
833 2012-10-25 Glenn Morris <rgm@gnu.org>
834
835 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
836
837 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
838
839 * minibuffer.el (minibuffer-force-complete): Use one more marker
840 for the temporary-overlay-map command (bug#12619).
841
842 2012-10-24 Chong Yidong <cyd@gnu.org>
843
844 * time.el (display-time-world-mode): Derive from special-mode.
845 (display-time-world): Use display-buffer (Bug#12708).
846 (display-time-world-mode-map): Variable deleted.
847 (display-time-world-display): Wrap the final delete-char inside
848 inhibit-read-only.
849
850 2012-10-24 Chong Yidong <cyd@gnu.org>
851
852 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
853 Doc fix.
854
855 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
856
857 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * minibuffer.el (completion--all-sorted-completions-location): New var.
860 (completion--cache-all-sorted-completions)
861 (completion--flush-all-sorted-completions): Use it.
862 (completion-in-region, completion-in-region--postch)
863 (completion-at-point, completion-help-at-point): Use markers in
864 completion-in-region--data (bug#12619).
865
866 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * progmodes/compile.el (compilation-start): Try to handle common
869 quoting of `cd' argument (bug#12640).
870
871 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
872 (bug#12671).
873
874 2012-10-23 Glenn Morris <rgm@gnu.org>
875
876 * progmodes/gud.el (gud-menu-map):
877 Check gdb-active-process is bound. (Bug#12358)
878
879 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * repeat.el (repeat): Set real-this-command (bug#12232).
882
883 * htmlfontify.el (hfy-post-html-hook):
884 * filesets.el (filesets-cache-fill-content-hook):
885 * arc-mode.el (archive-extract-hook):
886 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
887 * net/rcirc.el (rcirc-sentinel-functions)
888 (rcirc-receive-message-functions, rcirc-activity-functions)
889 (rcirc-print-functions):
890 * net/dbus.el (dbus-event-error-functions):
891 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
892 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
893 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
894 * term/sun.el (sun-raw-prefix-hooks):
895 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
896
897 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
898
899 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
900 Set `tramp-chunksize' to 1. This improves the performance.
901 (tramp-smb-wait-for-output): Add timeout to
902 `tramp-accept-process-output' calls.
903
904 2012-10-23 Chong Yidong <cyd@gnu.org>
905
906 * faces.el (font-list-limit): Define as an obsolete variable.
907
908 * startup.el (command-line):
909 * cus-start.el: Don't refer to font-list-limit.
910
911 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
912
913 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
914
915 * subr.el (internal-temp-output-buffer-show): Rename from
916 temp-output-buffer-show, since previously compiled files expect this name.
917
918 2012-10-23 Glenn Morris <rgm@gnu.org>
919
920 * image.el (image-type-from-file-name): If multiple types match,
921 return the first one that is supported. (Bug#9045)
922
923 2012-10-22 Glenn Morris <rgm@gnu.org>
924
925 * image.el (imagemagick-enabled-types): Doc fix.
926
927 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
928
929 * progmodes/which-func.el (which-func-current): The hash-table may have
930 an explicit nil (bug#12338).
931
932 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * electric.el (electric-pair-delete-selection-self-insert-function):
935 Rename to electric-pair-will-use-region, return a boolean.
936 (electric-pair-mode): Adjust accordingly. Don't require delsel.
937
938 * delsel.el (delete-selection-helper): Use a function instead of a hook.
939 (delete-selection-pre-hook): Use use-region-p.
940 (delete-selection-self-insert-function): Remove.
941 (self-insert-command): Obey self-insert-uses-region-functions.
942 (self-insert-iso): Revert to previous setting, since we don't actually
943 know what that command does.
944 (delete-selection-self-insert-hooks): Remove.
945
946 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
947
948 * delsel.el (delete-selection-helper): New function, extracted from
949 delete-selection-pre-hook.
950 (delete-selection-pre-hook): Use it.
951 (delete-selection-self-insert-function): New function.
952 (delete-selection-self-insert-hooks): New hook.
953 (self-insert-command, self-insert-iso): Use it.
954 * electric.el (electric-pair-syntax): New function, extracted from
955 electric-pair-post-self-insert-function.
956 (electric-pair-post-self-insert-function): Use it.
957 (electric-pair-delete-selection-self-insert-function): New function.
958 (electric-pair-mode): Require delsel and setup
959 delete-selection-self-insert-hooks (bug#11520).
960
961 2012-10-20 Chong Yidong <cyd@gnu.org>
962
963 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
964 no changes to show (Bug#12586).
965
966 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
967 list explicitly (Bug#12571).
968
969 2012-10-20 Arne Jørgensen <arne@arnested.dk>
970
971 * progmodes/flymake.el (flymake-create-temp-inplace):
972 Use file-truename.
973
974 2012-10-20 Eli Zaretskii <eliz@gnu.org>
975
976 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
977
978 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
979
980 * calc/calc-units.el (math-extract-units): Properly extract powers
981 of units.
982
983 2012-10-20 Daniel Colascione <dancol@dancol.org>
984
985 * frame.el (make-frame): Set x-display-name as we used to in order
986 to unbreak creating an X11 frame from an Emacs daemon started
987 without a display.
988
989 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * minibuffer.el (minibuffer-force-complete): Make the next completion use
992 the same completion-field (bug@12221).
993
994 2012-10-19 Martin Rudalics <rudalics@gmx.at>
995
996 * emacs-lisp/debug.el (debug): Record height of debugger window
997 also when debugger will be back (Bug#8789).
998
999 2012-10-18 Chong Yidong <cyd@gnu.org>
1000
1001 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1002 Convert to defcustom.
1003 (gdb-get-source-file): Don't bind pop-up-windows.
1004
1005 * progmodes/gud.el (gud-display-line): Don't specially re-use
1006 other frames for the gdb-mi case (Bug#12648).
1007
1008 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1009
1010 * emacs-lisp/advice.el: Clean up commentary a bit.
1011 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1012 (byte-code-function-p): Never redefine.
1013
1014 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1015
1016 2012-10-18 Glenn Morris <rgm@gnu.org>
1017
1018 * dired.el (dired-sort-toggle): Some ls implementations only allow
1019 a single option string. (Bug#12666)
1020
1021 * minibuffer.el (completion-cycle-threshold): Doc fix.
1022
1023 2012-10-17 Kenichi Handa <handa@gnu.org>
1024
1025 * international/mule.el (set-keyboard-coding-system):
1026 Recover input meta mode when the new coding system doesn not use 8-bit.
1027 Supply TERMINAL arg to set-input-meta-mode.
1028
1029 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1030
1031 * wdired.el (wdired-old-marks): New variable.
1032 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1033 (wdired-do-renames): Move point with renamed file and don't lose
1034 mark status (Bug#11795).
1035
1036 2012-10-16 Juri Linkov <juri@jurta.org>
1037
1038 * replace.el (query-replace-help): Mention multi-buffer replacement
1039 keys in the Help message. (Bug#12655)
1040
1041 2012-10-15 Chong Yidong <cyd@gnu.org>
1042
1043 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1044
1045 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1046
1047 * window.el (display-buffer): Doc fix.
1048
1049 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1050 Adjust the msft regexp to the output of Studio 2010, and move msft
1051 before edg-1. See the discussion on emacs-devel,
1052 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1053 for the details.
1054
1055 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1056
1057 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1058 (oset): Move uses of object-class-fast macro after its definition.
1059
1060 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1061
1062 2012-10-13 Chong Yidong <cyd@gnu.org>
1063
1064 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1065 enabled, re-enable it (Bug#11963).
1066
1067 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1068
1069 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1070 non-nil, restore window configuration (Bug#12623).
1071
1072 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1073
1074 * help-fns.el (describe-variable, describe-function-1):
1075 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1076
1077 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1078
1079 2012-10-12 Glenn Morris <rgm@gnu.org>
1080
1081 * mail/rmailsum.el (rmail-header-summary):
1082 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1083
1084 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1085
1086 * progmodes/python.el (python-mode-map):
1087 Replace subtitute-key-definition with proper command remapping.
1088 (python-nav--up-list): Fix behavior for blocks on the same level.
1089
1090 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1093
1094 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1095 changes to the format of load-history.
1096
1097 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1098 completion-ignore-case in case that var is buffer-local (bug#12615).
1099
1100 2012-10-11 Kenichi Handa <handa@gnu.org>
1101
1102 * international/eucjp-ms.el: Re-generated.
1103
1104 2012-10-10 Kenichi Handa <handa@gnu.org>
1105
1106 * select.el (xselect--encode-string): If a coding is specified for
1107 selection, and that is compatible with COMPOUND_TEXT, use it.
1108
1109 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1110
1111 * window.el (switch-to-buffer-preserve-window-point): New option.
1112 (switch-to-buffer):
1113 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1114
1115 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1118 Don't document nil as a useful value (bug#12583).
1119
1120 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1121
1122 * net/tramp.el (tramp-debug-message):
1123 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1124 (with-tramp-progress-reporter): Rename from
1125 `tramp-with-progress-reporter'.
1126 (with-tramp-file-property, with-tramp-connection-property):
1127 Move from tramp-cache.el, rename from `with-file-property' and
1128 `with-connection-property', respectively.
1129
1130 * net/tramp-cache.el: Remove `with-file-property' and
1131 `with-connection-property'.
1132
1133 * net/tramp.el:
1134 * net/tramp-gvfs.el:
1135 * net/tramp-sh.el:
1136 * net/tramp-smb.el: Adapt callees.
1137
1138 * net/trampver.el: Update release number.
1139
1140 2012-10-09 Glenn Morris <rgm@gnu.org>
1141
1142 * w32-fns.el (set-message-beep):
1143 * term/w32-win.el (set-message-beep): Update declarations.
1144
1145 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1148 (mode-line-widen, mode-line-input-method-map)
1149 (mode-line-coding-system-map, mode-line-remote)
1150 (mode-line-unbury-buffer, mode-line-bury-buffer)
1151 (mode-line-next-buffer, mode-line-previous-buffer):
1152 Replace save-selected-window+select-window => with-selected-window.
1153
1154 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1155 * progmodes/cc-vars.el (bq-process): Remove, unused.
1156
1157 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1158
1159 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1160
1161 Implemented `backward-up-list'-like navigation.
1162 * progmodes/python.el (python-nav-up-list)
1163 (python-nav-backward-up-list): New functions.
1164 (python-mode-map): Define substitute key for backward-up-list to
1165 python-nav-backward-up-list.
1166
1167 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1168
1169 * progmodes/python.el (python-fill-paragraph): Rename from
1170 python-fill-paragraph-function. Fixed fill-paragraph for
1171 decorators (Bug#12605).
1172
1173 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1174
1175 * progmodes/python.el (python-shell-output-filter): Handle extra
1176 carriage return in OSX (Bug#12409).
1177
1178 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1179
1180 Fix shell handling of unbalanced quotes and parens in output.
1181 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1182 (python-syntax-propertize-function): Use it.
1183 (python-shell-output-syntax-table): New var.
1184 (inferior-python-mode): Prevent unbalanced parens/quotes from
1185 previous output mess with current input context.
1186
1187 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1188
1189 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1190 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1191
1192 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1193
1194 * ffap.el (ffap-replace-file-component): Support Tramp file name
1195 syntax, not only ange-ftp's one.
1196
1197 2012-10-08 Glenn Morris <rgm@gnu.org>
1198
1199 * cus-start.el (message-log-max): Set :version.
1200
1201 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1202
1203 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1204
1205 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1206 the minibuffer window (Bug#10851).
1207
1208 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1209
1210 Enhancements on forward-sexp movement.
1211 * progmodes/python.el (python-nav-beginning-of-statement)
1212 (python-nav-end-of-statement): Return point-marker.
1213 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1214 (python-info-current-symbol)
1215 (python-info-statement-starts-block-p): Rename from
1216 python-info-beginning-of-block-p.
1217 (python-info-statement-ends-block-p): Rename from
1218 python-info-end-of-block-p.
1219 (python-info-beginning-of-statement-p)
1220 (python-info-end-of-statement-p)
1221 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1222 New functions.
1223
1224 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1227 frame-selected-windows.
1228
1229 2012-10-08 Daniel Colascione <dancol@dancol.org>
1230
1231 * battery.el (battery-status-function): Check for
1232 w32-battery-status itself, not system-time windows-nt.
1233
1234 * frame.el: Require cl-lib.
1235 (display-format-alist): New variable mapping frame types to
1236 functions that initialize them.
1237 (window-system-for-display): New function: interprets
1238 display-format-alist.
1239 (make-frame-on-display): Remove existing display-selection logic
1240 and just forward to make-frame, which will now DTRT.
1241 (make-frame): Restructure to use window-system-for-display to
1242 figure out how to create a frame on a given display.
1243 (display-mouse-p): Look for frame-type w32, not a particular
1244 system-type.
1245
1246 * loadup.el: Load w32 lisp code when we have the w32 feature.
1247
1248 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1249 system-type windows-nt.
1250
1251 * server.el (server-create-window-system-frame): Look for window
1252 type.
1253 (server-proces-filter): Only force a window system when windows-nt
1254 _and_ w32. Explain why.
1255
1256 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1257 of window systems we configure for the mode.
1258
1259 * startup.el (command-line): Mark window system is initialized
1260 after we've done it.
1261
1262 * common-win.el (x-select-text): Look for w32, not windows-nt.
1263
1264 * ns-win.el: Require cl-lib. Add ourselves to
1265 display-format-alist.
1266 (ns-initialize-window-system): Assert we're not initialized twice.
1267
1268 * w32-win.el: Enable lexical binding; require cl-lib; add
1269 ourselves to display-format-alist.
1270 (w32-handle-dropped-file): Convert incoming dropped files from
1271 Windows paths to Cygwin ones before passing them on to the rest of
1272 Emacs.
1273 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1274 (w32-initialize-window-system): Assert we're not initialized twice.
1275
1276 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1277 (x-initialize-window-system): Assert we're not initialized twice.
1278
1279 * w32-common-fns.el: New File.
1280 (w32-version, w32-using-nt, w32-get-clipboard-data)
1281 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1282 (w32-charset-info-alist, x-last-selected, text)
1283 (x-get-selection-value, x-selection-value): Move here.
1284
1285 * w32-fns.el: Require w32-common-fns.
1286 (w32-version, w32-using-nt, w32-get-clipboard-data)
1287 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1288 (w32-charset-info-alist, x-last-selected, text)
1289 (x-get-selection-value, x-selection-value): Move to
1290 w32-common-fns.
1291
1292 * w32-vars.el:
1293 (w32-allow-system-shell, w32-system-shells): Define only in
1294 non-cygwin case.
1295
1296 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1299 (read-passwd): Remove a few more potential sources of leaks.
1300
1301 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1302
1303 * progmodes/python.el (inferior-python-mode)
1304 (python-shell-make-comint): Fix initialization of local
1305 variables copied from parent buffer.
1306
1307 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1308
1309 * term/ns-win.el (ns-read-file-name): Update declaration to match
1310 nsfns.m.
1311 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1312 it is set when font is acted upon.
1313
1314 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1315
1316 Enhancements to indentation.
1317 * progmodes/python.el (python-indent-context): Give priority to
1318 inside-string context. Make comments indentation markers.
1319 (python-indent-region): Do not mess with strings, unless it's the
1320 enclosing set of quotes.
1321
1322 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * window.el (internal--before-save-selected-window)
1325 (internal--after-save-selected-window): New functions extracted from
1326 save-selected-window. Make sure we return the `alist' we construct.
1327 (save-selected-window): Use them.
1328
1329 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1330 Use with-selected-window.
1331
1332 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1333 forms that define macros (bug#12593).
1334
1335 2012-10-07 Kenichi Handa <handa@gnu.org>
1336
1337 * international/mule-conf.el (compound-text-with-extensions):
1338 Add :mime-charset property as x-ctext.
1339
1340 2012-10-07 Stefan Merten <smerten@oekonux.de>
1341
1342 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1343 (rst-indent-literal-normal, rst-indent-literal-minimized)
1344 (rst-indent-comment): Correct :version tag.
1345 (rst-official-cvs-rev): Correct version string.
1346
1347 2012-10-07 Glenn Morris <rgm@gnu.org>
1348
1349 * mail/rmailmm.el (rmail-mime-process-multipart):
1350 Do not confuse a multipart message with an epilogue
1351 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1352
1353 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1354
1355 Fix shell output retrieval and comint-prompt-regexp init.
1356 * progmodes/python.el (inferior-python-mode):
1357 (python-shell-make-comint): Fix initialization of
1358 comint-prompt-regexp from copied file local variables.
1359 (python-shell-fetched-lines): Remove var.
1360 (python-shell-output-filter-in-progress): Rename from
1361 python-shell-fetch-lines-in-progress.
1362 (python-shell-output-filter-buffer): Rename from
1363 python-shell-fetch-lines-string.
1364 (python-shell-fetch-lines-filter): Delete function.
1365 (python-shell-output-filter): New function.
1366 (python-shell-send-string-no-output): Use them.
1367
1368 2012-10-07 Glenn Morris <rgm@gnu.org>
1369
1370 * hi-lock.el (hi-lock-process-phrase):
1371 Try to make it less fragile. (Bug#7161)
1372
1373 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1374
1375 2012-10-06 Glenn Morris <rgm@gnu.org>
1376
1377 * ehelp.el (electric-help-mode): Use help-mode rather than
1378 non-existent mode `help'.
1379 (electric-help-map): Use button-buffer-map. (Bug#10917)
1380
1381 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1382 (reftex-create-bibtex-footer): Fix custom types.
1383
1384 * progmodes/sh-script.el (sh-indent-after-continuation):
1385 Add explicit :group.
1386
1387 * textmodes/rst.el (rst-preferred-decorations)
1388 (rst-shift-basic-offset): Clarify obsolescence versions.
1389
1390 * profiler.el (profiler): Add missing group :version tag.
1391 * avoid.el (mouse-avoidance-banish-position):
1392 * proced.el (proced-renice-command):
1393 * calc/calc.el (calc-ensure-consistent-units):
1394 * calendar/icalendar.el (icalendar-import-format-uid):
1395 * net/tramp.el (tramp-save-ad-hoc-proxies):
1396 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1397 * progmodes/flymake.el (flymake-error-bitmap)
1398 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1399 * progmodes/sh-script.el (sh-indent-after-continuation):
1400 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1401 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1402 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1403 (vhdl-array-index-record-field-in-sensitivity-list)
1404 (vhdl-indent-comment-like-next-code-line):
1405 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1406 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1407 (reftex-cite-key-separator, reftex-create-bibtex-header)
1408 (reftex-create-bibtex-footer):
1409 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1410 (rst-indent-literal-normal, rst-indent-literal-minimized)
1411 (rst-indent-comment): Add missing custom :version tags.
1412
1413 * calendar/timeclock.el (timeclock-modeline-display):
1414 Add missing obsolete alias for renamed user option.
1415
1416 * strokes.el (strokes-modeline-string):
1417 * emulation/crisp.el (crisp-mode-modeline-string):
1418 * eshell/esh-mode.el (eshell-status-in-modeline):
1419 Aliases to defcustoms must come before the defcustom.
1420
1421 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1422 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1423 (cal-tex-cursor-week-monday): Doc fixes.
1424 (cal-tex-cursor-week2-summary): Doc fix.
1425 Rename from cal-tex-cursor-week-at-a-glance.
1426
1427 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1428 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1429
1430 * calendar/calendar.el (calendar-mode-map):
1431 Add cal-tex-cursor-week2-summary.
1432
1433 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1436
1437 * subr.el (read-passwd-map): New var.
1438 (read-passwd): Use `read-string' again.
1439 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1440
1441 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
1442
1443 * register.el (append-to-register, prepend-to-register):
1444 Deactivate mark, as does `copy-to-register' (bug#12389).
1445
1446 2012-10-06 Chong Yidong <cyd@gnu.org>
1447
1448 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1449
1450 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1451
1452 * international/characters.el: Fix simple mistake ((car chars) ->
1453 elt), delete duplicated code.
1454
1455 2012-10-06 Glenn Morris <rgm@gnu.org>
1456
1457 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1458
1459 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1460
1461 * color.el (color-hsl-to-rgb): Fix incorrect results for
1462 small and large hue values. (Bug#12559)
1463
1464 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1465
1466 Enhancements to docstring formatting when filling paragraphs.
1467 * progmodes/python.el (python-fill-docstring-style): Rename from
1468 python-fill-string-style. Added new style.
1469 (python-fill-string): Use new style. Better checks for
1470 docstrings.
1471
1472 2012-10-05 Glenn Morris <rgm@gnu.org>
1473
1474 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1475
1476 * color.el (color-name-to-rgb, color-rgb-to-hex)
1477 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1478 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1479 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1480 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1481
1482 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1483
1484 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
1485
1486 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1487 to get the correct size across symlinks.
1488
1489 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1490
1491 2012-10-04 Juri Linkov <juri@jurta.org>
1492
1493 * replace.el (query-replace-interactive): Declare obsolete.
1494 (query-replace-read-from): Add the last incremental search string
1495 to the list of default values accessible via M-n.
1496 (map-query-replace-regexp): Use `read-regexp'.
1497 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1498 (map-query-replace-regexp, replace-string, replace-regexp):
1499 Fix docstrings to replace mentions of `query-replace-interactive'
1500 with alternatives. (Bug#12526)
1501
1502 2012-10-04 Juri Linkov <juri@jurta.org>
1503
1504 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1505 (dired-pop-to-buffer): Declare obsolete.
1506 (dired-mark-pop-up): Doc fix.
1507
1508 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1509
1510 Allow user to set docstring style for fill-paragraph.
1511 * progmodes/python.el
1512 (python-fill-comment-function, python-fill-string-function)
1513 (python-fill-decorator-function, python-fill-paren-function):
1514 Remove :safe for defcustoms.
1515 (python-fill-string-style): New defcustom
1516 (python-fill-paragraph-function): Enhance context detection.
1517 (python-fill-string): Honor python-fill-string-style settings.
1518
1519 2012-10-04 Martin Rudalics <rudalics@gmx.at>
1520
1521 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1522 after setting its buffer (Bug#10805).
1523
1524 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1525
1526 Fix cornercase for string syntax.
1527 * progmodes/python.el (python-syntax-propertize-function):
1528 Simplify and enhance the regexp for unescaped quotes. Now it also
1529 matches quotes in weird situations like the single quote in
1530 "something\"'".
1531 (python-syntax-stringify): Simplify num-quotes detecting code.
1532
1533 2012-10-03 Glenn Morris <rgm@gnu.org>
1534
1535 * help-macro.el (three-step-help):
1536 Revert 2012-09-29 change. (Bug#12567)
1537
1538 2012-10-03 Martin Rudalics <rudalics@gmx.at>
1539
1540 * menu-bar.el (kill-this-buffer): Don't do anything when
1541 `menu-frame' is not alive or visible (Bug#8184).
1542
1543 * emacs-lisp/debug.el (debug): When quitting the debugger window
1544 restore current buffer (Bug#12502).
1545
1546 2012-10-02 Chong Yidong <cyd@gnu.org>
1547
1548 * progmodes/hideif.el (hif-lookup, hif-defined):
1549 Handle semantic-c-takeover-hideif.
1550
1551 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1552
1553 Change sampling interval units from ms to ns.
1554 * profiler.el (profiler-sampling-interval): Change units
1555 from ms to ns, multiplying the default by 1000000 so that
1556 it remains 1 ms.
1557 (profiler-report-cpu-line-format): Give enough room for
1558 the maximum counters on 64-bit hosts.
1559 (profiler-report-render-calltree-1): Call them "CPU samples",
1560 not "Time (ms)", since they are not milliseconds now (and
1561 never really were).
1562
1563 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1564
1565 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1566 Fix querying BBDB for entries without a last name (Bug#11580).
1567
1568 2012-10-02 Chong Yidong <cyd@gnu.org>
1569
1570 * emacs-lisp/eieio.el: Restore Version header.
1571
1572 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * vc/diff-mode.el (diff--auto-refine-data): New var.
1575 (diff-hunk): Use it to delay refinement.
1576 (diff-mode): Remove overlays when we turn off font-lock.
1577
1578 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1579 (table-initialize-table-fixed-width-mode)
1580 (table-set-table-fixed-width-mode): Remove functions.
1581 (table-command-list): Move initialization into declaration.
1582 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1583 (table-with-cache-buffer): Use `declare'.
1584 (table-span-cell): Simplify via CSE.
1585 (table-fixed-width-mode): Use define-minor-mode.
1586 (table-call-interactively, table-funcall, table-apply): Remove.
1587 (table-function): New function, to replace them.
1588
1589 * bookmark.el (bookmark-search-pattern): Remove var.
1590 (bookmark-read-search-input): Remove function.
1591 (bookmark-bmenu-search): Reimplement using a minibuffer.
1592
1593 * faces.el (modeline): Remove obsolete face name.
1594
1595 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1596 and give a non-nil default value.
1597 (add-change-log-entry): Simplify accordingly.
1598
1599 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1600
1601 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1602 (vc-git-log-edit-toggle-amend): New function.
1603 (vc-git-log-edit-toggle-signoff): New function.
1604 (vc-git-log-edit-mode): New major mode.
1605 (vc-git-log-edit-mode-map): Keymap for it.
1606 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1607
1608 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1609 header names.
1610 (log-edit-toggle-header): New function.
1611 (log-edit-extract-headers): Accept function values in HEADERS alist.
1612
1613 2012-10-01 David Engster <deng@randomsample.de>
1614
1615 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1616 from symbol property and change message to be more consistent with
1617 Emacs proper.
1618 (eieio-describe-generic): Add filename for each implementation.
1619 Fix indices for generic and normal methods.
1620 (eieio-method-def, eieio-class-def): New buttons.
1621 (eieio-help-find-method-definition)
1622 (eieio-help-find-class-definition): New functions.
1623 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1624 class, constructor and method definitions.
1625
1626 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1627 information in symbol property.
1628 (scoped-class): Remove.
1629 (eieio-slot-name-index, call-next-method): Check if it is bound.
1630
1631 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
1632
1633 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1634 (eieio-custom-mode): New major mode.
1635 (eieio-customize-object): Use it.
1636
1637 2012-10-01 Eric Ludlam <zappo@gnu.org>
1638
1639 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1640 specifying the expected class, and whether subclassing is allowed.
1641 (eieio-persistent-convert-list-to-object):
1642 (eieio-persistent-validate/fix-slot-value)
1643 (eieio-persistent-slot-type-is-class-p): New functions.
1644 (eieio-named::slot-missing): Doc fix.
1645
1646 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1647 Stop using unused publd variable.
1648
1649 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1650 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1651 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1652 (eieio-speedbar-handle-click): Do not specify a class for the
1653 method. Fixes method invocation order problems with EDE.
1654
1655 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1658 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1659
1660 2012-10-01 Karl Fogel <kfogel@red-bean.com>
1661
1662 * bookmark.el (bookmark-version-control): Give tags in the
1663 :type choices (Bug#12309), and improve doc string.
1664 (bookmark-write-file): Bind `print-circle' to `t' to allow
1665 circular custom bookmark types. (Bug#12503)
1666
1667 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1668
1669 Revert the FOLLOW-SYMLINKS change for file-attributes.
1670 * files.el (remote-file-name-inhibit-cache, after-find-file):
1671 * time.el (display-time-file-nonempty-p): Undo last change.
1672
1673 * profiler.el (profiler-sampling-interval): Change default back to 1.
1674 See Stefan Monnier in
1675 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1676
1677 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1678
1679 Shell output catching a la gud-gdb.
1680 * progmodes/python.el (python-shell-fetch-lines-in-progress)
1681 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1682 New Vars.
1683 (python-shell-fetch-lines-filter): New function.
1684 (python-shell-send-string-no-output): Use them.
1685
1686 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1687
1688 * profiler.el (profiler-sampling-interval): Rename from
1689 profiler-sample-interval.
1690 (profiler-sampling-interval): Default to 10.
1691 (profiler-find-profile): New command (was profiler-find-log).
1692 (profiler-find-profile-other-window): New command.
1693 (profiler-find-profile-other-frame): New command.
1694 (profiler-profile): Introduce API-level data structure.
1695
1696 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1697
1698 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1699 * files.el (remote-file-name-inhibit-cache):
1700 * time.el (display-time-file-nonempty-p): Use it.
1701 * files.el (after-find-file): Don't chase links before calling
1702 file-exists-p, as file-exists-p already does the right thing.
1703
1704 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
1705
1706 Merge from standalone RefTeX repository.
1707
1708 The following ChangeLog entries are shortened versions of the
1709 original ones with file paths adapted. A not so strongly edited
1710 version of the original ChangeLog can be found in the commit log.
1711
1712 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1713 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1714 Correctly handle new value type returned by `reftex-citation'.
1715
1716 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1717 that entries with whitespace at various places are found.
1718 Doc fix. Include entries that are cross-referenced from cited entries.
1719 Include @String definitions in the resulting bib file. Add header
1720 and footer defined in `reftex-create-bibtex-header' and
1721 `reftex-create-bibtex-footer'.
1722 (reftex-do-citation): Make it possible again to insert
1723 non-existent entries. Save match data when asking for optional
1724 arguments. Return all keys, not just the first one.
1725 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1726 all citations in the same line.
1727 (reftex-parse-bibtex-entry): Accept additional optional argument
1728 `raw' and keep quotes or braces if it is non-nil. Match fields
1729 containing hyphens besides word constituents.
1730 (reftex-get-string-refs): New function.
1731 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1732 and ask if it should be reread in case it did.
1733 (reftex-pop-to-bibtex-entry)
1734 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1735 entries with spaces or tabs in front of arguments.
1736 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1737 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1738 Match entries containing numbers and symbol constituents.
1739 (reftex-do-citation, reftex-figure-out-cite-format):
1740 Use `reftex-cite-key-separator'.
1741
1742 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1743 (reftex-mouse-view-crossref): Explain why point is set.
1744
1745 * textmodes/reftex-global.el: Whitespace changes.
1746
1747 * textmodes/reftex-index.el: Move provide statement to end of
1748 file.
1749 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1750 (reftex-index-visit-phrases-buffer): Set marker when visiting
1751 buffer. This allows for returning from the phrases file to the
1752 file one was just editing instead of the file where the last
1753 phrases was added from.
1754 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1755 punctuation syntax as it usually is not used as string quote in
1756 TeX-related modes and may occur unmatched. The change also
1757 prevents fontification of quoted content.
1758 (reftex-index-phrases-mode): Use it.
1759
1760 * textmodes/reftex-parse.el (reftex-parse-from-file):
1761 Move backward one char if a `\' was matched after a section macro.
1762 (reftex-parse-from-file): Use beginning of match instead of end as
1763 bound.
1764
1765 * textmodes/reftex-ref.el: Adapt creation of
1766 `reftex-<package>-<macro>' functions to new structure of
1767 `reftex-ref-style-alist'.
1768 (reftex-reference): Use `reftex-ref-style-list' function.
1769 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1770 reference macro if `reftex-ref-macro-prompt' is non-nil.
1771 (reftex-reference): Pass refstyle to `reftex-format-special'.
1772 Determine reference macro by looking at
1773 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1774 Use only one special format function.
1775 (reftex-varioref-vref, reftex-fancyref-fref)
1776 (reftex-fancyref-Fref): Remove definitions. The functions are now
1777 generated from `reftex-ref-style-alist'.
1778 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1779 Remove.
1780 (reftex-format-special): New function.
1781
1782 * textmodes/reftex-sel.el
1783 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1784 of `reftex-ref-style-alist'. Remove code for testing macro type.
1785 (reftex-select-toggle-varioref)
1786 (reftex-select-toggle-fancyref): Remove.
1787 (reftex-select-cycle-ref-style-internal)
1788 (reftex-select-cycle-ref-style-forward)
1789 (reftex-select-cycle-ref-style-backward): New functions.
1790 (reftex-select-label-map): Use `v' and `V' for general cycling
1791 through reference styles. Add `p' for switching between number
1792 and page reference types.
1793
1794 * textmodes/reftex-toc.el (reftex-re-enlarge):
1795 Call `enlarge-window' only if there is something to do because in Emacs
1796 the horizontal version throws an error even if the parameter is 0.
1797
1798 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1799 (reftex-plug-into-AUCTeX): Doc fix.
1800 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1801 string. Adapt to new name.
1802 (reftex-ref-style-alist): Change structure so that it is not
1803 possible to use multiple different package names within a style.
1804 Remove the symbols for symbols for macro type distinction.
1805 Add characters for macro selection.
1806 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1807 (reftex-create-bibtex-footer): New variables.
1808 (reftex-format-ref-function): Mention third argument of special
1809 format function.
1810 (reftex-ref-style-alist, reftex-ref-style-default-list):
1811 New variables.
1812 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1813 to new implementation. Mark as obsolete. Add compatibility code
1814 for honoring the variable values in case they are set.
1815 (reftex-cite-format-builtin, reftex-bibliography-commands):
1816 Add support for ConTeXt.
1817 (reftex-format-ref-function, reftex-format-cite-function):
1818 Fix custom type.
1819 (reftex-cite-key-separator): New variable.
1820
1821 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1822 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1823 `reftex-syntax-table' because parens have to retain their paren
1824 syntax in order for parsing of BibTeX entries like @book(...) to
1825 work.
1826 (reftex-in-comment): Do not error out if `comment-start-skip' is
1827 not set. Deal correctly with escaped comment characters.
1828 (reftex-tie-multifile-symbols): Add doc string.
1829 Initialize `reftex-ref-style-list'.
1830 (reftex-untie-multifile-symbols): Add doc string.
1831 (reftex-add-index-macros): Doc fix.
1832 (reftex-ref-style-activate, reftex-ref-style-toggle)
1833 (reftex-ref-style-list): New functions.
1834 (reftex-mode-menu): Use them. Adapt to new structure of
1835 `reftex-ref-style-alist'.
1836 (reftex-select-with-char): Kill the RefTeX Select buffer when
1837 done.
1838 (reftex-remove-if): New function.
1839 (reftex-erase-all-selection-and-index-buffers)
1840 (reftex-mode-menu): Reference styles are now computed from
1841 `reftex-ref-style-alist'. Fix typo.
1842 (reftex-report-bug): New function.
1843 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1844 algorithms with O(n log n). Introduce optional argument SORT (not
1845 yet used).
1846
1847 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1848
1849 Enhancements for triple-quote string syntax.
1850 * progmodes/python.el (python-syntax-propertize-function):
1851 Match both quote cases in one regexp.
1852 (python-syntax-stringify): Handle matches properly.
1853
1854 2012-09-30 Juri Linkov <juri@jurta.org>
1855
1856 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1857 to nil around the call to `insert' to prevent
1858 directory time modification by lock_file. (Bug#2295)
1859 * tar-mode.el (tar-summarize-buffer): Idem.
1860
1861 2012-09-30 Juri Linkov <juri@jurta.org>
1862
1863 * facemenu.el (list-colors-sort): Add option "Luminance".
1864 (list-colors-sort-key): Implement it.
1865
1866 * vc/diff-mode.el (diff-refine-removed):
1867 * vc/ediff-init.el (ediff-fine-diff-A):
1868 * vc/smerge-mode.el (smerge-refined-removed):
1869 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1870
1871 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1872
1873 * term/ns-win.el (x-file-dialog): New function.
1874
1875 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1876
1877 * ido.el (ido-max-directory-size): Default to nil; the current
1878 default is small for POSIX systems, and impractical on Windows 7
1879 now that lstat returns directory sizes for NTFS.
1880
1881 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1882
1883 In buffer display functions handle window-height/window-width
1884 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1885 * window.el (window--display-buffer): New argument ALIST.
1886 Obey window-height and window-width alist entries.
1887 (window--try-to-split-window): New argument ALIST.
1888 Bind window-combination-limit to t when the window's size shall be
1889 changed and window-combination-limit equals `window-size'.
1890 (display-buffer-in-atom-window)
1891 (display-buffer-in-major-side-window)
1892 (display-buffer-in-side-window, display-buffer-same-window)
1893 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1894 (display-buffer-pop-up-window, display-buffer-below-selected)
1895 (display-buffer-at-bottom, display-buffer-in-previous-window)
1896 (display-buffer-use-some-window): Adjust all callers of
1897 window--display-buffer and window--try-to-split-window.
1898 (fit-frame-to-buffer): New option.
1899 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1900 is non-nil.
1901 (display-buffer-in-major-side-window): Evaluate window-height /
1902 window-width alist entries.
1903
1904 * help.el (temp-buffer-resize-frames)
1905 (temp-buffer-resize-regexps): Remove options.
1906 (temp-buffer-resize-mode): Adjust doc-string.
1907 (resize-temp-buffer-window): Don't consult
1908 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1909 temp-buffer-resize-frames.
1910
1911 * dired.el (dired-mark-pop-up):
1912 Call display-buffer-below-selected with a fit-window-to-buffer alist
1913 entry.
1914
1915 2012-09-30 Chong Yidong <cyd@gnu.org>
1916
1917 * server.el (server-host): Document the security implications.
1918 (server-auth-key): Doc fix.
1919
1920 * startup.el (initial-buffer-choice): Doc fix.
1921
1922 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1923
1924 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1925 restriction change.
1926
1927 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1928
1929 * help-fns.el (help-fns--obsolete): Fix last change.
1930
1931 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1934 (minor-mode-map-alist): Remove redundant code.
1935
1936 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1937 visited in a buffer.
1938 (cvs-insert-visited-file): New function.
1939 (find-file-hook): Use it.
1940
1941 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1942
1943 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1944 chose face.
1945 (log-edit-empty-buffer-p): Don't require a space after a header.
1946
1947 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1948
1949 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1950
1951 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1952 a proper minor-mode.
1953
1954 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1955
1956 2012-09-29 Glenn Morris <rgm@gnu.org>
1957
1958 * winner.el (winner-mode): Remove variable (let define-minor-mode
1959 handle it).
1960 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1961 Doc fixes.
1962 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1963 (winner-mode): Use define-minor-mode.
1964
1965 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1966 the full definition in loaddefs, rather than duplicating it.
1967
1968 * help-macro.el (three-step-help): No need to autoload defcustom.
1969
1970 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1971 (inferior-lisp-program, inferior-lisp-load-command)
1972 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1973 No need to autoload defcustoms.
1974
1975 * hippie-exp.el (hippie-expand-try-functions-list)
1976 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1977 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1978 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1979 (hippie-expand-only-buffers): No need to autoload defcustoms.
1980 * progmodes/vhdl-mode.el (vhdl-line-expand):
1981 Explicitly load hippie-exp, so it does not get autoloaded
1982 while hippie-expand-try-functions-list is let-bound.
1983
1984 2012-09-28 Glenn Morris <rgm@gnu.org>
1985
1986 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1987
1988 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1989 Only "cl.el" counts as cl these days.
1990
1991 2012-09-28 Juri Linkov <juri@jurta.org>
1992
1993 Display archive errors in the echo area instead of inserting
1994 to the file buffer.
1995
1996 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1997 to STDERR-TEST that can be a regexp matching a successful output.
1998 Create a temporary file and redirect stderr to it. Search for
1999 STDERR-TEST in the stderr output and display it in the echo area
2000 if no match is found.
2001 (archive-extract-by-file): New function like
2002 `archive-extract-by-stdout' but extracting archives to files
2003 and looking for successful matches in stdout. Function body is
2004 mostly copied from `archive-rar-extract'.
2005 (archive-rar-extract): Use `archive-extract-by-file'.
2006 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2007
2008 2012-09-28 Leo Liu <sdl.web@gmail.com>
2009
2010 * pcomplete.el (pcomplete-show-completions):
2011 Use minibuffer-message to make pcomplete usable in minibuffer.
2012
2013 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2014
2015 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * type-break.el: Use lexical-binding.
2018 (type-break-mode): Use define-minor-mode.
2019
2020 * emacs-lisp/pcase.el (pcase--mark-used): New.
2021 (pcase--u1): Use it (bug#12512).
2022
2023 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2024 in load-history with the right file name.
2025
2026 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2027
2028 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2029 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2030 (doc-view-get-bounding-box): Make bounding box slicing work for
2031 ODF and DVI documents.
2032
2033 2012-09-28 Glenn Morris <rgm@gnu.org>
2034
2035 * type-break.el (type-break-mode, type-break-interval)
2036 (type-break-good-rest-interval, type-break-keystroke-threshold):
2037 No need to autoload.
2038 (type-break-good-rest-interval, type-break-keystroke-threshold):
2039 Add :set-after.
2040
2041 2012-09-28 Chong Yidong <cyd@gnu.org>
2042
2043 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2044 Add :version tag.
2045
2046 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2049
2050 2012-09-27 Glenn Morris <rgm@gnu.org>
2051
2052 * faces.el (x-display-name): Declare (for without-x builds).
2053
2054 * linum.el (linum-format): Don't autoload it. Improve :type.
2055
2056 * progmodes/tcl.el: Don't require outline when compiling.
2057 (outline-regexp, outline-level): Declare.
2058 * textmodes/sgml-mode.el: Don't require outline when compiling.
2059 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2060
2061 * term.el (term-ansi-reset):
2062 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2063
2064 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2065 files for RCS and SCCS. (Bug#9781)
2066
2067 2012-09-27 Chong Yidong <cyd@gnu.org>
2068
2069 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2070 change; value should be t.
2071
2072 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * image-mode.el: Use lexical-binding.
2075 (image-mode-winprops): Use t to stand for the window of
2076 a buffer that's not displayed.
2077 * doc-view.el (doc-view-new-window-function): Handle the new
2078 t in winprops.
2079 (doc-view-enlarge): Make it a real nop if the size is not changed.
2080 (doc-view-display): Handle the case where the buffer is not (yet?)
2081 displayed in any window.
2082 (doc-view-saved-settings): New var.
2083 (doc-view-mode): Use it.
2084 (doc-view-fallback-mode): Set it.
2085
2086 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2087 Set lexical-binding.
2088 (minibuffer-eldef-shorten-default): New var.
2089 (minibuffer-default-in-prompt-regexps): Use it for new default.
2090 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2091
2092 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2093
2094 * international/uni-bidi.el:
2095 * international/uni-category.el:
2096 * international/uni-name.el:
2097 * international/uni-numeric.el: Regenerate.
2098
2099 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2100 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * profiler.el: New file.
2103
2104 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2107 (testcover-reinstrument): Simplify with CSE.
2108
2109 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2110
2111 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2112
2113 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2114
2115 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2116 (verilog-auto-input, verilog-auto-insert-lisp)
2117 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2118 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2119 (verilog-auto-unused, verilog-auto-wire)
2120 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2121 newline. Reported by Andrew Jones.
2122 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2123 Reported by Brad Dobbie.
2124 (verilog-batch-delete-trailing-whitespace):
2125 Create verilog-batch-delete-trailing-whitespace.
2126 Reported by Brad Dobbie.
2127 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2128 parameters from another module. Reported by Dan Katz.
2129 (verilog-auto, verilog-auto-assign-modport)
2130 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2131 AUTOINOUTMODPORT for UVM interface module shell generation.
2132 Reported by Brad Dobbie.
2133 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2134 standard behavior.
2135 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2136 Reported by Matt Martin.
2137
2138 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2139
2140 * window.el (window--resize-child-windows): When resizing child
2141 windows proportionally, process them in reverse order to
2142 preserve the "when splitting a window the new one gets the odd
2143 line" behavior.
2144 (window--resize-root-window-vertically): When resizing the
2145 minibuffer window try to affect only windows at the bottom of the
2146 frame. (Bug#12419)
2147
2148 2012-09-25 Chong Yidong <cyd@gnu.org>
2149
2150 * subr.el (declare): Doc fix.
2151
2152 * help-fns.el (help-fns--obsolete): Handle macros properly.
2153
2154 2012-09-25 Chong Yidong <cyd@gnu.org>
2155
2156 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2157 this function obsolete.
2158
2159 * calendar/cal-x.el (calendar-two-frame-setup)
2160 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2161 * calendar/calendar.el (american-calendar, european-calendar)
2162 (calendar-for-loop):
2163 * comint.el (comint-dynamic-simple-complete)
2164 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2165 * desktop.el (desktop-load-default):
2166 * dired-x.el (dired-omit-here-always)
2167 (dired-hack-local-variables, dired-default-directory):
2168 * emacs-lisp/derived.el (derived-mode-class):
2169 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2170 * emacs-lock.el (toggle-emacs-lock):
2171 * epa.el (epa-display-verify-result):
2172 * epg.el (epg-sign-keys, epg-start-sign-keys)
2173 (epg-passphrase-callback-function):
2174 * eshell/esh-util.el (eshell-for):
2175 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2176 (eshell-add-to-window-buffer-names):
2177 * files.el (locate-file-completion):
2178 * imenu.el (imenu-example--create-c-index)
2179 (imenu-example--create-lisp-index)
2180 (imenu-example--lisp-extract-index-name)
2181 (imenu-example--name-and-position):
2182 * international/mule-cmds.el (princ-list):
2183 * international/mule-diag.el (decode-codepage-char):
2184 * international/mule-util.el (detect-coding-with-priority):
2185 * iswitchb.el (iswitchb-read-buffer):
2186 * mail/mailalias.el (mail-complete):
2187 * mail/sendmail.el (mail-sent-via):
2188 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2189 (mouse-major-mode-menu):
2190 * password-cache.el (password-read-and-add):
2191 * pcomplete.el (pcomplete-parse-comint-arguments):
2192 * progmodes/sh-script.el (sh-maybe-here-document):
2193 * replace.el (query-replace-regexp-eval):
2194 * savehist.el (savehist-load):
2195 * simple.el (choose-completion-delete-max-match):
2196 * term.el (term-dynamic-simple-complete):
2197 * vc/ediff-init.el (ediff-check-version):
2198 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2199 * vc/vc.el (vc-diff-switches-list):
2200 * view.el (view-return-to-alist-update): Likewise.
2201
2202 * subr.el (eval-next-after-load, makehash, insert-string)
2203 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2204 mark obsolete.
2205 (mode-line-inverse-video): Variable deleted.
2206
2207 * international/mule-util.el (string-to-sequence): Remove.
2208
2209 * calendar/calendar.el (calendar-version):
2210 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2211 (icalendar-convert-diary-to-ical):
2212 * cus-edit.el (custom-mode):
2213 * ansi-color.el (ansi-color-unfontify-region):
2214 * international/latin1-disp.el (latin1-char-displayable-p):
2215 * progmodes/cwarn.el (turn-on-cwarn-mode):
2216 * progmodes/which-func.el (which-func-update-1):
2217 Use define-obsolete-function-alias.
2218
2219 * net/newst-backend.el (newsticker-cache-filename):
2220 * net/newst-treeview.el (newsticker-groups-filename):
2221 Fix incorrect obsolescence declaration.
2222
2223 * allout.el (allout-passphrase-hint-string): Likewise.
2224 (allout-init): Use a declare form to mark obsolete.
2225
2226 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2227 this applies to functions.
2228
2229 * iswitchb.el (iswitchb-read-buffer): Move code of
2230 iswitchb-define-mode-map here, and delete that obsolete function.
2231
2232 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2233 font-lock-reference-face.
2234
2235 2012-09-25 Glenn Morris <rgm@gnu.org>
2236
2237 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2238 Doc fixes.
2239
2240 * eshell/em-term.el (eshell-term-name):
2241 Default to term-term-name. (Bug#12485)
2242
2243 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2244
2245 * progmodes/python.el (python-shell-send-buffer): Better handling
2246 of "if __name__ == '__main__':" conditionals when sending the buffer.
2247
2248 2012-09-24 Glenn Morris <rgm@gnu.org>
2249
2250 * eshell/esh-cmd.el (eshell-find-alias-function):
2251 Tighten up file-name regexp. (Bug#12499)
2252
2253 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2254
2255 Enhancements for triple-quote string syntax.
2256 * progmodes/python.el (python-quote-syntax): Remove.
2257 (python-syntax-propertize-function): New value.
2258 (python-syntax-count-quotes, python-syntax-stringify):
2259 New functions.
2260
2261 2012-09-24 Chong Yidong <cyd@gnu.org>
2262
2263 * mail/supercite.el (sc-version): Remove obsolete function.
2264 (sc-describe): Don't mark as obsolete, since it is bound.
2265 (sc-submit-bug-report): Remove.
2266
2267 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2268 (cvs-commit-buffer-require-final-newline): Remove.
2269 (log-edit-require-final-newline)
2270 (log-edit-changelog-full-paragraphs): Default to t.
2271
2272 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2273 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2274 * vc/vc.el (vc-checkout-carefully): Likewise.
2275
2276 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2277 (emerge-version): Remove.
2278
2279 * progmodes/compile.el (compile-internal): Remove.
2280 (compilation-parse-errors-function): Fix typo.
2281
2282 * international/mule.el (set-char-table-default): Remove.
2283 (set-coding-priority, make-coding-system, generic-char-p)
2284 (charset-list, charset-bytes, charset-id): Use declare to mark
2285 functions as obsolete.
2286
2287 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2288 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2289 * vc/vc-hooks.el (vc-default-registered): Don't use
2290 vc-master-templates.
2291
2292 * font-lock.el (font-lock-reference-face):
2293 Use define-obsolete-variable-alias.
2294
2295 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2296 * calendar/calendar.el (calendar-font-lock-keywords):
2297 * calendar/diary-lib.el (diary-font-lock-keywords)
2298 (diary-fancy-font-lock-keywords):
2299 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2300 * textmodes/reftex-index.el (reftex-insert-index):
2301 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2302 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2303 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2304 * progmodes/prolog.el (prolog-font-lock-keywords):
2305 * progmodes/idlwave.el (idlwave-idl-keywords):
2306 * progmodes/ada-mode.el (ada-font-lock-keywords):
2307 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2308
2309 2012-09-24 Glenn Morris <rgm@gnu.org>
2310
2311 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2312
2313 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2314
2315 * progmodes/python.el (python-indent-line): More consistent cursor
2316 movement behavior.
2317
2318 2012-09-23 Stefan Merten <smerten@oekonux.de>
2319
2320 * textmodes/rst.el: Fix compiler warning.
2321
2322 2012-09-23 Roland Winkler <winkler@gnu.org>
2323
2324 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2325 Transcribe also LaTeX hyphenation.
2326 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2327 bibtex-reformat-previous-options.
2328
2329 2012-09-23 Roland Winkler <winkler@gnu.org>
2330
2331 * proced.el (proced-renice-command): New variable.
2332 (proced-marked-processes): New function.
2333 (proced-with-processes-buffer): New macro.
2334 (proced-send-signal): Use them.
2335 (proced-renice): New command bound to r.
2336
2337 2012-09-23 Roland Winkler <winkler@gnu.org>
2338
2339 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2340 ibuffer-saved-filter-groups has one element, shortcut the call of
2341 completing-read. (Bug#12331)
2342
2343 2012-09-23 Chong Yidong <cyd@gnu.org>
2344
2345 * bindings.el (mode-line-toggle-read-only):
2346 * bs.el (bs-toggle-readonly):
2347 * buff-menu.el (Buffer-menu-toggle-read-only):
2348 * dired.el (dired-toggle-read-only):
2349 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2350
2351 2012-09-23 Chong Yidong <cyd@gnu.org>
2352
2353 * image.el (image-type-available-p): Adapt to init-image-library
2354 argument changes.
2355
2356 2012-09-22 Juri Linkov <juri@jurta.org>
2357
2358 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2359 `dired-toggle-read-only'. (Bug#12462)
2360
2361 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2362
2363 * subr.el (temp-output-buffer-show): New function.
2364 (with-output-to-temp-buffer): Call temp-output-buffer-show
2365 instead of internal-temp-output-buffer-show.
2366
2367 2012-09-22 Chong Yidong <cyd@gnu.org>
2368
2369 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2370 (Bug#12462).
2371
2372 * repeat.el (repeat): Doc fix (Bug#12348).
2373
2374 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2375 (Bug#10909).
2376
2377 * simple.el (shell-command-on-region): Doc fix.
2378 (read-only-mode): Doc fix.
2379
2380 2012-09-22 Eli Zaretskii <eliz@gnu.org>
2381
2382 * emacs-lisp/timer.el (run-with-idle-timer)
2383 (timer-activate-when-idle): Warn against reinvoking an idle timer
2384 from within its own timer action. (Bug#12447)
2385
2386 2012-09-22 Martin Rudalics <rudalics@gmx.at>
2387
2388 * cus-start.el (window-combination-limit): Add new optional
2389 values.
2390 * window.el (temp-buffer-window-show)
2391 (window--try-to-split-window): Handle new values of
2392 window-combination-limit (Bug#1806).
2393 (split-window): Test window-combination-limit for t instead of
2394 non-nil.
2395 (display-buffer-at-bottom): New buffer display action function.
2396 * help.el (temp-buffer-resize-regexps): New option.
2397 (temp-buffer-resize-mode): Rewrite doc-string.
2398 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
2399 Don't resize reused window. Suggested by Glenn Morris.
2400
2401 2012-09-22 Stefan Merten <smerten@oekonux.de>
2402
2403 * textmodes/rst.el: Revamp section title faces.
2404 (rst-official-version)
2405 (rst-package-emacs-version-alist): Sync with official version
2406 V1.4.0.
2407 (rst-faces-defaults, rst-set-level-default)
2408 (rst-level-face-max, rst-level-face-base-color)
2409 (rst-level-face-base-light, rst-level-face-format-light)
2410 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2411 (rst-adornment-faces-alist): Match new setup.
2412 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2413 (rst-level-5, rst-level-6): New faces.
2414
2415 2012-09-22 Chong Yidong <cyd@gnu.org>
2416
2417 * simple.el (undo): Handle indirect buffers (Bug#8207).
2418
2419 2012-09-21 Leo Liu <sdl.web@gmail.com>
2420
2421 IDO: Disable match re-ordering for buffer switching.
2422 * ido.el (ido-buffer-disable-smart-matches): New variable.
2423 (ido-set-matches-1): Use it. (Bug#2042)
2424
2425 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
2426
2427 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2428 Fix 2011-05-17 change. (Bug#12418)
2429
2430 2012-09-21 Leo Liu <sdl.web@gmail.com>
2431
2432 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2433
2434 2012-09-21 Glenn Morris <rgm@gnu.org>
2435
2436 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2437 Be more robust about locating simple.el.
2438
2439 2012-09-21 Glenn Morris <rgm@gnu.org>
2440
2441 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2442
2443 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2444
2445 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2446
2447 2012-09-20 Juri Linkov <juri@jurta.org>
2448
2449 * replace.el (query-replace-read-from): Use `read-regexp' instead
2450 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2451 (occur-read-primary-args): Use `read-regexp' instead of
2452 `read-string'.
2453 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2454 `read-from-minibuffer'.
2455 * isearch.el (isearch-occur): Use `read-regexp' instead of
2456 `read-string'.
2457 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2458 `read-from-minibuffer'.
2459 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2460 of `read-string'. (Bug#7567)
2461
2462 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2463 and allow accepting a list of strings prepended to a list of
2464 standard default values. Doc fix. (Bug#12321)
2465
2466 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2467
2468 * replace.el (read-regexp): Don't add ": " when PROMPT already
2469 ends with a colon and space. (Bug#12321)
2470
2471 2012-09-20 Tassilo Horn <tsdh@gnu.org>
2472
2473 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2474 error.
2475
2476 2012-09-20 Stefan Merten <smerten@oekonux.de>
2477
2478 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
2479 Fixes feature request bug#11711.
2480 (rst-mode): Create `imenu-create-index-function'.
2481 (rst-get-stripped-line): Delete after refactoring.
2482 (rst-section-tree, rst-section-tree-rec)
2483 (rst-section-tree-point): Refactor and document properly.
2484 (rst-imenu-find-adornments-for-position)
2485 (rst-imenu-convert-cell, rst-imenu-create-index):
2486 New function.
2487
2488 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2491 (macroexp--expand-all): Use it.
2492 (macroexp--funcall-and-return): Remove by folding it into its sole
2493 caller (macroexp--warn-and-return).
2494 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2495 Use macroexp--obsolete-warning.
2496
2497 * calc/calc.el: Fix last change by removing the whole chunk, since it
2498 was only needed back when Calc was not bundled.
2499
2500 2012-09-20 Martin Rudalics <rudalics@gmx.at>
2501
2502 * emacs-lisp/debug.el (debug): Restore assignment to
2503 debugger-old-buffer removed on 2012-09-08.
2504
2505 2012-09-20 Juri Linkov <juri@jurta.org>
2506
2507 * dired-aux.el (dired-diff): Remove (require 'diff) since
2508 `diff-latest-backup-file' is now autoloaded.
2509
2510 2012-09-20 Chong Yidong <cyd@gnu.org>
2511
2512 * vc/diff.el (diff-latest-backup-file): Autoload.
2513
2514 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2515
2516 * calc/calc.el: Remove redundant autoload shape check.
2517 (sel-mode): Don't defvar.
2518 (calc-get-stack-element): Add `sel-mode' arg instead.
2519 (calc-top, calc-top-list): Pass it this additional argument.
2520 * calc/calc-store.el (calc-store-map):
2521 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2522 (calc-map-equation, calc-outer-product, calc-inner-product):
2523 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2524
2525 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2526
2527 2012-09-19 Juri Linkov <juri@jurta.org>
2528
2529 * dired-aux.el (dired-diff): Add (require 'diff) because
2530 `diff-latest-backup-file' is not autoloaded.
2531 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2532 of `dired-get-filename' to t to not report error when there is
2533 no default file on the current line.
2534
2535 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2538 macroexp--eval-if-compile.
2539 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2540 (macroexp--expand-all): Use them (bug#12371).
2541
2542 * doc-view.el (doc-view-guess-paper-size)
2543 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2544
2545 2012-09-19 Tassilo Horn <tsdh@gnu.org>
2546
2547 New feature: set optimal slice from BoundingBox information.
2548 * doc-view.el (doc-view-mode-map): Add keybinding.
2549 (doc-view-menu): Add menu entry.
2550 (doc-view-set-slice): Adapt docstring.
2551 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2552 (doc-view-scale-bounding-box)
2553 (doc-view-set-slice-from-bounding-box): New functions.
2554 (doc-view-paper-sizes): New defvar.
2555
2556 2012-09-19 Glenn Morris <rgm@gnu.org>
2557
2558 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2559 (byte-compile-log-warning): Autoload. (Bug#12371)
2560
2561 * calendar/calendar.el (calendar-american-month-header)
2562 (calendar-european-month-header, calendar-iso-month-header)
2563 (calendar-month-header): New options.
2564 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2565 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2566
2567 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2568
2569 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2570
2571 2012-09-18 Juri Linkov <juri@jurta.org>
2572
2573 * dired-aux.el (dired-diff): Restore original functionality of
2574 getting the default value, but keep new feature of using the
2575 latest existing backup file (`diff-latest-backup-file').
2576
2577 2012-09-18 Juri Linkov <juri@jurta.org>
2578
2579 * dired.el (dired-mark): If the region is active in Transient Mark
2580 mode, mark all files in the active region. Doc fix.
2581 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2582 Doc fix. (Bug#10624)
2583
2584 2012-09-18 Juri Linkov <juri@jurta.org>
2585
2586 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2587 attributes for M-n are pulled from the file at point.
2588 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2589 Suggested by Drew Adams. (Bug#10624)
2590
2591 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2592
2593 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2594 whitespace after "end".
2595 (ruby-do-end-to-brace): Collapse block to one line if it fits
2596 within fill-column.
2597
2598 2012-09-18 Martin Rudalics <rudalics@gmx.at>
2599
2600 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2601 value.
2602 (debug): Don't remove debugger window when debugger is expected
2603 to be back.
2604
2605 2012-09-18 Chong Yidong <cyd@gnu.org>
2606
2607 * custom.el (defface): Doc fix.
2608
2609 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2610
2611 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2612
2613 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2614 to initialize query-on-exit; then test that instead (bug#12288).
2615
2616 2012-09-17 Stefan Merten <smerten@oekonux.de>
2617
2618 * textmodes/rst.el: Add support for `testcover'.
2619 (rst-defcustom-testcover, rst-testcover-add-compose)
2620 (rst-testcover-add-1value): New functions.
2621 (rst-portable-mark-active-p): Replace by `use-region-p'.
2622 (rst-update-section, rst-classify-adornment)
2623 (rst-find-title-line): Mark `1value' forms.
2624 (rst-classify-adornment): Remove superfluous form.
2625 (rst-update-section, rst-get-adornments-around)
2626 (rst-adornment-complete-p, rst-get-next-adornment)
2627 (rst-adjust, rst-promote-region)
2628 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2629 (rst-find-pfx-in-region, rst-section-tree-rec)
2630 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2631 (rst-toc-node, rst-toc, rst-forward-section)
2632 (rst-iterate-leftmost-paragraphs)
2633 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2634 (rst-bullet-list-region)
2635 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2636 (rst-compile-find-conf, rst-compile)
2637 (rst-repeat-last-character): Fix style.
2638
2639 2012-09-17 Chong Yidong <cyd@gnu.org>
2640
2641 * comint.el (comint--complete-file-name-data): Don't add a space
2642 if the status is `sole'; that adds a gratuitous space in the
2643 completion-cycling case (Bug#12092).
2644
2645 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2646
2647 2012-09-17 Richard Stallman <rms@gnu.org>
2648
2649 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2650 only in the mime-shown mode, not in raw mode.
2651 (rmail-mime): Toggle off mime by displaying the message without
2652 mime processing. (Bug#12305)
2653
2654 * mail/rmail.el (rmail-retry-failure):
2655 Turn off mime processing first. (Bug#12037)
2656
2657 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2658
2659 2012-09-17 Chong Yidong <cyd@gnu.org>
2660
2661 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2662 (shell-dynamic-complete-functions): Convert to defcustom.
2663 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2664
2665 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2666 * comint.el (comint-prompt-read-only):
2667 * custom.el (defcustom):
2668 * hi-lock.el (hi-lock-mode):
2669 * ibuffer.el (ibuffer-formats):
2670 * ielm.el (ielm-prompt-read-only):
2671 * novice.el (disable-command):
2672 * saveplace.el (toggle-save-place):
2673 * speedbar.el (speedbar-supported-extension-expressions):
2674 * startup.el (auto-save-list-file-prefix, init-file-user)
2675 (after-init-hook, inhibit-startup-echo-area-message):
2676 * strokes.el (strokes-help):
2677 * time-stamp.el (time-stamp):
2678 * calendar/calendar.el (calendar, diary-file):
2679 * calendar/diary-lib.el (diary-mail-entries, diary)
2680 (diary-list-entries-hook):
2681 * calendar/holidays.el (holidays, calendar-holidays):
2682 * calendar/lunar.el (lunar-phases):
2683 * calendar/solar.el (sunrise-sunset):
2684 * emulation/edt.el (edt-load-keys):
2685 * emulation/viper.el (viper-mode):
2686 * eshell/em-alias.el (eshell-command-aliases-list):
2687 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2688 * international/ogonek.el (ogonek-information):
2689 * net/tramp-cmds.el (tramp-bug):
2690 * net/quickurl.el (quickurl-reread-hook-postfix):
2691 * play/decipher.el (decipher-font-lock-keywords):
2692 * progmodes/cc-styles.el (c-set-style):
2693 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2694 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2695 * progmodes/octave-mod.el (octave-mode):
2696 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2697 * progmodes/verilog-mode.el (verilog-read-defines):
2698 * textmodes/two-column.el (2C-mode): Likewise.
2699
2700 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2701
2702 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2703 that holds many addresses.
2704
2705 2012-09-16 Chong Yidong <cyd@gnu.org>
2706
2707 * align.el (align-areas): Call the indication function with
2708 positions instead of markers for arguments (Bug#12343).
2709
2710 * files.el (parse-colon-path): Use split-string (Bug#12351).
2711
2712 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2713 (display-buffer-function): Mark as obsolete.
2714
2715 * progmodes/compile.el (compilation-parse-errors): Accept list
2716 values similar to font-lock-keywords (Bug#12136).
2717 Suggested by Oleksandr Manzyuk.
2718 (compilation-error-regexp-alist): Doc fix.
2719
2720 2012-09-15 Glenn Morris <rgm@gnu.org>
2721
2722 * version.el (emacs-bzr-version-bzr): New function.
2723 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2724
2725 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2726 checkouts, check the parent dirstate matches the branch.
2727 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2728 empty string.
2729
2730 * version.el (emacs-bzr-version): Doc fix.
2731 (emacs-bzr-version-dirstate): New function.
2732 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2733 is local try and check that it matches the branch. If not, just
2734 use dirstate information. (Bug#12441)
2735
2736 2012-09-14 Juri Linkov <juri@jurta.org>
2737
2738 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2739 (Bug#12399)
2740
2741 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2744
2745 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2746 Remove obsolete byte-compiler hack that tried to silence some warnings.
2747 (edebug-submit-bug-report): Remove.
2748 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2749 Remove aliases, use the un-prefixed name instead.
2750 (edebug-pop-to-buffer): Consider other frames.
2751 (edebug-original-read):: Make it more obvious that it's always defined.
2752 (edebug--make-form-data-entry, edebug--form-data-name)
2753 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2754 single-dashed name, and implement with cl-defstruct.
2755 (edebug-set-form-data-entry): Use the standard accessors.
2756 (edebug-make-top-form-data-entry): Use push.
2757 (edebug-no-match): Drop useless `funcall'.
2758 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2759 to functions.
2760 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2761 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2762 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2763 (easy-menu-define, with-custom-print): Remove redundant specs.
2764 (edebug-outside-overriding-local-map)
2765 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2766 (edebug--display): Bind unread-command-events directly to nil rather
2767 than binding it to unread-command-events and later setting it to nil.
2768 (edebug--display): Kill edebug-eval-buffer here...
2769 (edebug--recursive-edit): ...rather than here.
2770 Bind standard-output and standard-input.
2771 (edebug-eval): Check cl-macroexpand-all is fboundp.
2772 (edebug-temp-display-freq-count): Fix last change.
2773
2774 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2775 * subr.el (noreturn, 1value): Add `debug' spec.
2776 * emacs-lisp/advice.el: Require cl-lib.
2777 (ad-copy-tree): Remove, use copy-tree instead.
2778 (ad-dolist): Remove use dolist or cl-dolist instead.
2779 (ad-do-return): Remove, use cl-return instead.
2780 (defadvice): Add `debug' spec.
2781
2782 2012-09-13 Juri Linkov <juri@jurta.org>
2783
2784 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2785 (Bug#12399)
2786
2787 2012-09-13 Glenn Morris <rgm@gnu.org>
2788
2789 * calc/calc.el (math-compose-expr):
2790 * calc/calc-ext.el (math-compose-expr):
2791 * progmodes/cc-defs.el (cl-macroexpand-all):
2792 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2793 (cl-macroexpand-all): Update declarations.
2794
2795 * vc/vc.el: No need to require ediff.
2796 (ediff-load-version-control): Declare.
2797 (ediff-vc-internal): Fix declaration.
2798 (vc-version-ediff): Require ediff.
2799
2800 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2801
2802 Use a more backwards-compatible timer format (Bug#12430).
2803 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2804 being right after USECS, as that better supports old code that
2805 inadvisedly looked directly at the timer vector.
2806
2807 2012-09-13 Kenichi Handa <handa@gnu.org>
2808
2809 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2810 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2811 `coding-priority' property of these language environment.
2812
2813 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2814
2815 Fix glitches caused by addition of psec to timers (Bug#12430).
2816 * image.el (image-animate-timer):
2817 * time.el (display-time-world-timer):
2818 Use timer--function and timer--args rather than raw access to
2819 timer vector.
2820
2821 2012-09-13 Glenn Morris <rgm@gnu.org>
2822
2823 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2824 If not compiling a file, try using load-file-name.
2825
2826 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2829 Fix last change.
2830 (edebug-update-eval-list): Use `push'.
2831
2832 * emacs-lisp/edebug.el: Use lexical-binding.
2833 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2834 Mark unused args with underscore.
2835 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2836 (edebug-form-data): Use defvar-local.
2837 (edebug-make-before-and-after-form, edebug-make-after-form):
2838 Use backquote.
2839 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2840 Not dynamically scoped any more.
2841 (edebug--enter-trace): Add arguments `function' and `args'.
2842 Rename from edebug-enter-trace.
2843 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2844 (edebug--update-coverage): Add `after-index' and `value' args.
2845 Rename from edebug-update-coverage.
2846 (edebug-slow-after): Call it accordingly.
2847 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2848 edebug-recursive-edit.
2849 (edebug--display): Call it accordingly. Add args `value',
2850 `offset-index', and `arg-mode'. Rename from edebug-display.
2851 (edebug-debugger, edebug): Call it accordingly.
2852 (edebug-eval-display-list): Use dolist.
2853
2854 2012-09-12 Juri Linkov <juri@jurta.org>
2855
2856 * info.el (Info-search): Don't check for isearch-mode and
2857 isearch-regexp before let-binding search-spaces-regexp to
2858 Info-search-whitespace-regexp.
2859 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2860 search-whitespace-regexp if isearch-lax-whitespace or
2861 isearch-regexp-lax-whitespace is non-nil.
2862 (Info-mode): Don't set local variable search-whitespace-regexp.
2863 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2864
2865 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2868 (debugger-env-macro): Remove support for unread-command-char.
2869
2870 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2871 the temporary map re-appearing on emulation-mode-map-alists.
2872
2873 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2874 since 22.1.
2875
2876 * ehelp.el (with-electric-help): Accept functions in
2877 electric-help-form-to-execute.
2878 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2879 And replace unread-command-char -> unread-command-events.
2880
2881 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2882
2883 Sync with Tramp 2.2.6.
2884
2885 * net/tramp.el (tramp-accept-process-output): Don't use
2886 JUST-THIS-ONE in the XEmacs case.
2887
2888 * net/trampver.el: Update release number.
2889
2890 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2891
2892 * emacs-lisp/debug.el (debugger-previous-window-height):
2893 New variable.
2894 (debug): When debugger-jumping-flag is non-nil try to restore
2895 height of debugger window. (Bug#8789)
2896
2897 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2900 overriding-local-map and pre/post-command-hook here.
2901 (edebug-recursive-edit): Do it here instead (bug#12345).
2902 (edebug-outside-unread-command-char): Remove all uses of
2903 unread-command-char.
2904
2905 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2906 inhibit-debugger is bound instead.
2907
2908 2012-09-11 Bastien Guerry <bzg@gnu.org>
2909
2910 * subr.el (set-temporary-overlay-map): Add a docstring.
2911 (Bug#12346)
2912
2913 2012-09-11 Bastien Guerry <bzg@gnu.org>
2914
2915 * minibuffer.el (completion-table-subvert): Fix docstring.
2916 (Bug#12347)
2917
2918 2012-09-11 Bastien Guerry <bzg@gnu.org>
2919
2920 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2921
2922 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2923
2924 * progmodes/sql.el: Version 3.1
2925 (sql-db2-escape-newlines): New variable.
2926 (sql-escape-newlines-filter): Use it.
2927
2928 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2929
2930 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2931
2932 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2933
2934 * vc/diff-mode.el (diff-mode-menu):
2935 Bind diff-remove-trailing-whitespace.
2936
2937 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2940 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2941 (emacs-lisp-byte-code-mode): New functions.
2942 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2943 (eval-defun-2): Remove bogus interactive spec.
2944 (lisp-indent-line): Remove redundant whole-exp code, now done in
2945 indent-according-to-mode.
2946 (save-match-data): Remove redundant indent data.
2947
2948 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2949 Use `declare'.
2950
2951 2012-09-09 Juri Linkov <juri@jurta.org>
2952
2953 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2954 (replace-lax-whitespace, query-replace-regexp)
2955 (query-replace-regexp-eval, replace-regexp): Doc fix.
2956 (perform-replace, replace-highlight): Let-bind
2957 isearch-lax-whitespace to replace-lax-whitespace and
2958 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2959
2960 * isearch.el (isearch-query-replace): Let-bind
2961 replace-lax-whitespace to isearch-lax-whitespace and
2962 replace-regexp-lax-whitespace to
2963 isearch-regexp-lax-whitespace. (Bug#10885)
2964
2965 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2966
2967 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2968
2969 2012-09-09 Alan Mackenzie <acm@muc.de>
2970
2971 * progmodes/cc-engine.el (c-state-cache-init):
2972 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2973 (c-record-parse-state-state):
2974 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2975
2976 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2977
2978 * register.el (register-separator): Rename from
2979 separator-register. All uses changed. Doc fix.
2980 (register): Fix version.
2981
2982 2012-09-09 Chong Yidong <cyd@gnu.org>
2983
2984 * replace.el (query-replace-map): Bind four new symbols for
2985 requesting window scrolling.
2986
2987 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2988 query-replace-map (Bug#8948).
2989
2990 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2991
2992 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2993 since they are now in query-replace-map.
2994
2995 * window.el (scroll-other-window-down): Make the arg optional.
2996
2997 2012-09-09 Chong Yidong <cyd@gnu.org>
2998
2999 * files.el (hack-local-variables-confirm): Use quit-window to kill
3000 the *Local Variables* buffer.
3001
3002 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3003
3004 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3005 not just expect to be at its beginning. Adjust callees.
3006 Succeed when do-end block has no space before the pipe character.
3007 (ruby-brace-to-do-end): When the original block is one-liner,
3008 convert to multiline. Reindent the result.
3009
3010 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3011
3012 * register.el (register): New group.
3013 (separator-register): New user option.
3014 (increment-register): Route it to `append-to-register', if
3015 register contains text. Implication is that `C-x r +' can now be
3016 used for appending to a text register (bug#12217).
3017 (append-to-register, prepend-to-register): Add separator based on
3018 `separator-register'.
3019
3020 2012-09-08 Alan Mackenzie <acm@muc.de>
3021
3022 AWK Mode: make auto-newline work when there's "==" in the pattern.
3023 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3024 correctly.
3025 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3026 Test more rigorously for "=" token.
3027
3028 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3029
3030 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3031 Only fail when reached LIMIT.
3032
3033 2012-09-08 Chong Yidong <cyd@gnu.org>
3034
3035 * dired.el (dired-mode-map): Don't bind M-=.
3036
3037 * dired-aux.el (dired-diff): Use backup file as default.
3038
3039 2012-09-08 Drew Adams <drew.adams@oracle.com>
3040
3041 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3042
3043 2012-09-08 Chong Yidong <cyd@gnu.org>
3044
3045 * subr.el (syntax-after, syntax-class): Doc fix.
3046
3047 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3048
3049 * window.el (display-buffer-in-previous-window): New buffer
3050 display action function.
3051
3052 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3053 (debugger-previous-window): New variable.
3054 (debug): Rewrite using display-buffer-in-previous-window,
3055 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3056
3057 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3060
3061 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3062
3063 * progmodes/python.el (python-shell-send-string):
3064 When default-directory is remote, create temp file on remote
3065 filesystem.
3066 (python-shell-send-file): When file is remote, pass local view of
3067 file paths to remote Python interpreter. (Bug#12340)
3068
3069 2012-09-07 Chong Yidong <cyd@gnu.org>
3070
3071 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3072
3073 * files.el (after-find-file): Don't fail on a read-only buffer if
3074 require-final-newline is `visit' or `visit-save' (Bug#11156).
3075
3076 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3077
3078 * userlock.el (ask-user-about-supersession-threat):
3079 Use read-char-choice (Bug#12093).
3080
3081 2012-09-07 Chong Yidong <cyd@gnu.org>
3082
3083 * subr.el (buffer-narrowed-p): New function.
3084
3085 * ses.el (ses-widen):
3086 * simple.el (count-words--buffer-message):
3087 * net/browse-url.el (browse-url-of-buffer): Use it.
3088
3089 * simple.el (count-words-region): Don't signal an error if there
3090 is a non-nil prefix arg and the mark is not set.
3091
3092 * help.el (describe-key-briefly): Allow the message to be seen
3093 when invoked from the minibuffer (Bug#7014).
3094
3095 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3096
3097 * progmodes/ruby-mode.el (ruby-end-of-defun)
3098 (ruby-beginning-of-defun): Simplify, allow indentation before
3099 block beginning and end keywords.
3100 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3101 (ruby-end-of-defun): Expect that the point is at the beginning of
3102 the defun.
3103
3104 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3107 (bug#12367).
3108 (cl--make-usage-args): Strip _ from argument names.
3109
3110 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3111
3112 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3113 obsolete alias speedbar-key-map.
3114 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3115 (vhdl-index-menu-init): Don't use obsolete variable
3116 font-lock-maximum-size.
3117
3118 2012-09-06 Chong Yidong <cyd@gnu.org>
3119
3120 * frame.el (window-system-version): Mark as obsolete.
3121
3122 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3123 of obsolete variable speedbar-key-map.
3124
3125 2012-09-06 Juri Linkov <juri@jurta.org>
3126
3127 * replace.el (replace-lax-whitespace): New defcustom.
3128 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3129 (replace-string, replace-regexp): Mention it in docstrings.
3130 (perform-replace, replace-highlight): Let-bind
3131 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3132 to the values of replace-lax-whitespace and regexp-flag.
3133 Don't let-bind search-whitespace-regexp. (Bug#10885)
3134
3135 * isearch.el (isearch-query-replace): Let-bind
3136 replace-lax-whitespace instead of let-binding
3137 replace-search-function and replace-re-search-function.
3138 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3139 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3140 (isearch-toggle-symbol): Set isearch-regexp to nil
3141 in isearch-word mode (like in isearch-toggle-word).
3142
3143 2012-09-06 Juri Linkov <juri@jurta.org>
3144
3145 * replace.el (replace-search-function)
3146 (replace-re-search-function): Set default values to nil.
3147 (perform-replace): Let-bind isearch-related variables based on
3148 replace-related values, call `isearch-search-fun' and let-bind
3149 the result to `search-function'. Remove code that sets
3150 `search-function' and `search-string' separately for
3151 `delimited-flag'.
3152 (replace-highlight): Add new argument `delimited-flag' and
3153 rename other arguments to the names used in `perform-replace'.
3154 Let-bind `isearch-word' to the argument `delimited-flag'.
3155 (Bug#10885, bug#10887)
3156
3157 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3158
3159 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3160 ruby-beginning-of-indent, simplify, allow all keywords to have
3161 indentation before them.
3162 (ruby-beginning-of-indent): Adjust for above. Search until the
3163 found point is not inside a string or comment.
3164 (ruby-font-lock-keywords): Allow symbols to start with "@"
3165 character, give them higher priority than variables.
3166 (ruby-syntax-propertize-function)
3167 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3168 matchers. Expression expansions are not comments when inside a
3169 string, and there comment syntax status is irrelevant.
3170 (ruby-match-expression-expansion): New function. Check that
3171 expression expansion is inside a string, and it's not escaped.
3172 (ruby-font-lock-keywords): Use it.
3173
3174 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3175
3176 * help.el (temp-buffer-max-height): New default value.
3177 (temp-buffer-resize-frames): New option.
3178 (resize-temp-buffer-window): Optionally resize frame.
3179
3180 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3181 (fit-frame-to-buffer): New function.
3182
3183 2012-09-05 Glenn Morris <rgm@gnu.org>
3184
3185 * emulation/cua-rect.el (cua--init-rectangles):
3186 * textmodes/picture.el (picture-mode-map):
3187 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3188 like forward-char and backward-char. (Bug#12317)
3189
3190 2012-09-05 Leo Liu <sdl.web@gmail.com>
3191
3192 * progmodes/flymake.el (flymake-warning-re): New variable.
3193 (flymake-parse-line): Use it.
3194
3195 2012-09-05 Glenn Morris <rgm@gnu.org>
3196
3197 * calendar/holidays.el (holiday-christian-holidays):
3198 Rename an entry. (Bug#12289)
3199
3200 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3203 (bug#12222).
3204
3205 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3206
3207 * loadup.el: Load macroexp. Remove hack.
3208 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3209 (macroexp--expand-all): Use it to get better warnings.
3210 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3211 (internal-macroexpand-for-load): New functions.
3212 (macroexp--pending-eager-loads): New var.
3213 (emacs-startup-hook): New hack to replace one in loadup.el.
3214 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3215 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3216 (cl-psetf): Simplify.
3217 (cl-defstruct): Add indent rule.
3218
3219 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3220
3221 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3222 over `user-mail-address' for the SMTP MAIL FROM envelope.
3223 (smtpmail-via-smtp): Ditto.
3224
3225 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3226
3227 * progmodes/ruby-mode.el: Clean up keybindings.
3228 (ruby-mode-map): Don't bind ruby-electric-brace,
3229 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3230 backward-kill-word, reindent-then-newline-and-indent.
3231 (ruby-mark-defun): Remove.
3232 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3233 (ruby-mode): Set local beginning-of-defun-function and
3234 end-of-defun-function values.
3235
3236 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3237
3238 * window.el (temp-buffer-window-setup-hook)
3239 (temp-buffer-window-show-hook): New hooks.
3240 (temp-buffer-window-setup, temp-buffer-window-show)
3241 (with-temp-buffer-window): New functions.
3242 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3243 (special-display-popup-frame): Make sure the window used shows BUFFER.
3244
3245 * help.el (temp-buffer-resize-mode): Fix doc-string.
3246 (resize-temp-buffer-window): New optional argument WINDOW.
3247
3248 * files.el (recover-file, save-buffers-kill-emacs):
3249 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3250
3251 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3252
3253 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3254 remote definition of `default-directory', ensure we can connect.
3255
3256 2012-09-02 Juri Linkov <juri@jurta.org>
3257
3258 Toggle whitespace matching mode with M-s SPC.
3259 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3260
3261 * isearch.el (search-whitespace-regexp): Doc fix.
3262 Remove cons cell customization.
3263 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3264 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3265 New variables.
3266 (isearch-forward, isearch-forward-regexp): Doc fix.
3267 (isearch-toggle-lax-whitespace): New command.
3268 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3269 (re-search-forward-lax-whitespace)
3270 (re-search-backward-lax-whitespace): New functions.
3271 (isearch-whitespace-regexp): Remove function.
3272 (isearch-query-replace): Let-bind replace-search-function and
3273 replace-re-search-function.
3274 (isearch-occur): Let-bind search-spaces-regexp according to the
3275 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3276 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3277 condition for C-q SPC.
3278 (isearch-search-fun-default): Use new functions mentioned above.
3279 (isearch-search-forward, isearch-search-backward): Remove functions.
3280 (isearch-search): Don't let-bind search-spaces-regexp.
3281 (isearch-lazy-highlight-space-regexp): Remove variable.
3282 (isearch-lazy-highlight-lax-whitespace)
3283 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3284 (isearch-lazy-highlight-new-loop): Use them.
3285 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3286
3287 2012-09-02 Chong Yidong <cyd@gnu.org>
3288
3289 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3290
3291 2012-09-02 Glenn Morris <rgm@gnu.org>
3292
3293 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3294
3295 2012-09-01 Glenn Morris <rgm@gnu.org>
3296
3297 * term.el: Tidy up menu definitions.
3298 (term-mode-map): Use easymenu for In/Out, Complete menus.
3299 (term-pager-break-map): Initialize in the defvar.
3300 (term-terminal-menu, term-signals-menu): Define with easymenu.
3301 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3302 (term-pager-menu): New, extracted from term-process-pager.
3303 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3304 (term-update-mode-line): Propertize line/char and page items.
3305 (term-process-pager): Move keymap initialization elsewhere.
3306
3307 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3308
3309 * window.el (switch-to-prev-buffer): Handle additional values of
3310 BURY-OR-KILL argument. Don't switch in minibuffer window.
3311 (switch-to-next-buffer): Don't switch in minibuffer window.
3312 (quit-restore-window): New function based on quit-window.
3313 Handle additional values of former KILL argument.
3314 (quit-window): Call quit-restore-window with appropriate
3315 interpretation of KILL argument.
3316 (display-buffer-below-selected): New buffer display action
3317 function.
3318
3319 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * minibuffer.el (completion-at-point-functions): Complete docstring
3322 (bug#12254).
3323
3324 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3325
3326 Better seed support for (random).
3327 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3328 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3329 * play/mpuz.el, play/tetris.el, play/zone.el:
3330 * calc/calc-comb.el (math-init-random-base):
3331 * play/blackbox.el (bb-init-board):
3332 * play/life.el (life):
3333 * server.el (server-use-tcp):
3334 * type-break.el (type-break):
3335 Remove unnecessary call to (random t).
3336 * net/sasl.el (sasl-unique-id-function):
3337 Change (random t) to (random), now that the latter is more random.
3338 * play/life.el (life-initialized): Remove no-longer-needed var.
3339
3340 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3341
3342 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3343 Consider frame's buffer predicate when choosing the buffer.
3344 (Bug#12081)
3345
3346 2012-08-30 Richard Stallman <rms@gnu.org>
3347
3348 * simple.el (special-mode-map): Delete binding for `z'.
3349
3350 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3351
3352 * progmodes/compile.el (compilation-always-kill): Doc fix.
3353
3354 2012-08-30 Chong Yidong <cyd@gnu.org>
3355
3356 * window.el (display-buffer-reuse-frames): Make the obsolescence
3357 message more informative.
3358
3359 2012-08-30 Glenn Morris <rgm@gnu.org>
3360
3361 * paren.el (show-paren-delay):
3362 Add a :set function. Doc fix. (Bug#12297)
3363
3364 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3365
3366 * progmodes/compile.el (compilation-always-kill): New var.
3367 (compilation-start): Use it.
3368
3369 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3372 * files.el (read-only-mode): Move to simple.el.
3373
3374 * files.el (read-only-mode): New minor mode.
3375 (toggle-read-only): Use it and mark obsolete.
3376 (find-file--read-only):
3377 * vc/vc.el (vc-next-action, vc-checkout):
3378 * vc/vc-cvs.el (vc-cvs-checkout):
3379 * obsolete/vc-mcvs.el (vc-mcvs-update):
3380 * ffap.el (ffap--toggle-read-only): Update callers.
3381
3382 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
3383
3384 * eshell/esh-ext.el (eshell-external-command): Do not examine
3385 remote shell scripts.
3386 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
3387
3388 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3389 "/usr/local/sbin".
3390
3391 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3394
3395 2012-08-28 Leo Liu <sdl.web@gmail.com>
3396
3397 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3398 completion-at-point. (Bug#12220)
3399
3400 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3401
3402 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3403
3404 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3407 be buffer-local; add delete-trailing-whitespace (bug#12259).
3408
3409 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
3410
3411 * progmodes/hideif.el (hif-compress-define-list):
3412 Fix typo. (Bug#11951)
3413
3414 2012-08-28 Dan Nicolaescu <dann@gnu.org>
3415
3416 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3417 buffer local setting.
3418
3419 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3420 rcirc-encode-coding-system.
3421
3422 2012-08-28 Leo Liu <sdl.web@gmail.com>
3423
3424 * net/rcirc.el (rcirc-split-message): New function.
3425 (rcirc-send-message): Use it. (Bug#12051)
3426
3427 2012-08-28 Juri Linkov <juri@jurta.org>
3428
3429 * info.el (Info-fontify-node): Hide empty lines at the end of
3430 the node. (Bug#12272)
3431
3432 2012-08-27 Drew Adams <drew.adams@oracle.com>
3433
3434 * dired.el (dired-pop-to-buffer): Make window start at beginning
3435 of buffer (Bug#12281).
3436
3437 2012-08-26 Chong Yidong <cyd@gnu.org>
3438
3439 * window.el (special-display-regexps, special-display-frame-alist)
3440 (special-display-buffer-names, special-display-function)
3441 (display-buffer-reuse-frames): Mark as obsolete.
3442
3443 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3444
3445 * help.el (help-print-return-message): Don't treat
3446 display-buffer-reuse-frames specially.
3447
3448 2012-08-26 Chong Yidong <cyd@gnu.org>
3449
3450 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3451 New variable, replacing gdb-frame-parameters.
3452 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3453 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3454 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3455 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3456 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3457 the functions directly with gdb-display-buffer-other-frame-action.
3458 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3459 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3460 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3461 (gdb-display-registers-buffer): Define directly.
3462 (def-gdb-display-buffer): Macro deleted.
3463 (gdb-display-buffer): Remove second and third args, callers don't
3464 use them. Defer to the default display-buffer behavior, apart
3465 from making windows dedicated.
3466 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3467
3468 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3469
3470 * window.el (display-buffer-pop-up-frame): Handle a
3471 pop-up-frame-parameters alist entry.
3472 (display-buffer): Document it.
3473
3474 2012-08-26 Chong Yidong <cyd@gnu.org>
3475
3476 * isearch.el (search-whitespace-regexp): Make string and nil
3477 values apply to both ordinary and regexp search. Allow a cons
3478 cell value to distinguish between the two.
3479 (isearch-whitespace-regexp, isearch-search-forward)
3480 (isearch-search-backward): New functions.
3481 (isearch-occur, isearch-search-fun-default, isearch-search)
3482 (isearch-lazy-highlight-new-loop): Use them.
3483 (isearch-forward, isearch-forward-regexp): Doc fix.
3484
3485 2012-08-26 Chong Yidong <cyd@gnu.org>
3486
3487 * faces.el (help-argument-name): Always inherit from italic
3488 (Bug#12213).
3489
3490 2012-08-25 Martin Rudalics <rudalics@gmx.at>
3491
3492 * window.el (window--even-window-heights): Even heights when
3493 WINDOW and the selected window form a vertical combination.
3494 (display-buffer-use-some-window): Provide that window used gets
3495 sized back by quit-window. (Bug#11880) and (Bug#12091)
3496
3497 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3498
3499 Fix file time stamp problem with bzr and CVS (Bug#12001).
3500 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3501 in the file's time stamp, since the version control system loses
3502 that information.
3503
3504 2012-08-22 Juri Linkov <juri@jurta.org>
3505
3506 * info.el (Info-fontify-node): Hide the suffix of the
3507 Info file name in the header line. (Bug#12187)
3508
3509 2012-08-22 Glenn Morris <rgm@gnu.org>
3510
3511 * calendar/cal-tex.el (cal-tex-weekly-common):
3512 Restore leading blank page.
3513
3514 2012-08-22 Le Wang <l26wang@gmail.com>
3515
3516 * misc.el (forward-to-word, backward-to-word): Activate or extend
3517 the region under `shift-select-mode'. (Bug#12231)
3518
3519 2012-08-22 Bastien Guerry <bzg@gnu.org>
3520
3521 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3522 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3523 gives details on why the space is never needed.
3524
3525 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3526
3527 * window.el (walk-window-tree, window-with-parameter):
3528 New optional argument MINIBUF to control whether these functions
3529 should run on the minibuffer window.
3530 (window-at-side-list): Don't operate on minibuffer window.
3531 (window-in-direction): Simplify and rewrite doc-string.
3532 (window--size-ignore): Rename to window--size-ignore-p.
3533 Update callers.
3534 (display-buffer-in-atom-window, window--major-non-side-window)
3535 (window--major-side-window, display-buffer-in-major-side-window)
3536 (delete-side-window, display-buffer-in-side-window):
3537 New functions.
3538 (window--side-check, window-deletable-p, delete-window)
3539 (delete-other-windows, split-window): Handle side windows and
3540 atomic windows appropriately.
3541 (window--display-buffer): Call display-buffer-record-window also
3542 when the window buffer did not change.
3543
3544 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3545
3546 * help-fns.el (help-fns--key-bindings):
3547 Abbreviate non-symbol remap targets. (Bug#12174)
3548
3549 2012-08-22 Martin Rudalics <rudalics@gmx.at>
3550
3551 * dired.el (dired-mark-remembered): Don't clobber point.
3552 (Bug#11795)
3553
3554 2012-08-22 Glenn Morris <rgm@gnu.org>
3555
3556 * progmodes/bug-reference.el (bug-reference): New custom group.
3557 (bug-reference-bug-regexp): Make it a defcustom.
3558
3559 2012-08-22 Daiki Ueno <ueno@unixuser.org>
3560
3561 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3562 (js-paren-indent-offset, js-square-indent-offset)
3563 (js-curly-indent-offset): Add :safe (Bug#12257).
3564
3565 2012-08-22 Edward O'Connor <hober0@gmail.com>
3566
3567 * json.el (json-key-format): Add error properties.
3568 (json-encode-key): New function.
3569 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3570 Use json-encode-key.
3571
3572 2012-08-22 Glenn Morris <rgm@gnu.org>
3573
3574 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3575 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3576 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3577 Update for above change.
3578
3579 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3580
3581 * cus-face.el (custom-face-attributes): Fix customize type for the
3582 :underline attribute. (Bug#11805)
3583
3584 2012-08-21 Martin Rudalics <rudalics@gmx.at>
3585
3586 * window.el (window-point-1, set-window-point-1): Remove.
3587 (window-in-direction, record-window-buffer)
3588 (set-window-buffer-start-and-point, split-window-below)
3589 (window--state-get-1, display-buffer-record-window):
3590 Replace calls to window-point-1 and set-window-point-1 by calls to
3591 window-point and set-window-point respectively.
3592
3593 2012-08-21 Glenn Morris <rgm@gnu.org>
3594
3595 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3596 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3597 Use it.
3598
3599 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3600 (cal-tex-shortday): New function.
3601 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3602 (cal-tex-cursor-filofax-daily): Use the above.
3603
3604 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3605 New functions.
3606 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3607 (cal-tex-cursor-filofax-week): Use them.
3608
3609 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3610 New constants.
3611 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3612 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3613
3614 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3615 (cal-tex-end-document): Don't rely on buffer name.
3616
3617 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3618 Use cal-tex-vspace.
3619 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3620 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
3621 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3622 Use cal-tex-arg.
3623
3624 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3625 (cal-tex-cursor-week, cal-tex-cursor-week2)
3626 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3627 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3628 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3629 (cal-tex-insert-preamble, cal-tex-b-document)
3630 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3631 Improve cal-tex-cmd usage.
3632
3633 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3634 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3635 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3636 (cal-tex-weekly-paper): New function.
3637 (cal-tex-cursor-week, cal-tex-cursor-week2)
3638 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3639 (cal-tex-cursor-day): Use it.
3640
3641 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3642 (cal-tex-cursor-filofax-week): Remove leading blank page.
3643
3644 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3645 Add autoload cookie. For now at least, don't use color, since
3646 no other cal-tex function does.
3647
3648 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3649 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3650 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3651
3652 2012-08-21 Juri Linkov <juri@jurta.org>
3653
3654 * info.el (Info-file-attributes): New variable.
3655 (info-insert-file-contents): Add file attributes to
3656 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3657 `Info-toc-nodes' when previous modtime of the Info file is less
3658 than new modtime.
3659 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3660 of info.el. (Bug#12230)
3661
3662 2012-08-20 Glenn Morris <rgm@gnu.org>
3663
3664 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3665 * calendar/holidays.el (calendar-holiday-list):
3666 Report errors with display-warning rather than beep'n'sleep.
3667
3668 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
3669
3670 * net/tramp.el (tramp-accept-process-output): Accept only output
3671 from PROC. Otherwise, process filters and sentinels might be
3672 confused. (Bug#12145)
3673
3674 2012-08-20 Chong Yidong <cyd@gnu.org>
3675
3676 * descr-text.el (describe-text-properties-1): Use overlays-in to
3677 report on empty overlays (Bug#3322).
3678
3679 2012-08-20 Glenn Morris <rgm@gnu.org>
3680
3681 * mail/rmailout.el (rmail-output-read-file-name):
3682 Trap and report errors in rmail-output-file-alist elements.
3683
3684 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3685 since most non-font-lock faces are not also variables).
3686
3687 2012-08-20 Edward Reingold <reingold@iit.edu>
3688
3689 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3690 New function. (Bug12160)
3691
3692 2012-08-19 Glenn Morris <rgm@gnu.org>
3693
3694 * mail/rmailout.el (rmail-output-read-file-name):
3695 Fix previous change (when the alist is nil or does not match).
3696
3697 2012-08-19 Chong Yidong <cyd@gnu.org>
3698
3699 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3700 (Bug#12228).
3701
3702 2012-08-18 Chong Yidong <cyd@gnu.org>
3703
3704 * simple.el (yank-handled-properties): New defcustom.
3705 (yank-excluded-properties): Add font-lock-face and category.
3706 (yank): Doc fix.
3707
3708 * subr.el (remove-yank-excluded-properties):
3709 Obey yank-handled-properties. The special handling of font-lock-face
3710 and category is now done this way, instead of being hard-coded.
3711 (insert-for-yank-1): Remove font-lock-face handling.
3712 (yank-handle-font-lock-face-property)
3713 (yank-handle-category-property): New function.
3714
3715 2012-08-17 Glenn Morris <rgm@gnu.org>
3716
3717 * mail/rmailout.el (rmail-output-read-file-name):
3718 Check rmail-output-file-alist against the full message body
3719 in the correct rmail buffer. (Bug#12214)
3720
3721 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
3722
3723 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3724 Eliminate superfluous prompt. (Bug#12203)
3725
3726 2012-08-17 Chong Yidong <cyd@gnu.org>
3727
3728 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3729 font spec, set the font directly (Bug#3228).
3730
3731 2012-08-17 Martin Rudalics <rudalics@gmx.at>
3732
3733 * window.el (delete-window): Fix last fix.
3734
3735 2012-08-16 Martin Rudalics <rudalics@gmx.at>
3736
3737 * window.el (window-valid-p): Move to window.c.
3738 (window-child, window-child-count, window-last-child)
3739 (window-normalize-window, window-combined-p)
3740 (window-combinations, window-atom-root, window-min-size)
3741 (window-sizable, window-sizable-p, window-size-fixed-p)
3742 (window-min-delta, window-max-delta, window--resizable)
3743 (window--resizable-p, window-resizable, window-total-size)
3744 (window-full-height-p, window-full-width-p, window-body-size)
3745 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3746 (minimize-window, window-deletable-p, delete-window)
3747 (delete-other-windows, set-window-buffer-start-and-point)
3748 (next-buffer, previous-buffer, split-window, balance-windows-2)
3749 (set-window-text-height, window-buffer-height)
3750 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3751 (truncated-partial-width-window-p): Minor code adjustments.
3752 In doc-strings state whether the argument window has to denote a
3753 live, valid or any window.
3754
3755 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3756
3757 * progmodes/subword.el (subword-forward-function)
3758 (subword-backward-function, subword-forward-regexp)
3759 (subword-backward-regexp): New variables.
3760 (subword-forward, subword-forward-internal, subword-backward-internal):
3761 Use new variables, eg so that different "word" definitions
3762 can be easily used. (Bug#11411)
3763
3764 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3765
3766 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3767 for composite selectors.
3768 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3769 operation just because we can't find a previous revision.
3770
3771 2012-08-15 Chong Yidong <cyd@gnu.org>
3772
3773 * frame.el (set-frame-font): Accept font objects.
3774
3775 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3776
3777 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3778
3779 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3780
3781 * man.el (Man-overstrike-face, Man-underline-face)
3782 (Man-reverse-face): Remove variables.
3783 (Man-overstrike, Man-underline, Man-reverse): New faces.
3784 (Man-fontify-manpage): Use them instead of the variables.
3785 (Man-cleanup-manpage): Comment change.
3786 (Man-ansi-color-map): New variable.
3787 (Man-fontify-manpage): Use it.
3788 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3789
3790 Implement ANSI SGR parameters 22-27 (bug#12146).
3791 * ansi-color.el (ansi-colors): Doc fix.
3792 (ansi-color-context, ansi-color-context-region): Doc fix.
3793 (ansi-color--find-face): New function.
3794 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3795 Rename the local variable `face' to `codes' since it is now a list of
3796 ansi codes. Doc fix.
3797 (ansi-color-get-face): Remove.
3798 (ansi-color-parse-sequence): New function, derived from
3799 ansi-color-get-face.
3800 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3801 codes 22-27.
3802
3803 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * subr.el (read-passwd): Allow use from a minibuffer.
3806
3807 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3808
3809 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3810 inside comments and strings as identifiers.
3811
3812 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3813 expression to evaluate. This allows to evaluate expressions with
3814 embedded whitespace.
3815 (gud-tooltip-tips): Add a blank before the newline in the
3816 message-box text, for the benefit of message-box emulation on
3817 MS-Windows.
3818
3819 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3820 messages from GDB, pop them up in a tooltip to give feedback to
3821 user.
3822 (gdb-tooltip-print-1): Quote the expression to evaluate.
3823 This allows to evaluate expressions with embedded whitespace.
3824 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3825 if the TTY name is nil or empty (which happens when communicating
3826 with the inferior via pipes, e.g. on MS-Windows).
3827 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3828 don't send that to the GUD buffer.
3829
3830 2012-08-14 Glenn Morris <rgm@gnu.org>
3831
3832 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3833 Optimize away setq-default with no args, as for setq. (Bug#12195)
3834
3835 2012-08-14 Chong Yidong <cyd@gnu.org>
3836
3837 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3838
3839 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3840 (Bug#12085).
3841
3842 2012-08-14 Glenn Morris <rgm@gnu.org>
3843
3844 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3845
3846 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3847
3848 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3849 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3850 Use cached shell name.
3851
3852 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3853
3854 * progmodes/python.el (python-shell-send-string):
3855 (python-shell-send-setup-code): Do not use `format' with `message'.
3856
3857 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3858
3859 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3860 (ruby-percent-literal-beg-re): New constant.
3861 (ruby-syntax-general-delimiters-goto-beg): Rename to
3862 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3863 (ruby-syntax-propertize-general-delimiters): Rename to
3864 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3865 popular term. Adjust comments everywhere.
3866 (ruby-syntax-propertize-percent-literal): Only propertize when not
3867 inside a simple string or comment. When the literal is unclosed,
3868 leave the text after it unpropertized.
3869 (ruby-syntax-methods-before-regexp): New constant.
3870 (ruby-syntax-propertize-function): Use it to recognize regexps.
3871 Don't look at the text after regexp, just use the whitelist.
3872
3873 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3874
3875 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3876 non-nil always load the compiled file if it exists. (Bug#12197)
3877
3878 2012-08-14 Chong Yidong <cyd@gnu.org>
3879
3880 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3881 (hi-lock-set-pattern): When deciding whether to use font lock or
3882 overlays, look at font-lock-mode instead of font-lock-fontified
3883 (Bug#12168).
3884 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3885 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3886
3887 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3888
3889 * subr.el (internal--after-with-selected-window): Fix typo
3890 (Bug#12193).
3891
3892 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3893
3894 Use `completion-table-dynamic' for completion functions.
3895 * progmodes/python.el
3896 (python-shell-completion--do-completion-at-point)
3897 (python-shell-completion--get-completions):
3898 Remove functions.
3899 (python-shell-completion-complete-at-point): New function.
3900 (python-completion-complete-at-point): Use it.
3901
3902 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3903
3904 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3905 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3906
3907 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * subr.el (function-get): Refine `autoload' arg so it can also
3910 autoload functions for gv.el (bug#12191).
3911 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3912 autoloads macros.
3913
3914 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3915 Prefer pcase-let over destructuring-bind.
3916 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3917 Also, remove whitespace as we go, rather than after accumulating the
3918 various places.
3919
3920 * subr.el (internal--before-with-selected-window)
3921 (internal--after-with-selected-window): Fix typo seleted->selected.
3922 (with-selected-window): Adjust callers.
3923 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3924
3925 2012-08-13 Bastien Guerry <bzg@gnu.org>
3926
3927 * window.el (special-display-popup-frame): Minor docstring
3928 enhancement. (Bug#12172)
3929
3930 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3931
3932 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3933 type 1-6.
3934 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3935 extended headers.
3936
3937 * files.el (hack-local-variables-filter): Remove useless eval.
3938
3939 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3940
3941 * subr.el (with-selected-window): Fix last change.
3942
3943 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * subr.el (internal--before-with-seleted-window)
3946 (internal--after-with-seleted-window): New functions.
3947 (with-selected-window): Use them, to replace dependency on
3948 tty-top-frame.
3949
3950 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3951
3952 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3953 binding for `newline'.
3954 (ruby-move-to-block): When moving backward, stop at block opening,
3955 not indentation.
3956 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3957 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3958 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3959 `ruby-toggle-block'.
3960
3961 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * ibuffer.el (ibuffer-do-toggle-read-only):
3964 * dired.el (dired-toggle-read-only):
3965 * buff-menu.el (Buffer-menu-toggle-read-only):
3966 * bindings.el (mode-line-toggle-read-only):
3967 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3968
3969 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3970
3971 * descr-text.el (describe-char): Put the overlays over the
3972 "displayed as" character.
3973
3974 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3975
3976 * calc/calc-units.el (math-default-units-table): Give an
3977 initial value.
3978 (math-put-default-units): Add options to put composite units and
3979 unit systems in the default units table.
3980 (calc-convert-units): Send composite units to
3981 `math-put-default-units' when appropriate.
3982
3983 2012-08-11 Glenn Morris <rgm@gnu.org>
3984
3985 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3986
3987 * tutorial.el (help-with-tutorial):
3988 * emacs-lisp/copyright.el (copyright-update-directory):
3989 * emacs-lisp/autoload.el (autoload-find-generated-file)
3990 (autoload-find-file): Disable local eval: (for insurance).
3991
3992 * files.el (hack-local-variables-filter): If an eval: form is not
3993 known to be safe, and enable-local-variables is :safe, then ignore
3994 the form totally, as is done for non-eval forms. (Bug#12155)
3995 This is CVE-2012-3479.
3996
3997 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4000 (rx-form): Simplify.
4001
4002 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4003
4004 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4005 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4006 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4007 (ruby-syntax-propertize-function): Adjust for changes in
4008 `ruby-syntax-propertize-heredoc'.
4009
4010 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4011
4012 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4013 binding (use `M-;' instead).
4014 (ruby-singleton-class-p): New function.
4015 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4016
4017 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4020
4021 2012-08-10 Chong Yidong <cyd@gnu.org>
4022
4023 * progmodes/python.el (python-shell-get-process-name): Don't mess
4024 with same-window-buffer-names.
4025
4026 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4027 (eshell-remove-from-window-buffer-names): Make obsolete.
4028 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4029 (eshell): Just use pop-to-buffer-same-window instead.
4030
4031 2012-08-10 Chong Yidong <cyd@gnu.org>
4032
4033 * bindings.el: Bind M-= back to count-words-region.
4034
4035 * simple.el (count-words-region): Accept a prefix arg for acting
4036 on the entire buffer.
4037 (count-words--buffer-message): New helper function.
4038
4039 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4042 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4043 (event-start, event-end): Use posn-at-point to return a more
4044 informative posn.
4045 (posnp): New function.
4046 * mouse.el (popup-menu-normalize-position): Use it.
4047
4048 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4049
4050 * mouse.el (popup-menu-normalize-position): New function.
4051 (popup-menu): Use `popup-menu-normalize-position' to normalize
4052 the form for POSITION argument.
4053
4054 * term/x-win.el (x-menu-bar-open):
4055 Use the value returend from (posn-at-point) as position
4056 passed to `popup-menu'.
4057
4058 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4059
4060 * calc/calccomp.el (math-compose-expr): Add extra argument
4061 indicating that parentheses should be put around products in
4062 denominators. Give multiplication precedence over division during
4063 composition.
4064
4065 2012-08-09 Chong Yidong <cyd@gnu.org>
4066
4067 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4068 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4069 (Man-untabify-command, manual-program): Convert to defcustom
4070 (Bug#10429).
4071
4072 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4073
4074 * descr-text.el (describe-char): Don't insert extra newlines
4075 (Bug#10127).
4076
4077 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4078 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4079
4080 * align.el (align-region): Delete temporary markers (Bug#10047).
4081 Plus some code cleanups.
4082
4083 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4084
4085 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4086 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4087 (python-shell-internal-last-output): Use make-local-variable
4088 instead of make-variable-buffer-local.
4089
4090 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4091
4092 * progmodes/python.el: Enhancements to forward-sexp.
4093 (python-nav-forward-sexp): Rename from
4094 python-nav-forward-sexp-function.
4095 (python-nav--forward-sexp, python-nav--backward-sexp):
4096 New functions.
4097
4098 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4099
4100 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4101 modes and simplification modes.
4102
4103 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * delsel.el (delete-selection-pre-hook): Don't propagate the
4106 file-supersession signals (bug#12161).
4107
4108 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4111 (cl-map-extents): Add compatibility aliases (bug#12135).
4112
4113 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4114
4115 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4116 tests by `ignore-error'.
4117 (tramp-find-shell): Open also a new shell, when cache is already
4118 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4119
4120 2012-08-08 Juri Linkov <juri@jurta.org>
4121
4122 * bookmark.el: Add `defaults' property to the bookmark record.
4123 (bookmark-current-buffer): Doc fix.
4124 (bookmark-make-record): Add `defaults' property with default values
4125 to the bookmark record.
4126 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4127 with `bookmark-insert-current-bookmark'.
4128 (bookmark-set): Get `defaults' property from the bookmark record
4129 and use it in `read-from-minibuffer'.
4130 (bookmark-insert-current-bookmark): Remove function.
4131
4132 * info.el (Info-bookmark-make-record): Add `defaults' property
4133 with values of canonical Info node name, the current Info file
4134 name and the current Info node name. (Bug#12107)
4135
4136 2012-08-08 Juri Linkov <juri@jurta.org>
4137
4138 * files.el (basic-save-buffer): Use `buffer-name' as the default
4139 of `read-file-name' when buffer is not visiting a file (bug#12128).
4140
4141 2012-08-08 Juri Linkov <juri@jurta.org>
4142
4143 * info.el (Info-isearch-search): Doc fix.
4144 (Info-search): Change search-failed message from "initial node" to
4145 "end of node" (bug#12078).
4146 (Info-isearch-search): Change `isearch-string-state' to
4147 `isearch--state-string'.
4148
4149 2012-08-08 Glenn Morris <rgm@gnu.org>
4150
4151 * language/persian.el: Remove file.
4152 * language/misc-lang.el: Move unique part of persian.el here.
4153 * loadup.el: Remove language/persian.
4154
4155 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4156
4157 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4158
4159 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4160
4161 * progmodes/python.el Fixed defsubst warning.
4162 (python-syntax-context) Rename from python-info-ppss-context.
4163 (python-syntax-context-type): Rename from
4164 python-info-ppss-context-type.
4165 (python-syntax-comment-or-string-p): Rename from
4166 python-info-ppss-comment-or-string-p.
4167
4168 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4169
4170 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4171
4172 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4173
4174 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4175 a defcustom that is quoted with backquote.
4176
4177 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4178 Fix handling of interactive spec when the body uses return.
4179 (math-do-arg-check, math-define-function-body): Use backquote forms.
4180 * calc/calc-ext.el (math-defcache): Likewise.
4181 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4182 * allout.el (allout-new-exposure): Likewise.
4183 * calc/calcalg2.el (math-tracing-integral): Likewise.
4184 * info.el (Info-last-menu-item): Likewise.
4185 * emulation/vip.el (vip-loop): Likewise.
4186 * textmodes/artist.el (artist-funcall): Likewise.
4187 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4188 Construct menu-item directly.
4189
4190 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4191 Don't declare.
4192
4193 2012-08-07 Chong Yidong <cyd@gnu.org>
4194
4195 * simple.el (deactivate-mark): Preserve text properties when
4196 saving the primary selection (Bug#8384).
4197
4198 2012-08-07 Kevin Ryde <user42@zip.com.au>
4199
4200 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4201 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4202 and continue processing (Bug#12110).
4203
4204 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4207 syntax-propertize-function (bug#10095).
4208
4209 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4212 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4213 describe-function-1.
4214 (describe-function-1): Use them. Move compiler macro after sig.
4215 (help-fns--compiler-macro): Use function-get. Assume we're already in
4216 standard-output. Adjust layout to new call order.
4217
4218 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4219 re-binding a symbol that has a symbol-macro (bug#12119).
4220
4221 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4222
4223 * language/persian.el: New file. (Bug#11812)
4224 * loadup.el: Add language/persian.el.
4225
4226 2012-08-06 Chong Yidong <cyd@gnu.org>
4227
4228 * window.el (window--maybe-raise-frame): New function.
4229 (window--display-buffer): Split off from here.
4230 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4231 (display-buffer-pop-up-window, display-buffer-use-some-window):
4232 Obey an inhibit-switch-frame action alist entry.
4233 (display-buffer): Update doc.
4234
4235 * replace.el (occur-after-change-function): Avoid losing focus by
4236 using the inhibit-switch-frame display parameter (Bug#12139).
4237
4238 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4239
4240 Make internal shell process buffer names start with space.
4241 * progmodes/python.el (python-shell-make-comint): Add optional
4242 argument INTERNAL.
4243 (run-python-internal): Use it.
4244 (python-shell-internal-get-or-create-process): Check for new
4245 internal buffer names.
4246
4247 2012-08-06 Glenn Morris <rgm@gnu.org>
4248
4249 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4250 Do less getting and setting of environment variables.
4251
4252 2012-08-05 Chong Yidong <cyd@gnu.org>
4253
4254 * proced.el (proced): Add substitution string to docstring to
4255 trigger autoloading of the proced library on C-h f (Bug#1768).
4256
4257 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4258 Don't show defvars which have no second argument (Bug#8638).
4259
4260 * imenu.el (imenu-generic-expression): Move documentation here
4261 from imenu--generic-function.
4262 (imenu--generic-function): Refer to imenu-generic-expression.
4263
4264 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4265
4266 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4267 indentation declaration.
4268 (viper-loop): Add indentation declaration (Bug#7025).
4269
4270 2012-08-05 Chong Yidong <cyd@gnu.org>
4271
4272 * help-fns.el (describe-variable): Add hyperlink for
4273 directory-local variables files. Improve buffer-local and
4274 permanent-local reporting; suggested by MON KEY (Bug#6644).
4275
4276 * help-mode.el (help-dir-local-var-def): New button type.
4277
4278 * files.el (kill-buffer-hook): Provide a defvar.
4279
4280 2012-08-05 Glenn Morris <rgm@gnu.org>
4281
4282 * eshell/esh-ext.el (eshell/addpath):
4283 Also update eshell-path-env. (Bug#12013)
4284
4285 2012-08-05 Chong Yidong <cyd@gnu.org>
4286
4287 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4288
4289 * fringe.el (fringe-styles): Add docstring.
4290 (fringe--check-mode): New function.
4291 (set-fringe-mode, set-fringe-style): Use it.
4292 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4293
4294 * files.el (set-auto-mode): Fix invalid setq call.
4295
4296 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * isearch.el: Misc simplification; use defstruct.
4299 (isearch-mode-map): Dense maps now work like sparse ones.
4300 (isearch--state): New defstruct.
4301 (isearch-string-state, isearch-message-state, isearch-point-state)
4302 (isearch-success-state, isearch-forward-state)
4303 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4304 (isearch-wrapped-state, isearch-barrier-state)
4305 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4306 replaced by defstruct's accessors.
4307 (isearch--set-state): Rename from isearch-top-state and change
4308 calling convention.
4309 (isearch-push-state): Use new isearch--get-state.
4310 (isearch-toggle-word): Disable regexp when enabling word.
4311 (isearch-message-prefix): Remove unused arg _c-q-hack.
4312 (isearch-message-suffix): Remove unused arg _ellipsis.
4313
4314 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4315
4316 * simple.el (list-processes--refresh): For a server use :host or
4317 :local as the address.
4318 (list-processes): Doc fix.
4319
4320 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4321
4322 * lisp/mpc.el: Support password in host argument.
4323 (mpc--proc-connect): Parse and use new password element.
4324 Set mpc-proc variable instead of returning process.
4325 (mpc-proc): Adjust accordingly.
4326
4327 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4328
4329 * whitespace.el (whitespace-display-mappings): Use Unicode
4330 codepoints, instead of emacs-mule codepoints. See
4331 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4332 for the details.
4333
4334 * files.el (file-truename): Don't skip symlink-chasing part on
4335 windows-nt. Incorporate the resolution of 8+3 short aliases on
4336 Windows into the loop that recursively chases symlinks.
4337 Compare directory and its parent case-insensitively on MS-Windows and
4338 MS-DOS.
4339
4340 2012-08-03 Chong Yidong <cyd@gnu.org>
4341
4342 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4343
4344 * sort.el (sort-regexp-fields): Doc fix.
4345
4346 2012-08-03 Tassilo Horn <tsdh@gnu.org>
4347
4348 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4349 labels regex position point at the expected place.
4350
4351 2012-08-03 MON KEY <monkey@sandpframing.com>
4352
4353 * net/imap.el (imap-interactive-login, imap-authenticate)
4354 (imap-mailbox-lsub, imap-mailbox-list)
4355 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4356 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4357 (imap-parse-response): Doc fix.
4358
4359 2012-08-03 João Távora <joaotavora@gmail.com>
4360
4361 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4362 if sexp scanning does not move point (Bug#5734).
4363
4364 2012-08-02 Tassilo Horn <tsdh@gnu.org>
4365
4366 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4367 Add listings, minted, and ctable packages.
4368 (reftex-label-alist-builtin): Move listings, minted, and ctable
4369 entries before LaTeX.
4370 (reftex-label-alist): Docfix.
4371
4372 2012-08-02 Bastien Guerry <bzg@gnu.org>
4373
4374 * replace.el (occur): Fix docstring (bug#12122).
4375
4376 2012-08-02 Glenn Morris <rgm@gnu.org>
4377
4378 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4379
4380 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4381
4382 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4383 * international/mule-cmds.el: Create
4384 inactivate-current-input-method-function as an obsolete alias for
4385 deactivate-current-input-method-function. See Katsumi Yamaoka in
4386 <http://bugs.gnu.org/10150#46>.
4387
4388 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4389
4390 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4391 of nested `if's.
4392
4393 2012-08-01 Glenn Morris <rgm@gnu.org>
4394
4395 * progmodes/autoconf.el (autoconf-definition-regexp):
4396 Add AH_TEMPLATE, adjust submatch numbering.
4397 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4398 (autoconf-current-defun-function): Update for above change.
4399 (autoconf-current-defun-function): First skip to end of current word.
4400
4401 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4402
4403 * calendar/cal-html.el (cal-html-insert-agenda-days):
4404 Fix typo. (Bug#12018)
4405
4406 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4407
4408 Shell processes: enhancements to startup and CEDET compatibility.
4409 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4410 (python-shell-make-comint): accept-process-output at startup.
4411 (run-python-internal): Set inferior-python-mode-hook to nil.
4412 (python-shell-internal-get-or-create-process): call sit-for.
4413 (python-preoutput-result): Add obsolete alias.
4414 (python-shell-internal-send-string): Use it.
4415 (python-shell-send-setup-code): Remove call to
4416 accept-process-output.
4417
4418 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4419
4420 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4421 (Bug#12108)
4422
4423 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4424
4425 * calc-mode.el (calc-basic-simplification-mode): Rename from
4426 `calc-limited-simplification-mode'.
4427 (calc-alg-simplification-mode): New function.
4428 (calc-set-simplify-mode): Adjust message.
4429
4430 * calc.el (calc-set-mode-line): Adjust mode line display for
4431 basic simplification mode.
4432
4433 * calc-help.el (calc-m-prefix-help): Update help message.
4434
4435 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4436 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4437
4438 2012-07-31 Bastien Guerry <bzg@gnu.org>
4439
4440 * man.el (man): Fix comment. (bug#12101)
4441
4442 2012-07-31 Martin Rudalics <rudalics@gmx.at>
4443
4444 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4445 Don't return a non-nil value when no suitable buffer was found.
4446
4447 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4448
4449 * progmodes/python.el (run-python-internal): Disable font lock for
4450 internal shells.
4451
4452 2012-07-30 Stefan Merten <smerten@oekonux.de>
4453
4454 * textmodes/rst.el: Silence `checkdoc-ispell'.
4455 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4456 (rst-official-version, rst-official-cvs-rev)
4457 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4458 (rst-mode-map): New key binding.
4459
4460 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4461
4462 Update .PHONY listings in makefiles.
4463 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4464 autoloads, update-subdirs, updates, bzr-update, update-authors,
4465 compile-onefile, compile-calc, backup-compiled-files,
4466 compile-after-backup, compile-one-process, mh-autoloads,
4467 bootstrap-clean, distclean, maintainer-clean.
4468
4469 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4470
4471 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4472 (calc-set-mode-line): Don't display "AlgSimp ".
4473
4474 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4475 (calc-lim-simplify-mode): New function.
4476 (calc-set-simplify-mode): Default to 'alg.
4477 (calc-default-simplify-mode): Make algebraic simplifications
4478 the default.
4479
4480 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4481 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4482
4483 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4484 indicate new simplification modes.
4485
4486 * calc/README: Mention new default simplification mode.
4487
4488 * calc/calc.el (math-normalize-error): New variable.
4489 (math-normalize): Set `math-normalize-error' to t
4490 when there's an error.
4491
4492 * calc/calc-alg.el (math-simplify): Don't simplify when
4493 `math-normalize' returns an error.
4494
4495 2012-07-29 Eli Zaretskii <eliz@gnu.org>
4496
4497 * international/mule-cmds.el (set-locale-environment): Revert last
4498 change, since display-graphic-p returns nil when this function is
4499 called during startup. Instead...
4500
4501 * term/w32console.el (terminal-init-w32console): ...setup the
4502 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4503
4504 2012-07-29 Juri Linkov <juri@jurta.org>
4505
4506 * simple.el (goto-line): Don't display default line number in the
4507 prompt because it should be displayed by `read-number' (bug#9952).
4508 Add the current line number to the defaults of `goto-line' to
4509 allow its easier modification by users with `M-n' (bug#9201).
4510
4511 * subr.el (read-number): Support multiple default values like in
4512 other minibuffer reading functions. Replace `read' with
4513 `string-to-number' for consistency with `number-to-string'.
4514
4515 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4516
4517 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4518 * emulation/viper-init.el (viper-deactivate-input-method-action):
4519 Rename from viper-inactivate-input-method-action.
4520 (viper-deactivate-input-method):
4521 Rename from viper-inactivate-input-method.
4522 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4523 * international/mule-cmds.el (deactivate-input-method):
4524 Rename from inactivate-input-method.
4525 Also run input-method-deactivate-hook.
4526 (deactivate-current-input-method-function):
4527 Rename from inactivate-current-input-method-function.
4528 (input-method-deactivate-hook): New hook.
4529 (input-method-inactivate-hook): Mark obsolete.
4530 (inactivate-input-method): Mark obsolete.
4531
4532 * international/quail.el (quail-activate):
4533 Also run quail-deactivate-hook.
4534 (quail-deactivate): Rename from quail-inactivate.
4535 * international/robin.el (robin-activate):
4536 Also run robin-deactivate-hook.
4537 (robin-deactivate): Rename from robin-inactivate.
4538
4539 2012-07-29 Chong Yidong <cyd@gnu.org>
4540
4541 * simple.el (indicate-copied-region): New function.
4542 (kill-ring-save): Split off from here.
4543
4544 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4545 (kill-rectangle): Set deactivate-mark to t on read-only error.
4546
4547 * register.el (copy-to-register, copy-rectangle-to-register):
4548 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4549 (append-to-register, prepend-to-register): Call indicate-copied-region.
4550
4551 2012-07-29 Juri Linkov <juri@jurta.org>
4552
4553 * simple.el (async-shell-command-buffer): New defcustom.
4554 (shell-command): Use it. (Bug#4719)
4555
4556 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4557
4558 * international/mule-cmds.el (set-locale-environment): In a
4559 console session on MS-Windows, set up keyboard and terminal
4560 encoding from the OEM codepage, not the ANSI codepage.
4561 (Bug#12055)
4562
4563 2012-07-28 Chong Yidong <cyd@gnu.org>
4564
4565 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4566 gdb-get-location.
4567
4568 2012-07-28 Leo Liu <sdl.web@gmail.com>
4569
4570 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4571 the alist (bug#12029).
4572
4573 2012-07-28 Eli Zaretskii <eliz@gnu.org>
4574
4575 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4576 (compile-always, compile-first)
4577 ($(lisp)/calendar/cal-loaddefs.el)
4578 ($(lisp)/calendar/diary-loaddefs.el)
4579 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4580 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4581 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4582 instead of on update-subdirs.
4583 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4584
4585 2012-07-28 Chong Yidong <cyd@gnu.org>
4586
4587 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4588 directory if vc-deduce-backend returns nil (Bug#7350).
4589
4590 * simple.el (delete-trailing-lines): New option.
4591 (delete-trailing-whitespace): Obey it (Bug#11879).
4592
4593 2012-07-28 David Engster <deng@randomsample.de>
4594
4595 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4596 Explanation of new 'symbol-qnames feature in doc-strings.
4597 (xml-maybe-do-ns): Return expanded names as plain symbols if
4598 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4599 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4600
4601 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4602
4603 Consistent completion in inferior python with emacs -nw.
4604 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4605 binding in inferior-python-mode-map with "\t".
4606 (python-shell-completion-complete-at-point)
4607 (python-completion-complete-at-point): Remove interactive spec.
4608
4609 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4610
4611 * calc/calccomp.el (math-compose-expr): Undo previous change.
4612
4613 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4614
4615 * progmodes/python.el (python-mode-map): Add keybinding for
4616 run-python.
4617 (python-shell-make-comint): Fix pop-to-buffer call.
4618 (run-python): Autoload. New arg SHOW.
4619 (python-shell-get-or-create-process): Do not pop python process
4620 buffer.
4621
4622 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
4623
4624 * notifications.el (notifications-on-action-signal)
4625 (notifications-on-closed-signal): Use also the bus address for the map.
4626 (notifications-notify, notifications-close-notification)
4627 (notifications-get-capabilities): Add optional argument BUS.
4628
4629 2012-07-27 Tassilo Horn <tsdh@gnu.org>
4630
4631 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4632 Add support for the lstlisting and minted environments, and for the
4633 ctable macro.
4634 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4635 labels written in keyvals syntax.
4636
4637 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4638
4639 * calc/calccomp.el (math-compose-expr): Use parentheses when
4640 there is a product in the denominator of a fraction.
4641
4642 2012-07-26 Eli Zaretskii <eliz@gnu.org>
4643
4644 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4645 ($(lisp)/calendar/diary-loaddefs.el)
4646 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4647 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4648 Fixes failures in parallel bootstrap because subdirs.el is being
4649 rewritten while the autoload files are built at the same time,
4650 which needs to load subdirs.el.
4651
4652 2012-07-26 Martin Rudalics <rudalics@gmx.at>
4653
4654 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4655 (mouse-drag-line): Don't exit tracking when a switch-frame or
4656 switch-window event occurs (Bug#12006).
4657
4658 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * mouse.el (popup-menu): Fix last change.
4661
4662 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4663
4664 Autoload from Lisp with more care. Follow aliases when looking for
4665 function properties.
4666 * subr.el (autoloadp): New function.
4667 (symbol-file): Use it.
4668 (function-get): New function.
4669 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4670 autoload-do-load.
4671 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4672 (lisp-indent-function):
4673 * emacs-lisp/gv.el (gv-get):
4674 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4675 * emacs-lisp/byte-opt.el (byte-optimize-form):
4676 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4677 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4678 Use function-get.
4679 * emacs-lisp/cl.el: Don't propagate function properties any more.
4680
4681 * speedbar.el (speedbar-add-localized-speedbar-support):
4682 * emacs-lisp/disass.el (disassemble-internal):
4683 * desktop.el (desktop-load-file):
4684 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4685 (describe-function-1):
4686 * emacs-lisp/find-func.el (find-function-noselect):
4687 * emacs-lisp/elp.el (elp-instrument-function):
4688 * emacs-lisp/advice.el (ad-has-proper-definition):
4689 * apropos.el (apropos-safe-documentation, apropos-macrop):
4690 * emacs-lisp/debug.el (debug-on-entry):
4691 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4692 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4693 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4694
4695 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4696
4697 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4698 function, not an obsolete variable (Bug#12046).
4699
4700 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4701
4702 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4703
4704 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4705
4706 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4707 window only if it is still live (Bug#12034).
4708
4709 2012-07-25 Martin Rudalics <rudalics@gmx.at>
4710
4711 * subr.el (redirect-frame-focus): Add advertised calling
4712 convention (Bug#12030).
4713
4714 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4715
4716 Prefer typical American spelling for "acknowledgment".
4717 * vc/add-log.el (change-log-acknowledgment): Rename from
4718 change-log-acknowledgement, with an alias for the old name.
4719
4720 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4721
4722 * calc-alg.el (math-simplify-divide): Don't cross multiply
4723 in an equation when the lhs is a variable.
4724
4725 2012-07-24 Julien Danjou <julien@danjou.info>
4726
4727 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4728 Remove, unused.
4729
4730 2012-07-23 Eli Zaretskii <eliz@gnu.org>
4731
4732 * startup.el (command-line): Don't display an empty user name in
4733 the error message about non-existent home directory, when
4734 init-file-user was set to an empty string. See
4735 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4736 for the details and context.
4737
4738 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4739
4740 * ses.el (ses-cell-formula-aset): New macro.
4741 (ses-cell-references-aset): New macro.
4742 (ses-cell-p): New function.
4743 (ses-rename-cell): Do no longer rely on complex operations like
4744 ses-cell-set-formula or ses-set-cell to change the cell and handle
4745 the undo at the same time, but rather use lower level new macros
4746 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4747 the undo directly. Refresh the mode line.
4748
4749 2012-07-21 Leo Liu <sdl.web@gmail.com>
4750
4751 * progmodes/cc-cmds.el (c-defun-name):
4752 Use match-string-no-properties instead for consistency.
4753
4754 2012-07-20 Leo Liu <sdl.web@gmail.com>
4755
4756 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4757 (Bug#7879)
4758
4759 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4760
4761 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4762
4763 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4764 * progmodes/bug-reference.el, misearch.el: Provide themselves
4765 (bug#11915).
4766
4767 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4768 of narrowed buffer (bug#11966).
4769
4770 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4771
4772 * ses.el (ses-rename-cell): Set new name also in reference list of
4773 cells of which the renamed cell depends.
4774
4775 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4776
4777 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4778 to check whether menu-bar is shown or not. If not shown,
4779 show the menu-bar as a popup menu instead of using tmm.
4780 * mouse.el (popup-menu): Accept `point' as `position' argument.
4781
4782 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4783
4784 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4785 up inside string symbol literal (bug#11923).
4786
4787 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4788
4789 * startup.el (fancy-startup-text): Read the whole tutorial, not
4790 just its first 256 bytes. Prevents gibberish in display of the
4791 tutorial title.
4792
4793 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4794
4795 Drop idle buffer compaction due to an absence of the
4796 proved efficiency.
4797 * compact.el: Remove.
4798
4799 2012-07-19 Sam Steingold <sds@gnu.org>
4800
4801 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4802 vc-bzr-pull & vc-bzr-merge-branch.
4803 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4804 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4805 for consistency with compilation-error-regexp-alist.
4806 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4807 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4808 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4809 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4810
4811 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * emacs-lisp/chart.el: Use lexical-binding.
4814 (chart-emacs-storage): Don't hardcode the list of entries.
4815
4816 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4817
4818 Next round of tweaks caused by Fgarbage_collect changes.
4819 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4820
4821 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4822
4823 Compact buffers when idle.
4824 * compact.el: New file.
4825
4826 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4827
4828 * subr.el (eventp): Presume that if it looks vaguely like an event,
4829 it's an event (bug#10190).
4830
4831 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4832
4833 Enhancements to ppss related code (thanks Stefan).
4834 * progmodes/python.el (python-indent-context)
4835 (python-indent-calculate-indentation, python-indent-dedent-line)
4836 (python-indent-electric-colon, python-nav-forward-block)
4837 (python-mode-abbrev-table)
4838 (python-info-assignment-continuation-line-p): Simplify checks
4839 for ppss context.
4840 (python-info-continuation-line-p): Cleanup.
4841 (python-info-ppss-context): Do not catch 'quote.
4842 (python-info-ppss-context-type)
4843 (python-info-ppss-comment-or-string-p): Simplify.
4844
4845 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4846
4847 * progmodes/python.el: Enhancements to eldoc support.
4848 (python-info-current-symbol): New function.
4849 (python-eldoc-at-point): Use python-info-current-symbol.
4850 (python-info-current-defun): Fix cornercase on first defun scan.
4851 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4852 and signal error when no inferior python process is available.
4853
4854 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4855
4856 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4857 assume it's always t.
4858 (vc-git-registered): Remove caching, the function is only called
4859 once.
4860 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4861
4862 2012-07-18 Chong Yidong <cyd@gnu.org>
4863
4864 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4865
4866 * simple.el (count-words): Report on narrowing (Bug#9959).
4867
4868 * bindings.el: Bind M-= to count-words.
4869
4870 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4871
4872 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4873
4874 * progmodes/sh-script.el (sh-imenu-generic-expression):
4875 Capture a function with `function' keyword and without parentheses
4876 like "function FOO" (bug#11856).
4877
4878 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4879
4880 * window.el (split-window-sensibly): Make WINDOW argument
4881 optional.
4882
4883 2012-07-18 Chong Yidong <cyd@gnu.org>
4884
4885 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4886
4887 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4888 and make C-x 8 RET exit isearch (Bug#11439).
4889
4890 * international/iso-transl.el: Move isearch-mode-map key
4891 definitions to isearch.el.
4892
4893 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4896 (eieio-defclass): Use gv-define-setter when possible.
4897
4898 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4899
4900 Reflect recent changes in Fgarbage_collect.
4901 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4902 reflect new format of data returned by Fgarbage_collect.
4903
4904 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4905
4906 New utility functions + python-info-ppss-context fix (Bug#11910).
4907 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4908 (python-info-ppss-comment-or-string-p): New functions.
4909 (python-info-ppss-context): Small fix for string check.
4910
4911 2012-07-17 Juri Linkov <juri@jurta.org>
4912
4913 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4914 (dired-do-async-shell-command): Don't add `*' at the end of the
4915 command (Bug#11815).
4916 (dired-do-shell-command): Doc fix.
4917 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4918 Join the individual commands using either "&" or ";" as the
4919 separator depending on the values of these trailing characters.
4920 At the end re-add the trailing "&". (Bug#10598)
4921
4922 * simple.el (async-shell-command): Sync the interactive spec with
4923 `shell-command'. Doc fix.
4924 (shell-command): Doc fix.
4925
4926 2012-07-17 Juri Linkov <juri@jurta.org>
4927
4928 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4929
4930 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4931
4932 Final renames and doc fixes for movement commands (bug#11899).
4933 * progmodes/python.el (python-nav-beginning-of-statement):
4934 Rename from python-nav-statement-start.
4935 (python-nav-end-of-statement): Rename from
4936 python-nav-statement-end.
4937 (python-nav-beginning-of-block): Rename from
4938 python-nav-block-start.
4939 (python-nav-end-of-block): Rename from python-nav-block-end.
4940
4941 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4942
4943 * progmodes/python.el (python-shell-send-string-no-output):
4944 Allow accept-process-output to quit, keeping shell process ready for
4945 future interactions (Bug#11868).
4946
4947 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4950
4951 * emacs-lisp/elint.el (elint-find-args-in-code):
4952 Use help-function-arglist, so as to handle lexical byte-code.
4953
4954 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4955 change (bug#11826).
4956
4957 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4960 Avoid spuriously marking the buffer as modified because of c-is-sws.
4961
4962 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4963 as not-a-comment (bug#11946).
4964
4965 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4966 for uninterned vars.
4967
4968 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4969 Use read-event since we don't really want to read chars but bytes.
4970
4971 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4972 $$..$$ but also $..$ using regexps (bug#11953).
4973 Use tex-verbatim for \url and \path.
4974 (tex-font-lock-keywords): Define as defconst like the others.
4975 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4976
4977 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4978
4979 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4980 alias for insert-char.
4981
4982 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4983
4984 * progmodes/python.el: Simplified imenu implementation.
4985 (python-nav-jump-to-defun): Remove command.
4986 (python-mode-map): Use `imenu' instead.
4987 (python-nav-list-defun-positions-cache)
4988 (python-imenu-include-defun-type, python-imenu-make-tree)
4989 (python-imenu-subtree-root-label, python-imenu-index-alist):
4990 Remove vars.
4991 (python-nav-list-defun-positions, python-nav-read-defun)
4992 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4993 (python-imenu-make-tree, python-imenu-create-index):
4994 Remove functions.
4995 (python-mode): Update to interact with imenu by setting
4996 `imenu-extract-index-name-function' only.
4997
4998 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4999
5000 * progmodes/python.el: Enhancements to navigation commands.
5001 (python-nav-backward-sentence)
5002 (python-nav-forward-sentence): Remove.
5003 (python-nav-backward-statement, python-nav-forward-statement)
5004 (python-nav-statement-start, python-nav-statement-end)
5005 (python-nav-backward-block, python-nav-forward-block)
5006 (python-nav-block-start, python-nav-block-end)
5007 (python-nav-forward-sexp-function)
5008 (python-info-current-line-comment-p)
5009 (python-info-current-line-empty-p): New functions.
5010 (python-indent-context): Use `python-nav-statement-start'.
5011
5012 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5013
5014 * eshell/em-ls.el (eshell/ls): Use `apply'.
5015
5016 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5017 multi-hops, instead of Tramp internals.
5018
5019 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5020
5021 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5022 when F1 and F2 are located on different hosts.
5023
5024 2012-07-14 Chong Yidong <cyd@gnu.org>
5025
5026 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5027 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5028 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5029 (xterm-mouse--read-event-sequence-1000)
5030 (xterm-mouse--read-event-sequence-1006): New functions. For old
5031 mouse protocol, handle M-mouse-X events correctly.
5032 (xterm-mouse-event): New arg specifying mouse protocol.
5033 (turn-on-xterm-mouse-tracking-on-terminal)
5034 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5035 sequence to toggle extended coordinates on newer XTerms.
5036 This appears to be harmless on terminals which do not support this.
5037
5038 2012-07-14 Leo Liu <sdl.web@gmail.com>
5039
5040 Add fringe bitmap indicators for flymake. (Bug#11253)
5041 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5042 (flymake-make-overlay): New arg BITMAP.
5043 (flymake-error-bitmap, flymake-warning-bitmap)
5044 (flymake-fringe-indicator-position): New user variables.
5045
5046 * fringe.el: New bitmap exclamation-mark.
5047
5048 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5049
5050 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5051 also (Bug#7879).
5052
5053 2012-07-14 Chong Yidong <cyd@gnu.org>
5054
5055 * electric.el (electric-pair-post-self-insert-function): Fix pair
5056 insertion in empty-region case (Bug#11520).
5057
5058 2012-07-14 Chong Yidong <cyd@gnu.org>
5059
5060 * bindings.el: Consolidate ctl-x-r-map bindings.
5061 Bind copy-rectangle-as-kill to C-x r w.
5062
5063 * rect.el, register.el: Move bindings to bindings.el.
5064
5065 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5066
5067 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5068
5069 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5070
5071 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5072
5073 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5074
5075 * bindings.el (top): Use `mapc' instead of `mapcar'.
5076
5077 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5078
5079 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5080
5081 * progmodes/sql.el (sql-comint): Suppress the check for program on
5082 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5083 (Bug#11908)
5084
5085 2012-07-13 Chong Yidong <cyd@gnu.org>
5086
5087 * bindings.el: Assign a non-nil permanent-local property to
5088 per-buffer variables which lack a default value (Bug#11930).
5089
5090 * help-fns.el (describe-variable): In the "automatically becomes
5091 local" notice, take note of permanent-local variables.
5092
5093 2012-07-13 Chong Yidong <cyd@gnu.org>
5094
5095 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5096 to allow printing the message when called from Lisp.
5097
5098 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5099 Remove toggle-read-only.
5100
5101 * bs.el (bs-toggle-readonly):
5102 * buff-menu.el (Buffer-menu-toggle-read-only):
5103 Remove with-no-warnings around toggle-read-only.
5104
5105 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5106 Remove with-no-warnings around toggle-read-only.
5107 (ffap-read-only, ffap-read-only-other-window)
5108 (ffap-read-only-other-frame): Callers changed.
5109
5110 * help-mode.el: Don't require view package.
5111 (help-mode-finish): Set buffer-read-only instead of calling
5112 toggle-read-only.
5113
5114 * bindings.el (mode-line-toggle-read-only):
5115 * dired.el (dired-toggle-read-only):
5116 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5117 with non-nil second arg.
5118
5119 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5120 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5121 directly.
5122
5123 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5124
5125 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5126 not incf.
5127
5128 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 More CL cleanups and reduction of use of cl.el.
5131 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5132 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5133 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5134 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5135 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5136 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5137 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5138 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5139 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5140 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5141 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5142 * eshell/em-cmpl.el, eshell/em-banner.el:
5143 * calendar/parse-time.el: Use cl-lib.
5144 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5145 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5146 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5147 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5148 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5149 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5150 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5151 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5152 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5153 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5154 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5155 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5156 `lambda' rather than with `quote'.
5157 (eshell-do-opt): Adjust accordingly.
5158 (eshell-process-option): Simplify.
5159 * eshell/esh-var.el:
5160 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5161 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5162 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5163 to `pcase--dontcare'.
5164 * emacs-lisp/cl.el (labels): Mark obsolete.
5165 (cl--letf, letf): Move to cl-lib.
5166 (cl--letf*, letf*): Remove.
5167 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5168 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5169 (cl-progv): Rewrite.
5170 (cl--letf, cl-letf): Move from cl.el.
5171 (cl-letf*): New macro.
5172 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5173
5174 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5175
5176 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5177
5178 2012-07-11 Chong Yidong <cyd@gnu.org>
5179
5180 * vc/log-edit.el (log-edit-vc-backend): New variable.
5181 (log-edit): Doc fix.
5182
5183 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5184 argument of log-edit to set up all local variables.
5185 (vc-start-logentry): New optional arg specifying VC backend.
5186
5187 * vc/vc.el (vc-checkin): Use it.
5188 (vc-deduce-fileset): Handle Log Edit buffers.
5189 (vc-diff): Make first argument optional too.
5190
5191 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5192
5193 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5194
5195 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5196 command, just in case. The function is not needed anymore.
5197 (eshell-external-command): Do not call `eshell-remote-command'.
5198
5199 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5200
5201 Reduce use of (require 'cl).
5202 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5203 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5204 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5205 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5206 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5207 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5208 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5209 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5210 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5211 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5212 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5213 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5214 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5215 (byte-compile-unfold-bcf, byte-compile-check-variable):
5216 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5217 (byte-compile-nilconstp):
5218 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5219 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5220
5221 * emacs-lisp/gv.el (cond): Make it a valid place.
5222 (if): Simplify slightly.
5223
5224 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5225 (pcase--self-quoting-p): New function.
5226 (pcase--u1): Use it.
5227
5228 2012-07-10 Glenn Morris <rgm@gnu.org>
5229
5230 * emacs-lisp/authors.el (authors-fixed-entries):
5231 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5232
5233 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5234
5235 Rename configure.in to configure.ac (Bug#11603).
5236 * emacs-lisp/authors.el (authors-canonical-file-name):
5237 * progmodes/autoconf.el (autoconf-mode):
5238 Prefer configure.ac to configure.in.
5239
5240 2012-07-08 Chong Yidong <cyd@gnu.org>
5241
5242 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5243 Implement the mouse-1-click-follows-link handling properly.
5244
5245 * info.el (Info-link-keymap): Use follow-link mechanism for
5246 header-line links (Bug#374).
5247
5248 * simple.el (deactivate-mark): Do not set the primary selection
5249 if another program has acquired it (Bug#11772).
5250
5251 2012-07-07 Kevin Ryde <user42@zip.com.au>
5252
5253 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5254 (woman-decode-region): Replace escaped-escapes without destroying
5255 bold or underline (Bug#11552).
5256 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5257
5258 2012-07-07 Chong Yidong <cyd@gnu.org>
5259
5260 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5261 (interprogram-cut-function, interprogram-paste-function):
5262 Mention that we typically mean the clipboard.
5263
5264 2012-07-06 Glenn Morris <rgm@gnu.org>
5265
5266 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5267
5268 * files.el (toggle-read-only): Restrict message to interactive use.
5269
5270 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5271
5272 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5273
5274 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5275
5276 2012-07-06 Glenn Morris <rgm@gnu.org>
5277
5278 * Makefile.in (compile-one-process): Rename from "recompile".
5279
5280 * Makefile.in (bzr-update): "compile" is the same as "recompile
5281 autoloads", but parallelizable, so use that instead.
5282
5283 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5284
5285 * window.el (quit-window): Always restore window height when
5286 it's saved in quit-restore parameter (Bug#11810).
5287
5288 2012-07-06 Glenn Morris <rgm@gnu.org>
5289
5290 * simple.el (kill-whole-line): Doc tweak.
5291
5292 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5293
5294 * files.el (file-relative-name): Compare file names
5295 case-insensitively if on MS-Windows or MS-DOS, or if
5296 read-file-name-completion-ignore-case is non-nil. Don't use
5297 case-fold-search for this purpose. (Bug#11827)
5298
5299 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5300
5301 * calendar/cal-dst.el (calendar-current-time-zone):
5302 Return calendar-current-time-zone-cache if non-nil.
5303
5304 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5305 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5306
5307 * calendar/cal-dst.el (calendar-current-time-zone):
5308 Return calendar-current-time-zone-cache if non-nil.
5309
5310 2012-07-06 Glenn Morris <rgm@gnu.org>
5311
5312 * Makefile.in (cvs-update): Remove old alias.
5313
5314 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5315
5316 Sync with Tramp 2.2.6-pre.
5317
5318 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5319 compatible declaration.
5320
5321 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5322 Protect `list-load-path-shadows' call.
5323
5324 * net/tramp-compat.el (top): Require packages, which aren't
5325 autoloaded anymore for XEmacs. Protect call of
5326 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5327 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5328 it hurts at least for SXEmacs.
5329 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5330 standard-value for `temporary-file-directory'.
5331
5332 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5333 Redirect stderr to /dev/null.
5334 (tramp-sh-handle-write-region): uid and gid can be floats.
5335 Reported by Russell Sim <russell.sim@gmail.com>.
5336 (tramp-sh-handle-vc-registered): Hide errors.
5337 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5338 and `start-file-process'.
5339 (tramp-maybe-open-connection): Check also whether `non-essential'
5340 is bound.
5341
5342 2012-07-04 Chong Yidong <cyd@gnu.org>
5343
5344 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5345 (xml-parse-tag): Likewise, and avoid changing entity tables.
5346 (xml-syntax-table): Define from scratch, making sure not to give
5347 x2000 and other Unicode spaces whitespace syntax, since those are
5348 not spaces in XML.
5349 (xml-parse-fragment): Delete unused function.
5350 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5351 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5352 (xml-entity-ref, xml-pe-reference-re)
5353 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5354 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5355 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5356 (xml-entity-value-re): Use syntax references in regexps where
5357 possible; no need to define inside a let-binding.
5358 (xml-parse-dtd): Use xml-pe-reference-re.
5359 (xml-entity-or-char-ref-re): New defconst.
5360 (xml-parse-string, xml-substitute-special): Use it.
5361
5362 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5365 (find-file--read-only): New function.
5366 (find-file-read-only, find-file-read-only-other-window)
5367 (find-file-read-only-other-frame): Use it.
5368 (insert-file-contents-literally): Don't `fset'.
5369 (get-free-disk-space): Use locate-dominating-file.
5370
5371 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5372 function is already compiled.
5373
5374 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5375
5376 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
5377
5378 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5379 files on the same host.
5380
5381 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5382
5383 * help-fns.el (describe-function-1): Only call
5384 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5385
5386 2012-07-03 Chong Yidong <cyd@gnu.org>
5387
5388 * xml.el: Protect parser against XML bombs.
5389 (xml-entity-expansion-limit): New variable.
5390 (xml-parse-string, xml-substitute-special): Use it.
5391 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5392
5393 2012-07-03 Glenn Morris <rgm@gnu.org>
5394
5395 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5396 Allow linking to specific messages in debbugs reports (eg 123#5).
5397
5398 2012-07-02 Chong Yidong <cyd@gnu.org>
5399
5400 * xml.el: Fix entity and character reference expansion, allowing
5401 them to expand into markup as per XML spec.
5402 (xml-default-ns): New variable.
5403 (xml-entity-alist): Use XML spec definitions for lt and amp.
5404 (xml-parse-region): Make first two arguments optional.
5405 Discard text properties.
5406 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5407 All callers changed.
5408 (xml-parse-tag): Call xml-parse-tag-1. For backward
5409 compatibility, this function should not modify buffer contents.
5410 (xml-parse-tag-1): Fix opening-tag regexp.
5411 (xml-parse-string): Rewrite, handling entity and character
5412 references properly.
5413 (xml--entity-replacement-text): Signal an error if a parameter
5414 entity is undefined.
5415
5416 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * comint.el (comint-output-filter): Filter out repeated prompts.
5419
5420 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5421 and file-name-absolute-p.
5422 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5423 internal calls.
5424
5425 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5426
5427 Spelling fixes.
5428 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5429 Rename from byte-compile--refiy-function. All uses changed.
5430
5431 2012-07-01 Chong Yidong <cyd@gnu.org>
5432
5433 * xml.el (xml--parse-buffer): New function. Move most of
5434 xml-parse-region here.
5435 (xml-parse-region): Copy region into a temporary buffer, since
5436 parameter entity substitution requires changing buffer contents.
5437 Use xml--parse-buffer.
5438 (xml-parse-file): Use xml--parse-buffer.
5439 (xml-parse-dtd): Make parameter entity substitution work right.
5440 Use proper regexps for ELEMENT declarations (Bug#7172).
5441
5442 2012-06-30 Glenn Morris <rgm@gnu.org>
5443
5444 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5445
5446 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5447 Remove outdated and unnecessary dbus declarations.
5448
5449 2012-06-30 Eli Zaretskii <eliz@gnu.org>
5450
5451 * emacs-lisp/timer.el (timer-until): Subtract results of
5452 float-time, instead of taking float-time of the result of
5453 time-subtract, since float-time signals an error for negative time
5454 arguments.
5455
5456 2012-06-30 Chong Yidong <cyd@gnu.org>
5457
5458 * xml.el (xml-*-re): Convert defvars into defconsts, and
5459 eval-and-compile them so eval-and-compile works on derivatives.
5460 (xml--entity-replacement-text): Use eval-and-comple.
5461
5462 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
5463
5464 * vc/vc-git.el (vc-git-registered): Use cache property
5465 `git-registered'.
5466 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5467 `vc-git-working-revision' in order to benefit from the cache.
5468 (vc-git-root): Use cache property `git-root'. (Bug#11757)
5469
5470 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5471
5472 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
5473 removed (likely outside Emacs). (Bug#11757)
5474
5475 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5476
5477 * emacs-lisp/cl-lib.el: Require macroexp.
5478
5479 2012-06-30 Chong Yidong <cyd@gnu.org>
5480
5481 * xml.el: Implement XML parameter entities.
5482 (xml-parameter-entity-alist): New variable.
5483 (xml-parse-region, xml-parse-fragment): Preserve previous values
5484 of xml-entity-alist and xml-parameter-entity-alist, so that
5485 repeated calls on different documents do not change them.
5486 (xml-parse-tag): Fix doctype regexp.
5487 (xml--entity-replacement-text): New function.
5488 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5489 properly requires url retrieval which is unimplemented.
5490 (xml-escape-string): Doc fix.
5491
5492 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5495
5496 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5497
5498 * fringe.el (fringe-mode): Doc fix.
5499
5500 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
5501
5502 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5503 is non-nil.
5504 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5505 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5506
5507 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
5508
5509 * calendar/cal-dst.el (calendar-current-time-zone):
5510 Return calendar-current-time-zone-cache if non-nil.
5511
5512 2012-06-29 Masatake YAMATO <yamato@redhat.com>
5513
5514 * progmodes/which-func.el (which-func-format):
5515 Add mouse-face. (Bug#11698)
5516
5517 2012-06-29 Leo Liu <sdl.web@gmail.com>
5518
5519 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5520
5521 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5522
5523 * minibuffer.el (minibuffer-confirm-exit-commands):
5524 Add completion-at-point (bug#11725).
5525
5526 2012-06-29 Glenn Morris <rgm@gnu.org>
5527
5528 * progmodes/f90.el (f90-font-lock-keywords-2):
5529 Add some preprocessor elements. (Bug#10499)
5530
5531 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5534 Use syntax-propertize (bug#11739).
5535
5536 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
5537
5538 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5539
5540 2012-06-28 Julien Danjou <julien@danjou.info>
5541
5542 * term.el (term-handle-colors-array): Use a set of new faces to
5543 color the terminal. Also uses :inverse-video property.
5544 (term-default-fg-color): Set to nil by default, deprecate in favor
5545 of `term-face'.
5546 (term-default-bg-color): Set to nil by default, deprecate in favor
5547 of `term-face'.
5548 (term-current-face): Use `term-face' by default.
5549 (term-bold-attribute): Variable deleted.
5550
5551 2012-06-28 Glenn Morris <rgm@gnu.org>
5552
5553 * simple.el (completion-list-mode-finish):
5554 Don't use toggle-read-only. (Since completion-list-mode has
5555 a special mode-class, it wasn't doing anything extra anyway.)
5556
5557 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 Make inlining of other-mode interpreted functions work (bug#11799).
5560 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5561 (byte-compile): Use it to fix compilation of lexical-binding closures.
5562 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5563 function, if needed.
5564
5565 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5566
5567 * help-mode.el (help-make-xrefs): Don't just withstand
5568 cyclic-variable-indirection but any error in documentation-property.
5569
5570 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5571 memory use.
5572 * bindings.el (bindings--define-key): New function.
5573 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5574 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5575 * bindings.el: Use it to purecopy define-key bindings.
5576
5577 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5578
5579 * emacs-lisp/cl.el (flet): Mark obsolete.
5580 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5581 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5582 * progmodes/js.el (js-c-fill-paragraph):
5583 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5584 (ebrowse-switch-member-buffer-to-derived-class):
5585 * play/5x5.el (5x5-solver): Use cl-flet.
5586
5587 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5588 (cl--symbol-function): New macro.
5589 (cl--letf, cl--letf*): Use it.
5590
5591 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5592 Strip "toggle-" if any.
5593
5594 2012-06-27 Glenn Morris <rgm@gnu.org>
5595
5596 * info.el (Info-default-directory-list): Move here from paths.el.
5597 * paths.el: Remove file, which is now empty.
5598 * loadup.el: No longer load "paths".
5599
5600 * custom.el (custom-initialize-delay): Doc fix.
5601
5602 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5603 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5604 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5605 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5606 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5607 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5608 * eshell/eshell.el (eshell-defgroup): Remove alias.
5609
5610 2012-06-27 Chong Yidong <cyd@gnu.org>
5611
5612 * help.el (help-enable-auto-load): New variable.
5613
5614 * help-fns.el (help-fns--autoloaded-p): New function.
5615 (describe-function-1): Refer to a function as "autoloaded" if it
5616 was autoloaded at any time in the past. Perform autoloading if
5617 help-enable-auto-load is non-nil.
5618
5619 2012-06-26 Eli Zaretskii <eliz@gnu.org>
5620
5621 * makefile.w32-in (compile, compile-always): Depend on
5622 update-subdirs, not on subdirs.el. Otherwise, several different
5623 sub-targets of 'bootstrap' running in parallel could
5624 simultaneously write to subdirs.el, producing a garbled file.
5625
5626 2012-06-26 Sam Steingold <sds@gnu.org>
5627
5628 * files.el (file-name-base): New convenience function.
5629 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5630 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5631 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5632 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5633 * textmodes/ispell.el, textmodes/reftex-ref.el:
5634 * textmodes/tex-mode.el: Use it.
5635 Did not touch cedet and org because they are maintained elsewhere.
5636
5637 2012-06-26 Martin Rudalics <rudalics@gmx.at>
5638
5639 * calendar/calendar.el (calendar-exit): Don't try to delete or
5640 iconify last frame. See:
5641 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5642
5643 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5644
5645 * server.el (server-process-filter): Remember dir in the
5646 process's `server-client-directory' properties.
5647
5648 2012-06-24 Chong Yidong <cyd@gnu.org>
5649
5650 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5651 non-tag text.
5652
5653 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
5654
5655 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5656
5657 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * help-fns.el (describe-variable): Don't croak when doc is not found.
5660 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5661 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5662 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5663 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5664 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5665 ((lambda ..) ..).
5666 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5667
5668 2012-06-23 Chong Yidong <cyd@gnu.org>
5669
5670 * info.el (Info-mouse-follow-link): Accept symbol values of
5671 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
5672 (Info-fontify-node): Use Info-link-keymap for all navigation
5673 buttons, with link-args property to perform the desired action.
5674 (Info-link-keymap): Doc fix.
5675 (Info-next-link-keymap, Info-prev-link-keymap)
5676 (Info-up-link-keymap): Delete now-unused keymaps.
5677
5678 2012-06-23 Chong Yidong <cyd@gnu.org>
5679
5680 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5681
5682 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5683 system abbrevs.
5684
5685 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5686
5687 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5690 (bug#11719).
5691
5692 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5693 the requote function doesn't work properly (bug#11714).
5694
5695 2012-06-23 Glenn Morris <rgm@gnu.org>
5696
5697 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5698
5699 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 Further GV/CL cleanups.
5702 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5703 gv-expander.
5704 (gv--defun-declaration): New function.
5705 (defun-declarations-alist): Use it.
5706 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5707 (gv-place): Autoload.
5708 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5709 original definition of dotimes and dolist.
5710 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5711 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5712 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5713 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5714 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5715 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5716 to the function's definition.
5717 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5718 * window.el:
5719 * files.el:
5720 * faces.el:
5721 * env.el: Don't use CL.
5722
5723 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5724
5725 Support higher-resolution time stamps (Bug#9000).
5726
5727 * calendar/time-date.el (with-decoded-time-value): New arg
5728 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5729 (encode-time-value): New optional arg PICO. New type 3.
5730 (time-to-seconds) [!float-time]: Support the new picoseconds
5731 component if it's used.
5732 (seconds-to-time, time-subtract, time-add):
5733 Support ps-resolution time stamps as well.
5734
5735 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5736 (timerp): Timer vectors now have length 9, not 8.
5737 (timer--time): Support new-style (4-part) time stamps.
5738 (timer-next-integral-multiple-of-time): Time stamps now have
5739 picosecond resolution, so take a bit more care about rounding.
5740 (timer-relative-time, timer-inc-time): New optional arg psecs.
5741 (timer-set-time-with-usecs): Set psecs to 0.
5742 (timer--activate): Check psecs component, too.
5743
5744 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5745
5746 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5749 Move the non-essential binding to the post/pre-command-hook where it is
5750 more obviously correct.
5751
5752 * subr.el (read-passwd): Don't use a history at all.
5753 * savehist.el (savehist-save): Remove password saved accidentally
5754 because of the above bug.
5755
5756 2012-06-22 Bastien Guerry <bzg@gnu.org>
5757
5758 * files.el (toggle-read-only): Display a message telling whether
5759 the buffer is read-only or not (bug#11726).
5760
5761 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * emacs-lisp/gv.el: New file.
5764 * subr.el (push, pop): Extend to generalized variables.
5765 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5766 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5767 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5768 gv-define-simple-setter, and gv-define-expander.
5769 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5770 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5771 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5772 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5773 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5774 gv-letplace.
5775 (cl-defstruct): Don't define setf-method any more.
5776 * emacs-lisp/cl.el (flet): Don't autoload.
5777 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5778 (define-setf-expander, defsetf, define-modify-macro)
5779 (cl-struct-setf-expander): Move from cl-lib.el.
5780 * emacs-lisp/syntax.el:
5781 * emacs-lisp/ewoc.el:
5782 * emacs-lisp/smie.el:
5783 * emacs-lisp/cconv.el:
5784 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5785 (timer--time): Use gv-define-simple-setter.
5786 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5787 to avoid coding-system problems in subr.el. Adjust all users.
5788 (macroexp--maxsize, macroexp-small-p): New functions.
5789 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5790 * scroll-bar.el (scroll-bar-mode):
5791 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5792 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5793 * winner.el (winner-configuration, winner-make-point-alist)
5794 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5795 * files.el (locate-file-completion-table): Avoid list*.
5796
5797 2012-06-22 Chong Yidong <cyd@gnu.org>
5798
5799 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5800 (dired-create-files): Doc fix (Bug#11329).
5801 (dired-do-copy): Doc fix (Bug#11334).
5802 (dired-mark-read-string): Doc fix (Bug#11553).
5803
5804 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5805 Doc fix (Bug#11326).
5806 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5807 (dired-dwim-target): Doc fix.
5808
5809 * wdired.el (wdired-mode): Doc fix.
5810
5811 2012-06-22 Glenn Morris <rgm@gnu.org>
5812
5813 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5814 (pcmpl-rpm-cache-stamp-file): New constant.
5815 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5816 (pcmpl-rpm-packages): Optionally cache list of packages.
5817
5818 * pcmpl-rpm.el (pcmpl-rpm): New group.
5819 (pcmpl-rpm-query-options): New option.
5820 (pcmpl-rpm-packages): No need to inline it.
5821 Use pcmpl-rpm-query-options.
5822
5823 * calendar/calendar.el (calendar-in-read-only-buffer):
5824 Avoid some needless mode changes.
5825
5826 2012-06-21 Chong Yidong <cyd@gnu.org>
5827
5828 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5829 (desktop-path): Remove . from the default value (Bug#10977).
5830 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5831
5832 2012-06-20 Chong Yidong <cyd@gnu.org>
5833
5834 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5835
5836 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5837
5838 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5839 (bug#11201).
5840
5841 2012-06-20 Chong Yidong <cyd@gnu.org>
5842
5843 * term.el (term-window-width): Handle the case of a missing right
5844 fringe (Bug#8837).
5845 (term-check-size): Use window-text-height (Bug#5445).
5846 (term-mode): Use define-derived-mode. Minor cleanups.
5847 Set font-lock-defaults (Bug#7692).
5848 (term-move-columns, term-insert-char, term-emulate-terminal)
5849 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5850
5851 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5852
5853 * net/ange-ftp.el (ange-ftp-get-passwd):
5854 Bind `enable-recursive-minibuffers'.
5855 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5856
5857 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5858
5859 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5860
5861 2012-06-19 Glenn Morris <rgm@gnu.org>
5862
5863 * progmodes/python.el (python-mode): Derive from prog-mode.
5864
5865 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5866
5867 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5868 (edt-user-menu-bar-update-buffers): New functions.
5869 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5870
5871 2012-06-19 Chong Yidong <cyd@gnu.org>
5872
5873 * subr.el (with-selected-window): Preserve the selected window's
5874 terminal's top-frame (Bug#4702).
5875
5876 * window.el (save-selected-window): Likewise.
5877
5878 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5879
5880 * progmodes/python.el (python-rx-constituents): Move backquote.
5881 (python-skeleton-define, python-define-auxiliary-skeleton):
5882 Use `declare'.
5883
5884 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * minibuffer.el (read-file-name-default): Revert the patch from
5887 2012-06-17.
5888
5889 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5892 (pcase--u1, pcase--q1): Don't use apply-partially.
5893
5894 2012-06-18 Glenn Morris <rgm@gnu.org>
5895
5896 * progmodes/python.el (python-proc, python-buffer)
5897 (python-send-receive, python-send-string): Fix obsolete versions.
5898
5899 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5900
5901 * window.el (special-display-p): Completely remove stringp
5902 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5903
5904 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5905
5906 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5907
5908 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5909
5910 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5911 * net/tramp-sh.el (tramp-maybe-open-connection):
5912 Throw if `non-essential' is non-nil.
5913
5914 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5915
5916 * window.el (special-display-p): Signal an error if BUFFER-NAME
5917 is not a string (Bug#11713).
5918
5919 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5920
5921 * progmodes/python.el (python-info-beginning-of-backslash):
5922 Rename from python-info-beginning-of-backlash, as a spelling fix.
5923
5924 2012-06-17 Chong Yidong <cyd@gnu.org>
5925
5926 * term.el (term-emulate-terminal): If term-check-size is called,
5927 move point to the process mark without resetting point (Bug#4635).
5928
5929 2012-06-17 Glenn Morris <rgm@gnu.org>
5930
5931 * international/mule-cmds.el (mule-menu-keymap)
5932 (set-language-environment, set-locale-environment): Doc tweaks.
5933
5934 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5935
5936 * cus-face.el (custom-face-attributes): Add wave-style underline
5937 attribute.
5938 * faces.el (set-face-attribute): Update docstring to describe
5939 wave-style underline attribute.
5940
5941 2012-06-16 Chong Yidong <cyd@gnu.org>
5942
5943 * term/xterm.el (terminal-init-xterm): Discard input before
5944 querying background mode (Bug#10959).
5945
5946 2012-06-16 Stefan Merten <smerten@oekonux.de>
5947
5948 * textmodes/rst.el: Added and corrected some comments.
5949 (rst-re-alist-def): Improve symbol syntax.
5950 (rst-mode-syntax-table): Correct syntax entries.
5951 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5952 (rst-official-version, rst-official-cvs-rev): Update version
5953 information.
5954
5955 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5956
5957 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5958 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5959
5960 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5961
5962 * progmodes/python.el: New python.el merge.
5963 (python-guess-indent): Obsolete var.
5964 (python-indent-guess-indent-offset): New defcustom.
5965 (python-indent): Obsolete var.
5966 (python-indent-offset): New defcustom.
5967 (python-python-command, python-jython-command): Delete var.
5968 (python-shell-interpreter): New defcustom.
5969 (python-pdbtrack-do-tracking-p): Delete var.
5970 (python-pdbtrack-activate): New defcustom.
5971 (python-use-skeletons): Obsolete var.
5972 (python-skeleton-autoinsert): New defcustom.
5973 (inferior-python-filter-regexp, python-continuation-offset)
5974 (python-honour-comment-indentation, python-indent-string-contents)
5975 (python-jython-packages, python-mode-hook)
5976 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5977 (python-shell-prompt-alist)
5978 (python-source-modes): Delete defcustoms.
5979 (python-check-buffer-name, python-eldoc-setup-code)
5980 (python-eldoc-string-code, python-ffap-setup-code)
5981 (python-ffap-string-code, python-fill-comment-function)
5982 (python-fill-decorator-function, python-fill-paren-function)
5983 (python-fill-string-function, python-imenu-include-defun-type)
5984 (python-imenu-make-tree, python-imenu-subtree-root-label)
5985 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5986 (python-shell-compilation-regexp-alist)
5987 (python-shell-completion-module-string-code)
5988 (python-shell-completion-pdb-string-code)
5989 (python-shell-completion-setup-code)
5990 (python-shell-completion-string-code)
5991 (python-shell-enable-font-lock, python-shell-exec-path)
5992 (python-shell-extra-pythonpaths)
5993 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5994 (python-shell-process-environment)
5995 (python-shell-prompt-block-regexp)
5996 (python-shell-prompt-output-regexp)
5997 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5998 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5999 (python-shell-virtualenv-path): New defcustoms.
6000 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6001 (inferior-python-mode-syntax-table, python--prompt-regexp)
6002 (python-buffer, python-command python-python-command)
6003 (python-default-template, python-imports, python-indent-index)
6004 (python-indent-list, python-indent-list-length)
6005 (python-mode-running, python-pdbtrack-is-tracking-p)
6006 (python-preoutput-continuation, python-preoutput-leftover)
6007 (python-preoutput-result, python-preoutput-skip-next-prompt)
6008 (python-prev-dir/file, python-recursing)
6009 (python-saved-check-command, python-version-checked)
6010 (python-which-func-length-limit)
6011 (view-return-to-alist): Delete vars.
6012 (python-check-custom-command, python-dotty-syntax-table)
6013 (python-imenu-index-alist, python-indent-current-level)
6014 (python-indent-dedenters, python-indent-levels)
6015 (python-nav-beginning-of-defun-regexp)
6016 (python-nav-list-defun-positions-cache)
6017 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6018 (python-shell-internal-buffer)
6019 (python-skeleton-available): New vars.
6020 (def-python-skeleton): Delete macro.
6021 (python-skeleton-define): New macro.
6022 (python-define-auxiliary-skeleton, python-rx): New macros.
6023 (python-insert-class): Delete command.
6024 (python-skeleton-class): New command.
6025 (python-insert-def): Delete command.
6026 (python-skeleton-def): New command.
6027 (python-insert-for): Delete command.
6028 (python-skeleton-for): New command.
6029 (python-insert-if): Delete command.
6030 (python-skeleton-if): New command.
6031 (python-insert-try/except, python-insert-try/finally): Delete commands.
6032 (python-skeleton-try): New command.
6033 (python-insert-while): Delete command.
6034 (python-skeleton-while): New command.
6035 (python-backspace): Delete command.
6036 (python-indent-dedent-line-backspace): New command.
6037 (python-electric-colon): Delete command.
6038 (python-indent-electric-colon): New command.
6039 (python-guess-indent): Delete command.
6040 (python-indent-guess-indent-offset): New command.
6041 (python-shift-left): Delete command.
6042 (python-indent-shift-left): New command.
6043 (python-shift-right): Delete command.
6044 (python-indent-shift-right): New command.
6045 (python-find-function): Delete command.
6046 (python-nav-jump-to-defun): New command.
6047 (python-next-statement): Delete command.
6048 (python-nav-forward-sentence): New command.
6049 (python-previous-statement): Delete command.
6050 (python-nav-backward-sentence): New command.
6051 (python-fill-paragraph): Delete command.
6052 (python-fill-paragraph-function): New command.
6053 (python-send-buffer): Delete command.
6054 (python-shell-send-buffer): New command.
6055 (python-send-defun): Delete command.
6056 (python-shell-send-defun): New command.
6057 (python-send-region, python-send-region-and-go): Delete commands.
6058 (python-shell-send-region)
6059 (python-shell-switch-to-shell): New commands.
6060 (python-send-string): Delete command.
6061 (python-shell-send-string): New command.
6062 (python-switch-to-python): Delete command.
6063 (python-shell-switch-to-shell): New command.
6064 (python-describe-symbol): Delete command.
6065 (python-eldoc-at-point): New command.
6066 (python--set-prompt-regexp, python-args-to-list)
6067 (python-after-info-look, python-check-version)
6068 (python-check-comint-prompt, python-find-imports)
6069 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6070 (python-unload-function, python-expand-template)
6071 (python-maybe-jython, python-preoutput-filter)
6072 (python-pdbtrack-get-source-buffer)
6073 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6074 (python-pdbtrack-toggle-stack-tracking)
6075 (python-pdbtrack-track-stack-file, python-initial-text)
6076 (python-first-word, python-comment-line-p, python-send-command)
6077 (python-setup-brm, python-sentinel, python-set-proc)
6078 (python-skip-out, python-input-filter, python-outdent-p)
6079 (python-outline-level, python-backslash-continuation-line-p)
6080 (python-end-of-block, python-end-of-statement, python-mark-block)
6081 (python-beginning-of-block, python-beginning-of-statement)
6082 (python-blank-line-p, python-beginning-of-string)
6083 (python-open-block-statement-p): Delete functions.
6084 (python-indent-line, python-indent-line-1): Delete functions.
6085 (python-indent-line): New function.
6086 (python-indentation-levels): Delete function.
6087 (python-indent-calculate-levels): New function.
6088 (python-proc): Delete function.
6089 (python-shell-get-process): New function.
6090 (python-send-receive): Delete function.
6091 (python-shell-send-string-no-output): New function.
6092 (python-module-path): Delete function.
6093 (python-ffap-module-path): New function.
6094 (python-completion-at-point)
6095 (python-symbol-completions): Delete functions.
6096 (python-completion-complete-at-point): New function.
6097 (python-load-file): Delete function.
6098 (python-shell-send-file): New function.
6099 (python-calculate-indentation): Delete function.
6100 (python-indent-calculate-indentation): New function.
6101 (python-skip-comments/blanks): Delete function.
6102 (python-util-forward-comment): New function.
6103 (python-continuation-line-p): Delete function.
6104 (python-info-continuation-line-p): New function.
6105 (python-which-func, python-current-defun): Delete function.
6106 (python-info-current-defun): New function.
6107 (python-beginning-of-defun): Delete function.
6108 (python-nav-beginning-of-defun): New function.
6109 (python-close-block-statement-p)
6110 (python-block-end-p): Delete function.
6111 (python-info-closing-block): New function.
6112 (python-comint-output-filter-function)
6113 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6114 (python-fill-comment, python-fill-decorator, python-fill-paren)
6115 (python-fill-string, python-imenu-make-element-tree)
6116 (python-imenu-make-tree, python-imenu-tree-assoc)
6117 (python-indent-context, python-indent-dedent-line)
6118 (python-indent-line-function)
6119 (python-indent-post-self-insert-function)
6120 (python-indent-toggle-levels)
6121 (python-info-assignment-continuation-line-p)
6122 (python-info-beginning-of-backlash)
6123 (python-info-block-continuation-line-p)
6124 (python-info-closing-block-message)
6125 (python-info-line-ends-backslash-p)
6126 (python-info-looking-at-beginning-of-defun)
6127 (python-info-ppss-context, python-info-ppss-context-type)
6128 (python-nav-list-defun-positions, python-nav-read-defun)
6129 (python-nav-sentence-end, python-nav-sentence-start)
6130 (python-pdbtrack-comint-output-filter-function)
6131 (python-pdbtrack-set-tracked-buffer)
6132 (python-shell-calculate-exec-path)
6133 (python-shell-calculate-process-environment)
6134 (python-shell-completion--do-completion-at-point)
6135 (python-shell-completion--get-completions)
6136 (python-shell-completion-complete-at-point)
6137 (python-shell-completion-complete-or-indent)
6138 (python-shell-get-or-create-process)
6139 (python-shell-get-process-name)
6140 (python-shell-internal-get-or-create-process)
6141 (python-shell-internal-get-process-name)
6142 (python-shell-internal-send-string, python-shell-make-comint)
6143 (python-shell-parse-command, python-shell-send-setup-code)
6144 (python-skeleton-add-menu-items)
6145 (python-util-clone-local-variables, python-util-position)
6146 (run-python-internal, python-indentation-levels)
6147 (python-nav-beginning-of-defun)
6148 (python-completion-complete-at-point): New functions.
6149 (run-python): Change arguments. New API requirements.
6150
6151 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6152
6153 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6154 (bug#11649).
6155
6156 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6157 (macroexp--expand-all): Use it.
6158
6159 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6160 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6161 Use `cl-function' instead.
6162
6163 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6164
6165 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6166 Suggested by Stefan Monnier while discussing bug#11657.
6167
6168 2012-06-14 Sam Steingold <sds@gnu.org>
6169
6170 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6171
6172 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6173
6174 * play/doctor.el (doctor-doc): Remove parameter and use
6175 doctor-sent instead of sent.
6176 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6177
6178 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * files.el: Require cl-lib.
6181 (file-name-non-special): Replace case -> cl-case.
6182
6183 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6184
6185 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6186 mapping from #' to function*.
6187
6188 2012-06-13 Chong Yidong <cyd@gnu.org>
6189
6190 * mouse.el (mouse-drag-track): Do not set the mark if the user
6191 releases the mouse without selecting anything (Bug#11588).
6192
6193 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6196 as well (bug#11646).
6197
6198 * loadup.el: Count byte-code functions as well.
6199
6200 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6201 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6202
6203 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6204 (bug#11649). Add cl-defun and cl-defmacro.
6205
6206 2012-06-13 Drew Adams <drew.adams@oracle.com>
6207
6208 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6209 Fix last change.
6210
6211 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6212
6213 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6214 Otherwise, it blocks in batch mode.
6215
6216 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6217
6218 * help-mode.el (bookmark-make-record-default): Declare.
6219
6220 2012-06-13 Chong Yidong <cyd@gnu.org>
6221
6222 * emacs-lisp/package.el (list-packages): Compute a list of
6223 packages that are newly-available since the last list-packages
6224 invocation.
6225 (package-menu--new-package-list): New var.
6226 (package-menu--generate, package-menu--print-info)
6227 (package-menu--status-predicate, package-menu-mark-install):
6228 Handle new status label "new".
6229
6230 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6233 conversion to backquotes.
6234
6235 2012-06-12 Chong Yidong <cyd@gnu.org>
6236
6237 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6238 Rename from gud-inhibit-global-bindings.
6239
6240 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6241
6242 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6243 hook from nxml-glyph-set-hook.
6244
6245 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6246 declaration.
6247
6248 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6249
6250 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6251 Convert to defcustom.
6252
6253 2012-06-12 Drew Adams <drew.adams@oracle.com>
6254
6255 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6256 New functions.
6257 (help-mode): Use them.
6258
6259 2012-06-11 Glenn Morris <rgm@gnu.org>
6260
6261 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6262 Use preprocessor face for directives.
6263 (fortran-directive-re): Doc fix.
6264
6265 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6268 conversion to backquotes (bug#11652).
6269
6270 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6271 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6272 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6273 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6274 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6275 (cl-ninth, cl-tenth): Mark them as inlinable.
6276 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6277 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6278 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6279 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6280 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6281 (cl-list*, cl-adjoin): Don't put an autoload manually.
6282 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6283 (cl--compiler-macro-list*): Add autoload cookie.
6284 (cl--compiler-macro-cXXr): New function.
6285
6286 * help-fns.el (help-fns--compiler-macro): New function extracted from
6287 describe-function-1; follow aliases and use `compiler-macro' property.
6288 (describe-function-1): Use it.
6289
6290 2012-06-11 Chong Yidong <cyd@gnu.org>
6291
6292 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6293 is uninstalled, if imagemagick is installed.
6294
6295 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * emacs-lisp/cl-lib.el: Use lexical-binding.
6298 (cl-map-extents, cl-maclisp-member): Remove.
6299 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6300 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6301 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6302 * emacs-lisp/cl-extra.el: Use lexical-binding.
6303 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6304 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6305 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6306 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6307 * emacs-lisp/cl-seq.el: Use lexical-binding.
6308 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6309 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6310 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6311 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6312 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6313 CL's internals.
6314
6315 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6316
6317 Sync with Tramp 2.2.6-pre.
6318
6319 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6320 `print-length' and `print-level' to nil, in order to avoid
6321 truncation. Reported by Christopher Schmidt
6322 <christopher@ristopher.com>.
6323
6324 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6325
6326 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6327 New defmacro.
6328 (tramp-compat-copy-directory): Add optional argument
6329 COPY-CONTENTS. It is not handled yet.
6330
6331 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6332 (tramp-ftp-file-name-p): Simplify.
6333
6334 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6335 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6336 connection vector.
6337
6338 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6339 (tramp-methods): Do not use `tramp-password-end-of-line'.
6340 (tramp-completion-function-alist-putty): Handle UNIX case.
6341 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6342 (tramp-do-file-attributes-with-stat)
6343 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6344 gid as real numbers. They could run out of integer range on cygwin.
6345 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6346 (tramp-sh-handle-expand-file-name): Handle hops.
6347 (tramp-open-connection-setup-interactive-shell):
6348 Use `tramp-cleanup'. Move check for busyboxes ...
6349 (tramp-find-shell): ... here. Simplify implementation.
6350 Set "remote-shell" property also for alternative shells.
6351 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6352 If failing, a regular file would be written otherwise.
6353 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
6354 (tramp-find-inline-encoding): Cache the coding commands in the
6355 process cache. Apply test command on the remote side, if defined.
6356 (tramp-find-inline-compress): Cache the compress commands in the
6357 process cache.
6358 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6359 when requested. Handle hops.
6360 (tramp-current-connection): New defvar.
6361 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6362 Throw `suppress', if there was a failed connection shortly before.
6363 Handle user interrupt. (Bug#10187)
6364 (tramp-get-inline-compress, tramp-get-inline-coding):
6365 Read connection properties from the process cache.
6366
6367 * net/tramp-smb.el (tramp-smb-server-version)
6368 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6369 New defconsts.
6370 (tramp-smb-prompt): Extend for powershell prompt.
6371 (tramp-smb-file-name-handler-alist): Add handlers for
6372 `process-file', `shell-command' and `start-file-process'.
6373 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6374 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6375 (tramp-smb-file-name-p): Simplify.
6376 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6377 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6378 (tramp-smb-shell-quote-argument): New defuns.
6379 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6380 Implement using "tar". By this, time-stamps are preserved.
6381 (tramp-smb-handle-copy-file): Handle also the case of directories.
6382 (tramp-smb-do-file-attributes-with-stat)
6383 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6384 Use `tramp-get-connection-buffer').
6385 (tramp-smb-handle-rename-file): Use "rename", when source and
6386 target are on the same share.
6387 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6388 Use `tramp-smb-server-version'.
6389 (tramp-smb-wait-for-output): Remove prompt.
6390
6391 * net/tramp.el (top): Require 'cl.
6392 (tramp-methods, tramp-rsh-end-of-line):
6393 Remove `tramp-password-end-of-line' from docstring.
6394 (tramp-save-ad-hoc-proxies): New defcustom.
6395 (tramp-completion-function-alist): Adapt docstring.
6396 (tramp-default-password-end-of-line): Remove defcustom.
6397 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6398 (tramp-user-regexp, tramp-file-name-regexp-unified)
6399 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6400 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6401 (tramp-remote-file-name-spec-regexp): New defconst.
6402 (tramp-file-name-structure): Extend structure for hops.
6403 (tramp-get-method-parameter): Move up.
6404 (tramp-file-name-p, tramp-dissect-file-name)
6405 (with-parsed-tramp-file-name): Handle hops.
6406 (tramp-file-name-hop): New defun.
6407 (tramp-make-tramp-file-name): New optional arg HOP.
6408 (tramp-message-show-progress-reporter-message): New defvar.
6409 (tramp-with-progress-reporter): Use it. We cannot use
6410 `tramp-message-show-message' here, because this suppresses also
6411 error buffers.
6412 (tramp-error-with-buffer): Suppress buffer view, if
6413 `tramp-message-show-message' is nil.
6414 Use `tramp-get-connection-buffer'.
6415 (tramp-cleanup): New defun.
6416 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6417 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6418 an error unchanged.
6419 (tramp-completion-handle-file-name-all-completions): Handle hops.
6420 Fix an error when called from ido.
6421 (tramp-completion-dissect-file-name): Use better local variable
6422 name. Add hop to the vector.
6423 (tramp-handle-insert-file-contents): Use progress-reporter for the
6424 whole scenario.
6425 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6426 to `t'.
6427 (tramp-check-for-regexp): Simplify search.
6428 (tramp-enter-password): Remove it. Move implementation ...
6429 (tramp-action-password): ... here.
6430 (tramp-mode-string-to-int, tramp-local-host-p)
6431 (tramp-make-tramp-temp-file, tramp-read-passwd)
6432 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6433 Set tramp-autoload cookie.
6434
6435 * net/trampver.el: Update release number.
6436
6437 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6438 Michael Albinus <michael.albinus@gmx.de>
6439
6440 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6441 (tramp-parse-group, tramp-parse-file)
6442 (tramp-parse-shostkeys-sknownhosts): New defuns.
6443 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6444 (tramp-parse-shosts-group, tramp-parse-sconfig)
6445 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6446 (tramp-parse-sknownhosts, tramp-parse-hosts)
6447 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6448 Use them.
6449 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6450 (tramp-parse-putty-group): Don't narrow.
6451 (tramp-parse-putty): Make a loop.
6452 (tramp-file-name-handler): Catch the `suppress' signal.
6453
6454 2012-06-11 Chong Yidong <cyd@gnu.org>
6455
6456 * image.el (imagemagick-register-types): Put the ImageMagick entry
6457 at the end of image-type-file-name-regexps.
6458
6459 2012-06-11 Johan Bockgård <bojohan@gnu.org>
6460
6461 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6462 (pcase, pcase-let*, pcase-dolist): Use them.
6463
6464 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * emacs-lisp/pcase.el (pcase--let*): New function.
6467 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6468 (pcase--expand): Use macroexp-let².
6469
6470 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6473 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6474 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6475 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6476 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6477 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6478
6479 2012-06-10 Glenn Morris <rgm@gnu.org>
6480
6481 * mail/rmail.el (rmail-yank-current-message): Leave point at
6482 correct position. (Bug#11660)
6483
6484 2012-06-10 Chong Yidong <cyd@gnu.org>
6485
6486 * allout-widgets.el: Fix code header.
6487
6488 2012-06-10 Chong Yidong <cyd@gnu.org>
6489
6490 * cus-edit.el (customize-changed-options-previous-release):
6491 Bump to 24.1.
6492
6493 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6494
6495 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6496
6497 2012-06-09 Chong Yidong <cyd@gnu.org>
6498
6499 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6500
6501 2012-06-09 Martin Rudalics <rudalics@gmx.at>
6502
6503 * window.el (special-display-popup-frame): Don't use
6504 window--display-buffer (Bug#11651).
6505
6506 2012-06-09 Eli Zaretskii <eliz@gnu.org>
6507
6508 Fix parallel builds: make sure loaddefs.el is not being written
6509 while Lisp files are compiled.
6510 (compile): Don't depend on 'mh-autoloads'.
6511 (compile-CMD, compile-SH): Depend on 'autoloads'.
6512 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6513
6514 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6515
6516 2012-06-09 Chong Yidong <cyd@gnu.org>
6517
6518 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6519 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6520 Doc fixes (Bug#11225).
6521
6522 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6525 a function if there's a clear indication that it has a compiler-macro.
6526 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6527 (macro-declarations-alist): Add arglist to declaration functions.
6528 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6529 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6530 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6531 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6532 Also add autoload to find the compiler macro.
6533 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6534 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6535 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6536 (cl--compiler-macro-get): New functions, replacing calls to
6537 cl-define-compiler-macro.
6538 (cl-typep) [compiler-macro]: Use macroexp-let².
6539
6540 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
6541
6542 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6543 string properly, fixes Bug#11473.
6544
6545 2012-06-08 Chong Yidong <cyd@gnu.org>
6546
6547 * faces.el (set-face-attribute): Doc fix.
6548 (modify-face): Don't use :bold and :italic.
6549 (error, warning, success): Tweak definitions.
6550
6551 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6552 (custom-modified, custom-set, custom-changed, custom-themed)
6553 (custom-saved, custom-button, custom-button-mouse)
6554 (custom-button-pressed, custom-state, custom-comment-tag)
6555 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6556 (custom-group-subtitle): Use new-style face specs.
6557 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6558 (custom-set-face, custom-changed-face, custom-saved-face)
6559 (custom-button-face, custom-button-pressed-face)
6560 (custom-documentation-face, custom-state-face)
6561 (custom-comment-face, custom-comment-tag-face)
6562 (custom-variable-tag-face, custom-variable-button-face)
6563 (custom-face-tag-face, custom-group-tag-face-1)
6564 (custom-group-tag-face): Remove obsolete face alias.
6565
6566 * epa.el (epa-validity-high, epa-validity-medium)
6567 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6568 (epa-field-name, epa-field-body):
6569 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6570 (font-lock-keyword-face, font-lock-builtin-face)
6571 (font-lock-function-name-face, font-lock-variable-name-face)
6572 (font-lock-type-face, font-lock-constant-face):
6573 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6574 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6575 * speedbar.el (speedbar-button-face, speedbar-file-face)
6576 (speedbar-directory-face, speedbar-tag-face)
6577 (speedbar-selected-face, speedbar-highlight-face)
6578 (speedbar-separator-face):
6579 * whitespace.el (whitespace-newline, whitespace-space)
6580 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6581 (whitespace-line, whitespace-space-before-tab)
6582 (whitespace-space-after-tab, whitespace-indentation)
6583 (whitespace-empty):
6584 * emulation/cua-base.el (cua-global-mark):
6585 * eshell/em-prompt.el (eshell-prompt):
6586 * net/newst-plainview.el (newsticker-new-item-face)
6587 (newsticker-old-item-face, newsticker-immortal-item-face)
6588 (newsticker-obsolete-item-face, newsticker-date-face)
6589 (newsticker-statistics-face, newsticker-default-face):
6590 * net/newst-reader.el (newsticker-feed-face)
6591 (newsticker-extra-face, newsticker-enclosure-face):
6592 * net/newst-treeview.el (newsticker-treeview-face)
6593 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6594 (newsticker-treeview-immortal-face)
6595 (newsticker-treeview-obsolete-face)
6596 (newsticker-treeview-selection-face):
6597 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6598 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6599 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6600 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6601 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6602 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6603 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6604 (mpuz-text):
6605 * progmodes/vera-mode.el (vera-font-lock-number)
6606 (vera-font-lock-function, vera-font-lock-interface):
6607 * textmodes/table.el (table-cell): Use new-style face specs, and
6608 don't use the old :bold and :italic attributes.
6609
6610 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6611 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6612 (ebrowse-member-class, ebrowse-progress): Likewise.
6613 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6614 (ebrowse-file-name-face, ebrowse-default-face)
6615 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6616 (ebrowse-progress-face): Remove obsolete faces.
6617
6618 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6619 Inherit from error and warning faces respectively.
6620
6621 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6622 Likewise.
6623 (flyspell-incorrect-face, flyspell-duplicate-face):
6624 Remove obsolete aliases.
6625
6626 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
6627
6628 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6629 Avoid infloop.
6630
6631 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * startup.el (argv, argi): Make lexically scoped.
6634 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6635 * emacs-lisp/cl-macs.el: Use lexical-binding.
6636 Rename cl-bind-* to cl--bind-*.
6637 * files.el: Don't require `cl' since it doesn't use it.
6638 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6639
6640 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
6641
6642 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6643 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6644 instead of calling external sort utility.
6645 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6646
6647 2012-06-08 Eli Zaretskii <eliz@gnu.org>
6648
6649 * descr-text.el (describe-char): Mention how to insert the
6650 character, if the current input method doesn't support it.
6651 See the discussion in this thread for the details:
6652 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6653
6654 2012-06-08 Sam Steingold <sds@gnu.org>
6655
6656 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6657 XF86Back to previous-buffer.
6658 (minibuffer-local-map): Bind them to next-history-element and
6659 previous-history-element respectively.
6660 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6661 help-go-back respectively.
6662 * info.el (Info-mode-map): Bind them to Info-history-forward and
6663 Info-history-back respectively.
6664 These are the keys next to Up on the ThinkPad keyboard.
6665
6666 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6669 * emacs-lisp/cl-macs.el: Provide itself.
6670 (cl--labels-convert-cache): New var.
6671 (cl--labels-convert): New function.
6672 (cl-flet, cl-labels): New implementation with new semantics, relying on
6673 lexical-binding.
6674 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6675 (cl-closure-vars, cl--function-convert-cache)
6676 (cl--function-convert): Move from cl-macs.el.
6677 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6678 rename by removing the "cl-" prefix.
6679 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6680
6681 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6684 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6685 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6686 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6687 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6688 (cl-hash-table-count): Add old compatibility aliases.
6689
6690 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6691 Use macroexpand-all-environment instead.
6692 (cl--old-macroexpand): New var.
6693 (cl--sm-macroexpand): New function.
6694 (cl-symbol-macrolet): Use it during macro expansion.
6695 (cl--function-convert-cache): New var.
6696 (cl--function-convert): New function, extracted from
6697 cl-macroexpand-all.
6698 (cl-lexical-let): Use it.
6699
6700 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6701 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6702 (cl-member): Remove old alias.
6703
6704 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6705 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6706 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6707 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6708 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6709 (cl-macroexpand-cmacs): Remove var.
6710 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6711 Use macroexpand-all instead.
6712
6713 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6716 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6717 (macroexp-copyable-p): New functions and macros.
6718 * emacs-lisp/edebug.el (edebug-unwrap):
6719 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6720 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6721 (pcase--let*): Remove.
6722 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6723 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6724 macroexp-const-p instead.
6725 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6726
6727 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6728 instead of "cl-" for internal definitions. Use macroexp-const-p.
6729 (cl-old-bc-file-form): Remove var.
6730 (cl-const-exprs-p): Remove fun.
6731 (cl-labels, cl-macrolet): Use backquote.
6732 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6733 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6734 (cl-define-setf-expander): Rename from cl-define-setf-method.
6735 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6736
6737 * international/mule-cmds.el: Don't require CL.
6738 (view-hello-file): Don't use `letf'.
6739
6740 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6741
6742 * tmm.el (tmm-prompt): Use string-prefix-p.
6743 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6744 (tmm-add-prompt): Use minibuffer-completion-help.
6745 (tmm-delete-map): Remove.
6746
6747 * subr.el (kbd): Make it its own function.
6748
6749 2012-06-07 Stefan Merten <smerten@oekonux.de>
6750
6751 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6752 Silence compiler warnings. Fix versions.
6753 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6754 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6755 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6756 (rst-package-emacs-version-alist): Correct Emacs version to
6757 represent major merge with upstream.
6758 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6759
6760 2012-06-06 Glenn Morris <rgm@gnu.org>
6761
6762 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6763 Only print environment variables if set.
6764
6765 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6768 (macroexp--cons): Rename from maybe-cons.
6769 (macroexp--accumulate): Rename from macroexp-accumulate.
6770 (macroexp--all-forms): Rename from macroexpand-all-forms.
6771 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6772 (macroexp--expand-all): Rename from macroexpand-all-1.
6773
6774 2012-06-06 Sam Steingold <sds@gnu.org>
6775
6776 * calendar/calendar.el (calendar-in-read-only-buffer):
6777 Call `special-mode' to enable the standard read-only keybindings.
6778
6779 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6782 with "loading" messages (bug#11635).
6783
6784 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6785
6786 * files.el (enable-remote-dir-locals): New option.
6787 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6788
6789 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6790 Ensure, that the temp directory is local.
6791
6792 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6793 `temporary-file-directory'.
6794
6795 * progmodes/python.el (python-send-region): Ensure, that the
6796 temporary file is created also in the remote case.
6797
6798 2012-06-06 Glenn Morris <rgm@gnu.org>
6799
6800 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6801 (vc-rcs-update-changelog): Use it.
6802
6803 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6804
6805 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6806 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6807 (vc-sccs-diff): Replace use of the external vcdiff script.
6808
6809 2012-06-05 Glenn Morris <rgm@gnu.org>
6810
6811 * ledit.el: Move to obsolete/.
6812
6813 2012-06-05 Sam Steingold <sds@gnu.org>
6814
6815 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6816 patch (Bug#11140).
6817
6818 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * emacs-lisp/cust-print.el: Move to obsolete.
6821
6822 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6823 compiler-macro expansion.
6824
6825 Add native compiler-macro support.
6826 * emacs-lisp/macroexp.el (macroexpand-all-1):
6827 Support compiler-macros directly. Properly follow aliases and apply
6828 the compiler macros more thoroughly.
6829 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6830 macroexpand now properly follows aliases.
6831 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6832 (cl-compiler-macroexpand): Use new prop.
6833 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6834
6835 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6836
6837 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6838
6839 * window.el (get-lru-window, get-mru-window, get-largest-window):
6840 New argument NOT-SELECTED to avoid picking the selected window.
6841 (window--display-buffer-1, window--display-buffer-2): Replace by
6842 new function window--display-buffer
6843 (display-buffer-same-window, display-buffer-reuse-window)
6844 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6845 Use window--display-buffer.
6846 (display-buffer-use-some-window): Remove temporary dedication
6847 hack by calling get-lru-window and get-largest-window with
6848 NOT-SELECTED argument non-nil. Call window--display-buffer.
6849
6850 2012-06-05 Glenn Morris <rgm@gnu.org>
6851
6852 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6853 Replace external vcdiff script.
6854
6855 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6858
6859 2012-06-04 Chong Yidong <cyd@gnu.org>
6860
6861 * image.el (imagemagick-types-inhibit): Revert last change.
6862 Add INFO and M.
6863 (imagemagick-enabled-types): Remove CIN and EPS*.
6864
6865 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * emacs-lisp/cl-lib.el: Rename from cl.el.
6868 * emacs-lisp/cl.el: New compatibility file.
6869 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6870 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6871 to obey the "cl-" prefix.
6872 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6873
6874 2012-06-03 Glenn Morris <rgm@gnu.org>
6875
6876 * emacs-lisp/authors.el (authors-aliases): Addition.
6877
6878 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6879 Fix :version.
6880
6881 2012-06-03 Stefan Merten <smerten@oekonux.de>
6882
6883 * textmodes/rst.el: Add comments.
6884 (rst-transition, rst-adornment): New faces.
6885 (rst-adornment-faces-alist): Make default safe to reevaluate.
6886 Fixes
6887 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6888 Improve customization tags.
6889 (rst-define-level-faces): Clarify meaning.
6890
6891 2012-06-03 Chong Yidong <cyd@gnu.org>
6892
6893 * progmodes/compile.el (compilation-mode-line-fail)
6894 (compilation-mode-line-run, compilation-mode-line-exit):
6895 New faces.
6896 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6897
6898 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6899
6900 * progmodes/which-func.el (which-func-update-ediff-windows):
6901 New function. Use it in ediff-select-hook (Bug#11478).
6902
6903 2012-06-03 Chong Yidong <cyd@gnu.org>
6904
6905 * bindings.el: Remove explicit help text from format-mode-line.
6906 It is now supplied by mode-line-default-help-echo.
6907 (mode-line-front-space, mode-line-end-spaces)
6908 (mode-line-misc-info): New variables.
6909 (mode-line-modes, mode-line-position): Move the default value to
6910 the variable definition.
6911 (mode-line-default-help-echo): New defcustom.
6912 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6913 (mode-line-modified-help-echo): New functions.
6914 (mode-line-mule-info, mode-line-modified): Use them.
6915 (mode-line-eol-desc, propertized-buffer-identification):
6916 Consistency fixes for help text.
6917 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6918 set-buffer-file-coding-system (Bug#289).
6919 (mode-line-mule-info-help-echo): Update help text.
6920
6921 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6922
6923 * simple.el (execute-extended-command): Set real-this-command
6924 (bug#11506).
6925
6926 2012-06-02 Chong Yidong <cyd@gnu.org>
6927
6928 Remove incorrect uses of "modeline" in comments, docstrings, and
6929 function/variable names (Bug#10329).
6930
6931 * cus-edit.el (mode-line):
6932 * dframe.el (dframe-mouse-hscroll):
6933 * emacs-lisp/re-builder.el:
6934 * emacs-lisp/easy-mmode.el (define-minor-mode):
6935 * frame.el (set-frame-name):
6936 * help.el (lookup-minor-mode-from-indicator):
6937 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6938 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6939 (c-toggle-hungry-state):
6940 * progmodes/antlr-mode.el (antlr-language-alist):
6941 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6942 * progmodes/vhdl-mode.el (vhdl-mode):
6943 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6944 * term/ns-win.el (ns-face-at-pos):
6945 * term/sup-mouse.el (sup-mouse-report):
6946 * textmodes/flyspell.el (flyspell-mode-line-string):
6947 * textmodes/ispell.el (ispell-highlight-face):
6948 * textmodes/reftex-global.el:
6949 * vc/vc-arch.el (vc-arch-mode-line-string):
6950 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6951 * vc/vc-git.el (vc-git-mode-line-string):
6952 * vc/vc-hooks.el (vc-display-status)
6953 (vc-default-mode-line-string):
6954 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6955
6956 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6957
6958 * dired.el (dired-sort-set-mode-line): Rename from
6959 dired-sort-set-modeline. All callers changed.
6960
6961 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6962 eshell-status-in-modeline.
6963
6964 * foldout.el (foldout-mode-line-string): Rename from
6965 foldout-modeline-string. All callers changed.
6966 (foldout-update-mode-line): Rename from foldout-update-modeline.
6967
6968 * subr.el (redraw-modeline): Make into obsolete alias.
6969
6970 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6971 timeclock-modeline-display. Make old name an alias.
6972 (timeclock-update-mode-line): Likewise. All callers changed.
6973 (timeclock-mode-line-display): No need to check before using
6974 add-hook.
6975 (timeclock-relative, timeclock-day-over-hook)
6976 (timeclock-use-elapsed, timeclock-mode-string)
6977 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6978
6979 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6980 crisp-mode-modeline-string.
6981
6982 * play/solitaire.el (solitaire-build-mode-line): Rename from
6983 solitaire-build-modeline. All callers changed.
6984
6985 * play/zone.el (zone-hiding-mode-line): Rename from
6986 zone-hiding-modeline. All callers changed.
6987 (zone): Remove unusued `modeline-hidden-level' property.
6988
6989 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6990 xscheme-modeline-initialize. All callers changed.
6991
6992 * strokes.el (strokes-lighter): Rename from
6993 strokes-modeline-string.
6994
6995 * textmodes/sgml-mode.el (html-face-tag-alist)
6996 (html-tag-face-alist): Use mode-line face instead of obsolete
6997 alias modeline.
6998
6999 2012-06-02 Stefan Merten <smerten@oekonux.de>
7000
7001 * textmodes/rst.el: Always require `cl'.
7002 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7003
7004 2012-06-02 Chong Yidong <cyd@gnu.org>
7005
7006 * image.el (imagemagick-enabled-types): Rename from
7007 imagemagick-types-enable. Add many more types.
7008 (imagemagick-types-inhibit): Change default to nil.
7009 (imagemagick-filter-types): Caller changed.
7010
7011 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * emacs-lisp/cl-macs.el: Use backquotes.
7014 (cl-transform-function-property): Use eval-and-compile rather than
7015 abusing `require'.
7016 (defstruct): Use declare-function instead of with-no-warnings.
7017
7018 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7019 (byte-compile-output-docform): Re-add the print-circle bindings.
7020 (byte-compile-fix-header): Use #$ just because it's shorter.
7021 (byte-compile-output-file-form): Remove defun/defmacro.
7022
7023 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7024
7025 * simple.el (choose-completion): Remove now obsolete binding for
7026 owindow.
7027
7028 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7029
7030 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7031 in order to avoid "Stack overflow in regexp matcher".
7032
7033 2012-05-31 Glenn Morris <rgm@gnu.org>
7034
7035 * image.el: For clarity, call imagemagick-register-types at
7036 top-level, rather than relying on a custom :initialize.
7037 (imagemagick-types-enable): New option. (Bug#11557)
7038 (imagemagick-filter-types): New function. (Bug#7406)
7039 (imagemagick-register-types): Use imagemagick-filter-types.
7040 If disabling support, remove elements altogether rather
7041 than using an impossible regexp.
7042 (imagemagick-types-inhibit): Give it the default init function.
7043
7044 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7045
7046 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7047 Handle arbitrary file name lengths (Bug#11585).
7048
7049 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7050
7051 * desktop.el (desktop-read): Clear previous and next buffers for
7052 all windows and bury *Messages* buffer (bug#11556).
7053
7054 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 Add `declare' for `defun'. Align `defmacro's with it.
7057 * emacs-lisp/easy-mmode.el (define-minor-mode)
7058 (define-globalized-minor-mode): Don't autoload the var definitions.
7059 * emacs-lisp/byte-run.el: Use lexical-binding.
7060 (defun-declarations-alist, macro-declarations-alist): New vars.
7061 (defmacro, defun): Use them.
7062 (make-obsolete, define-obsolete-function-alias)
7063 (make-obsolete-variable, define-obsolete-variable-alias):
7064 Use `declare'.
7065 (macro-declaration-function): Mark obsolete.
7066 * emacs-lisp/autoload.el: Use lexical-binding.
7067 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7068
7069 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7070
7071 * textmodes/ispell.el (ispell-with-no-warnings):
7072 Define as a macro.
7073 (ispell-kill-ispell, ispell-change-dictionary):
7074 Use `called-interactively-p' for Emacs instead of obsolete
7075 `interactive-p'.
7076
7077 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7079 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7080 (macro-declaration-function): Move var from C code.
7081 (macro-declaration-function): Define function with defalias.
7082 * emacs-lisp/macroexp.el (macroexpand-all-1):
7083 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7084 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7085 defun/defmacro any more.
7086 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7087 Provide fallback for unknown arglist.
7088 (byte-compile-arglist-warn): Change calling convention.
7089 (byte-compile-output-file-form): Move print-vars binding.
7090 (byte-compile-output-docform): Simplify accordingly.
7091 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7092 (byte-compile-defmacro-declaration): Remove.
7093 (byte-compile-file-form-defmumble): Generalize to defalias.
7094 (byte-compile-output-as-comment): Return byte-positions.
7095 Simplify callers accordingly.
7096 (byte-compile-lambda): Use `assert'.
7097 (byte-compile-defun, byte-compile-defmacro): Remove.
7098 (byte-compile-file-form-defalias):
7099 Use byte-compile-file-form-defmumble.
7100 (byte-compile-defalias-warn): Remove.
7101
7102 2012-05-29 Stefan Merten <smerten@oekonux.de>
7103
7104 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7105 possible. Fix authors. Improve comments. Improve loading of `cl'.
7106
7107 (rst-mode-abbrev-table): Merge definition.
7108 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7109 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7110
7111 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7112
7113 * calendar/icalendar.el
7114 (icalendar-export-region): Export UID properly.
7115
7116 2012-05-29 Leo Liu <sdl.web@gmail.com>
7117 * calendar/icalendar.el (icalendar-import-format):
7118 Add `icalendar-import-format-uid' (Bug#11525).
7119 (icalendar-import-format-uid): New.
7120 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7121 Export UID.
7122
7123 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7124
7125 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7126 different alternative patterns.
7127 (pcase-codegen): Be more careful to preserve identity.
7128 (pcase--u1): Don't forget to mark vars as used.
7129
7130 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7131 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7132 (byte-compile-from-buffer): ...rather than here.
7133
7134 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7135 functions from byte-compile-function-environment.
7136
7137 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7138
7139 * window.el (window-deletable-p): Avoid deleting the root window
7140 of a frame with an active minibuffer.
7141
7142 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7143
7144 * simple.el (choose-completion): Use quit-window (Bug#11567).
7145
7146 2012-05-29 Chong Yidong <cyd@gnu.org>
7147
7148 * whitespace.el (whitespace-cleanup): Fix usage of
7149 whitespace-empty-at-bob-regexp (Bug#11492).
7150
7151 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7152
7153 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7154 revert (Bug#11488).
7155
7156 2012-05-29 Juri Linkov <juri@jurta.org>
7157
7158 * isearch.el (isearch-mode-map): Bind `M-s _' to
7159 `isearch-toggle-symbol'. Bind `M-s c' to
7160 `isearch-toggle-case-fold'.
7161 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7162 (isearch-forward): Add `M-s _' to the docstring.
7163 (isearch-forward-symbol, isearch-toggle-case-fold)
7164 (isearch-symbol-regexp): New functions. (Bug#11381)
7165
7166 2012-05-29 Juri Linkov <juri@jurta.org>
7167
7168 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7169 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7170 a function, call it to get the regexp.
7171 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7172 property `isearch-message-prefix' instead of the string "word ".
7173 (isearch-search-fun-default): For the case of `isearch-word',
7174 return a lambda that calls re-search-forward/re-search-backward
7175 with a regexp returned by `word-search-regexp' or by the function
7176 in `isearch-word'.
7177
7178 2012-05-29 Juri Linkov <juri@jurta.org>
7179
7180 * isearch.el (isearch-search-fun-default): New function.
7181 (isearch-search-fun): Move default part to the new function
7182 `isearch-search-fun-default'.
7183 (isearch-search-fun-function): Set the default value to
7184 `isearch-search-fun-default'. (Bug#11381)
7185
7186 * comint.el (comint-history-isearch-end):
7187 Use `isearch-search-fun-default'.
7188 (comint-history-isearch-search): Use `isearch-search-fun-default'
7189 and remove spacial case for `isearch-word'.
7190 (comint-history-isearch-wrap): Remove spacial case for
7191 `isearch-word'.
7192
7193 * hexl.el (hexl-isearch-search-function):
7194 Use `isearch-search-fun-default'.
7195
7196 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7197 Use `word-search-regexp' for `isearch-word'.
7198
7199 * misearch.el (multi-isearch-search-fun):
7200 Use `isearch-search-fun-default'.
7201
7202 * simple.el (minibuffer-history-isearch-search):
7203 Use `isearch-search-fun-default' and remove spacial case for
7204 `isearch-word'.
7205 (minibuffer-history-isearch-wrap): Remove spacial case for
7206 `isearch-word'.
7207
7208 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7209 Remove spacial case for `isearch-word'.
7210 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7211
7212 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7213
7214 Decrease XEmacs incompatibilities.
7215 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7216 Use `string-match'.
7217 (flyspell-delete-region-overlays): Use alternative definition for
7218 XEmacs.
7219 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7220 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7221 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7222 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7223 `define-obsolete-face-alias' under XEmacs, but old method.
7224
7225 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7226 `with-no-warnings' definition or Emacs alias.
7227 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7228 (ispell-word): Do not use `region-p' if XEmacs.
7229
7230 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7231
7232 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7233 Check for `ispell-dictionary-base-alist' instead of full
7234 `ispell-dictionary-alist'.
7235 (ispell-init-process): Show spellchecker when starting new Ispell
7236 process.
7237
7238 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7241 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7242
7243 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7244
7245 * version.el (motif-version-string, gtk-version-string)
7246 (ns-version-string): Declare.
7247
7248 2012-05-27 Juri Linkov <juri@jurta.org>
7249
7250 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7251 after the `eval-defun-1' specialcaseing
7252 like in `edebug-eval-defun' (bug#10181).
7253
7254 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7255 like in `eval-defun-1'.
7256
7257 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7258
7259 * mail/sendmail.el (mail-yank-region):
7260 Recognize rmail-yank-current-message in addition to insert-buffer.
7261 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7262 a *mail* buffer created through rmail-start-mail with sendmail as
7263 mail-user-agent.
7264
7265 2012-05-27 Chong Yidong <cyd@gnu.org>
7266
7267 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7268 Default to 256 (Bug#11267).
7269
7270 * help.el (describe-mode): Doc fix.
7271
7272 2012-05-26 Glenn Morris <rgm@gnu.org>
7273
7274 * w32-fns.el (w32-init-info): Remove.
7275 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7276
7277 * info.el (info-initialize): For self-contained NS builds, put the
7278 included info/ directory at the front. (Bug#2791)
7279
7280 * paths.el (Info-default-directory-list): Make it a defcustom,
7281 mainly so that we can use custom-initialize-delay.
7282
7283 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * subr.el (buffer-has-markers-at): Mark obsolete.
7286
7287 * subr.el (lambda): Use declare.
7288
7289 * emacs-lisp/lisp-mode.el (lambda):
7290 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7291
7292 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7293
7294 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7295
7296 2012-05-26 Glenn Morris <rgm@gnu.org>
7297
7298 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7299
7300 2012-05-25 Glenn Morris <rgm@gnu.org>
7301
7302 * paths.el: Remove no-byte-compile.
7303 * loadup.el: No need to load paths.el uncompiled.
7304
7305 * image.el (imagemagick-types-inhibit): Doc fix.
7306
7307 * version.el: Remove no-byte-compile and associated formatting.
7308 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7309 is ancient code from when there was an "inc-vers.el".
7310
7311 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 * progmodes/gdb-mi.el: Minor style changes.
7314 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7315 Turn into minor modes.
7316 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7317 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7318 (gdb-shell): Remove unneeded let-binding.
7319 (gdb-get-many-fields): Eliminate O(n²) behavior.
7320
7321 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7322
7323 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7324 platforms that don't link in fontset.c.
7325
7326 2012-05-25 Juri Linkov <juri@jurta.org>
7327
7328 Use the same diff color scheme as in modern VCSes (bug#10181).
7329
7330 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7331 to avoid confusion with `diff-added' that now uses green colors.
7332 (diff-removed): Use shades of red.
7333 (diff-added): Use shades of green.
7334 (diff-changed): Leave just the yellow color.
7335 (diff-use-changed-face): New variable.
7336 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7337 how to highlight context diff changes.
7338 (diff-refine-change): Use shades of yellow.
7339 (diff-refine-removed): New face that uses shades of red.
7340 (diff-refine-added): New face that uses shades of green.
7341 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7342 `diff-refine-removed' in the call to `smerge-refine-subst'
7343 depending on the value of `diff-use-changed-face'.
7344
7345 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7346 (smerge-other): Use shades of green.
7347 (smerge-base): Use shades of yellow.
7348 (smerge-refined-change): Empty face.
7349 (smerge-refined-removed): New face that uses shades of red.
7350 (smerge-refined-added): New face that uses shades of green.
7351 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7352 args `props-r' and `props-a', and use them. Doc fix.
7353 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7354 on its value use different faces `smerge-refined-change',
7355 `smerge-refined-removed', `smerge-refined-added' in the call to
7356 `smerge-refine-subst'.
7357
7358 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7359 Add face condition `min-colors 88' with shades of red.
7360 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7361 `min-colors 88' with shades of green.
7362 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7363 `min-colors 88' with shades of yellow.
7364
7365 2012-05-24 Glenn Morris <rgm@gnu.org>
7366
7367 * paths.el (prune-directory-list, remote-shell-program): Move to...
7368 * files.el (prune-directory-list, remote-shell-program): ...here.
7369 For the latter, delay initialization, prefer ssh, just search PATH.
7370
7371 * paths.el (term-file-prefix): Move to faces.el (the only user).
7372 * faces.el (term-file-prefix): Move here, make it a defcustom.
7373
7374 * paths.el (news-directory, news-path, news-inews-program):
7375 Move to gnus/nnspool.el.
7376
7377 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7378
7379 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7380 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7381 Make the latter a defcustom, with a delayed initialization.
7382
7383 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7384 These were deleted from Gnus itself late 2010.
7385
7386 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
7387
7388 * progmodes/which-func.el (which-func-ff-hook):
7389 Check against user-error, not error.
7390
7391 * emacs-lisp/edebug.el (top): Do not load or set up loading of
7392 cl-specs.el, which no longer exists.
7393
7394 2012-05-22 Glenn Morris <rgm@gnu.org>
7395
7396 * info.el (info-emacs-bug): New command.
7397 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7398 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7399
7400 2012-05-21 Glenn Morris <rgm@gnu.org>
7401
7402 * makefile.w32-in (update-subdirs-SH):
7403 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7404
7405 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7408
7409 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7410 Simplify Maven regexp, and make sure the file can't start with a space
7411 (bug#11517).
7412
7413 2012-05-21 Glenn Morris <rgm@gnu.org>
7414
7415 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7416 Scrap superfluous subshells.
7417
7418 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7421 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7422
7423 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7424
7425 * calc/calc.el (calc-ensure-consistent-units): New variable.
7426
7427 * calc/calc-units.el (math-consistent-units-p)
7428 (math-check-unit-consistency): New functions.
7429 (calc-quick-units, calc-convert-units):
7430 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7431 is non-nil.
7432 (calc-extract-units): Fix typo.
7433
7434 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7437
7438 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7439 (flyspell-default-deplacement-commands): Don't spell check after
7440 repeated window/frame switches (e.g. triggered by mouse-movement).
7441 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7442 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7443 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7444 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7445 Remove unused vars.
7446 (flyspell-get-casechars, flyspell-get-not-casechars):
7447 Simplify; Don't bother removing a ] just to add it back.
7448 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7449
7450 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7451
7452 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7453 New functions.
7454 (math-function-table): Add support for more C functions.
7455
7456 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7457
7458 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7459 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7460 Protect delay handling for otherchars against empty otherchars.
7461
7462 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7465 their respective macro declarations.
7466 * skeleton.el (define-skeleton):
7467 * progmodes/compile.el (define-compilation-mode):
7468 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7469 (define-ibuffer-filter):
7470 * emacs-lisp/generic.el (define-generic-mode):
7471 * emacs-lisp/easy-mmode.el (define-minor-mode)
7472 (define-globalized-minor-mode):
7473 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7474 * emacs-lisp/byte-run.el (defsubst):
7475 * custom.el (deftheme): Add doc-string metadata.
7476
7477 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7478
7479 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7480
7481 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7482
7483 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7484
7485 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7486 * emacs-lisp/cl-macs.el: Idem.
7487 * emacs-lisp/cl-specs.el: Remove.
7488
7489 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 Minor renaming of internal CL functions and variables.
7492 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7493 (cl--position): Rename from cl-position.
7494 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7495 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7496 (cl--random-state): Rename from *random-state*.
7497
7498 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7499
7500 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7501 parens around the arg list (bug#11499).
7502
7503 2012-05-17 Juri Linkov <juri@jurta.org>
7504
7505 * isearch.el (word-search-regexp, word-search-backward)
7506 (word-search-forward, word-search-backward-lax)
7507 (word-search-forward-lax): Move functions from search.c
7508 (bug#10145, bug#11381).
7509
7510 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7511
7512 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7513 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7514 Delay for otherchars as for normal word components.
7515
7516 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * minibuffer.el (completion--sifn-requote): Fix last change.
7519 (minibuffer-local-must-match-filename-map):
7520 Move define-obsolete-variable-alias before its var.
7521
7522 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7523
7524 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7525
7526 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7527 behavior.
7528 (completion--string-equal-p): New function.
7529 (completion--twq-all): Use it to get better assertion failure data.
7530
7531 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7532 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7533 (shell--requote-argument): New functions.
7534 (shell-completion-vars): Use them.
7535 (shell--parse-pcomplete-arguments): Rename from
7536 shell-parse-pcomplete-arguments.
7537 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7538 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7539 Obey comint-file-name-quote-list.
7540
7541 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7542 (smie-indent-keyword): Use it.
7543
7544 2012-05-14 Stefan Merten <smerten@oekonux.de>
7545
7546 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7547
7548 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 * net/rlogin.el (rlogin-mode-map): Fix last change.
7551
7552 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
7553
7554 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7555 the following \r\n using a single `process-send-string', since the
7556 Lotus SMTP server refuses to accept any commands if they are sent
7557 with two `process-send-string's (Bug#11444).
7558
7559 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
7560
7561 * shell.el (shell-parse-pcomplete-arguments):
7562 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
7563
7564 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7565
7566 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
7567 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7568 (image-transform-width, image-transform-fit-width): New functions.
7569 (image-transform-properties): Use them.
7570 (image-transform-check-size): New function.
7571 (image-toggle-display-image): Use it (for testing).
7572 (image-transform-set-rotation): Reduce angle mod 360.
7573 Delete obsolete comment.
7574
7575 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7576
7577 * image-mode.el: Fix scaling (bug#11399).
7578 (image-transform-resize): Doc fix.
7579 (image-transform-properties): Default scale is 1 and height should
7580 be an integer.
7581
7582 2012-05-13 Johan Bockgård <bojohan@gnu.org>
7583
7584 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7585 than hard-coding `car', to fix misbehavior when moving forward.
7586
7587 2012-05-13 Chong Yidong <cyd@gnu.org>
7588
7589 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7590 (tabulated-list-entries, tabulated-list-padding)
7591 (tabulated-list-sort-key): Make permanent-local.
7592
7593 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7594 (electric-buffer-list): Put electric buffer menu
7595 command descriptions in this docstring, instead of the docstring
7596 of electric-buffer-menu-mode. Code cleanups.
7597 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7598 Electric-buffer-menu-mode.
7599 (electric-buffer-update-highlight): Minor code cleanup.
7600
7601 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
7602
7603 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7604 (Bug#11447)
7605
7606 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 Move define-obsolete-variable-alias before the var's definition.
7609 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7610 * tooltip.el (tooltip-hook):
7611 * textmodes/reftex-toc.el (reftex-toc-map):
7612 * textmodes/reftex-sel.el (reftex-select-label-map)
7613 (reftex-select-bib-map):
7614 * textmodes/reftex-index.el (reftex-index-map)
7615 (reftex-index-phrases-map):
7616 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7617 * progmodes/meta-mode.el (meta-mode-map):
7618 * novice.el (disabled-command-hook):
7619 * loadhist.el (unload-hook-features-list):
7620 * frame.el (blink-cursor):
7621 * files.el (find-file-not-found-hooks, write-file-hooks)
7622 (write-contents-hooks):
7623 * emulation/tpu-edt.el (GOLD-map):
7624 * emacs-lock.el (emacs-lock-from-exiting):
7625 * emacs-lisp/generic.el (generic-font-lock-defaults):
7626 * emacs-lisp/chart.el (chart-map):
7627 * dos-fns.el (register-name-alist):
7628 * dired-x.el (dired-omit-files-p):
7629 * desktop.el (desktop-enable):
7630 * cus-edit.el (custom-mode-hook):
7631 * buff-menu.el (buffer-menu-mode-hook):
7632 * bookmark.el (bookmark-read-annotation-text-func)
7633 (bookmark-exit-hooks):
7634 * allout.el (allout-mode-deactivate-hook)
7635 (allout-exposure-change-hook, allout-structure-added-hook)
7636 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7637 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7638 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7639 comes before the corresponding variable's definition.
7640
7641 2012-05-12 Chong Yidong <cyd@gnu.org>
7642
7643 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
7644 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7645 (Buffer-menu-mode-map): Bind it.
7646 (Buffer-menu--pretty-name): Add a mouse-face property.
7647
7648 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7651 (prolog-upper-case-string, prolog-lower-case-string)
7652 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7653 (prolog-use-smie, prolog-smie-grammar): New vars.
7654 (prolog-smie-forward-token, prolog-smie-backward-token)
7655 (prolog-smie-rules): New funs.
7656 (prolog-comment-indent): Remove.
7657 (prolog-mode-variables): Use default comment indentation instead.
7658 Setup SMIE.
7659 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7660 (prolog-mode): Don't call them any more.
7661 (prolog-electric-colon, prolog-electric-dash)
7662 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7663
7664 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7665
7666 * minibuffer.el (completion--twq-all): Again, allow case differences.
7667
7668 * term.el: Move keymap initialization code to be more idiomatic.
7669 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7670 (term-terminal-menu): Move initialization into declaration.
7671 (term-escape-char): Let the user set it in her .emacs.
7672
7673 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7674 Provide SMIE-based indentation (not enabled by default yet).
7675 (sh-mode-map): Don't bind electric keys.
7676 Use electric-pair-mode instead of skeleton-pair.
7677 (sh-assignment-regexp): Fit within 80 columns.
7678 (sh-indent-supported): Specify actual shell name instead of boolean.
7679 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7680 (sh-maybe-here-document): Use it. Make obsolete.
7681 (sh-electric-here-document-mode) New minor mode.
7682 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7683 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7684 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7685 (sh-smie-rc-grammar, sh-use-smie): New vars.
7686 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7687 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7688 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7689 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7690 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7691 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7692 (sh-set-shell): Use smie-setup if requested.
7693
7694 * term.el (term-set-escape-char): Properly set term-escape-char.
7695 See http://stackoverflow.com/questions/10524656.
7696
7697 2012-05-10 Chong Yidong <cyd@gnu.org>
7698
7699 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7700 Use url-generic-parse-url, and handle host names and Windows
7701 filenames properly.
7702 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7703 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7704 URL schemes to work on.
7705 (ffap--toggle-read-only): New function.
7706 (ffap-read-only, ffap-read-only-other-window)
7707 (ffap-read-only-other-frame): Use it.
7708 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7709 necessary for ffap-url-unwrap-remote.
7710
7711 2012-05-10 Dave Abrahams <dave@boostpro.com>
7712
7713 * cus-start.el (create-lockfiles): Add it.
7714
7715 2012-05-09 Chong Yidong <cyd@gnu.org>
7716
7717 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7718 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7719
7720 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7723
7724 2012-05-09 Chong Yidong <cyd@gnu.org>
7725
7726 * ansi-color.el (ansi-color-process-output): Check for validity of
7727 comint-last-output-start before using it. This avoids a bad
7728 interaction with gdb-mi's input/output buffer.
7729
7730 2012-05-09 Glenn Morris <rgm@gnu.org>
7731
7732 * files.el (dir-locals-read-from-file):
7733 Mention dir-locals in any error message.
7734
7735 2012-05-09 Chong Yidong <cyd@gnu.org>
7736
7737 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7738 package (Bug#11410).
7739
7740 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7741 variables into description.
7742
7743 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7744
7745 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7746 shell-delimiter-argument-list (bug#11348).
7747 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7748
7749 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7750
7751 * textmodes/rst.el: Silence byte-compiler warnings.
7752 (rst-re-alist, rst-reset-section-caches): Move around.
7753 (rst-re): Use `characterp', not `char-valid-p'.
7754 (font-lock-beg, font-lock-end): Declare.
7755
7756 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7757 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7758
7759 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7760
7761 2012-05-08 Glenn Morris <rgm@gnu.org>
7762
7763 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7764
7765 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7766
7767 * vc/log-edit.el: Add GNU coding standards highlighting.
7768 (log-edit-font-lock-gnu-style)
7769 (log-edit-font-lock-gnu-keywords): New vars.
7770 (log-edit-font-lock-keywords): New fun.
7771 (log-edit-mode): Don't fold case in font-lock.
7772 (log-edit-font-lock-keywords): Do not assume case-folding.
7773
7774 * imenu.el: Misc cleanup. Make docstrings out of comments.
7775 Use lexical-binding.
7776 (imenu--index-alist, imenu--last-menubar-index-alist)
7777 (imenu-menubar-modified-tick): Use defvar-local.
7778 (imenu--split-menu): Remove unused var.
7779 (imenu--cleanup-seen): Declare as global.
7780 (imenu--cleanup): Use dolist.
7781
7782 * subr.el (defvar-local): Add debug spec and doc-string position.
7783
7784 2012-05-08 Glenn Morris <rgm@gnu.org>
7785
7786 * language/burmese.el, language/cham.el, language/czech.el:
7787 * language/english.el, language/georgian.el, language/greek.el:
7788 * language/japanese.el, language/khmer.el, language/korean.el:
7789 * language/lao.el, language/misc-lang.el, language/romanian.el:
7790 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7791 * language/thai.el, language/utf-8-lang.el:
7792 Remove no-byte-compile setting.
7793
7794 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7795
7796 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7797
7798 * progmodes/make-mode.el (makefile-browse):
7799 Remove unnecessary interactive. (Bug#11324)
7800
7801 2012-05-07 Glenn Morris <rgm@gnu.org>
7802
7803 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7804
7805 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7806
7807 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 * loadup.el: Preload newcomment.el.
7810 * newcomment.el: Move autoload-only code to toplevel.
7811
7812 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7813 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7814 Handle new :right-align column property.
7815 (tabulated-list-print-col): Idem, plus use `display' text-property to
7816 try and preserve alignment for variable pitch fonts.
7817
7818 2012-05-07 Chong Yidong <cyd@gnu.org>
7819
7820 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7821 (tabulated-list-use-header-line): New var.
7822 (tabulated-list-init-header): Use it.
7823 (tabulated-list-print-fake-header): New function.
7824 (tabulated-list-print): Use it.
7825 (tabulated-list-sort-button-map): Add non-header-line commands.
7826 (tabulated-list-init-header): Add column name property to basic
7827 labels as well.
7828 (tabulated-list-col-sort): Handle non-header-line button case.
7829 (tabulated-list--sort-by-column-name): Fix a corner case.
7830
7831 * buff-menu.el (list-buffers--refresh):
7832 Handle Buffer-menu-use-header-line.
7833
7834 2012-05-06 Chong Yidong <cyd@gnu.org>
7835
7836 * buff-menu.el: Convert to Tabulated List mode.
7837 (Buffer-menu-buffer+size-width): Make obsolete.
7838 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7839 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7840 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7841 documentation into docstring of buffer-menu.
7842 (Buffer-menu-toggle-files-only): Add an informative message.
7843 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7844 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7845 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7846 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7847 (Buffer-menu-execute, Buffer-menu-select)
7848 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7849 (Buffer-menu-bury): Use Tabulated List machinery.
7850 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7851 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7852 Delete.
7853 (list-buffers--refresh): New function.
7854 (list-buffers-noselect): Use it.
7855 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7856 (Buffer-menu--pretty-file-name): New helper functions.
7857
7858 * loadup.el: Preload tabulated-list.
7859
7860 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7861 tabulated-list-sort-column.
7862 (tabulated-list-init-header): Add the initial aligning space even
7863 if tabulated-list-padding is zero.
7864
7865 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7866
7867 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7868 whose cdr is not a cons cell correctly (bug#11038).
7869
7870 2012-05-06 Chong Yidong <cyd@gnu.org>
7871
7872 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7873 Accept additional plist in column descriptors.
7874 (tabulated-list-init-header): Obey it.
7875 (tabulated-list-get-entry): New function.
7876 (tabulated-list-put-tag): Use it. Use string-width instead of
7877 length.
7878 (tabulated-list--column-number): New function.
7879 (tabulated-list-print): Use it.
7880 (tabulated-list-print-col): New function.
7881 Set `tabulated-list-column-name' property on each column's text.
7882 (tabulated-list-print-entry): Use it.
7883 (tabulated-list-delete-entry, tabulated-list-set-col):
7884 New functions.
7885 (tabulated-list-sort-column): New command (Bug#11337).
7886
7887 * buff-menu.el (list-buffers): Move C-x C-b binding from
7888 buff-menu.el to bindings.el.
7889
7890 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7891 :advertised-binding feature.
7892
7893 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7894
7895 * progmodes/compile.el (compilation-internal-error-properties):
7896 Calculate start position correctly when end-col is set but
7897 end-line is not (Bug#11382).
7898
7899 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7900
7901 * man.el (Man-unindent): Use text-property-default-nonsticky to
7902 prevent untabify from inheriting face properties (Bug#11408).
7903
7904 2012-05-05 Stefan Merten <smerten@oekonux.de>
7905
7906 * textmodes/rst.el: Major merge with upstream development up to
7907 Docutils SVN r7399 / rst.el V1.2.1.
7908
7909 Clarify maintainership and authors.
7910
7911 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7912 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7913 (rst-official-version, rst-official-cvs-rev, rst-version)
7914 (rst-package-emacs-version-alist): New functions and variables
7915 for version information.
7916
7917 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7918 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7919 (rst-mode-syntax-table, rst-mode): New and corrected functions
7920 and variables representing reStructuredText features.
7921
7922 (rst-re): New function for reStructuredText regexes. Use in
7923 many places.
7924
7925 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7926 (rst-mode-map): Rebind keys.
7927
7928 (rst-mode-lazy, rst-font-lock-keywords)
7929 (rst-font-lock-extend-region)
7930 (rst-font-lock-extend-region-internal)
7931 (rst-font-lock-extend-region-extend)
7932 (rst-font-lock-find-unindented-line-limit)
7933 (rst-font-lock-find-unindented-line-match)
7934 (rst-adornment-level, rst-font-lock-adornment-level)
7935 (rst-font-lock-adornment-match)
7936 (rst-font-lock-handle-adornment-pre-match-form)
7937 (rst-font-lock-handle-adornment-matcher): Major revision of
7938 font-locking. Integrate with other code. Use `jit-lock-mode'.
7939
7940 (rst-preferred-adornments, rst-adjust-hook)
7941 (rst-new-adornment-down, rst-preferred-bullets)
7942 (rst-preferred-bullets, rst-indent, rst-indent-width)
7943 (rst-indent-field, rst-indent-literal-normal)
7944 (rst-indent-literal-minimized, rst-indent-comment): Change,
7945 extend and improve customization.
7946
7947 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7948 (rst-normalize-cursor-position, rst-get-decoration)
7949 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7950 (rst-rstrip, rst-toc-insert-find-delete-contents)
7951 (rst-shift-fill-region, rst-compute-bullet-tabs)
7952 (rst-debug-print-tabs, rst-debug-mark-found)
7953 (rst-shift-region-guts, rst-shift-region-right)
7954 (rst-shift-region-left, rst-use-char-classes)
7955 (rst-font-lock-keywords-function)
7956 (rst-font-lock-indentation-point)
7957 (rst-font-lock-find-unindented-line-begin)
7958 (rst-font-lock-find-unindented-line-end)
7959 (rst-font-lock-find-unindented-line)
7960 (rst-font-lock-adornment-point, rst-font-lock-level)
7961 (rst-adornment-level-alist): Remove functions and variables.
7962
7963 (rst-compare-adornments, rst-get-adornment-match)
7964 (rst-suggest-new-adornment, rst-get-adornments-around)
7965 (rst-adornment-complete-p, rst-get-next-adornment)
7966 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7967 (rst-straighten-adornments): Standardize function names to
7968 use "adornment" instead of "decoration". Correct callers.
7969 Similar standardizing in many places.
7970
7971 (rst-update-section, rst-adjust, rst-promote-region)
7972 (rst-enumerate-region, rst-bullet-list-region)
7973 (rst-repeat-last-character): Correct use of `interactive'.
7974
7975 (rst-classify-adornment, rst-find-all-adornments)
7976 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7977 (rst-find-leftmost-column, rst-repeat-last-character):
7978 Refactor functions.
7979
7980 (rst-find-title-line, rst-reset-section-caches)
7981 (rst-get-adornments-around, rst-adjust-adornment-work)
7982 (rst-arabic-to-roman, rst-roman-to-arabic)
7983 (rst-insert-list-pos, rst-insert-list-new-item)
7984 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7985 New functions.
7986
7987 (rst-all-sections, rst-section-hierarchy)
7988 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7989 New variables.
7990
7991 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7992 configuration instead of only buffer. Change where necessary.
7993
7994 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7995 (rst-shift-region, rst-adaptive-fill): New functions for
7996 indentation and filling.
7997
7998 (rst-comment-line-break, rst-comment-indent)
7999 (rst-comment-insert-comment, rst-comment-region)
8000 (rst-uncomment-region): New functions for handling comments.
8001
8002 (rst-compile): Quote shell arguments.
8003
8004 (rst-compile-pdf-preview, rst-compile-slides-preview):
8005 Delete temporary files after use.
8006
8007 2012-05-05 Glenn Morris <rgm@gnu.org>
8008
8009 * calendar/cal-html.el: Optionally include holidays in the output.
8010 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8011 (cal-html-holidays): New option.
8012 (cal-html-css-default): Add holiday entry.
8013 (holiday-in-range): Autoload it.
8014 (cal-html-htmlify-entry): Add optional class argument.
8015 (cal-html-htmlify-list): Add optional holidays argument.
8016 (cal-html-insert-agenda-days): Include holidays in the output.
8017 (cal-html-one-month): Maybe include holidays.
8018
8019 * calendar/holidays.el (holiday-in-range):
8020 Move here from cal-tex-list-holidays.
8021 * calendar/cal-tex.el (cal-tex-list-holidays):
8022 Make it an obsolete alias for holiday-in-range. Update all callers.
8023
8024 2012-05-05 Chong Yidong <cyd@gnu.org>
8025
8026 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8027 Nextstep.
8028
8029 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8030
8031 * files.el (file-auto-mode-skip): New var.
8032 (set-auto-mode-1): Use it.
8033
8034 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8035
8036 * repeat.el: Use lexical-binding.
8037 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8038 (repeat-undo-count): Remove.
8039 (repeat):
8040 * progmodes/octave-mod.el (octave-abbrev-start):
8041 * progmodes/f90.el (f90-abbrev-start):
8042 * face-remap.el (text-scale-adjust):
8043 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8044
8045 * emacs-lisp/pcase.el (pcase--let*): New function.
8046 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8047 a bit more.
8048 (pcase--split-pred): Be more clever about ruling out overlap between
8049 a predicate and some constant pattern.
8050 (pcase--q1): Use `null' instead of (eq foo nil).
8051
8052 * subr.el (setq-local, defvar-local): New macros.
8053 (kbd): Redefine as an alias.
8054 (with-selected-window): Leave unrelated frames alone.
8055 (set-temporary-overlay-map): New function.
8056
8057 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * subr.el (user-error): New function.
8060 * window.el (switch-to-buffer):
8061 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8062 (smerge-match-conflict):
8063 * simple.el (previous-matching-history-element)
8064 (next-matching-history-element, goto-history-element, undo-more)
8065 (undo-start):
8066 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8067 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8068 (next-file, tags-loop-scan, list-tags, complete-tag):
8069 * progmodes/compile.el (compilation-loop):
8070 * mouse.el (mouse-minibuffer-check):
8071 * man.el (Man-bgproc-sentinel, Man-goto-page):
8072 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8073 (Info-history-forward, Info-follow-reference, Info-menu)
8074 (Info-extract-menu-item, Info-extract-menu-counting)
8075 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8076 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8077 (Info-next-reference, Info-prev-reference, Info-index)
8078 (Info-index-next, Info-follow-nearest-node)
8079 (Info-copy-current-node-name):
8080 * imenu.el (imenu--make-index-alist)
8081 (imenu-default-create-index-function, imenu-add-to-menubar):
8082 * files.el (basic-save-buffer, recover-file):
8083 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8084 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8085 (checkdoc-message-text, checkdoc-defun):
8086 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8087 * cus-edit.el (customize-changed-options, customize-rogue)
8088 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8089 (custom-variable-mark-to-reset-standard)
8090 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8091 (custom-file):
8092 * completion.el (check-completion-length):
8093 * comint.el (comint-search-arg)
8094 (comint-previous-matching-input-string-position)
8095 (comint-previous-matching-input)
8096 (comint-replace-by-expanded-history-before-point, comint-send-input)
8097 (comint-copy-old-input, comint-backward-matching-input)
8098 (comint-goto-process-mark, comint-set-process-mark):
8099 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8100 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8101
8102 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * dabbrev.el (dabbrev--ignore-case-p): New function.
8105 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8106 Use it.
8107
8108 * files.el (automount-dir-prefix): Mark as obsolete.
8109
8110 2012-05-04 Glenn Morris <rgm@gnu.org>
8111
8112 * patcomp.el, play/bruce.el: Move to obsolete/.
8113
8114 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8115
8116 Fix minor Y10k bugs.
8117 * arc-mode.el (archive-unixdate):
8118 * autoinsert.el (auto-insert-alist):
8119 * calc/calc-forms.el (math-this-year):
8120 * emacs-lisp/copyright.el (copyright-current-year)
8121 (copyright-update-year, copyright):
8122 * tar-mode.el (tar-clip-time-string):
8123 * time.el (display-time-update):
8124 Don't assume years have 4 digits.
8125
8126 2012-05-04 Chong Yidong <cyd@gnu.org>
8127
8128 * dos-w32.el (file-name-buffer-file-type-alist)
8129 (direct-print-region-use-command-dot-com):
8130 * ffap.el (ffap-menu-regexp):
8131 * find-file.el (ff-special-constructs):
8132 * follow.el (follow-debug):
8133 * forms.el (forms--debug):
8134 * iswitchb.el (iswitchb-all-frames):
8135 * ido.el (ido-all-frames):
8136 * emacs-lisp/timer.el (timer-max-repeats):
8137 * mail/feedmail.el (feedmail-mail-send-hook)
8138 (feedmail-mail-send-hook-queued):
8139 * mail/footnote.el (footnote-signature-separator):
8140 * mail/mailabbrev.el (mail-alias-separator-string)
8141 (mail-abbrev-mode-regexp):
8142 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8143 * progmodes/idlwave.el (idlwave-libinfo-file)
8144 (idlwave-default-completion-case-is-down)
8145 (idlwave-library-routines): Convert defvars to defcustoms.
8146
8147 * mail/rmail.el (rmail-decode-mime-charset):
8148 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8149 (idlwave-shell-fix-inserted-breaks)
8150 (idlwave-shell-activate-alt-keybindings)
8151 (idlwave-shell-use-breakpoint-glyph):
8152 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8153
8154 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8157
8158 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8159
8160 * progmodes/verilog-mode.el (font-lock-keywords):
8161 Fix mis-highligting auto. Reported by Craig Barner.
8162 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8163 defines from global name space. Reported by Dan Dever.
8164 (verilog-auto-reset, verilog-auto-reset-widths)
8165 (verilog-auto-tieoff): Support using unbased numbers for
8166 AUTORESET and AUTOTIEOFF.
8167 (verilog-submit-bug-report): Update variable list.
8168 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8169 parenthesis from not matching. Reported by Michael Rytting.
8170 (verilog-auto-template-lint): Fix hash error when linting modules
8171 with no used templates.
8172 (verilog-warn, verilog-warn-error)
8173 (verilog-warn-fatal): When non-interactive report multiple
8174 warnings before exiting. Suggested by Brad Dobbie.
8175 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8176 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8177 to report unused template errors. Reported by Brad Dobbie.
8178 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8179 nets, bug438. Reported by Vns Blore.
8180 (verilog-auto-inout-module, verilog-auto-reg)
8181 (verilog-read-decls, verilog-read-sub-decls-sig)
8182 (verilog-signals-edit-wire-reg, verilog-signals-with):
8183 Fix passing of Verilog data types in ANSI input/output ports
8184 such as "output logic" into the AUTOs. Special case "wire" and
8185 "reg" for backwards compatibility presuming Verilog 2001.
8186 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8187 (verilog-preprocess): Fix replication of preprocess output.
8188 Reported by Brad Dobbie.
8189 (verilog-auto-inst-interfaced-ports):
8190 Create verilog-auto-inst-interfaced-ports, bug429.
8191 Reported by Julian Gorfajn.
8192 (verilog-after-save-font-hook)
8193 (verilog-before-save-font-hook): New variable.
8194 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8195 (verilog-save-font-mods): Wrap disabling fontification, reported
8196 by David Rogoff.
8197 (verilog-do-indent, verilog-pretty-declarations-auto)
8198 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8199 Reported by Pierre-David Pfister.
8200 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8201 of class declarations, bug292. Reported by Kevin Heilman.
8202 (verilog-read-decls): Fix 'parameter type' not appearing in
8203 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8204 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8205 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8206 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8207 Reported by David Kravitz.
8208
8209 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8210
8211 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8212 assignment with tests in ifs and for loops.
8213 (verilog-extended-complete-re, verilog-complete-reg): Change so
8214 that DPI inport functions don't look like fuction declarations.
8215 (verilog-pretty-expr): Don't line up assignment
8216 operations to the test and increment in if and for loops
8217 (verilog-extended-complete-re, verilog-complete-reg): Change so
8218 that DPI inport functions don't look like fuction declarations.
8219
8220 2012-05-03 Kenichi Handa <handa@m17n.org>
8221
8222 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8223 decoding, and show a warning message without signaling an error
8224 (Bug#11282).
8225
8226 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * emacs-lisp/bytecomp.el
8229 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8230 since cconv.el might have introduced :fun-body, internal-make-closure,
8231 and friends for bytecomp to handle (bug#11391).
8232 * custom.el (defcustom): Avoid ((λ ..) ..).
8233
8234 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8237
8238 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8239
8240 * notifications.el (dbus-debug):
8241 * term/linux.el (gpm-mouse-enable):
8242 * term/screen.el (xterm-register-default-colors): Declare.
8243
8244 2012-05-02 Chong Yidong <cyd@gnu.org>
8245
8246 * cus-start.el (gc-cons-percentage, exec-suffixes)
8247 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8248 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8249 (make-cursor-line-fully-visible, void-text-area-pointer)
8250 (font-list-limit): Add customization data.
8251
8252 * allout.el (allout-exposure-change-functions)
8253 (allout-structure-added-functions)
8254 (allout-structure-deleted-functions)
8255 (allout-structure-shifted-functions): Rename abnormal hooks from
8256 *-hook, and convert to defcustoms.
8257 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8258 Convert to defcustoms.
8259 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8260
8261 * allout-widgets.el: Hook callers changed.
8262
8263 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8264
8265 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8266 the yanked message in preference to the default value of
8267 buffer-file-coding-system.
8268
8269 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8270
8271 * window.el (display-buffer--action-function-custom-type):
8272 Fix entry.
8273
8274 2012-05-02 Alan Mackenzie <acm@muc.de>
8275
8276 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8277
8278 2012-05-01 Glenn Morris <rgm@gnu.org>
8279
8280 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8281
8282 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8283
8284 * cus-edit.el (custom-variable-documentation): Simplify with format.
8285
8286 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8287 Stefan Monnier <monnier@iro.umontreal.ca>
8288
8289 * simple.el (suggest-key-bindings, execute-extended-command):
8290 Move from keyboard.c.
8291
8292 2012-05-01 Chong Yidong <cyd@gnu.org>
8293
8294 * follow.el: Eliminate advice.
8295 (set-process-filter, process-filter, sit-for): Advice deleted.
8296 (follow-mode-off-hook): Obsolete hook removed.
8297 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8298 Vars deleted.
8299 (follow-auto): Use a :set function.
8300 (follow-mode): Rewritten. Don't advise process filters.
8301 (follow-switch-to-current-buffer-all, follow-scroll-up)
8302 (follow-scroll-down): Assume follow-mode is bound.
8303 (follow-comint-scroll-to-bottom)
8304 (follow-align-compilation-windows): New functions.
8305 (follow--window-sorter): New function.
8306 (follow-all-followers): Use it to explicitly sort windows by their
8307 positions; don't make assumptions about next-window order.
8308 (follow-windows-start-end, follow-delete-other-windows-and-split)
8309 (follow-calc-win-start): Doc fix.
8310 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8311 vertical-motion unnecessarily.
8312 (follow-adjust-window): New function.
8313 (follow-post-command-hook): Use it.
8314 (follow-call-set-process-filter, follow-call-process-filter)
8315 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8316 (follow-stop-intercept-process-output, follow-generic-filter):
8317 Functions deleted.
8318 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8319 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8320 New functions, replacing advice on scroll-bar-* commands.
8321 (follow-mwheel-scroll): New function (Bug#4112).
8322
8323 * comint.el (comint-adjust-point): New function.
8324 (comint-postoutput-scroll-to-bottom): Use it.
8325 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8326
8327 2012-05-01 Glenn Morris <rgm@gnu.org>
8328
8329 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8330 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8331 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8332 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8333 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8334 Remove no-byte-compile setting.
8335
8336 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8338 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8339 all-completions code to not return a number in the last cdr.
8340
8341 2012-04-30 Leo Liu <sdl.web@gmail.com>
8342
8343 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8344 read-only error.
8345
8346 2012-04-29 Chong Yidong <cyd@gnu.org>
8347
8348 * follow.el (follow-calc-win-end): Rewrite to handle partial
8349 screen lines correctly (Bug#8390).
8350 (follow-avoid-tail-recenter): Minor cleanup.
8351
8352 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8353
8354 Avoid the obsolete `assoc' package.
8355 * speedbar.el (speedbar-refresh): Avoid adelete.
8356 (speedbar-file-lists): Simplify and avoid aput.
8357 * man.el (Man--sections, Man--refpages): New vars, replacing
8358 Man-sections-alist and Man-refpages-alist.
8359 (Man-build-section-alist, Man-build-references-alist):
8360 Use them; avoid aput.
8361 (Man--last-section, Man--last-refpage): New vars.
8362 (Man-follow-manual-reference): Use them.
8363 Use the `default' arg of completing-read.
8364 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8365
8366 2012-04-27 Chong Yidong <cyd@gnu.org>
8367
8368 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8369
8370 * startup.el (x-apply-session-resources): New function.
8371
8372 * term/ns-win.el (ns-initialize-window-system):
8373 * term/w32-win.el (w32-initialize-window-system):
8374 * term/x-win.el (x-initialize-window-system): Use it to properly
8375 set menu-bar-mode and other vars from X resources, even if the
8376 initial frame is not a window-system frame (Bug#2299).
8377
8378 * subr.el (read-key): Avoid running filter function when setting
8379 up temporary tool bar entries (Bug#9922).
8380
8381 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8382
8383 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8384 (Bug#11344)
8385
8386 2012-04-27 Chong Yidong <cyd@gnu.org>
8387
8388 * select.el (xselect--encode-string): New function, split from
8389 xselect-convert-to-string.
8390 (xselect-convert-to-string): Use it.
8391 (xselect-convert-to-filename, xselect-convert-to-os)
8392 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8393 returned strings are properly encoded (Bug#11315).
8394
8395 2012-04-27 Chong Yidong <cyd@gnu.org>
8396
8397 * simple.el (delete-active-region): Move to killing custom group.
8398
8399 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
8400
8401 * progmodes/which-func.el (which-func-current): Quote %
8402 characters for mode-line processing.
8403
8404 2012-04-27 Chong Yidong <cyd@gnu.org>
8405
8406 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8407 reaching eob (Bug#11286).
8408
8409 2012-04-27 Eli Zaretskii <eliz@gnu.org>
8410
8411 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8412 (gdb): Make it buffer-local and init to zero.
8413 (gdb-control-commands-regexp): New variable.
8414 (gdb-send): Don't wrap in "-interpreter-exec console" if
8415 gdb-control-level is positive. Increment gdb-control-level
8416 whenever the command matches gdb-control-commands-regexp, and
8417 decrement it each time the command is "end". (Bug#11279)
8418
8419 2012-04-27 Martin Rudalics <rudalics@gmx.at>
8420
8421 * window.el (adjust-window-trailing-edge, enlarge-window)
8422 (shrink-window, window-resize):
8423 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8424 windows (Bug#11276).
8425
8426 2012-04-27 Chong Yidong <cyd@gnu.org>
8427
8428 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
8429 fix "missing prefix" warning. All callers changed.
8430
8431 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8432
8433 * emacs-lisp/assoc.el: Move to obsolete/.
8434
8435 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
8438
8439 * term/ns-win.el (ns-define-service):
8440 * progmodes/pascal.el (pascal-goto-defun):
8441 * progmodes/js.el (js--read-tab):
8442 * progmodes/etags.el (tags-lazy-completion-table):
8443 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8444 * emacs-lisp/ewoc.el (ewoc--wrap):
8445 * emacs-lisp/assoc.el (aput, adelete, amake):
8446 * doc-view.el (doc-view-convert-current-doc):
8447 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8448
8449 2012-04-26 Chong Yidong <cyd@gnu.org>
8450
8451 * image.el (image-type-from-buffer): Only return supported image
8452 type (Bug#9045).
8453
8454 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8455 value, for symmetry with diff-end-of-hunk.
8456 (diff-split-hunk, diff-find-source-location)
8457 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8458 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8459 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8460 compute the relevant hunk or file properly (Bug#6005).
8461 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8462
8463 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * vc/vc-mtn.el:
8466 * vc/vc-hg.el:
8467 * vc/vc-git.el:
8468 * vc/vc-dir.el:
8469 * vc/vc-cvs.el:
8470 * vc/vc-bzr.el:
8471 * vc/vc-arch.el:
8472 * vc/vc.el: Replace lexical-let by lexical-binding.
8473 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8474 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8475 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8476
8477 2012-04-26 Chong Yidong <cyd@gnu.org>
8478
8479 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8480 (diff-mode-shared-map): Bind it to / and [remap undo].
8481
8482 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8483 (ediff-window-setup-function): Use it as the default, to set up
8484 windows based on whether the current frame is graphical (Bug#2138).
8485 (ediff-choose-window-setup-function-automatically): Make obsolete.
8486
8487 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8488
8489 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8490
8491 * ffap.el: Remove old code for obsolete package.
8492 (ffap-complete-as-file-p): Remove.
8493
8494 Use completion-table-with-quoting for comint and pcomplete.
8495 * comint.el (comint--unquote&requote-argument)
8496 (comint--unquote-argument, comint--requote-argument): New functions.
8497 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8498 (comint-quote-filename): Use regexp-opt-charset.
8499 (comint--common-suffix, comint--common-quoted-suffix)
8500 (comint--table-subvert): Remove.
8501 (comint-unquote-function, comint-requote-function): New vars.
8502 (comint--complete-file-name-data): Use them with
8503 completion-table-with-quoting.
8504 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8505 * pcomplete.el (pcomplete-arg-quote-list)
8506 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8507 (pcomplete-unquote-argument-function): Default to non-nil.
8508 (pcomplete-unquote-argument): Simplify.
8509 (pcomplete--common-quoted-suffix): Remove.
8510 (pcomplete-requote-argument-function): New var.
8511 (pcomplete--common-suffix): New function.
8512 (pcomplete-completions-at-point): Use completion-table-with-quoting
8513 and completion-table-subvert.
8514
8515 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8516 (minibuffer--double-dollars): Preserve properties.
8517 (completion--sifn-requote): New function.
8518 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8519
8520 * minibuffer.el: Add support for completion of quoted/escaped data.
8521 (completion-table-with-quoting, completion-table-subvert): New funs.
8522 (completion--twq-try, completion--twq-all): New functions.
8523 (completion--nth-completion): New function.
8524 (completion-try-completion, completion-all-completions): Use it.
8525
8526 2012-04-25 Leo Liu <sdl.web@gmail.com>
8527
8528 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8529 Use compilation-message if available to find real filename.
8530
8531 2012-04-25 Chong Yidong <cyd@gnu.org>
8532
8533 * vc/diff-mode.el (diff-setup-whitespace): New function.
8534 (diff-mode): Use it.
8535
8536 * vc/diff.el (diff-sentinel):
8537 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8538 Whitespace mode variables based on diff style (Bug#8612).
8539
8540 2012-04-25 Leo Liu <sdl.web@gmail.com>
8541
8542 * progmodes/python.el (python-send-region): Add suffix .py to the
8543 temp file.
8544
8545 * files.el (auto-mode-alist): Use javascript-mode instead.
8546
8547 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8548
8549 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
8550
8551 * net/soap-client.el (soap-resolve-references-for-sequence-type)
8552 (soap-resolve-references-for-array-type): Hack to prevent self
8553 references, see Bug#9.
8554 (soap-parse-envelope): Report the contents of the 'detail' node
8555 when receiving a fault reply.
8556 (soap-parse-envelope): Report the contents of the entire 'detail' node.
8557
8558 * net/soap-inspect.el (soap-sample-value-for-simple-type)
8559 (soap-inspect-simple-type): New function.
8560
8561 * net/soap-client.el (soap-simple-type): New struct.
8562 (soap-default-xsd-types, soap-default-soapenc-types)
8563 (soap-decode-basic-type, soap-encode-basic-type):
8564 support unsignedInt and double basic types.
8565 (soap-resolve-references-for-simple-type)
8566 (soap-parse-simple-type, soap-encode-simple-type): New function.
8567 (soap-parse-schema): Parse xsd:simpleType declarations.
8568
8569 * net/soap-client.el (soap-default-xsd-types)
8570 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8571 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8572 the local name of "soapenc:Array".
8573 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
8574 decoding integer, byte and anyURI xsd types.
8575
8576 2012-04-25 Chong Yidong <cyd@gnu.org>
8577
8578 * cus-edit.el (custom-buffer-create-internal): Update header text.
8579
8580 2012-04-25 Eli Zaretskii <eliz@gnu.org>
8581
8582 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8583 settings on 'system-type', not on 'window-system'. On MS-Windows,
8584 set interactive-mode on in GDB.
8585
8586 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8589 (ruby-syntax-propertize-regexp): Remove.
8590 (ruby-syntax-propertize-function): Split regexp into chunks.
8591 Match following code directly.
8592
8593 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8594
8595 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8596 (ruby-syntax-propertize-regexp): New function.
8597 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8598 by a special keyword.
8599
8600 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8601 (ruby-syntax-general-delimiters-goto-beg)
8602 (ruby-syntax-propertize-general-delimiters): New functions.
8603 (ruby-syntax-propertize-function): Use them to handle GDL.
8604 (ruby-font-lock-keywords): Move old handling of GDL...
8605 (ruby-font-lock-syntactic-keywords): .. to here.
8606 (ruby-calculate-indent): Adjust indentation for GDL.
8607
8608 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
8609
8610 * notifications.el (top): Remove unneeded declarations.
8611 (notifications-specification-version): Change to "1.2".
8612 (notifications-interface, notifications-notify-method)
8613 (notifications-close-notification-method): Fix docstring.
8614 (notifications-get-capabilities-method): New defconst.
8615 (notifications-notify): Add :action-items, :resident and
8616 :transient hints. Change "image_data" to "image-data" and
8617 "image_path" to "image-path".
8618 (notifications-get-capabilities): New defun.
8619
8620 2012-04-24 Leo Liu <sdl.web@gmail.com>
8621
8622 * progmodes/python.el: Move hideshow setup to the end.
8623
8624 2012-04-24 Martin Rudalics <rudalics@gmx.at>
8625
8626 * window.el (handle-select-window): Clear echo area since this is
8627 no more done by read_char (Bug#11304).
8628
8629 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8630
8631 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8632 and `/ M' to filter-derived-mode.
8633 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8634 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8635 (ibuffer-mark-by-mode): Use default rather than initial-input.
8636 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8637
8638 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8639
8640 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8641 (ibuffer-filter-by-derived-mode): New filter.
8642 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8643
8644 2012-04-23 Andreas Politz <politza@fh-trier.de>
8645
8646 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8647
8648 2012-04-23 Chong Yidong <cyd@gnu.org>
8649
8650 * cus-edit.el (customize-apropos, customize-apropos-options):
8651 Disable matching of non-option variables (Bug#11176).
8652 (customize-option, customize-option-other-window)
8653 (customize-changed-options): Doc fix.
8654 (customize-apropos-options, customize-apropos-faces)
8655 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8656
8657 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
8658 Fix word list splitting (Bug#11132).
8659 (apropos-symbol, apropos-keybinding, apropos-label)
8660 (apropos-property, apropos-function-button)
8661 (apropos-variable-button, apropos-misc-button): New faces.
8662 (apropos-symbol-face, apropos-keybinding-face)
8663 (apropos-label-face, apropos-property-face, apropos-match-face):
8664 Variables removed (Bug#8396).
8665 (apropos-library-button, apropos-format-plist, apropos-print)
8666 (apropos-print-doc, apropos-describe-plist): Callers changed.
8667
8668 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
8669
8670 * net/xesam.el (xesam-mode-map): Use let-bound map in
8671 initialization. (Bug#11292)
8672
8673 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8674
8675 Preserve ispell session localwords when switching back to
8676 original buffer.
8677
8678 * textmodes/ispell.el (ispell-buffer-session-localwords):
8679 New buffer-local variable to hold buffer session localwords.
8680 (ispell-kill-ispell): Add option 'clear to delete session
8681 localwords.
8682 (ispell-command-loop, ispell-change-dictionary)
8683 (ispell-buffer-local-words): Preserve session localwords when
8684 needed.
8685
8686 * textmodes/flyspell.el (flyspell-process-localwords)
8687 (flyspell-do-correct): Preserve session localwords when needed.
8688
8689 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8690
8691 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8692 using obsolete `translation-table-for-input'.
8693 (ispell-word, ispell-process-line, ispell-complete-word):
8694 Use plain `insert' instead of removed `ispell-insert-word'.
8695
8696 2012-04-22 Chong Yidong <cyd@gnu.org>
8697
8698 * cus-edit.el (custom-variable-menu)
8699 (custom-variable-reset-saved, custom-face-menu)
8700 (custom-face-reset-saved): If there is no saved value, make the
8701 "reset-saved" operation bring back the default (Bug#9509).
8702 (custom-face-state): Properly detect themed faces.
8703
8704 * faces.el (face-spec-set): Stop supporting deprecated form of
8705 third arg.
8706
8707 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
8708
8709 Move functions from C to Lisp. Make non-blocking method calls
8710 the default. Implement further D-Bus standard interfaces.
8711
8712 * net/dbus.el (dbus-message-internal): Declare function.
8713 Remove unneeded function declarations.
8714 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8715 (dbus-message-type-method-return, dbus-message-type-error)
8716 (dbus-message-type-signal): Declare variables. Remove local
8717 definitions.
8718 (dbus-interface-dbus, dbus-interface-peer)
8719 (dbus-interface-introspectable, dbus-interface-properties)
8720 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8721 Adapt docstring.
8722 (dbus-interface-objectmanager): New defconst.
8723 (dbus-call-method, dbus-call-method-asynchronously)
8724 (dbus-send-signal, dbus-method-return-internal)
8725 (dbus-method-error-internal, dbus-register-service)
8726 (dbus-register-signal, dbus-register-method): New defuns, moved
8727 from dbusbind.c
8728 (dbus-call-method-handler, dbus-setenv)
8729 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8730 New defuns.
8731 (dbus-call-method-non-blocking): Make it an obsolete function.
8732 (dbus-unregister-object, dbus-unregister-service)
8733 (dbus-handle-event, dbus-register-property)
8734 (dbus-property-handler): Obey the new structure of
8735 `bus-registered-objects'.
8736 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8737 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8738 Use `dbus-call-method'.
8739
8740 2012-04-22 Chong Yidong <cyd@gnu.org>
8741
8742 * cus-edit.el (custom-commands, custom-reset-menu)
8743 (Custom-reset-standard): Tweak labels.
8744 (custom-reset-button-menu): Change default to t.
8745 (custom-buffer-create-internal): For the custom-reset-button-menu
8746 case, put the revert button first.
8747 (custom-group-subtitle): New face.
8748 (custom-group-value-create): Align docstring to a specific column.
8749
8750 * wid-edit.el (widget-documentation-link-add): Don't handle
8751 indentation in this function.
8752 (widget-documentation-string-indent-to): New function.
8753 (widget-documentation-string-value-create): Use it.
8754
8755 * autorevert.el (auto-revert):
8756 * epg-config.el (epg):
8757 * ibuffer.el (ibuffer):
8758 * mpc.el (mpc):
8759 * ses.el (ses):
8760 * eshell/eshell.el (eshell):
8761 * net/ange-ftp.el (ange-ftp):
8762 * progmodes/ebnf2ps.el (postscript):
8763 * progmodes/flymake.el (flymake):
8764 * progmodes/prolog.el (prolog):
8765 * progmodes/verilog-mode.el (verilog-mode):
8766 * progmodes/which-func.el (which-func):
8767 * term/xterm.el (xterm):
8768 * textmodes/picture.el (picture):
8769 * textmodes/tildify.el (tildify):
8770 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8771 customization buffers.
8772
8773 2012-04-22 Alan Mackenzie <acm@muc.de>
8774
8775 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8776 Adding a ) can hide the resulting (..) from searches. Fix it.
8777 Bound the backward search to the position of the existing (.
8778
8779 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8780
8781 * progmodes/verilog-mode.el (verilog-mode): Check whether
8782 which-func-modes is t before adding verilog-mode.
8783 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8784
8785 2012-04-21 Leo Liu <sdl.web@gmail.com>
8786
8787 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8788
8789 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8790
8791 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8792 filling of the last column of a table (Bug#5635).
8793 (woman-find-next-control-line): New arg, specifying an additional
8794 regexp component for the control line.
8795 (woman2-roff-buffer): Use it.
8796 (woman-break-table): New function.
8797 (woman2-TS): Use it.
8798
8799 2012-04-21 Chong Yidong <cyd@gnu.org>
8800
8801 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8802 (woman-horizontal-escapes, woman-negative-vertical-space)
8803 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8804 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8805
8806 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * minibuffer.el (completion-file-name-table): Complete user names.
8809
8810 2012-04-20 Leo Liu <sdl.web@gmail.com>
8811
8812 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8813 and pcase-let*.
8814
8815 2012-04-20 Chong Yidong <cyd@gnu.org>
8816
8817 * server.el (server-execute): Respect initial-buffer-choice if it
8818 is a string and there are no files to open (Bug#2825).
8819 (server-create-window-system-frame, server-create-tty-frame):
8820 Don't switch buffers here.
8821 (server-process-filter): Only try to open a window system frame if
8822 compiled with graphical support (Bug#8314).
8823
8824 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8825
8826 * battery.el (battery-echo-area-format): Display remaining time
8827 for sysfs backend too (Bug#11269).
8828 (battery-linux-sysfs): Fix conditional for the charge.
8829
8830 2012-04-20 Chong Yidong <cyd@gnu.org>
8831
8832 * progmodes/gdb-mi.el (gdb): Revert previous change.
8833 (gdb-inferior-io--init-proc): New function.
8834 (gdb-init-1): Use it.
8835 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8836 responsible for allocating a new pty and hooking it to gdb when
8837 the old pty gets an EIO due to process exit.
8838 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8839 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8840 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8841
8842 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8843
8844 * window.el (window-min-size, window-sizable, window-min-delta)
8845 (window-max-delta, window--resizable, window-resizable)
8846 (window-total-size, window-full-height-p, window-full-width-p)
8847 (window-in-direction, window--resize-mini-window, window-resize)
8848 (window--resize-child-windows-normal)
8849 (window--resize-child-windows, window--resize-siblings)
8850 (window--resize-this-window, adjust-window-trailing-edge)
8851 (enlarge-window, shrink-window): Doc fixes.
8852
8853 2012-04-20 Chong Yidong <cyd@gnu.org>
8854
8855 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8856 New function to call delete-process on the gdb-inferior buffer's pty.
8857 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8858 pty process (Bug#11273).
8859 (gdb-update): New arg to suppress talking to the gdb process.
8860 (gdb-done-or-error): Use it.
8861 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8862 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8863 sentinel not being called.
8864
8865 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8866
8867 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8868
8869 2012-04-20 Glenn Morris <rgm@gnu.org>
8870
8871 * net/network-stream.el (open-network-stream): Doc fix.
8872
8873 2012-04-20 Chong Yidong <cyd@gnu.org>
8874
8875 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8876
8877 2012-04-20 Alan Mackenzie <acm@muc.de>
8878
8879 Ensure searching for keywords is case sensitive.
8880
8881 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8882 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8883 (c-defun-name, c-mark-function, c-cpp-define-name)
8884 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8885 (c-context-line-break): Bind case-fold-search to nil.
8886
8887 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8888 Bind case-fold-search to nil.
8889
8890 2012-04-20 Chong Yidong <cyd@gnu.org>
8891
8892 * mail/sendmail.el (mail-bury): Call return action with the right
8893 Rmail buffer (Bug#11242).
8894
8895 * server.el (server-process-filter): Handle corner case where both
8896 tty and nowait options are present (Bug#11102).
8897
8898 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8899
8900 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8901 (top level): Put into the executable the ident-style '$Id:' tag on
8902 windows-nt as well.
8903
8904 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8905
8906 * electric.el (electric-indent-post-self-insert-function): Check that
8907 electric-indent-mode is enabled in current buffer.
8908
8909 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8910
8911 * imenu.el (imenu-progress-message): Restore; it is "used" in
8912 erc/erc-imenu.el and net/snmp-mode.el.
8913
8914 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8915
8916 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8917 (mouse-avoidance-nudge-mouse): Remove unused binding.
8918
8919 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8920
8921 * descr-text.el (describe-char):
8922 * progmodes/python.el (python-describe-symbol):
8923 Don't call `toggle-read-only', set `buffer-read-only'.
8924
8925 * imenu.el (imenu-default-goto-function): Mark unused args.
8926 (imenu-progress-message): Remove obsolete macro; all callers changed.
8927
8928 * subr.el (keymap-canonicalize): Remove unused binding.
8929 (read-passwd): Mark unused arg.
8930
8931 * tutorial.el (tutorial--display-changes): Remove unused binding.
8932 (tutorial--save-tutorial-to): Remove unused variable.
8933
8934 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8935 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8936 (package-generate-autoloads, package-menu--generate)
8937 (package-menu--find-upgrades): Remove unused bindings.
8938
8939 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8940 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8941 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8942 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8943 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8944 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8945 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8946 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8947 (cua-delete-char-rectangle): Mark unused args.
8948 (cua-align-rectangle): Remove unused binding.
8949
8950 * mail/rmail.el (compilation--message->loc)
8951 (epa--find-coding-system-for-mime-charset): Declare.
8952
8953 * net/dbus.el (dbus-register-service): Declare.
8954 (dbus-name-owner-changed-handler): Remove unused binding.
8955
8956 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8957 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8958 (nxml-scan-backward-within): Mark unused arg.
8959 (nxml-dynamic-markup-word): Remove unused binding.
8960
8961 * mouse.el (mouse-menu-major-mode-map):
8962 * emacs-lisp/authors.el (authors-scan-change-log)
8963 (authors-add-to-author-list):
8964 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8965 * emacs-lisp/smie.el (smie-auto-fill):
8966 * mail/sendmail.el (mail-bury):
8967 * mail/unrmail.el (unrmail):
8968 * net/tls.el (open-tls-stream):
8969 * textmodes/picture.el (picture-mouse-set-point):
8970 Remove unused bindings.
8971
8972 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8973
8974 * net/tramp.el (tramp-action-password): Let-bind
8975 `enable-recursive-minibuffers' to t.
8976
8977 2012-04-18 Sam Steingold <sds@gnu.org>
8978
8979 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8980 instead of 'string to accommodate values like [f11].
8981 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8982 * progmodes/gdb-mi.el: Likewise.
8983
8984 2012-04-18 Leo Liu <sdl.web@gmail.com>
8985
8986 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8987 current buffer.
8988 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8989 LOCAL is nil.
8990
8991 2012-04-18 Chong Yidong <cyd@gnu.org>
8992
8993 * simple.el (line-move): Use forward-line if in batch mode
8994 (Bug#11053).
8995
8996 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8997
8998 * files.el (after-find-file): Do not try to add a final newline if
8999 the buffer is read-only (Bug#11156).
9000
9001 2012-04-17 Richard Stallman <rms@gnu.org>
9002
9003 * mail/rmail.el (rmail-start-mail):
9004 Pass (rmail-mail-return...) for the return-action.
9005 Pass (rmail-yank-current-message...) for the yank-action.
9006 (rmail-yank-current-message): New function.
9007 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9008 (rmail-reply): Likewise.
9009 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9010
9011 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9012 buffer, not the last. Reject temp buffers. Use the rmail-mode
9013 buffer, not newbuf.
9014
9015 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9016
9017 * server.el (server-ensure-safe-dir): Simplify.
9018
9019 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * emacs-lisp/smie.el: Provide smarter auto-filling.
9022 (smie-auto-fill): New function.
9023 (smie-setup): Use it.
9024
9025 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9026
9027 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9028
9029 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9030 (comment-indent): Use it.
9031
9032 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9033
9034 * ses.el: The overall change is to add cell renaming, that is
9035 setting fancy names for cell symbols other than name matching
9036 "\\`[A-Z]+[0-9]+\\'" regexp .
9037 (ses-localvars): Add ses--renamed-cell-symb-list.
9038 (ses-create-cell-variable): New defun.
9039 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9040 (ses-relocate-formula): Relocate formulas only for cells the
9041 symbols of which are not renamed, i.e. symbols whose names do not
9042 match regexp "\\`[A-Z]+[0-9]+\\'".
9043 (ses-relocate-all): Relocate values only for cells the symbols of
9044 which are not renamed.
9045 (ses-load): Create cells variables as the (ses-cell ...) are read,
9046 in order to check row col consistency with cell symbol name only
9047 for cells that are not renamed.
9048 (ses-replace-name-in-formula): New defun.
9049 (ses-rename-cell): New defun.
9050
9051 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9052
9053 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9054 New option (bug#11118).
9055 (perl-calculate-indent): Respect it.
9056
9057 2012-04-17 Glenn Morris <rgm@gnu.org>
9058
9059 * dired-aux.el (dired-mark-read-string): Doc fix.
9060
9061 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9062
9063 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9064 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9065
9066 2012-04-17 Glenn Morris <rgm@gnu.org>
9067
9068 * mouse.el (mouse-drag-track):
9069 * speedbar.el (speedbar-frame-mode):
9070 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9071
9072 2012-04-16 Leo Liu <sdl.web@gmail.com>
9073
9074 * progmodes/python.el: Trivial cleanup.
9075
9076 2012-04-16 Glenn Morris <rgm@gnu.org>
9077
9078 * vc/vc.el (vc-string-prefix-p):
9079 * vc/pcvs-util.el (cvs-string-prefix-p):
9080 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9081 * mpc.el (mpc-string-prefix-p):
9082 Make all of these into obsolete aliases for string-prefix-p.
9083 Update callers.
9084 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9085
9086 * textmodes/two-column.el: Move custom options to the start.
9087 (frame-width): Remove compat definition.
9088 (2C-associate-buffer, 2C-dissociate):
9089 Use with-current-buffer rather than save-excursion.
9090 (2C-dissociate): Force a mode-line update.
9091 (2C-autoscroll): Use ignore-errors.
9092
9093 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9094 Autoload trivia.
9095
9096 * emacs-lisp/cl-extra.el (*random-state*):
9097 Remove unnecessary declaration.
9098
9099 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9100
9101 * play/cookie1.el (cookie-snarf):
9102 Give an explicit error if input file cannot be read.
9103
9104 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9105
9106 * progmodes/perl-mode.el (c-macro-expand):
9107 Remove unnecessary autoload (it is in loaddefs.el).
9108
9109 * textmodes/picture.el (picture-desired-column)
9110 (picture-update-desired-column): Convert comments to doc-strings.
9111 (picture-substitute): Remove function.
9112 (picture-mode-map): Initialize in the defvar.
9113
9114 * woman.el: Remove eval-after-load for tar-mode.
9115 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9116 (woman-tar-extract-file): Autoload it.
9117
9118 * frame.el (automatic-hscrolling): Make this alias obsolete.
9119
9120 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9121
9122 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9123 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9124 (ispell-dictionary-base-alist): Revert to original XEmacs
9125 friendly version for default. [:alpha:] will be added in
9126 `ispell-set-spellchecker-params' if needed.
9127
9128 2012-04-16 Chong Yidong <cyd@gnu.org>
9129
9130 * image.el (imagemagick--file-regexp): New variable.
9131 (imagemagick-register-types): Use it.
9132 (imagemagick-types-inhibit): Add :set function. Allow new value
9133 of t to inhibit all types.
9134
9135 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9136 so we can preload it.
9137
9138 * loadup.el (fboundp): Preload regexp-opt, needed by
9139 imagemagick-register-types.
9140
9141 2012-04-15 Chong Yidong <cyd@gnu.org>
9142
9143 * frame.el (scrolling): Remove nearly unused customization group.
9144
9145 * scroll-all.el (scroll-all-mode): Move to windows group.
9146
9147 2012-04-15 Chong Yidong <cyd@gnu.org>
9148
9149 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9150
9151 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9152
9153 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9154 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9155
9156 2012-04-15 Glenn Morris <rgm@gnu.org>
9157
9158 * simple.el (process-file-side-effects): Doc fix.
9159
9160 2012-04-15 Glenn Morris <rgm@gnu.org>
9161
9162 * international/mule-cmds.el (set-language-environment): Doc fix.
9163
9164 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9165
9166 * server.el (server-auth-key, server-generate-key): Doc fixes.
9167 (server-get-auth-key): Doc fix. Use `string-match-p'.
9168 (server-start): Reflow docstring.
9169
9170 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9171
9172 * server.el (server-generate-key): `called-interactively-p'
9173 requires a parameter.
9174
9175 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9176
9177 * server.el (server-auth-key): New variable.
9178 (server-generate-key, server-get-auth-key): New function.
9179 (server-start): Use the new variable and functions to allow
9180 setting a permanent server key (bug#9423).
9181
9182 2012-04-14 Leo Liu <sdl.web@gmail.com>
9183
9184 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9185
9186 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9187
9188 Spelling fixes.
9189 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9190 Emacs uses American spelling.
9191
9192 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9193
9194 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9195 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9196 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9197 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9198
9199 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9200
9201 * progmodes/which-func.el (which-func-modes): Change default.
9202
9203 2012-04-14 Kim F. Storm <storm@cua.dk>
9204
9205 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9206 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9207
9208 2012-04-14 Chong Yidong <cyd@gnu.org>
9209
9210 * custom.el (custom-theme-set-variables): Doc fix.
9211
9212 2012-04-14 Glenn Morris <rgm@gnu.org>
9213
9214 * international/mule.el (set-auto-coding-for-load): Doc fix.
9215
9216 2012-04-14 Alan Mackenzie <acm@muc.de>
9217
9218 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9219 imenu work again for Objective C Mode. Correct the *-index values,
9220 these having been disturbed by a previous change in 2011-08.
9221
9222 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9223 Correct two search limits.
9224
9225 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9226
9227 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9228
9229 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9230
9231 * international/characters.el: Fix sorting.
9232
9233 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9234
9235 * international/characters.el: Add more missing Latin case pairs.
9236
9237 2012-04-14 Glenn Morris <rgm@gnu.org>
9238
9239 * files.el (dir-locals-set-class-variables): Doc fix.
9240
9241 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9242
9243 * international/characters.el: Add set-case-syntax-pair call for
9244 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9245 counterpart. (Bug#11209)
9246
9247 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9248
9249 2012-04-14 Glenn Morris <rgm@gnu.org>
9250
9251 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9252
9253 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9254
9255 * textmodes/ispell.el (ispell-dictionary-base-alist):
9256 Add data for Hebrew.
9257
9258 2012-04-14 Chong Yidong <cyd@gnu.org>
9259
9260 * net/rcirc.el (rcirc-cmd-quit):
9261 Revert 2012-03-18 change (Bug#11192).
9262
9263 2012-04-14 Glenn Morris <rgm@gnu.org>
9264
9265 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9266
9267 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9268
9269 * minibuffer.el (completion-in-region-mode-map):
9270 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9271
9272 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9273
9274 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9275
9276 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9277
9278 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9279 to allow `C-M-f' and `C-M-b' to move to the nearest path
9280 separator (bug#9511).
9281
9282 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9283
9284 * avoid.el: Require cl when compiling. And also move the
9285 `provide' to the end.
9286
9287 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9288
9289 * avoid.el (mouse-avoidance-banish-position): New variable.
9290 (mouse-avoidance-banish-destination): Use it (bug#10165).
9291
9292 2012-04-13 Leo Liu <sdl.web@gmail.com>
9293
9294 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9295
9296 2012-04-13 Ken Brown <kbrown@cornell.edu>
9297
9298 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9299 this is no longer needed now that cygstart understands file:// URLs.
9300 (browse-url-filename-alist): For the same reason, don't modify
9301 file:// URLs on Cygwin.
9302
9303 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9306 the region on shift if the binding is already shifted (bug#11221).
9307
9308 2012-04-12 Glenn Morris <rgm@gnu.org>
9309
9310 * mail/mailpost.el: Move to obsolete/.
9311
9312 2012-04-12 Drew Adams <drew.adams@oracle.com>
9313
9314 * imenu.el (imenu--generic-function): Ignore invisible definitions
9315 (bug#10123).
9316
9317 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9318
9319 * hexl.el (hexl-bits): New variable.
9320 (hexl-options): Mention the variable in the doc string.
9321 (hexl-rulerise, hexl-line-displen): New functions.
9322 (hexl-mode): Mention the new variable.
9323 (hexl-mode, hexl-current-address, hexl-current-address):
9324 Use the displen.
9325 (hexl-ascii-start-column): New function.
9326 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9327 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9328
9329 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9330
9331 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9332 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9333 the encoding, as expected by hunspell.
9334
9335 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * battery.el (battery--linux-sysfs-regexp): New const.
9338 (battery-status-function): Use it. Remove yeeloong special case.
9339 (battery-yeeloong-sysfs): Remove.
9340 (battery-echo-area-format): Remove yeeloong special case.
9341
9342 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9345 Reported by Noah Friedman.
9346
9347 * subr.el (read-passwd): Use read-string.
9348
9349 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9350
9351 * vcursor.el (vcursor-move): Increase the priority of the overlay
9352 (bug#9663).
9353
9354 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9355
9356 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9357 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9358
9359 2012-04-11 William Stevenson <yhvh2000@gmail.com>
9360
9361 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9362 define-minor-mode (bug#10760).
9363
9364 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9365
9366 * progmodes/grep.el (rgrep): Tweak the find command line so
9367 that directories matching `grep-find-ignored-files' won't be
9368 pruned (bug#10351).
9369
9370 2012-04-11 Chong Yidong <cyd@gnu.org>
9371
9372 * startup.el (command-line): Remove support for long-obsolete
9373 variable font-lock-face-attributes.
9374
9375 2012-04-11 Glenn Morris <rgm@gnu.org>
9376
9377 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9378
9379 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9380
9381 * window.el (window--state-get-1): Obey window-point-insertion-type.
9382
9383 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9384
9385 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9386 to previous function when point is on the first character of a
9387 function. Take care of that in `narrow-to-defun' (bug#6157).
9388
9389 2012-04-11 Glenn Morris <rgm@gnu.org>
9390
9391 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9392 not just file-errors.
9393
9394 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9395 (vc-bzr-sha1): Use internal sha1.
9396
9397 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9400
9401 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9402
9403 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9404 that start in the middle of the line (bug#10496).
9405
9406 2012-04-10 Dan Nicolaescu <dann@gnu.org>
9407
9408 * battery.el (battery-linux-proc-acpi): Only one battery is
9409 discharged at a time, but that seems to confuse battery.el when
9410 computing `rate-type' for the battery not being discharged
9411 (bug#10332).
9412
9413 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9416
9417 * international/quail.el: Use dolist and simplify.
9418 (quail-define-package, quail-update-keyboard-layout)
9419 (quail-define-rules): Use dolist.
9420 (quail-insert-kbd-layout, quail-get-translation): CSE.
9421
9422 * tmm.el: Use dolist, remove left over hook.
9423 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9424 Use dolist.
9425 (calendar-load-hook): Don't mess with it.
9426
9427 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9428 Use derived-mode-p. Run the diff asynchronously.
9429
9430 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9431
9432 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9433
9434 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
9435
9436 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9437 (list-dynamic-libraries--loaded): New function.
9438 (list-dynamic-libraries--refresh): Use it.
9439
9440 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
9441
9442 * progmodes/python.el (python-fill-paragraph):
9443 Make python-fill-region in a multiline string work when font-lock is
9444 disabled (bug#7018).
9445
9446 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9447
9448 * language/european.el (cp775): Add oem/legacy (en)coding on
9449 DOS/MS Windows for the Baltic languages. There are still plenty
9450 of texts written in this encoding/codepage (bug#6519).
9451
9452 2012-04-10 Glenn Morris <rgm@gnu.org>
9453
9454 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9455 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9456
9457 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9458
9459 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
9460 next-line "n" and previous-line "p" in order to make recentf more
9461 consistent with ibuffer, dired or org-mode (bug#9387).
9462
9463 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9464
9465 * image.el (put-image): Return the overlay created instead of the
9466 optional input string (bug#7834). Note that this may break code
9467 that is (for some reason or other) depending on `put-image'
9468 returning the string.
9469
9470 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9471
9472 * simple.el (zap-to-char): Allow zapping using input methods
9473 (bug#1580).
9474
9475 * textmodes/fill.el (fill-region): Leave point and mark where they
9476 were before filling (bug#5399).
9477
9478 2012-04-09 Glenn Morris <rgm@gnu.org>
9479
9480 * version.el (emacs-bzr-get-version):
9481 Handle lightweight checkouts of local branches.
9482
9483 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9484
9485 * international/characters.el: Recover lost case pairs. (Bug#11209)
9486
9487 2012-04-09 Chong Yidong <cyd@gnu.org>
9488
9489 * custom.el (custom-variable-p): Return nil for non-symbol
9490 arguments instead of signaling an error.
9491 (user-variable-p): Obsolete alias for custom-variable-p.
9492
9493 * apropos.el (apropos-variable):
9494 * files-x.el (read-file-local-variable):
9495 * simple.el (set-variable):
9496 * woman.el (woman-mini-help):
9497 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9498
9499 2012-04-09 Glenn Morris <rgm@gnu.org>
9500
9501 * startup.el (normal-top-level): Don't look for leim-list.el
9502 in places where it will not be found. (Bug#910)
9503
9504 * international/mule-cmds.el (set-default-coding-systems):
9505 * files.el (normal-mode):
9506 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9507 This function was removed with ucs-tables.el in 2008.
9508
9509 2012-04-08 Eli Zaretskii <eliz@gnu.org>
9510
9511 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9512 ispell-encoding8-command to "-i", without a trailing space.
9513 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9514 separate command-line arguments, to specify the encoding, since
9515 that's how hunspell expects it.
9516
9517 2012-04-08 Glenn Morris <rgm@gnu.org>
9518
9519 * loadup.el: Load bindings before cus-start.
9520 This reduces somewhat the number of "rogue" settings in emacs -Q.
9521
9522 2012-04-07 Glenn Morris <rgm@gnu.org>
9523
9524 * version.el (emacs-bzr-get-version): New function.
9525 (emacs-bzr-version): New variable.
9526 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9527 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9528
9529 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9530
9531 * international/uni-bidi.el, international/uni-category.el:
9532 * international/uni-combining.el, international/uni-decimal.el:
9533 * international/uni-decomposition.el, international/uni-digit.el:
9534 * international/uni-lowercase.el, international/uni-mirrored.el:
9535 * international/uni-name.el, international/uni-numeric.el:
9536 * international/uni-titlecase.el, international/uni-uppercase.el:
9537 Update for Unicode 6.1.
9538
9539 2012-04-07 Eli Zaretskii <eliz@gnu.org>
9540
9541 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9542
9543 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9544
9545 * window.el (shrink-window): Mention the `window-min-height'
9546 variable in the doc string.
9547
9548 2012-04-05 Bastien Guerry <bzg@altern.org>
9549
9550 * color.el (color-lighten-name): Fix typo.
9551
9552 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9553
9554 * server.el (server--on-display-p): New function.
9555 (server--on-display-p): Use it.
9556
9557 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9558
9559 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9560 (bug#11145).
9561
9562 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * comint.el (comint--common-quoted-suffix): Check string boundary
9565 before comparing (bug#11158).
9566 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9567
9568 2012-04-04 Chong Yidong <cyd@gnu.org>
9569
9570 * minibuffer.el (completion-extra-properties): Doc fix.
9571
9572 * subr.el (delayed-warnings-hook): Doc fix.
9573
9574 2012-04-04 Daiki Ueno <ueno@unixuser.org>
9575
9576 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9577 selection (Bug#11159).
9578 (epa-insert-keys): Inform that the default public key will be
9579 exported if no key is selected.
9580
9581 2012-04-04 Richard Stallman <rms@gnu.org>
9582
9583 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9584
9585 2012-04-03 Chong Yidong <cyd@gnu.org>
9586
9587 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9588 mail-insert-file, not its obsolete alias mail-attach-file.
9589
9590 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
9591
9592 * notifications.el (notifications-notify): Fix docstring.
9593
9594 2012-04-02 Glenn Morris <rgm@gnu.org>
9595
9596 * emacs-lisp/authors.el (authors-aliases): Another addition.
9597
9598 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
9599
9600 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9601 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9602 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9603
9604 2012-04-01 Chong Yidong <cyd@gnu.org>
9605
9606 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9607 Handle root directory properly.
9608 (copy-directory): Caller changed.
9609
9610 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9611 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9612
9613 2012-03-31 Glenn Morris <rgm@gnu.org>
9614
9615 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9616
9617 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9618
9619 * calendar/calendar.el (calendar-window-list)
9620 (calendar-hide-window): Restore. (Bug#11140)
9621 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9622
9623 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9624
9625 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9626
9627 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9628 Check if file is a symlink (Bug#10489).
9629
9630 * files.el (copy-directory): Likewise.
9631
9632 2012-03-30 Chong Yidong <cyd@gnu.org>
9633
9634 * image.el (imagemagick-types-inhibit)
9635 (imagemagick-register-types): Doc fix.
9636
9637 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9638
9639 * textmodes/ispell.el (ispell-get-extended-character-mode):
9640 Disable extended-char-mode for hunspell. hunspell does not support it
9641 and treats ~word as ordinary words in pipe mode.
9642
9643 2012-03-30 Glenn Morris <rgm@gnu.org>
9644
9645 * tutorial.el (help-with-tutorial): Ensure local variables don't
9646 happen to make the buffer read-only. (Bug#11127)
9647
9648 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9650 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9651 (perl-calculate-indent): Return `noindent' in strings.
9652
9653 2012-03-28 Sam Steingold <sds@gnu.org>
9654
9655 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9656 instead of the broken adhockery which does not prevent calendar
9657 buffers from being displayed at random after exit.
9658 (calendar-window-list, calendar-hide-window): Remove the broken
9659 adhockery.
9660
9661 2012-03-28 Glenn Morris <rgm@gnu.org>
9662
9663 * replace.el (query-replace-map): Doc fix.
9664
9665 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9666
9667 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9668 contents. (Bug#11109)
9669
9670 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9673 (bug#11077).
9674 (avl-tree--check, avl-tree--check-node): New funs.
9675
9676 2012-03-27 Martin Rudalics <rudalics@gmx.at>
9677
9678 * window.el (switch-to-visible-buffer): New option.
9679 (switch-to-prev-buffer, switch-to-next-buffer):
9680 Observe switch-to-visible-buffer. Make sure that checking for a window
9681 showing a buffer already is done on the same frame.
9682
9683 2012-03-27 Glenn Morris <rgm@gnu.org>
9684
9685 * startup.el (mail-host-address): Doc fix.
9686
9687 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9690 than 197 variables.
9691
9692 2012-03-26 Ami Fischman <ami@fischman.org>
9693
9694 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9695
9696 2012-03-26 Glenn Morris <rgm@gnu.org>
9697
9698 * files.el (save-buffers-kill-emacs): Doc fix.
9699
9700 * startup.el (normal-top-level, command-line, command-line-1):
9701 Give them doc strings.
9702
9703 2012-03-25 Eli Zaretskii <eliz@gnu.org>
9704
9705 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9706 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9707
9708 2012-03-25 Chong Yidong <cyd@gnu.org>
9709
9710 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9711 theme if it was previously enabled before (Bug#11031).
9712
9713 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9714 spec with custom-face-get-current-spec if its :shown-value is not
9715 determined yet (Bug#9337).
9716 (customize-create-theme, custom-theme-revert): Doc fixes.
9717
9718 * button.el (button-at): Minor addition to docstring.
9719
9720 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
9721
9722 * vc/vc.el (vc-merge): Fix a prompt.
9723
9724 2012-03-24 Chong Yidong <cyd@gnu.org>
9725
9726 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9727 point (Bug#9623).
9728
9729 * button.el (button-at): Minor addition to docstring.
9730
9731 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * newcomment.el (comment-choose-indent): No space after BOL.
9734
9735 2012-03-22 Sam Steingold <sds@gnu.org>
9736
9737 * window.el (switch-to-prev-buffer): Revert last patch because the
9738 bug turned out to be an advertised feature (Elisp manual 28.14).
9739
9740 2012-03-22 Glenn Morris <rgm@gnu.org>
9741
9742 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9743 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9744
9745 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9746
9747 * net/network-stream.el (network-stream-open-starttls): Make error
9748 message under Windows be less misleading.
9749
9750 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9751
9752 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9753 understands (bug#9942).
9754
9755 2012-03-22 Chong Yidong <cyd@gnu.org>
9756
9757 * simple.el (end-of-visible-line): Handle return value of
9758 next-single-property-change properly (Bug#9371).
9759
9760 2012-03-22 Kenichi Handa <handa@m17n.org>
9761
9762 * international/quail.el (quail-insert-kbd-layout): Fix previous
9763 change. To avoid unwanted bidi reordering, use
9764 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9765
9766 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9767
9768 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9769 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9770 (ruby-beginning-of-indent): Be more careful with the difference
9771 between word-boundary and symbol boundary.
9772 (ruby-mode-syntax-table): Make : a symbol constituent.
9773
9774 2012-03-21 Andreas Politz <politza@fh-trier.de>
9775
9776 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9777
9778 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * progmodes/etags.el (tags-completion-at-point-function):
9781 Improve last fix.
9782
9783 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9784
9785 2012-03-21 Sam Steingold <sds@gnu.org>
9786
9787 * progmodes/etags.el (tags-completion-at-point-function):
9788 Avoid the error when point is inside the pattern.
9789
9790 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9791
9792 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9793 line (Bug#10855).
9794
9795 2012-03-21 Drew Adams <drew.adams@oracle.com>
9796
9797 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9798
9799 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9800
9801 * ido.el (ido-set-current-directory, ido-read-internal)
9802 (ido-choose-completion-string, ido-completion-help): Handle nil
9803 value of ido-completion-buffer (Bug#11008).
9804
9805 2012-03-21 Sam Steingold <sds@gnu.org>
9806
9807 * window.el (switch-to-prev-buffer): Do not switch to a visible
9808 window previous buffer, just like with the frame previous buffers.
9809
9810 2012-03-21 Chong Yidong <cyd@gnu.org>
9811
9812 * faces.el (make-face, make-empty-face, copy-face):
9813 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9814 Doc fixes.
9815
9816 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9817
9818 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9819 (widget-complete): Remove broken use of it.
9820
9821 2012-03-20 Chong Yidong <cyd@gnu.org>
9822
9823 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9824 Use string-width and truncate-string-width to handle arbitrary
9825 characters.
9826
9827 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9828
9829 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9830 to draw rectangles, not squares. (Regression introduced by revno
9831 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9832
9833 2012-03-18 Chong Yidong <cyd@gnu.org>
9834
9835 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9836 it is not yet defined (for temacs).
9837
9838 2012-03-18 Leo Liu <sdl.web@gmail.com>
9839
9840 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9841 prefix.
9842
9843 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9844
9845 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9846 (ispell-choices-win-default-height, ispell-silently-savep)
9847 (ispell-dictionary-alist, ispell-encoding8-command)
9848 (ispell-check-version, ispell-aspell-find-dictionary)
9849 (ispell-valid-dictionary-list, ispell-words-keyword)
9850 (ispell-get-word, ispell-internal-change-dictionary)
9851 (ispell-region, ispell-skip-region-list)
9852 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9853 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9854 (ispell-message-text-end, ispell-message)
9855 (ispell-buffer-local-parsing): Doc fix.
9856
9857 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9858
9859 * htmlfontify.el: Add support for code block fontification for ODT
9860 export (Bug #9914).
9861 (hfy-optimisations): Define new option
9862 `body-text-only'
9863 (hfy-fontify-buffer): Honor above setting.
9864 (hfy-begin-span, hfy-end-span): New routines factored out form
9865 `hfy-fontify-buffer'.
9866 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9867 that permit insertion of custom tags.
9868 (hfy-fontify-buffer): Use above handlers.
9869 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9870 (hfy-face-to-css): Re-defined to be a variable.
9871 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9872 over multiple runs. This is made possible by having the caller let
9873 bind a special variable `hfy-user-sheet-assoc'.
9874 (htmlfontify-string): New defun.
9875 (hfy-compile-face-map): Make sure that the last char in the
9876 buffer is correctly fontified.
9877 (hfy-face-resolve-face): Whitespace only change.
9878
9879 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9880
9881 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9882 message more clear.
9883
9884 2012-03-16 Leo Liu <sdl.web@gmail.com>
9885
9886 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9887
9888 2012-03-16 Alan Mackenzie <acm@muc.de>
9889
9890 Further optimise the handling of large macros.
9891
9892 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9893 limit to a call of `c-literal-limits'.
9894 (c-determine-+ve-limit): New function.
9895 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9896 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9897 In CASE 5B, restrict a search limit to 500.
9898 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9899
9900 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9901 Restrict macro bounds to +-500 from after-change's BEG END.
9902
9903 2012-03-16 Leo Liu <sdl.web@gmail.com>
9904
9905 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9906
9907 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9908
9909 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9910 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9911
9912 2012-03-16 Glenn Morris <rgm@gnu.org>
9913
9914 * view.el (view-buffer, view-buffer-other-window)
9915 (view-buffer-other-frame): Doc fixes re special mode-class.
9916
9917 * subr.el (eval-after-load): If named feature is provided not from
9918 a file, run after-load forms. (Bug#10946)
9919
9920 * calendar/calendar.el (calendar-insert-at-column):
9921 Handle non-unit-width characters a bit better. (Bug#10978)
9922
9923 2012-03-15 Chong Yidong <cyd@gnu.org>
9924
9925 * emacs-lisp/ring.el (ring-extend): New function.
9926 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9927
9928 * comint.el (comint-read-input-ring)
9929 (comint-add-to-input-history): Grow comint-input-ring lazily.
9930
9931 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9932
9933 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9934 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9935
9936 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9937 (imenu-add-to-menubar): Don't add a redundant index.
9938 (imenu-update-menubar): Handle a dynamically composed keymap.
9939
9940 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9941
9942 * mail/sendmail.el (mail-encode-header):
9943 Bind rfc2047-encode-encoded-words to nil.
9944
9945 2012-03-13 Glenn Morris <rgm@gnu.org>
9946
9947 * calendar/calendar.el (calendar-string-spread):
9948 Handle non-unit-width characters a bit better. (Bug#10978)
9949
9950 2012-03-13 Leo Liu <sdl.web@gmail.com>
9951
9952 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9953 directory and file as argument (Bug#10822).
9954
9955 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9956
9957 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9958 For dynamically generated code, follow $PC.
9959 (gdb-disassembly-handler-custom): Handle no function name case.
9960
9961 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9962
9963 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9964 * emulation/ws-mode.el (ws-query-replace):
9965 * sort.el (sort-regexp-fields):
9966 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9967
9968 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9969
9970 * dabbrev.el: Fix cycle completion order (bug#10963).
9971 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9972 (dabbrev-completion): Don't use an obarray; provide
9973 a cycle-sort-function.
9974
9975 2012-03-12 Leo Liu <sdl.web@gmail.com>
9976
9977 * simple.el (kill-new): Use equal-including-properties for comparison.
9978 (kill-do-not-save-duplicates): Doc fix.
9979
9980 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9981
9982 * dabbrev.el: Fix cycle completion (bug#10963).
9983 Use lexical binding and wrap to 80 columns.
9984 (dabbrev-completion): Delay computing the list of completions.
9985
9986 2012-03-12 Kenichi Handa <handa@m17n.org>
9987
9988 * international/quail.el (quail-insert-kbd-layout): Surround each
9989 row by LRO and PDF instead of inserting many LRMs. Pad the left
9990 and right of each non-spacing marks. Insert invisible space
9991 between lower and upper characters to prevent composition.
9992
9993 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * minibuffer.el (minibuffer-complete): Don't get confused when the
9996 function is run twice via different commands (bug#10958).
9997 (complete-with-action): Fix docstring.
9998
9999 2012-03-12 Chong Yidong <cyd@gnu.org>
10000
10001 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10002 (nxml-completion-at-point-function): New function.
10003 (nxml-mode): Use it.
10004 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10005
10006 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10007 Load generated autoloads file before byte compiling (Bug#10970).
10008 (package--make-autoloads-and-compile): New helper fun.
10009
10010 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10011
10012 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10013
10014 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10015
10016 * autorevert.el (auto-revert-handler): Ensure, that
10017 file-readable-p is applied only for local files or in
10018 auto-revert-tail-mode.
10019
10020 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10021
10022 * server.el (server-eval-at): Handle non-tcp connections.
10023 Decode result string.
10024
10025 * server.el (server-msg-size): New constant.
10026 (server-reply-print): New function.
10027 (server-eval-and-print): Use it.
10028 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10029 Handle -print-nonl.
10030
10031 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10032
10033 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10034 (Bug#10987).
10035
10036 2012-03-11 Chong Yidong <cyd@gnu.org>
10037
10038 * simple.el (goto-line): Doc fix (Bug#9938).
10039
10040 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10041
10042 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10043 when finished (Bug#10963).
10044
10045 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10046
10047 * window.el (split-window-below): Fix bug in case where
10048 split-window-keep-point is nil (Bug#10971).
10049
10050 2012-03-11 Juri Linkov <juri@jurta.org>
10051
10052 * replace.el (replace-highlight): Set isearch-word to nil
10053 unconditionally. (Bug#10887)
10054
10055 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10056
10057 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10058 mairix-replace-illegal-chars; all callers changed. Don't remove
10059 ^, ~, and = characters: they are meaningful in mairix search specs.
10060 (mairix-widget-create-query): Add usage information about mairix
10061 search forms: negating words, searching for substrings, etc.
10062
10063 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10064
10065 * international/fontset.el (font-encoding-alist): Add an entry for
10066 ksx1001 (Bug#5667).
10067
10068 2012-03-10 Richard Stallman <rms@gnu.org>
10069
10070 * mail/sendmail.el (mail-encode-header):
10071 Set rfc2047-encode-encoded-words.
10072
10073 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10074
10075 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10076 view buffer means not swapped.
10077 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10078 (rmail-write-region-annotate): Error if real text has disappeared.
10079
10080 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10081
10082 2012-03-10 Chong Yidong <cyd@gnu.org>
10083
10084 * emulation/cua-rect.el (cua--init-rectangles):
10085 * emulation/cua-base.el (cua--init-keymaps):
10086 Add delete-forward-char to remappings (Bug#9666).
10087
10088 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10089
10090 * speedbar.el (speedbar-unhighlight-one-tag-line):
10091 Avoid unhighlighting due to frame switching (Bug#10275).
10092
10093 2012-03-10 Chong Yidong <cyd@gnu.org>
10094
10095 * minibuffer.el (completion-in-region, completion-help-at-point):
10096 Give the completion field overlay a high priority (Bug#6830).
10097
10098 * dired.el (dired-goto-file): Recognize absolute file name
10099 listings (Bug#7126).
10100 (dired-goto-file-1): New helper function.
10101 (dired-toggle-read-only): Inhibit warnings.
10102
10103 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10104
10105 * net/dbus.el (dbus-property-handler): Return empty array if
10106 there are no properties.
10107
10108 2012-03-09 Leo Liu <sdl.web@gmail.com>
10109
10110 * savehist.el (savehist-printable): Stricter check for string
10111 value (Bug#10937).
10112
10113 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10114
10115 * mail/smtpmail.el (smtpmail-send-it):
10116 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10117 valid mbox format.
10118
10119 2012-03-09 Glenn Morris <rgm@gnu.org>
10120
10121 * files.el (dir-locals-find-file):
10122 Don't check result is regular, readable.
10123 (dir-locals-read-from-file): Demote errors.
10124
10125 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10126
10127 * international/quail.el (quail-insert-kbd-layout):
10128 Insert invisible LRM characters before each character in a keyboard
10129 layout cell, to prevent their reordering by bidi display engine.
10130 For details, see the discussion in
10131 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10132
10133 2012-03-08 Alan Mackenzie <acm@muc.de>
10134
10135 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10136 the starting position; make it extend the marked region when
10137 invoked repeatedly - all under appropriate circumstances.
10138 Fixes bugs #5525, #10906.
10139
10140 2012-03-08 Glenn Morris <rgm@gnu.org>
10141
10142 * files.el (locate-dominating-file, dir-locals-find-file):
10143 Undo 2012-03-06 change.
10144
10145 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10146
10147 * international/quail.el (quail-help):
10148 Force bidi-paragraph-direction be left-to-right. See discussion in
10149 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10150 for the reason.
10151
10152 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10153
10154 Avoid superfluous registering of signals. (Bug#10807)
10155
10156 * notifications.el (notifications-on-action-object)
10157 (notifications-on-close-object): New defvars.
10158 (notifications-on-action-signal, notifications-on-closed-signal):
10159 Unregister the signal if not needed any longer.
10160 (notifications-notify): Register `notifications-action-signal' or
10161 `notifications-closed-signal', if :on-action or :on-close has been
10162 passed as argument.
10163
10164 2012-03-07 Chong Yidong <cyd@gnu.org>
10165
10166 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10167 non-X platforms.
10168
10169 2012-03-06 Glenn Morris <rgm@gnu.org>
10170
10171 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10172 (x-disown-selection-internal, x-get-selection-internal):
10173 Doc fix (add arglist signatures). (Bug#10783)
10174
10175 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10176
10177 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10178 Handle breakpoints with no "type".
10179
10180 2012-03-06 Glenn Morris <rgm@gnu.org>
10181
10182 * files.el (locate-dominating-file): Add optional predicate argument.
10183 (dir-locals-find-file): Make use of above change.
10184
10185 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10186
10187 * info.el (Info-insert-dir): Also try "dir.gz".
10188
10189 2012-03-06 Glenn Morris <rgm@gnu.org>
10190
10191 * files.el (dir-locals-find-file):
10192 Ignore non-readable or non-regular files. (Bug#10928)
10193
10194 * files.el (locate-dominating-file): Doc fix.
10195
10196 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10197
10198 * calendar/calendar.el (calendar-set-mode-line):
10199 `getenv' returns a string. (Bug#10951)
10200
10201 2012-03-05 Leo Liu <sdl.web@gmail.com>
10202
10203 * simple.el (backward-delete-char-untabify): Constrain point to
10204 field (Bug#10939).
10205
10206 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10207
10208 2012-03-05 Chong Yidong <cyd@gnu.org>
10209
10210 * simple.el (count-words): If called from Lisp, return the word
10211 count, for symmetry with `count-lines'. Arglist changed.
10212 (count-words--message): Args changed. Consolidate counting code
10213 from count-words and count-words-region.
10214 (count-words-region): Caller changed.
10215 (count-lines-region): Make it an obsolete alias.
10216
10217 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10218
10219 * saveplace.el (save-place-to-alist)
10220 (save-place-ignore-files-regexp): Allow value nil to disable this
10221 feature.
10222
10223 2012-03-04 Chong Yidong <cyd@gnu.org>
10224
10225 * faces.el (face-spec-reset-face): For the default face, reset the
10226 attributes to default values (Bug#10748).
10227
10228 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10229
10230 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10231 previous patch: Check `message-send-mail-function', and not the
10232 default function (bug#10897).
10233
10234 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10235
10236 * notifications.el (notifications-on-action-signal)
10237 (notifications-on-closed-signal): Check for unique service name of
10238 incoming event. Fix error in removing entry.
10239 (top): Register for signals with wildcard service name.
10240 (notifications-notify): Use daemon unique service name for map entries.
10241
10242 2012-03-04 Chong Yidong <cyd@gnu.org>
10243
10244 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10245
10246 2012-03-04 Glenn Morris <rgm@gnu.org>
10247
10248 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10249 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10250 (expand-abbrev, define-abbrev-table): Doc fixes.
10251
10252 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10253
10254 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10255 `message-default-send-mail-function' and not `send-mail-function'
10256 when doing the prompting for `sendmail-query-once' before sending
10257 in Message buffers (bug#10897).
10258
10259 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10260 This is inconsistent with all the other stream functions, which leave
10261 the setting up to the higher levels (if so wanted) (bug#10931).
10262
10263 2012-03-02 Alan Mackenzie <acm@muc.de>
10264
10265 Depessimize the handling of very large macros.
10266
10267 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10268 (c-macro-cache-syntactic): New variables to implement a one
10269 element macro cache.
10270 (c-invalidate-macro-cache): New function.
10271 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10272 Adapt to use the new cache.
10273 (c-state-safe-place): Use better the cache of safe positions.
10274 (c-state-semi-nonlit-pos-cache)
10275 (c-state-semi-nonlit-pos-cache-limit):
10276 New variables for...
10277 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10278 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10279 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10280 Use c-state-semi-safe-place.
10281
10282 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10283 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10284
10285 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10286
10287 * jka-compr.el (jka-compr-call-process):
10288 Apply `file-accessible-directory-p' only when the default directory is
10289 not remote.
10290
10291 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10292
10293 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10294 access of FILE2, if FILE1 does not exist.
10295
10296 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10297 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10298
10299 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10300 Add "PAGER=" to `process-environment'.
10301
10302 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10303
10304 * progmodes/sql.el: Bug fix
10305 (sql-get-login-ext): Save login values in globals.
10306 (sql-get-login): Use new version of `sql-get-login-ext'.
10307 (sql-interactive-mode): Set global `sql-connection' to nil.
10308 (sql-connect): Set global values for connection.
10309 (sql-product-interactive): Save global values as buffer local.
10310
10311 2012-02-29 Leo Liu <sdl.web@gmail.com>
10312
10313 * abbrev.el (define-abbrevs): Reset sys to nil.
10314
10315 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10316
10317 * files.el (file-equal-p): Rename from `files-equal-p'.
10318 Return nil when one or both files don't exist.
10319 (file-subdir-of-p): Now only top directory must exists,
10320 return nil if it doesn't.
10321 (copy-directory): No need to test with `file-subdir-of-p' after
10322 creating dir.
10323 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10324 to `file-equal-p'.
10325
10326 2012-02-28 Glenn Morris <rgm@gnu.org>
10327
10328 * shell.el (shell-mode):
10329 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10330 * play/landmark.el (landmark-font-lock-face-O):
10331 * play/handwrite.el (handwrite):
10332 * play/gomoku.el (gomoku-O):
10333 * net/browse-url.el (browse-url-browser-display):
10334 * international/mule.el (define-charset):
10335 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10336 * filesets.el (filesets-find-file-delay):
10337 * eshell/em-xtra.el (eshell-xtra):
10338 * eshell/em-unix.el (eshell-grep):
10339 * emulation/viper.el (viper-mode):
10340 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10341 * emacs-lisp/easymenu.el (easy-menu-define):
10342 * calendar/timeclock.el (timeclock-use-display-time):
10343 * bs.el (bs-mode):
10344 * bookmark.el (bookmark-save-flag):
10345 Doc fix (standardize possessive apostrophe usage).
10346
10347 2012-02-27 Chong Yidong <cyd@gnu.org>
10348
10349 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10350 Fix key-binding lookup for ESC key (Bug#9146).
10351
10352 * font-lock.el (font-lock-specified-p): Rename from
10353 font-lock-spec-present. Callers changed.
10354
10355 2012-02-27 Daniel Hackney <dan@haxney.org>
10356
10357 * emacs-lisp/package.el (package-compute-transaction):
10358 Handle holding a package version to t in package-load-list.
10359
10360 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
10361
10362 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10363 (tramp-get-inode, tramp-get-device): Use cached values.
10364
10365 2012-02-26 Alan Mackenzie <acm@muc.de>
10366
10367 Check there is a font-lock specification before doing initial
10368 fontification.
10369
10370 * font-core.el (font-lock-mode): Move the conditional from
10371 :after-hook to font-lock-initial-fontify.
10372 (font-lock-default-function): Move the check for a specification
10373 to font-lock-spec-present.
10374
10375 * font-lock.el (font-lock-initial-fontify): Call ...
10376 (font-lock-spec-present): New function.
10377
10378 2012-02-26 Jim Blandy <jimb@red-bean.com>
10379
10380 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10381 (gdb-send): Apply it to the operand of the '-interpreter-exec
10382 console' command, so that we can pass arguments with (say) quotes
10383 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10384
10385 2012-02-26 Chong Yidong <cyd@gnu.org>
10386
10387 * help-fns.el (describe-function-1): Clarify description of
10388 remapping (Bug#10844).
10389
10390 * files.el (files-equal-p): Doc fix.
10391 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10392 and quit the loop once a mismatch is found.
10393
10394 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
10395
10396 * bs.el (bs--show-with-configuration): Don't throw an error
10397 if the window cannot be split; otherwise, subsequent calls to
10398 bs-show fail, restoring a stale window config. (Bug#10882)
10399
10400 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10401
10402 * term/ns-win.el (global-map): Bind ns-drag-file to
10403 ns-find-file (Bug#5855, Bug#10050).
10404
10405 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10406
10407 * calendar/parse-time.el (parse-time-string): Allow extractor to
10408 return nil.
10409
10410 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
10411
10412 * net/tramp.el (tramp-file-name-for-operation):
10413 Add `files-equal-p' and `file-subdir-of-p'.
10414
10415 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
10416 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10417 Add COPY-CONTENTS argument.
10418
10419 2012-02-25 Chong Yidong <cyd@gnu.org>
10420
10421 Add custom groups for VC backends, for consistency with vc-bzr.
10422
10423 * vc/vc-arch.el (vc-arch):
10424 * vc/vc-cvs.el (vc-cvs):
10425 * vc/vc-git.el (vc-git):
10426 * vc/vc-hg.el (vc-hg):
10427 * vc/vc-mtn.el (vc-mtn):
10428 * vc/vc-rcs.el (vc-rcs):
10429 * vc/vc-sccs.el (vc-sccs):
10430 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10431 All relevant defcustoms reassigned.
10432
10433 2012-02-25 Chong Yidong <cyd@gnu.org>
10434
10435 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10436
10437 * term/x-win.el (x-initialize-window-system): Reduce default for
10438 x-selection-timeout to 5 seconds (Bug#8869).
10439
10440 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10441
10442 * files.el (files-equal-p, file-subdir-of-p): New functions.
10443 (copy-directory): Error when trying to copy a directory on itself.
10444 Add missing copy-contents arg to tramp handler.
10445 * dired-aux.el (dired-copy-file-recursive): Same.
10446 (dired-create-files): Modify destination when source is equal to
10447 dest when copying files.
10448 Return also when dest is a subdir of source. (Bug#10489)
10449
10450 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
10451
10452 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10453 (Bug#10874)
10454
10455 2012-02-23 Alan Mackenzie <acm@muc.de>
10456
10457 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10458 parameter "after-hook:" to allow the expansion to run code after
10459 the execution of the mode hooks.
10460
10461 * font-lock.el (font-lock-initial-fontify): New function extracted
10462 from font-lock-mode-internal.
10463
10464 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
10465 :after-hook.
10466
10467 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10470 (completion--cache-all-sorted-completions): New function.
10471 (completion-all-sorted-completions): Use it.
10472 (completion--do-completion, minibuffer-force-complete):
10473 Use it to re-instate the flush hook.
10474
10475 * icomplete.el (icomplete-completions): Replace last fix with a better
10476 one (bug#10850).
10477
10478 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10479
10480 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10481 when it might call us back infinitely (bug#10797).
10482
10483 2012-02-23 Glenn Morris <rgm@gnu.org>
10484
10485 * minibuffer.el (completion-category-overrides): Doc fix.
10486
10487 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10488
10489 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10490 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10491
10492 2012-02-23 Glenn Morris <rgm@gnu.org>
10493
10494 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
10495 (authors-obsolete-files-regexps, authors-ignored-files)
10496 (authors-ambiguous-files, authors-renamed-files-alist):
10497 Add more entries.
10498
10499 2012-02-23 Juri Linkov <juri@jurta.org>
10500
10501 * isearch.el (isearch-occur): Sync interactive spec with occur's
10502 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10503
10504 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10505
10506 2012-02-22 Juri Linkov <juri@jurta.org>
10507
10508 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10509 (ucs-insert): Doc fix. Check for hex digits in the string.
10510 Don't display `nil' in the error message. (Bug#10857)
10511
10512 2012-02-22 Alan Mackenzie <acm@muc.de>
10513
10514 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
10515
10516 2012-02-22 Glenn Morris <rgm@gnu.org>
10517
10518 * ffap.el (ffap-c-path):
10519 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10520
10521 2012-02-22 Chong Yidong <cyd@gnu.org>
10522
10523 * custom.el (load-theme): Doc fix.
10524
10525 2012-02-22 Glenn Morris <rgm@gnu.org>
10526
10527 * dired-x.el (dired-guess-shell-alist-default):
10528 Remove escape sequences from nroff output. (Bug#172)
10529
10530 2012-02-21 Glenn Morris <rgm@gnu.org>
10531
10532 * vc/emerge.el (emerge-defvar-local):
10533 Set `permanent-local' property rather than unused `preserved'.
10534
10535 * textmodes/picture.el (picture-delete-char): New alias.
10536 (picture-mode-map): Use it. (Bug#10860)
10537 (picture-mode): Doc fix.
10538
10539 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
10540
10541 * newcomment.el (uncomment-region-default): Remove unused binding.
10542
10543 2012-02-21 Glenn Morris <rgm@gnu.org>
10544
10545 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10546 (picture-self-insert, picture-tab-chars): Doc fix.
10547 (picture-mode-map): Fix C-a, C-e.
10548
10549 2012-02-20 Glenn Morris <rgm@gnu.org>
10550
10551 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10552
10553 2012-02-20 Leo Liu <sdl.web@gmail.com>
10554
10555 * icomplete.el (icomplete-completions): Check FROM arg before
10556 passing to substring (Bug#10850).
10557
10558 2012-02-19 Chong Yidong <cyd@gnu.org>
10559
10560 * comint.el: Require ansi-color.
10561 (comint-output-filter-functions): Add ansi-color-process-output.
10562
10563 * ansi-color.el: Don't set comint-output-filter-functions; it is
10564 now in the initial value defined in comint.el.
10565 (ansi-color-apply-face-function): New variable.
10566 (ansi-color-apply-on-region): Use it.
10567 (ansi-color-apply-overlay-face): New function.
10568
10569 * shell.el (shell): No need to require ansi-color.
10570 (shell-mode): Use ansi-color-apply-face-function to highlight
10571 color escapes using font-lock-face property (Bug#10835).
10572
10573 2012-02-19 Chong Yidong <cyd@gnu.org>
10574
10575 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10576 mode-line formats (Bug#10839).
10577
10578 2012-02-18 Glenn Morris <rgm@gnu.org>
10579
10580 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10581
10582 * mail/undigest.el (unforward-rmail-message): Doc fix.
10583
10584 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10585
10586 2012-02-18 Eli Zaretskii <eliz@gnu.org>
10587
10588 * international/characters.el (script-list): Sync with the latest
10589 Unicode Character Database.
10590
10591 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10592
10593 * international/titdic-cnv.el: Remove duplicate coding tag.
10594 * language/cham.el: Likewise.
10595 * language/tai-viet.el: Likewise.
10596
10597 2012-02-18 Glenn Morris <rgm@gnu.org>
10598
10599 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10600 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10601 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10602 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10603 * calendar/holidays.el (holiday-bahai-holidays)
10604 (calendar-holidays, list-holidays):
10605 Use utf-8 Bahá'í in doc-strings, menus, etc.
10606
10607 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10608
10609 * saveplace.el (save-place-ignore-files-regexp): New variable
10610 allowing for excluding files from saving their location of point.
10611 The default value matches the temporary commit message editing
10612 files from Git, SVN, Bazaar, and Mercurial.
10613 (save-place-to-alist): Use it.
10614
10615 2012-02-17 Lawrence Mitchell <wence@gmx.li>
10616 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * newcomment.el (uncomment-region-default): Don't leave extra space
10619 when an arg is provided (bug#8150).
10620
10621 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10622
10623 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
10624
10625 2012-02-17 Glenn Morris <rgm@gnu.org>
10626
10627 * net/socks.el: Require network-stream. (Bug#10599)
10628
10629 2012-02-17 Kenichi Handa <handa@m17n.org>
10630
10631 * international/charprop.el:
10632 * international/uni-name.el:
10633 * international/uni-old-name.el:
10634 * international/uni-comment.el: Regenerate.
10635
10636 2012-02-16 Glenn Morris <rgm@gnu.org>
10637
10638 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10639 Interactively in calendar buffer, give an error if not on a date.
10640
10641 2012-02-15 Glenn Morris <rgm@gnu.org>
10642
10643 * shell.el (shell-delimiter-argument-list):
10644 Revert 2011-02-17 change. (Bug#8027)
10645
10646 2012-02-15 Chong Yidong <cyd@gnu.org>
10647
10648 * minibuffer.el (completion-at-point-functions): Doc fix.
10649
10650 * custom.el (defcustom): Doc fix; note use of defvar.
10651
10652 2012-02-15 Glenn Morris <rgm@gnu.org>
10653
10654 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10655 Doc fixes.
10656
10657 2012-02-14 Glenn Morris <rgm@gnu.org>
10658
10659 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10660
10661 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10662
10663 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10664 way the ports list is computed.
10665 (smtpmail-query-smtp-server): Prompt the user for a port number if
10666 we can't connect to any of the standard ports (bug#10810).
10667
10668 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10669
10670 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10671
10672 2012-02-13 Glenn Morris <rgm@gnu.org>
10673
10674 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10675
10676 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10677
10678 * net/gnutls.el (gnutls-trustfiles): New variable.
10679 (gnutls-negotiate): Use it.
10680
10681 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10682
10683 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10684 does its stuff if Gnus is running.
10685
10686 2012-02-13 Alan Mackenzie <acm@muc.de>
10687
10688 Fix a loop in c-set-fl-decl-start.
10689
10690 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10691 c-backward-syntactic-ws actually moves backwards.
10692
10693 2012-02-13 Leo Liu <sdl.web@gmail.com>
10694
10695 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10696 beginning so that all \C-o chars are removed.
10697
10698 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10699
10700 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10701
10702 2012-02-12 Alan Mackenzie <acm@muc.de>
10703
10704 Fix infinite loop with long macros.
10705 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10706
10707 2012-02-12 Chong Yidong <cyd@gnu.org>
10708
10709 * window.el (display-buffer): Doc fix (Bug#10785).
10710
10711 2012-02-12 Glenn Morris <rgm@gnu.org>
10712
10713 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10714 (x-disown-selection-internal, x-get-selection-internal):
10715 Sync docs with the xselect.c versions.
10716
10717 * allout-widgets.el: Add missing license notice.
10718
10719 2012-02-11 Glenn Morris <rgm@gnu.org>
10720
10721 * select.el (x-get-selection-internal, x-own-selection-internal)
10722 (x-disown-selection-internal):
10723 * x-dnd.el (x-get-selection-internal): Update declarations.
10724
10725 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10726
10727 * window.el (window-sides-slots):
10728 * tool-bar.el (tool-bar-position):
10729 * term/xterm.el (xterm-extra-capabilities):
10730 * ses.el (ses-self-reference-early-detection):
10731 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10732 (verilog-auto-wire-type)
10733 (verilog-auto-delete-trailing-whitespace)
10734 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10735 (verilog-auto-tieoff-declaration):
10736 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10737 (sql-oracle-statement-starters, sql-oracle-scan-on):
10738 * progmodes/prolog.el (prolog-align-comments-flag)
10739 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10740 (prolog-left-indent-regexp, prolog-paren-indent-p)
10741 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10742 (prolog-types, prolog-mode-specificators)
10743 (prolog-determinism-specificators, prolog-directives)
10744 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10745 (prolog-electric-dot-flag)
10746 (prolog-electric-dot-full-predicate-template)
10747 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10748 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10749 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10750 (prolog-program-switches, prolog-prompt-regexp)
10751 (prolog-debug-on-string, prolog-debug-off-string)
10752 (prolog-trace-on-string, prolog-trace-off-string)
10753 (prolog-zip-on-string, prolog-zip-off-string)
10754 (prolog-use-standard-consult-compile-method-flag)
10755 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10756 (prolog-imenu-max-lines, prolog-info-predicate-index)
10757 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10758 (prolog-char-quote-workaround):
10759 * progmodes/cc-vars.el (c-defun-tactic):
10760 * net/tramp.el (tramp-encoding-command-interactive)
10761 (tramp-local-end-of-line):
10762 * net/soap-client.el (soap-client):
10763 * net/netrc.el (netrc-file):
10764 * net/gnutls.el (gnutls):
10765 * minibuffer.el (completion-category-overrides)
10766 (completion-cycle-threshold)
10767 (completion-pcm-complete-word-inserts-delimiters):
10768 * man.el (Man-name-local-regexp):
10769 * mail/feedmail.el (feedmail-display-full-frame):
10770 * international/characters.el (glyphless-char-display-control):
10771 * eshell/em-ls.el (eshell-ls-date-format):
10772 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10773 (lisp-lambda-list-keyword-parameter-indentation)
10774 (lisp-lambda-list-keyword-parameter-alignment):
10775 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10776 * dired-x.el (dired-omit-verbose):
10777 * cus-theme.el (custom-theme-allow-multiple-selections):
10778 * calc/calc.el (calc-highlight-selections-with-faces)
10779 (calc-lu-field-reference, calc-lu-power-reference)
10780 (calc-note-threshold):
10781 * battery.el (battery-mode-line-limit):
10782 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10783 (archive-7z-update):
10784 * allout.el (allout-prefixed-keybindings)
10785 (allout-unprefixed-keybindings)
10786 (allout-inhibit-auto-fill-on-headline)
10787 (allout-flattened-numbering-abbreviation):
10788 * allout-widgets.el (allout-widgets-auto-activation)
10789 (allout-widgets-icons-dark-subdir)
10790 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10791 (allout-widgets-theme-dark-background)
10792 (allout-widgets-theme-light-background)
10793 (allout-widgets-item-image-properties-emacs)
10794 (allout-widgets-item-image-properties-xemacs)
10795 (allout-widgets-run-unit-tests-on-load)
10796 (allout-widgets-time-decoration-activity)
10797 (allout-widgets-hook-error-post-time)
10798 (allout-widgets-track-decoration):
10799 Add missing :version tags to new defcustoms and defgroups.
10800
10801 * progmodes/sql.el (sql-ansi-statement-starters)
10802 (sql-oracle-statement-starters): Add custom type.
10803
10804 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10805 (prolog-system-version): Give it a type.
10806
10807 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10808
10809 * term/pc-win.el (x-select-text, x-selection-owner-p)
10810 (x-own-selection-internal, x-disown-selection-internal)
10811 (x-get-selection-internal): Sync doc strings and argument lists
10812 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10813
10814 2012-02-11 Leo Liu <sdl.web@gmail.com>
10815
10816 * progmodes/python.el (python-end-of-statement): Fix infinite
10817 loop. (Bug#10788)
10818
10819 2012-02-10 Glenn Morris <rgm@gnu.org>
10820
10821 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10822 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10823
10824 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10825
10826 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10827 about SMTP before checking the From header.
10828
10829 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10830 into own function for reuse by emacsbug.el.
10831
10832 2012-02-10 Leo Liu <sdl.web@gmail.com>
10833
10834 * subr.el (condition-case-unless-debug): Rename from
10835 condition-case-no-debug. All callers changed.
10836 (with-demoted-errors): Fix caller.
10837
10838 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10839 * nxml/rng-valid.el (rng-do-some-validation):
10840 * emacs-lisp/package.el (package-refresh-contents)
10841 (package-menu-execute):
10842 * desktop.el (desktop-create-buffer):
10843 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10844
10845 2012-02-10 Glenn Morris <rgm@gnu.org>
10846
10847 * textmodes/bibtex.el:
10848 Add missing :version tags for new/changed defcustoms.
10849
10850 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10851
10852 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10853
10854 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10855 (smtpmail-via-smtp): Use it, or fall back on the From address.
10856 (smtpmail-send-it): Ditto.
10857
10858 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10859
10860 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10861 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10862 (byte-compile-tmp-var): New const.
10863 (byte-compile-defvar): Use it to minimize .elc size.
10864 Just use `defvar' rather than simulate it (bug#10761).
10865
10866 2012-02-09 Glenn Morris <rgm@gnu.org>
10867
10868 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10869
10870 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10871 Add :version tags.
10872
10873 * progmodes/compile.el (compilation-error-screen-columns)
10874 (compilation-first-column, compilation-filter-start): Doc fixes.
10875
10876 * vc/log-view.el (log-view-toggle-entry-display):
10877 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10878
10879 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10880 (report-emacs-bug-can-use-xdg-email):
10881 (report-emacs-bug-insert-to-mailer): Doc fixes.
10882 (report-emacs-bug): Message fix.
10883
10884 * net/browse-url.el (browse-url-can-use-xdg-open)
10885 (browse-url-xdg-open): Doc fixes.
10886
10887 * electric.el (electric-indent-mode, electric-pair-mode)
10888 (electric-layout-rules, electric-layout-mode): Doc fixes.
10889 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10890
10891 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10892
10893 * server.el (server-unselect-display): Don't inadvertently kill
10894 the current buffer. (Bug#10729)
10895
10896 2012-02-08 Glenn Morris <rgm@gnu.org>
10897
10898 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10899 (sql-list-table): Doc fixes.
10900
10901 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10902 Comment out (does nothing).
10903
10904 * completion.el (dynamic-completion-mode):
10905 * dirtrack.el (dirtrack-debug-mode):
10906 * electric.el (electric-layout-mode):
10907 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10908 * face-remap.el (text-scale-mode, buffer-face-mode):
10909 * iimage.el (iimage-mode):
10910 * image-mode.el (image-transform-mode):
10911 * minibuffer.el (completion-in-region-mode):
10912 * scroll-lock.el (scroll-lock-mode):
10913 * simple.el (next-error-follow-minor-mode):
10914 * tar-mode.el (tar-subfile-mode):
10915 * tooltip.el (tooltip-mode):
10916 * vcursor.el (vcursor-use-vcursor-map):
10917 * wid-browse.el (widget-minor-mode):
10918 * emulation/tpu-edt.el (tpu-edt-mode):
10919 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10920 * international/iso-ascii.el (iso-ascii-mode):
10921 * language/thai-util.el (thai-word-mode):
10922 * mail/supercite.el (sc-minor-mode):
10923 * net/goto-addr.el (goto-address-mode):
10924 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10925 * progmodes/cwarn.el (cwarn-mode):
10926 * progmodes/flymake.el (flymake-mode):
10927 * progmodes/glasses.el (glasses-mode):
10928 * progmodes/hideshow.el (hs-minor-mode):
10929 * progmodes/pascal.el (pascal-outline-mode):
10930 * textmodes/enriched.el (enriched-mode):
10931 * vc/smerge-mode.el (smerge-mode):
10932 Doc fixes (minor mode argument).
10933
10934 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10935
10936 * ls-lisp.el (ls-lisp-sanitize): New function.
10937 (ls-lisp-insert-directory): Use it to fix or remove any elements
10938 in file-alist with missing attributes. (Bug#4673)
10939
10940 2012-02-07 Alan Mackenzie <acm@muc.de>
10941
10942 Fix spurious recognition of c-in-knr-argdecl.
10943
10944 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10945 putative K&R region.
10946
10947 2012-02-07 Alan Mackenzie <acm@muc.de>
10948
10949 * progmodes/cc-engine.el (c-forward-objc-directive):
10950 Prevent looping in "#pragma mark @implementation".
10951
10952 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10953
10954 * notifications.el (notifications-on-closed-signal): Make `reason'
10955 optional. (Bug#10744)
10956
10957 2012-02-07 Glenn Morris <rgm@gnu.org>
10958
10959 * emacs-lisp/easy-mmode.el (define-minor-mode):
10960 Doc fixes for the macro and the mode it defines.
10961
10962 * image.el (imagemagick-types-inhibit): Doc fix.
10963
10964 * cus-start.el (imagemagick-render-type): Add it.
10965
10966 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10967
10968 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10969 Set the default at load time, too, so that `font-lock-fontify-buffer'
10970 can be called without setting up the entire mode first. This fixes
10971 a bug in `mm-inline-text' with C MIME parts.
10972
10973 2012-02-06 Chong Yidong <cyd@gnu.org>
10974
10975 * simple.el (list-processes--refresh): Delete exited processes
10976 (Bug#8094).
10977
10978 * comint.el (comint-next-prompt): next-single-char-property-change
10979 and prev-single-char-property-change never return nil (Bug#8657).
10980
10981 * custom.el (defcustom): Doc fix (Bug#9711).
10982
10983 2012-02-05 Chong Yidong <cyd@gnu.org>
10984
10985 * cus-edit.el (custom-variable-reset-backup): Quote the value
10986 before storing it in the customized-value property (Bug#6712).
10987 (custom-display): Add a customization type tag.
10988 (custom-buffer-create-internal): Improve tooltip message.
10989
10990 * wid-edit.el (widget-field-value-get): New optional arg to
10991 suppress trailing whitespace truncation.
10992 (character): Use it (Bug#2689).
10993
10994 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10995
10996 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10997 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10998
10999 2012-02-05 Chong Yidong <cyd@gnu.org>
11000
11001 * cus-edit.el (custom-variable-value-create): For mismatched
11002 types, show the current value (Bug#7600).
11003
11004 * custom.el (defcustom): Doc fix.
11005
11006 2012-02-05 Glenn Morris <rgm@gnu.org>
11007
11008 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11009
11010 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11011
11012 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11013 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11014 (pp-last-sexp): Use `looking-at-p'.
11015
11016 2012-02-04 Glenn Morris <rgm@gnu.org>
11017
11018 * files.el (revert-buffer):
11019 Doc fix (mention revert-buffer-in-progress-p).
11020
11021 * emacs-lisp/ert-x.el (ert-simulate-command):
11022 Check deferred-action-list (which is obsolete) is bound.
11023
11024 * subr.el (with-wrapper-hook): Doc fixes.
11025
11026 * simple.el (filter-buffer-substring-functions)
11027 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11028
11029 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11030
11031 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11032 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11033
11034 2012-02-04 Leo Liu <sdl.web@gmail.com>
11035
11036 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11037
11038 2012-02-04 Glenn Morris <rgm@gnu.org>
11039
11040 * image.el (image-extension-data): Add obsolete alias.
11041
11042 * isearch.el (isearch-update): Doc fix.
11043
11044 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11045
11046 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11047
11048 2012-02-03 Glenn Morris <rgm@gnu.org>
11049
11050 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11051 (image-animate-timeout): Doc fix.
11052
11053 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11054
11055 2012-02-02 Glenn Morris <rgm@gnu.org>
11056
11057 * server.el (server-auth-dir): Doc fix.
11058 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11059
11060 * subr.el (run-mode-hooks): Doc fix.
11061
11062 2012-02-02 Juri Linkov <juri@jurta.org>
11063
11064 * image-mode.el (image-toggle-display-image): Remove tautological
11065 `major-mode' from the `derived-mode-p' test.
11066
11067 2012-02-02 Kenichi Handa <handa@m17n.org>
11068
11069 * composite.el (compose-region): Cancel previous change.
11070
11071 2012-02-02 Kenichi Handa <handa@m17n.org>
11072
11073 * composite.el (compose-region, compose-string): Signal error for
11074 a null string component (Bug#6988).
11075
11076 2012-02-01 Chong Yidong <cyd@gnu.org>
11077
11078 * view.el (view-buffer-other-window, view-buffer-other-frame):
11079 Handle special modes like view-buffer (Bug#10650).
11080 (view-buffer): Simplify.
11081
11082 * frame.el (set-frame-font): Tweak meaning of third argument.
11083
11084 * dynamic-setting.el (font-setting-change-default-font):
11085 Use set-frame-font (Bug#9982).
11086
11087 2012-02-01 Glenn Morris <rgm@gnu.org>
11088
11089 * progmodes/compile.el (compilation-internal-error-properties):
11090 Respect compilation-first-column in the "*compilation*" buffer.
11091
11092 * emacs-lisp/easy-mmode.el (define-minor-mode):
11093 Relax :variable's test for a named function.
11094
11095 2012-01-31 Alan Mackenzie <acm@muc.de>
11096
11097 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11098 off by one error.
11099
11100 2012-01-31 Chong Yidong <cyd@gnu.org>
11101
11102 * frame.el (set-frame-font): New arg ALL-FRAMES.
11103
11104 * menu-bar.el (menu-set-font): Use set-frame-font.
11105
11106 * faces.el (face-spec-reset-face): Don't apply unspecified
11107 attribute values to the default face.
11108
11109 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11110
11111 * progmodes/cwarn.el (cwarn): Remove dead link.
11112 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11113 Remove * from defcustom docstrings.
11114 (turn-on-cwarn-mode): Make obsolete.
11115 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11116 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11117
11118 2012-01-31 Glenn Morris <rgm@gnu.org>
11119
11120 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11121 Fix :variable handling of mode a symbol not equal to modefun.
11122 Allow named functions to be used as the cdr of :variable.
11123
11124 2012-01-30 Glenn Morris <rgm@gnu.org>
11125
11126 * emacs-lisp/authors.el (authors-fixed-entries):
11127 Remove reference to deleted file rnewspost.el.
11128
11129 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11130
11131 * window.el (window-with-parameter): Remove unused variable `windows'.
11132 (window--side-check): Remove unused variable `code'.
11133 (window--resize-siblings): Remove unused variable `first'.
11134 (adjust-window-trailing-edge): Remove unused variable `failed'.
11135 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11136 Use `let', not `let*'.
11137 (balance-windows-2): Remove unused variable `found'.
11138 (window--state-put-2): Remove unused variable `splits'.
11139 (window-state-put): Remove unused variable `selected'.
11140 (same-window-p): Use `string-match-p'.
11141 (display-buffer-assq-regexp): Remove unused variable `value'.
11142 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11143 Mark argument ALIST as ignored.
11144 (pop-to-buffer): Remove unused variable `old-window'.
11145
11146 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11147
11148 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11149 and .lzma compressed files.
11150
11151 2012-01-29 Chong Yidong <cyd@gnu.org>
11152
11153 * frame.el (window-system-default-frame-alist): Doc fix.
11154
11155 * dynamic-setting.el (font-setting-change-default-font): Don't
11156 change the default face if SET-FONT argument is non-nil (Bug#9982).
11157
11158 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11159
11160 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11161
11162 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11163
11164 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11165 breakpoints in files outside current directory (Bug#6098).
11166
11167 2012-01-29 Chong Yidong <cyd@gnu.org>
11168
11169 * progmodes/python.el: Require ansi-color at top-level.
11170
11171 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11172 Define and use in Emacs Lisp mode (Bug#9360).
11173 (lisp-mode-abbrev-table): Add doc.
11174 (lisp-mode-variables): Don't set local-abbrev-table.
11175 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11176
11177 2012-01-28 Roland Winkler <winkler@gnu.org>
11178
11179 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11180
11181 2012-01-28 Roland Winkler <winkler@gnu.org>
11182
11183 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11184 (bibtex-set-dialect): Use it. Either set global values of
11185 dialect-dependent variables or bind these variables buffer-locally
11186 (Bug#10254).
11187 (bibtex-mode): Call bibtex-set-dialect via
11188 hack-local-variables-hook.
11189 (bibtex-dialect): Update docstring.
11190 Add safe-local-variable predicate.
11191 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11192 bibtex-set-dialect.
11193 (bibtex-mode-map): Define menu for each dialect.
11194 (bibtex-entry): Fix docstring.
11195
11196 2012-01-28 Chong Yidong <cyd@gnu.org>
11197
11198 * eshell/esh-arg.el (eshell-quote-argument): New function.
11199
11200 * eshell/esh-ext.el (eshell-invoke-batch-file):
11201 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11202 first arg to eshell-parse-command (Bug#10523).
11203
11204 2012-01-28 Drew Adams <drew.adams@oracle.com>
11205
11206 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11207 `default-directory' is non-nil.
11208
11209 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11210
11211 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11212 line that displays system-configuration-options. (Bug#9924)
11213
11214 2012-01-28 Drew Adams <drew.adams@oracle.com>
11215
11216 * descr-text.el (describe-char): Show information about POS, in
11217 addition to information about the character at POS. Improve and
11218 update the doc string. Change "code point" to "code point in
11219 charset", to avoid confusion with the character's Unicode code
11220 point shown above that. (Bug#10129)
11221
11222 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11223
11224 * descr-text.el (describe-char): Show the raw character, not only
11225 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11226 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11227 for the reasons.
11228
11229 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11230
11231 * emacs-lisp/package.el (package-install):
11232 Run package-refresh-contents if there is no archive yet (Bug#9798).
11233
11234 2012-01-28 Chong Yidong <cyd@gnu.org>
11235
11236 * emacs-lisp/package.el (package-maybe-load-descriptor):
11237 New function, split from package-maybe-load-descriptor.
11238 (package-maybe-load-descriptor): Use it.
11239 (package-download-transaction): Fully load required packages
11240 inside the loop, so that `require' calls work (Bug#10593).
11241 (package-install): No need to call package-initialize now.
11242
11243 2012-01-28 Chong Yidong <cyd@gnu.org>
11244
11245 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11246
11247 * tooltip.el (tooltip-mode): Doc fix.
11248 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11249
11250 * frame.el (set-cursor-color): Doc fix (Bug#352).
11251
11252 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11253 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11254
11255 * cus-edit.el (custom-buffer-create-internal): Fix search button
11256 action (Bug#10542).
11257 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11258
11259 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11260
11261 * dired.el (dired-mark-files-regexp):
11262 Include any subdirectory components. (Bug#10445)
11263
11264 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11265
11266 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11267 Handle [host]:port syntax. (Bug#10533)
11268
11269 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11270
11271 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11272
11273 2012-01-26 Glenn Morris <rgm@gnu.org>
11274
11275 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11276 * term.el (term-raw-escape-map): Use Control-X-prefix.
11277 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11278
11279 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11280
11281 * window.el (window-state-get, window--state-get-1): Don't deal
11282 with fixed-sizeness of windows. Simplify code.
11283
11284 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11285
11286 * window.el (window--state-get-1, window--state-put-2):
11287 Don't save and restore the mark.
11288
11289 2012-01-25 Chong Yidong <cyd@gnu.org>
11290
11291 * custom.el (custom-variable-p): Doc fix.
11292
11293 2012-01-25 Glenn Morris <rgm@gnu.org>
11294
11295 * dired.el (dired-goto-file): Handle some of the more common
11296 characters that `ls -b' escapes. (Bug#10596)
11297
11298 * progmodes/compile.el (compilation-next-error-function):
11299 Respect compilation-first-column in the "*compilation*" buffer.
11300 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11301
11302 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11303
11304 2012-01-24 Glenn Morris <rgm@gnu.org>
11305
11306 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11307
11308 2012-01-24 Julien Danjou <julien@danjou.info>
11309
11310 * color.el (color-rgb-to-hsl): Fix value computing.
11311 (color-hue-to-rgb): New function.
11312 (color-hsl-to-rgb): New function.
11313 (color-clamp, color-saturate-hsl, color-saturate-name)
11314 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11315 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11316
11317 2012-01-24 Glenn Morris <rgm@gnu.org>
11318
11319 * vc/vc-rcs.el (vc-rcs-create-tag):
11320 * vc/vc-sccs.el (vc-sccs-create-tag):
11321 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11322
11323 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11324
11325 * eshell/esh-util.el (eshell-read-hosts-file):
11326 Skip comment lines. (Bug#10549)
11327
11328 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11329
11330 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11331
11332 * subr.el (display-delayed-warnings): Doc fix.
11333 (collapse-delayed-warnings): New function to collapse identical
11334 adjacent warnings.
11335 (delayed-warnings-hook): Add it.
11336
11337 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11338
11339 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11340
11341 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11342 (tramp-default-user-alist): Don't add "pscp".
11343 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11344 property "login-as", if set. (Bug#10530)
11345
11346 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
11347
11348 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11349 "plink1" and "psftp". (Bug#10530)
11350
11351 2012-01-21 Kenichi Handa <handa@m17n.org>
11352
11353 * international/mule-cmds.el (prefer-coding-system): Show a
11354 warning message if the default value of file-name-coding-system
11355 was not changed.
11356
11357 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11358
11359 * windmove.el (windmove-reference-loc):
11360 Fix windmove-reference-loc miscalculation.
11361
11362 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11363
11364 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11365 default unit.
11366
11367 2012-01-21 Glenn Morris <rgm@gnu.org>
11368
11369 * international/mule.el (auto-coding-alist): Add .tbz.
11370
11371 * files.el (local-enable-local-variables): Doc fix.
11372 (inhibit-local-variables-regexps): Rename from
11373 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11374 Doc fix. Add some extensions from auto-coding-alist.
11375 (inhibit-local-variables-suffixes):
11376 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11377 (inhibit-local-variables-p):
11378 New function, extracted from set-auto-mode-1.
11379 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11380 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11381 (hack-local-variables): Doc fix. Make the mode-only case
11382 respect enable-local-variables and friends.
11383 Respect inhibit-local-variables-regexps for file-locals, but
11384 not for directory-locals.
11385 (set-visited-file-name):
11386 Take account of inhibit-local-variables-regexps.
11387 Whether it applies may change as the file name is changed.
11388 * jka-cmpr-hook.el (jka-compr-install):
11389 * jka-compr.el (jka-compr-uninstall):
11390 Update for inhibit-first-line-modes-suffixes name change.
11391
11392 2012-01-20 Martin Rudalics <rudalics@gmx.at>
11393
11394 * help-macro.el (make-help-screen): Temporarily restore original
11395 binding for minor-mode-map-alist (Bug#10454).
11396
11397 2012-01-19 Julien Danjou <julien@danjou.info>
11398
11399 * color.el (color-name-to-rgb): Use the white color to find the max
11400 color component value and return correctly computed values.
11401 (color-name-to-rgb): Add missing float conversion for max value.
11402
11403 2012-01-19 Martin Rudalics <rudalics@gmx.at>
11404
11405 * window.el (window--state-get-1, window-state-get): Do not use
11406 special state value for window-persistent-parameters.
11407 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
11408 (window--state-put-2): Reset all window parameters to nil before
11409 assigning values of persistent parameters.
11410
11411 2012-01-18 Alan Mackenzie <acm@muc.de>
11412
11413 Eliminate sluggishness and hangs in fontification of "semicolon
11414 deserts".
11415
11416 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11417 Change value 10000 -> 3000.
11418 (c-state-safe-place): Reformulate so it doesn't stack up an
11419 infinite number of wrong entries in c-state-nonlit-pos-cache.
11420 (c-determine-limit-get-base, c-determine-limit): New functions to
11421 determine backward search limits disregarding literals.
11422 (c-find-decl-spots): Amend commenting.
11423 (c-cheap-inside-bracelist-p): New function which detects "={".
11424
11425 * progmodes/cc-fonts.el
11426 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11427 backward search.
11428 (c-font-lock-declarations): Fix an occurrence of point being
11429 undefined. Check additionally for point being in a bracelist or
11430 near a macro invocation without a semicolon so as to avoid a
11431 fruitless time consuming search for a declarator. Give a more
11432 precise search limit for declarators using the new
11433 c-determine-limit.
11434
11435 2012-01-18 Glenn Morris <rgm@gnu.org>
11436
11437 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11438 (set-auto-mode): Doc fixes.
11439
11440 2012-01-17 Glenn Morris <rgm@gnu.org>
11441
11442 * isearch.el (search-nonincremental-instead): Fix doc typo.
11443
11444 * dired.el (dired-insert-directory): Handle newlines in directory name.
11445 (dired-build-subdir-alist): Unescape newlines in directory name.
11446
11447 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
11448
11449 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11450 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11451 (tramp-action-terminal): Use it. (Bug#10530)
11452
11453 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11456
11457 2012-01-16 Martin Rudalics <rudalics@gmx.at>
11458
11459 * window.el (window-state-ignored-parameters): Remove variable.
11460 (window--state-get-1): Rename argument MARKERS to IGNORE.
11461 Handle persistent window parameters. Make copy of clone-of
11462 parameter only if requested. (Bug#10348)
11463 (window--state-put-2): Install a window parameter only if it has
11464 a non-nil value or an existing parameter shall be overwritten.
11465
11466 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
11467
11468 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11469
11470 2012-01-14 Eli Zaretskii <eliz@gnu.org>
11471
11472 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11473 don't pass the (nil) value of `upnode' to string-match.
11474
11475 2012-01-14 Chong Yidong <cyd@gnu.org>
11476
11477 * startup.el (command-line): Fix X resource class for cursorColor.
11478 Fix values recognized by the cursorBlink resource.
11479
11480 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11481
11482 * epg.el (epg--make-temp-file): Avoid permission race condition
11483 when running on old Emacs versions (bug#10403).
11484
11485 2012-01-14 Glenn Morris <rgm@gnu.org>
11486
11487 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11488
11489 2012-01-13 Alan Mackenzie <acm@muc.de>
11490
11491 Fix filling for when filladapt mode is enabled.
11492
11493 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11494 c-mask-paragraph, pass in `fill-paragraph' rather than
11495 `fill-region-as-paragraph'. (This is a reversion of a previous
11496 change.)
11497 * progmodes/cc-mode.el (c-basic-common-init):
11498 Make fill-paragraph-handle-comment buffer local and set it to nil.
11499
11500 2012-01-13 Glenn Morris <rgm@gnu.org>
11501
11502 * dired.el (dired-switches-escape-p): New function.
11503 (dired-insert-directory): Use dired-switches-escape-p.
11504 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11505
11506 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11507
11508 2012-01-12 Glenn Morris <rgm@gnu.org>
11509
11510 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11511 changes in adaptive-fill-regexp. (Bug#10276)
11512
11513 2012-01-11 Alan Mackenzie <acm@muc.de>
11514
11515 Fix Emacs bug #10463 - put `widen's around the critical spots.
11516
11517 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
11518 widen around each invocation of c-state-pp-to-literal. Remove an
11519 unused let variable.
11520
11521 2012-01-11 Glenn Morris <rgm@gnu.org>
11522
11523 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
11524 Doc fix.
11525
11526 2012-01-10 Chong Yidong <cyd@gnu.org>
11527
11528 * net/network-stream.el (network-stream-open-starttls):
11529 Avoid emitting a confusing error message when the server gives a bad
11530 response to the capability command.
11531
11532 2012-01-10 Glenn Morris <rgm@gnu.org>
11533
11534 * mail/unrmail.el (unrmail): Tweak previous change.
11535
11536 2012-01-09 Chong Yidong <cyd@gnu.org>
11537
11538 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11539
11540 2012-01-08 Alan Mackenzie <acm@muc.de>
11541
11542 Optimise font locking in long enum definitions.
11543
11544 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11545 arm to a cond form to handle enums.
11546 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11547 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11548
11549 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
11550
11551 * files.el (move-file-to-trash): Preserve default file modes on error.
11552 (Bug#10401)
11553
11554 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11555
11556 * faces.el (set-face-attribute): Clarify the meaning of the nil
11557 frame (bug#10294).
11558
11559 * subr.el (with-selected-frame): Mention that the selected frame
11560 is restored (bug#9980).
11561
11562 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11563 (bug#9759).
11564
11565 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
11566 (password-read): Don't autoload unused function.
11567
11568 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
11569
11570 * progmodes/which-func.el (which-func-mode): Turn into a
11571 non-interactive function and mark as obsolete (bug#10428).
11572
11573 2012-01-06 Chong Yidong <cyd@gnu.org>
11574
11575 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11576 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11577 functions, along with 1 and -1.
11578
11579 2012-01-06 Eli Zaretskii <eliz@gnu.org>
11580
11581 * time.el (display-time-load-average)
11582 (display-time-default-load-average): Doc fixes. See the thread
11583 starting at
11584 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11585 for the details.
11586
11587 2012-01-06 Glenn Morris <rgm@gnu.org>
11588
11589 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11590 has no messages. (Bug#10377)
11591
11592 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11593 than Info-edit. (Bug#10385)
11594
11595 * time.el (display-time-load-average, display-time-next-load-average):
11596 Doc fixes.
11597
11598 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11599 local setting of buffer-read-only to the input buffer. (Bug#10419)
11600
11601 * calendar/calendar.el (calendar-mode):
11602 Locally set scroll-margin to 0. (Bug#10379)
11603
11604 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
11605
11606 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11607
11608 2012-01-05 Glenn Morris <rgm@gnu.org>
11609
11610 * eshell/em-unix.el (diff-no-select): Autoload it.
11611 (eshell/diff): Use diff-no-select. (Bug#10420)
11612
11613 2012-01-05 Chong Yidong <cyd@gnu.org>
11614
11615 * shell.el (shell-dynamic-complete-functions): Revert last change.
11616 (shell-command-completion-function): New function.
11617 (shell-completion-vars): Use it to implement
11618 shell-completion-execonly (Bug#10417).
11619
11620 * custom.el (enable-theme): Don't set custom-safe-themes.
11621
11622 * cus-theme.el (custom-theme-merge-theme):
11623 Ignore custom-enabled-themes and custom-safe-themes.
11624
11625 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11626
11627 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11628 first prompt in `sql-interacive-mode'.
11629 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
11630 keywords.
11631 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
11632 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11633 context of original buffer. Invoke `sql-login-hook'.
11634
11635 2012-01-04 Eli Zaretskii <eliz@gnu.org>
11636
11637 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11638 letters in cite-prefix.
11639
11640 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11641
11642 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11643
11644 2012-01-03 Chong Yidong <cyd@gnu.org>
11645
11646 * shell.el (shell-dynamic-complete-functions):
11647 Put pcomplete-completions-at-point, so as to try
11648 comint-filename-completion first (Bug#10417).
11649
11650 2012-01-02 Richard Stallman <rms@gnu.org>
11651
11652 * battery.el (battery-status-function):
11653 Detect when to use battery-yeeloong-sysfs.
11654 (battery-echo-area-format): Add string for Yeeloong.
11655 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11656 (battery-yeeloong-sysfs): New function.
11657
11658 2012-01-02 Chong Yidong <cyd@gnu.org>
11659
11660 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11661 (dirtrack): Merge code for handling relative filenames in prompt
11662 from shell-dir-cookie-watcher.
11663 (dirtrack-debug-message): New arg to avoid excess format calls.
11664
11665 * shell.el (shell-dir-cookie-re): Variable deleted.
11666 (shell-dir-cookie-watcher): Function deleted.
11667 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11668 with dirtrack-mode.
11669
11670 2012-01-01 Eli Zaretskii <eliz@gnu.org>
11671
11672 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11673 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
11674 libgnutls-26.dll.
11675
11676 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11677
11678 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11679
11680 2011-12-31 Eli Zaretskii <eliz@gnu.org>
11681
11682 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11683 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11684
11685 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
11686
11687 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11688 also for alternative shells.
11689 (tramp-open-connection-setup-interactive-shell): Check, whether
11690 the shell is a busybox.
11691 (tramp-send-command): Don't suppress multiple prompts for
11692 busyboxes, it hurts.
11693
11694 2011-12-28 Chong Yidong <cyd@gnu.org>
11695
11696 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11697 (gdb-get-source-file): Move mode line update to
11698 gdb-get-source-file (Bug#10087).
11699
11700 2011-12-25 Chong Yidong <cyd@gnu.org>
11701
11702 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11703 gud-gdb-marker-filter without taking it as an argument.
11704 (gud-gdb-run-command-fetch-lines): Caller changed.
11705 (gud-gdb-completion-function): New variable.
11706 (gud-gdb-completion-at-point): Use it.
11707 (gud-gdb-completions-1): Split from gud-gdb-completions.
11708
11709 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11710 function as separate arguments.
11711 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11712 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11713 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11714 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11715 (gdb-stopped, def-gdb-auto-update-trigger)
11716 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11717 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11718 Callers changed.
11719 (gud-gdbmi-completions): New function.
11720 (gdb): Use it for generating the completion table.
11721
11722 2011-12-24 Alan Mackenzie <acm@muc.de>
11723
11724 Introduce a mechanism to widen the region used in context font
11725 locking. Use this to protect declarations from losing their contexts.
11726
11727 * progmodes/cc-langs.el (c-before-font-lock-functions):
11728 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11729 (c-before-context-fontification-functions): New defvar, a list of
11730 functions to be run just before context (etc.) font locking.
11731
11732 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11733 New, functionality extracted from
11734 c-neutralize-syntax-in-and-mark-CPP.
11735 (c-in-after-change-fontification): New variable.
11736 (c-after-change): Set c-in-after-change-fontification.
11737 (c-set-fl-decl-start): Rejig its interface, so it can be called
11738 from both after-change and context fontifying.
11739 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11740 New functions.
11741 (c-standard-font-lock-fontify-region-function): New variable.
11742 (c-font-lock-fontify-region): New function.
11743
11744 2011-12-24 Juri Linkov <juri@jurta.org>
11745
11746 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11747 (Bug#10348)
11748
11749 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11750
11751 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11752 existence of source file. (Bug#10325)
11753
11754 2011-12-23 Alan Mackenzie <acm@muc.de>
11755
11756 Fix unstable fontification inside templates.
11757
11758 * progmodes/cc-langs.el (c-before-font-lock-functions):
11759 Newly created from the singular version. The (c c++ objc) entry now
11760 additionally has c-set-fl-decl-start. The other languages (apart
11761 from AWK) have that as a single entry.
11762
11763 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11764 The functionality for "local" declarations has been extracted to
11765 c-set-fl-decl-start.
11766
11767 * progmodes/cc-mode.el (c-common-init, c-after-change):
11768 Changes due to pluralisation of c-before-font-lock-functions.
11769 (c-set-fl-decl-start): New function, extracted from
11770 c-font-lock-enclosing-decls and enhanced.
11771
11772 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11773
11774 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11775
11776 2011-12-22 Juri Linkov <juri@jurta.org>
11777
11778 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11779
11780 2011-12-22 Chong Yidong <cyd@gnu.org>
11781
11782 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11783
11784 2011-12-21 Drew Adams <drew.adams@oracle.com>
11785
11786 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11787
11788 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11789
11790 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11791
11792 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11793
11794 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11795 highlighting and support. Fix up comments for capitalization.
11796 (cfengine-mode-debug): New var.
11797 (cfengine3-mode): Change the modeline indicator to "CFE3".
11798 (cfengine3-font-lock-keywords): Improve defun highlighting.
11799 (cfengine2-actions): Rename from `cfengine-actions'.
11800 (cfengine2-font-lock-keywords): Rename from
11801 `cfengine-font-lock-keywords'.
11802 (cfengine2-imenu-expression): Rename from
11803 `cfengine-imenu-expression'.
11804 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11805 (cfengine2-beginning-of-defun): Rename from
11806 `cfengine-beginning-of-defun'.
11807 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11808 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11809 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11810 modeline indicator to "CFE2".
11811 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11812 (cfengine-mode-abbrevs): Mark obsolete.
11813
11814 2011-12-21 Chong Yidong <cyd@gnu.org>
11815
11816 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11817 filename argument.
11818
11819 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11820
11821 * window.el (window-normalize-buffer-to-display): Remove.
11822 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11823
11824 2011-12-19 Chong Yidong <cyd@gnu.org>
11825
11826 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11827 Don't signal an error in a predicate function; return non-nil.
11828 (vc-dir-mark-file): Move the error here.
11829 (vc-dir-mark-unmark): If acting on the region, keep going if one
11830 of the entries cannot be marked/unmarked.
11831 (vc-dir-mark-all-files): If current entry is a directory, mark
11832 only child files, as documented.
11833
11834 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11835
11836 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11837 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11838 addition.
11839
11840 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11841
11842 * term/ns-win.el (ns-get-selection-internal)
11843 (ns-store-selection-internal): Declare.
11844 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11845 Declare as obsolete.
11846 (ns-get-pasteboard, ns-paste-secondary):
11847 Use ns-get-selection-internal.
11848 (ns-set-pasteboard, ns-copy-including-secondary):
11849 Use ns-store-selection-internal.
11850
11851 2011-12-17 Chong Yidong <cyd@gnu.org>
11852
11853 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11854 (vc-deduce-fileset): Doc fix.
11855
11856 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11857
11858 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11859
11860 2011-12-13 Sam Steingold <sds@gnu.org>
11861
11862 * man.el (Man-getpage-in-background): When running under a
11863 window-system, ignore $MANWIDTH and $COLUMNS.
11864
11865 2011-12-15 Kenichi Handa <handa@m17n.org>
11866
11867 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11868 (setup-ethiopic-environment-internal): Comment out key-binding for
11869 ethio-toggle-punctuation.
11870
11871 2011-12-13 Alan Mackenzie <acm@muc.de>
11872
11873 Add the switch statement to AWK Mode.
11874
11875 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11876 "default" to the keywords regexp.
11877
11878 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11879 expression as the rest.
11880 (c-nonlabel-token-key): Allow string literals for AWK.
11881 Refactor for the other modes.
11882
11883 Large brace-block initialisation makes CC Mode slow: Fix.
11884 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11885 routines. Limit backward searching in c-font-lock-enclosing.decl.
11886
11887 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11888 pp-state and literal type in addition to the limits.
11889 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11890 (c-state-literal-at): Use the above new defun.
11891 (c-slow-in-literal, c-fast-in-literal): Remove.
11892 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11893
11894 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11895 being in a literal. Add a limit for backward searching.
11896
11897 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11898 c-slow-in-literal.
11899
11900 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11903
11904 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11905
11906 * window.el (delete-other-windows): Use correct frame in call to
11907 window-with-parameter.
11908
11909 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11910
11911 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11912 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11913 (makefile-gmake-statements, makefile-makepp-statements):
11914 Use it and add new makepp keywords.
11915 (makefile-makepp-font-lock-keywords): Add new patterns.
11916 (makefile-match-function-end): Match new [...] and [[...]].
11917
11918 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11919
11920 * ses.el (ses-call-printer-return, ses-cell-property-get)
11921 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11922 (ses-create-cell-variable, ses-reset-header-string)
11923 (ses-cell-set-formula, ses-repair-cell-reference-all)
11924 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11925 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11926 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11927 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11928 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11929 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11930 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11931 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11932 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11933 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11934 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11935 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11936
11937 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11938
11939 * ses.el: The overall change is to add cell renaming, that is
11940 setting fancy names for cell symbols other than name matching
11941 "\\`[A-Z]+[0-9]+\\'" regexp .
11942 (ses-create-cell-variable): New defun.
11943 (ses-relocate-formula): Relocate formulas only for cells the
11944 symbols of which are not renamed, i.e. symbols whose names do not
11945 match regexp "\\`[A-Z]+[0-9]+\\'".
11946 (ses-relocate-all): Relocate values only for cells the symbols of
11947 which are not renamed.
11948 (ses-load): Create cells variables as the (ses-cell ...) are read,
11949 in order to check row col consistency with cell symbol name only
11950 for cells that are not renamed.
11951 (ses-replace-name-in-formula): New defun.
11952 (ses-rename-cell): New defun.
11953
11954 2011-12-11 Chong Yidong <cyd@gnu.org>
11955
11956 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11957 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11958
11959 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11960
11961 * window.el (other-window): Fix docstring.
11962
11963 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11964
11965 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11966 `from' or `to' address before taking its substring.
11967 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11968 encoded name is chopped in the middle of the encoded string, and
11969 thus displayed encoded.
11970
11971 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11972
11973 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11974
11975 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11976
11977 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11978 to use texinfo-update-node and commands that call it if the
11979 Texinfo file uses @node lines without next/prev/up pointers.
11980 Correct outdated description about texinfo-master-menu.
11981 (texinfo-all-menus-update, texinfo-master-menu)
11982 (texinfo-update-node, texinfo-every-node-update)
11983 (texinfo-multiple-files-update): Doc fix. Warn against updating
11984 all the @node lines.
11985 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11986 argument is numeric. Explain better in the doc string what the
11987 function really does.
11988 (texinfo-insert-master-menu-list): Improve the error message
11989 displayed if there's no menu in the Top node.
11990 (Bug#2975) See also this thread:
11991 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11992
11993 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11994
11995 * speedbar.el (speedbar-supported-extension-expressions):
11996 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11997
11998 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11999
12000 * printing.el (pr-mode-alist):
12001 * simple.el (filter-buffer-substring-functions)
12002 (completion-list-insert-choice-function):
12003 * window.el (window-with-parameter, window-atom-root)
12004 (window-sides-slots, window-size-fixed, window-min-delta)
12005 (window-max-delta, window--resize-mini-window)
12006 (window--resize-child-windows-normal, window-tree)
12007 (delete-other-windows, quit-window, split-window)
12008 (display-buffer-record-window, special-display-buffer-names)
12009 (special-display-regexps, special-display-popup-frame)
12010 (same-window-p, split-window-sensibly)
12011 (display-buffer-overriding-action, display-buffer-alist)
12012 (display-buffer-base-action, display-buffer, switch-to-buffer)
12013 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12014 (fit-window-to-buffer, recenter-positions)
12015 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12016 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12017 and remove unneeded backslashes in docstrings.
12018
12019 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12020
12021 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12022
12023 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12024 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12025 end in ".mk".
12026 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12027 when reading the makefile (bug#10116).
12028
12029 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12030
12031 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12032 (bug#10116).
12033
12034 2011-12-06 Glenn Morris <rgm@gnu.org>
12035
12036 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12037
12038 2011-12-06 Chong Yidong <cyd@gnu.org>
12039
12040 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12041
12042 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12043
12044 * textmodes/table.el (table-shorten-cell): Fix typo.
12045
12046 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12047
12048 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12049
12050 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12051
12052 * descr-text.el (describe-char): Fix display of strong
12053 right-to-left characters and directional embeddings and overrides.
12054
12055 * simple.el (what-cursor-position): Fix display of codepoints of
12056 strong right-to-left characters.
12057
12058 2011-12-05 Chong Yidong <cyd@gnu.org>
12059
12060 * faces.el (read-color): Doc fix.
12061
12062 2011-12-05 Glenn Morris <rgm@gnu.org>
12063
12064 * align.el (align--set-marker): Add doc-string.
12065 Don't try to move something that is not a marker. (Bug#10216)
12066
12067 2011-12-04 Glenn Morris <rgm@gnu.org>
12068
12069 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12070 overly zealous deletion of trailing whitespace.
12071
12072 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12073
12074 * server.el (server-delete-client): On Windows, do not try to delete
12075 the only terminal.
12076 (server-process-filter): On Windows, treat requests for a tty frame as
12077 if they were for a GUI frame if the running server is in GUI mode.
12078
12079 2011-12-03 Glenn Morris <rgm@gnu.org>
12080
12081 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12082
12083 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * electric.el: Streamline electric-indent's hook.
12086 (electric-indent-chars): Revert to simple list.
12087 (electric-indent-functions): New var.
12088 (electric-indent-post-self-insert-function): Use it.
12089
12090 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12091 there's no inferior buffer (bug#10196).
12092 (prolog-consult-compile): Don't use toggle-read-only.
12093
12094 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12095
12096 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12097 interrupt. (Bug#10187)
12098
12099 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12100
12101 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12102 (bug#9160).
12103
12104 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12105 (bug#10191).
12106
12107 2011-12-02 Juri Linkov <juri@jurta.org>
12108
12109 * info.el (Info-search): Display "end of manual" when Isearch
12110 reaches the end of single-file Info manual. (Bug#9918)
12111
12112 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12113
12114 * isearch.el (isearch-message-prefix): Run the input method part
12115 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12116
12117 2011-12-02 Juri Linkov <juri@jurta.org>
12118
12119 * isearch.el (isearch-occur): Use `word-search-regexp' for
12120 `isearch-word'.
12121 (isearch-search-and-update): Add condition for `isearch-word' and
12122 call `word-search-regexp'. (Bug#10145)
12123
12124 2011-12-01 Glenn Morris <rgm@gnu.org>
12125
12126 * eshell/em-hist.el (eshell-hist-initialize):
12127 Handle eshell-history-size nil and HISTSIZE set or unset.
12128 (eshell-history-file-name, eshell-history-size): Fix custom type.
12129
12130 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12133
12134 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12135
12136 * progmodes/verilog-mode.el (verilog-pretty-expr):
12137 Rework verilog-pretty-expr to handle new assignment operators in system
12138 verilog, such as += *= and the like.
12139 (verilog-assignment-operator-re): Regular expression to find the
12140 assigment operator in a verilog assignment.
12141 (verilog-assignment-operation-re): Regular expression to find an
12142 assignment statement for pretty-expr.
12143 (verilog-in-attribute-p): Query returns true if point is in an
12144 attribute context; used to skip these for expression line up from
12145 pretty-expr.
12146 (verilog-in-parameter-p): Query returns true if point is in an
12147 parameter definition context; used to skip these for expression
12148 line up from pretty-expr.
12149 (verilog-in-parenthesis-p): Query returns true if point is in a
12150 parenthetical expression, specifically ( ) but not [ ] or { };
12151 used by pretty-expr.
12152 (verilog-just-one-space): If there is no space, don't add one.
12153 (verilog-get-lineup-indent-2): Specifically skip just attribute
12154 contexts for expression lineup, rather than skipping all
12155 parenthetical expressions.
12156 (verilog-calculate-indent): Fix comment, and fix indent.
12157 (verilog-do-indent): Indent declarations in lists (suggested by
12158 Joachim Lechner).
12159 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12160 skeleton items.
12161 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12162 by Alain Mellan).
12163
12164 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12165
12166 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12167 parameters with embedded comments. Reported by Ray Stevens.
12168 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12169 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12170 Reported by Tim Holt.
12171 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12172 instantiated by upper module causing wrong expansion until AUTOed a
12173 second time. Reported by K C Buckenmaier.
12174 (verilog-diff-auto): Fix showing .* as a difference when
12175 `verilog-auto-star-save' off. Reported by Dan Dever.
12176 (verilog-auto-reset, verilog-read-always-signals)
12177 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12178 temporary signals in reset list if
12179 verilog-auto-reset-blocking-in-non is nil, and match assignment
12180 style to each signal's assignment type, bug381.
12181 Reported by Thomas Esposito.
12182 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12183 (verilog-uvm-statement-re): Support UVM indentation and
12184 highlighting, with old OVM keywords only.
12185 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12186 Support AUTOTIEOFF creating non-wire data types.
12187 Suggested by Jonathan Greenlaw.
12188 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12189 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12190 (verilog-inject-sense, verilog-read-inst-pins)
12191 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12192 Fix mismatching parenthesis inside commented out code when deleting
12193 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12194 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12195 non-numeric vector width. Reported by Alex Reed.
12196 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12197 detecting signals with parameter widths. Reported by Alex Reed.
12198 (verilog-auto-delete-trailing-whitespace):
12199 With `verilog-auto-delete-trailing-whitespace' remove trailing
12200 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12201 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12202 Fix verilog-scan-cache corruption when running user AUTO expansion
12203 hooks that call indentation routines.
12204 (verilog-simplify-range-expression): Fix typo ignoring lower case
12205 identifiers.
12206 (verilog-delete-auto): Fix delete-autos to also remove user created
12207 automatics, as long as they start with AUTO.
12208 (verilog-batch-diff-auto, verilog-diff-auto)
12209 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12210 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12211 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12212 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12213 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12214 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12215 is disabled and its cache will get corrupt, causing AUTOS not to
12216 expand. Instead use only -quick functions.
12217 (verilog-scan-region): Fix scanning over escaped quotes.
12218 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12219 (verilog-re-search-backward-quick)
12220 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12221 related functions now ignore strings, to fix misparsing of strings
12222 with magic comments embedded in them.
12223 (verilog-read-auto-template):
12224 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12225 Reported by Brad Dobbie.
12226 (verilog-read-auto-template):
12227 Fix 'verilog-auto-inst-template-numbers' with comments.
12228 Reported by Brad Dobbie.
12229 (verilog-auto-inst, verilog-auto-inst-param)
12230 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12231 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12232 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12233 debugging templates without merge conflicts, bug357.
12234 Reported by Brad Dobbie.
12235 (verilog-read-auto-template):
12236 Fix verilog-auto-inst-template-numbers with multiple templates.
12237 Reported by Brad Dobbie.
12238 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12239 abbrevs so user won't be asked to save.
12240 (verilog-read-auto-lisp-present): Fix to start at beginning of
12241 buffer in case called outside of verilog-auto.
12242 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12243 to "X-2". Reported by Matthew Myers.
12244 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12245 all inputs from module templates. Reported by Leith Johnson.
12246 (verilog-module-inside-filename-p): Fix locating programs as with
12247 modules.
12248 (verilog-auto-inst-port): Fix vl-width expressions when using
12249 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12250 (verilog-decls-get-regs, verilog-decls-get-signals,
12251 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12252 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12253 verilog-read-decls): Combine reg and wire structures into one var
12254 structure to represent SystemVerilog concepts.
12255 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12256 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12257 (verilog-auto-wire-type, verilog-insert-definition):
12258 Add verilog-auto-wire-type and AUTOLOGIC to support using
12259 SystemVerilog "logic" keyword instead of "wire"/"reg".
12260 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12261 to declares outputs that also have assignments (presumably in an
12262 ifdef or generate if so there's not a driver conflict).
12263 Reported by Matthew Myers.
12264 (verilog-auto-declare-nettype, verilog-insert-definition):
12265 Add verilog-auto-declare-nettype to fix declarations using
12266 `default_nettype none. Reported by Julian Gorfajn.
12267 (verilog-read-always-signals-recurse, verilog-read-decls)
12268 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12269 malformed end statement, bug325. Reported by Joshua Wise and
12270 Andrew Drake.
12271 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12272 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12273 when expanding .* in interfaces, bug320.
12274 Reported by Pierre-David Pfister.
12275 (verilog-read-module-name): Fix import statements between module
12276 name and open parenthesis, bug317.
12277 Reported by Pierre-David Pfister.
12278 (verilog-simplify-range-expression): Fix simplification of
12279 multiplications inside AUTOWIRE connections, bug303.
12280 (verilog-auto-inst-port): Support parameter expansion in
12281 multidimensional arrays.
12282 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12283 after "assert property". Reported by Julian Gorfajn.
12284 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12285 with multiplication, bug303.
12286 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12287 Reported by Jan Frode Lonnum.
12288
12289 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12290
12291 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12292 (hfy-shell-file-name, hfy-shell):
12293 * international/fontset.el (x-decompose-font-name): Fix typos.
12294
12295 2011-11-29 Ken Brown <kbrown@cornell.edu>
12296
12297 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12298 (gdb-version): Remove defvar.
12299 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12300 (gdb-gud-context-command, gdb-non-stop-handler)
12301 (gdb-current-context-command, gdb-stopped): Use it.
12302 (gdb-init-1): Enable pretty printing here.
12303 (gdb-non-stop-handler): Don't enable pretty-printing here.
12304 Check to see if the target supports non-stop mode; if not, turn off
12305 non-stop mode. Use the following.
12306 (gdb-check-target-async): New defun.
12307 (gud-watch, gdb-stopped): Fix whitespace.
12308 (gdb-get-source-file): Don't try to display the source file if
12309 `gdb-main-file' is nil.
12310
12311 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12312
12313 * align.el: Try to generate fewer markers (bug#10047).
12314 (align--set-marker): New macro.
12315 (align-region): Use it.
12316
12317 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12318
12319 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12320
12321 2011-11-29 Chong Yidong <cyd@gnu.org>
12322
12323 * indent.el (indent-for-tab-command, indent-according-to-mode):
12324 Doc fix.
12325 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12326
12327 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12328
12329 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12330 aware of remote file names. (Bug#10124)
12331
12332 2011-11-29 Chong Yidong <cyd@gnu.org>
12333
12334 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12335
12336 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12337
12338 * files.el (find-file): Don't use force-same-window (bug#10144).
12339 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12340 use pop-to-buffer if the selected window can't be used.
12341 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12342
12343 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12344
12345 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12346 special-mode-map.
12347
12348 2011-11-28 Chong Yidong <cyd@gnu.org>
12349
12350 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12351
12352 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
12353
12354 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12355 gdb-get-source-file-list on gdb-create-source-file-list.
12356
12357 2011-11-26 Eli Zaretskii <eliz@gnu.org>
12358
12359 * whitespace.el (whitespace-newline): Use a different foreground
12360 color for 16-color light-background displays.
12361
12362 2011-11-24 Chong Yidong <cyd@gnu.org>
12363
12364 * window.el (display-buffer--special-action): Doc fix.
12365
12366 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
12367
12368 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12369 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12370 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12371 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12372 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12373 (avl-tree-stack-first):
12374 * emacs-lisp/cconv.el (cconv--analyse-use):
12375 * net/gnutls.el (gnutls-negotiate): Fix typos.
12376
12377 2011-11-24 Glenn Morris <rgm@gnu.org>
12378
12379 * lpr.el (lpr-windows-system, lpr-lp-system):
12380 * mail/binhex.el (binhex-begin-line):
12381 * progmodes/grep.el (grep-history, grep-find-history):
12382 * textmodes/flyspell.el:
12383 * vc/pcvs-defs.el (cvs-global-menu):
12384 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12385 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12386 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12387
12388 * net/tls.el: Fix case of "GnuTLS".
12389
12390 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12391
12392 * version.el (emacs-build-system): Give it a doc-string.
12393
12394 2011-11-24 Juri Linkov <juri@jurta.org>
12395
12396 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12397
12398 2011-11-24 Glenn Morris <rgm@gnu.org>
12399
12400 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12401 if called on a non-mime message just toggle the headers. (Bug#8006)
12402
12403 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
12404
12405 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12406 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12407 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12408 (allout-rebullet-heading, allout-open-sibtopic)
12409 (allout-toggle-current-subtree-encryption)
12410 (allout-toggle-subtree-encryption, allout-encrypt-string)
12411 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12412 (allout-distinctive-bullets-string, allout-auto-activation):
12413 * window.el (window-normalize-buffer-to-display):
12414 * progmodes/verilog-mode.el (verilog-batch-indent):
12415 * textmodes/bibtex.el (bibtex-field-braces-opt)
12416 (bibtex-field-strings-opt):
12417 * vc/cvs-status.el (cvs-tree-merge):
12418 Fix typos.
12419
12420 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
12421
12422 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12423 `non-essential' to t, in order to avoid remote connections.
12424
12425 2011-11-23 Eli Zaretskii <eliz@gnu.org>
12426
12427 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12428 On MS-DOS and MS-Windows, compare with loaddefs.el
12429 case-insensitively.
12430
12431 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12432
12433 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12434
12435 2011-11-23 Glenn Morris <rgm@gnu.org>
12436
12437 * paths.el (rmail-file-name): Reformat the doc-string so that it
12438 is picked up.
12439
12440 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12441 (rmail-auto-file): Ignore case in the "special" field names,
12442 as mail-fetch-field does for all others.
12443
12444 * mail/rmail.el (rmail-forward):
12445 * mail/rmailkwd.el (rmail-set-label):
12446 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12447 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12448
12449 * mail/rmail.el (rmail-current-message): Doc fix.
12450
12451 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12452
12453 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12454
12455 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12456
12457 2011-11-22 Glenn Morris <rgm@gnu.org>
12458
12459 * mail/rmailmm.el (test-rmail-mime-handler)
12460 (test-rmail-mime-bulk-handler)
12461 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12462
12463 2011-11-21 Juri Linkov <juri@jurta.org>
12464
12465 * calc/calc.el (calc-read-key-sequence):
12466 Let-bind `input-method-function' to nil. (Bug#10018)
12467
12468 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12469
12470 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12471 Tell the caller that the next line needs recomputation, even
12472 though it doesn't start a sexp (bug#10094).
12473
12474 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12475
12476 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12477
12478 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12481 Use force-same-window.
12482
12483 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12484
12485 * descr-text.el (describe-char-unicode-data):
12486 * json.el (json-string-escape):
12487 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12488 (Footnote-unicode, Footnote-style-p):
12489 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12490
12491 2011-11-20 Chong Yidong <cyd@gnu.org>
12492
12493 * window.el (replace-buffer-in-windows): Restore interactive spec.
12494
12495 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12498
12499 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12500 (byte-compile-global-not-obsolete-vars): New var.
12501 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12502 Use it.
12503 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12504
12505 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
12506
12507 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12508 * progmodes/pascal.el (electric-pascal-equal):
12509 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12510 * xml.el (xml-substitute-special): Fix typos.
12511
12512 2011-11-20 Glenn Morris <rgm@gnu.org>
12513
12514 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12515 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12516 Doc fixes.
12517 (rmail-decode-mime-charset): Mark as obsolete.
12518
12519 * mail/rmailsum.el (rmail-message-regexp-p-1):
12520 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12521 Before using mime functions, check they are set. (Bug#10077)
12522
12523 2011-11-19 Juri Linkov <juri@jurta.org>
12524
12525 * info.el (Info-finder-find-node): Use `package--builtins' instead
12526 of `package-alist'. Use node names formed by the pattern "Keyword "
12527 and the keyword name.
12528
12529 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12530
12531 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
12532
12533 2011-11-19 Juri Linkov <juri@jurta.org>
12534
12535 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12536 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12537 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12538 `old-history', `old-history-forward'. Add let-binding
12539 `window-selected'. Remove calls to `kill-buffer',
12540 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12541 before calling `Info-find-node', so `Info-find-node-2' will reread
12542 the Info file. Restore window positions only when `window-selected'
12543 is non-nil.
12544
12545 2011-11-19 Juri Linkov <juri@jurta.org>
12546
12547 * isearch.el (isearch-lazy-highlight-new-loop):
12548 Remove condition `(not isearch-error)'. (Bug#9918)
12549
12550 * misearch.el (multi-isearch-search-fun): Add condition
12551 `(not bound)' to ignore lazy-highlighting search.
12552 Add the search-failed message "end of multi" when the end of
12553 multi-sequence is reached. Uncapitalize the search-failed
12554 message "Repeat for next buffer".
12555
12556 * info.el (Info-search): Add the search-failed message
12557 "end of the manual" when the end of the manual is reached
12558 in Isearch mode.
12559
12560 2011-11-19 Juri Linkov <juri@jurta.org>
12561
12562 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12563 Use non-destructive `remove' instead of `delete' because
12564 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12565 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12566
12567 2011-11-19 Juri Linkov <juri@jurta.org>
12568
12569 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12570 to nil instead of binding `search-ring' and `regexp-search-ring'.
12571 (Bug#9185)
12572
12573 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12574
12575 * simple.el (line-move): Force movement by logical lines for any
12576 hscrolled window, not only when auto-hscroll-mode is on.
12577 (line-move-visual): Update doc string to that effect. (Bug#10076)
12578
12579 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12580
12581 * language/european.el (macintosh): Define as alias for mac-roman.
12582
12583 2011-11-19 Eli Zaretskii <eliz@gnu.org>
12584
12585 * mail/rmailmm.el (rmail-mime-display-header)
12586 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12587 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12588 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12589 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12590 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12591 of a raw aref.
12592 (rmail-mime-entity-segment): To get past the tagline, move forward
12593 2 more lines, to account for the 2 empty lines that precede and
12594 follow the line with the buttons.
12595 (rmail-mime-update-tagline): Move one more line, to get past the
12596 empty line that follows the buttons in the tagline. (Bug#9520)
12597
12598 2011-11-19 Martin Rudalics <rudalics@gmx.at>
12599
12600 * window.el (window-max-delta-1, window-min-delta-1)
12601 (window-min-size-1, window-state-get-1, window-state-put-1)
12602 (window-state-put-2): Use "window--" prefix.
12603
12604 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12605
12606 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12607 (smie-warning-count): New var.
12608 (smie-set-prec2tab): Use it.
12609 (smie-bnf->prec2): Improve warnings. Add docstring.
12610 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12611 (smie-bnf--set-class): New function.
12612 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12613 corner case.
12614
12615 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12616 (compilation-error-properties, compilation-move-to-column):
12617 Handle compilation-first-column while in the target buffer.
12618
12619 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12620 Don't hardcode point-min==1.
12621
12622 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12623 (eshell-rewrite-for-command): Remove workaround.
12624 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12625 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12626 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12627
12628 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12629
12630 2011-11-17 Glenn Morris <rgm@gnu.org>
12631
12632 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12633 Ignore buffer-local generated-autoload-file if it is the same
12634 as the global value. (Bug#10049)
12635
12636 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
12637
12638 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12639 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12640 (reftex-toc-previous-heading, reftex-toc-max-level)
12641 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12642 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12643 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12644 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12645 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12646 (reftex-toc-rename-label, reftex-toc-visit-location)
12647 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12648 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12649 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12650 leaving "*toc*" only for references to the buffer.
12651
12652 2011-11-17 Martin Rudalics <rudalics@gmx.at>
12653
12654 * window.el (window-resize, delete-window, split-window):
12655 Replace window-splits by window-combination-resize.
12656 * cus-start.el (window-splits): Replace by window-combination-resize.
12657
12658 2011-11-17 Glenn Morris <rgm@gnu.org>
12659
12660 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12661 Make bash entry derive from sh entry, not shell entry.
12662
12663 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
12664
12665 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12666 local file name.
12667
12668 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12669
12670 * menu-bar.el (menu-bar-file-menu):
12671 * printing.el (pr-ps-utility):
12672 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12673 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12674 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12675 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12676 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12677 (icalendar--convert-cyclic-to-ical)
12678 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12679 (icalendar--convert-ical-to-diary)
12680 (icalendar--convert-recurring-to-diary)
12681 (icalendar--convert-non-recurring-all-day-to-diary)
12682 (icalendar-import-format-sample):
12683 * progmodes/idlw-shell.el (idlwave-shell-mode):
12684 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12685 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12686 (vhdl-ps-print-init): Fix typos.
12687
12688 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12689
12690 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12691 FSF and collapse date sequence, obscure author/maintainer email address
12692 better, remove extra version line, track relocation of author's webpage.
12693
12694 * progmodes/python.el (python-pdbtrack-input-prompt)
12695 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12696 regular python pdb prompts. Adjustments shamelessly taken exactly as
12697 suggested in EmacsWiki page (tiny change):
12698 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12699
12700 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
12701
12702 * expand.el (expand-pos, expand-index, expand-point):
12703 Remove redundant info from docstring.
12704 (expand-add-abbrevs): Doc fix.
12705 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12706 (expand-sample-perl-mode-expand-list): Fix typos.
12707
12708 * net/dbus.el (dbus-event-member-name):
12709 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12710 * term/pc-win.el (msdos-create-frame-with-faces):
12711 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12712
12713 2011-11-16 Martin Rudalics <rudalics@gmx.at>
12714
12715 * window.el (split-window, window-state-get-1)
12716 (window-state-put-1, window-state-put-2): Rename occurrences of
12717 window-nest to window-combination-limit.
12718 * cus-start.el (window-nest): Rename to window-combination-limit.
12719
12720 2011-11-16 Chong Yidong <cyd@gnu.org>
12721
12722 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12723 regexp (Bug#10033).
12724
12725 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12726
12727 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12728 `completing-read' will remove *Completions* and will preserve
12729 current-buffer for us.
12730 (tmm-add-prompt): Users of *Completions* will always (re)set its
12731 major mode.
12732 (tmm-old-comp-map): Remove.
12733
12734 2011-11-16 Glenn Morris <rgm@gnu.org>
12735
12736 * mail/rmailedit.el: Require rmailmm when compiling.
12737 (rmail-old-mime-state): New declaration.
12738 (rmail-edit-current-message): If editing a mime message,
12739 edit the "raw" message from the mbox buffer.
12740 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12741
12742 2011-11-15 Glenn Morris <rgm@gnu.org>
12743
12744 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12745 which wasn't being used. Add optional arg to force given state.
12746 (rmail-mime): Add optional arg to force given state.
12747
12748 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12749
12750 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12751 * frame.el (display-mm-dimensions-alist):
12752 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12753 (outline-move-subtree-down):
12754 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12755 (newsticker--treeview-do-get-node):
12756 * net/quickurl.el (quickurl-list-buffer-name):
12757 * progmodes/dcl-mode.el (dcl-mode):
12758 * progmodes/gdb-mi.el (gdb-mapcar*):
12759 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12760
12761 2011-11-15 Glenn Morris <rgm@gnu.org>
12762
12763 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12764 in a boolean sense, so just make it a boolean, and fix the doc.
12765 (rmail-show-mime-function, rmail-mime-feature)
12766 (rmail-require-mime-maybe): Doc fixes.
12767 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12768
12769 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12770
12771 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12772
12773 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12774 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12775 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12776 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12777
12778 2011-11-15 Glenn Morris <rgm@gnu.org>
12779
12780 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12781 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12782 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12783 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12784 (rmail-mime, rmail-show-mime): Doc fixes.
12785
12786 * term/ns-win.el (mode-line-frame-identification):
12787 Leave it alone. (Bug#10051)
12788
12789 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12790
12791 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12792 Handle empty buffers. (Bug#9978)
12793
12794 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12795
12796 * international/mule.el (define-charset):
12797 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12798 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12799 * progmodes/verilog-mode.el (verilog-backward-token):
12800 * textmodes/ispell.el (lookup-words):
12801 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12802
12803 2011-11-14 Glenn Morris <rgm@gnu.org>
12804
12805 * progmodes/executable.el
12806 (executable-make-buffer-file-executable-if-script-p):
12807 Handle file-modes returning nil.
12808
12809 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12810 message - not necessary, and causes problems. (Bug#9831)
12811
12812 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12813
12814 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12815
12816 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12817 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12818 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12819
12820 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12821
12822 * window.el (window-resize, delete-window): Use window-splits
12823 variable instead of function.
12824 (window-state-get-1, window-state-put-2, window-state-put):
12825 Don't deal with windows' splits status.
12826
12827 2011-11-12 Glenn Morris <rgm@gnu.org>
12828
12829 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12830 (apropos-documentation): Doc fixes.
12831
12832 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12833
12834 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12835 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12836
12837 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12838
12839 * electric.el (electric-indent-post-self-insert-function): Make it
12840 possible for a char to only indent in some circumstances.
12841 (electric-indent-mode): Simplify.
12842
12843 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12844
12845 * window.el (windows-with-parameter): Remove unused function.
12846 (windows-at-side): Rename to window-at-side-list.
12847 (window-check, window-atom-check, window-atom-check-1)
12848 (window-side-check, window-size-ignore, window-size-fixed-1)
12849 (window-in-direction-2): Prefix with "window--".
12850 (window-tree-1): Rename to window--subtree, fix doc-string.
12851
12852 2011-11-11 Glenn Morris <rgm@gnu.org>
12853
12854 * subr.el (eval-after-load): If FILE is already loaded,
12855 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12856
12857 2011-11-10 Glenn Morris <rgm@gnu.org>
12858
12859 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12860 Call svn via vc-svn-command rather than vc-do-command.
12861 (vc-svn-command): Add --non-interactive. (Bug#9993)
12862 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12863
12864 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12865 Add toggle-read-only. (Bug#7292)
12866 * files.el (toggle-read-only): Mention that it should only
12867 be used interactively. (Bug#10006)
12868
12869 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12870
12871 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12872 Adjust regexp for OCaml warnings.
12873
12874 * electric.el (electric-pair-post-self-insert-function): Let user
12875 turn it off buffer-locally (bug#9932).
12876
12877 * progmodes/python.el (python-beginning-of-statement):
12878 Rewrite (bug#2703).
12879
12880 * progmodes/compile.el: Better handle TABs (bug#9749).
12881 (compilation-internal-error-properties)
12882 (compilation-next-error-function): Obey the target buffer's
12883 compilation-error-screen-columns.
12884
12885 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12886
12887 * progmodes/meta-mode.el: Remove obsolete comments.
12888 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12889 Fix typos in docstrings.
12890
12891 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12892
12893 * window.el (window-size-fixed-p): Rewrite doc-string.
12894 (window-resizable-p): Rename to window--resizable-p. Update callers.
12895 (window--resizable): New function. Make all callers of
12896 window-resizable call window--resizable instead.
12897 (window-resizable): Rewrite in terms of window--resizable.
12898
12899 2011-11-08 Glenn Morris <rgm@gnu.org>
12900
12901 * progmodes/delphi.el (delphi-mode-syntax-table):
12902 Let define-derived-mode define a proper syntax table. (Bug#9994)
12903
12904 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * window.el: Stay away from defsubst.
12907 (window-list-no-nils): Remove.
12908 (window-state-get-1, window-state-get): Use backquote instead.
12909
12910 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12911
12912 * emacs-lisp/find-func.el (find-function-read):
12913 Fix incorrect use of default argument in `completing-read'.
12914
12915 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12916
12917 * window.el (display-buffer-function, special-display-function):
12918 Mention display-buffer-record-window but do not mention
12919 help-setup parameter in doc-strings.
12920 (window-min-delta): Fix doc-string typo.
12921
12922 2011-11-08 Chong Yidong <cyd@gnu.org>
12923
12924 * window.el (window-total-height, window-total-width): Doc fix.
12925 (window-body-size): Move from C.
12926 (window-body-height, window-body-width): Move to C.
12927
12928 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 * window.el: Make special-display like display-buffer-alist (bug#9532).
12931 (display-buffer--special-action): New function, morphed
12932 from display-buffer--special.
12933 (display-buffer): Use it to handle special-display-buffers at higher
12934 priority (just after display-buffer-alist).
12935 (display-buffer-fallback-action, display-buffer--other-frame-action)
12936 (pop-to-buffer-same-window): Remove display-buffer--special.
12937
12938 2011-11-07 Glenn Morris <rgm@gnu.org>
12939
12940 * calendar/cal-menu.el (cal-menu-set-date-title):
12941 Do nothing if not in a calendar. (Bug#9976)
12942
12943 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12944
12945 * files.el (find-file): Always use selected-window.
12946
12947 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12948
12949 * window.el (window-combinations): Make WINDOW argument
12950 mandatory. Rewrite doc-string.
12951 (walk-window-subtree, window-atom-check, window-min-delta)
12952 (window-max-delta, window--resize-this-window)
12953 (window--resize-root-window-vertically, window-tree)
12954 (balance-windows, window-state-put): Rewrite doc-strings as to
12955 not mention the term "subwindow".
12956 (window--resize-subwindows-skip-p): Rename to
12957 window--resize-child-windows-skip-p.
12958 (window--resize-subwindows-normal): Rename to
12959 window--resize-child-windows-normal.
12960 (window--resize-subwindows): Rename to
12961 window--resize-child-windows.
12962 (window-or-subwindow-p): Rename to window--in-subtree-p.
12963
12964 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12965
12966 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12967 Ensure that mbox format messages end in two newlines (Bug#9974).
12968
12969 2011-11-06 Chong Yidong <cyd@gnu.org>
12970
12971 * window.el (window-combination-p): Function deleted; its
12972 side-effect is not used in any existing code.
12973 (window-combinations, window-combined-p): Call window-*-child
12974 directly.
12975
12976 2011-11-05 Chong Yidong <cyd@gnu.org>
12977
12978 * window.el (window-valid-p): Rename from window-any-p.
12979 (window-size-ignore, window-state-get): Callers changed.
12980 (window-normalize-window): Rename from window-normalize-any-window.
12981 New arg LIVE-ONLY, replacing window-normalize-live-window.
12982 (window-normalize-live-window): Delete.
12983 (window-combination-p, window-combined-p, window-combinations)
12984 (walk-window-subtree, window-atom-root, window-min-size)
12985 (window-sizable, window-sizable-p, window-size-fixed-p)
12986 (window-min-delta, window-max-delta, window-resizable)
12987 (window-resizable-p, window-full-height-p, window-full-width-p)
12988 (window-current-scroll-bars, window-point-1, set-window-point-1)
12989 (window-at-side-p, window-in-direction, window-resize)
12990 (adjust-window-trailing-edge, maximize-window, minimize-window)
12991 (window-deletable-p, delete-window, delete-other-windows)
12992 (record-window-buffer, unrecord-window-buffer)
12993 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12994 (quit-window, split-window, window-state-put)
12995 (set-window-text-height, fit-window-to-buffer)
12996 (shrink-window-if-larger-than-buffer): Callers changed.
12997
12998 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12999
13000 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13001 rfc2047-decode-string.
13002 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13003 warnings.
13004
13005 * window.el (window-body-height, window-body-width): Mention in
13006 the doc string that the return values are in frame's canonical
13007 units. (Bug#9949)
13008
13009 2011-11-03 Alan Mackenzie <acm@muc.de>
13010
13011 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13012 change in cc-engine.el.
13013
13014 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13017
13018 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13019
13020 * window.el (quit-window): Call unrecord-window-buffer after
13021 showing another buffer in the window. (Bug#9937)
13022 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13023
13024 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13025
13026 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13027 Accept status with more than 9 shelves. (Bug#9935)
13028 Reported by Colin D Bennett <colin@gibibit.com>.
13029
13030 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13031
13032 * help.el (with-help-window): Don't reference
13033 temp-buffer-show-specifiers in doc-string.
13034
13035 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13036
13037 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13038 menu-item.
13039
13040 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13041
13042 * whitespace.el: New version 13.2.2.
13043 (whitespace-newline-mode): Disable properly. Reported by Sarah
13044 <EmacsWiki>.
13045
13046 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13047
13048 * net/newst-treeview.el: Remove "Time-stamp".
13049 (newsticker--group-manage-orphan-feeds): Do not call
13050 newsticker--treeview-tree-update.
13051 (newsticker-treeview-update, newsticker-treeview):
13052 Call newsticker--treeview-tree-update if necessary.
13053
13054 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13055
13056 * window.el (window-iso-combination-p, window-iso-combined-p)
13057 (window-iso-combinations): Remove "iso-" infix.
13058 Suggested by Chong Yidong.
13059 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13060 (window-max-delta-1, window-resize, window--resize-siblings)
13061 (window--resize-this-window, adjust-window-trailing-edge)
13062 (split-window, balance-windows-1)
13063 (shrink-window-if-larger-than-buffer):
13064 * calendar/calendar.el (calendar-generate-window):
13065 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13066
13067 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13068
13069 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13070 in place (bug#9907).
13071 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13072 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13073 (eshell-structure-basic-command, eshell-rewrite-while-command)
13074 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13075 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13076 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13077 (eshell-do-pipelines-synchronously, eshell-eval-command):
13078 Use backquotes and prefer setq to set.
13079 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13080 (eshell-macrop): Use functionp.
13081 (eshell-do-eval): Handle multiple expressions in `while' body.
13082
13083 2011-10-30 Chong Yidong <cyd@gnu.org>
13084
13085 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13086 instead of set-mark (Bug#9810).
13087
13088 2011-10-30 Chong Yidong <cyd@gnu.org>
13089
13090 * window.el (split-window-below, split-window-right): Rename from
13091 split-window-above-each-other and split-window-side-by-side
13092 respectively. All callers changed.
13093 (split-window-sensibly, split-window-sensibly): Use them.
13094 (split-window-keep-point): Doc fix.
13095
13096 * isearch.el: Add isearch-scroll property to split-window-below
13097 and split-window-right.
13098
13099 * follow.el (follow-mode):
13100 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13101 * progmodes/ada-xref.el (ada-gdb-application):
13102 * emulation/vip.el (vip-buffer-in-two-windows):
13103 * image-dired.el (image-dired-dired-with-window-configuration):
13104 * dired-x.el (dired-do-find-marked-files):
13105 * dired.el (dired-pop-to-buffer):
13106 * bs.el (bs--show-with-configuration):
13107 * vc/emerge.el (emerge-setup-windows):
13108 * textmodes/two-column.el (2C-two-columns):
13109 * textmodes/reftex-toc.el (reftex-toc):
13110 * progmodes/gdb-mi.el (gdb-setup-windows):
13111 * progmodes/fortran.el (fortran-window-create):
13112 * net/newst-treeview.el (newsticker--treeview-window-init):
13113 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13114 * emulation/tpu-edt.el (tpu-gold-map):
13115 * emulation/crisp.el (crisp-mode-map):
13116 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13117
13118 2011-10-29 Chong Yidong <cyd@gnu.org>
13119
13120 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13121
13122 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13123
13124 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13125 forged Ispell output (Bug#7904).
13126
13127 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13128
13129 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * doc-view.el: Avoid ugly errors about not finding nil.
13132 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13133 (doc-view-dvipdf-program, doc-view-unoconv-program)
13134 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13135 Avoid nil or absolute file name as default value.
13136 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13137
13138 2011-10-28 Alan Mackenzie <acm@muc.de>
13139
13140 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13141
13142 2011-10-28 Alan Mackenzie <acm@muc.de>
13143
13144 Amend the handling of c-beginning/end-of-defun in nested declaration
13145 scopes.
13146
13147 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13148 cc-langs.el. Change it to a defcustom.
13149
13150 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13151 cc-vars.el.
13152
13153 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13154 Prevent "class foo : bar" being spuriously recognized as a label.
13155
13156 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13157 Add parameter `inclusive' (to include enclosing braces in the region).
13158 (c-widen-to-enclosing-decl-scope): New function.
13159 (c-while-widening-to-decl-block): New macro.
13160 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13161 outward for defun boundaries, and correspondingly change symbol
13162 `respect-enclosure' to `go-outward'.
13163 (c-declaration-limits): Change algorithm to report only the "innermost"
13164 defun's boundaries.
13165
13166 2011-10-28 Deniz Dogan <deniz@dogan.se>
13167
13168 * net/rcirc.el (rcirc-mode): Use hard newlines.
13169
13170 2011-10-28 Alan Mackenzie <acm@muc.de>
13171
13172 Amend to indent and fontify macros "which include their own semicolon"
13173 correctly, using the "virtual semicolon" mechanism.
13174
13175 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13176
13177 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13178 Recode to scan one line at a time rather than having \n and \r
13179 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13180 (c-forward-label): Amend for virtual semicolons.
13181 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13182
13183 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13184 of the new C macros.
13185
13186 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13187 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13188 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13189 (c-opt-cpp-macro-define): Make into a full language variable.
13190 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13191 AWK Mode (including \n, \r) removed, no longer needed.
13192
13193 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13194 Invoke c-make-macro-with-semi-re.
13195
13196 * progmodes/cc-vars.el (c-macro-with-semi-re):
13197 (c-macro-names-with-semicolon): New variables.
13198 (c-make-macro-with-semi-re): New function.
13199
13200 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13201
13202 * vc/log-edit.el: Fill empty field rather than adding new one.
13203 (log-edit-add-field): New function.
13204 (log-edit-insert-changelog): Use it.
13205
13206 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13207
13208 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13209
13210 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13213 (gdb--check-interpreter): New function.
13214 (gdb): Use it.
13215
13216 2011-10-27 Glenn Morris <rgm@gnu.org>
13217
13218 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13219 (least-positive-float, least-negative-float)
13220 (least-positive-normalized-float, least-negative-normalized-float)
13221 (float-epsilon, float-negative-epsilon):
13222 Remove unnecessary declarations.
13223
13224 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13225 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13226 (least-positive-float, least-negative-float)
13227 (least-positive-normalized-float, least-negative-normalized-float)
13228 (float-epsilon, float-negative-epsilon): Add doc-strings,
13229 based on those in cl.texi.
13230
13231 * files.el (set-visited-file-name): If the major-mode changed,
13232 reload the local variables. (Bug#9796)
13233
13234 2011-10-27 Chong Yidong <cyd@gnu.org>
13235
13236 * subr.el (change-major-mode-after-body-hook): New hook.
13237 (run-mode-hooks): Run it.
13238
13239 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13240 Use change-major-mode-before-body-hook.
13241
13242 * simple.el (fundamental-mode):
13243 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13244 change introducing fundamental-mode-hook.
13245
13246 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13247
13248 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13249
13250 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13251
13252 * ido.el (ido-file-name-all-completions-1): Do not require
13253 tramp.el explicitly. (Bug#7583)
13254
13255 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * progmodes/octave-mod.el:
13258 * progmodes/octave-inf.el: Update maintainer.
13259
13260 2011-10-26 Chong Yidong <cyd@gnu.org>
13261
13262 * subr.el (with-wrapper-hook): Rewrite doc.
13263
13264 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13265
13266 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13267 filenames "/method:foo:". (Bug#9793)
13268
13269 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13272 (bug#9865).
13273
13274 2011-10-24 Glenn Morris <rgm@gnu.org>
13275
13276 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13277
13278 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13279
13280 * notifications.el: Add the requirement of a running D-Bus session
13281 bus to the Commentary.
13282
13283 2011-10-24 Juri Linkov <juri@jurta.org>
13284
13285 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13286 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13287 (Bug#9364)
13288
13289 2011-10-24 Juri Linkov <juri@jurta.org>
13290
13291 * info.el (Info-following-node-name-re): Add newline to the list
13292 of allowed characters for leading space. (Bug#9824)
13293
13294 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13295
13296 * progmodes/octave-inf.el (inferior-octave-mode-map):
13297 Fix C-c C-h binding.
13298 * progmodes/octave-mod.el (octave-help): Remove.
13299
13300 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13301
13302 Sync with Tramp 2.2.3.
13303
13304 * net/tramp-cache.el (top): Pacify byte-compiler using
13305 `init-file-user' and `site-run-file'.
13306
13307 * net/trampver.el: Update release number.
13308
13309 2011-10-23 Chong Yidong <cyd@gnu.org>
13310
13311 * files.el (toggle-read-only): Remove obsolete comment about
13312 version control.
13313
13314 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13315 for toggle-read-only. Note that this hasn't called vc-next-action
13316 since 2008-05-02, though it wasn't documented at the time.
13317
13318 * vc/ediff-init.el (ediff-toggle-read-only-function):
13319 Use toggle-read-only.
13320
13321 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13322
13323 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13324 of c-parse-state.
13325
13326 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13327 correct faulty logical expression.
13328 (c-parse-state-state, c-record-parse-state-state):
13329 (c-replay-parse-state-state): New defvar/defuns.
13330 (c-debug-parse-state): Use new functions.
13331
13332 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13333
13334 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13335 last fix. Use window-in-direction correctly.
13336
13337 2011-10-21 Chong Yidong <cyd@gnu.org>
13338
13339 * progmodes/idlwave.el (idlwave-mode):
13340 * progmodes/vera-mode.el (vera-mode): No need to set
13341 require-final-newline; that's done in prog-mode.
13342 Suggested by Stefan Monnier.
13343
13344 2011-10-21 Martin Rudalics <rudalics@gmx.at>
13345
13346 * mouse.el (mouse-drag-window-above)
13347 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13348 (mouse-drag-mode-line-1, mouse-drag-header-line)
13349 (mouse-drag-vertical-line-rightward-window): Remove.
13350 (mouse-drag-line): New function.
13351 (mouse-drag-mode-line, mouse-drag-header-line)
13352 (mouse-drag-vertical-line): Call mouse-drag-line.
13353 * window.el (window-at-side-p, windows-at-side): New functions.
13354
13355 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
13356
13357 * tar-mode.el (tar-grind-file-mode):
13358 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13359
13360 2011-10-21 Chong Yidong <cyd@gnu.org>
13361
13362 * progmodes/idlwave.el (idlwave-mode):
13363 * progmodes/vera-mode.el (vera-mode):
13364 Use mode-require-final-newline.
13365
13366 2011-10-20 Glenn Morris <rgm@gnu.org>
13367
13368 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
13369
13370 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13371
13372 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13373
13374 2011-10-20 Chong Yidong <cyd@gnu.org>
13375
13376 * emulation/cua-base.el (cua-mode):
13377 * mail/footnote.el (footnote-mode):
13378 * mail/mailabbrev.el (mail-abbrevs-mode):
13379 * net/xesam.el (xesam-minor-mode):
13380 * progmodes/bug-reference.el (bug-reference-mode):
13381 * progmodes/cap-words.el (capitalized-words-mode):
13382 * progmodes/compile.el (compilation-minor-mode)
13383 (compilation-shell-minor-mode):
13384 * progmodes/gud.el (gud-tooltip-mode):
13385 * progmodes/hideif.el (hide-ifdef-mode):
13386 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13387 * progmodes/subword.el (subword-mode):
13388 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13389 * progmodes/which-func.el (which-function-mode):
13390 * term/tvi970.el (tvi970-set-keypad-mode):
13391 * term/vt100.el (vt100-wide-mode):
13392 * textmodes/flyspell.el (flyspell-mode):
13393 * textmodes/ispell.el (ispell-minor-mode):
13394 * textmodes/nroff-mode.el (nroff-electric-mode):
13395 * textmodes/paragraphs.el (use-hard-newlines):
13396 * textmodes/refill.el (refill-mode):
13397 * textmodes/reftex.el (reftex-mode):
13398 * textmodes/rst.el (rst-minor-mode):
13399 * textmodes/sgml-mode.el (html-autoview-mode)
13400 (sgml-electric-tag-pair-mode):
13401 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13402 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13403 * emulation/crisp.el (crisp-mode):
13404 * emacs-lisp/eldoc.el (eldoc-mode):
13405 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13406 minor mode behavior.
13407
13408 2011-10-19 Juri Linkov <juri@jurta.org>
13409
13410 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13411 the list of hard-coded chars with escape-glyph face.
13412
13413 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13414
13415 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13416
13417 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
13418
13419 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13420 running process.
13421
13422 2011-10-19 Glenn Morris <rgm@gnu.org>
13423
13424 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13425 Ignore ignored files. (Bug#9726)
13426
13427 2011-10-19 Chong Yidong <cyd@gnu.org>
13428
13429 Doc fix for minor modes, stating that an omitted argument enables
13430 the mode unconditionally when called from Lisp.
13431
13432 * abbrev.el (abbrev-mode):
13433 * allout.el (allout-mode):
13434 * autoinsert.el (auto-insert-mode):
13435 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13436 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13437 (global-auto-revert-mode):
13438 * battery.el (display-battery-mode):
13439 * composite.el (global-auto-composition-mode)
13440 (auto-composition-mode):
13441 * delsel.el (delete-selection-mode):
13442 * desktop.el (desktop-save-mode):
13443 * dired-x.el (dired-omit-mode):
13444 * dirtrack.el (dirtrack-mode):
13445 * doc-view.el (doc-view-minor-mode):
13446 * double.el (double-mode):
13447 * electric.el (electric-indent-mode, electric-pair-mode):
13448 * emacs-lock.el (emacs-lock-mode):
13449 * epa-hook.el (auto-encryption-mode):
13450 * follow.el (follow-mode):
13451 * font-core.el (font-lock-mode):
13452 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13453 * help.el (temp-buffer-resize-mode):
13454 * hilit-chg.el (highlight-changes-mode)
13455 (highlight-changes-visible-mode):
13456 * hi-lock.el (hi-lock-mode):
13457 * hl-line.el (hl-line-mode, global-hl-line-mode):
13458 * icomplete.el (icomplete-mode):
13459 * ido.el (ido-everywhere):
13460 * image-file.el (auto-image-file-mode):
13461 * image-mode.el (image-minor-mode):
13462 * iswitchb.el (iswitchb-mode):
13463 * jka-cmpr-hook.el (auto-compression-mode):
13464 * linum.el (linum-mode):
13465 * longlines.el (longlines-mode):
13466 * master.el (master-mode):
13467 * mb-depth.el (minibuffer-depth-indicate-mode):
13468 * menu-bar.el (menu-bar-mode):
13469 * minibuf-eldef.el (minibuffer-electric-default-mode):
13470 * mouse-sel.el (mouse-sel-mode):
13471 * msb.el (msb-mode):
13472 * mwheel.el (mouse-wheel-mode):
13473 * outline.el (outline-minor-mode):
13474 * paren.el (show-paren-mode):
13475 * recentf.el (recentf-mode):
13476 * reveal.el (reveal-mode, global-reveal-mode):
13477 * rfn-eshadow.el (file-name-shadow-mode):
13478 * ruler-mode.el (ruler-mode):
13479 * savehist.el (savehist-mode):
13480 * scroll-all.el (scroll-all-mode):
13481 * scroll-bar.el (scroll-bar-mode):
13482 * server.el (server-mode):
13483 * shell.el (shell-dirtrack-mode):
13484 * simple.el (auto-fill-mode, transient-mark-mode)
13485 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13486 (line-number-mode, column-number-mode, size-indication-mode)
13487 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13488 * strokes.el (strokes-mode):
13489 * time.el (display-time-mode):
13490 * t-mouse.el (gpm-mouse-mode):
13491 * tool-bar.el (tool-bar-mode):
13492 * tooltip.el (tooltip-mode):
13493 * type-break.el (type-break-mode-line-message-mode)
13494 (type-break-query-mode):
13495 * view.el (view-mode):
13496 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13497 (global-whitespace-mode, global-whitespace-newline-mode):
13498 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13499
13500 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13501 Fix autogenerated docstring.
13502
13503 2011-10-19 Juri Linkov <juri@jurta.org>
13504
13505 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13506 by checking environment variables "DESKTOP_SESSION" and
13507 "XDG_CURRENT_DESKTOP". (Bug#9779)
13508
13509 2011-10-19 Juri Linkov <juri@jurta.org>
13510
13511 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13512 (browse-url-chromium-program, browse-url-chromium-arguments):
13513 New defcustoms.
13514 (browse-url-default-browser): Check for `browse-url-chromium' and
13515 call `browse-url-chromium-program'.
13516 (browse-url-chromium): New command. (Bug#9779)
13517
13518 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
13519
13520 * facemenu.el (list-colors-duplicates): On Windows, detect more
13521 duplicates by assuming that only colors matching "^System" are
13522 special "system colors". (Bug#9722)
13523
13524 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13525
13526 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13527 to distinguish the author from the committer.
13528
13529 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
13530
13531 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13532
13533 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13534
13535 * international/mule.el (sgml-html-meta-auto-coding-function):
13536 Add support for detecting encoding in HTML5 specified only as
13537 <meta charset="UTF-8">. Implementation just makes http-equiv and
13538 content-type parts from HTML4 encoding string optional. (Bug#9716)
13539
13540 2011-10-18 Glenn Morris <rgm@gnu.org>
13541
13542 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13543
13544 2011-10-18 Chong Yidong <cyd@gnu.org>
13545
13546 * faces.el (cursor): Doc fix.
13547
13548 2011-10-17 Chong Yidong <cyd@gnu.org>
13549
13550 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13551
13552 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
13553
13554 * dirtrack.el (dirtrack): Support shell buffers with path
13555 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13556
13557 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13558
13559 * json.el: Bump version to 1.3 and note change in History.
13560 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13561
13562 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * comint.el (comint-insert-input, comint-send-input)
13565 (comint-get-old-input-default, comint-backward-matching-input)
13566 (comint-next-prompt): Use nil instead of `input' for field property of
13567 past user input (bug#114).
13568
13569 * minibuffer.el (completion--replace): Inherit surrounding properties
13570 (bug#114).
13571 (minibuffer-complete-and-exit): Use it.
13572
13573 * comint.el (comint--table-subvert): Quote the all-completions output
13574 (bug#9160).
13575
13576 2011-10-17 Martin Rudalics <rudalics@gmx.at>
13577
13578 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
13579
13580 * menu-bar.el (menu-bar-file-menu): Add entry for making new
13581 window on right of selected. (Bug#9350) Reword other window
13582 entries and separate them from frame entries.
13583
13584 2011-10-15 Glenn Morris <rgm@gnu.org>
13585
13586 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13587 Doc fixes.
13588
13589 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
13590
13591 * net/network-stream.el (network-stream-open-starttls):
13592 Improve detection of failure due to lack of TLS support.
13593
13594 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13595 putting the input text in front and in bold.
13596
13597 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13598
13599 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13600
13601 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13602 empty buffer.
13603
13604 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13605 unread-command-events rather than pushing yet-another event.
13606
13607 2011-10-14 Eli Zaretskii <eliz@gnu.org>
13608
13609 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13610 the explanation of the possible choices. Make the options passed
13611 to completing-read shorter.
13612
13613 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13614
13615 * textmodes/flyspell.el (flyspell-large-region): Make sure
13616 extended character mode is used if defined (Bug#1339).
13617
13618 2011-10-13 Eli Zaretskii <eliz@gnu.org>
13619
13620 * simple.el (what-cursor-position): Fix the display of the
13621 character info for LRE, LRO, RLE, and RLO characters by appending
13622 an invisible PDF.
13623
13624 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13625
13626 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13627 even in case of error; add debug spec; simplify data flow.
13628 (with-timeout-handler): Remove.
13629
13630 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
13631
13632 Fix Bug#6019, Bug#9315.
13633
13634 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13635 complete `buffer-file-name', the local file name part could look
13636 remotely (for example on VMS).
13637
13638 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13639 `tramp-run-real-handler'.
13640 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13641 already quoted by '"'.
13642
13643 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13644 Let `file-name-handler-alist' be nil, the local file name part
13645 could look remotely (for example on VMS).
13646
13647 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13648
13649 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13650 from here...
13651 (flyspell-post-command-hook): ...to here.
13652
13653 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13654
13655 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13656 if not needed.
13657 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13658 using completion. Protect against "slow" callers.
13659 Remove the "message hack".
13660
13661 2011-10-11 Juri Linkov <juri@jurta.org>
13662
13663 * isearch.el (isearch-lazy-highlight-word): New variable.
13664 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13665 Use it. (Bug#9727)
13666
13667 2011-10-11 Glenn Morris <rgm@gnu.org>
13668
13669 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13670 like f90-previous-statement does.
13671
13672 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13673
13674 * eshell/eshell.el (eshell-command): History should be saved
13675 only in interactive use, to avoid error.
13676
13677 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13678
13679 * minibuffer.el (completion-file-name-table): Fix last change,
13680 i.e. ignore normal errors but not the other ones.
13681
13682 2011-10-10 Martin Rudalics <rudalics@gmx.at>
13683
13684 * window.el (special-display-buffer-names)
13685 (special-display-regexps): Remove some remnants of earlier
13686 changes from doc-strings.
13687 (quit-windows-on): New function.
13688
13689 * vc/vc.el (vc-revert, vc-rollback):
13690 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13691 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
13692 (Bug#6183) (Bug#7074) (Bug#7447)
13693
13694 2011-10-09 Martin Rudalics <rudalics@gmx.at>
13695
13696 * window.el (frame-auto-hide-function): Add version tag.
13697 (Bug#9699)
13698
13699 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
13700
13701 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13702 condition.
13703
13704 2011-10-09 Leo Liu <sdl.web@gmail.com>
13705
13706 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13707 (Bug#9701)
13708
13709 2011-10-08 Glenn Morris <rgm@gnu.org>
13710
13711 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13712 before the first code statement zero indent. (Bug#9690)
13713
13714 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
13715
13716 * simple.el (count-words-region): Always count in the region.
13717 Report the number of lines and characters too.
13718 (count-words): New command, which counts in the buffer if the
13719 region is inactive, as count-words-region used to.
13720 (count-words--message): New function. Handle plurals.
13721 (count-lines-region): Make it an alias for count-words-region.
13722
13723 * bindings.el (esc-map): Replace count-lines-region with
13724 count-words-region.
13725
13726 2011-10-08 Martin Rudalics <rudalics@gmx.at>
13727
13728 * window.el (window--delete): Delete dedicated frame
13729 unconditionally when argument KILL is non-nil. (Bug#9699)
13730 (switch-to-buffer): Fix doc-string typo.
13731
13732 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13733
13734 * eshell/eshell.el (eshell-command): Avoid using hooks.
13735
13736 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
13737
13738 * bindings.el ([M-left],[M-right]): Bind to left-word and
13739 right-word respectively.
13740
13741 2011-10-07 Glenn Morris <rgm@gnu.org>
13742
13743 * cus-start.el (debug-on-quit): Fix custom type.
13744
13745 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13746
13747 * subr.el (define-key-after): Clarify that the function is not
13748 useful for non-menu keymaps.
13749
13750 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13751
13752 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13753
13754 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13755 in current minibuffer (Fix bug with recursive minibuffers).
13756
13757 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13758
13759 * progmodes/gdb-mi.el (gdb): Doc fix.
13760
13761 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13762
13763 * window.el (frame-auto-hide-function): New option replacing
13764 frame-auto-delete. Suggested by Stefan Monnier.
13765 (window--delete): Call frame-auto-hide-function instead of
13766 investigating frame-auto-delete.
13767 (window-point-1, set-window-point-1): New functions.
13768 (window-in-direction, record-window-buffer, window-state-get-1)
13769 (display-buffer-record-window): Use window-point-1 instead of
13770 window-point.
13771 (set-window-buffer-start-and-point): Use set-window-point-1.
13772
13773 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13774
13775 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13776
13777 2011-10-05 Glenn Morris <rgm@gnu.org>
13778
13779 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13780 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13781
13782 2011-10-05 Leo Liu <sdl.web@gmail.com>
13783
13784 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13785 works with buffer object.
13786
13787 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * mpc.el (mpc-tool-bar-map): Add labels.
13790
13791 2011-10-04 Glenn Morris <rgm@gnu.org>
13792
13793 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13794
13795 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13796
13797 * window.el (window--delete): New function.
13798 (frame-auto-delete): Resuscitate option.
13799 (bury-buffer, replace-buffer-in-windows)
13800 (quit-window): Rewrite using window--delete.
13801 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13802 Pass display-buffer-mark-dedicated to window--display-buffer-2
13803 (Bug#9639).
13804
13805 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13806
13807 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13808 returns a list (bug#9554). Add remote file name completion.
13809 * comint.el (comint--table-subvert): Curry and get quote&unquote
13810 functions as arguments.
13811 (comint--complete-file-name-data): Adjust call accordingly.
13812 * pcomplete.el (pcomplete--table-subvert): Remove.
13813 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13814
13815 * minibuffer.el (completion-table-case-fold): Use currying.
13816 (completion--styles-type, completion--cycling-threshold-type):
13817 New constants.
13818 (completion-styles, completion-category-overrides)
13819 (completion-cycle-threshold): Use them.
13820 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13821 completion-table-case-fold.
13822
13823 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13824
13825 * minibuffer.el (completion-category-overrides): Fix type of styles
13826 and add more user friendly tags (bug#9660).
13827
13828 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13829
13830 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13831 (mule-input-method-string): New widget.
13832 (default-input-method, language-info-custom-alist): Use it.
13833
13834 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13835
13836 * pcomplete.el: Require comint.
13837 (pcomplete--common-suffix): Remove.
13838 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13839 (pcomplete--table-subvert): Sync with comint--table-subvert.
13840 (pcomplete--entries): Use comint-completion-file-name-table.
13841 * comint.el (comint-unquote-filename): Simplify.
13842 (comint-completion-file-name-table): New function (bug#9616).
13843 (comint--complete-file-name-data): Use it.
13844
13845 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13846 (pcmpl-gnu-tar-buffer): Remove.
13847 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13848 around. Make sure pcomplete-suffix-list is only changed temporarily.
13849 Don't look inside the tar's file if it's too large.
13850
13851 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13852
13853 * cus-edit.el (custom-mode-map):
13854 * epa.el (epa-key-list-mode-map):
13855 * man.el (Man-mode-map):
13856 * startup.el (splash-screen-keymap):
13857 * simple.el (special-mode-map): Use scroll-up-command and
13858 scroll-down-command.
13859
13860 * progmodes/idlw-help.el (idlwave-help-mode-map):
13861 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13862 * net/newst-plainview.el (newsticker-mode-map):
13863 * emulation/ws-mode.el (wordstar-mode-map):
13864 * emulation/vi.el (vi-com-map):
13865 * calc/calc-graph.el (calc-graph-show-dumb):
13866 * term/sun.el (terminal-init-sun):
13867 * term/ns-win.el (global-map):
13868 * progmodes/grep.el (grep-mode-map):
13869 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13870 * mail/rmail.el (rmail-mode-map):
13871 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13872
13873 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13874 custom-safe-themes as special.
13875
13876 2011-10-01 Julien Danjou <julien@danjou.info>
13877
13878 * notifications.el (notifications-notify): Fix docstring.
13879
13880 2011-10-01 Per Starbäck <per@starback.se>
13881
13882 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13883
13884 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13885
13886 * startup.el (command-line-1): Fix last fix by inserting
13887 initial-scratch-message into *scratch* before displaying it.
13888 (Bug#9605) and (Bug#9636)
13889
13890 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13891
13892 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13893 window is hscrolled, move by logical lines. (Bug#9607)
13894 (line-move-visual): Update the doc string to the above effect.
13895
13896 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13897
13898 * window.el (display-buffer-record-window): When WINDOW is the
13899 selected window use `point' instead of `window-point'. (Bug#9626)
13900
13901 * startup.el (command-line-1): Use insert-before-markers when
13902 inserting initial-scratch-message. (Bug#9605)
13903
13904 * help.el (help-window): Remove variable.
13905
13906 2011-09-29 Glenn Morris <rgm@gnu.org>
13907
13908 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13909
13910 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13911
13912 * descr-text.el (describe-char-categories): Accept category
13913 descriptions more than one line long.
13914
13915 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13916
13917 * simple.el (delete-trailing-whitespace): Fix last change.
13918
13919 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13920 Don't confuse "y => 3" as the beginning of a `y' operation.
13921
13922 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13923 object has more than 4 slots (bug#9613).
13924
13925 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13926
13927 * subr.el (with-output-to-temp-buffer):
13928 * net/quickurl.el (quickurl, quickurl-browse-url):
13929 Fix typos in docstrings.
13930
13931 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13932
13933 * minibuffer.el (completion-styles)
13934 (completion-category-overrides): Cross reference each other in doc
13935 strings.
13936
13937 2011-09-27 Glenn Morris <rgm@gnu.org>
13938
13939 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13940 to split-string. (Bug#9606)
13941
13942 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13943
13944 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13945 (bug#9615).
13946
13947 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13948
13949 * emacs-lisp/package.el (list-packages): Fix echo area message.
13950
13951 2011-09-27 Leo Liu <sdl.web@gmail.com>
13952
13953 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13954
13955 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13956
13957 * net/dbus.el (dbus-unregister-object): Don't release services for
13958 registered signals. (Bug#9581)
13959
13960 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13961
13962 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13963 function that picks between cfengine 2 and 3 support
13964 automatically. Update docs accordingly.
13965
13966 2011-09-22 Kenichi Handa <handa@m17n.org>
13967
13968 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13969 ZERO.
13970 (indian-itrans-v5-table-for-tamil): New variable.
13971 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13972
13973 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13974
13975 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13976 that's true if the current command involved collapsing of text.
13977 It's reset to false at the beginning of the next command.
13978 (allout-post-command-business): Move the cursor to the beginning
13979 of entry if the cursor is hidden and collapsing activity just
13980 happened.
13981
13982 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13983
13984 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13985 tracking (Bug#9541).
13986
13987 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13988
13989 * net/newst-reader.el (newsticker-html-renderer)
13990 (newsticker-show-news): Automatically load html rendering package
13991 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13992 because w3m-fill-column is let-bound" and the error "Symbol's value
13993 as variable is void: w3m-fill-column".
13994
13995 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13996
13997 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13998 Release services only if they are defined. (Bug#9581)
13999
14000 2011-09-23 Richard Stallman <rms@gnu.org>
14001
14002 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14003 distinguish start of paragraph from start of its text.
14004
14005 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14006
14007 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14008 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14009 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14010
14011 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14012
14013 * international/mule-diag.el (mule-diag): Insert a newline after
14014 each fontset description.
14015
14016 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14017
14018 * simple.el (delete-trailing-whitespace):
14019 Document last change; simplify.
14020
14021 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14022
14023 * simple.el (delete-trailing-whitespace): Also delete
14024 extra newlines at the end of the buffer.
14025
14026 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14027 (picture-newline): Use forward-line so as to ignore fields.
14028
14029 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 * subr.el (with-wrapper-hook): Fix edebug spec.
14032
14033 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14034
14035 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14036 (bug#4538).
14037
14038 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14039
14040 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14041 Fix nasty bug using wrong cached values.
14042
14043 2011-09-23 Alan Mackenzie <acm@muc.de>
14044
14045 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14046
14047 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14048
14049 * window.el (pop-to-buffer): Ensure right window is selected if we
14050 chose another frame.
14051
14052 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14053
14054 * simple.el (what-cursor-position): Use get-char-property-change
14055 and next-single-char-property-change, to be able to show display
14056 properties that come from overlays as well as text properties.
14057
14058 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14059
14060 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14061
14062 * cmuscheme.el (run-scheme, switch-to-scheme):
14063 * cus-edit.el (customize-group, custom-buffer-create)
14064 (customize-browse):
14065 * info.el (info):
14066 * shell.el (shell):
14067 * mail/sendmail.el (mail):
14068 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14069
14070 2011-09-22 Richard Stallman <rms@gnu.org>
14071
14072 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14073 move back only to line beg, don't move back over blank lines.
14074
14075 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14076
14077 * files.el (copy-directory): Set directory attributes only in case
14078 they could be retrieved from the source directory. (Bug#9565)
14079
14080 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14081
14082 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14083 (hs-find-block-beginning, hs-hide-level-recursive):
14084 Ignore strings as well as comments. (Bug#9502)
14085
14086 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14087
14088 * progmodes/sql.el (sql-comint-postgres):
14089 Convert port number to a string. (Bug#9566)
14090
14091 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14092
14093 * window.el (quit-window): Undedicate window when switching to
14094 previous buffer. Reported by Thierry Volpiatto
14095 <thierry.volpiatto@gmail.com>.
14096 (special-display-popup-frame): When popping up a new frame reset
14097 its previous buffers to nil. Simplify code.
14098
14099 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14100
14101 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14102 and process filter, as done also in `shell-command'.
14103
14104 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14105
14106 * window.el (set-window-buffer-start-and-point):
14107 Call set-window-start with NOFORCE argument t.
14108 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14109 (quit-window): Reword doc-string. Handle new format of
14110 quit-restore parameter. Don't delete window if it has a
14111 previous buffer we can show instead of the present one.
14112 (display-buffer-record-window): Rewrite using a new format for
14113 the quit-restore window parameter
14114 (special-display-popup-frame, display-buffer-same-window)
14115 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14116 (display-buffer-pop-up-window, display-buffer-use-some-window):
14117 Adapt symbol passed to display-buffer-record-window.
14118 * help.el (help-window-setup): Handle new format of quit-restore
14119 parameter.
14120
14121 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14122
14123 * faces.el (face-list): Fix docstring (bug#9564).
14124
14125 * window.el (display-buffer--action-function-custom-type):
14126 Don't include internal functions in the Custom interface.
14127
14128 2011-09-20 Juri Linkov <juri@jurta.org>
14129
14130 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14131 (Info-forward-node, Info-backward-node, Info-next-preorder)
14132 (Info-last-preorder): Use it. (Bug#9528)
14133
14134 2011-09-20 Juri Linkov <juri@jurta.org>
14135
14136 * info.el (Info-last-preorder): Visit last menu item only when
14137 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14138
14139 2011-09-20 Julien Danjou <julien@danjou.info>
14140
14141 * password-cache.el (password-cache-remove): Remove entries even if the
14142 value is nil, so that password with a nil value (negative caching) is
14143 possible to invalidate.
14144
14145 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14146
14147 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14148 all whitespace around breakpoint. (Bug#9553)
14149 (f90-find-breakpoint): Only break at whitespace inside a comment.
14150
14151 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14152
14153 * minibuffer.el (completion-file-name-table): Keep track of errors.
14154 (completion-table-with-predicate): Handle the case where pred1 is nil.
14155 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14156
14157 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14158
14159 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14160 (debugger-return-value): Signal an error if the debugging context does
14161 not await any return value.
14162
14163 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14164 * image-mode.el (image-toggle-display-text)
14165 (image-toggle-display-image): Stay away from evil `intangible'.
14166
14167 2011-09-19 Leo Liu <sdl.web@gmail.com>
14168
14169 * replace.el (occur-revert-arguments): Make it permanent-local.
14170 (occur-mode): Don't call font-lock-defontify.
14171
14172 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14173
14174 * net/ldap.el (ldap-search-internal): Don't push empty search
14175 result (Bug#9508).
14176
14177 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14178
14179 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14180
14181 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14182
14183 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14184 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14185
14186 2011-09-18 Juri Linkov <juri@jurta.org>
14187
14188 * buff-menu.el (Buffer-menu-mode-map):
14189 * dired.el (dired-mode-map):
14190 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14191 (lisp-interaction-mode-map):
14192 * emacs-lisp/package.el (package-menu-mode-map):
14193 * epa.el (epa-key-list-mode-map):
14194 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14195 (menu-bar-options-menu):
14196 * outline.el (outline-mode-menu-bar-map):
14197 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14198 * vc/vc-dir.el (vc-dir-menu-map):
14199 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14200 Capitalize non-function content words in menu item strings.
14201
14202 * dired.el (dired-mode-map): Add menu item for
14203 `image-dired-dired-toggle-marked-thumbs'.
14204
14205 2011-09-18 Juri Linkov <juri@jurta.org>
14206
14207 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14208 to `isearch-case-fold-search' and restore its original value
14209 after the `isearch-mode' call.
14210
14211 2011-09-18 Juri Linkov <juri@jurta.org>
14212
14213 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14214 because `zgrep' returns 1 for successful matches (bug#9226).
14215
14216 2011-09-18 Juri Linkov <juri@jurta.org>
14217
14218 * info.el (Info-extract-menu-node-name): Check the second match
14219 for empty string (second test-case of bug#9528).
14220 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14221 intermediate nodes to the history (first test-case of bug#9528).
14222
14223 2011-09-18 Juri Linkov <juri@jurta.org>
14224
14225 * info.el (Info-mode-syntax-table): New variable.
14226 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14227
14228 2011-09-18 Juri Linkov <juri@jurta.org>
14229
14230 * info.el (Info-file-supports-index-cookies):
14231 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14232 outputs one more line for long file names (bug#4142).
14233
14234 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14235
14236 * newcomment.el (comment-normalize-vars): If prompting for
14237 comment-start, set comment-start-skip too (Bug#8424).
14238
14239 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14240
14241 * icomplete.el: Fix previous fix of Bug#5849.
14242 (icomplete-mode): Don't set completion-show-inline-help.
14243 (icomplete-minibuffer-setup): Set completion-show-inline-help
14244 locally during icompletion.
14245
14246 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14247
14248 * woman.el (woman2-process-escapes): Don't delete unrecognized
14249 escapes (Bug#7843).
14250
14251 * files.el (inhibit-first-line-modes-regexps): Add image files.
14252 (hack-local-variables-prop-line): Return nil for malformed
14253 prop-lines (Bug#9044).
14254
14255 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14256
14257 * net/tramp.el (top): Don't require 'shell.
14258 (tramp-methods): Fix docstring.
14259 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14260 Return complete remote file name. Handle "smb" case.
14261 Use `tramp-tmpdir', if defined for the respective method.
14262 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14263
14264 * net/tramp-compat.el (top): Require 'shell.
14265
14266 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14267 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14268 `tramp-current-host'.
14269 (tramp-get-remote-tmpdir): Remove.
14270
14271 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14272 `tramp-tmpdir' entries.
14273 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14274 (tramp-smb-handle-file-attributes): Ignore errors.
14275 (tramp-smb-wait-for-output): Check also for process end.
14276
14277 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14278
14279 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14280 when sending QUIT (bug#9312).
14281
14282 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14283
14284 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14285 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14286 occur-mode-display-occurrence.
14287 (occur-edit-mode): Add usage message.
14288 (occur-cease-edit): New command.
14289 (occur-after-change-function): Use text properties to find the
14290 position of the prefix text.
14291 (occur-engine): Set stickiness of prefix text properties.
14292
14293 2011-09-17 Glenn Morris <rgm@gnu.org>
14294
14295 * progmodes/etags.el (complete-tag):
14296 Fix call to completion-in-region. (Bug#9526)
14297
14298 2011-09-17 Juri Linkov <juri@jurta.org>
14299
14300 * textmodes/ispell.el (ispell-word): Add to the error message
14301 the word, ispell program name and current dictionary (bug#9121).
14302 (ispell-tex-arg-end): Capitalize "error" in the error message.
14303
14304 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14305
14306 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14307 check. (Bug#4251)
14308
14309 2011-09-17 Juri Linkov <juri@jurta.org>
14310
14311 * window.el (window-safe-min-height, window-safe-min-width):
14312 Fix typos (followup to bug#9522).
14313
14314 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14315
14316 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14317
14318 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14319
14320 * simple.el (line-move): If goal-column is set, move by logical
14321 lines, not by display lines. (Bug#971)
14322 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14323 to reflect the above change.
14324
14325 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14326
14327 * image.el (imagemagick-register-types): Use regexp-opt.
14328
14329 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14330
14331 * window.el (display-buffer-base-action): Rename from
14332 display-buffer-default-action. Make default value empty.
14333 (display-buffer-overriding-action): Convert to defvar.
14334 (display-buffer-fallback-action): New var.
14335
14336 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14337
14338 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14339 declaration.
14340 (package--add-to-archive-contents): If there is a duplicate entry
14341 with an older version, remove it.
14342 (package-menu-mark-delete, package-menu-mark-install)
14343 (package-menu-mark-unmark): Make unused args optional.
14344 (package-menu-mark-obsolete-for-deletion):
14345 Use package-menu-get-status instead of a regexp search.
14346 (package-menu-get-status): Use tabulated-list-entry.
14347 (package-menu-mark-upgrades): New command.
14348 (package-menu-mode-map): Bind it to U. Add it to menu bar.
14349 (package-menu-execute): Do installation before deletion.
14350 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14351 instead of checking major-mode.
14352 (package-menu--find-upgrades): New function.
14353
14354 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14355
14356 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14357 passwords in the log buffer.
14358 (smtpmail-process-filter): Update the process marker so that the
14359 "broken by peer" status message is inserted in the right place.
14360
14361 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14362
14363 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14364 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14365 bibtex-completion-at-point-function.
14366 (bibtex-completion-at-point-function): Use them.
14367
14368 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14369
14370 * mpc.el (mpc-constraints-tag-lookup): New function.
14371 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14372 also to browser "album|playlist".
14373
14374 2011-09-14 Juri Linkov <juri@jurta.org>
14375
14376 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14377 (isearch-edit-string): Use length of `isearch-string' when
14378 `isearch-fail-pos' returns nil.
14379 (isearch-message): Remove duplicate code and call
14380 `isearch-fail-pos' with arg `t'.
14381
14382 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
14383
14384 * replace.el (occur-mode-goto-occurrence): Don't force using other
14385 window (Bug#9499).
14386
14387 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14388
14389 2011-09-14 Martin Rudalics <rudalics@gmx.at>
14390
14391 * window.el (display-buffer-window): Remove.
14392 (display-buffer-record-window): Use help-setup window parameter
14393 instead of variable display-buffer-window.
14394 (display-buffer-function, special-display-buffer-names)
14395 (special-display-function): Mention help-setup parameter instead
14396 of display-buffer-window in doc-string.
14397 * help.el (help-window-setup): New argument help-window.
14398 Use help-window-setup parameter instead of display-buffer-window.
14399 Reword some messages.
14400 (with-help-window): Pass window used for displaying the buffer
14401 to help-window-setup. Don't set display-buffer-window.
14402
14403 2011-09-13 Glenn Morris <rgm@gnu.org>
14404
14405 * emacs-lisp/debug.el (debugger-make-xrefs):
14406 Preserve point. (Bug#9462)
14407
14408 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14409
14410 * window.el (window-deletable-p): Use next-frame.
14411
14412 2011-09-13 Martin Rudalics <rudalics@gmx.at>
14413
14414 * window.el (window-auto-delete): Remove.
14415 (window-deletable-p): Remove argument FORCE. Don't deal with
14416 dedication and previous buffers.
14417 (switch-to-prev-buffer): Don't delete window.
14418 (delete-windows-on): Delete a window's frame if and only if the
14419 window is dedicated.
14420 (replace-buffer-in-windows): Delete buffer's window or frame if
14421 and only if window is dedicated.
14422 (quit-window): Handle quit-restore as before last change.
14423 (bury-buffer): Delete window only if window-deletable-p returns t.
14424
14425 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
14426
14427 * window.el (window-deletable-p): Never delete the last frame on a
14428 given terminal.
14429
14430 2011-09-13 Glenn Morris <rgm@gnu.org>
14431
14432 * help.el (describe-key-briefly): Copy previous standard-output change.
14433
14434 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
14435
14436 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14437
14438 2011-09-13 Glenn Morris <rgm@gnu.org>
14439
14440 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14441 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14442
14443 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
14444
14445 * dired-aux.el (dired-mark-read-string): Don't return default
14446 value on empty input (Bug#9361).
14447 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14448 Omit initial minibuffer contents.
14449 (dired-do-chmod): Signal an error on empty input.
14450 (dired-mark-read-string): Don't return default on empty input.
14451
14452 * files.el (file-modes-symbolic-to-number): Doc fix.
14453
14454 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14455
14456 * international/mule-cmds.el (ucs-completions): Remove.
14457 (read-char-by-name): Use complete-with-action instead; add metadata.
14458
14459 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14460
14461 * window.el (display-buffer--action-function-custom-type)
14462 (display-buffer--action-custom-type): New vars.
14463 (display-buffer-alist, display-buffer-default-action)
14464 (display-buffer-overriding-action): Add defcustom types.
14465
14466 * frame.el (delete-other-frames): Doc fix (Bug#276).
14467
14468 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14469
14470 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14471
14472 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
14473
14474 Change modes that used same-window-* vars to use switch-to-buffer.
14475
14476 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14477 Use switch-to-buffer.
14478
14479 * cus-edit.el (customize-group, custom-buffer-create)
14480 (customize-browse, custom-buffer-create-other-window):
14481 Use switch-to-buffer or switch-to-buffer-other-window.
14482
14483 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14484 (Info-prev, Info-up, Info-speedbar-goto-node)
14485 (info-display-manual): Use switch-to-buffer.
14486 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14487
14488 * mail/sendmail.el (mail): Use switch-to-buffer.
14489 (mail-recover): Use switch-to-buffer-other-window.
14490
14491 * cmuscheme.el (run-scheme, switch-to-scheme):
14492 * ielm.el (ielm):
14493 * shell.el (shell):
14494 * net/rlogin.el (rlogin):
14495 * net/telnet.el (telnet, rsh):
14496 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14497
14498 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14499
14500 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14501
14502 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14503
14504 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14505 so don't mention it (bug#9301).
14506 (dired-sort-toggle-or-edit): Clarify string further.
14507
14508 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14509 match `x', `w32' and `ns', like the manual says (bug#9029).
14510
14511 * subr.el (eval-after-load): Doc string clarification (bug#9125).
14512 (process-kill-buffer-query-function): Mention the buffer name in
14513 the query.
14514
14515 * image-mode.el (image-next-line): The line parameter is mandatory
14516 (bug#9258).
14517
14518 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14519 which can be useful (bug#9301).
14520
14521 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14522
14523 * subr.el (match-string): Mention that the current buffer should
14524 be the same as the search was done in (bug#9282).
14525
14526 * facemenu.el: Disable the remove-* commands if the mark isn't
14527 active (bug#9162).
14528
14529 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14530
14531 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14532 of display-buffer.
14533 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14534
14535 * replace.el (occur-mode-goto-occurrence)
14536 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14537 and display-buffer.
14538
14539 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14540 display-buffer.
14541
14542 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14543 special-display and same-window variables.
14544 (mail-other-window): Use switch-to-buffer-other-window.
14545 (mail-other-frame): USe switch-to-buffer-other-frame.
14546
14547 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14548 Use display-buffer-other-frame.
14549 (gdb-display-gdb-buffer): Use pop-to-buffer.
14550
14551 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14552
14553 * progmodes/python.el: Don't set same-window-buffer-names.
14554
14555 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14556
14557 * window.el (display-buffer-alist): Add *Python*.
14558
14559 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
14560
14561 * window.el (display-buffer-alist): Add entry for buffers
14562 previously handled same-window-*.
14563 (display-buffer-alist, display-buffer-default-action)
14564 (display-buffer-overriding-action): Mark as risky.
14565 (display-buffer-alist): Document action function changes.
14566 (display-buffer--same-window-action)
14567 (display-buffer--other-frame-action): New variables.
14568 (switch-to-buffer, display-buffer-other-frame): Use them.
14569 (display-buffer): Rename reuse-frame entry to reusable-frames.
14570 (display-buffer-reuse-selected-window): Function deleted.
14571 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14572 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14573 (display-buffer-special): New function.
14574 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14575 display-buffer-reuse-or-pop-window. Split off special-display
14576 part into display-buffer-special.
14577 (display-buffer-use-some-window): Don't perform any special
14578 pop-up-frames handling.
14579 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
14580 (display-buffer--maybe-same-window): Rename from
14581 display-buffer-maybe-same-window.
14582
14583 * info.el: Don't set same-window-regexps.
14584 (info-setup): New function.
14585 (info-other-window, info): Call it.
14586
14587 * cus-edit.el: Don't set same-window-regexps.
14588 (customize-group): New argument.
14589 (customize-group-other-window): Use it.
14590 (customize-face, customize-face-other-window): Likewise.
14591 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14592
14593 * net/rlogin.el:
14594 * net/telnet.el:
14595 * progmodes/gud.el: Don't set same-window-regexps.
14596
14597 * cmuscheme.el:
14598 * ielm.el:
14599 * shell.el:
14600 * mail/sendmail.el:
14601 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14602
14603 2011-09-10 Juri Linkov <juri@jurta.org>
14604
14605 * isearch.el (isearch-edit-string): Remove obsolete mention of
14606 `C-w' (`isearch-yank-word-or-char') from docstring.
14607 (isearch-query-replace): Fix typo in docstring (bug#9466).
14608
14609 2011-09-10 Juri Linkov <juri@jurta.org>
14610
14611 * paren.el (show-paren-function): Don't show escaped parens.
14612 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14613
14614 2011-09-10 Eli Zaretskii <eliz@gnu.org>
14615
14616 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14617 (mm-default-file-encoding): Remove autoload forms, they are
14618 replaced with autoload cookies in mml.el and mm-encode.el.
14619 (mail-add-attachment): New command.
14620 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14621 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14622 the doc string.
14623 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14624
14625 2011-09-10 Reuben Thomas <rrt@sc3d.org>
14626
14627 * simple.el (count-words-region): Use buffer if there's no region
14628 (bug#9429).
14629
14630 2011-09-09 Juri Linkov <juri@jurta.org>
14631
14632 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14633 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14634 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14635
14636 2011-09-09 Alan Mackenzie <acm@muc.de>
14637
14638 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14639 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14640
14641 2011-09-09 Eli Zaretskii <eliz@gnu.org>
14642
14643 Fix for Savannah bug#9392.
14644 * simple.el (mail-encode-mml): New defvar.
14645
14646 * mail/rmail.el (mail-encode-mml): Add a defvar.
14647 (rmail-enable-mime-composing): Default to t.
14648 (rmail-forward): Use MIME method of forwarding only if both
14649 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14650 Set mail-encode-mml non-nil if the MIME method was used.
14651
14652 * mail/sendmail.el (mml-to-mime): Add autoload form.
14653 (mail-encode-mml): Add a defvar.
14654 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14655 to nil.
14656 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14657 message through mml-to-mime, and reset mail-encode-mml to nil.
14658
14659 2011-09-09 Glenn Morris <rgm@gnu.org>
14660
14661 * woman.el (woman-if-body): When processing an .el block,
14662 do not delete the next .el block as well. (Bug#9447)
14663 (woman-special-characters): Add oq, cq, and hy characters.
14664
14665 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14666
14667 * window.el (window-deletable-p): Make sure window is live before
14668 invoking window-prev-buffers.
14669
14670 2011-09-08 Leo Liu <sdl.web@gmail.com>
14671
14672 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14673
14674 2011-09-08 Juri Linkov <juri@jurta.org>
14675
14676 * progmodes/compile.el (compilation-environment): Make it
14677 a defcustom (bug#8340).
14678
14679 2011-09-08 Martin Rudalics <rudalics@gmx.at>
14680
14681 * window.el (frame-auto-delete): Rename to window-auto-delete.
14682 Make it control auto-deletion of windows and/or frames.
14683 (window-deletable-p): New argument FORCE. Rewrite conditions
14684 for deleting window/frame. (Bug#9419)
14685 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14686 Rewrite handling of case when window/frame can be deleted.
14687 (delete-windows-on): Call window-deletable-p with new FORCE
14688 argument t. (Bug#9456)
14689
14690 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
14691
14692 * help-mode.el (help-mode): Restore autoload.
14693
14694 2011-09-07 Juri Linkov <juri@jurta.org>
14695
14696 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14697 `compilation-environment'. Set buffer-local
14698 `compilation-environment' to `thisenv' later after (funcall mode).
14699 (Bug#8340)
14700
14701 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14702 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14703 instead of replacing its value. (Bug#8340)
14704
14705 2011-09-07 Juri Linkov <juri@jurta.org>
14706
14707 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14708 based on text properties put by `grep-filter' instead of matching
14709 escape sequences.
14710 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14711 to the value of `grep-error-screen-columns' (bug#9438).
14712
14713 2011-09-07 Juri Linkov <juri@jurta.org>
14714
14715 * simple.el (next-error-highlight, next-error-highlight-no-select):
14716 Doc fix (bug#9432).
14717
14718 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14719
14720 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14721 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14722
14723 2011-09-07 Leo Liu <sdl.web@gmail.com>
14724
14725 * net/rcirc.el (rcirc-mode): Conditionally initialize
14726 rcirc-input-ring.
14727
14728 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14729
14730 * emacs-lisp/find-func.el (find-function-C-source): Only set
14731 find-function-C-source-directory after checking that we found a source
14732 file there (bug#9440).
14733
14734 2011-09-06 Alan Mackenzie <acm@muc.de>
14735
14736 * isearch.el (isearch-other-meta-char): Wherever a key list is
14737 unread, "unread" the prefix arg, too. This fixes bug #8901.
14738
14739 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14740
14741 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14742
14743 2011-09-05 Juri Linkov <juri@jurta.org>
14744
14745 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14746
14747 2011-09-05 Juri Linkov <juri@jurta.org>
14748
14749 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14750 keeping point where processing of grep matches begins, and
14751 continue to delete remaining escape sequences from the same point.
14752 (grep-filter): Make leading zero optional in "0?1;31m" because
14753 git-grep emits "\033[1;31m" escape sequences unlike expected
14754 "\033[01;31m" as GNU Grep does (bug#9408).
14755 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14756
14757 2011-09-05 Juri Linkov <juri@jurta.org>
14758
14759 * subr.el (y-or-n-p): Capitalize "yes".
14760
14761 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14762
14763 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14764 `tramp-cache-unload-hook' where appropriate.
14765 (tramp-methods): Rename `tramp-remote-sh' to
14766 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14767 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14768
14769 * net/tramp-sh.el (top): Don't require 'shell.
14770 (tramp-methods): Add `tramp-remote-shell' and
14771 `tramp-remote-shell-args' entries.
14772 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14773 (tramp-sh-handle-shell-command): Remove.
14774 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14775 Use `tramp-remote-shell'.
14776
14777 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14778
14779 * mail/sendmail.el (sendmail-query-once-function): Delete.
14780 (sendmail-query-once): Save directly to send-mail-function.
14781 Update message-send-mail-function too.
14782
14783 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14784
14785 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14786
14787 * progmodes/python.el (python-mode-map): Use correct function to
14788 start python interpreter from menu-bar (as reported by Geert
14789 Kloosterman).
14790 (inferior-python-mode-map): Fix typo.
14791 (python-shell-map): Remove.
14792
14793 2011-09-03 Deniz Dogan <deniz@dogan.se>
14794
14795 * net/rcirc.el (rcirc-print): Simplify code for
14796 rcirc-scroll-show-maximum-output. There is no need to walk
14797 through all windows to find the right one.
14798
14799 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14800
14801 * help.el (help-return-method): Doc fix.
14802
14803 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14804
14805 * window.el (window-deletable-p): Don't return a non-nil value
14806 when there's a buffer that was shown in the window before.
14807 (Bug#9419)
14808 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14809 Set window's previous buffers to nil.
14810
14811 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14812
14813 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14814 newline before and after the tag line, so it doesn't interfere
14815 with determining the paragraph direction of bidirectional text.
14816
14817 2011-09-03 Leo Liu <sdl.web@gmail.com>
14818
14819 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14820
14821 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14822
14823 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14824 (pop-to-buffer): Change interactive spec. Pass second argument
14825 directly to display-buffer.
14826 (display-buffer): Fix interactive spec. Use functionp to
14827 distinguish between a function and a list of functions.
14828
14829 * abbrev.el (edit-abbrevs):
14830 * arc-mode.el (archive-extract):
14831 * autoinsert.el (auto-insert):
14832 * bookmark.el (bookmark-bmenu-list):
14833 * files.el (find-file):
14834 * view.el (view-buffer):
14835 * progmodes/compile.el (compilation-goto-locus):
14836 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14837
14838 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14839
14840 * window.el (display-buffer-alist): Doc fix.
14841 (display-buffer): Add docstring. Don't treat
14842 display-buffer-default specially.
14843 (display-buffer-reuse-selected-window)
14844 (display-buffer-same-window, display-buffer-maybe-same-window)
14845 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14846 (display-buffer-pop-up-window)
14847 (display-buffer-reuse-or-pop-window)
14848 (display-buffer-use-some-window): New functions.
14849 (display-buffer-default-action): Use them.
14850 (display-buffer-default): Delete.
14851 (pop-to-buffer-1): Fix choice of actions.
14852
14853 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14854
14855 * minibuffer.el (completion--insert-strings): Don't get confused by
14856 completion entries that end with an LF char.
14857
14858 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14859
14860 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14861
14862 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14863
14864 * window.el (display-buffer): Restore interactive spec.
14865 (display-buffer-same-window, display-buffer-other-window):
14866 New functions.
14867 (pop-to-buffer-1): New function. Use the above.
14868 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14869 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14870
14871 * view.el (view-buffer-other-window, view-buffer-other-frame):
14872 Just use pop-to-buffer.
14873
14874 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14875
14876 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14877
14878 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14879
14880 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14881
14882 2011-08-31 Richard Stallman <rms@gnu.org>
14883
14884 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14885 of the separation of rmail-view-buffer from rmail-buffer.
14886 If you say no to "replace original", the decrypt is in the
14887 view buffer. If you say yes, the decrypt goes into the
14888 rmail buffer also.
14889
14890 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14891
14892 * window.el (display-buffer-window): Rewrite doc-string.
14893 (display-buffer-record-window): New function.
14894 (display-buffer-macro-specifiers)
14895 (display-buffer-even-window-sizes, display-buffer-set-height)
14896 (display-buffer-set-width, display-buffer-in-window)
14897 (display-buffer-reuse-window, display-buffer-split-specifiers)
14898 (display-buffer-side-specifiers, display-buffer-split-window-1)
14899 (display-buffer-split-window, display-buffer-split-atom-window)
14900 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14901 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14902 (display-buffer-other-window-means-other-frame)
14903 (display-buffer-normalize-special)
14904 (display-buffer-normalize-default)
14905 (display-buffer-normalize-argument)
14906 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14907 (display-buffer-normalize-specifiers, display-buffer-frame)
14908 (display-buffer-same-window, display-buffer-same-frame)
14909 (display-buffer-other-window)
14910 (display-buffer-same-frame-other-window)
14911 (display-buffer-other-frame, pop-to-buffer-same-window)
14912 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14913 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14914 (switch-to-buffer-same-frame)
14915 (switch-to-buffer-other-window-same-frame)
14916 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14917 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14918 (display-buffer-alist-set): Remove.
14919 (display-buffer-function, special-display-buffer-names)
14920 (special-display-regexps, special-display-function):
14921 In doc-string refer to display-buffer-window and quit-restore
14922 parameter.
14923 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14924 (special-display-frame-alist, special-display-popup-frame)
14925 (same-window-buffer-names, same-window-regexps, same-window-p)
14926 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14927 (split-window-preferred-function, split-height-threshold)
14928 (split-width-threshold, window-splittable-p)
14929 (split-window-sensibly, window--try-to-split-window)
14930 (window--frame-usable-p, even-window-heights)
14931 (window--even-window-heights, window--display-buffer-1)
14932 (window--display-buffer-2, display-buffer-other-frame):
14933 Restore old Emacs 23 code, order and doc-strings where applicable.
14934 (display-buffer-default, display-buffer-assq-regexp): New functions.
14935 (display-buffer-alist): Rewrite doc-string.
14936 (display-buffer-default-action)
14937 (display-buffer-overriding-action): New variables.
14938 (display-buffer, switch-to-buffer): Rewrite.
14939 (pop-to-buffer): Restore Emacs 23 behavior but use
14940 window-normalize-buffer-to-display.
14941 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14942 Restore Emacs 23 behavior but use
14943 window-normalize-buffer-to-switch-to.
14944 (pop-to-buffer-same-window): Rewrite.
14945 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14946 Rewrite using Emacs 23 options.
14947
14948 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14949
14950 * net/tramp.el (tramp-root-regexp): Remove.
14951 (tramp-completion-file-name-regexp-unified)
14952 (tramp-completion-file-name-regexp-separate)
14953 (tramp-completion-file-name-regexp-url): Don't use leading volume
14954 letter on w32 systems. (Bug#5303, Bug#9311)
14955 (tramp-drop-volume-letter): Simplify definition.
14956 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14957
14958 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14959
14960 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14961 (bug#9356).
14962
14963 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14964
14965 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14966
14967 2011-08-29 Juri Linkov <juri@jurta.org>
14968
14969 * isearch.el (isearch-done): Don't display message "Mark saved"
14970 when arg `edit' is non-nil to prevent its flicker in the echo area.
14971
14972 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14973
14974 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14975 obsolete packages for deletion.
14976
14977 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14978
14979 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14980 (help-mode): Derive help-mode from special-mode. Don't invoke
14981 view-mode from help-mode.
14982 (help-xref-override-view-map): Remove.
14983 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14984 view-mode is not used anymore.
14985
14986 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14987
14988 * server.el (server-port): Doc fix.
14989
14990 * cus-theme.el (custom-theme-choose-mode): Inherit from
14991 special-mode (Bug#9124).
14992 (custom-theme-choose-mode-map): Add special-mode to parent.
14993
14994 2011-08-28 Alan Mackenzie <acm@muc.de>
14995
14996 * progmodes/cc-fonts.el
14997 (c-make-font-lock-BO-decl-search-function): New function.
14998 (c-basic-matchers-after - "Fontify the clauses after various
14999 keywords"): Extract the three keyword lists for the 3 erroneous
15000 constructs from the list of four, and use the new function above
15001 in place of an old one.
15002
15003 2011-08-28 Deniz Dogan <deniz@dogan.se>
15004
15005 * net/rcirc.el (rcirc-insert-prev-input)
15006 (rcirc-insert-next-input): Remove unused argument.
15007
15008 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15009
15010 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15011
15012 2011-08-27 Alan Mackenzie <acm@muc.de>
15013
15014 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15015 handle function pointer parameters properly.
15016
15017 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15018
15019 * window.el (display-buffer-reuse-window): Fix case where
15020 selected window was reused with non-nil OTHER-WINDOW argument.
15021 (Bug#9381)
15022
15023 2011-08-27 Deniz Dogan <deniz@dogan.se>
15024
15025 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15026 oftc's NickServ messages.
15027
15028 2011-08-27 Glenn Morris <rgm@gnu.org>
15029
15030 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15031
15032 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15033
15034 * emacs-lisp/package.el (package-install): Call package-initialize
15035 if called interactively.
15036
15037 2011-08-26 Leo Liu <sdl.web@gmail.com>
15038
15039 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15040
15041 2011-08-25 Juri Linkov <juri@jurta.org>
15042
15043 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15044 `search-whitespace-regexp' (bug#9364).
15045
15046 2011-08-25 Juri Linkov <juri@jurta.org>
15047
15048 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15049 `regexp-search-ring' to their global values to protect from
15050 updating by `read-from-minibuffer' (bug#9185).
15051
15052 2011-08-25 Juri Linkov <juri@jurta.org>
15053
15054 * textmodes/ispell.el (ispell-command-loop): Add newline
15055 at the end of the "Use option `i'..." line.
15056
15057 2011-08-25 Juri Linkov <juri@jurta.org>
15058
15059 * battery.el (display-battery-mode): If `battery-status-function'
15060 or `battery-mode-line-format' is nil, display the message and set
15061 `display-battery-mode' to nil (bug#9363).
15062
15063 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15064
15065 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15066 bidi-string-mark-left-to-right; they are unnecessary now.
15067
15068 2011-08-25 Deniz Dogan <deniz@dogan.se>
15069
15070 * net/quickurl.el: Documentation typo fixes.
15071
15072 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15073
15074 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15075
15076 2011-08-25 Glenn Morris <rgm@gnu.org>
15077
15078 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15079
15080 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15081 (smtpmail-via-smtp): Handle nil response from smtp.
15082
15083 2011-08-24 Juri Linkov <juri@jurta.org>
15084
15085 * proced.el (proced-marked): Inherit from `error' instead of
15086 `font-lock-warning-face'.
15087
15088 * ibuffer.el (ibuffer-marked-face): Change default face from
15089 `font-lock-warning-face' to `warning'.
15090 (ibuffer-deletion-face): Change default face from
15091 `font-lock-type-face' to `error'.
15092
15093 * battery.el (battery-update): Use the face `error' instead of
15094 `font-lock-warning-face' (bug#6117).
15095
15096 2011-08-24 Juri Linkov <juri@jurta.org>
15097
15098 * faces.el (success): Change face color from "Green3" to
15099 "ForestGreen" on light background (bug#9353).
15100
15101 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15102
15103 * window.el (quit-window): Rename from quit-restore-window.
15104 Use same arglist as old quit-window.
15105 (frame-auto-delete): Doc fix.
15106
15107 * view.el (view-mode-exit): Use quit-window.
15108
15109 2011-08-24 Juri Linkov <juri@jurta.org>
15110
15111 * isearch.el (isearch-ring-adjust1): Start visiting previous
15112 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15113 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15114 for empty search string (when the last search string is reused
15115 automatically) to adjust the isearch ring to the last element and
15116 prepare the correct index for further M-p commands (bug#9185).
15117
15118 2011-08-24 Kenichi Handa <handa@m17n.org>
15119
15120 * international/ucs-normalize.el: If decomposition property of
15121 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15122 nil.
15123 (nfd, nfkd): Likewise.
15124
15125 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15126
15127 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15128 from process filters aren't reliably transmitted to the surrounding
15129 accept-process-output.
15130 (mpc-proc-check): New function.
15131 (mpc-proc-sync): Use it (bug#8293)
15132
15133 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15134
15135 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15136 Add compatibility functions (bug#9313).
15137
15138 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15139
15140 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15141
15142 * international/uni-bidi.el: Regenerate.
15143
15144 2011-08-23 Kenichi Handa <handa@m17n.org>
15145
15146 * international/charprop.el:
15147 * international/uni-bidi.el:
15148 * international/uni-category.el:
15149 * international/uni-combining.el:
15150 * international/uni-comment.el:
15151 * international/uni-decimal.el:
15152 * international/uni-decomposition.el:
15153 * international/uni-digit.el:
15154 * international/uni-lowercase.el:
15155 * international/uni-mirrored.el:
15156 * international/uni-name.el:
15157 * international/uni-numeric.el:
15158 * international/uni-old-name.el:
15159 * international/uni-titlecase.el:
15160 * international/uni-uppercase.el: Regenerate.
15161
15162 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15163
15164 * help.el (help-window-setup): Fix message displayed when other
15165 window is reused. (Bug#9341)
15166
15167 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15168
15169 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15170 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15171
15172 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15173 Mark obsolete.
15174 * shell.el (shell-parse-pcomplete-arguments): New function.
15175 (shell-completion-vars): Use it instead (bug#9160).
15176
15177 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15180 strings and comments (bug#9333).
15181
15182 * emacs-lisp/debug.el (debug-arglist): New function.
15183 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15184 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15185
15186 2011-08-22 Juri Linkov <juri@jurta.org>
15187
15188 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15189 Revert regexp that highlights output switches to its old
15190 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15191
15192 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15193 to check for empty output (bug#9226).
15194
15195 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15196
15197 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15198 symbol-constituent as the default, as that stops font-lock from
15199 working properly (Bug#8843).
15200
15201 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15202
15203 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15204 `coding-system-for-*' around the process open call to avoid
15205 auth-source side effects.
15206 (smtpmail-try-auth-methods): Expand the secret password.
15207 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15208 probe hangs.
15209
15210 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15211
15212 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15213
15214 * emacs-lisp/find-func.el (find-function-noselect): New arg
15215 lisp-only.
15216
15217 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15218 signal an error for built-in functions (Bug#6664).
15219
15220 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15221
15222 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15223 (smtpmail-try-auth-methods): Use it.
15224
15225 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15226
15227 * font-lock.el (font-lock-fontify-region)
15228 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15229 (font-lock-default-unfontify-buffer)
15230 (font-lock-default-fontify-region)
15231 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15232
15233 * progmodes/compile.el (compilation-error-properties):
15234 Fix confusion between file struct and message struct (Bug#9319).
15235 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15236 `ant' regexp.
15237
15238 * net/browse-url.el (browse-url-firefox): Don't call
15239 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15240
15241 2011-08-20 Glenn Morris <rgm@gnu.org>
15242
15243 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15244
15245 * tutorial.el (tutorial--default-keys): Update some default bindings.
15246
15247 * files.el (hack-local-variables): Fully ignore case for "mode:".
15248
15249 2011-08-20 Alan Mackenzie <acm@muc.de>
15250
15251 Resolve invalid use of a regexp in regexp-opt.
15252
15253 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15254 detection for a java annotation.
15255
15256 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15257 detection for a java annotation.
15258
15259 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15260 handling for java.
15261 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15262
15263 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15264
15265 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15266 (Bug#9274).
15267
15268 2011-08-20 Alan Mackenzie <acm@muc.de>
15269
15270 Fontify CPP expressions correctly when starting in the middle of
15271 such a construct. Mainly for when jit-lock etc. starts a chunk
15272 here.
15273
15274 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15275 variable.
15276 (c-make-font-lock-search-form): New function, extracted from
15277 c-make-font-lock-search-function.
15278 (c-make-font-lock-search-function): Use the above function.
15279 (c-make-font-lock-context-search-function): New function.
15280 (c-cpp-matchers): Enhance the preprocessor expression case with
15281 the above function
15282 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15283 which takes an expression.
15284
15285 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15286
15287 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15288
15289 * window.el (display-buffer-reuse-window)
15290 (display-buffer-pop-up-window): Don't reuse or split a side
15291 window.
15292
15293 2011-08-19 Glenn Morris <rgm@gnu.org>
15294
15295 * files.el (hack-local-variables-prop-line, hack-local-variables):
15296 Downcase "Mode:". (Bug#9331)
15297
15298 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15299
15300 * international/characters.el: Add L and R categories.
15301
15302 * subr.el (bidi-string-mark-left-to-right): Rename from
15303 string-mark-left-to-right. Use category search.
15304
15305 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15306
15307 2011-08-18 Juri Linkov <juri@jurta.org>
15308
15309 * faces.el (error, warning, success): New faces with definitions
15310 copied from old default values of `font-lock-warning-face',
15311 `compilation-warning', `compilation-info' (bug#6117).
15312
15313 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15314
15315 * progmodes/compile.el (compilation-error): Inherit from `error'.
15316 (compilation-warning): Inherit from `warning'.
15317 (compilation-info): Inherit from `success'.
15318
15319 * dired.el (dired-marked): Inherit from `warning'.
15320 (dired-flagged): Inherit from `error'.
15321
15322 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15323
15324 * mail/smtpmail.el (auth-source): Require to avoid problems with
15325 binding variables (bug#9298). Also clean up some unused
15326 autoloads.
15327
15328 * net/network-stream.el (network-stream-open-starttls):
15329 Support using starttls.el without using gnutls-cli.
15330
15331 2011-08-17 Juri Linkov <juri@jurta.org>
15332
15333 * progmodes/grep.el (rgrep): Handle the case when
15334 `grep-find-command' is a cons cell (bug#9278).
15335
15336 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15337
15338 * window.el (display-buffer-pop-up-frame): Run frame creation
15339 function with BUFFER current (as special-display-popup-frame
15340 does). Reported by Drew Adams.
15341
15342 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15343
15344 * epa-mail.el: Simplify GnuPG group expansion using
15345 epg-expand-group.
15346 (epa-mail-group-alist, epa-mail-group-modtime)
15347 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15348 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15349 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15350 Remove.
15351
15352 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
15353
15354 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15355
15356 2011-08-16 Alan Mackenzie <acm@muc.de>
15357
15358 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15359 Correct, to avoid the inside of macros.
15360
15361 2011-08-16 Richard Stallman <rms@gnu.org>
15362
15363 * epa-mail.el: Handle GnuPG group definitions.
15364 (epa-mail-group-alist, epa-mail-group-modtime)
15365 (epa-mail-gnupg-conf-file): New variables.
15366 (epa-mail-parse-groups, epa-mail-sync-groups)
15367 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15368 (epa-mail-expand-recipients): New functions.
15369 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15370
15371 * mail/rmail.el (rmail-epa-decrypt): New command.
15372
15373 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15374 Don't bind buffer-read-only, just inhibit-read-only.
15375 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15376 (epa-decrypt-armor-in-region): Make error message clearer.
15377
15378 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15379
15380 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15381 and "a2b" to "ab" for `prefix'.
15382
15383 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
15384
15385 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15386 filter groups.
15387 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15388 Fourquet (Bug#8804).
15389
15390 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
15391
15392 * startup.el (argi): Declare as global variable (bug#9275).
15393
15394 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
15395
15396 * subr.el (string-mark-left-to-right): Search the entire string
15397 for RTL script, not just the terminating character. Doc fix.
15398
15399 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15400
15401 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15402 New function.
15403 (js--regexp-literal, js-syntax-propertize-function): Remove.
15404 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15405 (js-mode-map): Don't rebind electric keys.
15406 (js-insert-and-indent): Remove.
15407 (js-mode): Setup electric-layout and electric-indent instead.
15408
15409 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15410
15411 2011-08-12 Daiki Ueno <ueno@unixuser.org>
15412
15413 * epa.el (epa-progress-callback-function): Fix the logic of
15414 displaying progress.
15415 * epa-file.el (epa-file-insert-file-contents): Make progress
15416 display more user-friendly.
15417 (epa-file-write-region): Ditto.
15418
15419 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
15420
15421 * subr.el (string-mark-left-to-right): New function.
15422
15423 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15424 Use string-mark-left-to-right.
15425 (list-buffers-noselect): Caller changed.
15426
15427 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15428 Use string-mark-left-to-right.
15429 (tabulated-list-print): Recenter after moving point.
15430
15431 2011-08-10 Juri Linkov <juri@jurta.org>
15432
15433 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15434 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15435 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15436
15437 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
15438
15439 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15440 (Bug#7554).
15441
15442 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
15443
15444 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15445 character. (Bug#6594)
15446
15447 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
15448
15449 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15450 (image-dired--with-db-file): New macro.
15451 (image-dired-write-tags, image-dired-remove-tag)
15452 (image-dired-create-gallery-lists, image-dired-write-comments)
15453 (image-dired-get-comment, image-dired-mark-tagged-files)
15454 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15455 (image-dired-gallery-generate): Use insert-file-contents.
15456
15457 * time.el (display-time-world-list, display-time-world-display):
15458 * time-stamp.el (time-stamp-string):
15459 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15460 set-time-zone-rule (Bug#7337).
15461
15462 2011-08-08 Daiki Ueno <ueno@unixuser.org>
15463
15464 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15465 (epg-error-to-string, epg-errors-to-string): New function.
15466 (epg-wait-for-completion): Reverse errors list.
15467 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15468 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15469 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15470 (epg-sign-keys, epg-generate-key-from-file)
15471 (epg-generate-key-from-string): Format errors by using
15472 epg-errors-to-string (bug#9255).
15473 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15474
15475 2011-08-07 Juri Linkov <juri@jurta.org>
15476
15477 * faces.el (list-faces-display): Remove extra angle bracket
15478 from `help-mode-map'.
15479
15480 * info.el (Info-history-toc-nodes): Doc fix.
15481
15482 * longlines.el (longlines-mode): Doc fix.
15483
15484 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15485
15486 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15487 of statements and in a few more cases (bug#9183).
15488
15489 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15490 New functions.
15491 (cl-transform-lambda): Use them (bug#9239).
15492
15493 2011-08-05 Martin Rudalics <rudalics@gmx.at>
15494
15495 * window.el (display-buffer-same-window)
15496 (display-buffer-same-frame, display-buffer-other-window)
15497 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15498 (pop-to-buffer-other-window)
15499 (pop-to-buffer-same-frame-other-window)
15500 (pop-to-buffer-other-frame): Make them defuns.
15501 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15502
15503 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * subr.el (make-composed-keymap): Move from C. Change calling
15506 convention, and improve docstring to bring attention to a subtle point.
15507 * minibuffer.el (completing-read-default): Adjust accordingly.
15508
15509 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
15510
15511 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15512 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15513
15514 * net/trampver.el: Update release number.
15515
15516 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15517
15518 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15519 "in" (bug#9190).
15520
15521 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15522
15523 * mail/sendmail.el (sendmail-query-once): Restore the current
15524 buffer after querying (bug#9074).
15525
15526 * dired.el (dired-flagged): Use different faces for marked and
15527 flagged files (bug#6117).
15528
15529 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15530 (bug#4433).
15531
15532 * ido.el (ido-mode): Switch off the message if called
15533 non-interactively.
15534
15535 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15536 before 587, since it appears that that's more likely to work for
15537 more people.
15538
15539 * cus-edit.el (custom-file): When running under emacs -q, always
15540 refuse to save the customizations, even if the .emacs file doesn't
15541 exist.
15542
15543 * info.el: Remove the `Info-beginning-of-buffer' function
15544 (bug#8325).
15545
15546 * net/network-stream.el (network-stream-open-starttls):
15547 Use `starttls-available-p' to see whether starttls.el can be used.
15548
15549 2011-08-01 Martin Rudalics <rudalics@gmx.at>
15550
15551 * window.el (display-buffer-in-window): Don't set dedicated status
15552 of window here (Bug#9215).
15553 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15554 (display-buffer-pop-up-side-window)
15555 (display-buffer-in-side-window): Set dedicated status of window here.
15556
15557 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15558
15559 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15560 before binding generated-autoload-file.
15561
15562 2011-08-01 Deniz Dogan <deniz@dogan.se>
15563
15564 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15565
15566 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
15567
15568 Sync with Tramp 2.2.2.
15569
15570 * net/trampver.el: Update release number.
15571
15572 2011-07-30 Juri Linkov <juri@jurta.org>
15573
15574 * dired-aux.el (dired-touch-initial): Remove function.
15575 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15576 current time, and `default' to the last modification time of the
15577 current marked file (bug#6887).
15578
15579 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15580
15581 * simple.el (goto-line): Use string-to-number to provide a
15582 numeric argument to read-number (bug#9163).
15583
15584 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
15585
15586 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15587 connection process, it could be nil.
15588
15589 2011-07-27 Leo Liu <sdl.web@gmail.com>
15590
15591 Simplify url handling in rcirc-mode.
15592
15593 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15594 (rcirc-browse-url-at-mouse): Remove.
15595 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15596
15597 2011-07-26 Alan Mackenzie <acm@muc.de>
15598
15599 Fontify bitfield declarations properly.
15600
15601 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15602 (c-symbol-chars): Now exported as a lang variable.
15603 (c-not-primitive-type-keywords): New lang variable.
15604
15605 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15606 QT keyword "more" to prevent "more slots: ...." being spuriously
15607 parsed as a bitfield declaration.
15608
15609 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15610 Refactor and enhance to handle bitfield declarations.
15611 (c-punctuation-in): New function.
15612 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15613 declarations properly.
15614
15615 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
15616
15617 * calendar/icalendar.el (icalendar--all-events): Take care of
15618 multiple vcalendars in a single file.
15619 (icalendar--convert-float-to-ical): Checkdoc fixes.
15620
15621 2011-07-25 Deniz Dogan <deniz@dogan.se>
15622
15623 * image.el (insert-image): Clarifying docstring.
15624
15625 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
15626
15627 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15628 `tramp-send-command-and-check' if there is no error.
15629 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15630
15631 2011-07-22 Alan Mackenzie <acm@muc.de>
15632
15633 Prevent cc-langs.elc being loaded at run time.
15634
15635 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15636 cc-langs.
15637
15638 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
15639 "(require 'cc-langs)". Quote a form so it will evaluate at
15640 (cc-mode's) compilation time.
15641
15642 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
15643
15644 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15645 loading. (Bug#9114)
15646
15647 2011-07-21 Martin Rudalics <rudalics@gmx.at>
15648
15649 * window.el (display-buffer-pop-up-window)
15650 (display-buffer-pop-up-side-window)
15651 (display-buffer-in-side-window): Call display-buffer-set-height
15652 and display-buffer-set-width after setting the new window's
15653 buffer so `fit-window-to-buffer' and friends work on the right buffer.
15654
15655 2011-07-20 Sam Steingold <sds@gnu.org>
15656
15657 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15658 (etags-tags-included-tables): Call `convert-standard-filename' on
15659 the file names contained in TAGS so that windows Emacs can handle
15660 TAGS files created by cygwin ctags.
15661
15662 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15663
15664 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15665 which apparently didn't work.
15666
15667 2011-07-19 Roland Winkler <winkler@gnu.org>
15668
15669 * proced.el (proced-send-signal): For *Marked Processes* buffer
15670 put point at beginning of buffer.
15671
15672 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
15673
15674 * proced.el (proced-format): Make header lines align with the text
15675 (bug#1779).
15676
15677 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15678
15679 * view.el (view-buffer): Allow running in `special' modes if we're
15680 visiting a file (bug#8615).
15681
15682 2011-07-19 Martin Rudalics <rudalics@gmx.at>
15683
15684 * window.el (display-buffer-alist-of-strings-p)
15685 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15686 New functions.
15687 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15688 more accurately.
15689
15690 2011-07-18 Alan Mackenzie <acm@muc.de>
15691
15692 Fontify declarators properly when, e.g., a jit-lock chunk begins
15693 inside a declaration.
15694
15695 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15696
15697 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15698 New function.
15699 (c-complex-decl-matchers): Insert reference to
15700 c-font-lock-enclosing-decls.
15701
15702 * progmodes/cc-engine.el (c-backward-single-comment):
15703 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15704 to nil around calls to (forward-comment -1).
15705
15706 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15707
15708 * image.el (put-image): Doc typo fix.
15709
15710 * progmodes/etags.el (tags-search): Doc typo fix.
15711
15712 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15713 password if we get errors 550 to 554.
15714
15715 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15716
15717 * net/gnutls.el (gnutls-log-level): Remove.
15718
15719 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15720 indentation character (bug#6380).
15721
15722 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15723
15724 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15725 to clarify what the problem is (bug#4291).
15726
15727 * simple.el (current-kill): Clarify what
15728 `interprogram-paste-function' does (bug#7500).
15729 (auto-fill-mode): Document `auto-fill-function' in relation to
15730 `auto-fill-mode' (bug#2470).
15731
15732 2011-07-16 Lawrence Mitchell <wence@gmx.li>
15733
15734 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15735 method if slot is read-only (bug#9035).
15736
15737 2011-07-16 Martin Rudalics <rudalics@gmx.at>
15738
15739 * frame.el (select-frame-set-input-focus): New argument NORECORD.
15740 * window.el (pop-to-buffer): Select window used even if it was
15741 selected before, see discussion of (Bug#8615), (Bug#6954).
15742 Pass argument NORECORD on to select-frame-set-input-focus.
15743
15744 2011-07-15 Glenn Morris <rgm@gnu.org>
15745
15746 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
15747 Respect help-form.
15748
15749 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15750
15751 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15752 (gnutls-negotiate): Use it.
15753
15754 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15755
15756 * net/gnutls.el (gnutls-negotiate):
15757 Upcase `gnutls-algorithm-priority'.
15758
15759 2011-07-15 Glenn Morris <rgm@gnu.org>
15760
15761 * jka-compr.el (jka-compr-verbose): Move from here...
15762 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15763 Add missing :version tag.
15764 * info.el: No need to require jka-compr when compiling.
15765
15766 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15767
15768 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15769 (gnutls-negotiate): Use it.
15770
15771 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15772
15773 * info.el (Info-beginning-of-buffer): New command.
15774 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15775 announcing `b' as the key (bug#8325).
15776 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15777
15778 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15779
15780 * international/mule-cmds.el
15781 (describe-specified-language-support): Make the error message
15782 clearer (bug#8905).
15783
15784 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15785
15786 * isearch.el (isearch-barrier): Add a doc string, since it's
15787 mentioned in a function doc string (bug#8678).
15788
15789 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15790
15791 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15792 buffer argument (Bug#9083) and self-identifying label argument.
15793
15794 2011-07-15 Glenn Morris <rgm@gnu.org>
15795
15796 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15797
15798 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15799
15800 * man.el (Man-fontify-manpage): Fix message when formatting the
15801 man page (bug#7929).
15802
15803 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15804
15805 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15806 argument LRM; if non-nil, append an invisible LRM character to the
15807 buffer name.
15808 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15809 last argument non-nil, when formatting buffer names.
15810 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15811 paragraph direction.
15812
15813 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15814
15815 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15816 the man page name (bug#7929).
15817
15818 * image.el (put-image): Mention the `put-image' overlay property
15819 (bug#7834).
15820
15821 * scroll-bar.el (set-scroll-bar-mode): Mention that
15822 `scroll-bar-mode' lists the values (bug#7772).
15823
15824 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15825 command (bug#7729).
15826
15827 * rect.el (apply-on-rectangle): Return the point after the last
15828 operation.
15829 (string-rectangle): Go to the point after the last operation
15830 (bug#7522).
15831
15832 * printing.el (pr-toggle-region): Clarify the documentation
15833 slightly (bug#7493).
15834
15835 * time.el (display-time-update):
15836 Allow `display-time-mail-function' to return nil (bug#7158).
15837 Fix suggested by Detlev Zundel.
15838
15839 * vc/diff.el (diff): Clarify the order the file names are read
15840 (bug#7111).
15841
15842 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15843 the doc string (bug#7015).
15844
15845 * font-lock.el (font-lock-maximum-decoration): Mention what
15846 numeric levels mean (bug#6935).
15847
15848 * startup.el (initial-buffer-choice): Don't mention the `none'
15849 selection, which is against policy.
15850
15851 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15852
15853 * window.el (display-buffer-normalize-special):
15854 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15855
15856 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15857
15858 * subr.el (version<, version<=, version=): Mention "-CVS" and
15859 "-12345" alpha version numbers.
15860
15861 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15862
15863 * bindings.el: Add advertised binding for set-mark-command
15864 (Bug#5772).
15865
15866 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15867
15868 * bindings.el (mode-line-other-buffer):
15869 * bookmark.el (bookmark-bmenu-2-window):
15870 * bs.el (bs-cycle-next, bs-cycle-previous):
15871 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15872 switch-to-buffer.
15873
15874 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15875 Delete.
15876
15877 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15878
15879 * follow.el (follow-debug-message, follow-redisplay):
15880 * jka-cmpr-hook.el (with-auto-compression-mode):
15881 Fix typos in docstrings.
15882
15883 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15884
15885 * subr.el (with-silent-modifications): Clarify somewhat what the
15886 macro inhibits (bug#6525).
15887
15888 * simple.el (eval-expression): Note what it does if called
15889 interactively (bug#6495).
15890
15891 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15892
15893 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15894 Use pop-to-buffer buffer-or-name if it is nil.
15895
15896 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15897 Remove switch-to-buffer.
15898
15899 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15900
15901 * files.el (make-directory): Clarify that an error will be raised
15902 if there's an error (bug#6397).
15903
15904 * startup.el (initial-buffer-choice): Add `none' as a choice
15905 (bug#6234).
15906
15907 * subr.el (add-hook): Clarify section about buffer-local hooks
15908 (bug#6218).
15909
15910 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15911
15912 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15913
15914 * tabify.el (untabify): Preserve the current column so that point
15915 doesn't move (bug#6032).
15916
15917 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15918
15919 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15920 Rewrite to avoid awkward possessive "s" (bug#5986).
15921
15922 2011-07-13 Glenn Morris <rgm@gnu.org>
15923
15924 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15925 (dired-insert-directory): Give a message the first time
15926 if ls is found not to support --dired.
15927
15928 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15929
15930 * simple.el (toggle-truncate-lines): Clarify what is toggled
15931 (bug#5580). Text by Drew Adams.
15932
15933 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15934
15935 * simple.el (blink-matching-open): Make the error message from the
15936 last change less verbose.
15937
15938 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15939
15940 * font-lock.el (font-lock-comment-face): Use the high contrast
15941 "yellow" color for font-lock-comment-face on low color terminals
15942 using a dark background color (bug#4221).
15943
15944 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15945
15946 * dired.el (dired-insert-set-properties): Make the doc string
15947 reflect what it does now (bug#5325).
15948
15949 * simple.el (blink-matching-open): Say that we were unable to find
15950 the match within the limit, if we're limited (bug#5122).
15951
15952 * international/mule-cmds.el (prefer-coding-system): Add an
15953 example (bug#4869).
15954
15955 * progmodes/etags.el (tags-search): Document `file-list-form'
15956 (bug#4731).
15957
15958 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15959
15960 * net/browse-url.el (browse-url-default-browser)
15961 (browse-url-browser-function): Make the default browser choice a
15962 bit more logical (bug#4300). Also clean up the doc string.
15963
15964 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15965
15966 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15967 binary endings (bug#4440).
15968
15969 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15970
15971 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15972 which can be pretty annoying (bug#8971).
15973
15974 * jka-compr.el (jka-compr-verbose): New variable, and use
15975 throughout (bug#8971).
15976
15977 * info.el (Info-find-file): Fall back on the installation
15978 directory if we can't find the info node anywhere else.
15979
15980 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15981
15982 * vc/vc.el (vc-revert-file):
15983 Don't set file time-stamp in the past. (Bug#5181)
15984
15985 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15986
15987 * files.el (after-find-file): Give a better error message when
15988 trying to find a symlink that points to a file that doesn't exist
15989 (bug#4398).
15990
15991 * progmodes/cc-vars.el: Remove (probably) misleading comment
15992 (bug#4396).
15993
15994 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15995
15996 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15997
15998 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15999
16000 * mouse-sel.el: Hack restoring functionality, while keeping
16001 compatibility with 2010-07-03 changes to mouse selection.
16002 (mouse-sel-primary-overlay): New var.
16003 (mouse-sel-selection-alist): Use it.
16004 (mouse-sel-mode): Doc fix; remove points that are default features
16005 of mouse.el.
16006
16007 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16008
16009 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16010 Fix previous fix (bug#2490).
16011
16012 2011-07-12 Roland Winkler <winkler@gnu.org>
16013
16014 * textmodes/bibtex.el (bibtex-initialize):
16015 Use pop-to-buffer-same-window.
16016 (bibtex-search-entries): Fix interactive call.
16017
16018 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16019
16020 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16021 Fontise bytecomp Error lines more correctly (bug#2490).
16022 Fix suggested by Johan Bockgård.
16023
16024 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16025
16026 * dired-x.el (dired-guess-default): Use `delete-dups'.
16027
16028 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16029
16030 * dired.el (dired-mark-prompt):
16031 * dired-aux.el (dired-read-shell-command): Doc fix.
16032
16033 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16034
16035 * mail/sendmail.el (sendmail-query-once):
16036 Use `customize-save-variable' unconditionally, now that it works under
16037 emacs -Q.
16038
16039 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16040
16041 * cus-edit.el (custom-file): Take an optional no-error variable.
16042 (customize-save-variable): Set the variable, and give a warning if
16043 running under "emacs -q".
16044
16045 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16046
16047 * loadhist.el (unload-feature-special-hooks):
16048 Add `auto-coding-functions', `fill-nobreak-predicate' and
16049 `find-directory-functions' (bug#5327).
16050
16051 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16052
16053 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16054
16055 * cus-edit.el (custom-guess-name-alist): -alist variables should
16056 use the `alist' type (bug#3120). Suggested by Drew Adams.
16057
16058 * printing.el: Add documentation to all the `pr-toggle-' commands.
16059
16060 2011-07-11 Leo Liu <sdl.web@gmail.com>
16061
16062 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16063 backends where it makes sense (bug#2623).
16064
16065 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16066
16067 * dired-x.el (dired-guess-default): Remove duplicate shell command
16068 entries (bug#2028).
16069 (dired-guess-default): Fix grammar in doc string (bug#2028).
16070 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16071
16072 * subr.el (remove-duplicates): New conveniency function.
16073
16074 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16075
16076 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16077 (bug#1526).
16078
16079 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16080
16081 * window.el (display-buffer-normalize-default): Don't invert
16082 meaning of even-window-heights. Reported by Eli Zaretskii
16083 <eliz@gnu.org>.
16084
16085 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16086
16087 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16088
16089 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16090
16091 * window.el (display-buffer): Fix arguments to
16092 display-buffer-reuse-window in last change.
16093
16094 * faces.el (link): Use a less saturated blue on light backgrounds.
16095
16096 * startup.el (fancy-startup-text, fancy-about-text)
16097 (fancy-startup-tail): Use font-lock faces, for background safety.
16098
16099 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16100
16101 * emulation/viper-cmd.el (viper-change-state-to-vi):
16102 Limit triggering of abbrev expansion (Bug#9038).
16103
16104 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16105
16106 * window.el (display-buffer-default-specifiers): Remove.
16107 (display-buffer-macro-specifiers): Remove default specifiers.
16108 (display-buffer-alist): Default to nil.
16109 (display-buffer-reuse-window): New optional argument other-window.
16110 (display-buffer-pop-up-window): Allow splitting internal
16111 windows. Check whether a live window was created.
16112 (display-buffer-other-window-means-other-frame)
16113 (display-buffer-normalize-arguments): Rename to
16114 display-buffer-normalize-argument and rewrite. Set the
16115 other-window specifier.
16116 (display-buffer-normalize-special): New function.
16117 (display-buffer-normalize-options): Rename to
16118 display-buffer-normalize-default and rewrite.
16119 (display-buffer-normalize-options-inhibit): Remove.
16120 (display-buffer-normalize-specifiers): Rewrite.
16121 (display-buffer): Process other-window specifier and call
16122 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16123 more faithfully.
16124 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16125 (display-buffer-alist-set): Don't handle 'unset default values.
16126 (display-buffer-in-window, display-buffer-alist-set):
16127 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16128 <tassilo@member.fsf.org>.
16129
16130 2011-07-09 Leo Liu <sdl.web@gmail.com>
16131
16132 * register.el (insert-register): Restore accidental change on
16133 2011-06-26. (Bug#9028)
16134
16135 2011-07-09 Glenn Morris <rgm@gnu.org>
16136
16137 * subr.el (remq): Handle the empty list. (Bug#9024)
16138
16139 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16140
16141 * mail/sendmail.el (send-mail-function): No longer delay custom
16142 initialization.
16143 * custom.el (custom-initialize-delay): Doc fix.
16144
16145 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16146
16147 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16148
16149 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16150
16151 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16152 human-friendly prompt.
16153
16154 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16155
16156 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16157 provided by a particular plugin.
16158
16159 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16160
16161 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16162 save customizations (with "emacs -Q"), just set the variable
16163 instead of erroring out.
16164
16165 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16166
16167 2011-07-08 Juri Linkov <juri@jurta.org>
16168
16169 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16170 (archive-zip-update-case): Use 7z if found by `executable-find'.
16171 The order of searching the available programs is the same as in
16172 `archive-zip-extract' (bug#8968).
16173
16174 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16175
16176 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16177 (menu-bar-options-menu): Tweak descriptions.
16178
16179 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16180
16181 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16182 menu items into verb phrases (bug#1421). Also refill to fit under
16183 80 columns.
16184
16185 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16186
16187 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16188 (Info-read-node-name): Doc fix (Bug#1084).
16189
16190 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16191 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16192 (end-of-sexp, beginning-of-sexp)
16193 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16194 (forward-symbol, forward-same-syntax, word-at-point)
16195 (sentence-at-point): Doc fix (Bug#1144).
16196
16197 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16198
16199 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16200 should cover it (bug#1281).
16201
16202 * cus-edit.el (custom-show): Mark as obsolete.
16203
16204 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16205 negotiation fails, then possibly try again with a non-encrypted
16206 connection (bug#9017).
16207
16208 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16209 be used.
16210
16211 2011-07-07 Richard Stallman <rms@gnu.org>
16212
16213 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16214 property, and handle its changed format.
16215 Look for the correct line number.
16216 Use file's line contents (but not past first =) to find
16217 correct line in message.
16218
16219 2011-07-07 Kenichi Handa <handa@m17n.org>
16220
16221 * international/characters.el (build-unicode-category-table):
16222 Delete it.
16223 (unicode-category-table): Set it by unicode-property-table-internal.
16224
16225 * international/mule-cmds.el (char-code-property-alist): Move to
16226 to src/chartab.c.
16227 (get-char-code-property): Call unicode-property-table-internal to
16228 load a file. Call get-unicode-property-internal where necessary.
16229 (put-char-code-property): Call unicode-property-table-internal to
16230 load a file. Call put-unicode-property-internal where necessary.
16231 put-unicode-property-internal where necessary.
16232 (char-code-property-description):
16233 Call unicode-property-table-internal to load a file.
16234
16235 * international/charprop.el:
16236 * international/uni-bidi.el:
16237 * international/uni-category.el:
16238 * international/uni-combining.el:
16239 * international/uni-comment.el:
16240 * international/uni-decimal.el:
16241 * international/uni-decomposition.el:
16242 * international/uni-digit.el:
16243 * international/uni-lowercase.el:
16244 * international/uni-mirrored.el:
16245 * international/uni-name.el:
16246 * international/uni-numeric.el:
16247 * international/uni-old-name.el:
16248 * international/uni-titlecase.el:
16249 * international/uni-uppercase.el: Regenerate.
16250
16251 * loadup.el: Load international/charprop.el before
16252 international/characters.
16253
16254 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16255
16256 * window.el (next-buffer, previous-buffer): Signal an error if
16257 called from a minibuffer window.
16258
16259 * bindings.el: Revert 2011-07-04 change.
16260
16261 2011-07-06 Richard Stallman <rms@gnu.org>
16262
16263 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16264 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16265 Treat markers like ints.
16266 (rmail-mime-entity): Doc fix.
16267
16268 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16269
16270 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16271 defcustom again for backwards compatibility.
16272
16273 * simple.el (shell-command-on-region): Fill.
16274
16275 * dired-aux.el (dired-kill-line): Add a doc string.
16276
16277 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16278 to "\\sw\\|\\s_" (bug#358).
16279
16280 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16281 (dired-unmark-backward): Ditto.
16282 (dired-flag-backup-files): Ditto.
16283
16284 * dired-x.el (dired-mark-sexp): Ditto.
16285
16286 2011-07-06 Richard Stallman <rms@gnu.org>
16287
16288 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16289 (rmail-mime-entity): New arg TRUNCATED.
16290 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16291 New functions.
16292 (rmail-mime-save): Warn if entity is truncated.
16293 (rmail-mime-toggle-hidden): Likewise, for showing.
16294 (rmail-mime-process-multipart): Record when an entity is truncated.
16295
16296 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16297 if ENTITY is a string.
16298
16299 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16300
16301 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16302 of faces when `M-C-x'-ing their definitions (bug#8378).
16303 Also clean up the code slightly.
16304
16305 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16306 because that makes the colors go away.
16307
16308 * mail/sendmail.el (send-mail-function): Change the default to
16309 `sendmail-query-once'.
16310 (sendmail-query-once): Add an autoload cookie.
16311
16312 * net/network-stream.el (network-stream-open-starttls): Try using
16313 a plain connection even if the server offered STARTTLS, and we
16314 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16315 capability. This should make smtpmail.el work in slightly more
16316 configurations.
16317
16318 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16319
16320 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16321 New defun.
16322 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16323
16324 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16325
16326 * progmodes/sql.el: Version 3.0
16327 (sql-product-alist): Add product :completion-object,
16328 :completion-column, and :statement attributes.
16329 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16330 (sql-mode-syntax-table): Mark all punctuation.
16331 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16332 ansi keywords.
16333 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16334 (sql-mode-oracle-font-lock-keywords): Improve.
16335 (sql-oracle-show-reserved-words): New function for development.
16336 (sql-product-font-lock): Simplify for source code buffers.
16337 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16338 New functions.
16339 (sql-highlight-product): Set product specific syntax table.
16340 (sql-mode-map): Add statement movement functions.
16341 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16342 New variable.
16343 (sql-statement-regexp, sql-beginning-of-statement)
16344 (sql-end-of-statement, sql-signum): New functions.
16345 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
16346 (sql-show-sqli-buffer): Bug fix.
16347 (sql-interactive-mode): Store connection data as buffer local.
16348 (sql-connect): Add NEW-NAME parameter. Redesign interaction
16349 with sql-interactive-mode.
16350 (sql-save-connection): Save buffer local settings.
16351 (sql-connection-menu-filter): Change menu entry name.
16352 (sql-product-interactive): Bug fix.
16353 (sql-preoutput-hold): New variable.
16354 (sql-interactive-remove-continuation-prompt): Bug fixes.
16355 (sql-debug-redirect): New variable.
16356 (sql-str-literal): New function.
16357 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
16358 Redesign.
16359 (sql-oracle-save-settings, sql-oracle-restore-settings)
16360 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16361 (sql-completion-object, sql-completion-column)
16362 (sql-completion-sqlbuf): New variables.
16363 (sql-build-completions-1, sql-build-completions)
16364 (sql-try-completion): New functions.
16365 (sql-read-table-name): Use them.
16366 (sql-contains-names): New buffer local variable.
16367 (sql-list-all, sql-list-table): Use it.
16368 (sql-oracle-completion-types): New variable.
16369 (sql-oracle-completion-object, sql-sqlite-completion-object)
16370 (sql-postgres-completion-object): New functions.
16371
16372 2011-07-06 Glenn Morris <rgm@gnu.org>
16373
16374 * window.el (pop-to-buffer): Doc fix.
16375
16376 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
16377
16378 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16379
16380 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
16381
16382 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
16383
16384 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
16385
16386 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
16387
16388 * button.el (button): Inherit from link face. Suggested by Dan
16389 Nicolaescu.
16390
16391 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16392
16393 * progmodes/gdb-mi.el: Fit in 80 columns.
16394 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16395 switch-to-buffer.
16396
16397 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16398 if imenu is simply not configured (bug#8941).
16399
16400 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16401
16402 * allout.el (allout-post-undo-hook): New allout outline-change
16403 event hook to signal undo activity.
16404 (allout-post-command-business): Run allout-post-undo-hook if an
16405 undo just occurred.
16406 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16407 * allout-widgets.el (allout-widgets-after-undo-function):
16408 Ensure the integrity of the current item's decoration after it has been
16409 in the vicinity of an undo.
16410 (allout-widgets-mode): Include allout-widgets-after-undo-function
16411 on the new allout-post-undo-hook.
16412
16413 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16414
16415 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16416 Let define-derived-mode define it.
16417 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16418 cycles of abbrev-table inheritance (bug#8998).
16419
16420 2011-07-05 Roland Winkler <winkler@gnu.org>
16421
16422 * textmodes/bibtex.el: Add support for biblatex.
16423 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16424 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16425 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16426 (bibtex-entry-alist, bibtex-field-alist): New variables.
16427 (bibtex-entry-field-alist): Obsolete alias for
16428 bibtex-BibTeX-entry-alist.
16429 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16430 (bibtex-set-dialect): New command.
16431 (bibtex-entry-type, bibtex-entry-head)
16432 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16433 Bind via bibtex-set-dialect.
16434 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16435 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16436 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16437 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16438 Define via bibtex-set-dialect.
16439 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16440 Obey bibtex-no-opt-remove-re.
16441 (bibtex-vec-push, bibtex-vec-incr): New functions.
16442 (bibtex-format-entry, bibtex-field-list)
16443 (bibtex-print-help-message, bibtex-validate)
16444 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16445
16446 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16447
16448 * progmodes/compile.el (compilation-goto-locus):
16449 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16450 * bs.el (bs-cycle-next, bs-cycle-previous):
16451 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16452 * bindings.el (mode-line-other-buffer):
16453 * autoinsert.el (auto-insert):
16454 * arc-mode.el (archive-extract):
16455 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16456
16457 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16458
16459 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16460 Fix check of `emacs-lock-unlockable-modes'.
16461 Coerce true values of `emacs-lock--try-unlocking' to t.
16462
16463 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16464
16465 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16466 * emacs-lock.el: New file.
16467
16468 2011-07-05 Julien Danjou <julien@danjou.info>
16469
16470 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16471 than `boundp' to check if face is set.
16472
16473 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
16474
16475 * register.el (registerv-make):
16476 * window.el (window-min-height): Fix typos in docstrings.
16477
16478 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16479
16480 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
16481 Update doc string.
16482
16483 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16484
16485 * server.el (server-execute): Catch quit and call
16486 `server-return-error' to pass the error back to emacsclient and
16487 close the connection (bug#8942).
16488
16489 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16490
16491 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16492 insecure exception for current topic. Also note that auto-saves
16493 are handled differently.
16494
16495 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
16496 State variables for tracking auto-save inhibition situation.
16497
16498 (allout-write-contents-hook-handler): Rename from
16499 'allout-write-file-hook-handler', and describe how it depends on
16500 write-contents-functions sensitivity to non-nil value to prevent
16501 file write.
16502
16503 (allout-auto-save-hook-handler): Remove. auto-save does not check
16504 this in individual buffers, only in the starting buffer, so this
16505 is not the right way for us to inhibit auto-save in a buffer
16506 according to its condition.
16507
16508 (allout-mode): Use new allout-write-contents-hook-handler, and
16509 only with write-contents-functions. Remove auto-save provisions -
16510 they're implemented elsewhere.
16511
16512 (allout-before-change-handler): If undo is in progress, note that
16513 for attention of allout-post-command-business.
16514
16515 (allout-post-command-business): If the command we're following was
16516 an undo, check for change in the status of encrypted items and
16517 adjust auto-save inhibitions accordingly.
16518
16519 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16520 according to whether there are or aren't any plain-text topics
16521 pending encryption.
16522
16523 (allout-inhibit-auto-save-info-for-decryption):
16524 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16525 if there are plain-text topics pending encryption.
16526
16527 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16528 buffer-saved-size and some allout state to not inhibit auto-saves
16529 if there are no longer any plain-text topics pending encryption.
16530
16531 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16532 No longer provide for exemption of the current topic.
16533
16534 2011-07-04 Juri Linkov <juri@jurta.org>
16535
16536 Add 7z operations to delete and save changed members (bug#8968).
16537 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16538 New defcustoms.
16539 (archive-7z-write-file-member): New function.
16540 (archive-7z-summarize): Fix the number of dashes in the
16541 listing output.
16542
16543 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16544
16545 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16546 (bug#8958).
16547
16548 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
16549
16550 * bindings.el: Ignore next-buffer and previous-buffer in
16551 minibuffer-local-map.
16552
16553 * font-lock.el (font-lock-builtin-face): Change light background
16554 color to dark slate blue (Bug#6693).
16555
16556 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16557
16558 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16559
16560 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16561
16562 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16563 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16564 Add switch-to-buffer.
16565
16566 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16567
16568 * isearch.el (isearch-search-fun-function): Clarify further the
16569 meaning of the function returned.
16570
16571 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
16572
16573 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16574
16575 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16576 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16577 Use it.
16578 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16579 `tramp-default-remote-path' does not exist.
16580 (tramp-send-command-and-read): New optional argument NOERROR.
16581 (tramp-open-connection-setup-interactive-shell)
16582 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16583 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16584 (tramp-process-sentinel): Flush also process' connection property.
16585 (tramp-sh-handle-start-file-process): Do not set process
16586 sentinel. It is done now ...
16587 (tramp-maybe-open-connection): ... here. (Bug#8929)
16588
16589 2011-07-04 MON KEY <monkey@sandpframing.com>
16590
16591 * play/animate.el (animate-string): Doc fixes and allow changing
16592 the buffer name (bug#5417).
16593
16594 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16595
16596 * play/animate.el (animation-buffer-name): Rename from *animate*.
16597
16598 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16599
16600 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16601 This is simpler and helps future-proof the code.
16602 (timer-until): Use time-subtract and float-time.
16603 (timer--time-less-p): Use time-less-p.
16604
16605 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
16606
16607 * type-break.el (timep): Use the value of `float-time' to avoid a
16608 byte-compiler warning.
16609
16610 * server.el (server-eval-and-print): Return any result, even nil.
16611
16612 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16613
16614 * type-break.el: Accept time formats that the builtins accept.
16615 (timep, type-break-time-difference): Accept any format that
16616 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16617 This is simpler and helps future-proof the code.
16618 (type-break-time-difference): Round rather than ignoring
16619 subseconds components.
16620
16621 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16622
16623 * info.el (Info-apropos-matches): Make non-interactive, since it
16624 doesn't seem to do anything useful as a command (bug#8829).
16625
16626 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
16627
16628 * frame.el (frame-background-mode, frame-set-background-mode):
16629 Move from faces.el.
16630 (frame-default-terminal-background): New function.
16631
16632 * custom.el (custom-push-theme): Don't record faces in `changed'
16633 theme; this doesn't work correctly for per-frame face settings.
16634 (disable-theme): Use face-set-after-frame-default to reset faces.
16635 (custom--frame-color-default): New function.
16636
16637 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16638
16639 * dired.el (dired-flagging-regexp): Remove unused variable
16640 (bug#8769).
16641
16642 2011-03-29 Kevin Ryde <user42@zip.com.au>
16643
16644 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16645 `perl-Test2' extend to match possible "fail #N" rep count
16646 (bug#8377).
16647
16648 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16649
16650 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16651 `smtpmail-via-smtp' now returns the error instead of nil.
16652
16653 * isearch.el (isearch-search-fun-function): Clarify the doc string
16654 (bug#8101).
16655
16656 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
16657
16658 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16659 unnecessary spaces (bug#8987).
16660
16661 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16662
16663 * net/network-stream.el (open-network-stream): Use the
16664 :end-of-capability command thoughout.
16665
16666 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16667
16668 * net/network-stream.el (open-network-stream): Add the
16669 :end-of-capability command parameter, used by pop3.el.
16670
16671 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16672
16673 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16674
16675 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16676 for list)" (bug#6475).
16677
16678 * files.el (file-expand-wildcards): Ignore non-readable
16679 sub-directories while trying to find matches instead of signaling
16680 an error (bug#6297).
16681
16682 * man.el (Man-reference-regexp): Allow matching possible
16683 word-wrapped references (bug#6289).
16684
16685 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16686 for consistency with the other vc buffers (bug#6197).
16687 (vc-checkin): Ditto.
16688
16689 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16690
16691 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16692
16693 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16694
16695 * custom.el (defcustom): Clarify that :set is only used in the
16696 Customize user interface (bug#6089).
16697
16698 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16699 associated with a file, refuse to run instead of erroring out
16700 (bug#6084).
16701
16702 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16703 the doc string, since it appears that using `fill-column' always
16704 controls the width (bug#7845).
16705
16706 * simple.el (shell-command-on-region): Say where the error output
16707 went if `shell-command-default-error-buffer' is set (bug#6857).
16708
16709 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16710
16711 * allout.el (allout-yank-processing): Adjust cursor position for
16712 backwards-deleted space.
16713
16714 (allout-rebullet-heading): Register changes with
16715 allout-exposure-changed-hook, so the modified topic is properly
16716 decorated.
16717
16718 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16719
16720 * minibuffer.el (completion-in-region): Document PREDICATE
16721 (bug#7136).
16722
16723 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16724 of keyword/argument pairs (bug#6904).
16725
16726 * replace.el (multi-occur):
16727 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16728
16729 2011-07-02 Drew Adams <drew.adams@oracle.com>
16730
16731 * dired.el (dired-mark-if): Make the message about whether it's
16732 marking or unmarking clearer (bug#8523).
16733
16734 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16735
16736 * disp-table.el (display-table-print-array): New function.
16737 (describe-display-table): Use it to print the vectors more pretty
16738 (Bug#8859).
16739
16740 2011-07-02 Martin Rudalics <rudalics@gmx.at>
16741
16742 * window.el (window-state-get-1): Don't assign clone numbers.
16743 Add clone-of item to list of window parameters.
16744 (window-state-put-2): Don't process clone numbers.
16745 (display-buffer-alist): Fix doc-string.
16746
16747 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16748
16749 * subr.el (remq): Don't allocate if it's not needed.
16750 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16751 (keymap--merge-bindings): New functions.
16752 (keymap-canonicalize): Use them to refine the canonicalization.
16753 * minibuffer.el (minibuffer-local-completion-map)
16754 (minibuffer-local-must-match-map): Move initialization from C.
16755 (minibuffer-local-filename-completion-map): Move initialization from C;
16756 don't inherit from anything here.
16757 (minibuffer-local-filename-must-match-map): Make obsolete.
16758 (completing-read-default): Use make-composed-keymap to combine
16759 minibuffer-local-filename-completion-map with either
16760 minibuffer-local-must-match-map or
16761 minibuffer-local-filename-completion-map.
16762
16763 2011-07-01 Glenn Morris <rgm@gnu.org>
16764
16765 * type-break.el (type-break-time-sum): Use dolist.
16766
16767 * textmodes/flyspell.el (flyspell-word-search-backward):
16768 Replace CL function.
16769
16770 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16771
16772 * mouse.el (mouse--strip-first-event): New function.
16773 (function-key-map): Use it to map fringe clicks to normal clicks
16774 by default.
16775
16776 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16777 (vc-bzr-revision-completion-table): Add support for annotate and date.
16778
16779 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16780 inherit from parent.
16781
16782 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16783
16784 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16785 (dired-show-file-type): Doc fixup (bug#8818).
16786
16787 * dired.el (dired-mode): Fix up the doc string as suggested by
16788 Drew Adams (bug#8817).
16789
16790 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16791 cookie, since the manual says that it should be possible to add
16792 this function to `find-file-hook' (bug#8709).
16793
16794 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16795
16796 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16797 here. Noted Ted Zlatanov as the maintainer.
16798 (cfengine-common-settings, cfengine-common-syntax): New functions
16799 to set up common things between `cfengine-mode' and
16800 `cfengine3-mode'.
16801 (cfengine3-mode): New mode.
16802 (cfengine3-defuns cfengine3-defuns-regex
16803 (cfengine3-class-selector-regex cfengine3-category-regex)
16804 (cfengine3-vartypes cfengine3-font-lock-keywords)
16805 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16806 (cfengine3-indent-line): Add from cfengine3.el.
16807
16808 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16809
16810 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16811
16812 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16813
16814 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16815
16816 * window.el (same-window-buffer-names, same-window-regexps)
16817 (same-window-p, special-display-frame-alist)
16818 (special-display-popup-frame, special-display-function)
16819 (special-display-buffer-names, special-display-regexps)
16820 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16821 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16822 (split-window-preferred-function, split-height-threshold)
16823 (split-width-threshold, even-window-heights)
16824 (display-buffer-mark-dedicated, window-splittable-p)
16825 (split-window-sensibly, window-safely-shrinkable-p):
16826 Un-obsolete.
16827 (display-buffer): Don't spread args with function specifier
16828 because special-display-popup-frame won't like it.
16829
16830 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16831
16832 Time-stamp simplifications and fixes.
16833 These improve accuracy slightly, and future-proof the code
16834 against some potential changes to current-time format.
16835
16836 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16837 by using time-since and float-time.
16838
16839 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16840 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16841 + NNN microseconds".
16842
16843 * type-break.el (type-break-time-sum): Rewrite using time-add.
16844
16845 * play/hanoi.el (hanoi-current-time-float): Remove.
16846 All uses replaced by float-time.
16847
16848 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16849 This yields a more-accurate answer.
16850 (rng-time-to-float): Remove; no longer needed.
16851
16852 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16853
16854 * calendar/timeclock.el (timeclock-seconds-to-time):
16855 Defalias to seconds-to-time, since they're the same thing.
16856
16857 * emacs-lisp/elp.el (elp-elapsed-time):
16858 * emacs-lisp/benchmark.el (benchmark-elapse):
16859 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16860
16861 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16862
16863 * window.el (bury-buffer): Don't iconify the only frame.
16864 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16865 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16866
16867 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16868
16869 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16870 Add mouse-yank-primary.
16871
16872 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16873
16874 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16875
16876 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16877
16878 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16879 (find-library-name): Use it to find relative load names when provided
16880 absolute file name (bug#8803).
16881
16882 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16883
16884 * textmodes/flyspell.el (flyspell-word): Consider words that
16885 differ only in case as potential doublons (bug#5687).
16886
16887 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16888 Remove two rather uninteresting debugging-like messages to make
16889 debbugs.el more silent.
16890
16891 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16892 a password-like phrase.
16893
16894 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16895
16896 * progmodes/cc-guess.el: New file.
16897
16898 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16899
16900 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16901 derived from `c-basic-common-init'.
16902
16903 * progmodes/cc-mode.el (top-level): Require cc-guess.
16904 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16905
16906 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16907
16908 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16909
16910 2011-06-30 Alan Mackenzie <acm@muc.de>
16911
16912 * progmodes/cc-engine.el (c-guess-continued-construct):
16913 Correct the handling of template-args-cont, particularly for when font
16914 lock is disabled. Name this case as "CASE G".
16915
16916 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16917
16918 * allout.el (allout-yank-processing): Fix injection of extra space
16919 between bullet and non-whitespace character in first topic when
16920 pasting, ensuring that the actual spacing in the pasted topic
16921 following the bullet char is preserved. This extra space was
16922 causing pasted encrypted topics to get a decrypted status even
16923 when the content was actually still encrypted. Now the decryption
16924 status from before the paste is preserved.
16925
16926 (allout-flag-region): Set all allout overlays so they evaporate
16927 when reduced to zero length (evanescent), to prevent overlay
16928 leakage.
16929
16930 2011-06-30 Glenn Morris <rgm@gnu.org>
16931
16932 * w32-fns.el (w32-charset-info-alist): Declare.
16933
16934 * find-dired.el (find-grep-options): Simplify.
16935
16936 * term/ns-win.el (ns-set-resource): Declare.
16937
16938 * ses.el (row, col): Declare dynamic variables honestly.
16939
16940 * textmodes/reftex-parse.el (index-tags): Declare.
16941
16942 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16943
16944 * cus-edit.el (customize-push-and-save): New function.
16945
16946 * files.el (hack-local-variables-confirm): Use it.
16947
16948 * custom.el (load-theme): New arg NO-CONFIRM.
16949 Use customize-push-and-save (Bug#8720).
16950 (custom-enabled-themes): Doc fix.
16951
16952 * cus-theme.el (customize-create-theme)
16953 (custom-theme-merge-theme): Callers to load-theme changed.
16954
16955 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16956
16957 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16958 short URLs have at least one dot in them (bug #7614).
16959
16960 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16961 nil, because using a pty is apparently too slow (bug #895).
16962
16963 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16964
16965 * mail/sendmail.el (sendmail-query-once): New function.
16966 (sendmail-query-once-function): New variable.
16967
16968 2011-06-29 Glenn Morris <rgm@gnu.org>
16969
16970 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16971
16972 * ses.el (top-level): Require cl when compiling.
16973 (ses-set-localvars): Fix error statement.
16974 Call it at compile time to silence a storm of warnings.
16975
16976 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16977
16978 * window.el (normalize-live-buffer): Rename to
16979 window-normalize-buffer.
16980 (normalize-live-frame): Rename to window-normalize-frame.
16981 (normalize-any-window): Rename to window-normalize-any-window.
16982 (normalize-live-window): Rename to window-normalize-live-window.
16983 (make-window-atom): Rename to window-make-atom.
16984 (window-resize-reset): Rename to window--resize-reset.
16985 (window-resize-reset-1): Rename to window--resize-reset-1.
16986 (resize-mini-window): Rename to window--resize-mini-window.
16987 (resize-subwindows-skip-p): Rename to
16988 window--resize-subwindows-skip-p.
16989 (resize-subwindows-normal): Rename to
16990 window--resize-subwindows-normal.
16991 (resize-subwindows): Rename to window--resize-subwindows.
16992 (resize-other-windows): Rename to window--resize-siblings.
16993 (resize-this-window): Rename to window--resize-this-window.
16994 (resize-root-window): Rename to window--resize-root-window.
16995 (resize-root-window-vertically): Rename to
16996 window--resize-root-window-vertically.
16997 (normalize-buffer-to-display): Rename to
16998 window-normalize-buffer-to-display.
16999 (normalize-buffer-to-switch-to): Rename to
17000 window-normalize-buffer-to-switch-to.
17001 Correspondingly update all callers of the functions listed
17002 above.
17003 (display-buffer-alist, display-buffer-normalize-arguments)
17004 (display-buffer-normalize-options, display-buffer)
17005 (display-buffer-alist-set): Use "function" instead of
17006 "fun-with-args".
17007
17008 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17009
17010 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17011 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17012 debbugs.gnu.org. Mention acknowledgment email.
17013
17014 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17015
17016 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17017 buffer multibyteness, since it shouldn't matter.
17018
17019 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17020
17021 * window.el (display-buffer-in-side-window): Handle dedicated
17022 windows as in display-buffer-reuse-window.
17023 (display-buffer-normalize-alist): Use value of override
17024 specifier.
17025 (display-buffer-normalize-specifiers): Use value of
17026 other-window-means-other-frame specifier.
17027 (display-buffer-alist): Rewrite some texts in widgets.
17028 (display-buffer): Spread arguments when calling function
17029 specified by fun-with-args.
17030
17031 2011-06-28 Deniz Dogan <deniz@dogan.se>
17032
17033 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17034 Unnest `let'.
17035
17036 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17037 selectors (Bug#5732).
17038 (css-proprietary-nmstart-re): Use `regexp-opt'.
17039
17040 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17041
17042 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17043 (eshell-ls-date-format): New defcustom.
17044 (eshell-ls-file): Use it.
17045
17046 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17047
17048 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17049
17050 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17051
17052 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17053 (ange-ftp-make-tmp-name): New arg.
17054 (ange-ftp-file-local-copy): Use it.
17055
17056 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17057
17058 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17059 no-conversion (Bug#8870).
17060
17061 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17062
17063 * window.el (window-right, window-left, window-child)
17064 (window-child-count, window-last-child)
17065 (window-iso-combination-p, walk-window-tree-1)
17066 (window-atom-check-1, window-tree-1, delete-window)
17067 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17068 new naming conventions - window-vchild, window-hchild,
17069 window-next and window-prev are now called window-top-child,
17070 window-left-child, window-next-sibling and window-prev-sibling
17071 respectively.
17072 (resize-window-reset): Rename to window-resize-reset.
17073 (resize-window-reset-1): Rename to window-resize-reset-1.
17074 (resize-window): Rename to window-resize.
17075 (window-min-height, window-min-width)
17076 (resize-mini-window, resize-this-window, resize-root-window)
17077 (resize-root-window-vertically, adjust-window-trailing-edge)
17078 (enlarge-window, shrink-window, maximize-window)
17079 (minimize-window, delete-window, quit-restore-window)
17080 (split-window, balance-windows, balance-windows-area-adjust)
17081 (balance-windows-area, window-state-put-2)
17082 (display-buffer-even-window-sizes, display-buffer-set-height)
17083 (display-buffer-set-width, set-window-text-height)
17084 (fit-window-to-buffer): Rename all "resize-window" prefixed
17085 calls to use the "window-resize" prefix convention.
17086 (display-buffer-alist): Fix symbol for label specifier.
17087 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17088 corresponding specifier.
17089 Reported by Juanma Barranquero <lekktu@gmail.com>.
17090
17091 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17092
17093 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17094 convention.
17095 (ses-call-printer): Does not pass an empty string to formatter when the
17096 cell is empty to keep from barking printer Calc math-format-value.
17097
17098 2011-06-27 Richard Stallman <rms@gnu.org>
17099
17100 * battery.el (battery-mode-line-limit): New variable.
17101 (battery-update): Handle it.
17102
17103 * mail/rmailmm.el (rmail-mime-process-multipart):
17104 Handle truncated messages.
17105
17106 2011-06-27 Glenn Morris <rgm@gnu.org>
17107
17108 * progmodes/flymake.el (flymake-err-line-patterns):
17109 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17110
17111 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17112
17113 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17114 (ses--clean-!, ses--clean-_): New functions.
17115 (ses-range): Add configurability of readout order, and conversion
17116 to Calc vector.
17117
17118 * ses.el (ses-repair-cell-reference-all): New function.
17119 (ses-cell-symbol): Set macro as safe, so that it can be used in
17120 formulas.
17121
17122 * ses.el: Update cycle detection algorithm.
17123 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17124 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17125 (ses-set-localvars): New function.
17126 (ses-make-cell): Add property-list as a cell element.
17127 (ses-cell-property-get-fun, ses-cell-property-get)
17128 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17129 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17130 New functions.
17131 (ses-cell-property-set, ses-cell-property-pop)
17132 (ses-cell-property-get-handle): New macro.
17133 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17134 New aliases, used for code readability.
17135 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17136 cycle detection.
17137 (ses-self-reference-early-detection): New defcustom.
17138 (ses-formula-references): Robustify against self-referring cells.
17139 (ses-mode): Use ses-set-localvars.
17140 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17141 before lauching the update processing.
17142 (ses-initialize-Dijkstra-attempt): New function.
17143 (ses-recalculate-cell): Update for cycle detection based on
17144 Dijkstra algorithm.
17145
17146 * ses.el: Fix commenting and indenting convention.
17147
17148 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17149
17150 * bs.el (bs-cycle-next): Complete last change.
17151
17152 2011-06-27 Drew Adams <drew.adams@oracle.com>
17153
17154 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17155
17156 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17157
17158 * net/network-stream.el (network-stream-open-starttls):
17159 Don't re-get capabilities unless we've reestablished connection.
17160 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17161
17162 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17163 to binary to possibly avoid line encoding issues on Windows (among
17164 other things).
17165
17166 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17167
17168 * net/network-stream.el (open-network-stream): Return an :error
17169 saying what the problem was, if possible.
17170
17171 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17172 server.
17173
17174 * net/network-stream.el (network-stream-open-starttls): If we
17175 wanted to use STARTTLS, and the server offered it, but we weren't
17176 able to because we had no STARTTLS support, then close the connection.
17177 (open-network-stream): Return an :error element, if present.
17178
17179 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17180
17181 * hl-line.el (hl-line-sticky-flag): Doc fix.
17182 (global-hl-line-sticky-flag): New option (Bug#8323).
17183 (global-hl-line-highlight): Obey it.
17184
17185 * vc/vc.el (vc-revert-show-diff): Default to t.
17186
17187 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17188
17189 * allout-widgets.el (allout-widgets-post-command-business):
17190 Stop decorating intermediate isearch matches. They're not being
17191 undecorated when an isearch is continued past, and isearch
17192 automatically collapses them. This leads to "widget leaks", where
17193 decorated items accumulate in collapsed areas. Lines with lots of
17194 hidden widgets can slow down cursor travel, substantially.
17195 Too much complicated machinery would be needed to ensure undecoration,
17196 so we're doing without this nicety.
17197
17198 (allout-widgets-tally-string): Don't try to do a hash-table-count
17199 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17200 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17201 *Messages* when allout-widgets-maintain-tally is t.
17202
17203 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17204
17205 * window.el (display-buffer-normalize-argument): Rename to
17206 display-buffer-normalize-arguments. Handle special meaning of
17207 LABEL argument. Respect special-display-function when popping up
17208 a new frame. Fix code searching for a window showing the buffer
17209 on another frame.
17210 (display-buffer-normalize-specifiers):
17211 Call display-buffer-normalize-arguments.
17212 (display-buffer-in-window): Don't undedicate the window if its
17213 buffer remains the same.
17214 Reported by Drew Adams <drew.adams@oracle.com>.
17215 (display-buffer-alist): Add choice for same-window macro
17216 specfier.
17217 (display-buffer): Mention special meaning of LABEL argument in
17218 doc-string. Fix quoting. Don't pop up a new frame even as
17219 fallback.
17220
17221 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17222
17223 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17224 avoid deleting the current window in some cases (bug#8911).
17225
17226 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17227
17228 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17229 (Bug#8934)
17230
17231 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17232
17233 * net/network-stream.el (network-stream-open-starttls):
17234 Use built-in TLS support if `gnutls-available-p' is true.
17235 (network-stream-open-tls): Ditto.
17236
17237 2011-06-26 Leo Liu <sdl.web@gmail.com>
17238
17239 * register.el (registerv): New struct.
17240 (registerv-make): New function.
17241 (jump-to-register, describe-register-1, insert-register):
17242 Support the jump-func, print-func and insert-func slot of a registerv
17243 struct. (Bug#8415)
17244
17245 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17246
17247 * vc/vc.el (vc-revert-show-diff): New defcustom.
17248 (vc-diff-internal): New arg specifying diff buffer.
17249 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17250 reuse an existing *vc-diff* buffer (Bug#8927).
17251
17252 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17253
17254 2011-06-26 Glenn Morris <rgm@gnu.org>
17255
17256 * progmodes/f90.el (f90-critical-indent): New option.
17257 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17258 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17259 (f90-mode): Doc fix.
17260 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17261 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17262 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17263 (f90-match-end): Handle block, critical.
17264
17265 2011-06-25 Glenn Morris <rgm@gnu.org>
17266
17267 * calendar/diary-lib.el (diary-included-files): Doc fix.
17268 (diary-include-files): New function, extracted from
17269 diary-include-other-diary-files and diary-mark-included-diary-files.
17270 (diary-include-other-diary-files, diary-mark-included-diary-files):
17271 Just call diary-include-files.
17272 (diary-mark-entries): Reset diary-included-files on first call.
17273
17274 * calendar/diary-lib.el (diary-mark-entries)
17275 (diary-mark-included-diary-files):
17276 Visit included diary-files in temp buffers.
17277
17278 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17279 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17280 (f90-start-block-re, f90-imenu-generic-expression)
17281 (f90-looking-at-program-block-start, f90-no-block-limit):
17282 Add support for submodules.
17283
17284 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17285 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17286
17287 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17288
17289 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17290 buffer-file-type before setting its value, to avoid disastrous
17291 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17292
17293 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17294
17295 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17296
17297 * ses.el (ses-unload-function):
17298 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17299
17300 * proced.el (proced-unload-function):
17301 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17302
17303 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17304
17305 * server.el (server-create-window-system-frame): Add parameters arg.
17306 (server-process-filter): Doc fix. Handle frame-parameters.
17307
17308 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17309
17310 Fix bug#8730, bug#8781.
17311
17312 * loadhist.el (unload--set-major-mode): New function.
17313 (unload-feature): Use it.
17314
17315 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17316 (python-unload-function): New function.
17317
17318 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17319
17320 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17321
17322 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17323
17324 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17325 the candidates list.
17326
17327 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17328
17329 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17330
17331 2011-06-23 Richard Stallman <rms@gnu.org>
17332
17333 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17334 (rmail-variables): Set next-error-move-function.
17335 (rmail-what-message): Take argument POS.
17336 (rmail-next-error-move): New function.
17337
17338 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17339
17340 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17341 messages for adjacent non-terminals.
17342
17343 2011-06-23 Richard Stallman <rms@gnu.org>
17344
17345 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
17346 (rmail-show-message-1): Preserve buffer modified flag.
17347 (rmail-start-mail): Don't specify use of rmail-mail-return;
17348 that's done by mail-bury now.
17349 (rmail-mail-return): Handle arg NEWBUF.
17350
17351 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
17352
17353 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17354 SIZE is a number.
17355
17356 2011-06-23 Martin Rudalics <rudalics@gmx.at>
17357
17358 * window.el (get-lru-window, get-mru-window)
17359 (get-largest-window): Never return a minibuffer window.
17360 (display-buffer-pop-up-window): Fix a bug that could lead to
17361 reusing the minibuffer window.
17362 (display-buffer): Pass original specifier argument to
17363 display-buffer-function instead of the normalized one.
17364 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17365
17366 2011-06-22 Leo Liu <sdl.web@gmail.com>
17367
17368 * minibuffer.el (completing-read-function)
17369 (completing-read-default): Move from minibuf.c.
17370
17371 2011-06-22 Richard Stallman <rms@gnu.org>
17372
17373 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17374 to Rmail even if not started by a special Rmail command.
17375
17376 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17377 Copy the buffer currently showing just one message.
17378
17379 2011-06-22 Roland Winkler <winkler@gnu.org>
17380
17381 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17382 (bibtex-clean-entry): First delete the old key so that a
17383 customized algorithm for generating the new key does not get
17384 confused by the old key.
17385 (bibtex-url): Obey regexp of first step.
17386 (bibtex-search-entries): Do not use add-to-list with local
17387 list-var.
17388
17389 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17390
17391 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17392 stored a user name, then query for the password first, instead of
17393 waiting for SMTP to give an error message and the trying again.
17394
17395 2011-06-22 Lawrence Mitchell <wence@gmx.li>
17396
17397 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17398 BUFFER in call-process.
17399
17400 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17401
17402 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17403 QUIT twice.
17404 (smtpmail-try-auth-methods): Require user name and password from
17405 auth-source.
17406
17407 2011-06-22 Martin Rudalics <rudalics@gmx.at>
17408
17409 * window.el (display-buffer-default-specifiers)
17410 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17411 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
17412 (split-window): Normalize SIDE argument (Bug#8916).
17413
17414 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17415 (special-display-frame-alist, special-display-popup-frame):
17416 Remove duplicate declarations. These are now in window.el.
17417
17418 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17419
17420 * mail/smtpmail.el (smtpmail-via-smtp):
17421 Set :use-starttls-if-possible so that we always use STARTTLS if the
17422 server supports it. SMTP servers that support STARTTLS commonly
17423 require it.
17424
17425 * net/network-stream.el (network-stream-open-starttls): Support
17426 upgrading to STARTTLS always, even if we don't have built-in support.
17427 (open-network-stream): Add the :always-query-capabilities keyword.
17428
17429 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17430 upgrades with `open-network-stream', and rely solely on
17431 auth-source for all credentials. Big changes throughout the file,
17432 but in particular:
17433 (smtpmail-auth-credentials): Remove.
17434 (smtpmail-starttls-credentials): Remove.
17435 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17436 MAIL FROM, too.
17437
17438 * net/network-stream.el (network-stream-open-starttls):
17439 Provide support for client certificates both for external and built-in
17440 STARTTLS.
17441 (auth-source): Require.
17442 (open-network-stream): Document the :client-certificate keyword.
17443 (network-stream-certificate): Change cert-cert to cert and
17444 cert-key to key.
17445
17446 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
17447
17448 * net/tramp-cache.el (top): Don't load the persistency file when
17449 "emacs -Q" has been called.
17450
17451 2011-06-21 Tim Harper <timcharper@gmail.com>
17452
17453 * term/ns-win.el (ns-initialize-window-system):
17454 Set application-specific `ApplePressAndHoldEnabled' system
17455 resource to NO as it is not yet supported by the NS port.
17456
17457 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
17458
17459 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17460 (list-dynamic-libraries): ...not here.
17461
17462 2011-06-21 Leo Liu <sdl.web@gmail.com>
17463
17464 * subr.el (sha1): Implement sha1 using secure-hash.
17465
17466 2011-06-21 Martin Rudalics <rudalics@gmx.at>
17467
17468 * window.el (display-buffer-alist): In default value do not
17469 enforce searching a window on any but the selected frame.
17470 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17471 (display-buffer-select-window): Remove function.
17472 (display-buffer-in-window): When a window on another frame gets
17473 reused, do not select it any more but just raise its frame if
17474 necessary (Bug#8851) and (Bug#8856).
17475 (display-buffer-normalize-options): Handle pop-up-frames related
17476 options more faithfully.
17477 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17478 window if it is on another frame.
17479 (display-buffer-alist, display-buffer-default-specifiers):
17480 Don't make new frame unsplittable by default.
17481 (display-buffer-normalize-argument): Fix doc-string typo and use
17482 'same-frame-other-window instead of 'other-window when associating
17483 with display-buffer-macro-specifiers.
17484
17485 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17486
17487 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17488 New functions.
17489 (5x5-mode-map, 5x5-mode-menu): Bind them.
17490 (5x5-draw-grid): Tweak the solver's rendering.
17491
17492 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17493
17494 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17495 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17496
17497 2011-06-21 Drew Adams <drew.adams@oracle.com>
17498
17499 * menu-bar.el: Use function variable instead of switch-to-buffer.
17500 (menu-bar-select-buffer-function): New variable.
17501 (menu-bar-update-buffers): Use it (bug#8876).
17502
17503 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17504
17505 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17506 variable's status.
17507
17508 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17509
17510 * x-dnd.el (x-dnd-version-from-flags)
17511 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17512 and long as number (Bug#8899).
17513 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17514
17515 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17516
17517 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
17518 (completion-try-completion, completion-all-completions): Compute the
17519 metadata argument if it's missing; make it optional (bug#8795).
17520
17521 * wid-edit.el: Use lex-bind and move towards completion-at-point.
17522 (widget-complete): Use new :completion-function property.
17523 (widget-completions-at-point): New function.
17524 (default): Use :completion-function instead of :complete.
17525 (widget-default-completions): Rename from widget-default-complete;
17526 Rewrite.
17527 (widget-string-complete, widget-file-complete, widget-color-complete):
17528 Remove functions.
17529 (file, symbol, function, variable, coding-system, color):
17530 * international/mule-cmds.el (default-input-method, charset)
17531 (language-info-custom-alist):
17532 * cus-edit.el (face): Use new property :completions.
17533
17534 * progmodes/pascal.el (pascal-completions-at-point): New function.
17535 (pascal-mode): Use it.
17536 (pascal-mode-map): Use completion-at-point.
17537 (pascal-toggle-completions): Make obsolete.
17538 (pascal-complete-word, pascal-show-completions):
17539 * progmodes/octave-mod.el (octave-complete-symbol):
17540 Redefine as obsolete alias.
17541 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17542 Signal absence of completion info for old Octave,
17543 (inferior-octave-complete): Redefine as obsolete alias.
17544 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17545 (meta-completions-at-point): Rename from meta-complete-symbol and
17546 adapt it for use on completion-at-point-functions.
17547 (meta-common-mode): Use it.
17548 (meta-looking-at-backward, meta-match-buffer): Remove.
17549 (meta-complete-symbol): Redefine as obsolete alias.
17550 (meta-common-mode-map): Use completion-at-point.
17551 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17552 (makefile-mode-map): Use completion-at-point.
17553 (makefile-completions-at-point): Rename from makefile-complete and
17554 adapt it for use on completion-at-point-functions.
17555 (makefile-mode): Use it.
17556 (makefile-complete): Redefine as obsolete alias.
17557
17558 2011-06-20 Deniz Dogan <deniz@dogan.se>
17559
17560 * net/rcirc.el: Delete trailing whitespaces once and for all.
17561
17562 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17563
17564 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17565
17566 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
17567
17568 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17569
17570 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17571
17572 2011-06-19 Martin Rudalics <rudalics@gmx.at>
17573
17574 * window.el (display-buffer-other-window-means-other-frame):
17575 Call display-buffer-normalize-alist.
17576 (display-buffer-normalize-specifiers-1): Rename to
17577 display-buffer-normalize-argument. New argument other-frame.
17578 Rewrite.
17579 (display-buffer-normalize-specifiers-2): Rename to
17580 display-buffer-normalize-options.
17581 (display-buffer-normalize-alist-1): New function.
17582 (display-buffer-normalize-specifiers-3): Rename to
17583 display-buffer-normalize-alist.
17584 Call display-buffer-normalize-alist-1.
17585 (display-buffer-normalize-options-inhibit): New variable.
17586 (display-buffer-normalize-specifiers): Rewrite calling
17587 display-buffer-normalize-alist,
17588 display-buffer-normalize-argument, and
17589 display-buffer-normalize-options. Don't call the latter if
17590 display-buffer-normalize-options-inhibit is non-nil.
17591 (frame-auto-delete): New option.
17592 (window-deletable-p): Use frame-auto-delete.
17593 (window-list-no-nils, window-state-ignored-parameters)
17594 (window-state-get-1, window-state-get, window-state-put-list)
17595 (window-state-put-1, window-state-put-2, window-state-put):
17596 New functions.
17597 (display-buffer-normalize-options): Move special-display-p group
17598 after pop-up-frame group (Bug#8851) and (Bug#8856).
17599
17600 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
17601
17602 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17603 groups (Bug#8776).
17604 (rx-submatch-n): New function.
17605 (rx): Document it.
17606
17607 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17608 (Bug#8768).
17609
17610 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17611
17612 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17613
17614 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17615 anytime existing face settings are present (Bug#8889).
17616
17617 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17618 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17619 Remove unused argument.
17620
17621 2011-06-18 Martin Rudalics <rudalics@gmx.at>
17622
17623 * window.el (display-buffer-default-specifiers):
17624 Remove pop-up-frame. Add pop-up-window-min-height,
17625 pop-up-window-min-width, and another reuse-window specifier
17626 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
17627 (display-buffer-normalize-specifiers-2):
17628 Handle split-height-threshold and split-width-threshold also when
17629 pop-up-windows is unset. Add a reuse-window specifier for the
17630 case popping up a new window fails.
17631 (special-display-popup-frame): Remove double quoting.
17632 (display-buffer-normalize-specifiers-1): Fix thinko.
17633
17634 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17635
17636 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17637 according to comint-completion-addsuffix.
17638
17639 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17640 (pcomplete-suffix-list): Mark as obsolete.
17641 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17642 pcomplete-seen in the closure.
17643 (pcomplete-comint-setup): Setup completion-at-point as well.
17644 (pcomplete--entries): New function.
17645 (pcomplete--env-regexp): New var.
17646 (pcomplete-entries): Rewrite to work with partial-completion and
17647 without relying on pcomplete-suffix-list.
17648 (pcomplete-pare-list): Remove, unused.
17649
17650 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17651
17652 * window.el (display-buffer-alist): Set pop-up-window-min-height
17653 and pop-up-window-min-width in default value. Reported by
17654 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17655 other-window-means-other-frame.
17656 (display-buffer-macro-specifiers): Comment out entry for
17657 other-window specifier.
17658 (display-buffer-other-window-means-other-frame): New function.
17659 (display-buffer-normalize-specifiers-1): New arguments
17660 buffer-name and label. Treat other-window case specially.
17661 (display-buffer-normalize-specifiers-2): Treat other-window case
17662 specially.
17663 (display-buffer-normalize-specifiers-3): New function.
17664 (display-buffer-normalize-specifiers):
17665 Call display-buffer-normalize-specifiers-3.
17666
17667 2011-06-17 Martin Rudalics <rudalics@gmx.at>
17668
17669 * window.el (same-window-p): Fix two typos introduced when
17670 adding with-no-warnings.
17671 (display-buffer-normalize-specifiers-1): Don't check
17672 pop-up-frames for 'unset initialization.
17673 (display-buffer-normalize-specifiers-2): Major rewrite using
17674 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17675 (pop-up-frames, display-buffer-reuse-frames)
17676 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17677 Suggested by David Engster <deng@randomsample.de>.
17678 (even-window-heights): Initialize to 'unset.
17679 (display-buffer-alist-set): Handle new 'unset initializations.
17680 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17681 other window case.
17682
17683 2011-06-16 Martin Rudalics <rudalics@gmx.at>
17684
17685 * window.el (display-buffer-normalize-specifiers-1):
17686 Respect current value of pop-up-frames for most reasonable values of
17687 second argument of display-buffer (Bug#8865).
17688 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17689 (switch-to-buffer-other-window-same-frame)
17690 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17691 Adams (Bug#8875).
17692 (display-buffer): Don't check noninteractive when calling
17693 display-buffer-pop-up-frame.
17694 (display-buffer-pop-up-frame): Never pop up a frame in
17695 noninteractive mode (Bug#8857).
17696 (enlarge-window, shrink-window): Don't report an error when the
17697 window can't be resized as requested (Bug#8862).
17698
17699 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17700
17701 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17702
17703 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17704
17705 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17706
17707 2011-06-15 Alan Mackenzie <acm@muc.de>
17708
17709 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17710 for declarators, disable knr checking to speed up for normal files.
17711 2: Refactor, replacing a sequence of nested if forms by a cond form.
17712
17713 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17714
17715 * net/network-stream.el (open-network-stream): Add the keyword
17716 :always-query-capabilities for the case where you want to force a
17717 `plain' network connection, but the protocol still requires the
17718 capabilitiy command (i.e., SMTP and EHLO).
17719
17720 * subr.el (process-live-p): Rename from `process-alive-p' for
17721 consistency with other `-live-p' functions.
17722
17723 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17724
17725 * window.el (same-window-buffer-names, same-window-regexps)
17726 (special-display-frame-alist, special-display-popup-frame)
17727 (special-display-function, special-display-buffer-names)
17728 (special-display-regexps, pop-up-frame-alist)
17729 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17730 (pop-up-windows, split-window-preferred-function)
17731 (split-height-threshold, split-width-threshold, even-window-heights)
17732 (display-buffer-mark-dedicated): Don't encourage the use of
17733 display-buffer-alist from Elisp code.
17734
17735 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17736
17737 * progmodes/python.el (python-mode): Derive from prog-mode.
17738 * progmodes/ps-mode.el (ps-mode):
17739 * progmodes/mixal-mode.el (mixal-mode):
17740 * progmodes/cfengine.el (cfengine-mode):
17741 * progmodes/ld-script.el (ld-script-mode): Likewise.
17742
17743 2011-06-15 Martin Rudalics <rudalics@gmx.at>
17744
17745 * window.el (display-buffer-alist): Trim default value to avoid
17746 popping up a new frame (Bug#8857) or reusing an arbitrary window
17747 on another frame.
17748 (display-buffer): Do not fall back on popping up a new frame in
17749 batch mode (Bug#8857).
17750
17751 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17752
17753 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17754 (custom-theme-summary): New function.
17755 (customize-themes): Use it.
17756
17757 2011-06-13 Glenn Morris <rgm@gnu.org>
17758
17759 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17760
17761 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17762
17763 * help.el (help-window): Remove variable.
17764 (help-window-point-marker, temp-buffer-max-height)
17765 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17766 (help-print-return-message): Don't set help-window.
17767 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17768 (help-window-setup-finish): Remove.
17769 (help-window-display-message, help-window-setup)
17770 (with-help-window): Major rewrite based on new
17771 display-buffer-window variable.
17772
17773 * help-mode.el (help-mode-finish): Remove help-window related
17774 code.
17775
17776 * view.el (view-exits-all-viewing-windows): Remove reference to
17777 view-return-to-alist in doc-string.
17778 (view-return-to-alist): Make obsolete.
17779 (view-buffer): Call pop-to-buffer-same-window and remove
17780 undo-window code.
17781 (view-buffer-other-window): Call pop-to-buffer-other-window and
17782 simplify code. Ignore second argument.
17783 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17784 simplify code. Ignore second argument.
17785 (view-return-to-alist-update): Make obsolete.
17786 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17787 Rewrite using quit-restore window parameters.
17788 (view-mode-exit): Rename second argument to EXIT-ONLY.
17789 Rewrite using quit-restore-window.
17790 (View-exit, View-exit-and-edit, View-leave, View-quit)
17791 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17792 appropriate arguments.
17793 (view-end-message): Use quit-restore window parameter.
17794
17795 * window.el (display-buffer-function): Rewrite doc-string.
17796 (display-buffer-window, display-buffer-alist): New variables.
17797 (display-buffer-split-specifiers)
17798 (display-buffer-side-specifiers)
17799 (display-buffer-macro-specifiers): New constants.
17800 (display-buffer-even-window-sizes, display-buffer-set-height)
17801 (display-buffer-set-width, display-buffer-select-window)
17802 (display-buffer-in-window, display-buffer-reuse-window)
17803 (display-buffer-split-window-1, display-buffer-split-window)
17804 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17805 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17806 (display-buffer-in-side-window, normalize-buffer-to-display)
17807 (display-buffer-normalize-specifiers-1)
17808 (display-buffer-normalize-specifiers-2)
17809 (display-buffer-normalize-specifiers, display-buffer-frame):
17810 New functions.
17811 (display-buffer): Major rewrite.
17812 (display-buffer-other-window, display-buffer-other-frame)
17813 (pop-to-buffer, switch-to-buffer-other-window)
17814 (switch-to-buffer-other-frame): Rewrite.
17815 (display-buffer-same-window, display-buffer-same-frame)
17816 (display-buffer-same-frame-other-window)
17817 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17818 (pop-to-buffer-other-window)
17819 (pop-to-buffer-same-frame-other-window)
17820 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17821 (switch-to-buffer-other-window-same-frame): New functions.
17822 (same-window-p, special-display-p): Rewrite disabling warnings.
17823 Make obsolete.
17824 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17825 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17826 Make obsolete
17827 (same-window-buffer-names, same-window-regexps)
17828 (special-display-frame-alist, special-display-popup-frame)
17829 (special-display-function, special-display-buffer-names)
17830 (special-display-regexps, pop-up-frame-alist)
17831 (pop-up-frame-function, split-window-preferred-function)
17832 (split-height-threshold, split-width-threshold)
17833 (even-window-heights): Make obsolete.
17834
17835 2011-06-12 Glenn Morris <rgm@gnu.org>
17836
17837 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17838 Misc simplifications.
17839
17840 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17841
17842 * window.el (window-safely-shrinkable-p): Restore function which
17843 was inadvertently removed in change from 2011-06-11. Declare as
17844 obsolete.
17845
17846 * calendar/calendar.el (calendar-generate-window):
17847 Use window-iso-combined-p instead of combination of one-window-p and
17848 window-safely-shrinkable-p.
17849
17850 2011-06-12 Glenn Morris <rgm@gnu.org>
17851
17852 * progmodes/fortran.el (fortran-mode-syntax-table):
17853 * progmodes/f90.el (f90-mode-syntax-table):
17854 Set % to punctuation. (Bug#8820)
17855 (f90-find-tag-default): Remove, no longer needed.
17856
17857 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17858
17859 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17860
17861 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17862
17863 * image.el (image-animated-p): Return animation delay in seconds.
17864 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17865 (image-animate-timeout): Remove DELAY argument. Don't assume
17866 every subimage has the same delay; get it from image-animated-p.
17867 (image-animate): Caller changed.
17868
17869 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17870
17871 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17872 to ignored backtrace functions.
17873
17874 2011-06-11 Glenn Morris <rgm@gnu.org>
17875
17876 * calendar/appt.el (appt-disp-window-function): Doc fix.
17877 (appt-check): Handle overlapping appointments. (Bug#8337)
17878
17879 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17880
17881 * window.el (window-tree-1, window-tree): New functions, moving
17882 the latter to window.el.
17883 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17884 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17885 (bw-refresh-edges): Remove.
17886 (balance-windows-1, balance-windows-2): New functions.
17887 (balance-windows): Rewrite in terms of window tree functions,
17888 balance-windows-1 and balance-windows-2.
17889 (bw-adjust-window): Remove.
17890 (balance-windows-area-adjust): New function with functionality of
17891 bw-adjust-window but using resize-window.
17892 (set-window-text-height): Rewrite doc-string.
17893 Use normalize-live-window and resize-window.
17894 (enlarge-window-horizontally, shrink-window-horizontally):
17895 Rename argument to DELTA.
17896 (window-buffer-height): New function.
17897 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17898 Rewrite using new window resize routines.
17899 (kill-buffer-and-window, mouse-autoselect-window-select):
17900 Use ignore-errors instead of condition-case.
17901 (quit-window): Call delete-frame instead of delete-windows-on
17902 for the only buffer on frame.
17903
17904 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17905
17906 * loadup.el (top-level): Load window before files for the sake
17907 of replace-buffer-in-windows.
17908
17909 * files.el (read-buffer-to-switch)
17910 (switch-to-buffer-other-window)
17911 (switch-to-buffer-other-frame, display-buffer-other-frame):
17912 Move to window.el.
17913
17914 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17915 (previous-buffer): Move to window.el.
17916
17917 * bindings.el (unbury-buffer): Move to window.el.
17918
17919 * window.el (delete-other-windows-vertically): Move after
17920 definition of delete-other-windows.
17921 (other-window, delete-windows-on, replace-buffer-in-windows):
17922 Move here from window.c.
17923 (record-window-buffer, unrecord-window-buffer)
17924 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17925 (switch-to-next-buffer): New functions.
17926 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17927 from simple.el. Call switch-to-next-buffer.
17928 (previous-buffer): Move here from simple.el.
17929 Call switch-to-prev-buffer.
17930 (bury-buffer): Move here from buffer.c. Switch to previous
17931 buffer when window cannot be deleted.
17932 (unbury-buffer): Move here from bindings.el.
17933 (ctl-x-map): Move binding for other-window from window.c to
17934 here.
17935 (read-buffer-to-switch, switch-to-buffer-other-window)
17936 (switch-to-buffer-other-frame): Move here from files.el.
17937 (normalize-buffer-to-switch-to): New functions.
17938 (switch-to-buffer): Move here from buffer.c.
17939 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17940
17941 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17942
17943 * window.el (window-min-height, window-min-width): Move here
17944 from window.c. Add defcustoms and rewrite doc-strings.
17945 (resize-mini-window, resize-window): New functions.
17946 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17947 Move here from window.c.
17948 (maximize-window, minimize-window): New functions.
17949 (delete-window, delete-other-windows, split-window): Move here
17950 from window.c.
17951 (window-split-min-size): New function.
17952 (split-window-keep-point): Mention split-window-above-each-other
17953 instead of split-window-vertically.
17954 (split-window-above-each-other, split-window-vertically):
17955 Rename split-window-vertically to split-window-above-each-other
17956 and provide defalias for old definition.
17957 (split-window-side-by-side, split-window-horizontally):
17958 Rename split-window-horizontally to split-window-side-by-side
17959 and provide defalias for the old definition.
17960 (ctl-x-map): Move bindings for delete-window,
17961 delete-other-windows and enlarge-window here from window.c.
17962 Replace bindings for split-window-vertically and
17963 split-window-horizontally by bindings for
17964 split-window-above-each-other and split-window-side-by-side.
17965
17966 * cus-start.el (all): Remove entries for window-min-height and
17967 window-min-width. Add entries for window-splits and
17968 window-nest.
17969
17970 2011-06-09 Glenn Morris <rgm@gnu.org>
17971
17972 * calendar/appt.el (appt-mode-line): New function.
17973 (appt-check, appt-disp-window): Use it.
17974
17975 * files.el (hack-one-local-variable-eval-safep):
17976 Allow minor-modes with explicit +/-1 arguments.
17977
17978 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17979
17980 * term/xterm.el (xterm): Add defgroup.
17981 (xterm-extra-capabilities): Add defcustom to supply known xterm
17982 capabilities, skip querying them, or query them (default).
17983 (terminal-init-xterm): Use it.
17984 (terminal-init-xterm-modify-other-keys): New function to set up
17985 modifyOtherKeys support to simplify `terminal-init-xterm'.
17986
17987 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17988
17989 * window.el (resize-window-reset, resize-window-reset-1)
17990 (resize-subwindows-skip-p, resize-subwindows-normal)
17991 (resize-subwindows, resize-other-windows, resize-this-window)
17992 (resize-root-window, resize-root-window-vertically)
17993 (window-deletable-p, window-or-subwindow-p)
17994 (frame-root-window-p): New functions.
17995
17996 2011-06-09 Glenn Morris <rgm@gnu.org>
17997
17998 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17999 (ange-ftp-get-files): Use it.
18000
18001 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18002
18003 * mail/sendmail.el (mail-recover-1, mail-recover):
18004 * files.el (recover-file, recover-session):
18005 Handle dired-listing-switches not being just a single short option.
18006
18007 2011-06-09 Glenn Morris <rgm@gnu.org>
18008
18009 * calendar/appt.el (appt-display-message, appt-disp-window):
18010 Handle lists of appointments.
18011
18012 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18013
18014 * window.el (one-window-p): Move down in code.
18015 Rewrite doc-string.
18016 (window-current-scroll-bars): Rewrite doc-string.
18017 Normalize live window argument.
18018 (walk-windows, get-window-with-predicate, count-windows):
18019 Rewrite doc-string. Use window-list-1.
18020 (window-in-direction-2, window-in-direction, get-mru-window):
18021 New functions.
18022
18023 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18024
18025 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18026 Doc fix (Bug#8713).
18027
18028 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18029
18030 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18031
18032 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18033
18034 * loadhist.el (unload-feature-special-hooks):
18035 Add `comint-output-filter-functions'.
18036
18037 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18038
18039 * calendar/appt.el (appt-check): Move some initializations into the let.
18040
18041 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18042
18043 * window.el (window-height): Defalias to window-total-height.
18044 (window-width): Defalias to window-body-width.
18045
18046 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18047
18048 * image-mode.el (image-toggle-animation): New command.
18049 (image-mode-map): Bind it to RET.
18050 (image-mode): Update message.
18051 (image-toggle-display-image): Avoid a spurious cache flush.
18052 (image-transform-rotation): Doc fix.
18053 (image-transform-properties): Return quickly in the normal case.
18054 (image-animate-loop): Rename from image-animate-max-time.
18055
18056 * image.el (image-animate-max-time): Move to image-mode.el.
18057 (create-animated-image): Remove unnecessary function.
18058 (image-animate): Rename from image-animate-start. New arg.
18059 (image-animate-stop): Remove; just use image-animate-timer.
18060 (image-animate-timer): Use car-safe.
18061 (image-animate-timeout): Rename argument.
18062
18063 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18064
18065 * window.el (get-lru-window, get-largest-window): Move here from
18066 window.c. Rename first argument to ALL-FRAMES.
18067 Rephrase doc-strings.
18068 (get-buffer-window-list): Rewrite using window-list-1.
18069 Rephrase doc-string.
18070 (window-safe-min-height, window-safe-min-width): New constants.
18071 (window-size-ignore, window-min-size, window-min-size-1)
18072 (window-sizable, window-sizable-p, window-size-fixed-1)
18073 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18074 (window-max-delta-1, window-max-delta, window-resizable)
18075 (window-resizable-p, window-total-height, window-total-width)
18076 (window-body-width): New functions.
18077 (window-full-height-p, window-full-width-p): Rewrite using
18078 window-total-size.
18079 (window-body-height): Rewrite using window-body-size.
18080
18081 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18082
18083 * window.el (window-right, window-left, window-child)
18084 (window-child-count, window-last-child, window-any-p)
18085 (normalize-live-buffer, normalize-live-frame)
18086 (normalize-any-window, normalize-live-window)
18087 (window-iso-combination-p, window-iso-combined-p)
18088 (window-iso-combinations)
18089 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18090 (windows-with-parameter, window-with-parameter)
18091 (window-atom-root, make-window-atom, window-atom-check-1)
18092 (window-atom-check, window-side-check, window-check):
18093 New functions.
18094 (ignore-window-parameters, window-sides, window-sides-vertical)
18095 (window-sides-slots): New variables.
18096 (window-size-fixed): Move down in code. Minor doc-string fix.
18097
18098 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18099
18100 * comint.el (comint-dynamic-complete-as-filename)
18101 (comint-dynamic-complete-filename): Correctly call
18102 completion-in-region.
18103
18104 2011-06-05 Deniz Dogan <deniz@dogan.se>
18105
18106 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18107 in last change.
18108
18109 2011-06-05 Deniz Dogan <deniz@dogan.se>
18110
18111 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18112 (rcirc): Use it to prompt for encryption.
18113
18114 2011-06-05 Roland Winkler <winkler@gnu.org>
18115
18116 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18117 (bibtex-search-entries): New command bound to C-c C-a.
18118 (bibtex-display-entries): New function.
18119
18120 2011-06-05 Roland Winkler <winkler@gnu.org>
18121
18122 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18123 (bibtex-insert-kill): After yanking insert newline if necessary.
18124 (bibtex-initialize): Call bibtex-string-files-init only once.
18125 (bibtex-mode): Do not call easy-menu-add.
18126 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18127 (bibtex-yank): Set arg properly if nil.
18128
18129 2011-06-05 Roland Winkler <winkler@gnu.org>
18130
18131 * textmodes/bibtex.el (bibtex-search-entry-globally):
18132 New variable.
18133 (bibtex-search-entry): Use it.
18134
18135 2011-06-05 Roland Winkler <winkler@gnu.org>
18136
18137 * textmodes/bibtex.el (bibtex-entry-format): New option
18138 sort-fields.
18139 (bibtex-format-entry, bibtex-reformat): Honor this option.
18140 (bibtex-parse-entry): Return fields in proper order.
18141
18142 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18143
18144 * doc-view.el (doc-view-remove-if): Move computation of result out
18145 of `dolist' to silence misleading lexical-binding warning.
18146
18147 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18148
18149 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18150 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18151
18152 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18153
18154 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18155 "SunOS 5.10".
18156
18157 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18158
18159 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18160 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18161 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18162 (tramp-parse-putty):
18163 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18164 (tramp-completion-function-alist-ssh)
18165 (tramp-completion-function-alist-telnet)
18166 (tramp-completion-function-alist-su)
18167 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18168 cookie.
18169
18170 * net/tramp-ftp.el:
18171 * net/tramp-sh.el:
18172 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18173 load "tramp.el" `tramp-set-completion-function'.
18174
18175 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18176
18177 * shell.el: Require and use pcomplete.
18178 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18179 (shell-completion-vars): Set pcomplete-default-completion-function.
18180
18181 2011-06-04 Deniz Dogan <deniz@dogan.se>
18182
18183 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18184 `memq' (Bug#8799).
18185
18186 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18187
18188 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18189
18190 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18191
18192 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18193 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18194 * vc/log-view.el (log-view-beginning-of-defun):
18195 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18196 (smerge-refine-forward, smerge-refine-chopup-region):
18197 Silence warning for unused `dotimes' counter variables.
18198
18199 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18200
18201 * net/tramp.el (tramp-with-progress-reporter): Rename from
18202 with-progress-reporter. Use `declare'.
18203 * net/tramp-smb.el:
18204 * net/tramp-sh.el:
18205 * net/tramp-gvfs.el: Update all uses.
18206
18207 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18208
18209 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18210 buffer isn't killed before making it current.
18211
18212 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18213
18214 Silence various byte-compiler warnings.
18215 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18216 `access-type' and new obsolescence format.
18217 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18218 new format.
18219 (byte-compile-check-variable): New `access-type' argument.
18220 Only warn if the access-type is obsolete.
18221 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18222 (byte-compile-variable-set): Adjust callers.
18223 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18224 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18225 setting it as obsolete.
18226 * simple.el (minibuffer-completing-symbol):
18227 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18228 access as obsolete.
18229 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18230 obsolete yet.
18231 * international/quail.el (quail-mouse-choose-completion): Remove unused
18232 code referring to obsolete var.
18233 (quail-choose-completion-string): Remove.
18234 * server.el (server-clients-with, server-kill-buffer-query-function)
18235 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18236 * proced.el (proced-send-signal):
18237 * emacs-lisp/lisp.el (lisp-complete-symbol):
18238 Replace completion-annotate-function with completion-extra-properties.
18239
18240 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18241
18242 * simple.el (goto-line): Use read-number.
18243 (overriding-map-is-bound): Remove.
18244 (saved-overriding-map): Change default.
18245 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18246 Take the map as argument.
18247 (universal-argument, negative-argument, digit-argument): Use it.
18248 (restore-overriding-map): Adjust.
18249 (do-auto-fill): Use fill-forward-paragraph.
18250 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18251
18252 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18253 (minibuffer-inactive-mode): New major mode.
18254 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18255 the *Messages* buffer" hack.
18256 (mouse-popup-menubar): Don't burp if the event is a normal key.
18257
18258 Miscellaneous tweaks.
18259 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18260 lexical scoping as in subr.el's dolist and dotimes.
18261 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18262 Silence compiler warning.
18263 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18264 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18265 * international/ccl.el (ccl-compile): Trivial simplification.
18266 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18267 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18268 `printflag' argument.
18269 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18270 Purecopy the whole obsolescence data.
18271
18272 2011-06-01 Leo Liu <sdl.web@gmail.com>
18273
18274 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18275 improve doc-string as suggested by Marco Pessotto
18276 <melmothx@gmail.com>.
18277 (rcirc-print): Fix last change.
18278
18279 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18280
18281 * minibuffer.el (complete-with-action): Return nil for the metadata and
18282 boundaries of non-functional tables.
18283 (completion-table-dynamic): Return nil for the metadata.
18284 (completion-table-with-terminator): Add default case, using
18285 complete-with-action.
18286 (completion--metadata): New function.
18287 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18288 to try and avoid pathological performance problems.
18289 (completion--embedded-envvar-table): Return `category' metadata.
18290
18291 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18292
18293 * subr.el (process-alive-p): New tiny convenience function.
18294
18295 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18296
18297 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18298 content but also its previous major mode.
18299
18300 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18301
18302 * emacs-lisp/debug.el (debug): Restore the previous content of the
18303 *Backtrace* buffer when we exit with C-M-c.
18304
18305 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18306
18307 * minibuffer.el: Add metadata method to completion tables.
18308 (completion-category-overrides): New defcustom.
18309 (completion-metadata, completion--field-metadata)
18310 (completion-metadata-get, completion--styles)
18311 (completion--cycle-threshold): New functions.
18312 (completion-try-completion, completion-all-completions):
18313 Add `metadata' argument to choose completion-styles.
18314 (completion--do-completion): Use metadata to choose cycling.
18315 (completion-all-sorted-completions): Use metadata for sorting.
18316 Remove :completion-cycle-penalty which is not needed any more.
18317 (completion--try-word-completion): Add `metadata' argument.
18318 (minibuffer-completion-help): Check metadata for annotation function
18319 and sorting.
18320 (completion-file-name-table): Return `category' metadata.
18321 (minibuffer-completing-file-name): Make obsolete.
18322 * simple.el (minibuffer-completing-symbol): Make obsolete.
18323 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18324 completion-try-completion.
18325
18326 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18327
18328 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18329
18330 2011-05-30 Leo Liu <sdl.web@gmail.com>
18331
18332 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18333 (rcirc-print): Decode all incoming messages (bug#8744).
18334 (rcirc-decode-coding-system): Allow value nil for automatic coding
18335 system detection.
18336
18337 2011-06-01 Glenn Morris <rgm@gnu.org>
18338
18339 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18340
18341 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18342
18343 * image.el (image-animate-max-time): Allow nil and t values.
18344 Default to nil.
18345 (create-animated-image): Doc fix.
18346 (image-animate-start): Remove second arg; just use
18347 image-animate-max-time.
18348 (image-animate-timeout): Doc fix. Args changed.
18349
18350 * image-mode.el (image-toggle-display-image): Ensure that the
18351 image spec passed to the animate timer is the same object as in
18352 the buffer's display property (Bug#6981).
18353 (image-transform-properties): Doc fix.
18354
18355 * image.el (image-animate-max-time): Default to nil.
18356
18357 2011-05-29 Martin Rudalics <rudalics@gmx.at>
18358
18359 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18360 entire buffer list (Bug#8184).
18361
18362 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18363
18364 * image.el (imagemagick-types-inhibit)
18365 (imagemagick-register-types): Doc fix.
18366
18367 2011-05-29 Deniz Dogan <deniz@dogan.se>
18368
18369 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18370 default.
18371
18372 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18373
18374 * select.el: Don't perform clipboard-manager saving in hooks;
18375 leave the hooks empty.
18376
18377 2011-05-28 Leo Liu <sdl.web@gmail.com>
18378
18379 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18380 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18381 (occur-edit-mode): New major mode (Bug#8463).
18382 (occur-after-change-function): New function.
18383 (occur-engine): Give Occur tags a read-only property.
18384
18385 2011-05-28 Kevin Ryde <user42@zip.com.au>
18386
18387 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18388
18389 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18390
18391 * bindings.el (help-echo): Make the initial non-indicator dash
18392 empty on graphical terminals (Bug#7295).
18393
18394 * files.el (auto-mode-alist): Move config rule after the
18395 in-stripping one (Bug#8547).
18396
18397 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18398
18399 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18400 setting (Bug#8740).
18401
18402 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18403
18404 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18405 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18406 (Bug#8539).
18407
18408 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18409
18410 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18411
18412 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18413
18414 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18415 (hs-hide-block-at-point, hs-find-block-beginning)
18416 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18417 (Bug#8279).
18418
18419 2011-05-28 Glenn Morris <rgm@gnu.org>
18420
18421 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18422
18423 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
18424
18425 * help-fns.el (describe-function-1): If the function is a derived
18426 major mode, print the parent mode.
18427
18428 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18429 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18430
18431 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18432
18433 * minibuffer.el (completion--capf-wrapper): Check applicability before
18434 returning non-nil for non-exclusive completion data.
18435 * progmodes/etags.el (tags-completion-at-point-function):
18436 * info-look.el (info-lookup-completions-at-point): Mark as
18437 non-exclusive.
18438 (info-complete): Adjust accordingly.
18439
18440 * info-look.el: Convert to lexical-binding and completion-at-point.
18441 (info-lookup-completions-at-point): New function.
18442 (info-complete): Use it and completion-in-region.
18443
18444 2011-05-28 Drew Adams <drew.adams@oracle.com>
18445
18446 * isearch.el: Let M-e start with point at the first mismatched char.
18447 (isearch-fail-pos): New function.
18448 (isearch-edit-string): Use it.
18449
18450 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18451
18452 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18453
18454 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
18455
18456 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18457 traversal functions for avl-trees.
18458 (avl-tree--stack): New struct.
18459 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18460 (avl-tree-enter): Add optional `updatefun' arg.
18461 (avl-tree--do-enter): Add optional `updatefun' arg.
18462 Change return value.
18463 (avl-tree-delete): Add optional `test' and `nilflag' args.
18464 (avl-tree--do-delete): Add `test' and `nilflag' args.
18465 Change return value.
18466 (avl-tree-member): Add optional `nilflag'
18467 (avl-tree-member-p): New function.
18468 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18469 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18470 (avl-tree-stack-empty-p): New functions.
18471
18472 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18473 avl-tree--del-balance1 and make it work both ways.
18474 (avl-tree--del-balance2): Remove.
18475 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18476 make it work both ways.
18477 (avl-tree--enter-balance2): Remove.
18478 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18479 New macros.
18480 (avl-tree--mapc, avl-tree-map): Add direction argument.
18481
18482 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
18483
18484 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18485
18486 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
18487
18488 * select.el: Support clipboard managers with built-in function
18489 x-clipboard-manager-save, via delete-frame-functions and
18490 kill-emacs-hook.
18491 (xselect-convert-to-targets): Add MULTIPLE target to list.
18492 (xselect-convert-to-save-targets): New function.
18493
18494 2011-05-27 Kenichi Handa <handa@m17n.org>
18495
18496 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18497 let-binding rfc2047-encode-encoded-words to nil.
18498
18499 2011-05-27 Glenn Morris <rgm@gnu.org>
18500
18501 * mail/emacsbug.el: Don't require url-util.
18502
18503 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18504
18505 * files.el (set-auto-mode):
18506 Also respect mode: entries at the end of the file. (Bug#8586)
18507
18508 2011-05-26 Glenn Morris <rgm@gnu.org>
18509
18510 * files.el (hack-local-variables-prop-line, hack-local-variables):
18511 Downcase mode names, as seems to be traditional.
18512 (hack-local-variables, hack-local-variables-apply): Doc fixes.
18513
18514 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18515 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18516
18517 2011-05-25 Julien Danjou <julien@danjou.info>
18518
18519 * textmodes/rst.el (rst-define-level-faces): Do not define face
18520 symbol if it is already defined.
18521
18522 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18523
18524 * play/5x5.el (5x5-new-game, 5x5-randomize):
18525 Reset 5x5-solver-output to nil when a new grid is cast.
18526 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18527 these debugging traces, as defmacro breaks the compiled code.
18528
18529 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18530
18531 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18532
18533 2011-05-24 Leo Liu <sdl.web@gmail.com>
18534
18535 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18536 (vc-bzr-sha1): Adapt.
18537
18538 * sha1.el: Remove. Function `sha1' is now builtin.
18539
18540 * bindings.el: Provide sha1 feature.
18541
18542 2011-05-24 Kenichi Handa <handa@m17n.org>
18543
18544 * mail/sendmail.el: Require `rfc2047'.
18545 (mail-insert-from-field): Do not perform RFC2047 encoding.
18546 (mail-encode-header): New function.
18547 (sendmail-send-it): Set buffer-file-coding-system of the work
18548 buffer to the return value of select-message-coding-system.
18549 Call mail-encode-header.
18550
18551 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18552
18553 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
18554
18555 * mail/supercite.el (sc-default-cite-frame):
18556 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
18557
18558 2011-05-24 Glenn Morris <rgm@gnu.org>
18559
18560 * progmodes/python.el (brm-menu): Declare.
18561
18562 * emulation/viper.el (viper-set-hooks): Declare.
18563
18564 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18565 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18566 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18567 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18568 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18569 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18570
18571 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18572
18573 Add an :exit-function for completion-at-point.
18574
18575 * minibuffer.el (completion--done): New fun.
18576 (completion--do-completion): Use it. New arg `expect-exact'.
18577 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18578 since completion--do-completion does it for us now.
18579 (minibuffer-force-complete): Use completion--done and
18580 completion--replace. Handle sole-completion case with more care.
18581 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18582 (completion-extra-properties): New var.
18583 (completion-annotate-function): Make obsolete.
18584 (minibuffer-completion-help): Adjust accordingly.
18585 Use completion-list-insert-choice-function.
18586 (completion-at-point, completion-help-at-point):
18587 Bind completion-extra-properties.
18588 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18589 * simple.el (completion-list-insert-choice-function): New var.
18590 (completion-setup-function): Preserve it.
18591 (choose-completion): Pay attention to it, shuffle the code a bit.
18592 (choose-completion-string): New arg `insert-function'.
18593
18594 * textmodes/bibtex.el: Convert to lexical binding.
18595 (bibtex-mode-map): Use completion-at-point.
18596 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18597 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18598 (bibtex-complete): Define as obsolete alias.
18599 (bibtex-complete-internal): Remove.
18600 (bibtex-format-entry): Remove unused sub-group in regexp.
18601 * shell.el (shell--command-completion-data)
18602 (shell-environment-variable-completion):
18603 * pcomplete.el (pcomplete-completions-at-point):
18604 * comint.el (comint--complete-file-name-data): Use :exit-function
18605 instead of completion-table-with-terminator so it also works for
18606 choose-completion.
18607
18608 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18609
18610 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18611
18612 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18613 (bug#8710).
18614
18615 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18616
18617 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18618
18619 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18620 customization variable and implement: If non-nil, auto-fill will
18621 be inhibited while on topic's header line.
18622
18623 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18624
18625 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
18626 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
18627 always have a solution in grid size = 5 cases.
18628 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18629 (5x5-solver-output, 5x5-log-buffer): New vars.
18630 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18631 Make these variables buffer local to achieve 5x5 multi-session-ness.
18632 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18633 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18634 (5x5-solve-suggest): New funs.
18635 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18636 randomize a grid so that we ensure that there is always a solution.
18637 (5x5-make-random-grid): Allow other movement than flipping.
18638
18639 2011-05-23 Kevin Ryde <user42@zip.com.au>
18640
18641 * emacs-lisp/advice.el (ad-read-advised-function):
18642 Use `function-called-at-point' as the default, if it has
18643 advice and passes PREDICATE.
18644
18645 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18646
18647 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18648 byte-compile-lambda if it's actually a lambda.
18649
18650 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18651 Fix function quoting. Use backquote better.
18652
18653 2011-05-22 Yuanle Song <sylecn@gmail.com>
18654
18655 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18656 matching (Bug#8516).
18657
18658 2011-01-22 Jari Aalto <jari.aalto@cante.net>
18659
18660 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18661 different face (Bug#8178).
18662
18663 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
18664
18665 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18666 defface (Bug#8144).
18667
18668 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18669
18670 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18671 funcall as well (bug#8712). Warn when performing those conversions.
18672 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18673
18674 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18675
18676 2011-05-22 Glenn Morris <rgm@gnu.org>
18677
18678 * files.el (hack-local-variables-prop-line): Small simplifications.
18679 (hack-local-variables, hack-local-variables-prop-line):
18680 If MODE-ONLY, return the mode, rather than just `t'.
18681
18682 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18683
18684 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18685
18686 2011-05-21 Glenn Morris <rgm@gnu.org>
18687
18688 * files.el (hack-local-variables-prop-line, hack-local-variables):
18689 If only interested in the mode, don't bother doing the other stuff.
18690
18691 * image-mode.el (image-after-revert-hook):
18692 Redraw all frames on which the image is visible. (Bug#8567)
18693
18694 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18695
18696 * wid-edit.el (widget-checklist-match-inline):
18697 Fix 2011-04-19 change. (Bug#8649)
18698
18699 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18700
18701 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18702 Also allow singlespace after single-letter capitals followed by a dot.
18703
18704 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18705 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18706
18707 2011-05-20 Nix <nix@esperi.org.uk>
18708
18709 * files.el (basic-save-buffer-2):
18710 Fix handling of break-hardlink-on-save with non-existent files.
18711
18712 2011-05-19 Deniz Dogan <deniz@dogan.se>
18713
18714 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18715 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18716
18717 2011-05-19 Glenn Morris <rgm@gnu.org>
18718
18719 * progmodes/f90.el (f90-type-def-re):
18720 Handle "type, bind(c)". (Bug#8691)
18721
18722 * emacs-lisp/autoload.el (batch-update-autoloads):
18723 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18724
18725 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
18726
18727 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18728 property for the correct connection in case of multihops.
18729
18730 2011-05-18 Glenn Morris <rgm@gnu.org>
18731
18732 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18733 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18734
18735 Rationalize calendar handling of day and month abbrev-arrays.
18736 * calendar/calendar.el (calendar-customized-p): New function.
18737 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18738 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18739 Add :set function.
18740 (calendar-abbrev-length, calendar-day-abbrev-array)
18741 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18742 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18743 Elements may no longer be nil.
18744 (calendar-day-name, calendar-month-name):
18745 Update for changed nature of abbrev arrays.
18746 * calendar/diary-lib.el (diary-name-pattern):
18747 Update for changed nature of abbrev arrays.
18748 (diary-mark-entries-1): Update calendar-make-alist calls.
18749 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18750 * calendar/cal-html.el (cal-html-day-abbrev-array):
18751 Simply inherit from calendar-day-abbrev-array.
18752
18753 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18754
18755 * progmodes/grep.el (grep-mode): Disable default
18756 compilation-directory-matcher setting (bug#8684).
18757
18758 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18759
18760 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18761 instead of "head" and "tail". There were problems with SunOS 5.9,
18762 and it performs better.
18763
18764 2011-05-17 Glenn Morris <rgm@gnu.org>
18765
18766 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18767
18768 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18769 Replace obsolete function.
18770
18771 * shell.el (pcomplete-parse-arguments-function): Declare.
18772
18773 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18774 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18775 (appt-check): Doc fixes.
18776 (appt-disp-window-function, appt-delete-window-function):
18777 Remove needless special case in custom :type.
18778 (appt-display-count): Default to 0, not nil.
18779 (appt-check): Reset appt-display-count to 0, not nil.
18780
18781 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18782
18783 * progmodes/python.el (python-font-lock-keywords):
18784 Add the Python 3.X keyword "nonlocal" (bug#8639).
18785
18786 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18787
18788 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18789
18790 2011-05-16 Kevin Ryde <user42@zip.com.au>
18791
18792 * info-look.el (makefile-automake-mode): New setups, looking in
18793 automake manual, then makefile-mode.
18794 (makefile-mode): Remove automake manual, have it just in
18795 makefile-automake-mode since there's various things different or
18796 not relevant to plain make.
18797 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18798 believe a hypothetical automake-mode would go to makefile-mode,
18799 not the other way around.
18800
18801 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18802
18803 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18804 hunk-end tags (Bug#8672).
18805
18806 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18807 vc-annotate-show-diff-revision-at-line (Bug#8671).
18808
18809 2011-05-14 Glenn Morris <rgm@gnu.org>
18810
18811 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18812 in the middle of an existing one with multiple authors. (Bug#8645)
18813 (change-log-font-lock-keywords): Also handle multiple author lines
18814 with leading tabs. (Bug#8644)
18815
18816 * calendar/appt.el (appt-check): Rename some local variables.
18817 Some simplification/reordering.
18818
18819 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18820 (feedmail-sendmail-f-doesnt-sell-me-out)
18821 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18822 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18823 (feedmail-queue-runner-message-sender): Set :version.
18824 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18825 (bbdb-dwim-net-address, vm-mail): Declare.
18826 (feedmail-binmail-gnulinuxish-template):
18827 Rename from feedmail-binmail-linuxish-template.
18828 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18829 Use insert-buffer-substring.
18830
18831 2011-05-14 Bill Carpenter <bill@carpenter.org>
18832
18833 * mail/feedmail.el (feedmail-patch-level): Increase.
18834 (feedmail-debug): New custom group.
18835 (feedmail-confirm-outgoing-timeout)
18836 (feedmail-sendmail-f-doesnt-sell-me-out)
18837 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18838 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18839 (feedmail-sender-line, feedmail-from-line)
18840 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18841 (feedmail-spray-this-address)
18842 (feedmail-spray-address-fiddle-plex-list)
18843 (feedmail-queue-use-send-time-for-date)
18844 (feedmail-queue-use-send-time-for-message-id)
18845 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18846 (feedmail-buffer-eating-function):
18847 Doc fixes.
18848 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18849 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18850 (feedmail-message-action-scroll-down): New functions.
18851 (feedmail-queue-directory, feedmail-queue-draft-directory):
18852 Use expand-file-name.
18853 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18854 Remove C-v help entry.
18855 (feedmail-queue-buffer-file-name): New variable.
18856 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18857 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18858 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18859 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18860 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18861 (feedmail-message-action-toggle-spray)
18862 (feedmail-run-the-queue-no-prompts)
18863 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18864 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18865 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18866 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18867 (feedmail-envelope-deducer, feedmail-fiddle-from)
18868 (feedmail-fiddle-sender, feedmail-default-date-generator)
18869 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18870 (feedmail-fiddle-spray-address)
18871 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18872 (feedmail-fiddle-list-of-fiddle-plexes)
18873 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18874 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18875 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18876 Change default. Doc fix.
18877 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18878 (feedmail-binmail-linuxish-template): New constant.
18879 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18880 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18881 (feedmail-send-it): Add debug call.
18882 Use feedmail-queue-buffer-file-name, and
18883 feedmail-send-it-immediately-wrapper.
18884 (feedmail-message-action-send): Add debug call.
18885 Use feedmail-send-it-immediately-wrapper.
18886 (feedmail-queue-express-to-queue): Add debug call.
18887 Run feedmail-queue-express-hook.
18888 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18889 (feedmail-message-action-help-blat):
18890 Rename from feedmail-queue-send-edit-prompt-help-first.
18891 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18892 Check line-endings. Handle errors better.
18893 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18894 Doc fix. Add debug call.
18895 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18896 Use feedmail-queue-send-edit-prompt-inner.
18897 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18898 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18899 from feedmail-queue-send-edit-prompt.
18900 (feedmail-queue-send-edit-prompt-help)
18901 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18902 (feedmail-tidy-up-slug): Add debug call.
18903 Respect feedmail-queue-slug-suspect-regexp.
18904 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18905 (feedmail-dump-message-to-queue): Add debug call.
18906 Expand queue-directory.
18907 (feedmail-dump-message-to-queue): Change message slightly.
18908 Use feedmail-say-chatter.
18909 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18910 (feedmail-send-it-immediately-wrapper): New function.
18911 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18912 Insert empty string rather than newline. Handle full-frame case.
18913 Use catch/throw. Use feedmail-say-chatter.
18914 (feedmail-fiddle-from): Try mail-host-address.
18915 (feedmail-default-message-id-generator): Doc fix.
18916 Bind system-time-locale. Handle missing end.
18917 (feedmail-fiddle-x-mailer): Add debug call.
18918 Handle feedmail-x-mailer-line being nil.
18919 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18920 Add debug call. Use buffer-substring-no-properties.
18921 (feedmail-say-debug, feedmail-say-chatter): New functions.
18922 (feedmail-find-eoh): Give an explicit error.
18923
18924 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18925
18926 * net/newst-treeview.el (newsticker-treeview-face): Change default
18927 family from helvetica to sans.
18928 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18929 etc/images/newsticker.
18930
18931 * net/newst-reader.el (newsticker-feed-face): Change default
18932 family from helvetica to sans.
18933
18934 * net/newst-plainview.el (newsticker-new-item-face)
18935 (newsticker-old-item-face, newsticker-immortal-item-face)
18936 (newsticker-obsolete-item-face, newsticker-date-face)
18937 (newsticker-statistics-face): Change default family from
18938 helvetica to sans.
18939 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18940 etc/images/newsticker.
18941
18942 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18943 (newsticker--process-auto-mark-filter-match): Tell user about
18944 auto-marking.
18945
18946 2011-05-13 Didier Verna <didier@xemacs.org>
18947
18948 Common Lisp indentation improvements on defmethod and lambda-lists.
18949 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18950 TODO entries.
18951 (lisp-lambda-list-keyword-parameter-indentation)
18952 (lisp-lambda-list-keyword-parameter-alignment)
18953 (lisp-lambda-list-keyword-alignment): New customizable user options.
18954 (lisp-indent-defun-method): Improve docstring.
18955 (extended-loop-p): Fix comment.
18956 (lisp-indent-lambda-list-keywords-regexp): New variable.
18957 (lisp-indent-lambda-list): New function.
18958 (lisp-indent-259): Use it.
18959 (lisp-indent-defmethod): Support for more than one
18960 method qualifier and properly indent methods lambda-lists.
18961 (defgeneric): Provide a missing common-lisp-indent-function property.
18962
18963 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18964
18965 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18966 bounds for the empty string (bug#8667).
18967
18968 2011-05-13 Glenn Morris <rgm@gnu.org>
18969
18970 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18971
18972 * mail/sendmail.el (sendmail-program): Try executable-find first.
18973 (sendmail-send-it): `sendmail-program' cannot be unbound.
18974
18975 * calendar/appt.el (appt-make-list): Simplify.
18976 (appt-time-msg-list): Doc fix.
18977 (appt-check): Change mode-line message at the time of the appointment.
18978
18979 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18980
18981 * progmodes/ld-script.el (ld-script-keywords)
18982 (ld-script-builtins): Update keywords list.
18983
18984 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18985
18986 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18987
18988 * shell.el (shell-completion-vars): New function.
18989 (shell-mode):
18990 * simple.el (read-shell-command): Use it.
18991 (blink-matching-open): No need for " [...]" in minibuffer-message.
18992
18993 2011-05-12 Glenn Morris <rgm@gnu.org>
18994
18995 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18996 (appt-check): Simplify.
18997
18998 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18999
19000 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19001 literal "/dev/null".
19002
19003 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19004
19005 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19006 Fix typo.
19007
19008 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19009
19010 * progmodes/which-func.el (which-function):
19011 Use add-log-current-defun instead of add-log-current-defun-function,
19012 which might not be defined (Bug#8260).
19013
19014 2011-05-12 Glenn Morris <rgm@gnu.org>
19015
19016 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19017 Let byte-compile-initial-macro-environment always take precedence.
19018
19019 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19020
19021 * net/rcirc.el: Add support for SSL/TLS connections.
19022 (rcirc-server-alist): New field `encryption'.
19023 (rcirc): Check `encryption' settings.
19024 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19025 Merge make-local-variable into `set'.
19026 (rcirc--connection-open-p): New function.
19027 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19028 the process is not a network process (e.g. running gnutls-cli).
19029 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19030 Make rcirc-(en|de)code-coding-system local here.
19031 (rcirc-mode): Merge make-local-variable into `set'.
19032 (rcirc-parent-buffer): Make permanent buffer-local.
19033 (rcirc-multiline-minor-mode): Don't do it here.
19034 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19035 there's no server buffer.
19036
19037 2011-05-11 Glenn Morris <rgm@gnu.org>
19038
19039 * newcomment.el (comment-kill): Prefix "unused" local.
19040
19041 * term/w32console.el (get-screen-color): Declare.
19042
19043 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19044 Handle symbol elements of byte-compile-initial-macro-environment.
19045
19046 2011-05-10 Leo Liu <sdl.web@gmail.com>
19047
19048 * bookmark.el (bookmark-bmenu-mode-map):
19049 Bind bookmark-bmenu-search to `/'.
19050
19051 * mail/footnote.el: Convert to utf-8 encoding.
19052 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19053 (Footnote-unicode): New function.
19054 (footnote-style-alist): Add unicode style to the list.
19055 (footnote-style): Doc fix.
19056
19057 2011-05-10 Jim Meyering <meyering@redhat.com>
19058
19059 Fix doubled-word typos.
19060 * international/quail.el (quail-insert-kbd-layout): and and -> and
19061 * kermit.el: and and -> and
19062 * net/ldap.el (ldap-search-internal): to to -> to
19063 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19064 * progmodes/js.el (js-mode): and and -> and
19065 * textmodes/artist.el (artist-move-to-xy): at at -> at
19066 (artist-draw-region-trim-line-endings): if if -> if
19067 And Safetyc -> Safety.
19068 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19069
19070 2011-05-10 Glenn Morris <rgm@gnu.org>
19071 Stefan Monnier <monnier@iro.umontreal.ca>
19072
19073 * files.el (hack-one-local-variable-eval-safep):
19074 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19075
19076 2011-05-10 Glenn Morris <rgm@gnu.org>
19077
19078 * calendar/diary-lib.el (diary-list-entries-hook)
19079 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19080 (diary-nongregorian-marking-hook, diary-list-entries)
19081 (diary-include-other-diary-files, diary-mark-entries)
19082 (diary-mark-included-diary-files): Doc fixes.
19083
19084 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19085
19086 * misc.el: Require tabulated-list.el during compilation.
19087
19088 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19089
19090 * progmodes/compile.el (compilation-start):
19091 Run compilation-filter-hook for the async case too.
19092 (compilation-filter-hook): Doc fix.
19093
19094 2011-05-09 Deniz Dogan <deniz@dogan.se>
19095
19096 * wdired.el: Remove outdated installation comment. Fix usage
19097 comment.
19098
19099 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19100
19101 * misc.el: Implement new command `list-dynamic-libraries'.
19102 (list-dynamic-libraries--loaded-only-p): New variable.
19103 (list-dynamic-libraries--refresh): New function.
19104 (list-dynamic-libraries): New command.
19105
19106 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19107
19108 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19109 Fix the ant regexp to handle end-line and end-column info from jikes.
19110 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19111 higher priority to avoid clobbering by gnu.
19112
19113 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19114
19115 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19116 if the face has existing theme settings (Bug#8454).
19117
19118 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19119
19120 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19121 Only match variables declared via `my' or `our' (Bug#8261).
19122
19123 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19124 special file names `.' and `..' (Bug#8259).
19125
19126 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19127
19128 * progmodes/grep.el (grep-mode-font-lock-keywords):
19129 Remove buffer-changing entries.
19130 (grep-filter): New function.
19131 (grep-mode): Add it to compilation-filter-hook.
19132
19133 * progmodes/compile.el (compilation-filter-hook)
19134 (compilation-filter-start): New defvars.
19135 (compilation-filter): Call compilation-filter-hook prior to
19136 updating the process mark.
19137
19138 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19139
19140 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19141
19142 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19143
19144 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19145 mailclient-send-it even if window-system is nil. (Bug#8595)
19146
19147 * term/w32console.el (terminal-init-w32console):
19148 Call get-screen-color and use its output to set the frame
19149 background-mode. (Bug#8597)
19150
19151 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19152
19153 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19154 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19155 New functions.
19156 (defgeneric, eieio--defmethod): Use them.
19157 (eieio-defgeneric): Remove.
19158 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19159
19160 2011-05-07 Glenn Morris <rgm@gnu.org>
19161
19162 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19163 Use let rather than let*.
19164 (timeclock-find-discrep): Remove unused local.
19165
19166 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19167
19168 * calendar/appt.el (appt-time-msg-list): Doc fix.
19169
19170 2011-05-06 Noah Friedman <friedman@splode.com>
19171
19172 * apropos.el (apropos-print-doc): Only use
19173 emacs-lisp-docstring-fill-column when it is bound to an integer,
19174 per that variable's documentation.
19175
19176 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19177
19178 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19179 and warnings are not silently discarded (e.g. use -d instead of -P).
19180
19181 2011-05-06 Glenn Morris <rgm@gnu.org>
19182
19183 * calendar/appt.el (appt-message-warning-time): Doc fix.
19184 (appt-warning-time-regexp): New option.
19185 (appt-make-list): Respect appt-message-warning-time.
19186
19187 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19188 New options.
19189 (diary-add-to-list): Strip comments from the displayed string.
19190 (diary-mode): Set comment-start and comment-end.
19191
19192 * vc/diff-mode.el (smerge-refine-subst): Declare.
19193 (diff-refine-hunk): Don't require smerge-mode when compiling.
19194
19195 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19196
19197 * simple.el (list-processes): Return nil as the docstring says.
19198
19199 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19200
19201 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19202 to "".
19203 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19204 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19205 determining of binary transfer. (Bug#7383)
19206
19207 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19208
19209 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19210 Fix port computation bug. (Bug#8618)
19211
19212 2011-05-05 Glenn Morris <rgm@gnu.org>
19213
19214 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19215
19216 * simple.el (shell-dynamic-complete-functions)
19217 (comint-dynamic-complete-functions): Declare.
19218
19219 * net/network-stream.el (gnutls-negotiate):
19220 * simple.el (tabulated-list-print): Fix declarations.
19221
19222 * progmodes/gud.el (syntax-symbol, syntax-point):
19223 Remove unnecessary and incorrect declarations.
19224
19225 * emacs-lisp/check-declare.el (check-declare-scan):
19226 Handle byte-compile-initial-macro-environment in bytecomp.el.
19227
19228 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19229
19230 Fix earlier half-done eieio-defmethod change (bug#8338).
19231 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19232 Streamline and change calling convention.
19233 (defmethod): Adjust accordingly and simplify.
19234 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19235 new eieio--defmethod.
19236 (slot-boundp): Minor CSE simplification.
19237
19238 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19239
19240 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19241 (glasses-make-readable): Use glasses-separate-capital-groups.
19242
19243 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19244
19245 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19246 (warning-series): Doc fix.
19247 (display-warning): Don't try to create the buffer if we just found it.
19248
19249 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19250
19251 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19252 (autoload-find-generated-file): New function.
19253 (generate-file-autoloads): Bind generated-autoload-file to
19254 buffer-file-name.
19255 (update-file-autoloads, update-directory-autoloads):
19256 Use autoload-find-generated-file. If called interactively, prompt for
19257 output file (Bug#7989).
19258 (batch-update-autoloads): Doc fix.
19259
19260 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19261
19262 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19263
19264 2011-05-04 Glenn Morris <rgm@gnu.org>
19265
19266 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19267 function, so it follows changes in calendar-date-style.
19268 (diary-fancy-date-matcher): New function.
19269 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19270 (diary-fancy-font-lock-fontify-region-function):
19271 Use diary-fancy-date-pattern as a function.
19272
19273 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19274 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19275
19276 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19277
19278 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19279 instead of positional arguments. Allow :keylist and :crlfiles
19280 arguments.
19281 (open-gnutls-stream): Call it.
19282
19283 * net/network-stream.el (network-stream-open-starttls): Adjust to
19284 call `gnutls-negotiate' with :process and :hostname arguments.
19285
19286 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19287
19288 * minibuffer.el (completion--message): New function.
19289 (completion--do-completion, minibuffer-complete)
19290 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19291 (completion--do-completion): Don't ignore completion-auto-help when in
19292 icomplete-mode.
19293
19294 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19295 internal encoding (e.g. tibetan zero is not whitespace).
19296 (global-whitespace-mode): Prefer save-current-buffer.
19297 (whitespace-trailing-regexp): Remove useless save-match-data.
19298 (whitespace-empty-at-bob-regexp): Minor simplification.
19299
19300 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19301
19302 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19303
19304 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19305
19306 * textmodes/ispell.el (ispell-add-per-file-word-list):
19307 Use `concat' to create string for insertion.
19308
19309 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19310
19311 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19312 Avoid open-line which runs post-self-insert-hook.
19313 (bibtex-fill-entry): Remove unused `end' var.
19314
19315 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19316
19317 * textmodes/ispell.el (ispell-add-per-file-word-list):
19318 Protect against `nil' value of `comment-start' (Bug#8579).
19319
19320 2011-05-03 Leo Liu <sdl.web@gmail.com>
19321
19322 * isearch.el (isearch-yank-pop): New command.
19323 (isearch-mode-map): Bind it to `M-y'.
19324 (isearch-forward): Mention it.
19325
19326 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19327
19328 * simple.el (minibuffer-complete-shell-command): Remove.
19329 (minibuffer-local-shell-command-map): Use completion-at-point.
19330 (read-shell-command): Setup completion vars here instead.
19331 (read-expression-map): Bind TAB to symbol completion.
19332
19333 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19334 error directly rather via storing it into `results'.
19335
19336 2011-05-02 Leo Liu <sdl.web@gmail.com>
19337
19338 * vc/diff.el: Fix description.
19339
19340 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19341
19342 * server.el (server-eval-at): New function.
19343
19344 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19345
19346 * net/network-stream.el (open-network-stream): Take a :nowait
19347 parameter and pass it on to `make-network-process'.
19348 (network-stream-open-plain): Ditto.
19349
19350 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19351
19352 * faces.el (face-spec-set-match-display): Don't match toolkit
19353 options on terminal frames.
19354
19355 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19356
19357 * progmodes/pascal.el: Use lexical binding.
19358 (pascal-mode-map): Remove author preferences.
19359
19360 * pcomplete.el (pcomplete-std-complete): Don't abuse
19361 completion-at-point.
19362
19363 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19364
19365 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19366 removing code that has been dead since 1991 or so.
19367
19368 * startup.el (command-line): When warning about "_emacs", use a
19369 delayed warning to allow the user to filter it out.
19370
19371 2011-04-28 Deniz Dogan <deniz@dogan.se>
19372
19373 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19374 user has not joined.
19375
19376 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19377
19378 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19379 aren't any completions at point.
19380
19381 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
19382
19383 * subr.el (display-delayed-warnings): New function.
19384 (delayed-warnings-hook): New variable.
19385
19386 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19387
19388 * minibuffer.el (completion-at-point, completion-help-at-point):
19389 Don't presume that a given completion-at-point-function will always
19390 use the same calling convention.
19391
19392 * pcomplete.el (pcomplete-completions-at-point):
19393 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19394 pcomplete-seen is non-nil.
19395 (pcomplete-comint-setup): Also recognize the new comint/shell
19396 completion functions.
19397 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19398 pcomplete-seen is non-nil.
19399
19400 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
19401
19402 * calendar/icalendar.el (diary-lib): Add require statement.
19403 (icalendar--create-uid): Read out a uid from a text-property on
19404 the first character in the entry. This allows for code to add its
19405 own uid to the entry.
19406 (icalendar--convert-float-to-ical): Add export of
19407 `diary-float'-entries save for those with the optional DAY
19408 argument.
19409
19410 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19411
19412 * subr.el (shell-quote-argument): Use alternate escaping strategy
19413 when we spot a variable reference in a string.
19414
19415 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19416
19417 * cus-start.el (all): Define customization for debug-on-event.
19418
19419 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19420
19421 * subr.el (shell-quote-argument): Escape correctly under Windows.
19422
19423 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19424
19425 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19426
19427 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
19428
19429 * net/tramp.el (tramp-process-actions): Add POS argument.
19430 Delete region between POS and (pos).
19431
19432 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19433 Use `nil' position in `tramp-process-actions' call.
19434 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19435
19436 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19437 position in `tramp-process-actions' call.
19438
19439 * net/trampver.el: Update release number.
19440
19441 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19442
19443 * custom.el (defcustom): Obey lexical-binding.
19444
19445 Fix octave-inf completion problems reported by Alexander Klimov.
19446 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19447 Inherit from octave-mode-syntax-table.
19448 (inferior-octave-mode): Set info-lookup-mode.
19449 (inferior-octave-completion-at-point): New function.
19450 (inferior-octave-complete): Use it and completion-in-region.
19451 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19452 comint-filename-completion.
19453 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19454 symbol elements which shouldn't be word elements.
19455 (octave-font-lock-keywords, octave-beginning-of-defun)
19456 (octave-function-header-regexp): Adjust regexps accordingly.
19457 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19458
19459 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
19460
19461 * net/gnutls.el (gnutls-errorp): Declare before first use.
19462
19463 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19464
19465 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19466 verify-error, and verify-hostname-error parameters. Check whether
19467 default trustfile exists before going to use it. Add missing
19468 argument to gnutls-message-maybe call. Return value.
19469 Reported by Claudio Bley <claudio.bley@gmail.com>.
19470 (open-gnutls-stream): Add usage example.
19471
19472 * net/network-stream.el (network-stream-open-starttls): Give host
19473 parameter to `gnutls-negotiate'.
19474 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
19475 * subr.el (shell-quote-argument): Escape correctly under Windows.
19476
19477 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
19478
19479 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19480 Use correct match group (bug#8438).
19481
19482 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19483
19484 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19485 (package-menu--generate): New arg specifying packages to show.
19486 (package-menu-refresh, package-menu-execute, list-packages):
19487 Callers changed.
19488 (package-show-package-list): New function, replacing deleted
19489 package--list-packages (renamed because it is non-internal).
19490
19491 * finder.el (finder-list-matches): Use package-show-package-list
19492 instead of deleted package--list-packages.
19493
19494 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19495 Based on a previous implementation by Juanma Barranquero (Bug#8366).
19496 (vc-annotate-mode-map): Bind it to RET.
19497
19498 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19499
19500 * progmodes/etags.el (next-file): Don't use set-buffer to change
19501 buffers (Bug#8478).
19502
19503 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
19504
19505 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19506
19507 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19508 (apropos-accumulator): Doc fix.
19509 (apropos-function, apropos-macro, apropos-command)
19510 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19511 (apropos-plist): Add face property.
19512 (apropos-symbols-internal): Fix indentation.
19513 (apropos-print): Simplify help, and recognize apropos-multi-type.
19514 (apropos-print-doc): Use button-type-get to extract the button's
19515 face property. Fill docstring (Bug#8352).
19516
19517 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
19518
19519 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19520
19521 * play/mpuz.el (mpuz-silent): Doc fix.
19522 (mpuz-mode-map): Use mapc.
19523 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19524 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19525 Fix typos in docstrings.
19526
19527 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19528 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19529
19530 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19531
19532 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
19533
19534 * minibuffer.el (completion--do-completion): Avoid the "Next char
19535 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19536
19537 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19538 mouse-2 into unread-command-events, it is interpreted correctly.
19539
19540 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
19541 (image-toggle-display): Doc fix.
19542
19543 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
19544
19545 * textmodes/page.el (what-page): Use line-number-at-pos to
19546 calculate line number (Bug#6825).
19547
19548 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19549
19550 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19551 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19552 Pass argument NO-DEFAULT to `find-tag-interactive'.
19553
19554 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
19555
19556 Lexical-binding cleanup.
19557
19558 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19559 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19560 * progmodes/ada-prj.el (ada-prj-initialize-values)
19561 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19562 (ada-prj-show-value):
19563 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19564 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19565 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19566 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19567 * progmodes/bug-reference.el (bug-reference-push-button):
19568 * progmodes/fortran.el (fortran-line-length):
19569 * progmodes/glasses.el (glasses-change):
19570 * progmodes/octave-mod.el (octave-fill-paragraph):
19571 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19572 (python-pdbtrack-grub-for-buffer, python-sentinel):
19573 * progmodes/sql.el (sql-save-connection):
19574 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19575 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19576 Mark unused parameters.
19577
19578 * progmodes/compile.el (compilation--flush-directory-cache)
19579 (compilation--flush-parse, compile-internal): Mark unused parameters.
19580 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19581 (compilation-next-error-function): Remove unused variable `timestamp'.
19582
19583 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19584 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19585
19586 * progmodes/dcl-mode.el (dcl-end-of-command):
19587 Remove unused variable `start'.
19588 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19589 (dcl-option-value-basic, dcl-option-value-offset)
19590 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19591 Mark unused parameters.
19592 (dcl-save-local-variable): Remove unused variable `val'.
19593 (mode): Declare.
19594
19595 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19596 Mark unused parameters.
19597 (delphi-ignore-changes): Move before first use.
19598 (delphi-charset-token-at): Remove unused variable `start'.
19599 (delphi-else-start): Remove unused variable `if-count'.
19600 (delphi-comment-block-start, delphi-comment-block-end):
19601 Remove unused variable `kind'.
19602 (delphi-indent-line): Remove unused variable `new-point'.
19603
19604 * progmodes/ebrowse.el (ebrowse-files-list)
19605 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19606 Mark unused parameters. Don't quote `lambda'.
19607 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19608 Don't quote `lambda'.
19609 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19610 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19611 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19612 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19613 Use `ignore-errors'.
19614 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19615 (ebrowse-view/find-file-and-search-pattern)
19616 (ebrowse-view/find-member-declaration/definition):
19617 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19618 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19619 Rename parameter PREFIX-ARG to PREFIX.
19620 (ebrowse-tags-read-name): Remove unused variables `start' and
19621 `member-info'.
19622 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19623 to `tags-file'.
19624
19625 * progmodes/etags.el (local-find-tag-hook): Declare.
19626 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19627 Mark unused parameters.
19628
19629 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19630 (executable-interpret): Mark unused parameter.
19631
19632 * progmodes/flymake.el (flymake-process-sentinel)
19633 (flymake-after-change-function)
19634 (flymake-create-temp-with-folder-structure)
19635 (flymake-get-include-dirs-dot): Mark unused parameters.
19636 (flymake-safe-delete-directory): Remove unused variable `err'.
19637
19638 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19639 (speedbar-timer-fn, speedbar-line-text)
19640 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19641 (speedbar-center-buffer-smartly): Declare functions.
19642 (gdb-find-watch-expression): Remove unused variable `array'.
19643 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19644 (gdb-starting): Mark unused parameters.
19645 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19646 (gdb-table-string): Remove unused variable `res'.
19647 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19648 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19649 (gdb-display-buffer): Remove unused variable `cur-size'.
19650
19651 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19652 allow lexical-binding compilation.
19653 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19654 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19655 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19656 Mark unused parameters.
19657 (gud-gdb-marker-filter): Remove unused variable `match'.
19658 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19659 lambda expressions and funcall them, instead of using `fset'.
19660
19661 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19662 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19663
19664 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19665 variable `header-beg'; use `let'.
19666
19667 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19668 `restart', `last-sexp' and `at-do'.
19669
19670 * progmodes/js.el (js--debug): Mark unused parameter.
19671 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19672 (js--splice-into-items): Remove unused variable `item'.
19673 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19674
19675 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19676 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19677 (makefile-complete): Remove unused variable `try'.
19678 (makefile-fill-paragraph, makefile-match-function-end):
19679 Mark unused parameters.
19680
19681 * progmodes/octave-inf.el (inferior-octave-complete):
19682 Remove unused variable `proc'.
19683 (inferior-octave-output-digest): Mark unused parameter.
19684
19685 * progmodes/perl-mode.el (perl-calculate-indent):
19686 Remove unused variable `err'.
19687
19688 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19689 (prolog-indent-line): Mark unused parameters.
19690 (prolog-indent-line): Remove unused variable `beg'.
19691
19692 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19693 (reporter-dont-compact-list): Declare.
19694
19695 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19696 Remove unused variable `char'.
19697 (sh-debug): Mark unused parameter.
19698 (sh-get-indent-info): Remove unused variable `start'.
19699 (sh-calculate-indent): Remove unused variable `var'.
19700
19701 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19702 (simula-electric-keyword): Remove unused variable `null'.
19703 (simula-search-backward, simula-search-forward): Remove unused
19704 variables `begin' and `end'.
19705
19706 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19707 Remove unused variable `pos'.
19708 (vera-electric-tab, vera-comment-uncomment-region):
19709 Mark unused parameters.
19710 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19711
19712 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
19713
19714 * emacs-lisp/package.el (package--builtins, package-alist)
19715 (package-load-descriptor, package-built-in-p, package-activate)
19716 (define-package, package-installed-p)
19717 (package-compute-transaction, package-buffer-info)
19718 (package--push): Doc fix. Distinguish more clearly between
19719 version strings and version lists.
19720
19721 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
19722
19723 Lexical-binding cleanup.
19724
19725 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19726 (5x5-make-mutate-best):
19727 * play/fortune.el (fortune-in-buffer):
19728 * play/gomoku.el (gomoku-init-display):
19729 * play/solitaire.el (solitaire, solitaire-do-check):
19730 * play/tetris.el (tetris-default-update-speed-function):
19731 Mark unused parameters.
19732
19733 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19734 (bubbles--shift): Remove unused variable `char-org'.
19735 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19736 (bubbles--show-images): Remove unused variable `char'.
19737
19738 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19739 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19740 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19741 (decipher-analyze-buffer): Use ?\s.
19742 (decipher-make-checkpoint): Remove unused variable `mapping'.
19743
19744 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19745
19746 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19747 Remove unused variable `result'; use `let'.
19748
19749 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19750 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19751 (gametree-children-shown-p, gametree-compute-reduced-score):
19752 Use `ignore-errors'.
19753
19754 * play/handwrite.el (ps-lpr-switches): Declare.
19755 (handwrite): Remove unused variables `pmin' and `lastp'.
19756
19757 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19758
19759 * play/landmark.el (landmark-init-display)
19760 (landmark-update-naught-weights): Mark unused parameters.
19761 (landmark-y): Remove unused variable `noise'. Simplify.
19762 (landmark-human-plays): Remove unused variable `score'.
19763
19764 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19765 (mpuz-try-proposal): Remove unused variable `game'.
19766
19767 * play/zone.el (life-patterns): Declare.
19768
19769 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19770
19771 * vc/vc.el (ediff-vc-internal): Declare function.
19772
19773 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19774
19775 * shell.el: Use lexical-binding and std completion UI.
19776 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19777 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19778 comint-preoutput-filter-functions rather than on
19779 comint-output-filter-functions.
19780 (shell-command-completion, shell--command-completion-data)
19781 (shell-filename-completion, shell-environment-variable-completion)
19782 (shell-c-a-p-replace-by-expanded-directory): New functions.
19783 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19784 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19785 (shell-dynamic-complete-environment-variable): Use them.
19786 (shell-dynamic-complete-as-environment-variable)
19787 (shell-dynamic-complete-as-command): Remove.
19788 (shell-match-partial-variable): Match past point.
19789 * comint.el: Clean up use of completion-at-point-functions.
19790 (comint-completion-at-point): New function.
19791 (comint-mode): Use it completion-at-point-functions.
19792 (comint-dynamic-complete): Make it obsolete.
19793 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19794 (comint-c-a-p-replace-by-expanded-history): New function.
19795 (comint-dynamic-complete-functions)
19796 (comint-replace-by-expanded-history): Use it.
19797 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19798 termination strings. Try harder to avoid second try-completion.
19799 (completion-in-region-mode-map): Disable bindings that don't work yet.
19800
19801 * comint.el: Use lexical-binding. Require CL.
19802 (comint-dynamic-complete-functions): Use comint-filename-completion.
19803 (comint-completion-addsuffix): Tweak custom type.
19804 (comint-filename-completion, comint--common-suffix)
19805 (comint--common-quoted-suffix, comint--table-subvert)
19806 (comint--complete-file-name-data): New functions.
19807 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19808 (comint-dynamic-list-filename-completions): Use them.
19809 (comint-dynamic-simple-complete): Make obsolete.
19810
19811 * minibuffer.el (completion-in-region-mode):
19812 Keep completion-in-region-mode--predicate global.
19813 (completion-in-region--postch):
19814 Assume completion-in-region-mode--predicate is not null.
19815
19816 * progmodes/flymake.el (flymake-start-syntax-check-process):
19817 Obey `dir'. Simplify.
19818
19819 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19820 we're in VC after all.
19821
19822 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19823
19824 * vc/vc.el (vc-diff-build-argument-list-internal)
19825 (vc-version-ediff, vc-ediff): New commands.
19826 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19827
19828 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19829
19830 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19831 add sanity check.
19832
19833 * obsolete/erc-hecomplete.el: Make obsolete.
19834 * obsolete/: Standardize obsolescence info in the header.
19835
19836 2011-04-20 Glenn Morris <rgm@gnu.org>
19837
19838 * calendar/solar.el (solar-horizontal-coordinates):
19839 Use the longitude argument rather than `calendar-longitude'.
19840 (solar-date-next-longitude): Remove unused locals.
19841
19842 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19843
19844 * whitespace.el: New version 13.2.1.
19845
19846 2011-04-20 felix <EmacsWiki> (tiny change)
19847
19848 * whitespace.el (global-whitespace-mode): Keep highlight when
19849 switching between major modes on a file.
19850
19851 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19852
19853 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19854 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19855 multi-line comments as well.
19856
19857 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19858
19859 Lexical-binding cleanup.
19860
19861 * arc-mode.el (archive-mode-revert):
19862 * cmuscheme.el (scheme-interactively-start-process):
19863 * custom.el (custom-initialize-delay):
19864 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19865 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19866 * emacs-lock.el (emacs-lock-clear-sentinel):
19867 * ezimage.el (defezimage):
19868 * follow.el (follow-avoid-tail-recenter):
19869 * fringe.el (set-fringe-mode-1):
19870 * generic-x.el (bat-generic-mode-compile):
19871 * help-mode.el (help-info-variable, help-do-xref)
19872 (help-mode-revert-buffer):
19873 * help.el (view-emacs-todo):
19874 * iswitchb.el (iswitchb-completion-help):
19875 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19876 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19877 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19878 * locate.el (locate-update):
19879 * longlines.el (longlines-encode-region)
19880 (longlines-after-change-function):
19881 * outline.el (outline-isearch-open-invisible):
19882 * ps-def.el (declare-function, charset-dimension, char-width)
19883 (encode-char):
19884 * ps-mule.el (ps-mule-plot-string):
19885 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19886 (recentf-edit-list-select, recentf-edit-list-validate)
19887 (recentf-open-files-action):
19888 * rect.el (delete-whitespace-rectangle-line)
19889 (rectangle-number-line-callback):
19890 * register.el (window-configuration-to-register)
19891 (frame-configuration-to-register):
19892 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19893 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19894 (xselect-convert-to-targets, xselect-convert-to-delete)
19895 (xselect-convert-to-filename, xselect-convert-to-charpos)
19896 (xselect-convert-to-lineno, xselect-convert-to-colno)
19897 (xselect-convert-to-os, xselect-convert-to-host)
19898 (xselect-convert-to-user, xselect-convert-to-class)
19899 (xselect-convert-to-name, xselect-convert-to-integer)
19900 (xselect-convert-to-atom, xselect-convert-to-identity):
19901 * subr.el (declare, ignore, process-kill-without-query)
19902 (text-clone-maintain):
19903 * terminal.el (te-get-char, te-tic-sentinel):
19904 * tool-bar.el (tool-bar-make-keymap):
19905 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19906 * type-break.el (type-break-mode, type-break-noninteractive-query):
19907 * view.el (View-back-to-mark):
19908 * wid-browse.el (widget-browse-action, widget-browse-widget)
19909 (widget-browse-widgets, widget-browse-sexp):
19910 * widget.el (define-widget-keywords):
19911 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19912 Mark unused parameters.
19913
19914 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19915 (align-areas): Remove unused variable `look'.
19916 (align-region): Remove unused variables `real-end' and `pos-list'.
19917
19918 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19919
19920 * bindings.el (mode-line-modified, mode-line-remote):
19921 Mark unused parameters.
19922 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19923
19924 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19925 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19926
19927 * comint.el (comint-history-isearch-pop-state)
19928 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19929 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19930 (comint-substitute-in-file-name): Doc fix.
19931
19932 * completion.el (cmpl-statistics-block): Mark unused parameter.
19933 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19934 (save-completions-to-file, load-completions-from-file):
19935 Remove unused local variable `e'.
19936
19937 * composite.el (compose-chars): Remove unused variable `len'.
19938 (lgstring-insert-glyph): Remove unused variable `g'.
19939 (compose-glyph-string): Remove unused variables `ascent',
19940 `descent', `lbearing' and `rbearing'.
19941 (compose-glyph-string-relative): Remove unused variables
19942 `lbearing', `rbearing' and `wadjust'.
19943 (compose-gstring-for-graphic): Remove unused variables `header',
19944 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19945 (compose-gstring-for-terminal): Remove unused variables `header'
19946 and `nchars'. Use `let', not `let*'.
19947
19948 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19949 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19950 (Custom-buffer-done, custom-buffer-create-internal)
19951 (custom-browse-visibility-action, custom-browse-group-tag-action)
19952 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19953 (widget-magic-mouse-down-action, custom-toggle-parent)
19954 (custom-add-parent-links, custom-toggle-hide-variable)
19955 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19956 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19957 (custom-face-menu-create, custom-variable-menu-create, get)
19958 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19959 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19960 (customize-apropos): Remove unused variable `tests'.
19961 (custom-group-value-create): Remove unused variable `hidden-p'.
19962 (sort-fold-case): Declare.
19963
19964 * cus-theme.el (custom-reset-standard-faces-list)
19965 (custom-reset-standard-variables-list): Declare.
19966 (customize-create-theme, custom-theme-revert, custom-theme-write)
19967 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19968 Mark unused parameters.
19969
19970 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19971
19972 * delim-col.el (delimit-columns-max): Move defvar before first use.
19973
19974 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19975 (describe-char): Don't quote `lambda'. Mark unused parameter.
19976
19977 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19978 (auto-insert): Declare.
19979 (desktop-restore-file-buffer): Rename desktop-* parameters;
19980 mark unused ones.
19981 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19982 (desktop-buffer): Rename desktop-* parameters.
19983
19984 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19985 (dframe-reposition-frame-xemacs, dframe-help-echo)
19986 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19987 Mark unused parameters.
19988
19989 * dired-aux.el (backup-extract-version-start, overwrite-query)
19990 (overwrite-backup-query, rename-regexp-query)
19991 (rename-non-directory-query): Declare.
19992 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19993 (dired-add-entry): Remove unused variable `orig-file-name'.
19994 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19995 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19996 `dired-copy-preserve-time' directly.
19997 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19998 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19999
20000 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20001 (dired-virtual-revert, dired-make-relative-symlink):
20002 Mark unused parameters.
20003 (manual-program): Declare.
20004 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20005 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20006 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20007
20008 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20009
20010 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20011
20012 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20013 Declare.
20014
20015 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20016
20017 * electric.el (Electric-command-loop): Rename parameter
20018 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20019
20020 * expand.el (expand-in-literal): Remove unused variable `here'.
20021
20022 * facemenu.el (facemenu-add-new-color):
20023 Remove unused variable `docstring'.
20024
20025 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20026 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20027 (face-attr-construct): Mark unused parameter. Doc fix.
20028 (read-color): Remove unused variable `hex-string'.
20029
20030 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20031 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20032 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20033 (display-buffer-other-frame): Remove unused variable `old-window'.
20034 (kill-buffer-hook): Declare.
20035 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20036 Mark unused parameters.
20037 (after-find-file): Pass 1 to `auto-save-mode', not t.
20038
20039 * files-x.el (auto-insert): Declare.
20040 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20041
20042 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20043 variable `buf'. Mark unused parameter.
20044 (find-lisp-insert-directory): Mark unused parameter.
20045
20046 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20047 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20048 (format-common-tail): Remove, unused.
20049 (format-deannotate-region): Remove unused variable `loc'.
20050 (format-annotate-region): Remove unused variable `p'.
20051 (format-annotate-single-property-change): Remove unused variables
20052 `default' and `tail'.
20053
20054 * forms.el (read-file-filter): Declare.
20055 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20056
20057 * frame.el (frame-creation-function-alist): Mark unused parameter.
20058 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20059
20060 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20061 Remove unused parameters.
20062 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20063 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20064
20065 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20066 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20067 (hfy-prepare-tag-map): Mark unused parameters.
20068 (htmlfontify-buffer): Use `called-interactively-p'.
20069
20070 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20071 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20072 (ibuffer-do-occur): Mark unused parameters.
20073 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20074 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20075
20076 * ibuffer.el: Don't quote `lambda'.
20077 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20078 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20079 Mark unused parameters.
20080
20081 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20082 (ido-completing-read): Mark unused parameters.
20083 (ido-copy-current-word): Mark unused parameters;
20084 remove unused variable `name'.
20085 (ido-sort-merged-list): Remove unused parameter `dirs'.
20086
20087 * ielm.el (ielm-input-sender): Mark unused parameter.
20088 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20089 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20090 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20091 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20092 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20093
20094 * image-dired.el (image-dired-display-thumbs): Remove unused
20095 variables `curr-file' and `count'.
20096 (image-dired-remove-tag): Remove unused variable `start'.
20097 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20098 variable `curr-file'
20099 (image-dired-rotate-original): Remove unused variable `temp-file'.
20100 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20101 Remove unused variable `file'.
20102 (image-dired-gallery-generate): Remove unused variable `curr'.
20103 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20104
20105 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20106
20107 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20108
20109 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20110
20111 * isearch.el (minibuffer-history-symbol): Declare.
20112 (isearch-edit-string): Remove unused variable `err'.
20113 (isearch-message-prefix, isearch-message-suffix):
20114 Mark unused parameters.
20115
20116 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20117
20118 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20119
20120 * makesum.el (double-column): Remove unused variable `cnt'.
20121
20122 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20123 (ido-ignore-item-temp-list): Declare.
20124
20125 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20126 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20127 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20128 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20129 `mouse-col-delta'.
20130
20131 * mouse-sel.el (mouse-extend-internal):
20132 Remove unused variable `orig-window-frame'.
20133
20134 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20135 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20136 Move declarations before first use.
20137 (pcomplete-opt): Mark unused parameters; doc fix.
20138
20139 * proced.el (proced-revert): Mark unused parameter.
20140 (proced-send-signal): Remove unused variable `err'.
20141
20142 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20143 Rename parameter PREFIX-ARG to ARG.
20144 (ps-basic-plot-string, ps-basic-plot-whitespace):
20145 Mark unused parameters.
20146
20147 * replace.el (replace-count): Define.
20148 (occur-revert-function): Mark unused parameters.
20149 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20150 (isearch-case-fold-search, isearch-string): Declare.
20151 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20152 bind `case-fold-search'. Remove unused variables `beg' and `end',
20153 and simplify.
20154 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20155 COUNT and bind `replace-count'.
20156 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20157 to COUNT.
20158
20159 * savehist.el (print-readably, print-string-length): Declare.
20160
20161 * shadowfile.el (shadow-expand-cluster-in-file-name):
20162 Remove unused variable `cluster'.
20163 (shadow-copy-file): Remove unused variable `i'.
20164 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20165 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20166 (shadow-define-literal-group, shadow-define-regexp-group)
20167 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20168
20169 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20170 (shell): Use `called-interactively-p'.
20171 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20172
20173 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20174 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20175 (delete-backward-char): Remove unused variable `ocol'.
20176 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20177 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20178 (event-apply-hyper-modifier, event-apply-shift-modifier)
20179 (event-apply-control-modifier, event-apply-meta-modifier):
20180 Mark unused parameters.
20181 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20182 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20183
20184 * speedbar.el (speedbar-ignored-directory-expressions)
20185 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20186 (speedbar-find-file, speedbar-dir-follow)
20187 (speedbar-directory-buttons-follow, speedbar-tag-find)
20188 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20189 (speedbar-buffers-line-directory, speedbar-buffer-click):
20190 Mark unused parameters.
20191 (speedbar-tag-file): Remove unused variable `mode'.
20192 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20193
20194 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20195
20196 * talk.el (talk): Remove unused variable `display'.
20197
20198 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20199 (tar-write-region-annotate): Mark unused parameter.
20200
20201 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20202 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20203 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20204 warning by another.
20205
20206 * time-stamp.el (time-stamp-string-preprocess):
20207 Remove unused variable `require-padding'.
20208
20209 * tree-widget.el (widget-glyph-enable): Declare.
20210 (tree-widget-action): Mark unused parameter.
20211
20212 * w32-fns.el (x-get-selection): Mark unused parameter.
20213 (autoload-make-program, generated-autoload-file): Declare.
20214
20215 * wdired.el (wdired-revert): Mark unused parameters.
20216 (wdired-xcase-word): Remove unused variable `err'.
20217
20218 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20219 (whitespace-help-scroll): Remove unused variable `data-help'.
20220
20221 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20222 (widget-image-insert, widget-after-change, default)
20223 (widget-default-format-handler, widget-default-notify)
20224 (widget-default-prompt-value, widget-info-link-action)
20225 (widget-url-link-action, widget-function-link-action)
20226 (widget-variable-link-action, widget-file-link-action)
20227 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20228 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20229 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20230 (widget-insert-button-action, widget-delete-button-action, visibility)
20231 (widget-documentation-link-action, widget-documentation-string-action)
20232 (widget-const-prompt-value, widget-regexp-match, symbol)
20233 (widget-coding-system-prompt-value)
20234 (widget-key-sequence-value-to-external, sexp)
20235 (widget-sexp-value-to-internal, character, vector, cons)
20236 (widget-choice-prompt-value, widget-boolean-prompt-value)
20237 (widget-color--choose-action): Mark unused parameters.
20238 (widget-item-match-inline, widget-choice-match-inline)
20239 (widget-checklist-match, widget-checklist-match-inline)
20240 (widget-group-match): Rename parameter VALUES to VALS.
20241 (widget-field-value-set): Remove unused variable `size'.
20242 (widget-color-action): Remove unused variables `value' and `start'.
20243
20244 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20245 variable `dir'. Doc fix.
20246 (windmove-find-other-window): Don't pass it.
20247
20248 * window.el (count-windows): Mark unused parameter.
20249 (bw-adjust-window): Remove unused variable `err'.
20250
20251 * woman.el (woman-file-name): Remove unused variable `default'.
20252 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20253 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20254 (global-font-lock-mode): Declare.
20255 (woman-decode-region): Mark unused parameter.
20256 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20257
20258 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20259 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20260 (x-dnd-handle-moz-url): Remove unused variable `title'.
20261 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20262
20263 * xml.el (xml-parse-tag, xml-parse-attlist):
20264 Remove unused variable `pos'.
20265
20266 2011-04-19 Glenn Morris <rgm@gnu.org>
20267
20268 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20269 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20270 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20271 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20272 * calendar/cal-html.el (cal-html-insert-minical):
20273 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20274 (calendar-mark-date-pattern):
20275 Prefix "unused" locals.
20276
20277 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20278 optional argument `style'.
20279
20280 * calendar/appt.el (appt-make-list):
20281 * calendar/cal-china.el (calendar-chinese-date-string):
20282 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20283 (diary-hebrew-yahrzeit):
20284 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20285 * calendar/calendar.el (calendar-generate-window):
20286 * calendar/time-date.el (time-to-days):
20287 Remove unused local variables.
20288
20289 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20290
20291 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20292 glyphless-char-display table.
20293 (tabulated-list-glyphless-char-display): New var.
20294
20295 2011-04-18 Sam Steingold <sds@gnu.org>
20296
20297 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20298 to acknowledgments.
20299
20300 2011-04-17 Glenn Morris <rgm@gnu.org>
20301
20302 * calendar/diary-lib.el (diary-sexp-entry):
20303 * calendar/holidays.el (holiday-sexp):
20304 Set debug-on-error rather than the removed stack-trace-on-error.
20305
20306 2011-04-16 Glenn Morris <rgm@gnu.org>
20307
20308 * progmodes/f90.el: Use lexical-binding.
20309 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20310
20311 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20312
20313 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20314 (mail-mode): Setup mailalias completion here instead.
20315 * mail/mailalias.el: Use lexical-binding.
20316 (pattern, mailalias-done): Declare dynamic.
20317 (mail-completion-at-point-function): New function, from mail-complete.
20318 (mail-complete): Use it.
20319 (mail-completion-expand): New function.
20320 (mail-get-names): Use it.
20321 (mail-directory, mail-directory-process, mail-directory-stream):
20322 Don't use `pattern' for lexically bound arg.
20323
20324 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20325
20326 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20327 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20328 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20329
20330 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20331 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20332 (byte-interactive-p): Define them again, for use when inlining
20333 old code.
20334
20335 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20336
20337 * loadup.el: Use `string-to-number', not `string-to-int'.
20338
20339 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20340
20341 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20342 gud-gdb-complete-command.
20343 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20344 (gud-gdb-completion-at-point): New function.
20345 (gud-gdb-completions): Remove.
20346
20347 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
20348
20349 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20350 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20351 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20352 whether `executable-find' is bound.
20353
20354 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20355
20356 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20357
20358 * minibuffer.el (completion-in-region-mode-predicate)
20359 (completion-in-region-mode--predicate): New vars.
20360 (completion-in-region, completion-in-region--postch)
20361 (completion-in-region-mode): Use them.
20362 (completion--capf-wrapper): Also return the hook function.
20363 (completion-at-point, completion-help-at-point):
20364 Adjust and provide a predicate.
20365
20366 Preserve arg names for advice of subr and lexical functions (bug#8457).
20367 * help-fns.el (help-function-arglist): Consolidate the subr and
20368 new-byte-code cases. Add argument `preserve-names' to extract names
20369 from the docstring when needed.
20370 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20371 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20372 (ad-arglist): Use help-function-arglist's new arg.
20373 (ad-definition-type): Use cond.
20374
20375 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
20376
20377 * autorevert.el (auto-revert-handler):
20378 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20379 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20380 Don't quote lambda.
20381
20382 * image-mode.el (image-transform-set-scale):
20383 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20384
20385 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20386
20387 * net/network-stream.el (network-stream-open-starttls): Only do
20388 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
20389 Upgrades via gnutls-cli are too slow to be done opportunistically.
20390
20391 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
20392
20393 * dframe.el (dframe-current-frame): Remove spurious quote.
20394
20395 2011-04-12 Glenn Morris <rgm@gnu.org>
20396
20397 * calendar/cal-tex.el (cal-tex-end-document):
20398 Try to automatically use latin1 input if needed.
20399
20400 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20401 Don't try to cons a mark onto an empty element.
20402
20403 2011-04-11 Leo Liu <sdl.web@gmail.com>
20404
20405 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20406 buffers.
20407 (ido-kill-buffer-at-head): Support killing virtual buffers.
20408
20409 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
20410
20411 * minibuffer.el (completion-show-inline-help): New var.
20412 (completion--do-completion, minibuffer-complete)
20413 (minibuffer-force-complete, minibuffer-complete-word):
20414 Inhibit minibuffer messages if completion-show-inline-help is nil.
20415
20416 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20417 to avoid interference from inline help (Bug#5849).
20418
20419 2011-04-10 Leo Liu <sdl.web@gmail.com>
20420
20421 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20422 Fix typo.
20423
20424 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
20425
20426 * image-mode.el (image-toggle-display-image): Signal an error if
20427 not in Image mode.
20428 (image-transform-mode, image-transform-resize)
20429 (image-transform-set-rotation): Doc fix.
20430 (image-transform-set-resize): Delete.
20431 (image-transform-set-scale, image-transform-fit-to-height)
20432 (image-transform-fit-to-width): Handle image-toggle-display-image
20433 and image-transform-resize directly.
20434
20435 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
20436
20437 * doc-view.el (doc-view-fit-width-to-window)
20438 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20439 New functions for fitting the shown image to the Emacs window size.
20440 (doc-view-mode-map): Add bindings for the new functions.
20441
20442 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
20443
20444 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
20445 Fix typo in docstring.
20446
20447 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20448
20449 * files.el (file-size-human-readable): Produce one digit after
20450 decimal, like "ls -lh" does.
20451
20452 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20453 the file size representation.
20454
20455 * simple.el (list-processes): If async subprocesses are not
20456 available, error out with a clear error message.
20457
20458 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
20459
20460 * help.el (help-form-show): New function, to be called from C.
20461 Put help-form output in a buffer named differently than *Help*.
20462
20463 2011-04-08 Eli Zaretskii <eliz@gnu.org>
20464
20465 * files.el (file-size-human-readable): New function.
20466
20467 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20468 computing the representation inline. Don't require `cl'.
20469
20470 2011-04-08 Glenn Morris <rgm@gnu.org>
20471
20472 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20473
20474 * net/browse-url.el (browse-url-firefox):
20475 Test system-type, not system-configuration.
20476
20477 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20478 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20479 Use log-edit-empty-buffer-p. (Bug#7598)
20480
20481 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20482 (rlogin-mode-map): Initialize in the defvar.
20483 (rlogin): Use ignore-errors.
20484
20485 * replace.el (occur-mode-map): Some fixes for menu items.
20486
20487 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20488
20489 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20490
20491 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20492
20493 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20494 issuing unused warnings.
20495
20496 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20497 macro directly.
20498
20499 * simple.el: Lisp reimplement of list-processes. Based on an
20500 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20501 (process-menu-mode): New major mode.
20502 (list-processes--refresh, list-processes):
20503 (process-menu-visit-buffer): New functions.
20504
20505 * files.el (save-buffers-kill-emacs): Don't assume any return
20506 value of list-processes, which is undocumented anyway.
20507
20508 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
20509
20510 * emacs-lisp/tabulated-list.el: New file.
20511
20512 * emacs-lisp/package.el: Use Tabulated List mode.
20513 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20514 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20515 table format using Tabulated List mode variables.
20516 (package--push): New macro, replacing package-list-maybe-add.
20517 (package-menu--generate): Use package--push. Renamed from
20518 package--generate-package-list.
20519 (package-menu-refresh, list-packages): Use it.
20520 (package-menu--print-info): Rename from package-print-package.
20521 Return insertion data instead of inserting it directly.
20522 (package-menu-describe-package, package-menu-execute):
20523 Use tabulated-list-get-id.
20524 (package-menu-mark-delete, package-menu-mark-install)
20525 (package-menu-mark-unmark, package-menu-backup-unmark)
20526 (package-menu-mark-obsolete-for-deletion):
20527 Use tabulated-list-put-tag.
20528 (package--list-packages, package-menu-revert)
20529 (package-menu-get-package, package-menu-get-version)
20530 (package-menu-sort-by-column): Functions deleted.
20531 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20532 (package-menu--status-predicate, package-menu--version-predicate)
20533 (package-menu--name-predicate)
20534 (package-menu--description-predicate): Handle arguments in the
20535 Tabulated List format.
20536 (package-list-packages-no-fetch): Call list-packages.
20537
20538 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
20539
20540 * files.el (after-find-file-from-revert-buffer): Remove variable.
20541 (after-find-file): Don't bind it.
20542 (revert-buffer-in-progress-p): New variable.
20543 (revert-buffer): Bind it.
20544 Pass nil for `after-find-file-from-revert-buffer'.
20545
20546 * saveplace.el (save-place-find-file-hook): Use new variable
20547 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20548
20549 2011-04-06 Glenn Morris <rgm@gnu.org>
20550
20551 * Makefile.in (AUTOGEN_VCS): New variable.
20552 (autoloads): Use $AUTOGEN_VCS.
20553
20554 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20555 * calendar/calendar.el (calendar-mode-map):
20556 Check for toolkit scroll bars. (Bug#8305)
20557
20558 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20559
20560 * minibuffer.el (completion-in-region--postch)
20561 (completion-in-region-mode): Remove unnecessary messages.
20562
20563 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
20564
20565 * font-lock.el (font-lock-refresh-defaults):
20566 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20567 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20568
20569 * info.el (Info-directory-list, Info-read-node-name-2)
20570 (Info-split-parameter-string): Doc fixes.
20571 (Info-virtual-nodes): Reflow docstring.
20572 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20573 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20574 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20575 Fix typos in docstrings.
20576 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20577 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20578 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20579 (Info-restore-desktop-buffer): Mark unused parameters.
20580 (Info-directory-find-file, Info-directory-find-node)
20581 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20582 (Info-virtual-index-find-node, Info-apropos-find-file)
20583 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
20584 Mark unused parameters; fix typos in docstrings.
20585 (Info-virtual-index): Remove unused local variable `nodename'.
20586
20587 2011-04-05 Deniz Dogan <deniz@dogan.se>
20588
20589 * net/rcirc.el: Update my e-mail address.
20590 (rcirc-mode-map): Remove M-o binding.
20591
20592 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
20593
20594 * startup.el (command-line): Save the cursor's theme-face
20595 directly, instead of using face-override-spec.
20596
20597 * custom.el (load-theme): Minor optimization in assigning faces.
20598
20599 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20600
20601 * help-fns.el (describe-variable): Complete all variables having
20602 documentation, including keywords.
20603 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20604
20605 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
20606
20607 Convert to lexical-binding.
20608
20609 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20610 (bs--get-marked-string, bs--get-modified-string)
20611 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20612 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20613 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20614
20615 * ehelp.el (electric-help-execute-extended)
20616 (electric-help-ctrl-x-prefix):
20617 * hexl.el (hexl-revert-buffer-function):
20618 * linum.el (linum-after-change, linum-after-scroll):
20619 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20620
20621 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20622
20623 2011-04-04 Daiki Ueno <ueno@unixuser.org>
20624
20625 * epa-dired.el:
20626 * epa-mail.el:
20627 * epa-hook.el:
20628 * epa-file.el:
20629 * epa.el:
20630 * epg.el: Use lexical binding.
20631
20632 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
20633
20634 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20635
20636 * textmodes/flyspell.el (flyspell-word): Recognize default
20637 dictionary case for flyspell-mark-duplications-exceptions.
20638 Use regexp matching for languages.
20639 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20640 default dictionary (Bug#7926).
20641
20642 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
20643
20644 * emacs-lisp/package.el (package--with-work-buffer):
20645 Recognize https URLs.
20646
20647 * net/network-stream.el: Move from gnus/proto-stream.el.
20648 Change prefix to network-stream throughout.
20649 (open-protocol-stream): Merge into open-network-stream, leaving
20650 open-protocol-stream as an alias. Handle nil BUFFER args.
20651
20652 * subr.el (open-network-stream): Move to net/network-stream.el.
20653
20654 2011-04-02 Glenn Morris <rgm@gnu.org>
20655
20656 * find-dired.el (find-exec-terminator): New option.
20657 (find-ls-option): Test for -ls support.
20658 (find-ls-subdir-switches): Test for -b in find-ls-option.
20659 (find-dired, find-grep-dired): Doc fixes.
20660 (find-dired): Use find-exec-terminator.
20661
20662 * find-dired.el (find-ls-option, find-ls-subdir-switches)
20663 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20664 (find-name-arg): Remove purecopy.
20665
20666 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20667 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20668 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20669 accordingly. Don't add the null-device if not needed.
20670
20671 * files.el (save-some-buffers): Doc fix.
20672
20673 2011-04-02 Eli Zaretskii <eliz@gnu.org>
20674
20675 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20676
20677 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
20678
20679 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20680 Use `dolist' rather than `mapcar'.
20681
20682 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20683
20684 Add lexical binding.
20685
20686 * subr.el (apply-partially): Use new closures rather than CL.
20687 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20688 (dolist, dotimes): Use slightly different expansion for lexical code.
20689 (functionp): Move to C.
20690 (letrec): New macro.
20691 (with-wrapper-hook): Use it and apply-partially instead of CL.
20692 (eval-after-load): Preserve lexical-binding.
20693 (save-window-excursion, with-output-to-temp-buffer): Turn them
20694 into macros.
20695
20696 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20697
20698 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20699 than the arglist.
20700 (help-add-fundoc-usage): Don't add `Not documented'.
20701 (help-function-arglist): Handle closures, subroutines, and new
20702 byte-code-functions.
20703 (help-make-usage): Remove leading underscores.
20704 (describe-function-1): Handle closures.
20705 (describe-variable): Use special-variable-p for completion.
20706
20707 * files.el (lexical-binding): Declare safe.
20708
20709 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20710 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20711 (pcase): Add `let' pattern.
20712 Change memoization so it actually works.
20713 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20714 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20715 <let>: New case.
20716
20717 * emacs-lisp/macroexp.el: Use lexical binding.
20718 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20719 Don't convert ' to #' without checking that it's indeed quoting
20720 a lambda.
20721
20722 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20723 Use eval-sexp-add-defvars.
20724 (eval-sexp-add-defvars): New fun.
20725
20726 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20727
20728 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20729 Don't autoload.
20730 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20731 than the internal `byte-compile-lambda'.
20732 (defmethod): Don't hide code under quotes.
20733 (eieio-defmethod): New `code' argument.
20734
20735 * emacs-lisp/eieio-comp.el: Remove.
20736
20737 * emacs-lisp/edebug.el (edebug-eval-defun)
20738 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20739 (edebug-toggle): Avoid `eval'.
20740
20741 * emacs-lisp/disass.el (disassemble-internal): Handle new
20742 `closure' objects.
20743 (disassemble-1): Handle new byte codes.
20744
20745 * emacs-lisp/cl.el (pushnew): Silence warning.
20746
20747 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20748 (cl-byte-compile-throw): Remove.
20749 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20750
20751 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20752 closures.
20753
20754 * emacs-lisp/cconv.el: New file.
20755
20756 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20757 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20758 (byte-compile-initial-macro-environment):
20759 Handle declare-function here.
20760 (byte-compile--lexical-environment): New var.
20761 (byte-stack-ref, byte-stack-set, byte-discardN)
20762 (byte-discardN-preserve-tos): New lap codes.
20763 (byte-interactive-p): Don't use any more.
20764 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20765 New macros.
20766 (byte-compile-lapcode): Use them and handle new lap codes.
20767 (byte-compile-obsolete): Remove.
20768 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20769 (byte-compile-arglist-warn): Check late def of inlinable funs.
20770 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20771 since they should have been expanded by now.
20772 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20773 (byte-compile-from-buffer): Remove unused second arg.
20774 (byte-compile-preprocess): New function.
20775 (byte-compile-toplevel-file-form): New function to distinguish
20776 file-form calls from outside from file-form calls from hunk-handlers.
20777 (byte-compile-file-form): Simplify.
20778 (byte-compile-file-form-defsubst): Remove.
20779 (byte-compile-file-form-defmumble): Simplify now that
20780 byte-compile-lambda always returns a byte-code-function.
20781 (byte-compile): Preprocess.
20782 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20783 Remove, not used any more.
20784 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20785 (byte-compile-make-args-desc): New funs.
20786 (byte-compile-lambda): Handle lexical functions. Always return
20787 a byte-code-function.
20788 (byte-compile-reserved-constants): New var, to make up room for
20789 closed-over variables.
20790 (byte-compile-constants-vector): Obey it.
20791 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20792 (byte-compile-macroexpand-declare-function): New function.
20793 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20794 byte-code-functions.
20795 (byte-compile-form): Check obsolescence here.
20796 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20797 (byte-compile-variable-ref): Remove.
20798 (byte-compile-dynamic-variable-op): New fun.
20799 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20800 (byte-compile-variable-set): New funs.
20801 (byte-compile-discard): Add 2 args.
20802 (byte-compile-stack-ref, byte-compile-stack-set)
20803 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20804 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20805 macroexpand-all instead.
20806 (byte-compile-quote-form): Remove.
20807 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20808 (byte-compile-bind, byte-compile-unbind): New funs.
20809 (byte-compile-let): Handle let* and lexical binding.
20810 (byte-compile-let*): Remove.
20811 (byte-compile-catch, byte-compile-unwind-protect)
20812 (byte-compile-track-mouse, byte-compile-condition-case):
20813 Handle a new :fun-body form, used for lexical scoping.
20814 (byte-compile-save-window-excursion)
20815 (byte-compile-with-output-to-temp-buffer): Remove.
20816 (byte-compile-defun): Simplify.
20817 (byte-compile-stack-adjustment): New fun.
20818 (byte-compile-out): Use it.
20819 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20820
20821 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20822 handler any more.
20823
20824 * emacs-lisp/byte-opt.el: Use lexical binding.
20825 (byte-inline-lapcode): Remove (to bytecomp).
20826 (byte-compile-inline-expand): Pay attention to inlining to/from
20827 lexically bound code.
20828 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20829 any more.
20830 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20831 any more and don't call compiler-macros.
20832 (byte-compile-splice-in-already-compiled-code): Remove.
20833 (byte-code): Don't inline any more.
20834 (disassemble-offset): Receive `bytes' as argument rather than via
20835 dynamic scoping.
20836 (byte-compile-tag-number): Declare before first use.
20837 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20838 `return' even if make-spliceable.
20839 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20840 obsolete interactive-p.
20841 (byte-optimize-lapcode): Optimize new lap-codes.
20842 Don't trip up on new form of `byte-constant' lap code.
20843
20844 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20845
20846 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20847
20848 * custom.el (custom-initialize-default, custom-declare-variable):
20849 Use `defvar'.
20850
20851 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20852 New variables.
20853 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20854 (COMPILE_FIRST): Add macroexp and cconv.
20855 * makefile.w32-in: Mirror changes in Makefile.in.
20856
20857 * vc/cvs-status.el:
20858 * vc/diff-mode.el:
20859 * vc/log-edit.el:
20860 * vc/log-view.el:
20861 * vc/smerge-mode.el:
20862 * textmodes/bibtex-style.el:
20863 * textmodes/css-mode.el:
20864 * startup.el:
20865 * uniquify.el:
20866 * minibuffer.el:
20867 * newcomment.el:
20868 * reveal.el:
20869 * server.el:
20870 * mpc.el:
20871 * emacs-lisp/smie.el:
20872 * doc-view.el:
20873 * dired.el:
20874 * abbrev.el: Use lexical binding.
20875
20876 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20877
20878 * info.el (info-display-manual): New function.
20879
20880 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20881
20882 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20883
20884 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20885
20886 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20887 an entry for that server in rcirc-authinfo. (Bug#8385)
20888
20889 2011-03-31 Glenn Morris <rgm@gnu.org>
20890
20891 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20892
20893 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20894
20895 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20896
20897 * progmodes/python.el (python-default-interpreter)
20898 (python-python-command-args, python-jython-command-args)
20899 (python-which-shell, python-which-args, python-which-bufname)
20900 (python-file-queue, python-comint-output-filter-function)
20901 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20902 variables and functions.
20903
20904 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20905
20906 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20907 (completion-in-region-mode): New minor mode.
20908 (completion-in-region): Use it.
20909 (completion-in-region--data, completion-in-region-mode-map): New vars.
20910 (completion-in-region--postch): New function.
20911 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20912 New vars.
20913 (completion--capf-wrapper): New function.
20914 (completion-at-point): Use it to track well-behavedness of
20915 hook functions.
20916 (completion-help-at-point): New command.
20917
20918 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20919
20920 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20921 syntax class to search for whitespace on a single line
20922 (Message-ID: <4D938140.4030905@redhat.com>).
20923
20924 2011-03-30 Leo Liu <sdl.web@gmail.com>
20925
20926 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20927 New commands.
20928 (edit-abbrevs-map): Bind them here.
20929 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20930
20931 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20932
20933 * allout.el (allout-hide-by-annotation, allout-flag-region):
20934 Reduce possibility of overlay leakage by making them volatile.
20935
20936 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20937 hash is not shared between buffers. Mode initialization is
20938 responsible for giving it a useful starting value.
20939 (allout-item-span): Reduce possibility of overlay leakage by
20940 making them volatile.
20941 (allout-widgets-count-buttons-in-region): Add diagnostic function
20942 for tracking down button overlay leaks.
20943
20944 2011-03-29 Leo Liu <sdl.web@gmail.com>
20945
20946 * ido.el (ido-read-internal): Use the default history var
20947 minibuffer-history if no HISTORY is specified.
20948
20949 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20950
20951 * net/imap.el (imap-shell-open, imap-process-connection-type):
20952 Use imap-process-connection-type for 'shell' streams as well as
20953 Kerberos, SSL, other subprocesses.
20954
20955 2011-03-28 Leo Liu <sdl.web@gmail.com>
20956
20957 * abbrev.el (abbrev-table-empty-p): New function.
20958 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20959 nonempty ones. (Bug#5937)
20960
20961 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20962
20963 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20964
20965 2011-03-27 Leo Liu <sdl.web@gmail.com>
20966
20967 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20968 for foreground and background colors.
20969 (ansi-color-make-color-map): Adapt.
20970
20971 2011-03-25 Leo Liu <sdl.web@gmail.com>
20972
20973 * midnight.el (midnight-time-float): Remove. Note it calculates
20974 the microsecond component incorrectly and seconds-to-time does the
20975 same job.
20976 Remove redundant (require 'timer).
20977
20978 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20979 (ido-completions): Remove unused arguments. (Bug#8329)
20980
20981 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20982
20983 * minibuffer.el (completion--flush-all-sorted-completions):
20984 Remove itself from hook.
20985 (completion-at-point): Let the functions perform the completion
20986 immediately and return nil or t.
20987 * comint.el (comint-dynamic-complete-functions): Now identical to
20988 completion-at-point-functions.
20989 (comint-dynamic-list-input-ring): Remove unused var `index'.
20990 (comint--match-partial-filename, comint--unquote&expand-filename):
20991 New funs, split from comint-match-partial-filename.
20992 (comint-dynamic-complete): Use completion-at-point.
20993 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20994
20995 2011-03-24 Drew Adams <drew.adams@oracle.com>
20996
20997 * thingatpt.el: Support `defun'.
20998
20999 2011-03-23 Leo Liu <sdl.web@gmail.com>
21000
21001 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21002
21003 * help-mode.el (help-mode-finish): Tweak regexp.
21004
21005 2011-03-23 Glenn Morris <rgm@gnu.org>
21006
21007 * eshell/esh-opt.el (eshell-eval-using-options):
21008 Do not bind unused local variable `eshell-option-stub'.
21009
21010 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21011
21012 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21013
21014 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21015 keymap variable in `with-no-warnings' to avoid a warning when the
21016 keymap has been already `defconst'ed.
21017
21018 2011-03-22 Leo Liu <sdl.web@gmail.com>
21019
21020 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21021 encode all chars in abbrevs; otherwise use emacs-mule or
21022 utf-8-emacs. (Bug#8308)
21023
21024 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21025
21026 * simple.el (backward-delete-char-untabify):
21027 Avoid warning about using `delete-backward-char'.
21028
21029 * image.el (image-type-file-name-regexps): Make it variable.
21030 `imagemagick-register-types' modifies it, and the user may want
21031 to add new extensions for known image types.
21032 (imagemagick-register-types): Throw error if not using ImageMagick.
21033
21034 2011-03-22 Leo Liu <sdl.web@gmail.com>
21035
21036 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21037 located before rcirc-prompt-end-marker.
21038 (rcirc-complete): Error if point is not after rcirc prompt.
21039 Handle the case when table is nil.
21040 (rcirc-user-authenticated): Define to fix compiler warning.
21041
21042 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21043
21044 * custom.el (custom--inhibit-theme-enable): Make it affect only
21045 custom-theme-set-variables and custom-theme-set-faces.
21046 (provide-theme): Ignore custom--inhibit-theme-enable.
21047 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21048 (custom-enabling-themes): Delete variable.
21049 (enable-theme): Accept only loaded themes as arguments.
21050 Ignore the special custom-enabled-themes variable.
21051 (custom-enabled-themes): Forbid themes from setting this.
21052 Eliminate use of custom-enabling-themes.
21053 (custom-push-theme): Quote "changed" custom var entry.
21054
21055 2011-03-21 Leo Liu <sdl.web@gmail.com>
21056
21057 * ido.el (ido-read-internal): Add ido-selected to history instead
21058 of user input.
21059
21060 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21061
21062 * subr.el (deferred-action-list, deferred-action-function):
21063 Mark obsolete.
21064
21065 2011-03-21 Leo Liu <sdl.web@gmail.com>
21066
21067 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21068 change on 2011-02-13 (bug#8309).
21069
21070 * minibuffer.el (read-file-name-function): Change default value.
21071 (read-file-name--defaults): Rename from read-file-name-defaults.
21072 (read-file-name-default): Rename from read-file-name.
21073 (read-file-name): Call read-file-name-function.
21074
21075 2011-03-21 Glenn Morris <rgm@gnu.org>
21076
21077 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21078 Doc fixes.
21079
21080 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21081
21082 * cus-theme.el: Add missing provide statement.
21083 (customize-create-theme): Extract theme value correctly.
21084 (custom-theme-visit-theme): Autoload.
21085 (customize-create-theme): Prompt before inserting default faces.
21086
21087 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21088
21089 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21090 units and musical notes.
21091
21092 2011-03-20 Leo Liu <sdl.web@gmail.com>
21093
21094 * ido.el (ido-read-internal): Use completing-read-default.
21095 (ido-completing-read): Fix compatibility with completing-read.
21096
21097 2011-03-20 Christian Ohler <ohler@gnu.org>
21098
21099 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21100 (ert-delete-all-tests): Use `called-interactively-p' rather than
21101 `interactive-p'.
21102 (ert--make-xrefs-region): Respect END.
21103
21104 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21105
21106 * dired-aux.el (dired-create-directory): Signal an error if the
21107 directory already exists (Bug#8246).
21108
21109 * facemenu.el (list-colors-display): Call list-faces-display
21110 inside with-help-window.
21111 (list-colors-print): Use display property to align the final
21112 column, instead of checking window-width.
21113
21114 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21115
21116 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21117 windows-nt systems.
21118 (emerge-protect-metachars): Quote correctly for ms-dos and
21119 windows-nt systems.
21120
21121 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21122
21123 * info.el (info-initialize): Replace all uses of `:' with
21124 path-separator for compatibility with non-Unix systems.
21125 Cache quoting of path-separator. (Bug#8258)
21126
21127 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21128
21129 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21130 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21131 (mouse-avoidance-mode): Fix typos in docstrings.
21132
21133 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21134
21135 * startup.el (package-subdirectory-regexp): Move from package.el.
21136 Omit \\` and \\', and let callers add them.
21137
21138 * emacs-lisp/package.el (package-strip-version)
21139 (package-load-all-descriptors): Add \\` and \\' to
21140 package-subdirectory-regexp before using it.
21141 (package-untar-buffer): New arg DIR; ensure that file untars only
21142 into this expected directory. Remove superfluous delete-region.
21143 (package-unpack): Caller changed.
21144 (package-tar-file-info): Use package-subdirectory-regexp.
21145
21146 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21147
21148 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21149 diff-mode-shared-map (bug#8284).
21150 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21151
21152 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21153
21154 * calendar/time-date.el (format-seconds): Use assoc instead of
21155 assoc-string, since assoc-string doesn't exist in XEmacs.
21156
21157 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21158
21159 * custom.el (custom-known-themes): Reflow docstring.
21160 (custom-theme-load-path): Fix typo in docstring.
21161 (load-theme): Fix typo in error message.
21162 (custom-available-themes, custom-variable-theme-value):
21163 Use `let', not `let*'.
21164
21165 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21166
21167 * calc/README: Mention inclusion of musical notes.
21168
21169 * calc/calc-units.el (calc-lu-quant): Rename from
21170 `calc-logunits-quantity'.
21171 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21172 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21173 (calc-db): Rename from `calc-dblevel'.
21174 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21175 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21176 (calc-np): Rename from `calc-nplevel'.
21177 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21178 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21179 (calc-lu-plus): Rename from `calc-logunits-add'.
21180 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21181 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21182 (calc-lu-minus): Rename from `calc-logunits-sub'.
21183 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21184 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21185 (calc-lu-times): Rename from `calc-logunits-mul'.
21186 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21187 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21188 (calc-lu-divide): Rename from `calc-logunits-div'.
21189 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21190 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21191
21192 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21193 functions being autoloaded.
21194
21195 * calc/calc.el (calc-lu-power-reference): Rename from
21196 `calc-logunits-power-reference'.
21197 (calc-lu-field-reference): Rename from
21198 `calc-logunits-field-reference'.
21199
21200 * calc/calc-help.el (calc-l-prefix-help):
21201 Mention musical note functions.
21202
21203 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21204
21205 * minibuffer.el (completion-all-sorted-completions):
21206 Use :completion-cycle-penalty text property if present.
21207
21208 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21209
21210 * allout.el (allout-yank-processing): Adjust for new rebulleting
21211 regime so bullet being yanked is used without prompting the user
21212 for a choice.
21213
21214 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21215
21216 * startup.el (command-line): Warn the user that _emacs is deprecated.
21217
21218 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21219
21220 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21221 (delphi-verbose, delphi-comment-face, delphi-string-face)
21222 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21223 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21224 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21225 (delphi-new-comment-line, delphi-font-lock-defaults)
21226 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21227 Fix typos in docstrings.
21228
21229 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21230
21231 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21232 Invert the roles of character and string values for INSTEAD, so a
21233 string is used for the more common case of a defaulting prompt.
21234
21235 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21236
21237 * progmodes/ruby-mode.el (ruby-backward-sexp):
21238 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21239 * play/gamegrid.el (gamegrid-make-face):
21240 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21241 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21242 * notifications.el (notifications-notify):
21243 * net/xesam.el (xesam-search-engines):
21244 * net/quickurl.el (quickurl-list-insert):
21245 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21246
21247 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21248
21249 * startup.el (command-line): Update package subdirectory regexp.
21250
21251 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21252
21253 * allout.el (allout-abbreviate-flattened-numbering)
21254 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21255
21256 * subr.el (read-char-choice): Only show the cursor after the prompt,
21257 not after the answer.
21258
21259 2011-03-15 Kevin Ryde <user42@zip.com.au>
21260
21261 * help-fns.el (variable-at-point): Skip leading quotes, if any
21262 (bug#8253).
21263
21264 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21265
21266 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21267 warning message.
21268
21269 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21270
21271 * shell.el (shell): When called interactively, offer to change the
21272 shell file name on remote hosts.
21273
21274 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21275
21276 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21277 integration for LDAP parameters. The host, base, user or binddn,
21278 and secret tokens can be specified in a netrc file, for instance.
21279 This is optional because an `auth-source' parameter must be
21280 specified in the search attributes.
21281
21282 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21283
21284 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21285
21286 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21287
21288 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21289 into declaration. Remove redundant and harmful binding.
21290
21291 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21292
21293 * files.el (file-ownership-preserved-p): Pass `integer' as an
21294 explicit 2nd argument to `file-attributes'. If the file's owner
21295 is the Administrators group on Windows, and the current user is
21296 Administrator, consider that a match.
21297
21298 * server.el (server-ensure-safe-dir): Consider server directory
21299 safe on MS-Windows if its owner is the Administrators group while
21300 the current Emacs user is Administrator. Use `=' to compare
21301 numerical UIDs, since they could be integers or floats.
21302
21303 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21304
21305 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21306
21307 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21308
21309 Sync with Tramp 2.2.1.
21310
21311 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21312
21313 * net/trampver.el: Update release number.
21314
21315 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21316
21317 * progmodes/compile.el (compilation--previous-directory): Fix up
21318 various nil/dead-marker mismatches (bug#8014).
21319 (compilation-directory-properties, compilation-error-properties):
21320 Don't call it at a position past the one we're about to change.
21321
21322 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21323 Disable obsolescence warnings in the file that declares it.
21324
21325 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21326
21327 * allout-widgets.el (allout-widgets-tally):
21328 Initialize allout-widgets-tally as a hash table rather than nil to
21329 prevent mode-line redisplay warnings. Also, clarify the module
21330 description and fix a comment typo.
21331
21332 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21333
21334 * help-fns.el (describe-variable): Don't complete keywords.
21335 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21336
21337 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21338
21339 * emacs-lisp/package.el (package-version-join): Impose a standard
21340 string representation for pre/alpha/beta version lists.
21341 (package-unpack-single): Standardize the directory name by passing
21342 it through package-version-join.
21343 (package-strip-rcs-id): Accept any version string that does not
21344 signal an error in version-to-list.
21345
21346 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
21347
21348 * simple.el (delete-trailing-whitespace): Return nil for the
21349 benefit of `write-file-functions'.
21350
21351 2011-03-10 Glenn Morris <rgm@gnu.org>
21352
21353 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21354
21355 * vc/vc-git.el (vc-git-program): New option.
21356 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21357 (vc-git--call): Use it.
21358
21359 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21360
21361 * cus-edit.el (Custom-newline): If no button at point, look
21362 for a subgroup button at start-of-line. (Bug#2298)
21363
21364 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21365
21366 2011-03-10 Julien Danjou <julien@danjou.info>
21367
21368 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21369 `cursor-type' is nil.
21370
21371 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21372
21373 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21374
21375 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21376
21377 * allout.el: Change so yank of distinctive-bullet items
21378 preserves the existing header prefix, rebulleting it if necessary,
21379 rather than replacing it. This is necessary for proper operation
21380 of cooperative addons like allout-widgets.
21381 (allout-make-topic-prefix, allout-rebullet-heading):
21382 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21383 value as alternate bullet to be used, instead of prompting the user
21384 for a bullet character.
21385
21386 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
21387
21388 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21389 Do not use `tramp-file-name-port', because this returns also
21390 `tramp-default-port'.
21391
21392 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21393
21394 * net/rcirc.el (rcirc-handler-001): Remove useless
21395 with-rcirc-process-buffer.
21396 (rcirc-check-auth-status): Swap arguments to string-match.
21397
21398 2011-03-09 Glenn Morris <rgm@gnu.org>
21399
21400 * shell.el (shell-mode):
21401 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21402
21403 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21404 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21405
21406 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21407
21408 * emacs-lisp/package.el (package-refresh-contents)
21409 (package-menu-execute): Use condition-case-no-debug.
21410
21411 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
21412
21413 * simple.el (shell-command-to-string): Use `process-file'.
21414
21415 * emacs-lisp/package.el (package-tar-file-info): Handle also
21416 remote files.
21417
21418 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21419 Use `equal' for upload base check.
21420
21421 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21422
21423 * textmodes/texinfo.el (texinfo-environments):
21424 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21425
21426 2011-03-08 Glenn Morris <rgm@gnu.org>
21427
21428 * cus-start.el (cursor-in-non-selected-windows):
21429 Fix :set quoting oddness. (Bug#8192)
21430
21431 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21432 in some setf expressions. (Bug#2159)
21433
21434 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
21435
21436 * custom.el (custom-available-themes): Return themes in
21437 alphabetical order.
21438
21439 See ChangeLog.15 for earlier changes.
21440
21441 ;; Local Variables:
21442 ;; coding: utf-8
21443 ;; End:
21444
21445 Copyright (C) 2011-2013 Free Software Foundation, Inc.
21446
21447 This file is part of GNU Emacs.
21448
21449 GNU Emacs is free software: you can redistribute it and/or modify
21450 it under the terms of the GNU General Public License as published by
21451 the Free Software Foundation, either version 3 of the License, or
21452 (at your option) any later version.
21453
21454 GNU Emacs is distributed in the hope that it will be useful,
21455 but WITHOUT ANY WARRANTY; without even the implied warranty of
21456 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21457 GNU General Public License for more details.
21458
21459 You should have received a copy of the GNU General Public License
21460 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.