Increment c-version to 5.32.2.
[bpt/emacs.git] / lisp / ChangeLog
1 2011-10-28 Alan Mackenzie <acm@muc.de>
2
3 * progmodes/cc-defs.el (c-version). -> 5.32.2.
4
5 2011-10-28 Alan Mackenzie <acm@muc.de>
6
7 Amend the handling of c-beginning/end-of-defun in nested declaration
8 scopes.
9
10 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11 cc-langs.el. Change it to a defcustom.
12
13 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14 cc-vars.el.
15 (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
16
17 * progmodes/cc-engine.el (c-beginning-of-statement-1): Prevent
18 "class foo : bar" being spuriously recognized as a label.
19
20 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
21 Add parameter `inclusive' (to include enclosing braces in the
22 region).
23 (c-widen-to-enclosing-decl-scope): New function.
24 (c-while-widening-to-decl-block): New macro.
25 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
26 outward for defun boundaries, and correspondingly change symbol
27 `respect-enclosure' to `go-outward'.
28 (c-declaration-limits): Change algorithm to report only the "innermost"
29 defun's boundaries.
30
31 2011-10-28 Deniz Dogan <deniz@dogan.se>
32
33 * net/rcirc.el (rcirc-mode): Use hard newlines.
34
35 2011-10-28 Alan Mackenzie <acm@muc.de>
36
37 Amend to indent and fontify macros "which include their own semicolon"
38 correctly, using the "virtual semicolon" mechanism.
39
40 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
41
42 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Recoded
43 to scan one line at at time rather than having \n and \r
44 explicitly in c-stmt-delim-chars
45 (for some modes, e.g. AWK).
46 (c-forward-label): Amend for virtual semicolons.
47 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
48
49 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
50 of the new C macros.
51
52 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
53 (c-vsemi-status-unknown-p-fn): move to earlier in the file.
54 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
55 (c-opt-cpp-macro-define): Make into a full language variable.
56 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
57 AWK Mode (including \n, \r) removed, no longer needed.
58
59 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode): Invoke
60 c-make-macro-with-semi-re.
61
62 * progmodes/cc-vars.el (c-macro-with-semi-re):
63 (c-macro-names-with-semicolon): New variables.
64 (c-make-macro-with-semi-re): New function
65
66 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * vc/log-edit.el: Fill empty field rather than adding new one.
69 (log-edit-add-field): New function.
70 (log-edit-insert-changelog): Use it.
71
72 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
73
74 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
75
76 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
79 (gdb--check-interpreter): New function.
80 (gdb): Use it.
81
82 2011-10-27 Glenn Morris <rgm@gnu.org>
83
84 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
85 (least-positive-float, least-negative-float)
86 (least-positive-normalized-float, least-negative-normalized-float)
87 (float-epsilon, float-negative-epsilon):
88 Remove unnecessary declarations.
89
90 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
91 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
92 (least-positive-float, least-negative-float)
93 (least-positive-normalized-float, least-negative-normalized-float)
94 (float-epsilon, float-negative-epsilon): Add doc-strings,
95 based on those in cl.texi.
96
97 * files.el (set-visited-file-name): If the major-mode changed,
98 reload the local variables. (Bug#9796)
99
100 2011-10-27 Chong Yidong <cyd@gnu.org>
101
102 * subr.el (change-major-mode-after-body-hook): New hook.
103 (run-mode-hooks): Run it.
104
105 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
106 Use change-major-mode-before-body-hook.
107
108 * simple.el (fundamental-mode):
109 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
110 change introducing fundamental-mode-hook.
111
112 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
113
114 * term/w32-win.el (w32-default-color-map): Declare obsolete. (Bug#9785)
115
116 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
117
118 * ido.el (ido-file-name-all-completions-1): Do not require
119 tramp.el explicitely. (Bug#7583)
120
121 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * progmodes/octave-mod.el:
124 * progmodes/octave-inf.el: Update maintainer.
125
126 2011-10-26 Chong Yidong <cyd@gnu.org>
127
128 * subr.el (with-wrapper-hook): Rewrite doc.
129
130 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
131
132 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
133 filenames "/method:foo:". (Bug#9793)
134
135 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
138 (bug#9865).
139
140 2011-10-24 Glenn Morris <rgm@gnu.org>
141
142 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
143
144 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
145
146 * notifications.el: Add the requirement of a running D-Bus session
147 bus to the Commentary.
148
149 2011-10-24 Juri Linkov <juri@jurta.org>
150
151 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
152 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
153 (Bug#9364)
154
155 2011-10-24 Juri Linkov <juri@jurta.org>
156
157 * info.el (Info-following-node-name-re): Add newline to the list
158 of allowed characters for leading space. (Bug#9824)
159
160 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
163 * progmodes/octave-mod.el (octave-help): Remove.
164
165 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
166
167 Sync with Tramp 2.2.3.
168
169 * net/tramp-cache.el (top): Pacify byte-compiler using
170 `init-file-user' and `site-run-file'.
171
172 * net/trampver.el: Update release number.
173
174 2011-10-23 Chong Yidong <cyd@gnu.org>
175
176 * files.el (toggle-read-only): Remove obsolete comment about
177 version control.
178
179 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
180 for toggle-read-only. Note that this hasn't called vc-next-action
181 since 2008-05-02, though it wasn't documented at the time.
182
183 * vc/ediff-init.el (ediff-toggle-read-only-function):
184 Use toggle-read-only.
185
186 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
187
188 Fix bug #9560, sporadic wrong indentation; improve instrumentation
189 of c-parse-state.
190
191 * cc-engine.el (c-append-lower-brace-pair-to-state-cache):
192 correct faulty logical expression.
193 (c-parse-state-state, c-record-parse-state-state):
194 (c-replay-parse-state-state): New defvar/defuns.
195 (c-debug-parse-state): Use new functions.
196
197 2011-10-22 Martin Rudalics <rudalics@gmx.at>
198
199 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
200 last fix. Use window-in-direction correctly.
201
202 2011-10-21 Chong Yidong <cyd@gnu.org>
203
204 * progmodes/idlwave.el (idlwave-mode):
205 * progmodes/vera-mode.el (vera-mode): No need to set
206 require-final-newline; that's done in prog-mode.
207 Suggested by Stefan Monnier.
208
209 2011-10-21 Martin Rudalics <rudalics@gmx.at>
210
211 * mouse.el (mouse-drag-window-above)
212 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
213 (mouse-drag-mode-line-1, mouse-drag-header-line)
214 (mouse-drag-vertical-line-rightward-window): Remove.
215 (mouse-drag-line): New function.
216 (mouse-drag-mode-line, mouse-drag-header-line)
217 (mouse-drag-vertical-line): Call mouse-drag-line.
218 * window.el (window-at-side-p, windows-at-side): New functions.
219
220 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
221
222 * tar-mode.el (tar-grind-file-mode):
223 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
224
225 2011-10-21 Chong Yidong <cyd@gnu.org>
226
227 * progmodes/idlwave.el (idlwave-mode):
228 * progmodes/vera-mode.el (vera-mode):
229 Use mode-require-final-newline.
230
231 2011-10-20 Glenn Morris <rgm@gnu.org>
232
233 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
234
235 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
236
237 * emulation/cua-base.el (cua-set-mark): Fix case of string.
238
239 2011-10-20 Chong Yidong <cyd@gnu.org>
240
241 * emulation/cua-base.el (cua-mode):
242 * mail/footnote.el (footnote-mode):
243 * mail/mailabbrev.el (mail-abbrevs-mode):
244 * net/xesam.el (xesam-minor-mode):
245 * progmodes/bug-reference.el (bug-reference-mode):
246 * progmodes/cap-words.el (capitalized-words-mode):
247 * progmodes/compile.el (compilation-minor-mode)
248 (compilation-shell-minor-mode):
249 * progmodes/gud.el (gud-tooltip-mode):
250 * progmodes/hideif.el (hide-ifdef-mode):
251 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
252 * progmodes/subword.el (subword-mode):
253 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
254 * progmodes/which-func.el (which-function-mode):
255 * term/tvi970.el (tvi970-set-keypad-mode):
256 * term/vt100.el (vt100-wide-mode):
257 * textmodes/flyspell.el (flyspell-mode):
258 * textmodes/ispell.el (ispell-minor-mode):
259 * textmodes/nroff-mode.el (nroff-electric-mode):
260 * textmodes/paragraphs.el (use-hard-newlines):
261 * textmodes/refill.el (refill-mode):
262 * textmodes/reftex.el (reftex-mode):
263 * textmodes/rst.el (rst-minor-mode):
264 * textmodes/sgml-mode.el (html-autoview-mode)
265 (sgml-electric-tag-pair-mode):
266 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
267 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
268 * emulation/crisp.el (crisp-mode):
269 * emacs-lisp/eldoc.el (eldoc-mode):
270 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
271 minor mode behavior.
272
273 2011-10-19 Juri Linkov <juri@jurta.org>
274
275 * descr-text.el (describe-char): Add #x2010 and #x2011 to
276 the list of hard-coded chars with escape-glyph face.
277
278 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
281
282 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
283
284 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
285 running process.
286
287 2011-10-19 Glenn Morris <rgm@gnu.org>
288
289 * vc/vc-bzr.el (vc-bzr-after-dir-status):
290 Ignore ignored files. (Bug#9726)
291
292 2011-10-19 Chong Yidong <cyd@gnu.org>
293
294 Doc fix for minor modes, stating that an omitted argument enables
295 the mode unconditionally when called from Lisp.
296
297 * abbrev.el (abbrev-mode):
298 * allout.el (allout-mode):
299 * autoinsert.el (auto-insert-mode):
300 * autoarg.el (autoarg-mode, autoarg-kp-mode):
301 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
302 (global-auto-revert-mode):
303 * battery.el (display-battery-mode):
304 * composite.el (global-auto-composition-mode)
305 (auto-composition-mode):
306 * delsel.el (delete-selection-mode):
307 * desktop.el (desktop-save-mode):
308 * dired-x.el (dired-omit-mode):
309 * dirtrack.el (dirtrack-mode):
310 * doc-view.el (doc-view-minor-mode):
311 * double.el (double-mode):
312 * electric.el (electric-indent-mode, electric-pair-mode):
313 * emacs-lock.el (emacs-lock-mode):
314 * epa-hook.el (auto-encryption-mode):
315 * follow.el (follow-mode):
316 * font-core.el (font-lock-mode):
317 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
318 * help.el (temp-buffer-resize-mode):
319 * hilit-chg.el (highlight-changes-mode)
320 (highlight-changes-visible-mode):
321 * hi-lock.el (hi-lock-mode):
322 * hl-line.el (hl-line-mode, global-hl-line-mode):
323 * icomplete.el (icomplete-mode):
324 * ido.el (ido-everywhere):
325 * image-file.el (auto-image-file-mode):
326 * image-mode.el (image-minor-mode):
327 * iswitchb.el (iswitchb-mode):
328 * jka-cmpr-hook.el (auto-compression-mode):
329 * linum.el (linum-mode):
330 * longlines.el (longlines-mode):
331 * master.el (master-mode):
332 * mb-depth.el (minibuffer-depth-indicate-mode):
333 * menu-bar.el (menu-bar-mode):
334 * minibuf-eldef.el (minibuffer-electric-default-mode):
335 * mouse-sel.el (mouse-sel-mode):
336 * msb.el (msb-mode):
337 * mwheel.el (mouse-wheel-mode):
338 * outline.el (outline-minor-mode):
339 * paren.el (show-paren-mode):
340 * recentf.el (recentf-mode):
341 * reveal.el (reveal-mode, global-reveal-mode):
342 * rfn-eshadow.el (file-name-shadow-mode):
343 * ruler-mode.el (ruler-mode):
344 * savehist.el (savehist-mode):
345 * scroll-all.el (scroll-all-mode):
346 * scroll-bar.el (scroll-bar-mode):
347 * server.el (server-mode):
348 * shell.el (shell-dirtrack-mode):
349 * simple.el (auto-fill-mode, transient-mark-mode)
350 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
351 (line-number-mode, column-number-mode, size-indication-mode)
352 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
353 * strokes.el (strokes-mode):
354 * time.el (display-time-mode):
355 * t-mouse.el (gpm-mouse-mode):
356 * tool-bar.el (tool-bar-mode):
357 * tooltip.el (tooltip-mode):
358 * type-break.el (type-break-mode-line-message-mode)
359 (type-break-query-mode):
360 * view.el (view-mode):
361 * whitespace.el (whitespace-mode, whitespace-newline-mode)
362 (global-whitespace-mode, global-whitespace-newline-mode):
363 * xt-mouse.el (xterm-mouse-mode): Doc fix.
364
365 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
366 Fix autogenerated docstring.
367
368 2011-10-19 Juri Linkov <juri@jurta.org>
369
370 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
371 by checking environment variables "DESKTOP_SESSION" and
372 "XDG_CURRENT_DESKTOP". (Bug#9779)
373
374 2011-10-19 Juri Linkov <juri@jurta.org>
375
376 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
377 (browse-url-chromium-program, browse-url-chromium-arguments):
378 New defcustoms.
379 (browse-url-default-browser): Check for `browse-url-chromium' and
380 call `browse-url-chromium-program'.
381 (browse-url-chromium): New command. (Bug#9779)
382
383 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
384
385 * facemenu.el (list-colors-duplicates): On Windows, detect more
386 duplicates by assuming that only colors matching "^System" are
387 special "system colors". (Bug#9722)
388
389 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
392 to distinguish the author from the committer.
393
394 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
395
396 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
397
398 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
399
400 * international/mule.el (sgml-html-meta-auto-coding-function):
401 Add support for detecting encoding in HTML5 specified only as
402 <meta charset="UTF-8">. Implementation just makes http-equiv and
403 content-type parts from HTML4 encoding string optional. (Bug#9716)
404
405 2011-10-18 Glenn Morris <rgm@gnu.org>
406
407 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
408
409 2011-10-18 Chong Yidong <cyd@gnu.org>
410
411 * faces.el (cursor): Doc fix.
412
413 2011-10-17 Chong Yidong <cyd@gnu.org>
414
415 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
416
417 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
418
419 * dirtrack.el (dirtrack): Support shell buffers with path
420 prefixes, e.g. tramp-based remote shells. (Bug#9647)
421
422 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
423
424 * json.el: Bump version to 1.3 and note change in History.
425 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
426
427 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * comint.el (comint-insert-input, comint-send-input)
430 (comint-get-old-input-default, comint-backward-matching-input)
431 (comint-next-prompt): Use nil instead of `input' for field property of
432 past user input (bug#114).
433
434 * minibuffer.el (completion--replace): Inherit surrounding properties
435 (bug#114).
436 (minibuffer-complete-and-exit): Use it.
437
438 * comint.el (comint--table-subvert): Quote the all-completions output
439 (bug#9160).
440
441 2011-10-17 Martin Rudalics <rudalics@gmx.at>
442
443 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
444
445 * menu-bar.el (menu-bar-file-menu): Add entry for making new
446 window on right of selected. (Bug#9350) Reword other window
447 entries and separate them from frame entries.
448
449 2011-10-15 Glenn Morris <rgm@gnu.org>
450
451 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
452 Doc fixes.
453
454 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
455
456 * net/network-stream.el (network-stream-open-starttls):
457 Improve detection of failure due to lack of TLS support.
458
459 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
460 putting the input text in front and in bold.
461
462 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
465
466 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
467 empty buffer.
468
469 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
470 unread-command-events rather than pushing yet-another event.
471
472 2011-10-14 Eli Zaretskii <eliz@gnu.org>
473
474 * mail/sendmail.el (sendmail-query-once): Improve the wording of
475 the explanation of the possible choices. Make the options passed
476 to completing-read shorter.
477
478 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
479
480 * textmodes/flyspell.el (flyspell-large-region): Make sure
481 extended character mode is used if defined (Bug#1339).
482
483 2011-10-13 Eli Zaretskii <eliz@gnu.org>
484
485 * simple.el (what-cursor-position): Fix the display of the
486 character info for LRE, LRO, RLE, and RLO characters by appending
487 an invisible PDF.
488
489 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
492 even in case of error; add debug spec; simplify data flow.
493 (with-timeout-handler): Remove.
494
495 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
496
497 Fix Bug#6019, Bug#9315.
498
499 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
500 complete `buffer-file-name', the local file name part could look
501 remotely (for example on VMS).
502
503 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
504 `tramp-run-real-handler'.
505 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
506 already quoted by '"'.
507
508 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
509 Let `file-name-handler-alist' be nil, the local file name part
510 could look remotely (for example on VMS).
511
512 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
515 from here...
516 (flyspell-post-command-hook): ...to here.
517
518 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
521 if not needed.
522 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
523 using completion. Protect against "slow" callers.
524 Remove the "message hack".
525
526 2011-10-11 Juri Linkov <juri@jurta.org>
527
528 * isearch.el (isearch-lazy-highlight-word): New variable.
529 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
530 Use it. (Bug#9727)
531
532 2011-10-11 Glenn Morris <rgm@gnu.org>
533
534 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
535 like f90-previous-statement does.
536
537 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
538
539 * eshell/eshell.el (eshell-command): History should be saved
540 only in interactive use, to avoid error.
541
542 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * minibuffer.el (completion-file-name-table): Fix last change,
545 i.e. ignore normal errors but not the other ones.
546
547 2011-10-10 Martin Rudalics <rudalics@gmx.at>
548
549 * window.el (special-display-buffer-names)
550 (special-display-regexps): Remove some remnants of earlier
551 changes from doc-strings.
552 (quit-windows-on): New function.
553
554 * vc/vc.el (vc-revert, vc-rollback):
555 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
556 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
557 (Bug#6183) (Bug#7074) (Bug#7447)
558
559 2011-10-09 Martin Rudalics <rudalics@gmx.at>
560
561 * window.el (frame-auto-hide-function): Add version tag.
562 (Bug#9699)
563
564 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
565
566 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
567 condition.
568
569 2011-10-09 Leo Liu <sdl.web@gmail.com>
570
571 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
572 (Bug#9701)
573
574 2011-10-08 Glenn Morris <rgm@gnu.org>
575
576 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
577 before the first code statement zero indent. (Bug#9690)
578
579 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
580
581 * simple.el (count-words-region): Always count in the region.
582 Report the number of lines and characters too.
583 (count-words): New command, which counts in the buffer if the
584 region is inactive, as count-words-region used to.
585 (count-words--message): New function. Handle plurals.
586 (count-lines-region): Make it an alias for count-words-region.
587
588 * bindings.el (esc-map): Replace count-lines-region with
589 count-words-region.
590
591 2011-10-08 Martin Rudalics <rudalics@gmx.at>
592
593 * window.el (window--delete): Delete dedicated frame
594 unconditionally when argument KILL is non-nil. (Bug#9699)
595 (switch-to-buffer): Fix doc-string typo.
596
597 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
598
599 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
600
601 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
602
603 * bindings.el ([M-left],[M-right]): Bind to left-word and
604 right-word respectively.
605
606 2011-10-07 Glenn Morris <rgm@gnu.org>
607
608 * cus-start.el (debug-on-quit): Fix custom type.
609
610 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
611
612 * subr.el (define-key-after): Clarify that the function is not
613 useful for non-menu keymaps.
614
615 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
616
617 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
618
619 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
620 in current minibuffer (Fix bug with recursive minibuffers).
621
622 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
623
624 * progmodes/gdb-mi.el (gdb): Doc fix.
625
626 2011-10-05 Martin Rudalics <rudalics@gmx.at>
627
628 * window.el (frame-auto-hide-function): New option replacing
629 frame-auto-delete. Suggested by Stefan Monnier.
630 (window--delete): Call frame-auto-hide-function instead of
631 investigating frame-auto-delete.
632 (window-point-1, set-window-point-1): New functions.
633 (window-in-direction, record-window-buffer, window-state-get-1)
634 (display-buffer-record-window): Use window-point-1 instead of
635 window-point.
636 (set-window-buffer-start-and-point): Use set-window-point-1.
637
638 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
641
642 2011-10-05 Glenn Morris <rgm@gnu.org>
643
644 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
645 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
646
647 2011-10-05 Leo Liu <sdl.web@gmail.com>
648
649 * subr.el (read-char-choice): Fix argument to buffer-live-p which
650 works with buffer object.
651
652 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * mpc.el (mpc-tool-bar-map): Add labels.
655
656 2011-10-04 Glenn Morris <rgm@gnu.org>
657
658 * calendar/holidays.el (calendar-check-holidays): Doc fix.
659
660 2011-10-04 Martin Rudalics <rudalics@gmx.at>
661
662 * window.el (window--delete): New function.
663 (frame-auto-delete): Resuscitate option.
664 (bury-buffer, replace-buffer-in-windows)
665 (quit-window): Rewrite using window--delete.
666 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
667 Pass display-buffer-mark-dedicated to window--display-buffer-2
668 (Bug#9639).
669
670 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
673 returns a list (bug#9554). Add remote file name completion.
674 * comint.el (comint--table-subvert): Curry and get quote&unquote
675 functions as arguments.
676 (comint--complete-file-name-data): Adjust call accordingly.
677 * pcomplete.el (pcomplete--table-subvert): Remove.
678 (pcomplete-completions-at-point): Use comint--table-subvert instead.
679
680 * minibuffer.el (completion-table-case-fold): Use currying.
681 (completion--styles-type, completion--cycling-threshold-type):
682 New constants.
683 (completion-styles, completion-category-overrides)
684 (completion-cycle-threshold): Use them.
685 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
686 completion-table-case-fold.
687
688 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
689
690 * minibuffer.el (completion-category-overrides): Fix type of styles
691 and add more user friendly tags (bug#9660).
692
693 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
696 (mule-input-method-string): New widget.
697 (default-input-method, language-info-custom-alist): Use it.
698
699 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * pcomplete.el: Require comint.
702 (pcomplete--common-suffix): Remove.
703 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
704 (pcomplete--table-subvert): Sync with comint--table-subvert.
705 (pcomplete--entries): Use comint-completion-file-name-table.
706 * comint.el (comint-unquote-filename): Simplify.
707 (comint-completion-file-name-table): New function (bug#9616).
708 (comint--complete-file-name-data): Use it.
709
710 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
711 (pcmpl-gnu-tar-buffer): Remove.
712 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
713 around. Make sure pcomplete-suffix-list is only changed temporarily.
714 Don't look inside the tar's file if it's too large.
715
716 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
717
718 * cus-edit.el (custom-mode-map):
719 * epa.el (epa-key-list-mode-map):
720 * man.el (Man-mode-map):
721 * startup.el (splash-screen-keymap):
722 * simple.el (special-mode-map): Use scroll-up-command and
723 scroll-down-command.
724
725 * progmodes/idlw-help.el (idlwave-help-mode-map):
726 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
727 * net/newst-plainview.el (newsticker-mode-map):
728 * emulation/ws-mode.el (wordstar-mode-map):
729 * emulation/vi.el (vi-com-map):
730 * calc/calc-graph.el (calc-graph-show-dumb):
731 * term/sun.el (terminal-init-sun):
732 * term/ns-win.el (global-map):
733 * progmodes/grep.el (grep-mode-map):
734 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
735 * mail/rmail.el (rmail-mode-map):
736 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
737
738 * custom.el (custom-safe-themes, load-theme): Treat value of t for
739 custom-safe-themes as special.
740
741 2011-10-01 Julien Danjou <julien@danjou.info>
742
743 * notifications.el (notifications-notify): Fix docstring.
744
745 2011-10-01 Per Starbäck <per@starback.se>
746
747 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
748
749 2011-09-30 Martin Rudalics <rudalics@gmx.at>
750
751 * startup.el (command-line-1): Fix last fix by inserting
752 initial-scratch-message into *scratch* before displaying it.
753 (Bug#9605) and (Bug#9636)
754
755 2011-09-29 Eli Zaretskii <eliz@gnu.org>
756
757 * simple.el (line-move): If auto-hscroll-mode is disabled and the
758 window is hscrolled, move by logical lines. (Bug#9607)
759 (line-move-visual): Update the doc string to the above effect.
760
761 2011-09-29 Martin Rudalics <rudalics@gmx.at>
762
763 * window.el (display-buffer-record-window): When WINDOW is the
764 selected window use `point' instead of `window-point'. (Bug#9626)
765
766 * startup.el (command-line-1): Use insert-before-markers when
767 inserting initial-scratch-message. (Bug#9605)
768
769 * help.el (help-window): Remove variable.
770
771 2011-09-29 Glenn Morris <rgm@gnu.org>
772
773 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
774
775 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
776
777 * descr-text.el (describe-char-categories): Accept category
778 descriptions more than one line long.
779
780 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * simple.el (delete-trailing-whitespace): Fix last change.
783
784 * progmodes/perl-mode.el (perl-syntax-propertize-function):
785 Don't confuse "y => 3" as the beginning of a `y' operation.
786
787 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
788 object has more than 4 slots (bug#9613).
789
790 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
791
792 * subr.el (with-output-to-temp-buffer):
793 * net/quickurl.el (quickurl, quickurl-browse-url):
794 Fix typos in docstrings.
795
796 2011-09-27 Eli Zaretskii <eliz@gnu.org>
797
798 * minibuffer.el (completion-styles)
799 (completion-category-overrides): Cross reference each other in doc
800 strings.
801
802 2011-09-27 Glenn Morris <rgm@gnu.org>
803
804 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
805 to split-string. (Bug#9606)
806
807 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
808
809 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
810 (bug#9615).
811
812 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
813
814 * emacs-lisp/package.el (list-packages): Fix echo area message.
815
816 2011-09-27 Leo Liu <sdl.web@gmail.com>
817
818 * ido.el (ido-read-internal): Accept cons cell HIST arg.
819
820 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
821
822 * net/dbus.el (dbus-unregister-object): Don't release services for
823 registered signals. (Bug#9581)
824
825 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
826
827 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
828 function that picks between cfengine 2 and 3 support
829 automatically. Update docs accordingly.
830
831 2011-09-22 Kenichi Handa <handa@m17n.org>
832
833 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
834 ZERO.
835 (indian-itrans-v5-table-for-tamil): New variable.
836 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
837
838 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
839
840 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
841 that's true if the current command involved collapsing of text.
842 It's reset to false at the beginning of the next command.
843 (allout-post-command-business): Move the cursor to the beginning
844 of entry if the cursor is hidden and collapsing activity just
845 happened.
846
847 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
848
849 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
850 tracking (Bug#9541).
851
852 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
853
854 * net/newst-reader.el (newsticker-html-renderer)
855 (newsticker-show-news): Automatically
856 load html rendering package if newsticker-html-renderer is set.
857 Fixes "Warning: defvar ignored because w3m-fill-column is
858 let-bound" and the error "Symbol's value as variable is void:
859 w3m-fill-column".
860
861 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
862
863 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
864 Release services only if they are defined. (Bug#9581)
865
866 2011-09-23 Richard Stallman <rms@gnu.org>
867
868 * textmodes/paragraphs.el (forward-sentence): For backwards case,
869 distinguish start of paragraph from start of its text.
870
871 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
872
873 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
874 (rmail-generate-viewer-buffer): Put that hook on view buffer.
875 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
876
877 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
878
879 * international/mule-diag.el (mule-diag): Insert a newline after
880 each fontset description.
881
882 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * simple.el (delete-trailing-whitespace):
885 Document last change; simplify.
886
887 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
888
889 * simple.el (delete-trailing-whitespace): Also delete
890 extra newlines at the end of the buffer.
891
892 * textmodes/picture.el: Make motion commands obey shift-select-mode.
893 (picture-newline): Use forward-line so as to ignore fields.
894
895 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * subr.el (with-wrapper-hook): Fix edebug spec.
898
899 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
900
901 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
902 (bug#4538).
903
904 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
905
906 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
907 Fix nasty bug using wrong cached values.
908
909 2011-09-23 Alan Mackenzie <acm@muc.de>
910
911 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
912
913 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
914
915 * window.el (pop-to-buffer): Ensure right window is selected if we
916 chose another frame.
917
918 2011-09-22 Eli Zaretskii <eliz@gnu.org>
919
920 * simple.el (what-cursor-position): Use get-char-property-change
921 and next-single-char-property-change, to be able to show display
922 properties that come from overlays as well as text properties.
923
924 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
925
926 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
927
928 * cmuscheme.el (run-scheme, switch-to-scheme):
929 * cus-edit.el (customize-group, custom-buffer-create)
930 (customize-browse):
931 * info.el (info):
932 * shell.el (shell):
933 * mail/sendmail.el (mail):
934 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
935
936 2011-09-22 Richard Stallman <rms@gnu.org>
937
938 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
939 move back only to line beg, don't move back over blank lines.
940
941 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
942
943 * files.el (copy-directory): Set directory attributes only in case
944 they could be retrieved from the source directory. (Bug#9565)
945
946 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
947
948 * progmodes/hideshow.el (hs-looking-at-block-start-p)
949 (hs-find-block-beginning, hs-hide-level-recursive):
950 Ignore strings as well as comments. (Bug#9502)
951
952 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
953
954 * progmodes/sql.el (sql-comint-postgres):
955 Convert port number to a string. (Bug#9566)
956
957 2011-09-22 Martin Rudalics <rudalics@gmx.at>
958
959 * window.el (quit-window): Undedicate window when switching to
960 previous buffer. Reported by Thierry Volpiatto
961 <thierry.volpiatto@gmail.com>.
962 (special-display-popup-frame): When popping up a new frame reset
963 its previous buffers to nil. Simplify code.
964
965 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
966
967 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
968 and process filter, as done also in `shell-command'.
969
970 2011-09-21 Martin Rudalics <rudalics@gmx.at>
971
972 * window.el (set-window-buffer-start-and-point):
973 Call set-window-start with NOFORCE argument t. Suggested by Thierry
974 Volpiatto <thierry.volpiatto@gmail.com>.
975 (quit-window): Reword doc-string. Handle new format of
976 quit-restore parameter. Don't delete window if it has a
977 previous buffer we can show instead of the present one.
978 (display-buffer-record-window): Rewrite using a new format for
979 the quit-restore window parameter
980 (special-display-popup-frame, display-buffer-same-window)
981 (display-buffer-reuse-window, display-buffer-pop-up-frame)
982 (display-buffer-pop-up-window, display-buffer-use-some-window):
983 Adapt symbol passed to display-buffer-record-window.
984 * help.el (help-window-setup): Handle new format of quit-restore
985 parameter.
986
987 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * faces.el (face-list): Fix docstring (bug#9564).
990
991 * window.el (display-buffer--action-function-custom-type):
992 Don't include internal functions in the Custom interface.
993
994 2011-09-20 Juri Linkov <juri@jurta.org>
995
996 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
997 (Info-forward-node, Info-backward-node, Info-next-preorder)
998 (Info-last-preorder): Use it. (Bug#9528)
999
1000 2011-09-20 Juri Linkov <juri@jurta.org>
1001
1002 * info.el (Info-last-preorder): Visit last menu item only when
1003 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1004
1005 2011-09-20 Julien Danjou <julien@danjou.info>
1006
1007 * password-cache.el (password-cache-remove): Remove entries even if the
1008 value is nil, so that password with a nil value (negative caching) is
1009 possible to invalidate.
1010
1011 2011-09-20 Lawrence Mitchell <wence@gmx.li>
1012
1013 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1014 all whitespace around breakpoint. (Bug#9553)
1015 (f90-find-breakpoint): Only break at whitespace inside a comment.
1016
1017 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1018
1019 * minibuffer.el (completion-file-name-table): Keep track of errors.
1020 (completion-table-with-predicate): Handle the case where pred1 is nil.
1021 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1022
1023 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1024
1025 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1026 (debugger-return-value): Signal an error if the debugging context does
1027 not await any return value.
1028
1029 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1030 * image-mode.el (image-toggle-display-text)
1031 (image-toggle-display-image): Stay away from evil `intangible'.
1032
1033 2011-09-19 Leo Liu <sdl.web@gmail.com>
1034
1035 * replace.el (occur-revert-arguments): Make it permanent-local.
1036 (occur-mode): Don't call font-lock-defontify.
1037
1038 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
1039
1040 * net/ldap.el (ldap-search-internal): Don't push empty search
1041 result (Bug#9508).
1042
1043 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1046
1047 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
1048
1049 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1050 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1051
1052 2011-09-18 Juri Linkov <juri@jurta.org>
1053
1054 * buff-menu.el (Buffer-menu-mode-map):
1055 * dired.el (dired-mode-map):
1056 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1057 (lisp-interaction-mode-map):
1058 * emacs-lisp/package.el (package-menu-mode-map):
1059 * epa.el (epa-key-list-mode-map):
1060 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1061 (menu-bar-options-menu):
1062 * outline.el (outline-mode-menu-bar-map):
1063 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1064 * vc/vc-dir.el (vc-dir-menu-map):
1065 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1066 Capitalize non-function content words in menu item strings.
1067
1068 * dired.el (dired-mode-map): Add menu item for
1069 `image-dired-dired-toggle-marked-thumbs'.
1070
1071 2011-09-18 Juri Linkov <juri@jurta.org>
1072
1073 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1074 to `isearch-case-fold-search' and restore its original value
1075 after the `isearch-mode' call.
1076
1077 2011-09-18 Juri Linkov <juri@jurta.org>
1078
1079 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1080 because `zgrep' returns 1 for successful matches (bug#9226).
1081
1082 2011-09-18 Juri Linkov <juri@jurta.org>
1083
1084 * info.el (Info-extract-menu-node-name): Check the second match
1085 for empty string (second test-case of bug#9528).
1086 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1087 intermediate nodes to the history (first test-case of bug#9528).
1088
1089 2011-09-18 Juri Linkov <juri@jurta.org>
1090
1091 * info.el (Info-mode-syntax-table): New variable.
1092 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1093
1094 2011-09-18 Juri Linkov <juri@jurta.org>
1095
1096 * info.el (Info-file-supports-index-cookies): Increment
1097 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1098 one more line for long file names (bug#4142).
1099
1100 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
1101
1102 * newcomment.el (comment-normalize-vars): If prompting for
1103 comment-start, set comment-start-skip too (Bug#8424).
1104
1105 2011-09-18 Johan Bockgård <bojohan@gnu.org>
1106
1107 * icomplete.el: Fix previous fix of Bug#5849.
1108 (icomplete-mode): Don't set completion-show-inline-help.
1109 (icomplete-minibuffer-setup): Set completion-show-inline-help
1110 locally during icompletion.
1111
1112 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
1113
1114 * woman.el (woman2-process-escapes): Don't delete unrecognized
1115 escapes (Bug#7843).
1116
1117 * files.el (inhibit-first-line-modes-regexps): Add image files.
1118 (hack-local-variables-prop-line): Return nil for malformed
1119 prop-lines (Bug#9044).
1120
1121 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp.el (top): Don't require 'shell.
1124 (tramp-methods): Fix docstring.
1125 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
1126 Return complete remote file name. Handle "smb" case.
1127 Use `tramp-tmpdir', if defined for the respective method.
1128 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1129
1130 * net/tramp-compat.el (top): Require 'shell.
1131
1132 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1133 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1134 `tramp-current-host'.
1135 (tramp-get-remote-tmpdir): Remove.
1136
1137 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1138 `tramp-tmpdir' entries.
1139 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1140 (tramp-smb-handle-file-attributes): Ignore errors.
1141 (tramp-smb-wait-for-output): Check also for process end.
1142
1143 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1144
1145 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1146 when sending QUIT (bug#9312).
1147
1148 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
1149
1150 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1151 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1152 occur-mode-display-occurrence.
1153 (occur-edit-mode): Add usage message.
1154 (occur-cease-edit): New command.
1155 (occur-after-change-function): Use text properties to find the
1156 position of the prefix text.
1157 (occur-engine): Set stickiness of prefix text properties.
1158
1159 2011-09-17 Glenn Morris <rgm@gnu.org>
1160
1161 * progmodes/etags.el (complete-tag):
1162 Fix call to completion-in-region. (Bug#9526)
1163
1164 2011-09-17 Juri Linkov <juri@jurta.org>
1165
1166 * textmodes/ispell.el (ispell-word): Add to the error message
1167 the word, ispell program name and current dictionary (bug#9121).
1168 (ispell-tex-arg-end): Capitalize "error" in the error message.
1169
1170 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1171
1172 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1173 check. (Bug#4251)
1174
1175 2011-09-17 Juri Linkov <juri@jurta.org>
1176
1177 * window.el (window-safe-min-height, window-safe-min-width):
1178 Fix typos (followup to bug#9522).
1179
1180 2011-09-17 Sven Joachim <svenjoac@gmx.de>
1181
1182 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1183
1184 2011-09-16 Eli Zaretskii <eliz@gnu.org>
1185
1186 * simple.el (line-move): If goal-column is set, move by logical
1187 lines, not by display lines. (Bug#971)
1188 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1189 to reflect the above change.
1190
1191 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * image.el (imagemagick-register-types): Use regexp-opt.
1194
1195 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
1196
1197 * window.el (display-buffer-base-action): Rename from
1198 display-buffer-default-action. Make default value empty.
1199 (display-buffer-overriding-action): Convert to defvar.
1200 (display-buffer-fallback-action): New var.
1201
1202 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
1203
1204 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1205 declaration.
1206 (package--add-to-archive-contents): If there is a duplicate entry
1207 with an older version, remove it.
1208 (package-menu-mark-delete, package-menu-mark-install)
1209 (package-menu-mark-unmark): Make unused args optional.
1210 (package-menu-mark-obsolete-for-deletion):
1211 Use package-menu-get-status instead of a regexp search.
1212 (package-menu-get-status): Use tabulated-list-entry.
1213 (package-menu-mark-upgrades): New command.
1214 (package-menu-mode-map): Bind it to U. Add it to menu bar.
1215 (package-menu-execute): Do installation before deletion.
1216 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1217 instead of checking major-mode.
1218 (package-menu--find-upgrades): New function.
1219
1220 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1221
1222 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1223 passwords in the log buffer.
1224 (smtpmail-process-filter): Update the process marker so that the
1225 "broken by peer" status message is inserted in the right place.
1226
1227 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1228
1229 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1230 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1231 bibtex-completion-at-point-function.
1232 (bibtex-completion-at-point-function): Use them.
1233
1234 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1235
1236 * mpc.el (mpc-constraints-tag-lookup): New function.
1237 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1238 also to browser "album|playlist".
1239
1240 2011-09-14 Juri Linkov <juri@jurta.org>
1241
1242 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1243 (isearch-edit-string): Use length of `isearch-string' when
1244 `isearch-fail-pos' returns nil.
1245 (isearch-message): Remove duplicate code and call
1246 `isearch-fail-pos' with arg `t'.
1247
1248 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
1249
1250 * replace.el (occur-mode-goto-occurrence): Don't force using other
1251 window (Bug#9499).
1252
1253 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1254
1255 2011-09-14 Martin Rudalics <rudalics@gmx.at>
1256
1257 * window.el (display-buffer-window): Remove.
1258 (display-buffer-record-window): Use help-setup window parameter
1259 instead of variable display-buffer-window.
1260 (display-buffer-function, special-display-buffer-names)
1261 (special-display-function): Mention help-setup parameter instead
1262 of display-buffer-window in doc-string.
1263 * help.el (help-window-setup): New argument help-window.
1264 Use help-window-setup parameter instead of display-buffer-window.
1265 Reword some messages.
1266 (with-help-window): Pass window used for displaying the buffer
1267 to help-window-setup. Don't set display-buffer-window.
1268
1269 2011-09-13 Glenn Morris <rgm@gnu.org>
1270
1271 * emacs-lisp/debug.el (debugger-make-xrefs):
1272 Preserve point. (Bug#9462)
1273
1274 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
1275
1276 * window.el (window-deletable-p): Use next-frame.
1277
1278 2011-09-13 Martin Rudalics <rudalics@gmx.at>
1279
1280 * window.el (window-auto-delete): Remove.
1281 (window-deletable-p): Remove argument FORCE. Don't deal with
1282 dedicatedness and previous buffers.
1283 (switch-to-prev-buffer): Don't delete window.
1284 (delete-windows-on): Delete a window's frame if and only if the
1285 window is dedicated.
1286 (replace-buffer-in-windows): Delete buffer's window or frame if
1287 and only if window is dedicated.
1288 (quit-window): Handle quit-restore as before last change.
1289 (bury-buffer): Delete window only if window-deletable-p returns t.
1290
1291 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
1292
1293 * window.el (window-deletable-p): Never delete the last frame on a
1294 given terminal.
1295
1296 2011-09-13 Glenn Morris <rgm@gnu.org>
1297
1298 * help.el (describe-key-briefly): Copy previous standard-output change.
1299
1300 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
1301
1302 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1303
1304 2011-09-13 Glenn Morris <rgm@gnu.org>
1305
1306 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1307 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1308
1309 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
1310
1311 * dired-aux.el (dired-mark-read-string): Don't return default
1312 value on empty input (Bug#9361).
1313 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1314 Omit initial minibuffer contents.
1315 (dired-do-chmod): Signal an error on empty input.
1316 (dired-mark-read-string): Don't return default on empty input.
1317
1318 * files.el (file-modes-symbolic-to-number): Doc fix.
1319
1320 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * international/mule-cmds.el (ucs-completions): Remove.
1323 (read-char-by-name): Use complete-with-action instead; add metadata.
1324
1325 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
1326
1327 * window.el (display-buffer--action-function-custom-type)
1328 (display-buffer--action-custom-type): New vars.
1329 (display-buffer-alist, display-buffer-default-action)
1330 (display-buffer-overriding-action): Add defcustom types.
1331
1332 * frame.el (delete-other-frames): Doc fix (Bug#276).
1333
1334 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1335
1336 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1337
1338 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
1339
1340 Change modes that used same-window-* vars to use switch-to-buffer.
1341
1342 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1343 Use switch-to-buffer.
1344
1345 * cus-edit.el (customize-group, custom-buffer-create)
1346 (customize-browse, custom-buffer-create-other-window):
1347 Use switch-to-buffer or switch-to-buffer-other-window.
1348
1349 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1350 (Info-prev, Info-up, Info-speedbar-goto-node)
1351 (info-display-manual): Use switch-to-buffer.
1352 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1353
1354 * mail/sendmail.el (mail): Use switch-to-buffer.
1355 (mail-recover): Use switch-to-buffer-other-window.
1356
1357 * cmuscheme.el (run-scheme, switch-to-scheme):
1358 * ielm.el (ielm):
1359 * shell.el (shell):
1360 * net/rlogin.el (rlogin):
1361 * net/telnet.el (telnet, rsh):
1362 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1363
1364 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1365
1366 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1367
1368 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1369
1370 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1371 so don't mention it (bug#9301).
1372 (dired-sort-toggle-or-edit): Clarify string further.
1373
1374 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1375 match `x', `w32' and `ns', like the manual says (bug#9029).
1376
1377 * subr.el (eval-after-load): Doc string clarification (bug#9125).
1378 (process-kill-buffer-query-function): Mention the buffer name in
1379 the query.
1380
1381 * image-mode.el (image-next-line): The line parameter is mandatory
1382 (bug#9258).
1383
1384 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1385 which can be useful (bug#9301).
1386
1387 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1388
1389 * subr.el (match-string): Mention that the current buffer should
1390 be the same as the search was done in (bug#9282).
1391
1392 * facemenu.el: Disable the remove-* commands if the mark isn't
1393 active (bug#9162).
1394
1395 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
1396
1397 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1398 of display-buffer.
1399 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1400
1401 * replace.el (occur-mode-goto-occurrence)
1402 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1403 and display-buffer.
1404
1405 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1406 display-buffer.
1407
1408 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1409 special-display and same-window variables.
1410 (mail-other-window): Use switch-to-buffer-other-window.
1411 (mail-other-frame): USe switch-to-buffer-other-frame.
1412
1413 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1414 Use display-buffer-other-frame.
1415 (gdb-display-gdb-buffer): Use pop-to-buffer.
1416
1417 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1418
1419 * progmodes/python.el: Don't set same-window-buffer-names.
1420
1421 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1422
1423 * window.el (display-buffer-alist): Add *Python*.
1424
1425 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
1426
1427 * window.el (display-buffer-alist): Add entry for buffers
1428 previously handled same-window-*.
1429 (display-buffer-alist, display-buffer-default-action)
1430 (display-buffer-overriding-action): Mark as risky.
1431 (display-buffer-alist): Document action function changes.
1432 (display-buffer--same-window-action)
1433 (display-buffer--other-frame-action): New variables.
1434 (switch-to-buffer, display-buffer-other-frame): Use them.
1435 (display-buffer): Rename reuse-frame entry to reusable-frames.
1436 (display-buffer-reuse-selected-window): Function deleted.
1437 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1438 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1439 (display-buffer-special): New function.
1440 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1441 display-buffer-reuse-or-pop-window. Split off special-display
1442 part into display-buffer-special.
1443 (display-buffer-use-some-window): Don't perform any special
1444 pop-up-frames handling.
1445 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
1446 (display-buffer--maybe-same-window): Rename from
1447 display-buffer-maybe-same-window.
1448
1449 * info.el: Don't set same-window-regexps.
1450 (info-setup): New function.
1451 (info-other-window, info): Call it.
1452
1453 * cus-edit.el: Don't set same-window-regexps.
1454 (customize-group): New argument.
1455 (customize-group-other-window): Use it.
1456 (customize-face, customize-face-other-window): Likewise.
1457 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1458
1459 * net/rlogin.el:
1460 * net/telnet.el:
1461 * progmodes/gud.el: Don't set same-window-regexps.
1462
1463 * cmuscheme.el:
1464 * ielm.el:
1465 * shell.el:
1466 * mail/sendmail.el:
1467 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1468
1469 2011-09-10 Juri Linkov <juri@jurta.org>
1470
1471 * isearch.el (isearch-edit-string): Remove obsolete mention of
1472 `C-w' (`isearch-yank-word-or-char') from docstring.
1473 (isearch-query-replace): Fix typo in docstring (bug#9466).
1474
1475 2011-09-10 Juri Linkov <juri@jurta.org>
1476
1477 * paren.el (show-paren-function): Don't show escaped parens.
1478 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1479
1480 2011-09-10 Eli Zaretskii <eliz@gnu.org>
1481
1482 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1483 (mm-default-file-encoding): Remove autoload forms, they are
1484 replaced with autoload cookies in mml.el and mm-encode.el.
1485 (mail-add-attachment): New command.
1486 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1487 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1488 the doc string.
1489 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1490
1491 2011-09-10 Reuben Thomas <rrt@sc3d.org>
1492
1493 * simple.el (count-words-region): Use buffer if there's no region
1494 (bug#9429).
1495
1496 2011-09-09 Juri Linkov <juri@jurta.org>
1497
1498 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1499 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1500 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1501
1502 2011-09-09 Alan Mackenzie <acm@muc.de>
1503
1504 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1505 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1506
1507 2011-09-09 Eli Zaretskii <eliz@gnu.org>
1508
1509 Fix for Savannah bug#9392.
1510 * simple.el (mail-encode-mml): New defvar.
1511
1512 * mail/rmail.el (mail-encode-mml): Add a defvar.
1513 (rmail-enable-mime-composing): Default to t.
1514 (rmail-forward): Use MIME method of forwarding only if both
1515 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1516 Set mail-encode-mml non-nil if the MIME method was used.
1517
1518 * mail/sendmail.el (mml-to-mime): Add autoload form.
1519 (mail-encode-mml): Add a defvar.
1520 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1521 to nil.
1522 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1523 message through mml-to-mime, and reset mail-encode-mml to nil.
1524
1525 2011-09-09 Glenn Morris <rgm@gnu.org>
1526
1527 * woman.el (woman-if-body): When processing an .el block,
1528 do not delete the next .el block as well. (Bug#9447)
1529 (woman-special-characters): Add oq, cq, and hy characters.
1530
1531 2011-09-08 Martin Rudalics <rudalics@gmx.at>
1532
1533 * window.el (window-deletable-p): Make sure window is live before
1534 invoking window-prev-buffers.
1535
1536 2011-09-08 Leo Liu <sdl.web@gmail.com>
1537
1538 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1539
1540 2011-09-08 Juri Linkov <juri@jurta.org>
1541
1542 * progmodes/compile.el (compilation-environment): Make it
1543 a defcustom (bug#8340).
1544
1545 2011-09-08 Martin Rudalics <rudalics@gmx.at>
1546
1547 * window.el (frame-auto-delete): Rename to window-auto-delete.
1548 Make it control auto-deletion of windows and/or frames.
1549 (window-deletable-p): New argument FORCE. Rewrite conditions
1550 for deleting window/frame. (Bug#9419)
1551 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1552 Rewrite handling of case when window/frame can be deleted.
1553 (delete-windows-on): Call window-deletable-p with new FORCE
1554 argument t. (Bug#9456)
1555
1556 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
1557
1558 * help-mode.el (help-mode): Restore autoload.
1559
1560 2011-09-07 Juri Linkov <juri@jurta.org>
1561
1562 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1563 `compilation-environment'. Set buffer-local
1564 `compilation-environment' to `thisenv' later after (funcall mode).
1565 (Bug#8340)
1566
1567 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1568 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1569 instead of replacing its value. (Bug#8340)
1570
1571 2011-09-07 Juri Linkov <juri@jurta.org>
1572
1573 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1574 based on text properties put by `grep-filter' instead of matching
1575 escape sequences.
1576 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1577 to the value of `grep-error-screen-columns' (bug#9438).
1578
1579 2011-09-07 Juri Linkov <juri@jurta.org>
1580
1581 * simple.el (next-error-highlight, next-error-highlight-no-select):
1582 Doc fix (bug#9432).
1583
1584 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1585
1586 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1587 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1588
1589 2011-09-07 Leo Liu <sdl.web@gmail.com>
1590
1591 * net/rcirc.el (rcirc-mode): Conditionally initialize
1592 rcirc-input-ring.
1593
1594 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1595
1596 * emacs-lisp/find-func.el (find-function-C-source): Only set
1597 find-function-C-source-directory after checking that we found a source
1598 file there (bug#9440).
1599
1600 2011-09-06 Alan Mackenzie <acm@muc.de>
1601
1602 * isearch.el (isearch-other-meta-char): Wherever a key list is
1603 unread, "unread" the prefix arg, too. This fixes bug #8901.
1604
1605 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1606
1607 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1608
1609 2011-09-05 Juri Linkov <juri@jurta.org>
1610
1611 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1612
1613 2011-09-05 Juri Linkov <juri@jurta.org>
1614
1615 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1616 keeping point where processing of grep matches begins, and
1617 continue to delete remaining escape sequences from the same point.
1618 (grep-filter): Make leading zero optional in "0?1;31m" because
1619 git-grep emits "\033[1;31m" escape sequences unlike expected
1620 "\033[01;31m" as GNU Grep does (bug#9408).
1621 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1622
1623 2011-09-05 Juri Linkov <juri@jurta.org>
1624
1625 * subr.el (y-or-n-p): Capitalize "yes".
1626
1627 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
1628
1629 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1630 `tramp-cache-unload-hook' where appropriate.
1631 (tramp-methods): Rename `tramp-remote-sh' to
1632 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1633 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1634
1635 * net/tramp-sh.el (top): Don't require 'shell.
1636 (tramp-methods): Add `tramp-remote-shell' and
1637 `tramp-remote-shell-args' entries.
1638 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1639 (tramp-sh-handle-shell-command): Remove.
1640 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1641 Use `tramp-remote-shell'.
1642
1643 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
1644
1645 * mail/sendmail.el (sendmail-query-once-function): Delete.
1646 (sendmail-query-once): Save directly to send-mail-function.
1647 Update message-send-mail-function too.
1648
1649 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1650
1651 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1652
1653 * progmodes/python.el (python-mode-map): Use correct function to
1654 start python interpreter from menu-bar (as reported by Geert
1655 Kloosterman).
1656 (inferior-python-mode-map): Fix typo.
1657 (python-shell-map): Remove.
1658
1659 2011-09-03 Deniz Dogan <deniz@dogan.se>
1660
1661 * net/rcirc.el (rcirc-print): Simplify code for
1662 rcirc-scroll-show-maximum-output. There is no need to walk
1663 through all windows to find the right one.
1664
1665 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1666
1667 * help.el (help-return-method): Doc fix.
1668
1669 2011-09-03 Martin Rudalics <rudalics@gmx.at>
1670
1671 * window.el (window-deletable-p): Don't return a non-nil value
1672 when there's a buffer that was shown in the window before.
1673 (Bug#9419)
1674 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1675 Set window's previous buffers to nil.
1676
1677 2011-09-03 Eli Zaretskii <eliz@gnu.org>
1678
1679 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1680 newline before and after the tag line, so it doesn't interfere
1681 with determining the paragraph direction of bidirectional text.
1682
1683 2011-09-03 Leo Liu <sdl.web@gmail.com>
1684
1685 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1686
1687 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
1688
1689 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
1690 (pop-to-buffer): Change interactive spec. Pass second argument
1691 directly to display-buffer.
1692 (display-buffer): Fix interactive spec. Use functionp to
1693 distinguish between a function and a list of functions.
1694
1695 * abbrev.el (edit-abbrevs):
1696 * arc-mode.el (archive-extract):
1697 * autoinsert.el (auto-insert):
1698 * bookmark.el (bookmark-bmenu-list):
1699 * files.el (find-file):
1700 * view.el (view-buffer):
1701 * progmodes/compile.el (compilation-goto-locus):
1702 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1703
1704 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
1705
1706 * window.el (display-buffer-alist): Doc fix.
1707 (display-buffer): Add docstring. Don't treat
1708 display-buffer-default specially.
1709 (display-buffer-reuse-selected-window)
1710 (display-buffer-same-window, display-buffer-maybe-same-window)
1711 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1712 (display-buffer-pop-up-window)
1713 (display-buffer-reuse-or-pop-window)
1714 (display-buffer-use-some-window): New functions.
1715 (display-buffer-default-action): Use them.
1716 (display-buffer-default): Delete.
1717 (pop-to-buffer-1): Fix choice of actions.
1718
1719 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * minibuffer.el (completion--insert-strings): Don't get confused by
1722 completion entries that end with an LF char.
1723
1724 2011-09-01 Eli Zaretskii <eliz@gnu.org>
1725
1726 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1727
1728 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
1729
1730 * window.el (display-buffer): Restore interactive spec.
1731 (display-buffer-same-window, display-buffer-other-window):
1732 New functions.
1733 (pop-to-buffer-1): New function. Use the above.
1734 (pop-to-buffer, pop-to-buffer-same-window): Use it.
1735 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
1736
1737 * view.el (view-buffer-other-window, view-buffer-other-frame):
1738 Just use pop-to-buffer.
1739
1740 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1741
1742 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1743
1744 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1745
1746 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1747
1748 2011-08-31 Richard Stallman <rms@gnu.org>
1749
1750 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1751 of the separation of rmail-view-buffer from rmail-buffer.
1752 If you say no to "replace original", the decrypt is in the
1753 view buffer. If you say yes, the decrypt goes into the
1754 rmail buffer also.
1755
1756 2011-08-31 Martin Rudalics <rudalics@gmx.at>
1757
1758 * window.el (display-buffer-window): Rewrite doc-string.
1759 (display-buffer-record-window): New function.
1760 (display-buffer-macro-specifiers)
1761 (display-buffer-even-window-sizes, display-buffer-set-height)
1762 (display-buffer-set-width, display-buffer-in-window)
1763 (display-buffer-reuse-window, display-buffer-split-specifiers)
1764 (display-buffer-side-specifiers, display-buffer-split-window-1)
1765 (display-buffer-split-window, display-buffer-split-atom-window)
1766 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1767 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1768 (display-buffer-other-window-means-other-frame)
1769 (display-buffer-normalize-special)
1770 (display-buffer-normalize-default)
1771 (display-buffer-normalize-argument)
1772 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1773 (display-buffer-normalize-specifiers, display-buffer-frame)
1774 (display-buffer-same-window, display-buffer-same-frame)
1775 (display-buffer-other-window)
1776 (display-buffer-same-frame-other-window)
1777 (display-buffer-other-frame, pop-to-buffer-same-window)
1778 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1779 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1780 (switch-to-buffer-same-frame)
1781 (switch-to-buffer-other-window-same-frame)
1782 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1783 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1784 (display-buffer-alist-set): Remove.
1785 (display-buffer-function, special-display-buffer-names)
1786 (special-display-regexps, special-display-function):
1787 In doc-string refer to display-buffer-window and quit-restore
1788 parameter.
1789 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1790 (special-display-frame-alist, special-display-popup-frame)
1791 (same-window-buffer-names, same-window-regexps, same-window-p)
1792 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1793 (split-window-preferred-function, split-height-threshold)
1794 (split-width-threshold, window-splittable-p)
1795 (split-window-sensibly, window--try-to-split-window)
1796 (window--frame-usable-p, even-window-heights)
1797 (window--even-window-heights, window--display-buffer-1)
1798 (window--display-buffer-2, display-buffer-other-frame):
1799 Restore old Emacs 23 code, order and doc-strings where applicable.
1800 (display-buffer-default, display-buffer-assq-regexp): New functions.
1801 (display-buffer-alist): Rewrite doc-string.
1802 (display-buffer-default-action)
1803 (display-buffer-overriding-action): New variables.
1804 (display-buffer, switch-to-buffer): Rewrite.
1805 (pop-to-buffer): Restore Emacs 23 behavior but use
1806 window-normalize-buffer-to-display.
1807 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1808 Restore Emacs 23 behavior but use
1809 window-normalize-buffer-to-switch-to.
1810 (pop-to-buffer-same-window): Rewrite.
1811 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1812 Rewrite using Emacs 23 options.
1813
1814 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
1815
1816 * net/tramp.el (tramp-root-regexp): Remove.
1817 (tramp-completion-file-name-regexp-unified)
1818 (tramp-completion-file-name-regexp-separate)
1819 (tramp-completion-file-name-regexp-url): Don't use leading volume
1820 letter on win32 systems. (Bug#5303, Bug#9311)
1821 (tramp-drop-volume-letter): Simplify definition.
1822 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1823
1824 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1827 (bug#9356).
1828
1829 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1830
1831 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
1832
1833 2011-08-29 Juri Linkov <juri@jurta.org>
1834
1835 * isearch.el (isearch-done): Don't display message "Mark saved"
1836 when arg `edit' is non-nil to prevent its flicker in the echo area.
1837
1838 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
1839
1840 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1841 obsolete packages for deletion.
1842
1843 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1844
1845 * help-mode.el (help-mode-map): Add special-mode-map to parent.
1846 (help-mode): Derive help-mode from special-mode. Don't invoke
1847 view-mode from help-mode.
1848 (help-xref-override-view-map): Remove.
1849 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1850 view-mode is not used anymore.
1851
1852 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
1853
1854 * server.el (server-port): Doc fix.
1855
1856 * cus-theme.el (custom-theme-choose-mode): Inherit from
1857 special-mode (Bug#9124).
1858 (custom-theme-choose-mode-map): Add special-mode to parent.
1859
1860 2011-08-28 Alan Mackenzie <acm@muc.de>
1861
1862 * progmodes/cc-fonts.el
1863 (c-make-font-lock-BO-decl-search-function): New function.
1864 (c-basic-matchers-after - "Fontify the clauses after various
1865 keywords"): Extract the three keyword lists for the 3 erroneous
1866 constructs from the list of four, and use the new function above
1867 in place of an old one.
1868
1869 2011-08-28 Deniz Dogan <deniz@dogan.se>
1870
1871 * net/rcirc.el (rcirc-insert-prev-input)
1872 (rcirc-insert-next-input): Remove unused argument.
1873
1874 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1877
1878 2011-08-27 Alan Mackenzie <acm@muc.de>
1879
1880 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1881 handle function pointer parameters properly.
1882
1883 2011-08-27 Martin Rudalics <rudalics@gmx.at>
1884
1885 * window.el (display-buffer-reuse-window): Fix case where
1886 selected window was reused with non-nil OTHER-WINDOW argument.
1887 (Bug#9381)
1888
1889 2011-08-27 Deniz Dogan <deniz@dogan.se>
1890
1891 * net/rcirc.el (rcirc-check-auth-status): Adding support for
1892 oftc's NickServ messages.
1893
1894 2011-08-27 Glenn Morris <rgm@gnu.org>
1895
1896 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
1897
1898 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
1899
1900 * emacs-lisp/package.el (package-install): Call package-initialize
1901 if called interactively.
1902
1903 2011-08-26 Leo Liu <sdl.web@gmail.com>
1904
1905 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
1906
1907 2011-08-25 Juri Linkov <juri@jurta.org>
1908
1909 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1910 `search-whitespace-regexp' (bug#9364).
1911
1912 2011-08-25 Juri Linkov <juri@jurta.org>
1913
1914 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1915 `regexp-search-ring' to their global values to protect from
1916 updating by `read-from-minibuffer' (bug#9185).
1917
1918 2011-08-25 Juri Linkov <juri@jurta.org>
1919
1920 * textmodes/ispell.el (ispell-command-loop): Add newline
1921 at the end of the "Use option `i'..." line.
1922
1923 2011-08-25 Juri Linkov <juri@jurta.org>
1924
1925 * battery.el (display-battery-mode): If `battery-status-function'
1926 or `battery-mode-line-format' is nil, display the message and set
1927 `display-battery-mode' to nil (bug#9363).
1928
1929 2011-08-25 Eli Zaretskii <eliz@gnu.org>
1930
1931 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1932 bidi-string-mark-left-to-right; they are unnecessary now.
1933
1934 2011-08-25 Deniz Dogan <deniz@dogan.se>
1935
1936 * net/quickurl.el: Documentation typo fixes.
1937
1938 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
1939
1940 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1941
1942 2011-08-25 Glenn Morris <rgm@gnu.org>
1943
1944 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1945
1946 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1947 (smtpmail-via-smtp): Handle nil response from smtp.
1948
1949 2011-08-24 Juri Linkov <juri@jurta.org>
1950
1951 * proced.el (proced-marked): Inherit from `error' instead of
1952 `font-lock-warning-face'.
1953
1954 * ibuffer.el (ibuffer-marked-face): Change default face from
1955 `font-lock-warning-face' to `warning'.
1956 (ibuffer-deletion-face): Change default face from
1957 `font-lock-type-face' to `error'.
1958
1959 * battery.el (battery-update): Use the face `error' instead of
1960 `font-lock-warning-face' (bug#6117).
1961
1962 2011-08-24 Juri Linkov <juri@jurta.org>
1963
1964 * faces.el (success): Change face color from "Green3" to
1965 "ForestGreen" on light background (bug#9353).
1966
1967 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
1968
1969 * window.el (quit-window): Rename from quit-restore-window.
1970 Use same arglist as old quit-window.
1971 (frame-auto-delete): Doc fix.
1972
1973 * view.el (view-mode-exit): Use quit-window.
1974
1975 2011-08-24 Juri Linkov <juri@jurta.org>
1976
1977 * isearch.el (isearch-ring-adjust1): Start visiting previous
1978 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1979 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
1980 for empty search string (when the last search string is reused
1981 automatically) to adjust the isearch ring to the last element and
1982 prepare the correct index for further M-p commands (bug#9185).
1983
1984 2011-08-24 Kenichi Handa <handa@m17n.org>
1985
1986 * international/ucs-normalize.el: If decomposition property of
1987 CHAR is the default one (i.e. a list of CHAR itself), treat it as
1988 nil.
1989 (nfd, nfkd): Likewise.
1990
1991 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
1994 from process filters aren't reliably transmitted to the surrounding
1995 accept-process-output.
1996 (mpc-proc-check): New function.
1997 (mpc-proc-sync): Use it (bug#8293)
1998
1999 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2002 Add compatibility functions (bug#9313).
2003
2004 2011-08-23 Eli Zaretskii <eliz@gnu.org>
2005
2006 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2007
2008 * international/uni-bidi.el: Regenerated.
2009
2010 2011-08-23 Kenichi Handa <handa@m17n.org>
2011
2012 * international/charprop.el:
2013 * international/uni-bidi.el:
2014 * international/uni-category.el:
2015 * international/uni-combining.el:
2016 * international/uni-comment.el:
2017 * international/uni-decimal.el:
2018 * international/uni-decomposition.el:
2019 * international/uni-digit.el:
2020 * international/uni-lowercase.el:
2021 * international/uni-mirrored.el:
2022 * international/uni-name.el:
2023 * international/uni-numeric.el:
2024 * international/uni-old-name.el:
2025 * international/uni-titlecase.el:
2026 * international/uni-uppercase.el: Regenerate.
2027
2028 2011-08-23 Martin Rudalics <rudalics@gmx.at>
2029
2030 * help.el (help-window-setup): Fix message displayed when other
2031 window is reused. (Bug#9341)
2032
2033 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2036 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2037
2038 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2039 Mark obsolete.
2040 * shell.el (shell-parse-pcomplete-arguments): New function.
2041 (shell-completion-vars): Use it instead (bug#9160).
2042
2043 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2046 strings and comments (bug#9333).
2047
2048 * emacs-lisp/debug.el (debug-arglist): New function.
2049 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2050 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2051
2052 2011-08-22 Juri Linkov <juri@jurta.org>
2053
2054 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2055 Revert regexp that highlights output switches to its old
2056 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2057
2058 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2059 to check for empty output (bug#9226).
2060
2061 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
2062
2063 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2064 symbol-constituent as the default, as that stops font-lock from
2065 working properly (Bug#8843).
2066
2067 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2068
2069 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2070 `coding-system-for-*' around the process open call to avoid
2071 auth-source side effects.
2072 (smtpmail-try-auth-methods): Expand the secret password.
2073 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2074 probe hangs.
2075
2076 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
2077
2078 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2079
2080 * emacs-lisp/find-func.el (find-function-noselect): New arg
2081 lisp-only.
2082
2083 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2084 signal an error for built-in functions (Bug#6664).
2085
2086 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2087
2088 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2089 (smtpmail-try-auth-methods): Use it.
2090
2091 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
2092
2093 * font-lock.el (font-lock-fontify-region)
2094 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2095 (font-lock-default-unfontify-buffer)
2096 (font-lock-default-fontify-region)
2097 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2098
2099 * progmodes/compile.el (compilation-error-properties):
2100 Fix confusion between file struct and message struct (Bug#9319).
2101 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2102 `ant' regexp.
2103
2104 * net/browse-url.el (browse-url-firefox): Don't call
2105 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2106
2107 2011-08-20 Glenn Morris <rgm@gnu.org>
2108
2109 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2110
2111 * tutorial.el (tutorial--default-keys): Update some default bindings.
2112
2113 * files.el (hack-local-variables): Fully ignore case for "mode:".
2114
2115 2011-08-20 Alan Mackenzie <acm@muc.de>
2116
2117 Resolve invalid use of a regexp in regexp-opt.
2118
2119 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2120 detection for a java annotation.
2121
2122 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
2123 detection for a java annotation.
2124
2125 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2126 handling for java.
2127 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2128
2129 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
2130
2131 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2132 (Bug#9274).
2133
2134 2011-08-20 Alan Mackenzie <acm@muc.de>
2135
2136 * Fontify CPP expressions correctly when starting in the middle of
2137 such a construct. Mainly for when jit-lock etc. starts a chunk
2138 here.
2139
2140 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2141 variable.
2142 (c-make-font-lock-search-form): new function, extracted from
2143 c-make-font-lock-search-function.
2144 (c-make-font-lock-search-function): Use the above function.
2145 (c-make-font-lock-context-search-function): New function.
2146 (c-cpp-matchers): Enhance the preprocessor expression case with
2147 the above function
2148 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2149 which takes an expression.
2150
2151 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2152
2153 2011-08-20 Martin Rudalics <rudalics@gmx.at>
2154
2155 * window.el (display-buffer-reuse-window)
2156 (display-buffer-pop-up-window): Don't reuse or split a side
2157 window.
2158
2159 2011-08-19 Glenn Morris <rgm@gnu.org>
2160
2161 * files.el (hack-local-variables-prop-line, hack-local-variables):
2162 Downcase "Mode:". (Bug#9331)
2163
2164 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
2165
2166 * international/characters.el: Add L and R categories.
2167
2168 * subr.el (bidi-string-mark-left-to-right): Rename from
2169 string-mark-left-to-right. Use category search.
2170
2171 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2172
2173 2011-08-18 Juri Linkov <juri@jurta.org>
2174
2175 * faces.el (error, warning, success): New faces with definitions
2176 copied from old default values of `font-lock-warning-face',
2177 `compilation-warning', `compilation-info' (bug#6117).
2178
2179 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2180
2181 * progmodes/compile.el (compilation-error): Inherit from `error'.
2182 (compilation-warning): Inherit from `warning'.
2183 (compilation-info): Inherit from `success'.
2184
2185 * dired.el (dired-marked): Inherit from `warning'.
2186 (dired-flagged): Inherit from `error'.
2187
2188 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2189
2190 * mail/smtpmail.el (auth-source): Require to avoid problems with
2191 binding variables (bug#9298). Also clean up some unused
2192 autoloads.
2193
2194 * net/network-stream.el (network-stream-open-starttls):
2195 Support using starttls.el without using gnutls-cli.
2196
2197 2011-08-17 Juri Linkov <juri@jurta.org>
2198
2199 * progmodes/grep.el (rgrep): Handle the case when
2200 `grep-find-command' is a cons cell (bug#9278).
2201
2202 2011-08-17 Martin Rudalics <rudalics@gmx.at>
2203
2204 * window.el (display-buffer-pop-up-frame): Run frame creation
2205 function with BUFFER current (as special-display-popup-frame
2206 does). Reported by Drew Adams.
2207
2208 2011-08-17 Daiki Ueno <ueno@unixuser.org>
2209
2210 * epa-mail.el: Simplify GnuPG group expansion using
2211 epg-expand-group.
2212 (epa-mail-group-alist, epa-mail-group-modtime)
2213 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2214 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2215 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2216 Remove.
2217
2218 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
2219
2220 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2221
2222 2011-08-16 Alan Mackenzie <acm@muc.de>
2223
2224 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2225 Correct, to avoid the inside of macros.
2226
2227 2011-08-16 Richard Stallman <rms@gnu.org>
2228
2229 * epa-mail.el: Handle GnuPG group definitions.
2230 (epa-mail-group-alist, epa-mail-group-modtime)
2231 (epa-mail-gnupg-conf-file): New variables.
2232 (epa-mail-parse-groups, epa-mail-sync-groups)
2233 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2234 (epa-mail-expand-recipients): New functions.
2235 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2236
2237 * mail/rmail.el (rmail-epa-decrypt): New command.
2238
2239 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2240 Don't bind buffer-read-only, just inhibit-read-only.
2241 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2242 (epa-decrypt-armor-in-region): Make error message clearer.
2243
2244 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2247 and "a2b" to "ab" for `prefix'.
2248
2249 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
2250
2251 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2252 filter groups.
2253 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2254 Fourquet (Bug#8804).
2255
2256 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
2257
2258 * startup.el (argi): Declare as global variable (bug#9275).
2259
2260 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
2261
2262 * subr.el (string-mark-left-to-right): Search the entire string
2263 for RTL script, not just the terminating character. Doc fix.
2264
2265 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2266
2267 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2268 New function.
2269 (js--regexp-literal, js-syntax-propertize-function): Remove.
2270 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2271 (js-mode-map): Don't rebind electric keys.
2272 (js-insert-and-indent): Remove.
2273 (js-mode): Setup electric-layout and electric-indent instead.
2274
2275 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2276
2277 2011-08-12 Daiki Ueno <ueno@unixuser.org>
2278
2279 * epa.el (epa-progress-callback-function): Fix the logic of
2280 displaying progress.
2281 * epa-file.el (epa-file-insert-file-contents): Make progress
2282 display more user-friendly.
2283 (epa-file-write-region): Ditto.
2284
2285 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
2286
2287 * subr.el (string-mark-left-to-right): New function.
2288
2289 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2290 Use string-mark-left-to-right.
2291 (list-buffers-noselect): Caller changed.
2292
2293 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2294 Use string-mark-left-to-right.
2295 (tabulated-list-print): Recenter after moving point.
2296
2297 2011-08-10 Juri Linkov <juri@jurta.org>
2298
2299 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2300 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2301 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2302
2303 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
2304
2305 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2306 (Bug#7554).
2307
2308 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2309
2310 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2311 character. (Bug#6594)
2312
2313 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
2314
2315 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2316 (image-dired--with-db-file): New macro.
2317 (image-dired-write-tags, image-dired-remove-tag)
2318 (image-dired-create-gallery-lists, image-dired-write-comments)
2319 (image-dired-get-comment, image-dired-mark-tagged-files)
2320 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2321 (image-dired-gallery-generate): Use insert-file-contents.
2322
2323 * time.el (display-time-world-list, display-time-world-display):
2324 * time-stamp.el (time-stamp-string):
2325 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2326 set-time-zone-rule (Bug#7337).
2327
2328 2011-08-08 Daiki Ueno <ueno@unixuser.org>
2329
2330 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2331 (epg-error-to-string, epg-errors-to-string): New function.
2332 (epg-wait-for-completion): Reverse errors list.
2333 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2334 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2335 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2336 (epg-sign-keys, epg-generate-key-from-file)
2337 (epg-generate-key-from-string): Format errors by using
2338 epg-errors-to-string (bug#9255).
2339 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2340
2341 2011-08-07 Juri Linkov <juri@jurta.org>
2342
2343 * faces.el (list-faces-display): Remove extra angle bracket
2344 from `help-mode-map'.
2345
2346 * info.el (Info-history-toc-nodes): Doc fix.
2347
2348 * longlines.el (longlines-mode): Doc fix.
2349
2350 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2353 of statements and in a few more cases (bug#9183).
2354
2355 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2356 New functions.
2357 (cl-transform-lambda): Use them (bug#9239).
2358
2359 2011-08-05 Martin Rudalics <rudalics@gmx.at>
2360
2361 * window.el (display-buffer-same-window)
2362 (display-buffer-same-frame, display-buffer-other-window)
2363 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2364 (pop-to-buffer-other-window)
2365 (pop-to-buffer-same-frame-other-window)
2366 (pop-to-buffer-other-frame): Make them defuns.
2367 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2368
2369 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * subr.el (make-composed-keymap): Move from C. Change calling
2372 convention, and improve docstring to bring attention to a subtle point.
2373 * minibuffer.el (completing-read-default): Adjust accordingly.
2374
2375 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
2376
2377 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2378 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2379
2380 * net/trampver.el: Update release number.
2381
2382 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2383
2384 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2385 "in" (bug#9190).
2386
2387 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2388
2389 * mail/sendmail.el (sendmail-query-once): Restore the current
2390 buffer after querying (bug#9074).
2391
2392 * dired.el (dired-flagged): Use different faces for marked and
2393 flagged files (bug#6117).
2394
2395 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2396 (bug#4433).
2397
2398 * ido.el (ido-mode): Switch off the message if called
2399 non-interactively.
2400
2401 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2402 before 587, since it appears that that's more likely to work for
2403 more people.
2404
2405 * cus-edit.el (custom-file): When running under emacs -q, always
2406 refuse to save the customisations, even if the .emacs file doesn't
2407 exist.
2408
2409 * info.el: Remove the `Info-beginning-of-buffer' function
2410 (bug#8325).
2411
2412 * net/network-stream.el (network-stream-open-starttls):
2413 Use `starttls-available-p' to see whether starttls.el can be used.
2414
2415 2011-08-01 Martin Rudalics <rudalics@gmx.at>
2416
2417 * window.el (display-buffer-in-window): Don't set dedicated status
2418 of window here (Bug#9215).
2419 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2420 (display-buffer-pop-up-side-window)
2421 (display-buffer-in-side-window): Set dedicated status of window here.
2422
2423 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2426 before binding generated-autoload-file.
2427
2428 2011-08-01 Deniz Dogan <deniz@dogan.se>
2429
2430 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2431
2432 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
2433
2434 Sync with Tramp 2.2.2.
2435
2436 * net/trampver.el: Update release number.
2437
2438 2011-07-30 Juri Linkov <juri@jurta.org>
2439
2440 * dired-aux.el (dired-touch-initial): Remove function.
2441 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2442 current time, and `default' to the last modification time of the
2443 current marked file (bug#6887).
2444
2445 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2446
2447 * simple.el (goto-line): Use string-to-number to provide a
2448 numeric argument to read-number (bug#9163).
2449
2450 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
2451
2452 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2453 connection process, it could be nil.
2454
2455 2011-07-27 Leo Liu <sdl.web@gmail.com>
2456
2457 Simplify url handling in rcirc-mode.
2458
2459 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2460 (rcirc-browse-url-at-mouse): Remove.
2461 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2462
2463 2011-07-26 Alan Mackenzie <acm@muc.de>
2464
2465 Fontify bitfield declarations properly.
2466
2467 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2468 (c-symbol-chars): Now exported as a lang variable.
2469 (c-not-primitive-type-keywords): New lang variable.
2470
2471 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2472 QT keyword "more" to prevent "more slots: ...." being spuriously
2473 parsed as a bitfield declaraion.
2474
2475 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2476 Refactor and enhance to handle bitfield declarations.
2477 (c-punctuation-in): New function.
2478 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2479 declarations properly.
2480
2481 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
2482
2483 * calendar/icalendar.el (icalendar--all-events): Take care of
2484 multiple vcalendars in a single file.
2485 (icalendar--convert-float-to-ical): Checkdoc fixes.
2486
2487 2011-07-25 Deniz Dogan <deniz@dogan.se>
2488
2489 * image.el (insert-image): Clarifying docstring.
2490
2491 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
2492
2493 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2494 `tramp-send-command-and-check' if there is no error.
2495 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2496
2497 2011-07-22 Alan Mackenzie <acm@muc.de>
2498
2499 Prevent cc-langs.elc being loaded at run time.
2500
2501 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2502 cc-langs.
2503
2504 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
2505 "(require 'cc-langs)". Quote a form so it will evaluate at
2506 (cc-mode's) compilation time.
2507
2508 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
2509
2510 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2511 loading. (Bug#9114)
2512
2513 2011-07-21 Martin Rudalics <rudalics@gmx.at>
2514
2515 * window.el (display-buffer-pop-up-window)
2516 (display-buffer-pop-up-side-window)
2517 (display-buffer-in-side-window): Call display-buffer-set-height
2518 and display-buffer-set-width after setting the new window's
2519 buffer so `fit-window-to-buffer' and friends work on the right buffer.
2520
2521 2011-07-20 Sam Steingold <sds@gnu.org>
2522
2523 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2524 (etags-tags-included-tables): Call `convert-standard-filename' on
2525 the file names contained in TAGS so that windows Emacs can handle
2526 TAGS files created by cygwin ctags.
2527
2528 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2529
2530 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2531 which apparently didn't work.
2532
2533 2011-07-19 Roland Winkler <winkler@gnu.org>
2534
2535 * proced.el (proced-send-signal): For *Marked Processes* buffer
2536 put point at beginning of buffer.
2537
2538 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
2539
2540 * proced.el (proced-format): Make header lines align with the text
2541 (bug#1779).
2542
2543 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2544
2545 * view.el (view-buffer): Allow running in `special' modes if we're
2546 visiting a file (bug#8615).
2547
2548 2011-07-19 Martin Rudalics <rudalics@gmx.at>
2549
2550 * window.el (display-buffer-alist-of-strings-p)
2551 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2552 New functions.
2553 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2554 more accurately.
2555
2556 2011-07-18 Alan Mackenzie <acm@muc.de>
2557
2558 Fontify declarators properly when, e.g., a jit-lock chunk begins
2559 inside a declaration.
2560
2561 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2562
2563 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2564 New function.
2565 (c-complex-decl-matchers): Insert reference to
2566 c-font-lock-enclosing-decls.
2567
2568 * progmodes/cc-engine.el (c-backward-single-comment):
2569 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2570 to nil around calls to (forward-comment -1).
2571
2572 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2573
2574 * image.el (put-image): Doc typo fix.
2575
2576 * progmodes/etags.el (tags-search): Doc typo fix.
2577
2578 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2579 password if we get errors 550 to 554.
2580
2581 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2582
2583 * net/gnutls.el (gnutls-log-level): Remove.
2584
2585 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2586 indentation character (bug#6380).
2587
2588 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2589
2590 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2591 to clarify what the problem is (bug#4291).
2592
2593 * simple.el (current-kill): Clarify what
2594 `interprogram-paste-function' does (bug#7500).
2595 (auto-fill-mode): Document `auto-fill-function' in relation to
2596 `auto-fill-mode' (bug#2470).
2597
2598 2011-07-16 Lawrence Mitchell <wence@gmx.li>
2599
2600 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2601 method if slot is read-only (bug#9035).
2602
2603 2011-07-16 Martin Rudalics <rudalics@gmx.at>
2604
2605 * frame.el (select-frame-set-input-focus): New argument NORECORD.
2606 * window.el (pop-to-buffer): Select window used even if it was
2607 selected before, see discussion of (Bug#8615), (Bug#6954).
2608 Pass argument NORECORD on to select-frame-set-input-focus.
2609
2610 2011-07-15 Glenn Morris <rgm@gnu.org>
2611
2612 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
2613 Respect help-form.
2614
2615 2011-07-09 Lawrence Mitchell <wence@gmx.li>
2616
2617 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2618 (gnutls-negotiate): Use it.
2619
2620 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2621
2622 * net/gnutls.el (gnutls-negotiate):
2623 Upcase `gnutls-algorithm-priority'.
2624
2625 2011-07-15 Glenn Morris <rgm@gnu.org>
2626
2627 * jka-compr.el (jka-compr-verbose): Move from here...
2628 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2629 Add missing :version tag.
2630 * info.el: No need to require jka-compr when compiling.
2631
2632 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2633
2634 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2635 (gnutls-negotiate): Use it.
2636
2637 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2638
2639 * info.el (Info-beginning-of-buffer): New command.
2640 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2641 announcing `b' as the key (bug#8325).
2642 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
2643
2644 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2645
2646 * international/mule-cmds.el
2647 (describe-specified-language-support): Make the error message
2648 clearer (bug#8905).
2649
2650 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2651
2652 * isearch.el (isearch-barrier): Add a doc string, since it's
2653 mentioned in a function doc string (bug#8678).
2654
2655 2011-07-15 Martin Rudalics <rudalics@gmx.at>
2656
2657 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2658 buffer argument (Bug#9083) and self-identifying label argument.
2659
2660 2011-07-15 Glenn Morris <rgm@gnu.org>
2661
2662 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2663
2664 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2665
2666 * man.el (Man-fontify-manpage): Fix message when formatting the
2667 man page (bug#7929).
2668
2669 2011-07-14 Eli Zaretskii <eliz@gnu.org>
2670
2671 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2672 argument LRM; if non-nil, append an invisible LRM character to the
2673 buffer name.
2674 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2675 last argument non-nil, when formatting buffer names.
2676 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2677 paragraph direction.
2678
2679 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2680
2681 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2682 the man page name (bug#7929).
2683
2684 * image.el (put-image): Mention the `put-image' overlay property
2685 (bug#7834).
2686
2687 * scroll-bar.el (set-scroll-bar-mode): Mention that
2688 `scroll-bar-mode' lists the values (bug#7772).
2689
2690 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2691 command (bug#7729).
2692
2693 * rect.el (apply-on-rectangle): Return the point after the last
2694 operation.
2695 (string-rectangle): Go to the point after the last operation
2696 (bug#7522).
2697
2698 * printing.el (pr-toggle-region): Clarify the documentation
2699 slightly (bug#7493).
2700
2701 * time.el (display-time-update):
2702 Allow `display-time-mail-function' to return nil (bug#7158).
2703 Fix suggested by Detlev Zundel.
2704
2705 * vc/diff.el (diff): Clarify the order the file names are read
2706 (bug#7111).
2707
2708 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2709 the doc string (bug#7015).
2710
2711 * font-lock.el (font-lock-maximum-decoration): Mention what
2712 numeric levels mean (bug#6935).
2713
2714 * startup.el (initial-buffer-choice): Don't mention the `none'
2715 selection, which is against policy.
2716
2717 2011-07-14 Martin Rudalics <rudalics@gmx.at>
2718
2719 * window.el (display-buffer-normalize-special):
2720 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
2721
2722 2011-07-14 Eli Zaretskii <eliz@gnu.org>
2723
2724 * subr.el (version<, version<=, version=): Mention "-CVS" and
2725 "-12345" alpha version numbers.
2726
2727 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
2728
2729 * bindings.el: Add advertised binding for set-mark-command
2730 (Bug#5772).
2731
2732 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
2733
2734 * bindings.el (mode-line-other-buffer):
2735 * bookmark.el (bookmark-bmenu-2-window):
2736 * bs.el (bs-cycle-next, bs-cycle-previous):
2737 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2738 switch-to-buffer.
2739
2740 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
2741 Delete.
2742
2743 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
2744
2745 * follow.el (follow-debug-message, follow-redisplay):
2746 * jka-cmpr-hook.el (with-auto-compression-mode):
2747 Fix typos in docstrings.
2748
2749 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2750
2751 * subr.el (with-silent-modifications): Clarify somewhat what the
2752 macro inhibits (bug#6525).
2753
2754 * simple.el (eval-expression): Note what it does if called
2755 interactively (bug#6495).
2756
2757 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
2758
2759 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2760 Use pop-to-buffer buffer-or-name if it is nil.
2761
2762 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2763 Remove switch-to-buffer.
2764
2765 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2766
2767 * files.el (make-directory): Clarify that an error will be raised
2768 if there's an error (bug#6397).
2769
2770 * startup.el (initial-buffer-choice): Add `none' as a choice
2771 (bug#6234).
2772
2773 * subr.el (add-hook): Clarify section about buffer-local hooks
2774 (bug#6218).
2775
2776 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2777
2778 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
2779
2780 * tabify.el (untabify): Preserve the current column so that point
2781 doesn't move (bug#6032).
2782
2783 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2784
2785 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2786 Rewrite to avoid awkward possessive "s" (bug#5986).
2787
2788 2011-07-13 Glenn Morris <rgm@gnu.org>
2789
2790 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2791 (dired-insert-directory): Give a message the first time
2792 if ls is found not to support --dired.
2793
2794 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2795
2796 * simple.el (toggle-truncate-lines): Clarify what is toggled
2797 (bug#5580). Text by Drew Adams.
2798
2799 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
2800
2801 * simple.el (blink-matching-open): Make the error message from the
2802 last change less verbose.
2803
2804 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2805
2806 * font-lock.el (font-lock-comment-face): Use the high contrast
2807 "yellow" color for font-lock-comment-face on low color terminals
2808 using a dark background color (bug#4221).
2809
2810 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2811
2812 * dired.el (dired-insert-set-properties): Make the doc string
2813 reflect what it does now (bug#5325).
2814
2815 * simple.el (blink-matching-open): Say that we were unable to find
2816 the match within the limit, if we're limited (bug#5122).
2817
2818 * international/mule-cmds.el (prefer-coding-system): Add an
2819 example (bug#4869).
2820
2821 * progmodes/etags.el (tags-search): Document `file-list-form'
2822 (bug#4731).
2823
2824 2011-07-13 Lawrence Mitchell <wence@gmx.li>
2825
2826 * net/browse-url.el (browse-url-default-browser)
2827 (browse-url-browser-function): Make the default browser choice a
2828 bit more logical (bug#4300). Also clean up the doc string.
2829
2830 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
2831
2832 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2833 binary endings (bug#4440).
2834
2835 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2836
2837 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2838 which can be pretty annoying (bug#8971).
2839
2840 * jka-compr.el (jka-compr-verbose): New variable, and use
2841 throughout (bug#8971).
2842
2843 * info.el (Info-find-file): Fall back on the installation
2844 directory if we can't find the info node anywhere else.
2845
2846 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2847
2848 * vc/vc.el (vc-revert-file):
2849 Don't set file time-stamp in the past. (Bug#5181)
2850
2851 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2852
2853 * files.el (after-find-file): Give a better error message when
2854 trying to find a symlink that points to a file that doesn't exist
2855 (bug#4398).
2856
2857 * progmodes/cc-vars.el: Remove (probably) misleading comment
2858 (bug#4396).
2859
2860 2011-07-12 Johan Bockgård <bojohan@gnu.org>
2861
2862 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2863
2864 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
2865
2866 * mouse-sel.el: Hack restoring functionality, while keeping
2867 compatibility with 2010-07-03 changes to mouse selection.
2868 (mouse-sel-primary-overlay): New var.
2869 (mouse-sel-selection-alist): Use it.
2870 (mouse-sel-mode): Doc fix; remove points that are default features
2871 of mouse.el.
2872
2873 2011-07-12 Johan Bockgård <bojohan@gnu.org>
2874
2875 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2876 Fix previous fix (bug#2490).
2877
2878 2011-07-12 Roland Winkler <winkler@gnu.org>
2879
2880 * textmodes/bibtex.el (bibtex-initialize):
2881 Use pop-to-buffer-same-window.
2882 (bibtex-search-entries): Fix interactive call.
2883
2884 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2885
2886 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2887 Fontise bytecomp Error lines more correctly (bug#2490).
2888 Fix suggested by Johan Bockgård.
2889
2890 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2891
2892 * dired-x.el (dired-guess-default): Use `delete-dups'.
2893
2894 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
2895
2896 * dired.el (dired-mark-prompt):
2897 * dired-aux.el (dired-read-shell-command): Doc fix.
2898
2899 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2900
2901 * mail/sendmail.el (sendmail-query-once):
2902 Use `customize-save-variable' unconditionally, now that it works under
2903 emacs -Q.
2904
2905 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2906
2907 * cus-edit.el (custom-file): Take an optional no-error variable.
2908 (customize-save-variable): Set the variable, and give a warning if
2909 running under "emacs -q".
2910
2911 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
2912
2913 * loadhist.el (unload-feature-special-hooks):
2914 Add `auto-coding-functions', `fill-nobreak-predicate' and
2915 `find-directory-functions' (bug#5327).
2916
2917 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2918
2919 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2920
2921 * cus-edit.el (custom-guess-name-alist): -alist variables should
2922 use the `alist' type (bug#3120). Suggested by Drew Adams.
2923
2924 * printing.el: Add documentation to all the `pr-toggle-' commands.
2925
2926 2011-07-11 Leo <sdl.web@gmail.com> (tiny change)
2927
2928 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2929 backends where it makes sense (bug#2623).
2930
2931 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2932
2933 * dired-x.el (dired-guess-default): Remove duplicate shell command
2934 entries (bug#2028).
2935 (dired-guess-default): Fix grammar in doc string (bug#2028).
2936 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
2937
2938 * subr.el (remove-duplicates): New conveniency function.
2939
2940 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2941
2942 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2943 (bug#1526).
2944
2945 2011-07-10 Martin Rudalics <rudalics@gmx.at>
2946
2947 * window.el (display-buffer-normalize-default): Don't invert
2948 meaning of even-window-heights. Reported by Eli Zaretskii
2949 <eliz@gnu.org>.
2950
2951 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
2952
2953 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2954
2955 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
2956
2957 * window.el (display-buffer): Fix arguments to
2958 display-buffer-reuse-window in last change.
2959
2960 * faces.el (link): Use a less saturated blue on light backgrounds.
2961
2962 * startup.el (fancy-startup-text, fancy-about-text)
2963 (fancy-startup-tail): Use font-lock faces, for background safety.
2964
2965 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
2966
2967 * emulation/viper-cmd.el (viper-change-state-to-vi):
2968 Limit triggering of abbrev expansion (Bug#9038).
2969
2970 2011-07-09 Martin Rudalics <rudalics@gmx.at>
2971
2972 * window.el (display-buffer-default-specifiers): Remove.
2973 (display-buffer-macro-specifiers): Remove default specifiers.
2974 (display-buffer-alist): Default to nil.
2975 (display-buffer-reuse-window): New optional argument other-window.
2976 (display-buffer-pop-up-window): Allow splitting internal
2977 windows. Check whether a live window was created.
2978 (display-buffer-other-window-means-other-frame)
2979 (display-buffer-normalize-arguments): Rename to
2980 display-buffer-normalize-argument and rewrite. Set the
2981 other-window specifier.
2982 (display-buffer-normalize-special): New function.
2983 (display-buffer-normalize-options): Rename to
2984 display-buffer-normalize-default and rewrite.
2985 (display-buffer-normalize-options-inhibit): Remove.
2986 (display-buffer-normalize-specifiers): Rewrite.
2987 (display-buffer): Process other-window specifier and call
2988 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
2989 more faithfully.
2990 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
2991 (display-buffer-alist-set): Don't handle 'unset default values.
2992 (display-buffer-in-window, display-buffer-alist-set):
2993 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
2994 <tassilo@member.fsf.org>.
2995
2996 2011-07-09 Leo Liu <sdl.web@gmail.com>
2997
2998 * register.el (insert-register): Restore accidental change on
2999 2011-06-26. (Bug#9028)
3000
3001 2011-07-09 Glenn Morris <rgm@gnu.org>
3002
3003 * subr.el (remq): Handle the empty list. (Bug#9024)
3004
3005 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3006
3007 * mail/sendmail.el (send-mail-function): No longer delay custom
3008 initialization.
3009 * custom.el (custom-initialize-delay): Doc fix.
3010
3011 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3014
3015 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3018 human-friendly prompt.
3019
3020 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3023 provided by a particular plugin.
3024
3025 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3026
3027 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3028 save customizations (with "emacs -Q"), just set the variable
3029 instead of erroring out.
3030
3031 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3032
3033 2011-07-08 Juri Linkov <juri@jurta.org>
3034
3035 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3036 (archive-zip-update-case): Use 7z if found by `executable-find'.
3037 The order of searching the available programs is the same as in
3038 `archive-zip-extract' (bug#8968).
3039
3040 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
3041
3042 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3043 (menu-bar-options-menu): Tweak descriptions.
3044
3045 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3046
3047 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3048 menu items into verb phrases (bug#1421). Also refill to fit under
3049 80 columns.
3050
3051 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
3052
3053 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3054 (Info-read-node-name): Doc fix (Bug#1084).
3055
3056 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3057 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3058 (end-of-sexp, beginning-of-sexp)
3059 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3060 (forward-symbol, forward-same-syntax, word-at-point)
3061 (sentence-at-point): Doc fix (Bug#1144).
3062
3063 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3064
3065 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3066 should cover it (bug#1281).
3067
3068 * cus-edit.el (custom-show): Mark as obsolete.
3069
3070 * net/network-stream.el (network-stream-open-starttls): If gnutls
3071 negotiation fails, then possibly try again with a non-encrypted
3072 connection (bug#9017).
3073
3074 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3075 be used.
3076
3077 2011-07-07 Richard Stallman <rms@gnu.org>
3078
3079 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3080 property, and handle its changed format.
3081 Look for the correct line number.
3082 Use file's line contents (but not past first =) to find
3083 correct line in message.
3084
3085 2011-07-07 Kenichi Handa <handa@m17n.org>
3086
3087 * international/characters.el (build-unicode-category-table):
3088 Delete it.
3089 (unicode-category-table): Set it by unicode-property-table-internal.
3090
3091 * international/mule-cmds.el (char-code-property-alist): Move to
3092 to src/chartab.c.
3093 (get-char-code-property): Call unicode-property-table-internal to
3094 load a file. Call get-unicode-property-internal where necessary.
3095 (put-char-code-property): Call unicode-property-table-internal to
3096 load a file. Call put-unicode-property-internal where necessary.
3097 put-unicode-property-internal where necessary.
3098 (char-code-property-description):
3099 Call unicode-property-table-internal to load a file.
3100
3101 * international/charprop.el:
3102 * international/uni-bidi.el:
3103 * international/uni-category.el:
3104 * international/uni-combining.el:
3105 * international/uni-comment.el:
3106 * international/uni-decimal.el:
3107 * international/uni-decomposition.el:
3108 * international/uni-digit.el:
3109 * international/uni-lowercase.el:
3110 * international/uni-mirrored.el:
3111 * international/uni-name.el:
3112 * international/uni-numeric.el:
3113 * international/uni-old-name.el:
3114 * international/uni-titlecase.el:
3115 * international/uni-uppercase.el: Regenerate.
3116
3117 * loadup.el: Load international/charprop.el before
3118 international/characters.
3119
3120 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
3121
3122 * window.el (next-buffer, previous-buffer): Signal an error if
3123 called from a minibuffer window.
3124
3125 * bindings.el: Revert 2011-07-04 change.
3126
3127 2011-07-06 Richard Stallman <rms@gnu.org>
3128
3129 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3130 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3131 Treat markers like ints.
3132 (rmail-mime-entity): Doc fix.
3133
3134 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3135
3136 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3137 defcustom again for backwards compatibility.
3138
3139 * simple.el (shell-command-on-region): Fill.
3140
3141 * dired-aux.el (dired-kill-line): Add a doc string.
3142
3143 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3144 to "\\sw\\|\\s_" (bug#358).
3145
3146 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3147 (dired-unmark-backward): Ditto.
3148 (dired-flag-backup-files): Ditto.
3149
3150 * dired-x.el (dired-mark-sexp): Ditto.
3151
3152 2011-07-06 Richard Stallman <rms@gnu.org>
3153
3154 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3155 (rmail-mime-entity): New arg TRUNCATED.
3156 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3157 New functions.
3158 (rmail-mime-save): Warn if entity is truncated.
3159 (rmail-mime-toggle-hidden): Likewise, for showing.
3160 (rmail-mime-process-multipart): Record when an entity is truncated.
3161
3162 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3163 if ENTITY is a string.
3164
3165 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3166
3167 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
3168 of faces when `M-C-x'-ing their definitions (bug#8378).
3169 Also clean up the code slightly.
3170
3171 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3172 because that makes the colours go away.
3173
3174 * mail/sendmail.el (send-mail-function): Change the default to
3175 `sendmail-query-once'.
3176 (sendmail-query-once): Add an autoload cookie.
3177
3178 * net/network-stream.el (network-stream-open-starttls): Try using
3179 a plain connection even if the server offered STARTTLS, and we
3180 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3181 capability. This should make smtpmail.el work in slightly more
3182 configurations.
3183
3184 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
3185
3186 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3187 New defun.
3188 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3189
3190 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3191
3192 * progmodes/sql.el: Version 3.0
3193 (sql-product-alist): Add product :completion-object,
3194 :completion-column, and :statement attributes.
3195 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
3196 (sql-mode-syntax-table): Mark all punctuation.
3197 (sql-font-lock-keywords-builder): Temporarily remove fallback on
3198 ansi keywords.
3199 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
3200 (sql-mode-oracle-font-lock-keywords): Improve.
3201 (sql-oracle-show-reserved-words): New function for development.
3202 (sql-product-font-lock): Simplify for source code buffers.
3203 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3204 New functions.
3205 (sql-highlight-product): Set product specific syntax table.
3206 (sql-mode-map): Add statement movement functions.
3207 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3208 New variable.
3209 (sql-statement-regexp, sql-beginning-of-statement)
3210 (sql-end-of-statement, sql-signum): New functions.
3211 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
3212 (sql-show-sqli-buffer): Bug fix.
3213 (sql-interactive-mode): Store connection data as buffer local.
3214 (sql-connect): Add NEW-NAME parameter. Redesign interaction
3215 with sql-interactive-mode.
3216 (sql-save-connection): Save buffer local settings.
3217 (sql-connection-menu-filter): Change menu entry name.
3218 (sql-product-interactive): Bug fix.
3219 (sql-preoutput-hold): New variable.
3220 (sql-interactive-remove-continuation-prompt): Bug fixes.
3221 (sql-debug-redirect): New variable.
3222 (sql-str-literal): New function.
3223 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
3224 Redesign.
3225 (sql-oracle-save-settings, sql-oracle-restore-settings)
3226 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3227 (sql-completion-object, sql-completion-column)
3228 (sql-completion-sqlbuf): New variables.
3229 (sql-build-completions-1, sql-build-completions)
3230 (sql-try-completion): New functions.
3231 (sql-read-table-name): Use them.
3232 (sql-contains-names): New buffer local variable.
3233 (sql-list-all, sql-list-table): Use it.
3234 (sql-oracle-completion-types): New variable.
3235 (sql-oracle-completion-object, sql-sqlite-completion-object)
3236 (sql-postgres-completion-object): New functions.
3237
3238 2011-07-06 Glenn Morris <rgm@gnu.org>
3239
3240 * window.el (pop-to-buffer): Doc fix.
3241
3242 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
3243
3244 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3245
3246 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
3247
3248 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3249
3250 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
3251
3252 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
3253
3254 * button.el (button): Inherit from link face. Suggested by Dan
3255 Nicolaescu.
3256
3257 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * progmodes/gdb-mi.el: Fit in 80 columns.
3260 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3261 switch-to-buffer.
3262
3263 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3264 if imenu is simply not configured (bug#8941).
3265
3266 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3267
3268 * allout.el (allout-post-undo-hook): New allout outline-change
3269 event hook to signal undo activity.
3270 (allout-post-command-business): Run allout-post-undo-hook if an
3271 undo just occurred.
3272 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3273 * allout-widgets.el (allout-widgets-after-undo-function):
3274 Ensure the integrity of the current item's decoration after it has been
3275 in the vicinity of an undo.
3276 (allout-widgets-mode): Include allout-widgets-after-undo-function
3277 on the new allout-post-undo-hook.
3278
3279 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3282 Let define-derived-mode define it.
3283 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3284 cycles of abbrev-table inheritance (bug#8998).
3285
3286 2011-07-05 Roland Winkler <winkler@gnu.org>
3287
3288 * textmodes/bibtex.el: Add support for biblatex.
3289 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3290 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3291 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3292 (bibtex-entry-alist, bibtex-field-alist): New variables.
3293 (bibtex-entry-field-alist): Obsolete alias for
3294 bibtex-BibTeX-entry-alist.
3295 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3296 (bibtex-set-dialect): New command.
3297 (bibtex-entry-type, bibtex-entry-head)
3298 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3299 Bind via bibtex-set-dialect.
3300 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3301 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3302 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3303 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3304 Define via bibtex-set-dialect.
3305 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3306 Obey bibtex-no-opt-remove-re.
3307 (bibtex-vec-push, bibtex-vec-incr): New functions.
3308 (bibtex-format-entry, bibtex-field-list)
3309 (bibtex-print-help-message, bibtex-validate)
3310 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3311
3312 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * progmodes/compile.el (compilation-goto-locus):
3315 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3316 * bs.el (bs-cycle-next, bs-cycle-previous):
3317 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3318 * bindings.el (mode-line-other-buffer):
3319 * autoinsert.el (auto-insert):
3320 * arc-mode.el (archive-extract):
3321 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3322
3323 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
3324
3325 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3326 Fix check of `emacs-lock-unlockable-modes'.
3327 Coerce true values of `emacs-lock--try-unlocking' to t.
3328
3329 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
3330
3331 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3332 * emacs-lock.el: New file.
3333
3334 2011-07-05 Julien Danjou <julien@danjou.info>
3335
3336 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3337 than `boundp' to check if face is set.
3338
3339 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
3340
3341 * register.el (registerv-make):
3342 * window.el (window-min-height): Fix typos in docstrings.
3343
3344 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3345
3346 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
3347 Update doc string.
3348
3349 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
3350
3351 * server.el (server-execute): Catch quit and call
3352 `server-return-error' to pass the error back to emacsclient and
3353 close the connection (bug#8942).
3354
3355 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3356
3357 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3358 insecure exception for current topic. Also note that auto-saves
3359 are handled differently.
3360
3361 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3362 State variables for tracking auto-save inhibition situation.
3363
3364 (allout-write-contents-hook-handler): Rename from
3365 'allout-write-file-hook-handler', and describe how it depends on
3366 write-contents-functions sensitivity to non-nil value to prevent
3367 file write.
3368
3369 (allout-auto-save-hook-handler): Remove. auto-save does not check
3370 this in individual buffers, only in the starting buffer, so this
3371 is not the right way for us to inhibit auto-save in a buffer
3372 according to its condition.
3373
3374 (allout-mode): Use new allout-write-contents-hook-handler, and
3375 only with write-contents-functions. Remove auto-save provisions -
3376 they're implemented elsewhere.
3377
3378 (allout-before-change-handler): If undo is in progress, note that
3379 for attention of allout-post-command-business.
3380
3381 (allout-post-command-business): If the command we're following was
3382 an undo, check for change in the status of encrypted items and
3383 adjust auto-save inhibitions accordingly.
3384
3385 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3386 according to whether there are or aren't any plain-text topics
3387 pending encryption.
3388
3389 (allout-inhibit-auto-save-info-for-decryption):
3390 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
3391 there are plain-text topics pending encryption.
3392
3393 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3394 buffer-saved-size and some allout state to not inhibit auto-saves
3395 if there are no longer any plain-text topics pending encryption.
3396
3397 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3398 No longer provide for exemption of the current topic.
3399
3400 2011-07-04 Juri Linkov <juri@jurta.org>
3401
3402 Add 7z operations to delete and save changed members (bug#8968).
3403 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3404 New defcustoms.
3405 (archive-7z-write-file-member): New function.
3406 (archive-7z-summarize): Fix the number of dashes in the
3407 listing output.
3408
3409 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3412 (bug#8958).
3413
3414 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
3415
3416 * bindings.el: Ignore next-buffer and previous-buffer in
3417 minibuffer-local-map.
3418
3419 * font-lock.el (font-lock-builtin-face): Change light background
3420 color to dark slate blue (Bug#6693).
3421
3422 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3423
3424 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3425
3426 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3429 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3430 Add switch-to-buffer.
3431
3432 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3433
3434 * isearch.el (isearch-search-fun-function): Clarify further the
3435 meaning of the function returned.
3436
3437 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
3438
3439 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3440
3441 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3442 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3443 Use it.
3444 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3445 `tramp-default-remote-path' does not exist.
3446 (tramp-send-command-and-read): New optional argument NOERROR.
3447 (tramp-open-connection-setup-interactive-shell)
3448 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3449 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3450 (tramp-process-sentinel): Flush also process' connection property.
3451 (tramp-sh-handle-start-file-process): Do not set process
3452 sentinel. It is done now ...
3453 (tramp-maybe-open-connection): ... here. (Bug#8929)
3454
3455 2011-07-04 MON KEY <monkey@sandpframing.com>
3456
3457 * play/animate.el (animate-string): Doc fixes and allow changing
3458 the buffer name (bug#5417).
3459
3460 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3461
3462 * play/animate.el (animation-buffer-name): Rename from *animate*.
3463
3464 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3465
3466 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3467 This is simpler and helps future-proof the code.
3468 (timer-until): Use time-subtract and float-time.
3469 (timer--time-less-p): Use time-less-p.
3470
3471 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
3472
3473 * type-break.el (timep): Use the value of `float-time' to avoid a
3474 byte-compiler warning.
3475
3476 * server.el (server-eval-and-print): Return any result, even nil.
3477
3478 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3479
3480 * type-break.el: Accept time formats that the builtins accept.
3481 (timep, type-break-time-difference): Accept any format that
3482 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3483 This is simpler and helps future-proof the code.
3484 (type-break-time-difference): Round rather than ignoring
3485 subseconds components.
3486
3487 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3488
3489 * info.el (Info-apropos-matches): Make non-interactive, since it
3490 doesn't seem to do anything useful as a command (bug#8829).
3491
3492 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
3493
3494 * frame.el (frame-background-mode, frame-set-background-mode):
3495 Move from faces.el.
3496 (frame-default-terminal-background): New function.
3497
3498 * custom.el (custom-push-theme): Don't record faces in `changed'
3499 theme; this doesn't work correctly for per-frame face settings.
3500 (disable-theme): Use face-set-after-frame-default to reset faces.
3501 (custom--frame-color-default): New function.
3502
3503 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3504
3505 * dired.el (dired-flagging-regexp): Remove unused variable
3506 (bug#8769).
3507
3508 2011-03-29 Kevin Ryde <user42@zip.com.au>
3509
3510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3511 `perl-Test2' extend to match possible "fail #N" rep count
3512 (bug#8377).
3513
3514 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3515
3516 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3517 `smtpmail-via-smtp' now returns the error instead of nil.
3518
3519 * isearch.el (isearch-search-fun-function): Clarify the doc string
3520 (bug#8101).
3521
3522 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
3523
3524 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3525 unnecessary spaces (bug#8987).
3526
3527 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3528
3529 * net/network-stream.el (open-network-stream): Use the
3530 :end-of-capability command thoughout.
3531
3532 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3533
3534 * net/network-stream.el (open-network-stream): Add the
3535 :end-of-capability command parameter, used by pop3.el.
3536
3537 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3538
3539 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3540
3541 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3542 for list)" (bug#6475).
3543
3544 * files.el (file-expand-wildcards): Ignore non-readable
3545 sub-directories while trying to find matches instead of signalling
3546 an error (bug#6297).
3547
3548 * man.el (Man-reference-regexp): Allow matching possible
3549 word-wrapped references (bug#6289).
3550
3551 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3552 for consistency with the other vc buffers (bug#6197).
3553 (vc-checkin): Ditto.
3554
3555 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3556
3557 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3558
3559 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3560
3561 * custom.el (defcustom): Clarify that :set is only used in the
3562 Customize user interface (bug#6089).
3563
3564 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3565 associated with a file, refuse to run instead of erroring out
3566 (bug#6084).
3567
3568 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3569 the doc string, since it appears that using `fill-column' always
3570 controls the width (bug#7845).
3571
3572 * simple.el (shell-command-on-region): Say where the error output
3573 went if `shell-command-default-error-buffer' is set (bug#6857).
3574
3575 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3576
3577 * allout.el (allout-yank-processing): Adjust cursor position for
3578 backwards-deleted space.
3579
3580 (allout-rebullet-heading): Register changes with
3581 allout-exposure-changed-hook, so the modified topic is properly
3582 decorated.
3583
3584 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3585
3586 * minibuffer.el (completion-in-region): Document PREDICATE
3587 (bug#7136).
3588
3589 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3590 of keyword/argument pairs (bug#6904).
3591
3592 * replace.el (multi-occur):
3593 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
3594
3595 2011-07-02 Drew Adams <drew.adams@oracle.com>
3596
3597 * dired.el (dired-mark-if): Make the message about whether it's
3598 marking or unmarking clearer (bug#8523).
3599
3600 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3601
3602 * disp-table.el (display-table-print-array): New function.
3603 (describe-display-table): Use it to print the vectors more pretty
3604 (Bug#8859).
3605
3606 2011-07-02 Martin Rudalics <rudalics@gmx.at>
3607
3608 * window.el (window-state-get-1): Don't assign clone numbers.
3609 Add clone-of item to list of window parameters.
3610 (window-state-put-2): Don't process clone numbers.
3611 (display-buffer-alist): Fix doc-string.
3612
3613 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * subr.el (remq): Don't allocate if it's not needed.
3616 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3617 (keymap--merge-bindings): New functions.
3618 (keymap-canonicalize): Use them to refine the canonicalization.
3619 * minibuffer.el (minibuffer-local-completion-map)
3620 (minibuffer-local-must-match-map): Move initialization from C.
3621 (minibuffer-local-filename-completion-map): Move initialization from C;
3622 don't inherit from anything here.
3623 (minibuffer-local-filename-must-match-map): Make obsolete.
3624 (completing-read-default): Use make-composed-keymap to combine
3625 minibuffer-local-filename-completion-map with either
3626 minibuffer-local-must-match-map or
3627 minibuffer-local-filename-completion-map.
3628
3629 2011-07-01 Glenn Morris <rgm@gnu.org>
3630
3631 * type-break.el (type-break-time-sum): Use dolist.
3632
3633 * textmodes/flyspell.el (flyspell-word-search-backward):
3634 Replace CL function.
3635
3636 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 * mouse.el (mouse--strip-first-event): New function.
3639 (function-key-map): Use it to map fringe clicks to normal clicks
3640 by default.
3641
3642 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3643 (vc-bzr-revision-completion-table): Add support for annotate and date.
3644
3645 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3646 inherit from parent.
3647
3648 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3649
3650 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
3651 (dired-show-file-type): Doc fixup (bug#8818).
3652
3653 * dired.el (dired-mode): Fix up the doc string as suggested by
3654 Drew Adams (bug#8817).
3655
3656 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3657 cookie, since the manual says that it should be possible to add
3658 this function to `find-file-hook' (bug#8709).
3659
3660 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3661
3662 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3663 here. Noted Ted Zlatanov as the maintainer.
3664 (cfengine-common-settings, cfengine-common-syntax): New functions
3665 to set up common things between `cfengine-mode' and
3666 `cfengine3-mode'.
3667 (cfengine3-mode): New mode.
3668 (cfengine3-defuns cfengine3-defuns-regex
3669 (cfengine3-class-selector-regex cfengine3-category-regex)
3670 (cfengine3-vartypes cfengine3-font-lock-keywords)
3671 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
3672 (cfengine3-indent-line): Add from cfengine3.el.
3673
3674 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
3675
3676 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3677
3678 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3679
3680 2011-07-01 Martin Rudalics <rudalics@gmx.at>
3681
3682 * window.el (same-window-buffer-names, same-window-regexps)
3683 (same-window-p, special-display-frame-alist)
3684 (special-display-popup-frame, special-display-function)
3685 (special-display-buffer-names, special-display-regexps)
3686 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3687 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3688 (split-window-preferred-function, split-height-threshold)
3689 (split-width-threshold, even-window-heights)
3690 (display-buffer-mark-dedicated, window-splittable-p)
3691 (split-window-sensibly, window-safely-shrinkable-p):
3692 Un-obsolete.
3693 (display-buffer): Don't spread args with function specifier
3694 because special-display-popup-frame won't like it.
3695
3696 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3697
3698 Time-stamp simplifications and fixes.
3699 These improve accuracy slightly, and future-proof the code
3700 against some potential changes to current-time format.
3701
3702 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3703 by using time-since and float-time.
3704
3705 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3706 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3707 + NNN microseconds".
3708
3709 * type-break.el (type-break-time-sum): Rewrite using time-add.
3710
3711 * play/hanoi.el (hanoi-current-time-float): Remove.
3712 All uses replaced by float-time.
3713
3714 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3715 This yields a more-accurate answer.
3716 (rng-time-to-float): Remove; no longer needed.
3717
3718 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3719
3720 * calendar/timeclock.el (timeclock-seconds-to-time):
3721 Defalias to seconds-to-time, since they're the same thing.
3722
3723 * emacs-lisp/elp.el (elp-elapsed-time):
3724 * emacs-lisp/benchmark.el (benchmark-elapse):
3725 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3726
3727 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * window.el (bury-buffer): Don't iconify the only frame.
3730 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3731 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3732
3733 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
3734
3735 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3736 Add mouse-yank-primary.
3737
3738 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3739
3740 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3741
3742 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3745 (find-library-name): Use it to find relative load names when provided
3746 absolute file name (bug#8803).
3747
3748 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3749
3750 * textmodes/flyspell.el (flyspell-word): Consider words that
3751 differ only in case as potential doublons (bug#5687).
3752
3753 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3754 Remove two rather uninteresting debugging-like messages to make
3755 debbugs.el more silent.
3756
3757 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3758 a password-like phrase.
3759
3760 2011-06-30 Mastake YAMATO <yamato@redhat.com>
3761
3762 * progmodes/cc-guess.el: New file.
3763
3764 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
3765
3766 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3767 derived from `c-basic-common-init'.
3768
3769 * progmodes/cc-mode.el (top-level): Require cc-guess.
3770 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3771
3772 2011-06-30 Lawrence Mitchell <wence@gmx.li>
3773
3774 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3775
3776 2011-06-30 Alan Mackenzie <acm@muc.de>
3777
3778 * progmodes/cc-engine.el (c-guess-continued-construct):
3779 Correct the handling of template-args-cont, particularly for when font
3780 lock is disabled. Name this case as "CASE G".
3781
3782 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3783
3784 * allout.el (allout-yank-processing): Fix injection of extra space
3785 between bullet and non-whitespace character in first topic when
3786 pasting, ensuring that the actual spacing in the pasted topic
3787 following the bullet char is preserved. This extra space was
3788 causing pasted encrypted topics to get a decrypted status even
3789 when the content was actually still encrypted. Now the decryption
3790 status from before the paste is preserved.
3791
3792 (allout-flag-region): Set all allout overlays so they evaporate
3793 when reduced to zero length (evanescent), to prevent overlay
3794 leakage.
3795
3796 2011-06-30 Glenn Morris <rgm@gnu.org>
3797
3798 * w32-fns.el (w32-charset-info-alist): Declare.
3799
3800 * find-dired.el (find-grep-options): Simplify.
3801
3802 * term/ns-win.el (ns-set-resource): Declare.
3803
3804 * ses.el (row, col): Declare dynamic variables honestly.
3805
3806 * textmodes/reftex-parse.el (index-tags): Declare.
3807
3808 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
3809
3810 * cus-edit.el (customize-push-and-save): New function.
3811
3812 * files.el (hack-local-variables-confirm): Use it.
3813
3814 * custom.el (load-theme): New arg NO-CONFIRM.
3815 Use customize-push-and-save (Bug#8720).
3816 (custom-enabled-themes): Doc fix.
3817
3818 * cus-theme.el (customize-create-theme)
3819 (custom-theme-merge-theme): Callers to load-theme changed.
3820
3821 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3822
3823 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3824 short URLs have at least one dot in them (bug #7614).
3825
3826 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3827 nil, because using a pty is apparently too slow (bug #895).
3828
3829 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3830
3831 * mail/sendmail.el (sendmail-query-once): New function.
3832 (sendmail-query-once-function): New variable.
3833
3834 2011-06-29 Glenn Morris <rgm@gnu.org>
3835
3836 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3837
3838 * ses.el (top-level): Require cl when compiling.
3839 (ses-set-localvars): Fix error statement.
3840 Call it at compile time to silence a storm of warnings.
3841
3842 2011-06-29 Martin Rudalics <rudalics@gmx.at>
3843
3844 * window.el (normalize-live-buffer): Rename to
3845 window-normalize-buffer.
3846 (normalize-live-frame): Rename to window-normalize-frame.
3847 (normalize-any-window): Rename to window-normalize-any-window.
3848 (normalize-live-window): Rename to window-normalize-live-window.
3849 (make-window-atom): Rename to window-make-atom.
3850 (window-resize-reset): Rename to window--resize-reset.
3851 (window-resize-reset-1): Rename to window--resize-reset-1.
3852 (resize-mini-window): Rename to window--resize-mini-window.
3853 (resize-subwindows-skip-p): Rename to
3854 window--resize-subwindows-skip-p.
3855 (resize-subwindows-normal): Rename to
3856 window--resize-subwindows-normal.
3857 (resize-subwindows): Rename to window--resize-subwindows.
3858 (resize-other-windows): Rename to window--resize-siblings.
3859 (resize-this-window): Rename to window--resize-this-window.
3860 (resize-root-window): Rename to window--resize-root-window.
3861 (resize-root-window-vertically): Rename to
3862 window--resize-root-window-vertically.
3863 (normalize-buffer-to-display): Rename to
3864 window-normalize-buffer-to-display.
3865 (normalize-buffer-to-switch-to): Rename to
3866 window-normalize-buffer-to-switch-to.
3867 Correspondingly update all callers of the functions listed
3868 above.
3869 (display-buffer-alist, display-buffer-normalize-arguments)
3870 (display-buffer-normalize-options, display-buffer)
3871 (display-buffer-alist-set): Use "function" instead of
3872 "fun-with-args".
3873
3874 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
3875
3876 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3877 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3878 debbugs.gnu.org. Mention acknowledgment email.
3879
3880 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3881
3882 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3883 buffer multibyteness, since it shouldn't matter.
3884
3885 2011-06-28 Martin Rudalics <rudalics@gmx.at>
3886
3887 * window.el (display-buffer-in-side-window): Handle dedicated
3888 windows as in display-buffer-reuse-window.
3889 (display-buffer-normalize-alist): Use value of override
3890 specifier.
3891 (display-buffer-normalize-specifiers): Use value of
3892 other-window-means-other-frame specifier.
3893 (display-buffer-alist): Rewrite some texts in widgets.
3894 (display-buffer): Spread arguments when calling function
3895 specified by fun-with-args.
3896
3897 2011-06-28 Deniz Dogan <deniz@dogan.se>
3898
3899 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3900 Unnest `let'.
3901
3902 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3903 selectors (Bug#5732).
3904 (css-proprietary-nmstart-re): Use `regexp-opt'.
3905
3906 2011-06-27 Jari Aalto <jari.aalto@cante.net>
3907
3908 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3909 (eshell-ls-date-format): New defcustom.
3910 (eshell-ls-file): Use it.
3911
3912 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * help-fns.el (describe-variable): Fix message for terminal-local vars.
3915
3916 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
3917
3918 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3919 (ange-ftp-make-tmp-name): New arg.
3920 (ange-ftp-file-local-copy): Use it.
3921
3922 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
3923
3924 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3925 no-conversion (Bug#8870).
3926
3927 2011-06-27 Martin Rudalics <rudalics@gmx.at>
3928
3929 * window.el (window-right, window-left, window-child)
3930 (window-child-count, window-last-child)
3931 (window-iso-combination-p, walk-window-tree-1)
3932 (window-atom-check-1, window-tree-1, delete-window)
3933 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3934 new naming conventions - window-vchild, window-hchild,
3935 window-next and window-prev are now called window-top-child,
3936 window-left-child, window-next-sibling and window-prev-sibling
3937 respectively.
3938 (resize-window-reset): Rename to window-resize-reset.
3939 (resize-window-reset-1): Rename to window-resize-reset-1.
3940 (resize-window): Rename to window-resize.
3941 (window-min-height, window-min-width)
3942 (resize-mini-window, resize-this-window, resize-root-window)
3943 (resize-root-window-vertically, adjust-window-trailing-edge)
3944 (enlarge-window, shrink-window, maximize-window)
3945 (minimize-window, delete-window, quit-restore-window)
3946 (split-window, balance-windows, balance-windows-area-adjust)
3947 (balance-windows-area, window-state-put-2)
3948 (display-buffer-even-window-sizes, display-buffer-set-height)
3949 (display-buffer-set-width, set-window-text-height)
3950 (fit-window-to-buffer): Rename all "resize-window" prefixed
3951 calls to use the "window-resize" prefix convention.
3952 (display-buffer-alist): Fix symbol for label specifier.
3953 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3954 corresponding specifier.
3955 Reported by Juanma Barranquero <lekktu@gmail.com>.
3956
3957 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3958
3959 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3960 convention.
3961 (ses-call-printer): Does not pass an empty string to formatter when the
3962 cell is empty to keep from barking printer Calc math-format-value.
3963
3964 2011-06-27 Richard Stallman <rms@gnu.org>
3965
3966 * battery.el (battery-mode-line-limit): New variable.
3967 (battery-update): Handle it.
3968
3969 * mail/rmailmm.el (rmail-mime-process-multipart):
3970 Handle truncated messages.
3971
3972 2011-06-27 Glenn Morris <rgm@gnu.org>
3973
3974 * progmodes/flymake.el (flymake-err-line-patterns):
3975 Allow for column numbers in the ant/javac pattern. (Bug#8866)
3976
3977 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3978
3979 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
3980 (ses--clean-!, ses--clean-_): New functions.
3981 (ses-range): Add configurability of readout order, and conversion
3982 to Calc vector.
3983
3984 * ses.el (ses-repair-cell-reference-all): New function.
3985 (ses-cell-symbol): Set macro as safe, so that it can be used in
3986 formulas.
3987
3988 * ses.el: Update cycle detection algorithm.
3989 (ses-localvars): Add ses--Dijkstra-attempt-nb and
3990 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
3991 (ses-set-localvars): New function.
3992 (ses-make-cell): Add property-list as a cell element.
3993 (ses-cell-property-get-fun, ses-cell-property-get)
3994 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
3995 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
3996 New functions.
3997 (ses-cell-property-set, ses-cell-property-pop)
3998 (ses-cell-property-get-handle): New macro.
3999 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4000 New aliases, used for code readability.
4001 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4002 cycle detection.
4003 (ses-self-reference-early-detection): New defcustom.
4004 (ses-formula-references): Robustify against self-refering cells.
4005 (ses-mode): Use ses-set-localvars.
4006 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4007 before lauching the update processing.
4008 (ses-initialize-Dijkstra-attempt): New function.
4009 (ses-recalculate-cell): Update for cycle detection based on
4010 Dijkstra algorithm.
4011
4012 * ses.el: Fix commenting and indenting convention.
4013
4014 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * bs.el (bs-cycle-next): Complete last change.
4017
4018 2011-06-27 Drew Adams <drew.adams@oracle.com>
4019
4020 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4021
4022 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4023
4024 * net/network-stream.el (network-stream-open-starttls):
4025 Don't re-get capabilities unless we've reestablished connection.
4026 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4027
4028 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4029 to binary to possibly avoid line encoding issues on Windows (among
4030 other things).
4031
4032 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4033
4034 * net/network-stream.el (open-network-stream): Return an :error
4035 saying what the problem was, if possible.
4036
4037 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4038 server.
4039
4040 * net/network-stream.el (network-stream-open-starttls): If we
4041 wanted to use STARTTLS, and the server offered it, but we weren't
4042 able to because we had no STARTTLS support, then close the connection.
4043 (open-network-stream): Return an :error element, if present.
4044
4045 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
4046
4047 * hl-line.el (hl-line-sticky-flag): Doc fix.
4048 (global-hl-line-sticky-flag): New option (Bug#8323).
4049 (global-hl-line-highlight): Obey it.
4050
4051 * vc/vc.el (vc-revert-show-diff): Default to t.
4052
4053 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4054
4055 * allout-widgets.el (allout-widgets-post-command-business):
4056 Stop decorating intermediate isearch matches. They're not being
4057 undecorated when an isearch is continued past, and isearch
4058 automatically collapses them. This leads to "widget leaks", where
4059 decorated items accumulate in collapsed areas. Lines with lots of
4060 hidden widgets can slow down cursor travel, substantially.
4061 Too much complicated machinery would be needed to ensure undecoration,
4062 so we're doing without this nicety.
4063
4064 (allout-widgets-tally-string): Don't try to do a hash-table-count
4065 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4066 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4067 *Messages* when allout-widgets-maintain-tally is t.
4068
4069 2011-06-26 Martin Rudalics <rudalics@gmx.at>
4070
4071 * window.el (display-buffer-normalize-argument): Rename to
4072 display-buffer-normalize-arguments. Handle special meaning of
4073 LABEL argument. Respect special-display-function when popping up
4074 a new frame. Fix code searching for a window showing the buffer
4075 on another frame.
4076 (display-buffer-normalize-specifiers):
4077 Call display-buffer-normalize-arguments.
4078 (display-buffer-in-window): Don't undedicate the window if its
4079 buffer remains the same.
4080 Reported by Drew Adams <drew.adams@oracle.com>.
4081 (display-buffer-alist): Add choice for same-window macro
4082 specfier.
4083 (display-buffer): Mention special meaning of LABEL argument in
4084 doc-string. Fix quoting. Don't pop up a new frame even as
4085 fallback.
4086
4087 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
4088
4089 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4090 avoid deleting the current window in some cases (bug#8911).
4091
4092 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4093
4094 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4095 (Bug#8934)
4096
4097 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4098
4099 * net/network-stream.el (network-stream-open-starttls):
4100 Use built-in TLS support if `gnutls-available-p' is true.
4101 (network-stream-open-tls): Ditto.
4102
4103 2011-06-26 Leo Liu <sdl.web@gmail.com>
4104
4105 * register.el (registerv): New struct.
4106 (registerv-make): New function.
4107 (jump-to-register, describe-register-1, insert-register):
4108 Support the jump-func, print-func and insert-func slot of a registerv
4109 struct. (Bug#8415)
4110
4111 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
4112
4113 * vc/vc.el (vc-revert-show-diff): New defcustom.
4114 (vc-diff-internal): New arg specifying diff buffer.
4115 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4116 reuse an existing *vc-diff* buffer (Bug#8927).
4117
4118 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4119
4120 2011-06-26 Glenn Morris <rgm@gnu.org>
4121
4122 * progmodes/f90.el (f90-critical-indent): New option.
4123 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4124 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4125 (f90-mode): Doc fix.
4126 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4127 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4128 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4129 (f90-match-end): Handle block, critical.
4130
4131 2011-06-25 Glenn Morris <rgm@gnu.org>
4132
4133 * calendar/diary-lib.el (diary-included-files): Doc fix.
4134 (diary-include-files): New function, extracted from
4135 diary-include-other-diary-files and diary-mark-included-diary-files.
4136 (diary-include-other-diary-files, diary-mark-included-diary-files):
4137 Just call diary-include-files.
4138 (diary-mark-entries): Reset diary-included-files on first call.
4139
4140 * calendar/diary-lib.el (diary-mark-entries)
4141 (diary-mark-included-diary-files):
4142 Visit included diary-files in temp buffers.
4143
4144 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4145 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4146 (f90-start-block-re, f90-imenu-generic-expression)
4147 (f90-looking-at-program-block-start, f90-no-block-limit):
4148 Add support for submodules.
4149
4150 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4151 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
4152
4153 2011-06-25 Eli Zaretskii <eliz@gnu.org>
4154
4155 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4156 buffer-file-type before setting its value, to avoid disastrous
4157 global effects on decoding files for DOS/Windows systems. (Bug#8780)
4158
4159 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
4160
4161 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4162
4163 * ses.el (ses-unload-function):
4164 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4165
4166 * proced.el (proced-unload-function):
4167 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4168
4169 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4170
4171 * server.el (server-create-window-system-frame): Add parameters arg.
4172 (server-process-filter): Doc fix. Handle frame-parameters.
4173
4174 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
4175
4176 Fix bug#8730, bug#8781.
4177
4178 * loadhist.el (unload--set-major-mode): New function.
4179 (unload-feature): Use it.
4180
4181 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4182 (python-unload-function): New function.
4183
4184 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4187
4188 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4189
4190 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4191 the candidates list.
4192
4193 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4196
4197 2011-06-23 Richard Stallman <rms@gnu.org>
4198
4199 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4200 (rmail-variables): Set next-error-move-function.
4201 (rmail-what-message): Take argument POS.
4202 (rmail-next-error-move): New function.
4203
4204 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4207 messages for adjacent non-terminals.
4208
4209 2011-06-23 Richard Stallman <rms@gnu.org>
4210
4211 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
4212 (rmail-show-message-1): Preserve buffer modified flag.
4213 (rmail-start-mail): Don't specify use of rmail-mail-return;
4214 that's done by mail-bury now.
4215 (rmail-mail-return): Handle arg NEWBUF.
4216
4217 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
4218
4219 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4220 SIZE is a number.
4221
4222 2011-06-23 Martin Rudalics <rudalics@gmx.at>
4223
4224 * window.el (get-lru-window, get-mru-window)
4225 (get-largest-window): Never return a minibuffer window.
4226 (display-buffer-pop-up-window): Fix a bug that could lead to
4227 reusing the minibuffer window.
4228 (display-buffer): Pass original specifier argument to
4229 display-buffer-function instead of the normalized one.
4230 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4231
4232 2011-06-22 Leo Liu <sdl.web@gmail.com>
4233
4234 * minibuffer.el (completing-read-function)
4235 (completing-read-default): Move from minibuf.c
4236
4237 2011-06-22 Richard Stallman <rms@gnu.org>
4238
4239 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4240 to Rmail even if not started by a special Rmail command.
4241
4242 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4243 Copy the buffer currently showing just one message.
4244
4245 2011-06-22 Roland Winkler <winkler@gnu.org>
4246
4247 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4248 (bibtex-clean-entry): First delete the old key so that a
4249 customized algorithm for generating the new key does not get
4250 confused by the old key.
4251 (bibtex-url): Obey regexp of first step.
4252 (bibtex-search-entries): Do not use add-to-list with local
4253 list-var.
4254
4255 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4256
4257 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4258 stored a user name, then query for the password first, instead of
4259 waiting for SMTP to give an error message and the trying again.
4260
4261 2011-06-22 Lawrence Mitchell <wence@gmx.li>
4262
4263 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4264 BUFFER in call-process.
4265
4266 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4267
4268 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4269 QUIT twice.
4270 (smtpmail-try-auth-methods): Require user name and password from
4271 auth-source.
4272
4273 2011-06-22 Martin Rudalics <rudalics@gmx.at>
4274
4275 * window.el (display-buffer-default-specifiers)
4276 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4277 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
4278 (split-window): Normalize SIDE argument (Bug#8916).
4279
4280 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4281 (special-display-frame-alist, special-display-popup-frame):
4282 Remove duplicate declarations. These are now in window.el.
4283
4284 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4285
4286 * mail/smtpmail.el (smtpmail-via-smtp):
4287 Set :use-starttls-if-possible so that we always use STARTTLS if the
4288 server supports it. SMTP servers that support STARTTLS commonly
4289 require it.
4290
4291 * net/network-stream.el (network-stream-open-starttls): Support
4292 upgrading to STARTTLS always, even if we don't have built-in support.
4293 (open-network-stream): Add the :always-query-capabilies keyword.
4294
4295 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4296 upgrades with `open-network-stream', and rely solely on
4297 auth-source for all credentials. Big changes throughout the file,
4298 but in particular:
4299 (smtpmail-auth-credentials): Remove.
4300 (smtpmail-starttls-credentials): Remove.
4301 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4302 MAIL FROM, too.
4303
4304 * net/network-stream.el (network-stream-open-starttls):
4305 Provide support for client certificates both for external and built-in
4306 STARTTLS.
4307 (auth-source): Require.
4308 (open-network-stream): Document the :client-certificate keyword.
4309 (network-stream-certificate): Change cert-cert to cert and
4310 cert-key to key.
4311
4312 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
4313
4314 * net/tramp-cache.el (top): Don't load the persistency file when
4315 "emacs -Q" has been called.
4316
4317 2011-06-21 Tim Harper <timcharper@gmail.com>
4318
4319 * term/ns-win.el (ns-initialize-window-system):
4320 Set application-specific `ApplePressAndHoldEnabled' system
4321 resource to NO as it is not yet supported by the NS port.
4322
4323 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
4324
4325 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4326 (list-dynamic-libraries): ...not here.
4327
4328 2011-06-21 Leo Liu <sdl.web@gmail.com>
4329
4330 * subr.el (sha1): Implement sha1 using secure-hash.
4331
4332 2011-06-21 Martin Rudalics <rudalics@gmx.at>
4333
4334 * window.el (display-buffer-alist): In default value do not
4335 enforce searching a window on any but the selected frame.
4336 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4337 (display-buffer-select-window): Remove function.
4338 (display-buffer-in-window): When a window on another frame gets
4339 reused, do not select it any more but just raise its frame if
4340 necessary (Bug#8851) and (Bug#8856).
4341 (display-buffer-normalize-options): Handle pop-up-frames related
4342 options more faithfully.
4343 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4344 window if it is on another frame.
4345 (display-buffer-alist, display-buffer-default-specifiers):
4346 Don't make new frame unsplittable by default.
4347 (display-buffer-normalize-argument): Fix doc-string typo and use
4348 'same-frame-other-window instead of 'other-window when associating
4349 with display-buffer-macro-specifiers.
4350
4351 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4352
4353 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4354 New functions.
4355 (5x5-mode-map, 5x5-mode-menu): Bind them.
4356 (5x5-draw-grid): Tweak the solver's rendering.
4357
4358 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4361 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4362
4363 2011-06-21 Drew Adams <drew.adams@oracle.com>
4364
4365 * menu-bar.el: Use function variable instead of switch-to-buffer.
4366 (menu-bar-select-buffer-function): New variable.
4367 (menu-bar-update-buffers): Use it (bug#8876).
4368
4369 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4372 variable's status.
4373
4374 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4375
4376 * x-dnd.el (x-dnd-version-from-flags)
4377 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4378 and long as number (Bug#8899).
4379 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4380
4381 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4384 (completion-try-completion, completion-all-completions): Compute the
4385 metadata argument if it's missing; make it optional (bug#8795).
4386
4387 * wid-edit.el: Use lex-bind and move towards completion-at-point.
4388 (widget-complete): Use new :completion-function property.
4389 (widget-completions-at-point): New function.
4390 (default): Use :completion-function instead of :complete.
4391 (widget-default-completions): Rename from widget-default-complete;
4392 Rewrite.
4393 (widget-string-complete, widget-file-complete, widget-color-complete):
4394 Remove functions.
4395 (file, symbol, function, variable, coding-system, color):
4396 * international/mule-cmds.el (default-input-method, charset)
4397 (language-info-custom-alist):
4398 * cus-edit.el (face): Use new property :completions.
4399
4400 * progmodes/pascal.el (pascal-completions-at-point): New function.
4401 (pascal-mode): Use it.
4402 (pascal-mode-map): Use completion-at-point.
4403 (pascal-toggle-completions): Make obsolete.
4404 (pascal-complete-word, pascal-show-completions):
4405 * progmodes/octave-mod.el (octave-complete-symbol):
4406 Redefine as obsolete alias.
4407 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4408 Signal absence of completion info for old Octave,
4409 (inferior-octave-complete): Redefine as obsolete alias.
4410 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4411 (meta-completions-at-point): Rename from meta-complete-symbol and
4412 adapt it for use on completion-at-point-functions.
4413 (meta-common-mode): Use it.
4414 (meta-looking-at-backward, meta-match-buffer): Remove.
4415 (meta-complete-symbol): Redefine as obsolete alias.
4416 (meta-common-mode-map): Use completion-at-point.
4417 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4418 (makefile-mode-map): Use completion-at-point.
4419 (makefile-completions-at-point): Rename from makefile-complete and
4420 adapt it for use on completion-at-point-functions.
4421 (makefile-mode): Use it.
4422 (makefile-complete): Redefine as obsolete alias.
4423
4424 2011-06-20 Deniz Dogan <deniz@dogan.se>
4425
4426 * net/rcirc.el: Delete trailing whitespaces once and for all.
4427
4428 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4429
4430 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4431
4432 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
4433
4434 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4435
4436 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4437
4438 2011-06-19 Martin Rudalics <rudalics@gmx.at>
4439
4440 * window.el (display-buffer-other-window-means-other-frame):
4441 Call display-buffer-normalize-alist.
4442 (display-buffer-normalize-specifiers-1): Rename to
4443 display-buffer-normalize-argument. New argument other-frame.
4444 Rewrite.
4445 (display-buffer-normalize-specifiers-2): Rename to
4446 display-buffer-normalize-options.
4447 (display-buffer-normalize-alist-1): New function.
4448 (display-buffer-normalize-specifiers-3): Rename to
4449 display-buffer-normalize-alist.
4450 Call display-buffer-normalize-alist-1.
4451 (display-buffer-normalize-options-inhibit): New variable.
4452 (display-buffer-normalize-specifiers): Rewrite calling
4453 display-buffer-normalize-alist,
4454 display-buffer-normalize-argument, and
4455 display-buffer-normalize-options. Don't call the latter if
4456 display-buffer-normalize-options-inhibit is non-nil.
4457 (frame-auto-delete): New option.
4458 (window-deletable-p): Use frame-auto-delete.
4459 (window-list-no-nils, window-state-ignored-parameters)
4460 (window-state-get-1, window-state-get, window-state-put-list)
4461 (window-state-put-1, window-state-put-2, window-state-put):
4462 New functions.
4463 (display-buffer-normalize-options): Move special-display-p group
4464 after pop-up-frame group (Bug#8851) and (Bug#8856).
4465
4466 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
4467
4468 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4469 groups (Bug#8776).
4470 (rx-submatch-n): New function.
4471 (rx): Document it.
4472
4473 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4474 (Bug#8768).
4475
4476 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4477
4478 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4479
4480 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4481 anytime existing face settings are present (Bug#8889).
4482
4483 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4484 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4485 Remove unused argument.
4486
4487 2011-06-18 Martin Rudalics <rudalics@gmx.at>
4488
4489 * window.el (display-buffer-default-specifiers):
4490 Remove pop-up-frame. Add pop-up-window-min-height,
4491 pop-up-window-min-width, and another reuse-window specifier
4492 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
4493 (display-buffer-normalize-specifiers-2):
4494 Handle split-height-threshold and split-width-threshold also when
4495 pop-up-windows is unset. Add a reuse-window specifier for the
4496 case popping up a new window fails.
4497 (special-display-popup-frame): Remove double quoting.
4498 (display-buffer-normalize-specifiers-1): Fix thinko.
4499
4500 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4503 according to comint-completion-addsuffix.
4504
4505 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4506 (pcomplete-suffix-list): Mark as obsolete.
4507 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4508 pcomplete-seen in the closure.
4509 (pcomplete-comint-setup): Setup completion-at-point as well.
4510 (pcomplete--entries): New function.
4511 (pcomplete--env-regexp): New var.
4512 (pcomplete-entries): Rewrite to work with partial-completion and
4513 without relying on pcomplete-suffix-list.
4514 (pcomplete-pare-list): Remove, unused.
4515
4516 2011-06-17 Martin Rudalics <rudalics@gmx.at>
4517
4518 * window.el (display-buffer-alist): Set pop-up-window-min-height
4519 and pop-up-window-min-width in default value. Reported by
4520 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4521 other-window-means-other-frame.
4522 (display-buffer-macro-specifiers): Comment out entry for
4523 other-window specifier.
4524 (display-buffer-other-window-means-other-frame): New function.
4525 (display-buffer-normalize-specifiers-1): New arguments
4526 buffer-name and label. Treat other-window case specially.
4527 (display-buffer-normalize-specifiers-2): Treat other-window case
4528 specially.
4529 (display-buffer-normalize-specifiers-3): New function.
4530 (display-buffer-normalize-specifiers):
4531 Call display-buffer-normalize-specifiers-3.
4532
4533 2011-06-17 Martin Rudalics <rudalics@gmx.at>
4534
4535 * window.el (same-window-p): Fix two typos introduced when
4536 adding with-no-warnings.
4537 (display-buffer-normalize-specifiers-1): Don't check
4538 pop-up-frames for 'unset initialization.
4539 (display-buffer-normalize-specifiers-2): Major rewrite using
4540 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4541 (pop-up-frames, display-buffer-reuse-frames)
4542 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4543 Suggested by David Engster <deng@randomsample.de>.
4544 (even-window-heights): Initialize to 'unset.
4545 (display-buffer-alist-set): Handle new 'unset initializations.
4546 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4547 other window case.
4548
4549 2011-06-16 Martin Rudalics <rudalics@gmx.at>
4550
4551 * window.el (display-buffer-normalize-specifiers-1):
4552 Respect current value of pop-up-frames for most reasonable values of
4553 second argument of display-buffer (Bug#8865).
4554 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4555 (switch-to-buffer-other-window-same-frame)
4556 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4557 Adams (Bug#8875).
4558 (display-buffer): Don't check noninteractive when calling
4559 display-buffer-pop-up-frame.
4560 (display-buffer-pop-up-frame): Never pop up a frame in
4561 noninteractive mode (Bug#8857).
4562 (enlarge-window, shrink-window): Don't report an error when the
4563 window can't be resized as requested (Bug#8862).
4564
4565 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4568
4569 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4570
4571 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4572
4573 2011-06-15 Alan Mackenzie <acm@muc.de>
4574
4575 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4576 for declarators, disable knr checking to speed up for normal files.
4577 2: Refactor, replacing a sequence of nested if forms by a cond form.
4578
4579 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4580
4581 * net/network-stream.el (open-network-stream): Add the keyword
4582 :always-query-capabilities for the case where you want to force a
4583 `plain' network connection, but the protocol still requires the
4584 capabilitiy command (i.e., SMTP and EHLO).
4585
4586 * subr.el (process-live-p): Rename from `process-alive-p' for
4587 consistency with other `-live-p' functions.
4588
4589 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * window.el (same-window-buffer-names, same-window-regexps)
4592 (special-display-frame-alist, special-display-popup-frame)
4593 (special-display-function, special-display-buffer-names)
4594 (special-display-regexps, pop-up-frame-alist)
4595 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4596 (pop-up-windows, split-window-preferred-function)
4597 (split-height-threshold, split-width-threshold, even-window-heights)
4598 (display-buffer-mark-dedicated): Don't encourage the use of
4599 display-buffer-alist from Elisp code.
4600
4601 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4602
4603 * progmodes/python.el (python-mode): Derive from prog-mode.
4604 * progmodes/ps-mode.el (ps-mode):
4605 * progmodes/mixal-mode.el (mixal-mode):
4606 * progmodes/cfengine.el (cfengine-mode):
4607 * progmodes/ld-script.el (ld-script-mode): Likewise.
4608
4609 2011-06-15 Martin Rudalics <rudalics@gmx.at>
4610
4611 * window.el (display-buffer-alist): Trim default value to avoid
4612 popping up a new frame (Bug#8857) or reusing an arbitrary window
4613 on another frame.
4614 (display-buffer): Do not fall back on popping up a new frame in
4615 batch mode (Bug#8857).
4616
4617 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
4618
4619 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4620 (custom-theme-summary): New function.
4621 (customize-themes): Use it.
4622
4623 2011-06-13 Glenn Morris <rgm@gnu.org>
4624
4625 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4626
4627 2011-06-13 Martin Rudalics <rudalics@gmx.at>
4628
4629 * help.el (help-window): Remove variable.
4630 (help-window-point-marker, temp-buffer-max-height)
4631 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4632 (help-print-return-message): Don't set help-window.
4633 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4634 (help-window-setup-finish): Remove.
4635 (help-window-display-message, help-window-setup)
4636 (with-help-window): Major rewrite based on new
4637 display-buffer-window variable.
4638
4639 * help-mode.el (help-mode-finish): Remove help-window related
4640 code.
4641
4642 * view.el (view-exits-all-viewing-windows): Remove reference to
4643 view-return-to-alist in doc-string.
4644 (view-return-to-alist): Make obsolete.
4645 (view-buffer): Call pop-to-buffer-same-window and remove
4646 undo-window code.
4647 (view-buffer-other-window): Call pop-to-buffer-other-window and
4648 simplify code. Ignore second argument.
4649 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4650 simplify code. Ignore second argument.
4651 (view-return-to-alist-update): Make obsolete.
4652 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4653 Rewrite using quit-restore window parameters.
4654 (view-mode-exit): Rename second argument to EXIT-ONLY.
4655 Rewrite using quit-restore-window.
4656 (View-exit, View-exit-and-edit, View-leave, View-quit)
4657 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4658 appropriate arguments.
4659 (view-end-message): Use quit-restore window parameter.
4660
4661 * window.el (display-buffer-function): Rewrite doc-string.
4662 (display-buffer-window, display-buffer-alist): New variables.
4663 (display-buffer-split-specifiers)
4664 (display-buffer-side-specifiers)
4665 (display-buffer-macro-specifiers): New constants.
4666 (display-buffer-even-window-sizes, display-buffer-set-height)
4667 (display-buffer-set-width, display-buffer-select-window)
4668 (display-buffer-in-window, display-buffer-reuse-window)
4669 (display-buffer-split-window-1, display-buffer-split-window)
4670 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4671 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4672 (display-buffer-in-side-window, normalize-buffer-to-display)
4673 (display-buffer-normalize-specifiers-1)
4674 (display-buffer-normalize-specifiers-2)
4675 (display-buffer-normalize-specifiers, display-buffer-frame):
4676 New functions.
4677 (display-buffer): Major rewrite.
4678 (display-buffer-other-window, display-buffer-other-frame)
4679 (pop-to-buffer, switch-to-buffer-other-window)
4680 (switch-to-buffer-other-frame): Rewrite.
4681 (display-buffer-same-window, display-buffer-same-frame)
4682 (display-buffer-same-frame-other-window)
4683 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4684 (pop-to-buffer-other-window)
4685 (pop-to-buffer-same-frame-other-window)
4686 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4687 (switch-to-buffer-other-window-same-frame): New functions.
4688 (same-window-p, special-display-p): Rewrite disabling warnings.
4689 Make obsolete.
4690 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4691 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4692 Make obsolete
4693 (same-window-buffer-names, same-window-regexps)
4694 (special-display-frame-alist, special-display-popup-frame)
4695 (special-display-function, special-display-buffer-names)
4696 (special-display-regexps, pop-up-frame-alist)
4697 (pop-up-frame-function, split-window-preferred-function)
4698 (split-height-threshold, split-width-threshold)
4699 (even-window-heights): Make obsolete.
4700
4701 2011-06-12 Glenn Morris <rgm@gnu.org>
4702
4703 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
4704 Misc simplifications.
4705
4706 2011-06-12 Martin Rudalics <rudalics@gmx.at>
4707
4708 * window.el (window-safely-shrinkable-p): Restore function which
4709 was inadvertently removed in change from 2011-06-11. Declare as
4710 obsolete.
4711
4712 * calendar/calendar.el (calendar-generate-window):
4713 Use window-iso-combined-p instead of combination of one-window-p and
4714 window-safely-shrinkable-p.
4715
4716 2011-06-12 Glenn Morris <rgm@gnu.org>
4717
4718 * progmodes/fortran.el (fortran-mode-syntax-table):
4719 * progmodes/f90.el (f90-mode-syntax-table):
4720 Set % to punctuation. (Bug#8820)
4721 (f90-find-tag-default): Remove, no longer needed.
4722
4723 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4724
4725 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4726
4727 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
4728
4729 * image.el (image-animated-p): Return animation delay in seconds.
4730 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4731 (image-animate-timeout): Remove DELAY argument. Don't assume
4732 every subimage has the same delay; get it from image-animated-p.
4733 (image-animate): Caller changed.
4734
4735 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4738 to ignored backtrace functions.
4739
4740 2011-06-11 Glenn Morris <rgm@gnu.org>
4741
4742 * calendar/appt.el (appt-disp-window-function): Doc fix.
4743 (appt-check): Handle overlapping appointments. (Bug#8337)
4744
4745 2011-06-11 Martin Rudalics <rudalics@gmx.at>
4746
4747 * window.el (window-tree-1, window-tree): New functions, moving
4748 the latter to window.el.
4749 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4750 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4751 (bw-refresh-edges): Remove.
4752 (balance-windows-1, balance-windows-2): New functions.
4753 (balance-windows): Rewrite in terms of window tree functions,
4754 balance-windows-1 and balance-windows-2.
4755 (bw-adjust-window): Remove.
4756 (balance-windows-area-adjust): New function with functionality of
4757 bw-adjust-window but using resize-window.
4758 (set-window-text-height): Rewrite doc-string.
4759 Use normalize-live-window and resize-window.
4760 (enlarge-window-horizontally, shrink-window-horizontally):
4761 Rename argument to DELTA.
4762 (window-buffer-height): New function.
4763 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4764 Rewrite using new window resize routines.
4765 (kill-buffer-and-window, mouse-autoselect-window-select):
4766 Use ignore-errors instead of condition-case.
4767 (quit-window): Call delete-frame instead of delete-windows-on
4768 for the only buffer on frame.
4769
4770 2011-06-10 Martin Rudalics <rudalics@gmx.at>
4771
4772 * loadup.el (top-level): Load window before files for the sake
4773 of replace-buffer-in-windows.
4774
4775 * files.el (read-buffer-to-switch)
4776 (switch-to-buffer-other-window)
4777 (switch-to-buffer-other-frame, display-buffer-other-frame):
4778 Move to window.el.
4779
4780 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4781 (previous-buffer): Move to window.el.
4782
4783 * bindings.el (unbury-buffer): Move to window.el.
4784
4785 * window.el (delete-other-windows-vertically): Move after
4786 definition of delete-other-windows.
4787 (other-window, delete-windows-on, replace-buffer-in-windows):
4788 Move here from window.c.
4789 (record-window-buffer, unrecord-window-buffer)
4790 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4791 (switch-to-next-buffer): New functions.
4792 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4793 from simple.el. Call switch-to-next-buffer.
4794 (previous-buffer): Move here from simple.el.
4795 Call switch-to-prev-buffer.
4796 (bury-buffer): Move here from buffer.c. Switch to previous
4797 buffer when window cannot be deleted.
4798 (unbury-buffer): Move here from bindings.el.
4799 (ctl-x-map): Move binding for other-window from window.c to
4800 here.
4801 (read-buffer-to-switch, switch-to-buffer-other-window)
4802 (switch-to-buffer-other-frame): Move here from files.el.
4803 (normalize-buffer-to-switch-to): New functions.
4804 (switch-to-buffer): Move here from buffer.c.
4805 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
4806
4807 2011-06-10 Martin Rudalics <rudalics@gmx.at>
4808
4809 * window.el (window-min-height, window-min-width): Move here
4810 from window.c. Add defcustoms and rewrite doc-strings.
4811 (resize-mini-window, resize-window): New functions.
4812 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4813 Move here from window.c.
4814 (maximize-window, minimize-window): New functions.
4815 (delete-window, delete-other-windows, split-window): Move here
4816 from window.c.
4817 (window-split-min-size): New function.
4818 (split-window-keep-point): Mention split-window-above-each-other
4819 instead of split-window-vertically.
4820 (split-window-above-each-other, split-window-vertically):
4821 Rename split-window-vertically to split-window-above-each-other and
4822 provide defalias for old definition.
4823 (split-window-side-by-side, split-window-horizontally): Rename
4824 split-window-horizontally to split-window-side-by-side and provide
4825 defalias for the old definition.
4826 (ctl-x-map): Move bindings for delete-window,
4827 delete-other-windows and enlarge-window here from window.c.
4828 Replace bindings for split-window-vertically and
4829 split-window-horizontally by bindings for
4830 split-window-above-each-other and split-window-side-by-side.
4831
4832 * cus-start.el (all): Remove entries for window-min-height and
4833 window-min-width. Add entries for window-splits and
4834 window-nest.
4835
4836 2011-06-09 Glenn Morris <rgm@gnu.org>
4837
4838 * calendar/appt.el (appt-mode-line): New function.
4839 (appt-check, appt-disp-window): Use it.
4840
4841 * files.el (hack-one-local-variable-eval-safep):
4842 Allow minor-modes with explicit +/-1 arguments.
4843
4844 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4845
4846 * term/xterm.el (xterm): Add defgroup.
4847 (xterm-extra-capabilities): Add defcustom to supply known xterm
4848 capabilities, skip querying them, or query them (default).
4849 (terminal-init-xterm): Use it.
4850 (terminal-init-xterm-modify-other-keys): New function to set up
4851 modifyOtherKeys support to simplify `terminal-init-xterm'.
4852
4853 2011-06-09 Martin Rudalics <rudalics@gmx.at>
4854
4855 * window.el (resize-window-reset, resize-window-reset-1)
4856 (resize-subwindows-skip-p, resize-subwindows-normal)
4857 (resize-subwindows, resize-other-windows, resize-this-window)
4858 (resize-root-window, resize-root-window-vertically)
4859 (window-deletable-p, window-or-subwindow-p)
4860 (frame-root-window-p): New functions.
4861
4862 2011-06-09 Glenn Morris <rgm@gnu.org>
4863
4864 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4865 (ange-ftp-get-files): Use it.
4866
4867 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4868
4869 * mail/sendmail.el (mail-recover-1, mail-recover):
4870 * files.el (recover-file, recover-session):
4871 Handle dired-listing-switches not being just a single short option.
4872
4873 2011-06-09 Glenn Morris <rgm@gnu.org>
4874
4875 * calendar/appt.el (appt-display-message, appt-disp-window):
4876 Handle lists of appointments.
4877
4878 2011-06-08 Martin Rudalics <rudalics@gmx.at>
4879
4880 * window.el (one-window-p): Move down in code.
4881 Rewrite doc-string.
4882 (window-current-scroll-bars): Rewrite doc-string.
4883 Normalize live window argument.
4884 (walk-windows, get-window-with-predicate, count-windows):
4885 Rewrite doc-string. Use window-list-1.
4886 (window-in-direction-2, window-in-direction, get-mru-window):
4887 New functions.
4888
4889 2011-06-08 Reuben Thomas <rrt@sc3d.org>
4890
4891 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4892 Doc fix (Bug#8713).
4893
4894 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
4895
4896 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4897
4898 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
4899
4900 * loadhist.el (unload-feature-special-hooks):
4901 Add `comint-output-filter-functions'.
4902
4903 2011-06-08 Ivan Kanis <gnu@kanis.fr>
4904
4905 * calendar/appt.el (appt-check): Move some initializations into the let.
4906
4907 2011-06-08 Martin Rudalics <rudalics@gmx.at>
4908
4909 * window.el (window-height): Defalias to window-total-height.
4910 (window-width): Defalias to window-body-width.
4911
4912 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
4913
4914 * image-mode.el (image-toggle-animation): New command.
4915 (image-mode-map): Bind it to RET.
4916 (image-mode): Update message.
4917 (image-toggle-display-image): Avoid a spurious cache flush.
4918 (image-transform-rotation): Doc fix.
4919 (image-transform-properties): Return quickly in the normal case.
4920 (image-animate-loop): Rename from image-animate-max-time.
4921
4922 * image.el (image-animate-max-time): Move to image-mode.el.
4923 (create-animated-image): Remove unnecessary function.
4924 (image-animate): Rename from image-animate-start. New arg.
4925 (image-animate-stop): Remove; just use image-animate-timer.
4926 (image-animate-timer): Use car-safe.
4927 (image-animate-timeout): Rename argument.
4928
4929 2011-06-07 Martin Rudalics <rudalics@gmx.at>
4930
4931 * window.el (get-lru-window, get-largest-window): Move here from
4932 window.c. Rename first argument to ALL-FRAMES.
4933 Rephrase doc-strings.
4934 (get-buffer-window-list): Rewrite using window-list-1.
4935 Rephrase doc-string.
4936 (window-safe-min-height, window-safe-min-width): New constants.
4937 (window-size-ignore, window-min-size, window-min-size-1)
4938 (window-sizable, window-sizable-p, window-size-fixed-1)
4939 (window-size-fixed-p, window-min-delta-1, window-min-delta)
4940 (window-max-delta-1, window-max-delta, window-resizable)
4941 (window-resizable-p, window-total-height, window-total-width)
4942 (window-body-width): New functions.
4943 (window-full-height-p, window-full-width-p): Rewrite using
4944 window-total-size.
4945 (window-body-height): Rewrite using window-body-size.
4946
4947 2011-06-06 Martin Rudalics <rudalics@gmx.at>
4948
4949 * window.el (window-right, window-left, window-child)
4950 (window-child-count, window-last-child, window-any-p)
4951 (normalize-live-buffer, normalize-live-frame)
4952 (normalize-any-window, normalize-live-window)
4953 (window-iso-combination-p, window-iso-combined-p)
4954 (window-iso-combinations)
4955 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4956 (windows-with-parameter, window-with-parameter)
4957 (window-atom-root, make-window-atom, window-atom-check-1)
4958 (window-atom-check, window-side-check, window-check):
4959 New functions.
4960 (ignore-window-parameters, window-sides, window-sides-vertical)
4961 (window-sides-slots): New variables.
4962 (window-size-fixed): Move down in code. Minor doc-string fix.
4963
4964 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
4965
4966 * comint.el (comint-dynamic-complete-as-filename)
4967 (comint-dynamic-complete-filename): Correctly call
4968 completion-in-region.
4969
4970 2011-06-05 Deniz Dogan <deniz@dogan.se>
4971
4972 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4973 in last change.
4974
4975 2011-06-05 Deniz Dogan <deniz@dogan.se>
4976
4977 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4978 (rcirc): Use it to prompt for encryption.
4979
4980 2011-06-05 Roland Winkler <winkler@gnu.org>
4981
4982 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
4983 (bibtex-search-entries): New command bound to C-c C-a.
4984 (bibtex-display-entries): New function.
4985
4986 2011-06-05 Roland Winkler <winkler@gnu.org>
4987
4988 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
4989 (bibtex-insert-kill): After yanking insert newline if necessary.
4990 (bibtex-initialize): Call bibtex-string-files-init only once.
4991 (bibtex-mode): Do not call easy-menu-add.
4992 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
4993 (bibtex-yank): Set arg properly if nil.
4994
4995 2011-06-05 Roland Winkler <winkler@gnu.org>
4996
4997 * textmodes/bibtex.el (bibtex-search-entry-globally):
4998 New variable.
4999 (bibtex-search-entry): Use it.
5000
5001 2011-06-05 Roland Winkler <winkler@gnu.org>
5002
5003 * textmodes/bibtex.el (bibtex-entry-format): New option
5004 sort-fields.
5005 (bibtex-format-entry, bibtex-reformat): Honor this option.
5006 (bibtex-parse-entry): Return fields in proper order.
5007
5008 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
5009
5010 * doc-view.el (doc-view-remove-if): Move computation of result out
5011 of `dolist' to silence misleading lexical-binding warning.
5012
5013 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
5014
5015 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5016 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5017
5018 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
5019
5020 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5021 "SunOS 5.10".
5022
5023 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
5024
5025 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5026 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5027 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5028 (tramp-parse-putty):
5029 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5030 (tramp-completion-function-alist-ssh)
5031 (tramp-completion-function-alist-telnet)
5032 (tramp-completion-function-alist-su)
5033 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5034 cookie.
5035
5036 * net/tramp-ftp.el:
5037 * net/tramp-sh.el:
5038 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5039 load "tramp.el" `tramp-set-completion-function'.
5040
5041 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * shell.el: Require and use pcomplete.
5044 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5045 (shell-completion-vars): Set pcomplete-default-completion-function.
5046
5047 2011-06-04 Deniz Dogan <deniz@dogan.se>
5048
5049 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5050 `memq' (Bug#8799).
5051
5052 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5053
5054 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5055
5056 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
5057
5058 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5059 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5060 * vc/log-view.el (log-view-beginning-of-defun):
5061 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5062 (smerge-refine-forward, smerge-refine-chopup-region):
5063 Silence warning for unused `dotimes' counter variables.
5064
5065 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * net/tramp.el (tramp-with-progress-reporter): Rename from
5068 with-progress-reporter. Use `declare'.
5069 * net/tramp-smb.el:
5070 * net/tramp-sh.el:
5071 * net/tramp-gvfs.el: Update all uses.
5072
5073 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5074
5075 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5076 buffer isn't killed before making it current.
5077
5078 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 Silence various byte-compiler warnings.
5081 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5082 `access-type' and new obsolescence format.
5083 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5084 new format.
5085 (byte-compile-check-variable): New `access-type' argument.
5086 Only warn if the access-type is obsolete.
5087 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5088 (byte-compile-variable-set): Adjust callers.
5089 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5090 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5091 setting it as obsolete.
5092 * simple.el (minibuffer-completing-symbol):
5093 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5094 access as obsolete.
5095 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5096 obsolete yet.
5097 * international/quail.el (quail-mouse-choose-completion): Remove unused
5098 code referring to obsolete var.
5099 (quail-choose-completion-string): Remove.
5100 * server.el (server-clients-with, server-kill-buffer-query-function)
5101 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5102 * proced.el (proced-send-signal):
5103 * emacs-lisp/lisp.el (lisp-complete-symbol):
5104 Replace completion-annotate-function with completion-extra-properties.
5105
5106 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * simple.el (goto-line): Use read-number.
5109 (overriding-map-is-bound): Remove.
5110 (saved-overriding-map): Change default.
5111 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5112 Take the map as argument.
5113 (universal-argument, negative-argument, digit-argument): Use it.
5114 (restore-overriding-map): Adjust.
5115 (do-auto-fill): Use fill-forward-paragraph.
5116 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5117
5118 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5119 (minibuffer-inactive-mode): New major mode.
5120 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5121 the *Messages* buffer" hack.
5122 (mouse-popup-menubar): Don't burp if the event is a normal key.
5123
5124 Miscellaneous tweaks.
5125 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5126 lexical scoping as in subr.el's dolist and dotimes.
5127 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5128 Silence compiler warning.
5129 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5130 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5131 * international/ccl.el (ccl-compile): Trivial simplification.
5132 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5133 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5134 `printflag' argument.
5135 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5136 Purecopy the whole obsolescence data.
5137
5138 2011-06-01 Leo Liu <sdl.web@gmail.com>
5139
5140 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5141 improve doc-string as suggested by Marco Pessotto
5142 <melmothx@gmail.com>.
5143 (rcirc-print): Fix last change.
5144
5145 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * minibuffer.el (complete-with-action): Return nil for the metadata and
5148 boundaries of non-functional tables.
5149 (completion-table-dynamic): Return nil for the metadata.
5150 (completion-table-with-terminator): Add default case, using
5151 complete-with-action.
5152 (completion--metadata): New function.
5153 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5154 to try and avoid pathological performance problems.
5155 (completion--embedded-envvar-table): Return `category' metadata.
5156
5157 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5158
5159 * subr.el (process-alive-p): New tiny convenience function.
5160
5161 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5164 content but also its previous major mode.
5165
5166 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
5167
5168 * emacs-lisp/debug.el (debug): Restore the previous content of the
5169 *Backtrace* buffer when we exit with C-M-c.
5170
5171 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * minibuffer.el: Add metadata method to completion tables.
5174 (completion-category-overrides): New defcustom.
5175 (completion-metadata, completion--field-metadata)
5176 (completion-metadata-get, completion--styles)
5177 (completion--cycle-threshold): New functions.
5178 (completion-try-completion, completion-all-completions):
5179 Add `metadata' argument to choose completion-styles.
5180 (completion--do-completion): Use metadata to choose cycling.
5181 (completion-all-sorted-completions): Use metadata for sorting.
5182 Remove :completion-cycle-penalty which is not needed any more.
5183 (completion--try-word-completion): Add `metadata' argument.
5184 (minibuffer-completion-help): Check metadata for annotation function
5185 and sorting.
5186 (completion-file-name-table): Return `category' metadata.
5187 (minibuffer-completing-file-name): Make obsolete.
5188 * simple.el (minibuffer-completing-symbol): Make obsolete.
5189 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5190 completion-try-completion.
5191
5192 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5195
5196 2011-05-30 Leo Liu <sdl.web@gmail.com>
5197
5198 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5199 (rcirc-print): Decode all incoming messages (bug#8744).
5200 (rcirc-decode-coding-system): Allow value nil for automatic coding
5201 system detection.
5202
5203 2011-06-01 Glenn Morris <rgm@gnu.org>
5204
5205 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5206
5207 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
5208
5209 * image.el (image-animate-max-time): Allow nil and t values.
5210 Default to nil.
5211 (create-animated-image): Doc fix.
5212 (image-animate-start): Remove second arg; just use
5213 image-animate-max-time.
5214 (image-animate-timeout): Doc fix. Args changed.
5215
5216 * image-mode.el (image-toggle-display-image): Ensure that the
5217 image spec passed to the animate timer is the same object as in
5218 the the buffer's display property (Bug#6981).
5219 (image-transform-properties): Doc fix.
5220
5221 * image.el (image-animate-max-time): Default to nil.
5222
5223 2011-05-29 Martin Rudalics <rudalics@gmx.at>
5224
5225 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5226 entire buffer list (Bug#8184).
5227
5228 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
5229
5230 * image.el (imagemagick-types-inhibit)
5231 (imagemagick-register-types): Doc fix.
5232
5233 2011-05-29 Deniz Dogan <deniz@dogan.se>
5234
5235 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5236 default.
5237
5238 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
5239
5240 * select.el: Don't perform clipboard-manager saving in hooks;
5241 leave the hooks empty.
5242
5243 2011-05-28 Leo Liu <sdl.web@gmail.com>
5244
5245 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5246 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5247 (occur-edit-mode): New major mode (Bug#8463).
5248 (occur-after-change-function): New function.
5249 (occur-engine): Give Occur tags a read-only property.
5250
5251 2011-05-28 Kevin Ryde <user42@zip.com.au>
5252
5253 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5254
5255 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
5256
5257 * bindings.el (help-echo): Make the initial non-indicator dash
5258 empty on graphical terminals (Bug#7295).
5259
5260 * files.el (auto-mode-alist): Move config rule after the
5261 in-stripping one (Bug#8547).
5262
5263 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5264
5265 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5266 setting (Bug#8740).
5267
5268 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5269
5270 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5271 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5272 (Bug#8539).
5273
5274 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
5275
5276 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5277
5278 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5279
5280 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5281 (hs-hide-block-at-point, hs-find-block-beginning)
5282 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5283 (Bug#8279).
5284
5285 2011-05-28 Glenn Morris <rgm@gnu.org>
5286
5287 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5288
5289 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
5290
5291 * help-fns.el (describe-function-1): If the function is a derived
5292 major mode, print the parent mode.
5293
5294 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5295 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5296
5297 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5298
5299 * minibuffer.el (completion--capf-wrapper): Check applicability before
5300 retuning non-nil for non-exclusive completion data.
5301 * progmodes/etags.el (tags-completion-at-point-function):
5302 * info-look.el (info-lookup-completions-at-point): Mark as
5303 non-exclusive.
5304 (info-complete): Adjust accordingly.
5305
5306 * info-look.el: Convert to lexical-binding and completion-at-point.
5307 (info-lookup-completions-at-point): New function.
5308 (info-complete): Use it and completion-in-region.
5309
5310 2011-05-28 Drew Adams <drew.adams@oracle.com>
5311
5312 * isearch.el: Let M-e start with point at the first mismatched char.
5313 (isearch-fail-pos): New function.
5314 (isearch-edit-string): Use it.
5315
5316 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5317
5318 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5319
5320 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5321
5322 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5323 traversal functions for avl-trees.
5324 (avl-tree--stack): New struct.
5325 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5326 (avl-tree-enter): Add optional `updatefun' arg.
5327 (avl-tree--do-enter): Add optional `updatefun' arg.
5328 Change return value.
5329 (avl-tree-delete): Add optional `test' and `nilflag' args.
5330 (avl-tree--do-delete): Add `test' and `nilflag' args.
5331 Change return value.
5332 (avl-tree-member): Add optional `nilflag'
5333 (avl-tree-member-p): New function.
5334 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5335 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5336 (avl-tree-stack-empty-p): New functions.
5337
5338 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5339
5340 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5341 avl-tree--del-balance1 and make it work both ways.
5342 (avl-tree--del-balance2): Remove.
5343 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5344 make it work both ways.
5345 (avl-tree--enter-balance2): Remove.
5346 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5347 New macros.
5348 (avl-tree--mapc, avl-tree-map): Add direction argument.
5349
5350 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
5351
5352 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5353
5354 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
5355
5356 * select.el: Support clipboard managers with built-in function
5357 x-clipboard-manager-save, via delete-frame-functions and
5358 kill-emacs-hook.
5359 (xselect-convert-to-targets): Add MULTIPLE target to list.
5360 (xselect-convert-to-save-targets): New function.
5361
5362 2011-05-27 Kenichi Handa <handa@m17n.org>
5363
5364 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5365 let-binding rfc2047-encode-encoded-words to nil.
5366
5367 2011-05-27 Glenn Morris <rgm@gnu.org>
5368
5369 * mail/emacsbug.el: Don't require url-util.
5370
5371 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5372
5373 * files.el (set-auto-mode):
5374 Also respect mode: entries at the end of the file. (Bug#8586)
5375
5376 2011-05-26 Glenn Morris <rgm@gnu.org>
5377
5378 * files.el (hack-local-variables-prop-line, hack-local-variables):
5379 Downcase mode names, as seems to be traditional.
5380 (hack-local-variables, hack-local-variables-apply): Doc fixes.
5381
5382 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5383 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5384
5385 2011-05-25 Julien Danjou <julien@danjou.info>
5386
5387 * textmodes/rst.el (rst-define-level-faces): Do not define face
5388 symbol if it is already defined.
5389
5390 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5391
5392 * play/5x5.el (5x5-new-game, 5x5-randomize):
5393 Reset 5x5-solver-output to nil when a new grid is cast.
5394 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5395 these debugging traces, as defmacro breaks the compiled code.
5396
5397 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5398
5399 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5400
5401 2011-05-24 Leo Liu <sdl.web@gmail.com>
5402
5403 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5404 (vc-bzr-sha1): Adapt.
5405
5406 * sha1.el: Remove. Function `sha1' is now builtin.
5407
5408 * bindings.el: Provide sha1 feature.
5409
5410 2011-05-24 Kenichi Handa <handa@m17n.org>
5411
5412 * mail/sendmail.el: Require `rfc2047'.
5413 (mail-insert-from-field): Do not perform RFC2047 encoding.
5414 (mail-encode-header): New function.
5415 (sendmail-send-it): Set buffer-file-coding-system of the work
5416 buffer to the return value of select-message-coding-system.
5417 Call mail-encode-header.
5418
5419 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5420
5421 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
5422
5423 * mail/supercite.el (sc-default-cite-frame):
5424 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
5425
5426 2011-05-24 Glenn Morris <rgm@gnu.org>
5427
5428 * progmodes/python.el (brm-menu): Declare.
5429
5430 * emulation/viper.el (viper-set-hooks): Declare.
5431
5432 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5433 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5434 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5435 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5436 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5437 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5438
5439 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 Add an :exit-function for completion-at-point.
5442
5443 * minibuffer.el (completion--done): New fun.
5444 (completion--do-completion): Use it. New arg `expect-exact'.
5445 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5446 since completion--do-completion does it for us now.
5447 (minibuffer-force-complete): Use completion--done and
5448 completion--replace. Handle sole-completion case with more care.
5449 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5450 (completion-extra-properties): New var.
5451 (completion-annotate-function): Make obsolete.
5452 (minibuffer-completion-help): Adjust accordingly.
5453 Use completion-list-insert-choice-function.
5454 (completion-at-point, completion-help-at-point):
5455 Bind completion-extra-properties.
5456 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5457 * simple.el (completion-list-insert-choice-function): New var.
5458 (completion-setup-function): Preserve it.
5459 (choose-completion): Pay attention to it, shuffle the code a bit.
5460 (choose-completion-string): New arg `insert-function'.
5461
5462 * textmodes/bibtex.el: Convert to lexical binding.
5463 (bibtex-mode-map): Use completion-at-point.
5464 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5465 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5466 (bibtex-complete): Define as obsolete alias.
5467 (bibtex-complete-internal): Remove.
5468 (bibtex-format-entry): Remove unused sub-group in regexp.
5469 * shell.el (shell--command-completion-data)
5470 (shell-environment-variable-completion):
5471 * pcomplete.el (pcomplete-completions-at-point):
5472 * comint.el (comint--complete-file-name-data): Use :exit-function
5473 instead of completion-table-with-terminator so it also works for
5474 choose-completion.
5475
5476 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5479
5480 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5481 (bug#8710).
5482
5483 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5484
5485 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5486
5487 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5488 customization variable and implement: If non-nil, auto-fill will
5489 be inhibited while on topic's header line.
5490
5491 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5492
5493 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
5494 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
5495 always have a solution in grid size = 5 cases.
5496 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5497 (5x5-solver-output, 5x5-log-buffer): New vars.
5498 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5499 Make these variables buffer local to achieve 5x5 multi-session-ness.
5500 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5501 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5502 (5x5-solve-suggest): New funs.
5503 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5504 randomize a grid so that we ensure that there is always a solution.
5505 (5x5-make-random-grid): Allow other movement than flipping.
5506
5507 2011-05-23 Kevin Ryde <user42@zip.com.au>
5508
5509 * emacs-lisp/advice.el (ad-read-advised-function):
5510 Use `function-called-at-point' as the default default, if it has
5511 advice and passes PREDICATE.
5512
5513 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5514
5515 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5516 byte-compile-lambda if it's actually a lambda.
5517
5518 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5519 Fix function quoting. Use backquote better.
5520
5521 2011-05-22 Yuanle Song <sylecn@gmail.com>
5522
5523 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5524 matching (Bug#8516).
5525
5526 2011-01-22 Jari Aalto <jari.aalto@cante.net>
5527
5528 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5529 different face (Bug#8178).
5530
5531 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
5532
5533 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5534 defface (Bug#8144).
5535
5536 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5537
5538 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5539 funcall as well (bug#8712). Warn when performing those conversions.
5540 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5541
5542 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5543
5544 2011-05-22 Glenn Morris <rgm@gnu.org>
5545
5546 * files.el (hack-local-variables-prop-line): Small simplifications.
5547 (hack-local-variables, hack-local-variables-prop-line):
5548 If MODE-ONLY, return the mode, rather than just `t'.
5549
5550 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5553
5554 2011-05-21 Glenn Morris <rgm@gnu.org>
5555
5556 * files.el (hack-local-variables-prop-line, hack-local-variables):
5557 If only interested in the mode, don't bother doing the other stuff.
5558
5559 * image-mode.el (image-after-revert-hook):
5560 Redraw all frames on which the image is visible. (Bug#8567)
5561
5562 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5563
5564 * wid-edit.el (widget-checklist-match-inline):
5565 Fix 2011-04-19 change. (Bug#8649)
5566
5567 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5570 Also allow singlespace after single-letter capitals followed by a dot.
5571
5572 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5573 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5574
5575 2011-05-20 Nix <nix@esperi.org.uk>
5576
5577 * files.el (basic-save-buffer-2):
5578 Fix handling of break-hardlink-on-save with non-existent files.
5579
5580 2011-05-19 Deniz Dogan <deniz@dogan.se>
5581
5582 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
5583 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
5584
5585 2011-05-19 Glenn Morris <rgm@gnu.org>
5586
5587 * progmodes/f90.el (f90-type-def-re):
5588 Handle "type, bind(c)". (Bug#8691)
5589
5590 * emacs-lisp/autoload.el (batch-update-autoloads):
5591 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5592
5593 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
5594
5595 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5596 property for the correct connection in case of multihops.
5597
5598 2011-05-18 Glenn Morris <rgm@gnu.org>
5599
5600 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
5601 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5602
5603 Rationalize calendar handling of day and month abbrev-arrays.
5604 * calendar/calendar.el (calendar-customized-p): New function.
5605 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5606 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5607 Add :set function.
5608 (calendar-abbrev-length, calendar-day-abbrev-array)
5609 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5610 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5611 Elements may no longer be nil.
5612 (calendar-day-name, calendar-month-name):
5613 Update for changed nature of abbrev arrays.
5614 * calendar/diary-lib.el (diary-name-pattern):
5615 Update for changed nature of abbrev arrays.
5616 (diary-mark-entries-1): Update calendar-make-alist calls.
5617 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5618 * calendar/cal-html.el (cal-html-day-abbrev-array):
5619 Simply inherit from calendar-day-abbrev-array.
5620
5621 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * progmodes/grep.el (grep-mode): Disable default
5624 compilation-directory-matcher setting (bug#8684).
5625
5626 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
5627
5628 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5629 instead of "head" and "tail". There were problems with SunOS 5.9,
5630 and it performs better.
5631
5632 2011-05-17 Glenn Morris <rgm@gnu.org>
5633
5634 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5635
5636 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5637 Replace obsolete function.
5638
5639 * shell.el (pcomplete-parse-arguments-function): Declare.
5640
5641 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5642 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5643 (appt-check): Doc fixes.
5644 (appt-disp-window-function, appt-delete-window-function):
5645 Remove needless special case in custom :type.
5646 (appt-display-count): Default to 0, not nil.
5647 (appt-check): Reset appt-display-count to 0, not nil.
5648
5649 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
5650
5651 * progmodes/python.el (python-font-lock-keywords):
5652 Add the Python 3.X keyword "nonlocal" (bug#8639).
5653
5654 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5657
5658 2011-05-16 Kevin Ryde <user42@zip.com.au>
5659
5660 * info-look.el (makefile-automake-mode): New setups, looking in
5661 automake manual, then makefile-mode.
5662 (makefile-mode): Remove automake manual, have it just in
5663 makefile-automake-mode since there's various things different or
5664 not relevant to plain make.
5665 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5666 believe a hypothetical automake-mode would go to makefile-mode,
5667 not the other way around.
5668
5669 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
5670
5671 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5672 hunk-end tags (Bug#8672).
5673
5674 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5675 vc-annotate-show-diff-revision-at-line (Bug#8671).
5676
5677 2011-05-14 Glenn Morris <rgm@gnu.org>
5678
5679 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5680 in the middle of an existing one with multiple authors. (Bug#8645)
5681 (change-log-font-lock-keywords): Also handle multiple author lines
5682 with leading tabs. (Bug#8644)
5683
5684 * calendar/appt.el (appt-check): Rename some local variables.
5685 Some simplification/reordering.
5686
5687 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5688 (feedmail-sendmail-f-doesnt-sell-me-out)
5689 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5690 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5691 (feedmail-queue-runner-message-sender): Set :version.
5692 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5693 (bbdb-dwim-net-address, vm-mail): Declare.
5694 (feedmail-binmail-gnulinuxish-template):
5695 Rename from feedmail-binmail-linuxish-template.
5696 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5697 Use insert-buffer-substring.
5698
5699 2011-05-14 Bill Carpenter <bill@carpenter.org>
5700
5701 * mail/feedmail.el (feedmail-patch-level): Increase.
5702 (feedmail-debug): New custom group.
5703 (feedmail-confirm-outgoing-timeout)
5704 (feedmail-sendmail-f-doesnt-sell-me-out)
5705 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5706 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5707 (feedmail-sender-line, feedmail-from-line)
5708 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
5709 (feedmail-spray-this-address)
5710 (feedmail-spray-address-fiddle-plex-list)
5711 (feedmail-queue-use-send-time-for-date)
5712 (feedmail-queue-use-send-time-for-message-id)
5713 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5714 (feedmail-buffer-eating-function):
5715 Doc fixes.
5716 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5717 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5718 (feedmail-message-action-scroll-down): New functions.
5719 (feedmail-queue-directory, feedmail-queue-draft-directory):
5720 Use expand-file-name.
5721 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5722 Remove C-v help entry.
5723 (feedmail-queue-buffer-file-name): New variable.
5724 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5725 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5726 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5727 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5728 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5729 (feedmail-message-action-toggle-spray)
5730 (feedmail-run-the-queue-no-prompts)
5731 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5732 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5733 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5734 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5735 (feedmail-envelope-deducer, feedmail-fiddle-from)
5736 (feedmail-fiddle-sender, feedmail-default-date-generator)
5737 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5738 (feedmail-fiddle-spray-address)
5739 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5740 (feedmail-fiddle-list-of-fiddle-plexes)
5741 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5742 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5743 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5744 Change default. Doc fix.
5745 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5746 (feedmail-binmail-linuxish-template): New constant.
5747 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5748 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5749 (feedmail-send-it): Add debug call.
5750 Use feedmail-queue-buffer-file-name, and
5751 feedmail-send-it-immediately-wrapper.
5752 (feedmail-message-action-send): Add debug call.
5753 Use feedmail-send-it-immediately-wrapper.
5754 (feedmail-queue-express-to-queue): Add debug call.
5755 Run feedmail-queue-express-hook.
5756 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5757 (feedmail-message-action-help-blat):
5758 Rename from feedmail-queue-send-edit-prompt-help-first.
5759 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5760 Check line-endings. Handle errors better.
5761 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5762 Doc fix. Add debug call.
5763 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5764 Use feedmail-queue-send-edit-prompt-inner.
5765 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5766 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5767 from feedmail-queue-send-edit-prompt.
5768 (feedmail-queue-send-edit-prompt-help)
5769 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5770 (feedmail-tidy-up-slug): Add debug call.
5771 Respect feedmail-queue-slug-suspect-regexp.
5772 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5773 (feedmail-dump-message-to-queue): Add debug call.
5774 Expand queue-directory.
5775 (feedmail-dump-message-to-queue): Change message slightly.
5776 Use feedmail-say-chatter.
5777 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5778 (feedmail-send-it-immediately-wrapper): New function.
5779 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5780 Insert empty string rather than newline. Handle full-frame case.
5781 Use catch/throw. Use feedmail-say-chatter.
5782 (feedmail-fiddle-from): Try mail-host-address.
5783 (feedmail-default-message-id-generator): Doc fix.
5784 Bind system-time-locale. Handle missing end.
5785 (feedmail-fiddle-x-mailer): Add debug call.
5786 Handle feedmail-x-mailer-line being nil.
5787 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5788 Add debug call. Use buffer-substring-no-properties.
5789 (feedmail-say-debug, feedmail-say-chatter): New functions.
5790 (feedmail-find-eoh): Give an explicit error.
5791
5792 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
5793
5794 * net/newst-treeview.el (newsticker-treeview-face): Change default
5795 family from helvetica to sans.
5796 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
5797 etc/images/newsticker.
5798
5799 * net/newst-reader.el (newsticker-feed-face): Change default
5800 family from helvetica to sans.
5801
5802 * net/newst-plainview.el (newsticker-new-item-face)
5803 (newsticker-old-item-face, newsticker-immortal-item-face)
5804 (newsticker-obsolete-item-face, newsticker-date-face)
5805 (newsticker-statistics-face): Change default family from
5806 helvetica to sans.
5807 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
5808 etc/images/newsticker.
5809
5810 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5811 (newsticker--process-auto-mark-filter-match): : Tell user about
5812 auto-marking.
5813
5814 2011-05-13 Didier Verna <didier@xemacs.org>
5815
5816 Common Lisp indentation improvements on defmethod and lambda-lists.
5817 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5818 TODO entries.
5819 (lisp-lambda-list-keyword-parameter-indentation)
5820 (lisp-lambda-list-keyword-parameter-alignment)
5821 (lisp-lambda-list-keyword-alignment): New customizable user options.
5822 (lisp-indent-defun-method): Improve docstring.
5823 (extended-loop-p): Fix comment.
5824 (lisp-indent-lambda-list-keywords-regexp): New variable.
5825 (lisp-indent-lambda-list): New function.
5826 (lisp-indent-259): Use it.
5827 (lisp-indent-defmethod): Support for more than one
5828 method qualifier and properly indent methods lambda-lists.
5829 (defgeneric): Provide a missing common-lisp-indent-function property.
5830
5831 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5834 bounds for the empty string (bug#8667).
5835
5836 2011-05-13 Glenn Morris <rgm@gnu.org>
5837
5838 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5839
5840 * mail/sendmail.el (sendmail-program): Try executable-find first.
5841 (sendmail-send-it): `sendmail-program' cannot be unbound.
5842
5843 * calendar/appt.el (appt-make-list): Simplify.
5844 (appt-time-msg-list): Doc fix.
5845 (appt-check): Change mode-line message at the time of the appointment.
5846
5847 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5848
5849 * progmodes/ld-script.el (ld-script-keywords)
5850 (ld-script-builtins): Update keywords list.
5851
5852 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5853
5854 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5855
5856 * shell.el (shell-completion-vars): New function.
5857 (shell-mode):
5858 * simple.el (read-shell-command): Use it.
5859 (blink-matching-open): No need for " [...]" in minibuffer-message.
5860
5861 2011-05-12 Glenn Morris <rgm@gnu.org>
5862
5863 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5864 (appt-check): Simplify.
5865
5866 2011-05-12 Eli Zaretskii <eliz@gnu.org>
5867
5868 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
5869 literal "/dev/null".
5870
5871 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5872
5873 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5874 Fix typo.
5875
5876 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
5877
5878 * progmodes/which-func.el (which-function):
5879 Use add-log-current-defun instead of add-log-current-defun-function,
5880 which might not be defined (Bug#8260).
5881
5882 2011-05-12 Glenn Morris <rgm@gnu.org>
5883
5884 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5885 Let byte-compile-initial-macro-environment always take precedence.
5886
5887 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * net/rcirc.el: Add support for SSL/TLS connections.
5890 (rcirc-server-alist): New field `encryption'.
5891 (rcirc): Check `encryption' settings.
5892 (rcirc-connect): New arg `encryption'. Use open-network-stream.
5893 Merge make-local-variable into `set'.
5894 (rcirc--connection-open-p): New function.
5895 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5896 the process is not a network process (e.g. running gnutls-cli).
5897 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5898 Make rcirc-(en|de)code-coding-system local here.
5899 (rcirc-mode): Merge make-local-variable into `set'.
5900 (rcirc-parent-buffer): Make permanent buffer-local.
5901 (rcirc-multiline-minor-mode): Don't do it here.
5902 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5903 there's no server buffer.
5904
5905 2011-05-11 Glenn Morris <rgm@gnu.org>
5906
5907 * newcomment.el (comment-kill): Prefix "unused" local.
5908
5909 * term/w32console.el (get-screen-color): Declare.
5910
5911 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5912 Handle symbol elements of byte-compile-initial-macro-environment.
5913
5914 2011-05-10 Leo Liu <sdl.web@gmail.com>
5915
5916 * bookmark.el (bookmark-bmenu-mode-map):
5917 Bind bookmark-bmenu-search to `/'.
5918
5919 * mail/footnote.el: Convert to utf-8 encoding.
5920 (footnote-unicode-string, footnote-unicode-regexp): New variable.
5921 (Footnote-unicode): New function.
5922 (footnote-style-alist): Add unicode style to the list.
5923 (footnote-style): Doc fix.
5924
5925 2011-05-10 Jim Meyering <meyering@redhat.com>
5926
5927 Fix doubled-word typos.
5928 * international/quail.el (quail-insert-kbd-layout): and and -> and
5929 * kermit.el: and and -> and
5930 * net/ldap.el (ldap-search-internal): to to -> to
5931 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5932 * progmodes/js.el (js-mode): and and -> and
5933 * textmodes/artist.el (artist-move-to-xy): at at -> at
5934 (artist-draw-region-trim-line-endings): if if -> if
5935 And Safetyc -> Safety.
5936 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5937
5938 2011-05-10 Glenn Morris <rgm@gnu.org>
5939 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * files.el (hack-one-local-variable-eval-safep):
5942 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
5943
5944 2011-05-10 Glenn Morris <rgm@gnu.org>
5945
5946 * calendar/diary-lib.el (diary-list-entries-hook)
5947 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5948 (diary-nongregorian-marking-hook, diary-list-entries)
5949 (diary-include-other-diary-files, diary-mark-entries)
5950 (diary-mark-included-diary-files): Doc fixes.
5951
5952 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
5953
5954 * misc.el: Require tabulated-list.el during compilation.
5955
5956 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
5957
5958 * progmodes/compile.el (compilation-start):
5959 Run compilation-filter-hook for the async case too.
5960 (compilation-filter-hook): Doc fix.
5961
5962 2011-05-09 Deniz Dogan <deniz@dogan.se>
5963
5964 * wdired.el: Remove outdated installation comment. Fix usage
5965 comment.
5966
5967 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
5968
5969 * misc.el: Implement new command `list-dynamic-libraries'.
5970 (list-dynamic-libraries--loaded-only-p): New variable.
5971 (list-dynamic-libraries--refresh): New function.
5972 (list-dynamic-libraries): New command.
5973
5974 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
5975
5976 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5977 Fix the ant regexp to handle end-line and end-column info from jikes.
5978 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
5979 higher priority to avoid clobbering by gnu.
5980
5981 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
5982
5983 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
5984 if the face has existing theme settings (Bug#8454).
5985
5986 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
5987
5988 * progmodes/perl-mode.el (perl-imenu-generic-expression):
5989 Only match variables declared via `my' or `our' (Bug#8261).
5990
5991 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
5992 special file names `.' and `..' (Bug#8259).
5993
5994 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
5995
5996 * progmodes/grep.el (grep-mode-font-lock-keywords):
5997 Remove buffer-changing entries.
5998 (grep-filter): New function.
5999 (grep-mode): Add it to compilation-filter-hook.
6000
6001 * progmodes/compile.el (compilation-filter-hook)
6002 (compilation-filter-start): New defvars.
6003 (compilation-filter): Call compilation-filter-hook prior to
6004 updating the process mark.
6005
6006 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6009
6010 2011-05-07 Eli Zaretskii <eliz@gnu.org>
6011
6012 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6013 mailclient-send-it even if window-system is nil. (Bug#8595)
6014
6015 * term/w32console.el (terminal-init-w32console):
6016 Call get-screen-color and use its output to set the frame
6017 background-mode. (Bug#8597)
6018
6019 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6022 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6023 New functions.
6024 (defgeneric, eieio--defmethod): Use them.
6025 (eieio-defgeneric): Remove.
6026 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6027
6028 2011-05-07 Glenn Morris <rgm@gnu.org>
6029
6030 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6031 Use let rather than let*.
6032 (timeclock-find-discrep): Remove unused local.
6033
6034 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6035
6036 * calendar/appt.el (appt-time-msg-list): Doc fix.
6037
6038 2011-05-06 Noah Friedman <friedman@splode.com>
6039
6040 * apropos.el (apropos-print-doc): Only use
6041 emacs-lisp-docstring-fill-column when it is bound to an integer,
6042 per that variable's documentation.
6043
6044 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
6047 and warnings are not silently discarded (e.g. use -d instead of -P).
6048
6049 2011-05-06 Glenn Morris <rgm@gnu.org>
6050
6051 * calendar/appt.el (appt-message-warning-time): Doc fix.
6052 (appt-warning-time-regexp): New option.
6053 (appt-make-list): Respect appt-message-warning-time.
6054
6055 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6056 New options.
6057 (diary-add-to-list): Strip comments from the displayed string.
6058 (diary-mode): Set comment-start and comment-end.
6059
6060 * vc/diff-mode.el (smerge-refine-subst): Declare.
6061 (diff-refine-hunk): Don't require smerge-mode when compiling.
6062
6063 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * simple.el (list-processes): Return nil as the docstring says.
6066
6067 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
6068
6069 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6070 to "".
6071 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6072 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6073 determining of binary transfer. (Bug#7383)
6074
6075 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
6076
6077 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6078 Fix port computation bug. (Bug#8618)
6079
6080 2011-05-05 Glenn Morris <rgm@gnu.org>
6081
6082 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6083
6084 * simple.el (shell-dynamic-complete-functions)
6085 (comint-dynamic-complete-functions): Declare.
6086
6087 * net/network-stream.el (gnutls-negotiate):
6088 * simple.el (tabulated-list-print): Fix declarations.
6089
6090 * progmodes/gud.el (syntax-symbol, syntax-point):
6091 Remove unnecessary and incorrect declarations.
6092
6093 * emacs-lisp/check-declare.el (check-declare-scan):
6094 Handle byte-compile-initial-macro-environment in bytecomp.el
6095
6096 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 Fix earlier half-done eieio-defmethod change (bug#8338).
6099 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6100 Streamline and change calling convention.
6101 (defmethod): Adjust accordingly and simplify.
6102 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6103 new eieio--defmethod.
6104 (slot-boundp): Minor CSE simplification.
6105
6106 2011-05-05 Milan Zamazal <pdm@zamazal.org>
6107
6108 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6109 (glasses-make-readable): Use glasses-separate-capital-groups.
6110
6111 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
6112
6113 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6114 (warning-series): Doc fix.
6115 (display-warning): Don't try to create the buffer if we just found it.
6116
6117 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
6118
6119 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6120 (autoload-find-generated-file): New function.
6121 (generate-file-autoloads): Bind generated-autoload-file to
6122 buffer-file-name.
6123 (update-file-autoloads, update-directory-autoloads):
6124 Use autoload-find-generated-file. If called interactively, prompt for
6125 output file (Bug#7989).
6126 (batch-update-autoloads): Doc fix.
6127
6128 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
6129
6130 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6131
6132 2011-05-04 Glenn Morris <rgm@gnu.org>
6133
6134 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6135 function, so it follows changes in calendar-date-style.
6136 (diary-fancy-date-matcher): New function.
6137 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6138 (diary-fancy-font-lock-fontify-region-function):
6139 Use diary-fancy-date-pattern as a function.
6140
6141 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6142 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6143
6144 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6145
6146 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6147 instead of positional arguments. Allow :keylist and :crlfiles
6148 arguments.
6149 (open-gnutls-stream): Call it.
6150
6151 * net/network-stream.el (network-stream-open-starttls): Adjust to
6152 call `gnutls-negotiate' with :process and :hostname arguments.
6153
6154 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * minibuffer.el (completion--message): New function.
6157 (completion--do-completion, minibuffer-complete)
6158 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6159 (completion--do-completion): Don't ignore completion-auto-help when in
6160 icomplete-mode.
6161
6162 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6163 internal encoding (e.g. tibetan zero is not whitespace).
6164 (global-whitespace-mode): Prefer save-current-buffer.
6165 (whitespace-trailing-regexp): Remove useless save-match-data.
6166 (whitespace-empty-at-bob-regexp): Minor simplification.
6167
6168 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
6169
6170 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6171
6172 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6173
6174 * textmodes/ispell.el (ispell-add-per-file-word-list):
6175 Use `concat' to create string for insertion.
6176
6177 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6180 Avoid open-line which runs post-self-insert-hook.
6181 (bibtex-fill-entry): Remove unused `end' var.
6182
6183 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6184
6185 * textmodes/ispell.el (ispell-add-per-file-word-list):
6186 Protect against `nil' value of `comment-start' (Bug#8579).
6187
6188 2011-05-03 Leo Liu <sdl.web@gmail.com>
6189
6190 * isearch.el (isearch-yank-pop): New command.
6191 (isearch-mode-map): Bind it to `M-y'.
6192 (isearch-forward): Mention it.
6193
6194 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * simple.el (minibuffer-complete-shell-command): Remove.
6197 (minibuffer-local-shell-command-map): Use completion-at-point.
6198 (read-shell-command): Setup completion vars here instead.
6199 (read-expression-map): Bind TAB to symbol completion.
6200
6201 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6202 error directly rather via storing it into `results'.
6203
6204 2011-05-02 Leo Liu <sdl.web@gmail.com>
6205
6206 * vc/diff.el: Fix description.
6207
6208 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6209
6210 * server.el (server-eval-at): New function.
6211
6212 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6213
6214 * net/network-stream.el (open-network-stream): Take a :nowait
6215 parameter and pass it on to `make-network-process'.
6216 (network-stream-open-plain): Ditto.
6217
6218 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6219
6220 * faces.el (face-spec-set-match-display): Don't match toolkit
6221 options on terminal frames.
6222
6223 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * progmodes/pascal.el: Use lexical binding.
6226 (pascal-mode-map): Remove author preferences.
6227
6228 * pcomplete.el (pcomplete-std-complete): Don't abuse
6229 completion-at-point.
6230
6231 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
6232
6233 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6234 removing code that has been dead since 1991 or so.
6235
6236 * startup.el (command-line): When warning about "_emacs", use a
6237 delayed warning to allow the user to filter it out.
6238
6239 2011-04-28 Deniz Dogan <deniz@dogan.se>
6240
6241 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6242 user has not joined.
6243
6244 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6247 aren't any completions at point.
6248
6249 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
6250
6251 * subr.el (display-delayed-warnings): New function.
6252 (delayed-warnings-hook): New variable.
6253
6254 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * minibuffer.el (completion-at-point, completion-help-at-point):
6257 Don't presume that a given completion-at-point-function will always
6258 use the same calling convention.
6259
6260 * pcomplete.el (pcomplete-completions-at-point):
6261 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6262 pcomplete-seen is non-nil.
6263 (pcomplete-comint-setup): Also recognize the new comint/shell
6264 completion functions.
6265 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6266 pcomplete-seen is non-nil.
6267
6268 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
6269
6270 * calendar/icalendar.el (diary-lib): Add require statement.
6271 (icalendar--create-uid): Read out a uid from a text-property on
6272 the first character in the entry. This allows for code to add its
6273 own uid to the entry.
6274 (icalendar--convert-float-to-ical): Add export of
6275 `diary-float'-entries save for those with the optional DAY
6276 argument.
6277
6278 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6279
6280 * subr.el (shell-quote-argument): Use alternate escaping strategy
6281 when we spot a variable reference in a string.
6282
6283 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6284
6285 * cus-start.el (all): Define customization for debug-on-event.
6286
6287 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6288
6289 * subr.el (shell-quote-argument): Escape correctly under Windows.
6290
6291 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6294
6295 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
6296
6297 * net/tramp.el (tramp-process-actions): Add POS argument.
6298 Delete region between POS and (pos).
6299
6300 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6301 Use `nil' position in `tramp-process-actions' call.
6302 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6303
6304 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6305 position in `tramp-process-actions' call.
6306
6307 * net/trampver.el: Update release number.
6308
6309 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * custom.el (defcustom): Obey lexical-binding.
6312
6313 Fix octave-inf completion problems reported by Alexander Klimov.
6314 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6315 Inherit from octave-mode-syntax-table.
6316 (inferior-octave-mode): Set info-lookup-mode.
6317 (inferior-octave-completion-at-point): New function.
6318 (inferior-octave-complete): Use it and completion-in-region.
6319 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6320 comint-filename-completion.
6321 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6322 symbol elements which shouldn't be word elements.
6323 (octave-font-lock-keywords, octave-beginning-of-defun)
6324 (octave-function-header-regexp): Adjust regexps accordingly.
6325 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6326
6327 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
6328
6329 * net/gnutls.el (gnutls-errorp): Declare before first use.
6330
6331 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6332
6333 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6334 verify-error, and verify-hostname-error parameters. Check whether
6335 default trustfile exists before going to use it. Add missing
6336 argument to gnutls-message-maybe call. Return return value.
6337 Reported by Claudio Bley <claudio.bley@gmail.com>.
6338 (open-gnutls-stream): Add usage example.
6339
6340 * net/network-stream.el (network-stream-open-starttls): Give host
6341 parameter to `gnutls-negotiate'.
6342 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
6343 * subr.el (shell-quote-argument): Escape correctly under Windows.
6344
6345 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
6346
6347 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6348 Use correct match group (bug#8438).
6349
6350 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
6351
6352 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6353 (package-menu--generate): New arg specifying packages to show.
6354 (package-menu-refresh, package-menu-execute, list-packages):
6355 Callers changed.
6356 (package-show-package-list): New function, replacing deleted
6357 package--list-packages (renamed because it is non-internal).
6358
6359 * finder.el (finder-list-matches): Use package-show-package-list
6360 instead of deleted package--list-packages.
6361
6362 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6363 Based on a previous implementation by Juanma Barranquero (Bug#8366).
6364 (vc-annotate-mode-map): Bind it to RET.
6365
6366 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6367
6368 * progmodes/etags.el (next-file): Don't use set-buffer to change
6369 buffers (Bug#8478).
6370
6371 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
6372
6373 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6374
6375 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6376 (apropos-accumulator): Doc fix.
6377 (apropos-function, apropos-macro, apropos-command)
6378 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6379 (apropos-plist): Add face property.
6380 (apropos-symbols-internal): Fix indentation.
6381 (apropos-print): Simplify help, and recognize apropos-multi-type.
6382 (apropos-print-doc): Use button-type-get to extract the button's
6383 face property. Fill docstring (Bug#8352).
6384
6385 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
6386
6387 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6388
6389 * play/mpuz.el (mpuz-silent): Doc fix.
6390 (mpuz-mode-map): Use mapc.
6391 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6392 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6393 Fix typos in docstrings.
6394
6395 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6396 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6397
6398 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6399
6400 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
6401
6402 * minibuffer.el (completion--do-completion): Avoid the "Next char
6403 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6404
6405 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6406 mouse-2 into unread-command-events, it is interpreted correctly.
6407
6408 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6409 (image-toggle-display): Doc fix.
6410
6411 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
6412
6413 * textmodes/page.el (what-page): Use line-number-at-pos to
6414 calculate line number (Bug#6825).
6415
6416 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6419 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6420 Pass argument NO-DEFAULT to `find-tag-interactive'.
6421
6422 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
6423
6424 Lexical-binding cleanup.
6425
6426 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6427 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6428 * progmodes/ada-prj.el (ada-prj-initialize-values)
6429 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6430 (ada-prj-show-value):
6431 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6432 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6433 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6434 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6435 * progmodes/bug-reference.el (bug-reference-push-button):
6436 * progmodes/fortran.el (fortran-line-length):
6437 * progmodes/glasses.el (glasses-change):
6438 * progmodes/octave-mod.el (octave-fill-paragraph):
6439 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6440 (python-pdbtrack-grub-for-buffer, python-sentinel):
6441 * progmodes/sql.el (sql-save-connection):
6442 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6443 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6444 Mark unused parameters.
6445
6446 * progmodes/compile.el (compilation--flush-directory-cache)
6447 (compilation--flush-parse, compile-internal): Mark unused parameters.
6448 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6449 (compilation-next-error-function): Remove unused variable `timestamp'.
6450
6451 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6452 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6453
6454 * progmodes/dcl-mode.el (dcl-end-of-command):
6455 Remove unused variable `start'.
6456 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6457 (dcl-option-value-basic, dcl-option-value-offset)
6458 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6459 Mark unused parameters.
6460 (dcl-save-local-variable): Remove unused variable `val'.
6461 (mode): Declare.
6462
6463 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6464 Mark unused parameters.
6465 (delphi-ignore-changes): Move before first use.
6466 (delphi-charset-token-at): Remove unused variable `start'.
6467 (delphi-else-start): Remove unused variable `if-count'.
6468 (delphi-comment-block-start, delphi-comment-block-end):
6469 Remove unused variable `kind'.
6470 (delphi-indent-line): Remove unused variable `new-point'.
6471
6472 * progmodes/ebrowse.el (ebrowse-files-list)
6473 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6474 Mark unused parameters. Don't quote `lambda'.
6475 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6476 Don't quote `lambda'.
6477 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6478 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6479 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6480 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6481 Use `ignore-errors'.
6482 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6483 (ebrowse-view/find-file-and-search-pattern)
6484 (ebrowse-view/find-member-declaration/definition):
6485 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6486 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6487 Rename parameter PREFIX-ARG to PREFIX.
6488 (ebrowse-tags-read-name): Remove unused variables `start' and
6489 `member-info'.
6490 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6491 to `tags-file'.
6492
6493 * progmodes/etags.el (local-find-tag-hook): Declare.
6494 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6495 Mark unused parameters.
6496
6497 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6498 (executable-interpret): Mark unused parameter.
6499
6500 * progmodes/flymake.el (flymake-process-sentinel)
6501 (flymake-after-change-function)
6502 (flymake-create-temp-with-folder-structure)
6503 (flymake-get-include-dirs-dot): Mark unused parameters.
6504 (flymake-safe-delete-directory): Remove unused variable `err'.
6505
6506 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6507 (speedbar-timer-fn, speedbar-line-text)
6508 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6509 (speedbar-center-buffer-smartly): Declare functions.
6510 (gdb-find-watch-expression): Remove unused variable `array'.
6511 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6512 (gdb-starting): Mark unused parameters.
6513 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6514 (gdb-table-string): Remove unused variable `res'.
6515 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6516 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6517 (gdb-display-buffer): Remove unused variable `cur-size'.
6518
6519 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6520 allow lexical-binding compilation.
6521 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6522 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6523 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6524 Mark unused parameters.
6525 (gud-gdb-marker-filter): Remove unused variable `match'.
6526 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6527 lambda expressions and funcall them, instead of using `fset'.
6528
6529 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6530 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6531
6532 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6533 variable `header-beg'; use `let'.
6534
6535 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6536 `restart', `last-sexp' and `at-do'.
6537
6538 * progmodes/js.el (js--debug): Mark unused parameter.
6539 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6540 (js--splice-into-items): Remove unused variable `item'.
6541 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6542
6543 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6544 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6545 (makefile-complete): Remove unused variable `try'.
6546 (makefile-fill-paragraph, makefile-match-function-end):
6547 Mark unused parameters.
6548
6549 * progmodes/octave-inf.el (inferior-octave-complete):
6550 Remove unused variable `proc'.
6551 (inferior-octave-output-digest): Mark unused parameter.
6552
6553 * progmodes/perl-mode.el (perl-calculate-indent):
6554 Remove unused variable `err'.
6555
6556 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6557 (prolog-indent-line): Mark unused parameters.
6558 (prolog-indent-line): Remove unused variable `beg'.
6559
6560 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6561 (reporter-dont-compact-list): Declare.
6562
6563 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6564 Remove unused variable `char'.
6565 (sh-debug): Mark unused parameter.
6566 (sh-get-indent-info): Remove unused variable `start'.
6567 (sh-calculate-indent): Remove unused variable `var'.
6568
6569 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6570 (simula-electric-keyword): Remove unused variable `null'.
6571 (simula-search-backward, simula-search-forward): Remove unused
6572 variables `begin' and `end'.
6573
6574 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6575 Remove unused variable `pos'.
6576 (vera-electric-tab, vera-comment-uncomment-region):
6577 Mark unused parameters.
6578 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6579
6580 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
6581
6582 * emacs-lisp/package.el (package--builtins, package-alist)
6583 (package-load-descriptor, package-built-in-p, package-activate)
6584 (define-package, package-installed-p)
6585 (package-compute-transaction, package-buffer-info)
6586 (package--push): Doc fix. Distinguish more clearly between
6587 version strings and version lists.
6588
6589 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
6590
6591 Lexical-binding cleanup.
6592
6593 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6594 (5x5-make-mutate-best):
6595 * play/fortune.el (fortune-in-buffer):
6596 * play/gomoku.el (gomoku-init-display):
6597 * play/solitaire.el (solitaire, solitaire-do-check):
6598 * play/tetris.el (tetris-default-update-speed-function):
6599 Mark unused parameters.
6600
6601 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6602 (bubbles--shift): Remove unused variable `char-org'.
6603 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6604 (bubbles--show-images): Remove unused variable `char'.
6605
6606 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6607 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6608 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6609 (decipher-analyze-buffer): Use ?\s.
6610 (decipher-make-checkpoint): Remove unused variable `mapping'.
6611
6612 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6613
6614 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6615 Remove unused variable `result'; use `let'.
6616
6617 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6618 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6619 (gametree-children-shown-p, gametree-compute-reduced-score):
6620 Use `ignore-errors'.
6621
6622 * play/handwrite.el (ps-lpr-switches): Declare.
6623 (handwrite): Remove unused variables `pmin' and `lastp'.
6624
6625 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6626
6627 * play/landmark.el (landmark-init-display)
6628 (landmark-update-naught-weights): Mark unused parameters.
6629 (landmark-y): Remove unused variable `noise'. Simplify.
6630 (landmark-human-plays): Remove unused variable `score'.
6631
6632 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6633 (mpuz-try-proposal): Remove unused variable `game'.
6634
6635 * play/zone.el (life-patterns): Declare.
6636
6637 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
6638
6639 * vc/vc.el (ediff-vc-internal): Declare function.
6640
6641 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * shell.el: Use lexical-binding and std completion UI.
6644 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6645 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6646 comint-preoutput-filter-functions rather than on
6647 comint-output-filter-functions.
6648 (shell-command-completion, shell--command-completion-data)
6649 (shell-filename-completion, shell-environment-variable-completion)
6650 (shell-c-a-p-replace-by-expanded-directory): New functions.
6651 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6652 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6653 (shell-dynamic-complete-environment-variable): Use them.
6654 (shell-dynamic-complete-as-environment-variable)
6655 (shell-dynamic-complete-as-command): Remove.
6656 (shell-match-partial-variable): Match past point.
6657 * comint.el: Clean up use of completion-at-point-functions.
6658 (comint-completion-at-point): New function.
6659 (comint-mode): Use it completion-at-point-functions.
6660 (comint-dynamic-complete): Make it obsolete.
6661 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6662 (comint-c-a-p-replace-by-expanded-history): New function.
6663 (comint-dynamic-complete-functions)
6664 (comint-replace-by-expanded-history): Use it.
6665 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6666 termination strings. Try harder to avoid second try-completion.
6667 (completion-in-region-mode-map): Disable bindings that don't work yet.
6668
6669 * comint.el: Use lexical-binding. Require CL.
6670 (comint-dynamic-complete-functions): Use comint-filename-completion.
6671 (comint-completion-addsuffix): Tweak custom type.
6672 (comint-filename-completion, comint--common-suffix)
6673 (comint--common-quoted-suffix, comint--table-subvert)
6674 (comint--complete-file-name-data): New functions.
6675 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6676 (comint-dynamic-list-filename-completions): Use them.
6677 (comint-dynamic-simple-complete): Make obsolete.
6678
6679 * minibuffer.el (completion-in-region-mode):
6680 Keep completion-in-region-mode--predicate global.
6681 (completion-in-region--postch):
6682 Assume completion-in-region-mode--predicate is not null.
6683
6684 * progmodes/flymake.el (flymake-start-syntax-check-process):
6685 Obey `dir'. Simplify.
6686
6687 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6688 we're in VC after all.
6689
6690 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6691
6692 * vc/vc.el (vc-diff-build-argument-list-internal)
6693 (vc-version-ediff, vc-ediff): New commands.
6694 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6695
6696 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6697
6698 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6699 add sanity check.
6700
6701 * obsolete/erc-hecomplete.el: Make obsolete.
6702 * obsolete/: Standardize obsolescence info in the header.
6703
6704 2011-04-20 Glenn Morris <rgm@gnu.org>
6705
6706 * calendar/solar.el (solar-horizontal-coordinates):
6707 Use the longitude argument rather than `calendar-longitude'.
6708 (solar-date-next-longitude): Remove unused locals.
6709
6710 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6711
6712 * whitespace.el: New version 13.2.1.
6713
6714 2011-04-20 felix <EmacsWiki> (tiny change)
6715
6716 * whitespace.el (global-whitespace-mode): Keep highlight when
6717 switching between major modes on a file.
6718
6719 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6722 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6723 multi-line comments as well.
6724
6725 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
6726
6727 Lexical-binding cleanup.
6728
6729 * arc-mode.el (archive-mode-revert):
6730 * cmuscheme.el (scheme-interactively-start-process):
6731 * custom.el (custom-initialize-delay):
6732 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6733 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6734 * emacs-lock.el (emacs-lock-clear-sentinel):
6735 * ezimage.el (defezimage):
6736 * follow.el (follow-avoid-tail-recenter):
6737 * fringe.el (set-fringe-mode-1):
6738 * generic-x.el (bat-generic-mode-compile):
6739 * help-mode.el (help-info-variable, help-do-xref)
6740 (help-mode-revert-buffer):
6741 * help.el (view-emacs-todo):
6742 * iswitchb.el (iswitchb-completion-help):
6743 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6744 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6745 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6746 * locate.el (locate-update):
6747 * longlines.el (longlines-encode-region)
6748 (longlines-after-change-function):
6749 * outline.el (outline-isearch-open-invisible):
6750 * ps-def.el (declare-function, charset-dimension, char-width)
6751 (encode-char):
6752 * ps-mule.el (ps-mule-plot-string):
6753 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6754 (recentf-edit-list-select, recentf-edit-list-validate)
6755 (recentf-open-files-action):
6756 * rect.el (delete-whitespace-rectangle-line)
6757 (rectangle-number-line-callback):
6758 * register.el (window-configuration-to-register)
6759 (frame-configuration-to-register):
6760 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6761 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6762 (xselect-convert-to-targets, xselect-convert-to-delete)
6763 (xselect-convert-to-filename, xselect-convert-to-charpos)
6764 (xselect-convert-to-lineno, xselect-convert-to-colno)
6765 (xselect-convert-to-os, xselect-convert-to-host)
6766 (xselect-convert-to-user, xselect-convert-to-class)
6767 (xselect-convert-to-name, xselect-convert-to-integer)
6768 (xselect-convert-to-atom, xselect-convert-to-identity):
6769 * subr.el (declare, ignore, process-kill-without-query)
6770 (text-clone-maintain):
6771 * terminal.el (te-get-char, te-tic-sentinel):
6772 * tool-bar.el (tool-bar-make-keymap):
6773 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6774 * type-break.el (type-break-mode, type-break-noninteractive-query):
6775 * view.el (View-back-to-mark):
6776 * wid-browse.el (widget-browse-action, widget-browse-widget)
6777 (widget-browse-widgets, widget-browse-sexp):
6778 * widget.el (define-widget-keywords):
6779 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6780 Mark unused parameters.
6781
6782 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6783 (align-areas): Remove unused variable `look'.
6784 (align-region): Remove unused variables `real-end' and `pos-list'.
6785
6786 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6787
6788 * bindings.el (mode-line-modified, mode-line-remote):
6789 Mark unused parameters.
6790 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6791
6792 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6793 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6794
6795 * comint.el (comint-history-isearch-pop-state)
6796 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6797 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6798 (comint-substitute-in-file-name): Doc fix.
6799
6800 * completion.el (cmpl-statistics-block): Mark unused parameter.
6801 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6802 (save-completions-to-file, load-completions-from-file):
6803 Remove unused local variable `e'.
6804
6805 * composite.el (compose-chars): Remove unused variable `len'.
6806 (lgstring-insert-glyph): Remove unused variable `g'.
6807 (compose-glyph-string): Remove unused variables `ascent',
6808 `descent', `lbearing' and `rbearing'.
6809 (compose-glyph-string-relative): Remove unused variables
6810 `lbearing', `rbearing' and `wadjust'.
6811 (compose-gstring-for-graphic): Remove unused variables `header',
6812 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6813 (compose-gstring-for-terminal): Remove unused variables `header'
6814 and `nchars'. Use `let', not `let*'.
6815
6816 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6817 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6818 (Custom-buffer-done, custom-buffer-create-internal)
6819 (custom-browse-visibility-action, custom-browse-group-tag-action)
6820 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6821 (widget-magic-mouse-down-action, custom-toggle-parent)
6822 (custom-add-parent-links, custom-toggle-hide-variable)
6823 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6824 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6825 (custom-face-menu-create, custom-variable-menu-create, get)
6826 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6827 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6828 (customize-apropos): Remove unused variable `tests'.
6829 (custom-group-value-create): Remove unused variable `hidden-p'.
6830 (sort-fold-case): Declare.
6831
6832 * cus-theme.el (custom-reset-standard-faces-list)
6833 (custom-reset-standard-variables-list): Declare.
6834 (customize-create-theme, custom-theme-revert, custom-theme-write)
6835 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6836 Mark unused parameters.
6837
6838 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6839
6840 * delim-col.el (delimit-columns-max): Move defvar before first use.
6841
6842 * descr-text.el (describe-char-categories): Don't quote `lambda'.
6843 (describe-char): Don't quote `lambda'. Mark unused parameter.
6844
6845 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6846 (auto-insert): Declare.
6847 (desktop-restore-file-buffer): Rename desktop-* parameters;
6848 mark unused ones.
6849 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6850 (desktop-buffer): Rename desktop-* parameters.
6851
6852 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6853 (dframe-reposition-frame-xemacs, dframe-help-echo)
6854 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6855 Mark unused parameters.
6856
6857 * dired-aux.el (backup-extract-version-start, overwrite-query)
6858 (overwrite-backup-query, rename-regexp-query)
6859 (rename-non-directory-query): Declare.
6860 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6861 (dired-add-entry): Remove unused variable `orig-file-name'.
6862 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6863 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6864 `dired-copy-preserve-time' directly.
6865 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6866 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6867
6868 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6869 (dired-virtual-revert, dired-make-relative-symlink):
6870 Mark unused parameters.
6871 (manual-program): Declare.
6872 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6873 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6874 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6875
6876 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6877
6878 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6879
6880 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6881 Declare.
6882
6883 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6884
6885 * electric.el (Electric-command-loop): Rename parameter
6886 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6887
6888 * expand.el (expand-in-literal): Remove unused variable `here'.
6889
6890 * facemenu.el (facemenu-add-new-color):
6891 Remove unused variable `docstring'.
6892
6893 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6894 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6895 (face-attr-construct): Mark unused parameter. Doc fix.
6896 (read-color): Remove unused variable `hex-string'.
6897
6898 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6899 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6900 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6901 (display-buffer-other-frame): Remove unused variable `old-window'.
6902 (kill-buffer-hook): Declare.
6903 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6904 Mark unused parameters.
6905 (after-find-file): Pass 1 to `auto-save-mode', not t.
6906
6907 * files-x.el (auto-insert): Declare.
6908 (modify-file-local-variable-prop-line): Remove unused variable `val'.
6909
6910 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
6911 variable `buf'. Mark unused parameter.
6912 (find-lisp-insert-directory): Mark unused parameter.
6913
6914 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6915 (format-encode-region): Remove unused variables `cur-buf' and `result'.
6916 (format-common-tail): Remove, unused.
6917 (format-deannotate-region): Remove unused variable `loc'.
6918 (format-annotate-region): Remove unused variable `p'.
6919 (format-annotate-single-property-change): Remove unused variables
6920 `default' and `tail'.
6921
6922 * forms.el (read-file-filter): Declare.
6923 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6924
6925 * frame.el (frame-creation-function-alist): Mark unused parameter.
6926 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6927
6928 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6929 Remove unused parameters.
6930 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6931 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6932
6933 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6934 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6935 (hfy-prepare-tag-map): Mark unused parameters.
6936 (htmlfontify-buffer): Use `called-interactively-p'.
6937
6938 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6939 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6940 (ibuffer-do-occur): Mark unused parameters.
6941 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6942 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6943
6944 * ibuffer.el: Don't quote `lambda'.
6945 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6946 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6947 Mark unused parameters.
6948
6949 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6950 (ido-completing-read): Mark unused parameters.
6951 (ido-copy-current-word): Mark unused parameters;
6952 remove unused variable `name'.
6953 (ido-sort-merged-list): Remove unused parameter `dirs'.
6954
6955 * ielm.el (ielm-input-sender): Mark unused parameter.
6956 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6957 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6958 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6959 `ielm-string' as a dynamic variable accessible from the IELM prompt.
6960 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
6961
6962 * image-dired.el (image-dired-display-thumbs): Remove unused
6963 variables `curr-file' and `count'.
6964 (image-dired-remove-tag): Remove unused variable `start'.
6965 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6966 variable `curr-file'
6967 (image-dired-rotate-original): Remove unused variable `temp-file'.
6968 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6969 Remove unused variable `file'.
6970 (image-dired-gallery-generate): Remove unused variable `curr'.
6971 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6972
6973 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6974
6975 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6976
6977 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6978
6979 * isearch.el (minibuffer-history-symbol): Declare.
6980 (isearch-edit-string): Remove unused variable `err'.
6981 (isearch-message-prefix, isearch-message-suffix):
6982 Mark unused parameters.
6983
6984 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
6985
6986 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
6987
6988 * makesum.el (double-column): Remove unused variable `cnt'.
6989
6990 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
6991 (ido-ignore-item-temp-list): Declare.
6992
6993 * mouse-drag.el (mouse-drag-throw): Remove unused variables
6994 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
6995 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
6996 (mouse-drag-drag): Remove unused variables `mouse-delta' and
6997 `mouse-col-delta'.
6998
6999 * mouse-sel.el (mouse-extend-internal):
7000 Remove unused variable `orig-window-frame'.
7001
7002 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7003 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7004 Move declarations before first use.
7005 (pcomplete-opt): Mark unused parameters; doc fix.
7006
7007 * proced.el (proced-revert): Mark unused parameter.
7008 (proced-send-signal): Remove unused variable `err'.
7009
7010 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7011 Rename parameter PREFIX-ARG to ARG.
7012 (ps-basic-plot-string, ps-basic-plot-whitespace):
7013 Mark unused parameters.
7014
7015 * replace.el (replace-count): Define.
7016 (occur-revert-function): Mark unused parameters.
7017 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7018 (isearch-case-fold-search, isearch-string): Declare.
7019 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7020 bind `case-fold-search'. Remove unused variables `beg' and `end',
7021 and simplify.
7022 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7023 COUNT and bind `replace-count'.
7024 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7025 to COUNT.
7026
7027 * savehist.el (print-readably, print-string-length): Declare.
7028
7029 * shadowfile.el (shadow-expand-cluster-in-file-name):
7030 Remove unused variable `cluster'.
7031 (shadow-copy-file): Remove unused variable `i'.
7032 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7033 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7034 (shadow-define-literal-group, shadow-define-regexp-group)
7035 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7036
7037 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7038 (shell): Use `called-interactively-p'.
7039 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7040
7041 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7042 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7043 (delete-backward-char): Remove unused variable `ocol'.
7044 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7045 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7046 (event-apply-hyper-modifier, event-apply-shift-modifier)
7047 (event-apply-control-modifier, event-apply-meta-modifier):
7048 Mark unused parameters.
7049 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7050 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7051
7052 * speedbar.el (speedbar-ignored-directory-expressions)
7053 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7054 (speedbar-find-file, speedbar-dir-follow)
7055 (speedbar-directory-buttons-follow, speedbar-tag-find)
7056 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7057 (speedbar-buffers-line-directory, speedbar-buffer-click):
7058 Mark unused parameters.
7059 (speedbar-tag-file): Remove unused variable `mode'.
7060 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7061
7062 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7063
7064 * talk.el (talk): Remove unused variable `display'.
7065
7066 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7067 (tar-write-region-annotate): Mark unused parameter.
7068
7069 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7070 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7071 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7072 warning by another.
7073
7074 * time-stamp.el (time-stamp-string-preprocess):
7075 Remove unused variable `require-padding'.
7076
7077 * tree-widget.el (widget-glyph-enable): Declare.
7078 (tree-widget-action): Mark unused parameter.
7079
7080 * w32-fns.el (x-get-selection): Mark unused parameter.
7081 (autoload-make-program, generated-autoload-file): Declare.
7082
7083 * wdired.el (wdired-revert): Mark unused parameters.
7084 (wdired-xcase-word): Remove unused variable `err'.
7085
7086 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7087 (whitespace-help-scroll): Remove unused variable `data-help'.
7088
7089 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7090 (widget-image-insert, widget-after-change, default)
7091 (widget-default-format-handler, widget-default-notify)
7092 (widget-default-prompt-value, widget-info-link-action)
7093 (widget-url-link-action, widget-function-link-action)
7094 (widget-variable-link-action, widget-file-link-action)
7095 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7096 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7097 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7098 (widget-insert-button-action, widget-delete-button-action, visibility)
7099 (widget-documentation-link-action, widget-documentation-string-action)
7100 (widget-const-prompt-value, widget-regexp-match, symbol)
7101 (widget-coding-system-prompt-value)
7102 (widget-key-sequence-value-to-external, sexp)
7103 (widget-sexp-value-to-internal, character, vector, cons)
7104 (widget-choice-prompt-value, widget-boolean-prompt-value)
7105 (widget-color--choose-action): Mark unused parameters.
7106 (widget-item-match-inline, widget-choice-match-inline)
7107 (widget-checklist-match, widget-checklist-match-inline)
7108 (widget-group-match): Rename parameter VALUES to VALS.
7109 (widget-field-value-set): Remove unused variable `size'.
7110 (widget-color-action): Remove unused variables `value' and `start'.
7111
7112 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
7113 variable `dir'. Doc fix.
7114 (windmove-find-other-window): Don't pass it.
7115
7116 * window.el (count-windows): Mark unused parameter.
7117 (bw-adjust-window): Remove unused variable `err'.
7118
7119 * woman.el (woman-file-name): Remove unused variable `default'.
7120 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7121 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7122 (global-font-lock-mode): Declare.
7123 (woman-decode-region): Mark unused parameter.
7124 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7125
7126 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7127 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7128 (x-dnd-handle-moz-url): Remove unused variable `title'.
7129 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7130
7131 * xml.el (xml-parse-tag, xml-parse-attlist):
7132 Remove unused variable `pos'.
7133
7134 2011-04-19 Glenn Morris <rgm@gnu.org>
7135
7136 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7137 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7138 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7139 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7140 * calendar/cal-html.el (cal-html-insert-minical):
7141 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7142 (calendar-mark-date-pattern):
7143 Prefix "unused" locals.
7144
7145 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7146 optional argument `style'.
7147
7148 * calendar/appt.el (appt-make-list):
7149 * calendar/cal-china.el (calendar-chinese-date-string):
7150 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7151 (diary-hebrew-yahrzeit):
7152 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7153 * calendar/calendar.el (calendar-generate-window):
7154 * calendar/time-date.el (time-to-days):
7155 Remove unused local variables.
7156
7157 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
7158
7159 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7160 glyphless-char-display table.
7161 (tabulated-list-glyphless-char-display): New var.
7162
7163 2011-04-18 Sam Steingold <sds@gnu.org>
7164
7165 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7166 to acknowledgments.
7167
7168 2011-04-17 Glenn Morris <rgm@gnu.org>
7169
7170 * calendar/diary-lib.el (diary-sexp-entry):
7171 * calendar/holidays.el (holiday-sexp):
7172 Set debug-on-error rather than the removed stack-trace-on-error.
7173
7174 2011-04-16 Glenn Morris <rgm@gnu.org>
7175
7176 * progmodes/f90.el: Use lexical-binding.
7177 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7178
7179 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7182 (mail-mode): Setup mailalias completion here instead.
7183 * mail/mailalias.el: Use lexical-binding.
7184 (pattern, mailalias-done): Declare dynamic.
7185 (mail-completion-at-point-function): New function, from mail-complete.
7186 (mail-complete): Use it.
7187 (mail-completion-expand): New function.
7188 (mail-get-names): Use it.
7189 (mail-directory, mail-directory-process, mail-directory-stream):
7190 Don't use `pattern' for lexically bound arg.
7191
7192 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7193
7194 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7195 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7196 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7197
7198 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7199 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7200 (byte-interactive-p): Define them again, for use when inlining
7201 old code.
7202
7203 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
7204
7205 * loadup.el: Use `string-to-number', not `string-to-int'.
7206
7207 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7208
7209 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7210 gud-gdb-complete-command.
7211 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7212 (gud-gdb-completion-at-point): New function.
7213 (gud-gdb-completions): Remove.
7214
7215 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
7216
7217 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7218 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7219 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7220 whether `executable-find' is bound.
7221
7222 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7223
7224 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * minibuffer.el (completion-in-region-mode-predicate)
7227 (completion-in-region-mode--predicate): New vars.
7228 (completion-in-region, completion-in-region--postch)
7229 (completion-in-region-mode): Use them.
7230 (completion--capf-wrapper): Also return the hook function.
7231 (completion-at-point, completion-help-at-point):
7232 Adjust and provide a predicate.
7233
7234 Preserve arg names for advice of subr and lexical functions (bug#8457).
7235 * help-fns.el (help-function-arglist): Consolidate the subr and
7236 new-byte-code cases. Add argument `preserve-names' to extract names
7237 from the docstring when needed.
7238 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7239 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7240 (ad-arglist): Use help-function-arglist's new arg.
7241 (ad-definition-type): Use cond.
7242
7243 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
7244
7245 * autorevert.el (auto-revert-handler):
7246 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7247 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7248 Don't quote lambda.
7249
7250 * image-mode.el (image-transform-set-scale):
7251 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7252
7253 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7254
7255 * net/network-stream.el (network-stream-open-starttls): Only do
7256 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7257 Upgrades via gnutls-cli are too slow to be done opportunistically.
7258
7259 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
7260
7261 * dframe.el (dframe-current-frame): Remove spurious quote.
7262
7263 2011-04-12 Glenn Morris <rgm@gnu.org>
7264
7265 * calendar/cal-tex.el (cal-tex-end-document):
7266 Try to automatically use latin1 input if needed.
7267
7268 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7269 Don't try to cons a mark onto an empty element.
7270
7271 2011-04-11 Leo Liu <sdl.web@gmail.com>
7272
7273 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7274 buffers.
7275 (ido-kill-buffer-at-head): Support killing virtual buffers.
7276
7277 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
7278
7279 * minibuffer.el (completion-show-inline-help): New var.
7280 (completion--do-completion, minibuffer-complete)
7281 (minibuffer-force-complete, minibuffer-complete-word):
7282 Inhibit minibuffer messages if completion-show-inline-help is nil.
7283
7284 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7285 to avoid interference from inline help (Bug#5849).
7286
7287 2011-04-10 Leo Liu <sdl.web@gmail.com>
7288
7289 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7290 Fix typo.
7291
7292 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
7293
7294 * image-mode.el (image-toggle-display-image): Signal an error if
7295 not in Image mode.
7296 (image-transform-mode, image-transform-resize)
7297 (image-transform-set-rotation): Doc fix.
7298 (image-transform-set-resize): Delete.
7299 (image-transform-set-scale, image-transform-fit-to-height)
7300 (image-transform-fit-to-width): Handle image-toggle-display-image
7301 and image-transform-resize directly.
7302
7303 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
7304
7305 * doc-view.el (doc-view-fit-width-to-window)
7306 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7307 New functions for fitting the shown image to the Emacs window size.
7308 (doc-view-mode-map): Add bindings for the new functions.
7309
7310 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
7311
7312 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
7313 Fix typo in docstring.
7314
7315 2011-04-08 Eli Zaretskii <eliz@gnu.org>
7316
7317 * files.el (file-size-human-readable): Produce one digit after
7318 decimal, like "ls -lh" does.
7319
7320 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7321 the file size representation.
7322
7323 * simple.el (list-processes): If async subprocesses are not
7324 available, error out with a clear error message.
7325
7326 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
7327
7328 * help.el (help-form-show): New function, to be called from C.
7329 Put help-form output in a buffer named differently than *Help*.
7330
7331 2011-04-08 Eli Zaretskii <eliz@gnu.org>
7332
7333 * files.el (file-size-human-readable): New function.
7334
7335 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7336 computing the representation inline. Don't require `cl'.
7337
7338 2011-04-08 Glenn Morris <rgm@gnu.org>
7339
7340 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7341
7342 * net/browse-url.el (browse-url-firefox):
7343 Test system-type, not system-configuration.
7344
7345 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7346 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7347 Use log-edit-empty-buffer-p. (Bug#7598)
7348
7349 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7350 (rlogin-mode-map): Initialize in the defvar.
7351 (rlogin): Use ignore-errors.
7352
7353 * replace.el (occur-mode-map): Some fixes for menu items.
7354
7355 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7356
7357 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7358
7359 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
7360
7361 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7362 issuing unused warnings.
7363
7364 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7365 macro directly.
7366
7367 * simple.el: Lisp reimplement of list-processes. Based on an
7368 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7369 (process-menu-mode): New major mode.
7370 (list-processes--refresh, list-processes):
7371 (process-menu-visit-buffer): New functions.
7372
7373 * files.el (save-buffers-kill-emacs): Don't assume any return
7374 value of list-processes, which is undocumented anyway.
7375
7376 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
7377
7378 * emacs-lisp/tabulated-list.el: New file.
7379
7380 * emacs-lisp/package.el: Use Tabulated List mode.
7381 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7382 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7383 table format using Tabulated List mode variables.
7384 (package--push): New macro, replacing package-list-maybe-add.
7385 (package-menu--generate): Use package--push. Renamed from
7386 package--generate-package-list.
7387 (package-menu-refresh, list-packages): Use it.
7388 (package-menu--print-info): Rename from package-print-package.
7389 Return insertion data instead of inserting it directly.
7390 (package-menu-describe-package, package-menu-execute):
7391 Use tabulated-list-get-id.
7392 (package-menu-mark-delete, package-menu-mark-install)
7393 (package-menu-mark-unmark, package-menu-backup-unmark)
7394 (package-menu-mark-obsolete-for-deletion):
7395 Use tabulated-list-put-tag.
7396 (package--list-packages, package-menu-revert)
7397 (package-menu-get-package, package-menu-get-version)
7398 (package-menu-sort-by-column): Functions deleted.
7399 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7400 (package-menu--status-predicate, package-menu--version-predicate)
7401 (package-menu--name-predicate)
7402 (package-menu--description-predicate): Handle arguments in the
7403 Tabulated List format.
7404 (package-list-packages-no-fetch): Call list-packages.
7405
7406 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * files.el (after-find-file-from-revert-buffer): Remove variable.
7409 (after-find-file): Don't bind it.
7410 (revert-buffer-in-progress-p): New variable.
7411 (revert-buffer): Bind it.
7412 Pass nil for `after-find-file-from-revert-buffer'.
7413
7414 * saveplace.el (save-place-find-file-hook): Use new variable
7415 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7416
7417 2011-04-06 Glenn Morris <rgm@gnu.org>
7418
7419 * Makefile.in (AUTOGEN_VCS): New variable.
7420 (autoloads): Use $AUTOGEN_VCS.
7421
7422 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7423 * calendar/calendar.el (calendar-mode-map):
7424 Check for toolkit scroll bars. (Bug#8305)
7425
7426 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
7427
7428 * minibuffer.el (completion-in-region--postch)
7429 (completion-in-region-mode): Remove unnecessary messages.
7430
7431 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
7432
7433 * font-lock.el (font-lock-refresh-defaults):
7434 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7435 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7436
7437 * info.el (Info-directory-list, Info-read-node-name-2)
7438 (Info-split-parameter-string): Doc fixes.
7439 (Info-virtual-nodes): Reflow docstring.
7440 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7441 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7442 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7443 Fix typos in docstrings.
7444 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7445 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7446 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7447 (Info-restore-desktop-buffer): Mark unused parameters.
7448 (Info-directory-find-file, Info-directory-find-node)
7449 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7450 (Info-virtual-index-find-node, Info-apropos-find-file)
7451 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
7452 Mark unused parameters; fix typos in docstrings.
7453 (Info-virtual-index): Remove unused local variable `nodename'.
7454
7455 2011-04-05 Deniz Dogan <deniz@dogan.se>
7456
7457 * net/rcirc.el: Update my e-mail address.
7458 (rcirc-mode-map): Remove M-o binding.
7459
7460 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
7461
7462 * startup.el (command-line): Save the cursor's theme-face
7463 directly, instead of using face-override-spec.
7464
7465 * custom.el (load-theme): Minor optimization in assigning faces.
7466
7467 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * help-fns.el (describe-variable): Complete all variables having
7470 documentation, including keywords.
7471 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7472
7473 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
7474
7475 Convert to lexical-binding.
7476
7477 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7478 (bs--get-marked-string, bs--get-modified-string)
7479 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7480 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7481 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7482
7483 * ehelp.el (electric-help-execute-extended)
7484 (electric-help-ctrl-x-prefix):
7485 * hexl.el (hexl-revert-buffer-function):
7486 * linum.el (linum-after-change, linum-after-scroll):
7487 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7488
7489 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7490
7491 2011-04-04 Daiki Ueno <ueno@unixuser.org>
7492
7493 * epa-dired.el:
7494 * epa-mail.el:
7495 * epa-hook.el:
7496 * epa-file.el:
7497 * epa.el:
7498 * epg.el: Use lexical binding.
7499
7500 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
7501
7502 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7503
7504 * textmodes/flyspell.el (flyspell-word): Recognize default
7505 dictionary case for flyspell-mark-duplications-exceptions.
7506 Use regexp matching for languages.
7507 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7508 default dictionary (Bug#7926).
7509
7510 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
7511
7512 * emacs-lisp/package.el (package--with-work-buffer):
7513 Recognize https URLs.
7514
7515 * net/network-stream.el: Move from gnus/proto-stream.el.
7516 Change prefix to network-stream throughout.
7517 (open-protocol-stream): Merge into open-network-stream, leaving
7518 open-protocol-stream as an alias. Handle nil BUFFER args.
7519
7520 * subr.el (open-network-stream): Move to net/network-stream.el.
7521
7522 2011-04-02 Glenn Morris <rgm@gnu.org>
7523
7524 * find-dired.el (find-exec-terminator): New option.
7525 (find-ls-option): Test for -ls support.
7526 (find-ls-subdir-switches): Test for -b in find-ls-option.
7527 (find-dired, find-grep-dired): Doc fixes.
7528 (find-dired): Use find-exec-terminator.
7529
7530 * find-dired.el (find-ls-option, find-ls-subdir-switches)
7531 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7532 (find-name-arg): Remove purecopy.
7533
7534 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7535 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7536 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7537 accordingly. Don't add the null-device if not needed.
7538
7539 * files.el (save-some-buffers): Doc fix.
7540
7541 2011-04-02 Eli Zaretskii <eliz@gnu.org>
7542
7543 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7544
7545 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7548 Use `dolist' rather than `mapcar'.
7549
7550 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 Add lexical binding.
7553
7554 * subr.el (apply-partially): Use new closures rather than CL.
7555 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7556 (dolist, dotimes): Use slightly different expansion for lexical code.
7557 (functionp): Move to C.
7558 (letrec): New macro.
7559 (with-wrapper-hook): Use it and apply-partially instead of CL.
7560 (eval-after-load): Preserve lexical-binding.
7561 (save-window-excursion, with-output-to-temp-buffer): Turn them
7562 into macros.
7563
7564 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7565
7566 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7567 than the arglist.
7568 (help-add-fundoc-usage): Don't add `Not documented'.
7569 (help-function-arglist): Handle closures, subroutines, and new
7570 byte-code-functions.
7571 (help-make-usage): Remove leading underscores.
7572 (describe-function-1): Handle closures.
7573 (describe-variable): Use special-variable-p for completion.
7574
7575 * files.el (lexical-binding): Declare safe.
7576
7577 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7578 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7579 (pcase): Add `let' pattern.
7580 Change memoization so it actually works.
7581 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7582 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7583 <let>: New case.
7584
7585 * emacs-lisp/macroexp.el: Use lexical binding.
7586 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7587 Don't convert ' to #' without checking that it's indeed quoting
7588 a lambda.
7589
7590 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
7591 Use eval-sexp-add-defvars.
7592 (eval-sexp-add-defvars): New fun.
7593
7594 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7595
7596 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7597 Don't autoload.
7598 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7599 than the internal `byte-compile-lambda'.
7600 (defmethod): Don't hide code under quotes.
7601 (eieio-defmethod): New `code' argument.
7602
7603 * emacs-lisp/eieio-comp.el: Remove.
7604
7605 * emacs-lisp/edebug.el (edebug-eval-defun)
7606 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7607 (edebug-toggle): Avoid `eval'.
7608
7609 * emacs-lisp/disass.el (disassemble-internal): Handle new
7610 `closure' objects.
7611 (disassemble-1): Handle new byte codes.
7612
7613 * emacs-lisp/cl.el (pushnew): Silence warning.
7614
7615 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7616 (cl-byte-compile-throw): Remove.
7617 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7618
7619 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7620 closures.
7621
7622 * emacs-lisp/cconv.el: New file.
7623
7624 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7625 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7626 (byte-compile-initial-macro-environment):
7627 Handle declare-function here.
7628 (byte-compile--lexical-environment): New var.
7629 (byte-stack-ref, byte-stack-set, byte-discardN)
7630 (byte-discardN-preserve-tos): New lap codes.
7631 (byte-interactive-p): Don't use any more.
7632 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7633 New macros.
7634 (byte-compile-lapcode): Use them and handle new lap codes.
7635 (byte-compile-obsolete): Remove.
7636 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7637 (byte-compile-arglist-warn): Check late def of inlinable funs.
7638 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7639 since they should have been expanded by now.
7640 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7641 (byte-compile-from-buffer): Remove unused second arg.
7642 (byte-compile-preprocess): New function.
7643 (byte-compile-toplevel-file-form): New function to distinguish
7644 file-form calls from outside from file-form calls from hunk-handlers.
7645 (byte-compile-file-form): Simplify.
7646 (byte-compile-file-form-defsubst): Remove.
7647 (byte-compile-file-form-defmumble): Simplify now that
7648 byte-compile-lambda always returns a byte-code-function.
7649 (byte-compile): Preprocess.
7650 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7651 Remove, not used any more.
7652 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7653 (byte-compile-make-args-desc): New funs.
7654 (byte-compile-lambda): Handle lexical functions. Always return
7655 a byte-code-function.
7656 (byte-compile-reserved-constants): New var, to make up room for
7657 closed-over variables.
7658 (byte-compile-constants-vector): Obey it.
7659 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7660 (byte-compile-macroexpand-declare-function): New function.
7661 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7662 byte-code-functions.
7663 (byte-compile-form): Check obsolescence here.
7664 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7665 (byte-compile-variable-ref): Remove.
7666 (byte-compile-dynamic-variable-op): New fun.
7667 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7668 (byte-compile-variable-set): New funs.
7669 (byte-compile-discard): Add 2 args.
7670 (byte-compile-stack-ref, byte-compile-stack-set)
7671 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7672 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7673 macroexpand-all instead.
7674 (byte-compile-quote-form): Remove.
7675 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7676 (byte-compile-bind, byte-compile-unbind): New funs.
7677 (byte-compile-let): Handle let* and lexical binding.
7678 (byte-compile-let*): Remove.
7679 (byte-compile-catch, byte-compile-unwind-protect)
7680 (byte-compile-track-mouse, byte-compile-condition-case):
7681 Handle a new :fun-body form, used for lexical scoping.
7682 (byte-compile-save-window-excursion)
7683 (byte-compile-with-output-to-temp-buffer): Remove.
7684 (byte-compile-defun): Simplify.
7685 (byte-compile-stack-adjustment): New fun.
7686 (byte-compile-out): Use it.
7687 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7688
7689 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7690 handler any more.
7691
7692 * emacs-lisp/byte-opt.el: Use lexical binding.
7693 (byte-inline-lapcode): Remove (to bytecomp).
7694 (byte-compile-inline-expand): Pay attention to inlining to/from
7695 lexically bound code.
7696 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7697 any more.
7698 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7699 any more and don't call compiler-macros.
7700 (byte-compile-splice-in-already-compiled-code): Remove.
7701 (byte-code): Don't inline any more.
7702 (disassemble-offset): Receive `bytes' as argument rather than via
7703 dynamic scoping.
7704 (byte-compile-tag-number): Declare before first use.
7705 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7706 `return' even if make-spliceable.
7707 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7708 obsolete interactive-p.
7709 (byte-optimize-lapcode): Optimize new lap-codes.
7710 Don't trip up on new form of `byte-constant' lap code.
7711
7712 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7713
7714 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7715
7716 * custom.el (custom-initialize-default, custom-declare-variable):
7717 Use `defvar'.
7718
7719 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7720 New variables.
7721 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7722 (COMPILE_FIRST): Add macroexp and cconv.
7723 * makefile.w32-in: Mirror changes in Makefile.in.
7724
7725 * vc/cvs-status.el:
7726 * vc/diff-mode.el:
7727 * vc/log-edit.el:
7728 * vc/log-view.el:
7729 * vc/smerge-mode.el:
7730 * textmodes/bibtex-style.el:
7731 * textmodes/css.el:
7732 * startup.el:
7733 * uniquify.el:
7734 * minibuffer.el:
7735 * newcomment.el:
7736 * reveal.el:
7737 * server.el:
7738 * mpc.el:
7739 * emacs-lisp/smie.el:
7740 * doc-view.el:
7741 * dired.el:
7742 * abbrev.el: Use lexical binding.
7743
7744 2011-04-01 Eli Zaretskii <eliz@gnu.org>
7745
7746 * info.el (info-display-manual): New function.
7747
7748 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7751
7752 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7753
7754 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
7755 an entry for that server in rcirc-authinfo. (Bug#8385)
7756
7757 2011-03-31 Glenn Morris <rgm@gnu.org>
7758
7759 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7760
7761 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7762
7763 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7764
7765 * progmodes/python.el (python-default-interpreter)
7766 (python-python-command-args, python-jython-command-args)
7767 (python-which-shell, python-which-args, python-which-bufname)
7768 (python-file-queue, python-comint-output-filter-function)
7769 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7770 variables and functions.
7771
7772 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7775 (completion-in-region-mode): New minor mode.
7776 (completion-in-region): Use it.
7777 (completion-in-region--data, completion-in-region-mode-map): New vars.
7778 (completion-in-region--postch): New function.
7779 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7780 New vars.
7781 (completion--capf-wrapper): New function.
7782 (completion-at-point): Use it to track well-behavedness of
7783 hook functions.
7784 (completion-help-at-point): New command.
7785
7786 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7787
7788 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7789 syntax class to search for whitespace on a single line
7790 (Message-ID: <4D938140.4030905@redhat.com>).
7791
7792 2011-03-30 Leo Liu <sdl.web@gmail.com>
7793
7794 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7795 New commands.
7796 (edit-abbrevs-map): Bind them here.
7797 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7798
7799 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7800
7801 * allout.el (allout-hide-by-annotation, allout-flag-region):
7802 Reduce possibility of overlay leakage by making them volatile.
7803
7804 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7805 hash is not shared between buffers. Mode initialization is
7806 responsible for giving it a useful starting value.
7807 (allout-item-span): Reduce possibility of overlay leakage by
7808 making them volatile.
7809 (allout-widgets-count-buttons-in-region): Add diagnostic function
7810 for tracking down button overlay leaks.
7811
7812 2011-03-29 Leo Liu <sdl.web@gmail.com>
7813
7814 * ido.el (ido-read-internal): Use the default history var
7815 minibuffer-history if no HISTORY is specified.
7816
7817 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7818
7819 * net/imap.el (imap-shell-open, imap-process-connection-type):
7820 Use imap-process-connection-type for 'shell' streams as well as
7821 Kerberos, SSL, other subprocesses.
7822
7823 2011-03-28 Leo Liu <sdl.web@gmail.com>
7824
7825 * abbrev.el (abbrev-table-empty-p): New function.
7826 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7827 nonempty ones. (Bug#5937)
7828
7829 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7830
7831 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7832
7833 2011-03-27 Leo Liu <sdl.web@gmail.com>
7834
7835 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7836 for foreground and background colors.
7837 (ansi-color-make-color-map): Adapt.
7838
7839 2011-03-25 Leo Liu <sdl.web@gmail.com>
7840
7841 * midnight.el (midnight-time-float): Remove. Note it calculates
7842 the microsecond component incorrectly and seconds-to-time does the
7843 same job.
7844 Remove redundant (require 'timer).
7845
7846 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7847 (ido-completions): Remove unused arguments. (Bug#8329)
7848
7849 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * minibuffer.el (completion--flush-all-sorted-completions):
7852 Remove itself from hook.
7853 (completion-at-point): Let the functions perform the completion
7854 immediately and return nil or t.
7855 * comint.el (comint-dynamic-complete-functions): Now identical to
7856 completion-at-point-functions.
7857 (comint-dynamic-list-input-ring): Remove unused var `index'.
7858 (comint--match-partial-filename, comint--unquote&expand-filename):
7859 New funs, split from comint-match-partial-filename.
7860 (comint-dynamic-complete): Use completion-at-point.
7861 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7862
7863 2011-03-24 Drew Adams <drew.adams@oracle.com>
7864
7865 * thingatpt.el: Support `defun'.
7866
7867 2011-03-23 Leo Liu <sdl.web@gmail.com>
7868
7869 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7870
7871 * help-mode.el (help-mode-finish): Tweak regexp.
7872
7873 2011-03-23 Glenn Morris <rgm@gnu.org>
7874
7875 * eshell/esh-opt.el (eshell-eval-using-options):
7876 Do not bind unused local variable `eshell-option-stub'.
7877
7878 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7879
7880 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
7881
7882 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7883 keymap variable in `with-no-warnings' to avoid a warning when the
7884 keymap has been already `defconst'ed.
7885
7886 2011-03-22 Leo Liu <sdl.web@gmail.com>
7887
7888 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7889 encode all chars in abbrevs; otherwise use emacs-mule or
7890 utf-8-emacs. (Bug#8308)
7891
7892 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
7893
7894 * simple.el (backward-delete-char-untabify):
7895 Avoid warning about using `delete-backward-char'.
7896
7897 * image.el (image-type-file-name-regexps): Make it variable.
7898 `imagemagick-register-types' modifies it, and the user may want
7899 to add new extensions for known image types.
7900 (imagemagick-register-types): Throw error if not using ImageMagick.
7901
7902 2011-03-22 Leo Liu <sdl.web@gmail.com>
7903
7904 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7905 located before rcirc-prompt-end-marker.
7906 (rcirc-complete): Error if point is not after rcirc prompt.
7907 Handle the case when table is nil.
7908 (rcirc-user-authenticated): Define to fix compiler warning.
7909
7910 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
7911
7912 * custom.el (custom--inhibit-theme-enable): Make it affect only
7913 custom-theme-set-variables and custom-theme-set-faces.
7914 (provide-theme): Ignore custom--inhibit-theme-enable.
7915 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7916 (custom-enabling-themes): Delete variable.
7917 (enable-theme): Accept only loaded themes as arguments.
7918 Ignore the special custom-enabled-themes variable.
7919 (custom-enabled-themes): Forbid themes from setting this.
7920 Eliminate use of custom-enabling-themes.
7921 (custom-push-theme): Quote "changed" custom var entry.
7922
7923 2011-03-21 Leo Liu <sdl.web@gmail.com>
7924
7925 * ido.el (ido-read-internal): Add ido-selected to history instead
7926 of user input.
7927
7928 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * subr.el (deferred-action-list, deferred-action-function):
7931 Mark obsolete.
7932
7933 2011-03-21 Leo Liu <sdl.web@gmail.com>
7934
7935 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7936 change on 2011-02-13 (bug#8309).
7937
7938 * minibuffer.el (read-file-name-function): Change default value.
7939 (read-file-name--defaults): Rename from read-file-name-defaults.
7940 (read-file-name-default): Rename from read-file-name.
7941 (read-file-name): Call read-file-name-function.
7942
7943 2011-03-21 Glenn Morris <rgm@gnu.org>
7944
7945 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7946 Doc fixes.
7947
7948 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
7949
7950 * cus-theme.el: Add missing provide statement.
7951 (customize-create-theme): Extract theme value correctly.
7952 (custom-theme-visit-theme): Autoload.
7953 (customize-create-theme): Prompt before inserting default faces.
7954
7955 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7956
7957 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7958 units and musical notes.
7959
7960 2011-03-20 Leo <sdl.web@gmail.com>
7961
7962 * ido.el (ido-read-internal): Use completing-read-default.
7963 (ido-completing-read): Fix compatibility with completing-read.
7964
7965 2011-03-20 Christian Ohler <ohler@gnu.org>
7966
7967 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7968 (ert-delete-all-tests): Use `called-interactively-p' rather than
7969 `interactive-p'.
7970 (ert--make-xrefs-region): Respect END.
7971
7972 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
7973
7974 * dired-aux.el (dired-create-directory): Signal an error if the
7975 directory already exists (Bug#8246).
7976
7977 * facemenu.el (list-colors-display): Call list-faces-display
7978 inside with-help-window.
7979 (list-colors-print): Use display property to align the final
7980 column, instead of checking window-width.
7981
7982 2011-03-19 Eli Zaretskii <eliz@gnu.org>
7983
7984 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
7985 windows-nt systems.
7986 (emerge-protect-metachars): Quote correctly for ms-dos and
7987 windows-nt systems.
7988
7989 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
7990
7991 * info.el (info-initialize): Replace all uses of `:' with
7992 path-separator for compatibility with non-Unix systems.
7993 Cache quoting of path-separator. (Bug#8258)
7994
7995 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
7996
7997 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
7998 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
7999 (mouse-avoidance-mode): Fix typos in docstrings.
8000
8001 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
8002
8003 * startup.el (package-subdirectory-regexp): Move from package.el.
8004 Omit \\` and \\', and let callers add them.
8005
8006 * emacs-lisp/package.el (package-strip-version)
8007 (package-load-all-descriptors): Add \\` and \\' to
8008 package-subdirectory-regexp before using it.
8009 (package-untar-buffer): New arg DIR; ensure that file untars only
8010 into this expected directory. Remove superfluous delete-region.
8011 (package-unpack): Caller changed.
8012 (package-tar-file-info): Use package-subdirectory-regexp.
8013
8014 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8015
8016 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8017 diff-mode-shared-map (bug#8284).
8018 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
8019
8020 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8021
8022 * calendar/time-date.el (format-seconds): Use assoc instead of
8023 assoc-string, since assoc-string doesn't exist in XEmacs.
8024
8025 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
8026
8027 * custom.el (custom-known-themes): Reflow docstring.
8028 (custom-theme-load-path): Fix typo in docstring.
8029 (load-theme): Fix typo in error message.
8030 (custom-available-themes, custom-variable-theme-value):
8031 Use `let', not `let*'.
8032
8033 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8034
8035 * calc/README: Mention inclusion of musical notes.
8036
8037 * calc/calc-units.el (calc-lu-quant): Rename from
8038 `calc-logunits-quantity'.
8039 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8040 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8041 (calc-db): Rename from `calc-dblevel'.
8042 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8043 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8044 (calc-np): Rename from `calc-nplevel'.
8045 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8046 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8047 (calc-lu-plus): Rename from `calc-logunits-add'.
8048 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8049 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8050 (calc-lu-minus): Rename from `calc-logunits-sub'.
8051 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8052 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8053 (calc-lu-times): Rename from `calc-logunits-mul'.
8054 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8055 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8056 (calc-lu-divide): Rename from `calc-logunits-div'.
8057 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8058 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8059
8060 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8061 functions being autoloaded.
8062
8063 * calc/calc.el (calc-lu-power-reference): Rename from
8064 `calc-logunits-power-reference'.
8065 (calc-lu-field-reference): Rename from
8066 `calc-logunits-field-reference'.
8067
8068 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8069
8070 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * minibuffer.el (completion-all-sorted-completions):
8073 Use :completion-cycle-penalty text property if present.
8074
8075 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8076
8077 * allout.el (allout-yank-processing): Adjust for new rebulleting
8078 regime so bullet being yanked is used without prompting the user
8079 for a choice.
8080
8081 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
8082
8083 * startup.el (command-line): Warn the user that _emacs is deprecated.
8084
8085 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
8086
8087 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8088 (delphi-verbose, delphi-comment-face, delphi-string-face)
8089 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8090 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8091 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8092 (delphi-new-comment-line, delphi-font-lock-defaults)
8093 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8094 Fix typos in docstrings.
8095
8096 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8097
8098 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
8099 Invert the roles of character and string values for INSTEAD, so a
8100 string is used for the more common case of a defaulting prompt.
8101
8102 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * progmodes/ruby-mode.el (ruby-backward-sexp):
8105 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8106 * play/gamegrid.el (gamegrid-make-face):
8107 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8108 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8109 * notifications.el (notifications-notify):
8110 * net/xesam.el (xesam-search-engines):
8111 * net/quickurl.el (quickurl-list-insert):
8112 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8113
8114 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
8115
8116 * startup.el (command-line): Update package subdirectory regexp.
8117
8118 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8119
8120 * allout.el (allout-abbreviate-flattened-numbering)
8121 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8122
8123 * subr.el (read-char-choice): Only show the cursor after the prompt,
8124 not after the answer.
8125
8126 2011-03-15 Kevin Ryde <user42@zip.com.au>
8127
8128 * help-fns.el (variable-at-point): Skip leading quotes, if any
8129 (bug#8253).
8130
8131 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8134 warning message.
8135
8136 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
8137
8138 * shell.el (shell): When called interactively, offer to change the
8139 shell file name on remote hosts.
8140
8141 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8142
8143 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8144 integration for LDAP parameters. The host, base, user or binddn,
8145 and secret tokens can be specified in a netrc file, for instance.
8146 This is optional because an `auth-source' parameter must be
8147 specified in the search attributes.
8148
8149 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8152
8153 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8156 into declaration. Remove redundant and harmful binding.
8157
8158 2011-03-12 Eli Zaretskii <eliz@gnu.org>
8159
8160 * files.el (file-ownership-preserved-p): Pass `integer' as an
8161 explicit 2nd argument to `file-attributes'. If the file's owner
8162 is the Administrators group on Windows, and the current user is
8163 Administrator, consider that a match.
8164
8165 * server.el (server-ensure-safe-dir): Consider server directory
8166 safe on MS-Windows if its owner is the Administrators group while
8167 the current Emacs user is Administrator. Use `=' to compare
8168 numerical UIDs, since they could be integers or floats.
8169
8170 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
8171
8172 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8173
8174 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
8175
8176 Sync with Tramp 2.2.1.
8177
8178 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8179
8180 * net/trampver.el: Update release number.
8181
8182 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * progmodes/compile.el (compilation--previous-directory): Fix up
8185 various nil/dead-marker mismatches (bug#8014).
8186 (compilation-directory-properties, compilation-error-properties):
8187 Don't call it at a position past the one we're about to change.
8188
8189 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8190 Disable obsolescence warnings in the file that declares it.
8191
8192 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8193
8194 * allout-widgets.el (allout-widgets-tally):
8195 Initialize allout-widgets-tally as a hash table rather than nil to
8196 prevent mode-line redisplay warnings. Also, clarify the module
8197 description and fix a comment typo.
8198
8199 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * help-fns.el (describe-variable): Don't complete keywords.
8202 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8203
8204 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
8205
8206 * emacs-lisp/package.el (package-version-join): Impose a standard
8207 string representation for pre/alpha/beta version lists.
8208 (package-unpack-single): Standardize the directory name by passing
8209 it through package-version-join.
8210 (package-strip-rcs-id): Accept any version string that does not
8211 signal an error in version-to-list.
8212
8213 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
8214
8215 * simple.el (delete-trailing-whitespace): Return nil for the
8216 benefit of `write-file-functions'.
8217
8218 2011-03-10 Glenn Morris <rgm@gnu.org>
8219
8220 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8221
8222 * vc/vc-git.el (vc-git-program): New option.
8223 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8224 (vc-git--call): Use it.
8225
8226 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8227
8228 * cus-edit.el (Custom-newline): If no button at point, look
8229 for a subgroup button at start-of-line. (Bug#2298)
8230
8231 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8232
8233 2011-03-10 Julien Danjou <julien@danjou.info>
8234
8235 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8236 `cursor-type' is nil.
8237
8238 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8239
8240 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8241
8242 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8243
8244 * allout.el Summary: Change so yank of distinctive-bullet items
8245 preserves the existing header prefix, rebulleting it if necessary,
8246 rather than replacing it. This is necessary for proper operation
8247 of cooperative addons like allout-widgets.
8248 (allout-make-topic-prefix, allout-rebullet-heading): Change
8249 SOLICIT arg to INSTEAD, and interpret additionally a string value
8250 as alternate bullet to be used, instead of prompting the user for
8251 a bullet character.
8252
8253 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
8254
8255 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8256 Do not use `tramp-file-name-port', because this returns also
8257 `tramp-default-port'.
8258
8259 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8260
8261 * net/rcirc.el (rcirc-handler-001): Remove useless
8262 with-rcirc-process-buffer.
8263 (rcirc-check-auth-status): Swap arguments to string-match.
8264
8265 2011-03-09 Glenn Morris <rgm@gnu.org>
8266
8267 * shell.el (shell-mode):
8268 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8269
8270 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8271 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8272
8273 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
8274
8275 * emacs-lisp/package.el (package-refresh-contents)
8276 (package-menu-execute): Use condition-case-no-debug.
8277
8278 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
8279
8280 * simple.el (shell-command-to-string): Use `process-file'.
8281
8282 * emacs-lisp/package.el (package-tar-file-info): Handle also
8283 remote files.
8284
8285 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8286 Use `equal' for upload base check.
8287
8288 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8289
8290 * textmodes/texinfo.el (texinfo-environments):
8291 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8292
8293 2011-03-08 Glenn Morris <rgm@gnu.org>
8294
8295 * cus-start.el (cursor-in-non-selected-windows):
8296 Fix :set quoting oddness. (Bug#8192)
8297
8298 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8299 in some setf expressions. (Bug#2159)
8300
8301 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
8302
8303 * custom.el (custom-available-themes): Return themes in
8304 alphabetical order.
8305
8306 See ChangeLog.15 for earlier changes.
8307
8308 ;; Local Variables:
8309 ;; coding: utf-8
8310 ;; End:
8311
8312 Copyright (C) 2011 Free Software Foundation, Inc.
8313
8314 This file is part of GNU Emacs.
8315
8316 GNU Emacs is free software: you can redistribute it and/or modify
8317 it under the terms of the GNU General Public License as published by
8318 the Free Software Foundation, either version 3 of the License, or
8319 (at your option) any later version.
8320
8321 GNU Emacs is distributed in the hope that it will be useful,
8322 but WITHOUT ANY WARRANTY; without even the implied warranty of
8323 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8324 GNU General Public License for more details.
8325
8326 You should have received a copy of the GNU General Public License
8327 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.