* lisp/info.el (Info-following-node-name-re): Add newline to the list
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
feecf435
JL
12011-10-24 Juri Linkov <juri@jurta.org>
2
3 * info.el (Info-following-node-name-re): Add newline to the list
4 of allowed characters for leading space. (Bug#9824)
5
a3839de2
SM
62011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
9 * progmodes/octave-mod.el (octave-help): Remove.
10
09388e76
MA
112011-10-23 Michael Albinus <michael.albinus@gmx.de>
12
13 Sync with Tramp 2.2.3.
14
15 * net/tramp-cache.el (top): Pacify byte-compiler using
16 `init-file-user' and `site-run-file'.
17
18 * net/trampver.el: Update release number.
19
86c60681
CY
202011-10-23 Chong Yidong <cyd@gnu.org>
21
22 * files.el (toggle-read-only): Remove obsolete comment about
23 version control.
24
25 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
26 for toggle-read-only. Note that this hasn't called vc-next-action
27 since 2008-05-02, though it wasn't documented at the time.
28
a3839de2
SM
29 * vc/ediff-init.el (ediff-toggle-read-only-function):
30 Use toggle-read-only.
86c60681 31
cd5495ff
AM
322011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
33
34 Fix bug #9560, sporadic wrong indentation; improve instrumentation
35 of c-parse-state.
36
a3839de2
SM
37 * cc-engine.el (c-append-lower-brace-pair-to-state-cache):
38 correct faulty logical expression.
cd5495ff
AM
39 (c-parse-state-state, c-record-parse-state-state):
40 (c-replay-parse-state-state): New defvar/defuns.
41 (c-debug-parse-state): Use new functions.
42
42ee24ed
MR
432011-10-22 Martin Rudalics <rudalics@gmx.at>
44
45 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 46 last fix. Use window-in-direction correctly.
42ee24ed 47
a7dee7e7
CY
482011-10-21 Chong Yidong <cyd@gnu.org>
49
50 * progmodes/idlwave.el (idlwave-mode):
51 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
52 require-final-newline; that's done in prog-mode.
53 Suggested by Stefan Monnier.
a7dee7e7 54
e07b9a6d
MR
552011-10-21 Martin Rudalics <rudalics@gmx.at>
56
57 * mouse.el (mouse-drag-window-above)
58 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
59 (mouse-drag-mode-line-1, mouse-drag-header-line)
60 (mouse-drag-vertical-line-rightward-window): Remove.
61 (mouse-drag-line): New function.
62 (mouse-drag-mode-line, mouse-drag-header-line)
63 (mouse-drag-vertical-line): Call mouse-drag-line.
64 * window.el (window-at-side-p, windows-at-side): New functions.
65
7e1361d9
UM
662011-10-21 Ulrich Mueller <ulm@gentoo.org>
67
68 * tar-mode.el (tar-grind-file-mode):
69 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
70
30fcaf3a
CY
712011-10-21 Chong Yidong <cyd@gnu.org>
72
73 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
74 * progmodes/vera-mode.el (vera-mode):
75 Use mode-require-final-newline.
30fcaf3a 76
516eddb0
GM
772011-10-20 Glenn Morris <rgm@gnu.org>
78
79 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
80
10d5f513
CS
812011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
82
83 * emulation/cua-base.el (cua-set-mark): Fix case of string.
84
ac6c8639
CY
852011-10-20 Chong Yidong <cyd@gnu.org>
86
87 * emulation/cua-base.el (cua-mode):
88 * mail/footnote.el (footnote-mode):
89 * mail/mailabbrev.el (mail-abbrevs-mode):
90 * net/xesam.el (xesam-minor-mode):
91 * progmodes/bug-reference.el (bug-reference-mode):
92 * progmodes/cap-words.el (capitalized-words-mode):
93 * progmodes/compile.el (compilation-minor-mode)
94 (compilation-shell-minor-mode):
95 * progmodes/gud.el (gud-tooltip-mode):
96 * progmodes/hideif.el (hide-ifdef-mode):
97 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
98 * progmodes/subword.el (subword-mode):
99 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
100 * progmodes/which-func.el (which-function-mode):
101 * term/tvi970.el (tvi970-set-keypad-mode):
102 * term/vt100.el (vt100-wide-mode):
103 * textmodes/flyspell.el (flyspell-mode):
104 * textmodes/ispell.el (ispell-minor-mode):
105 * textmodes/nroff-mode.el (nroff-electric-mode):
106 * textmodes/paragraphs.el (use-hard-newlines):
107 * textmodes/refill.el (refill-mode):
108 * textmodes/reftex.el (reftex-mode):
109 * textmodes/rst.el (rst-minor-mode):
110 * textmodes/sgml-mode.el (html-autoview-mode)
111 (sgml-electric-tag-pair-mode):
112 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
113 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
114 * emulation/crisp.el (crisp-mode):
115 * emacs-lisp/eldoc.el (eldoc-mode):
116 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
117 minor mode behavior.
118
aa42ab43
JL
1192011-10-19 Juri Linkov <juri@jurta.org>
120
121 * descr-text.el (describe-char): Add #x2010 and #x2011 to
122 the list of hard-coded chars with escape-glyph face.
123
89400f1d
SM
1242011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
127
305c07f6
MA
1282011-10-19 Michael Albinus <michael.albinus@gmx.de>
129
130 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
131 running process.
132
13754b54
GM
1332011-10-19 Glenn Morris <rgm@gnu.org>
134
135 * vc/vc-bzr.el (vc-bzr-after-dir-status):
136 Ignore ignored files. (Bug#9726)
137
06e21633
CY
1382011-10-19 Chong Yidong <cyd@gnu.org>
139
140 Doc fix for minor modes, stating that an omitted argument enables
141 the mode unconditionally when called from Lisp.
142
143 * abbrev.el (abbrev-mode):
144 * allout.el (allout-mode):
145 * autoinsert.el (auto-insert-mode):
146 * autoarg.el (autoarg-mode, autoarg-kp-mode):
147 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
148 (global-auto-revert-mode):
149 * battery.el (display-battery-mode):
150 * composite.el (global-auto-composition-mode)
151 (auto-composition-mode):
152 * delsel.el (delete-selection-mode):
153 * desktop.el (desktop-save-mode):
154 * dired-x.el (dired-omit-mode):
155 * dirtrack.el (dirtrack-mode):
156 * doc-view.el (doc-view-minor-mode):
157 * double.el (double-mode):
158 * electric.el (electric-indent-mode, electric-pair-mode):
159 * emacs-lock.el (emacs-lock-mode):
160 * epa-hook.el (auto-encryption-mode):
161 * follow.el (follow-mode):
162 * font-core.el (font-lock-mode):
163 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
164 * help.el (temp-buffer-resize-mode):
165 * hilit-chg.el (highlight-changes-mode)
166 (highlight-changes-visible-mode):
167 * hi-lock.el (hi-lock-mode):
168 * hl-line.el (hl-line-mode, global-hl-line-mode):
169 * icomplete.el (icomplete-mode):
170 * ido.el (ido-everywhere):
171 * image-file.el (auto-image-file-mode):
172 * image-mode.el (image-minor-mode):
173 * iswitchb.el (iswitchb-mode):
174 * jka-cmpr-hook.el (auto-compression-mode):
175 * linum.el (linum-mode):
176 * longlines.el (longlines-mode):
177 * master.el (master-mode):
178 * mb-depth.el (minibuffer-depth-indicate-mode):
179 * menu-bar.el (menu-bar-mode):
180 * minibuf-eldef.el (minibuffer-electric-default-mode):
181 * mouse-sel.el (mouse-sel-mode):
182 * msb.el (msb-mode):
183 * mwheel.el (mouse-wheel-mode):
184 * outline.el (outline-minor-mode):
185 * paren.el (show-paren-mode):
186 * recentf.el (recentf-mode):
187 * reveal.el (reveal-mode, global-reveal-mode):
188 * rfn-eshadow.el (file-name-shadow-mode):
189 * ruler-mode.el (ruler-mode):
190 * savehist.el (savehist-mode):
191 * scroll-all.el (scroll-all-mode):
192 * scroll-bar.el (scroll-bar-mode):
193 * server.el (server-mode):
194 * shell.el (shell-dirtrack-mode):
195 * simple.el (auto-fill-mode, transient-mark-mode)
196 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
197 (line-number-mode, column-number-mode, size-indication-mode)
198 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
199 * strokes.el (strokes-mode):
200 * time.el (display-time-mode):
201 * t-mouse.el (gpm-mouse-mode):
202 * tool-bar.el (tool-bar-mode):
203 * tooltip.el (tooltip-mode):
204 * type-break.el (type-break-mode-line-message-mode)
205 (type-break-query-mode):
206 * view.el (view-mode):
207 * whitespace.el (whitespace-mode, whitespace-newline-mode)
208 (global-whitespace-mode, global-whitespace-newline-mode):
209 * xt-mouse.el (xterm-mouse-mode): Doc fix.
210
a3839de2
SM
211 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
212 Fix autogenerated docstring.
06e21633 213
5214e501
JL
2142011-10-19 Juri Linkov <juri@jurta.org>
215
216 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
217 by checking environment variables "DESKTOP_SESSION" and
218 "XDG_CURRENT_DESKTOP". (Bug#9779)
219
195f8db9
JL
2202011-10-19 Juri Linkov <juri@jurta.org>
221
222 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
223 (browse-url-chromium-program, browse-url-chromium-arguments):
224 New defcustoms.
225 (browse-url-default-browser): Check for `browse-url-chromium' and
226 call `browse-url-chromium-program'.
227 (browse-url-chromium): New command. (Bug#9779)
228
343a34ff
JB
2292011-10-18 Juanma Barranquero <lekktu@gmail.com>
230
231 * facemenu.el (list-colors-duplicates): On Windows, detect more
232 duplicates by assuming that only colors matching "^System" are
233 special "system colors". (Bug#9722)
234
6978a151
SM
2352011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
238 to distinguish the author from the committer.
239
6a80b297
MA
2402011-10-18 Michael Albinus <michael.albinus@gmx.de>
241
242 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
243
b31a5677
JK
2442011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
245
246 * international/mule.el (sgml-html-meta-auto-coding-function):
247 Add support for detecting encoding in HTML5 specified only as
248 <meta charset="UTF-8">. Implementation just makes http-equiv and
249 content-type parts from HTML4 encoding string optional. (Bug#9716)
250
80c6d77f
GM
2512011-10-18 Glenn Morris <rgm@gnu.org>
252
253 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
254
08b0fee8
CY
2552011-10-18 Chong Yidong <cyd@gnu.org>
256
257 * faces.el (cursor): Doc fix.
258
67e729a5
CY
2592011-10-17 Chong Yidong <cyd@gnu.org>
260
261 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
262
343a34ff 2632011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
264
265 * dirtrack.el (dirtrack): Support shell buffers with path
266 prefixes, e.g. tramp-based remote shells. (Bug#9647)
267
0bc06380
TZ
2682011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
269
270 * json.el: Bump version to 1.3 and note change in History.
271 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
272
8b79f3e0
SM
2732011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
274
5a7c536b
SM
275 * comint.el (comint-insert-input, comint-send-input)
276 (comint-get-old-input-default, comint-backward-matching-input)
277 (comint-next-prompt): Use nil instead of `input' for field property of
278 past user input (bug#114).
279
96a8a0df
SM
280 * minibuffer.el (completion--replace): Inherit surrounding properties
281 (bug#114).
282 (minibuffer-complete-and-exit): Use it.
283
8b79f3e0
SM
284 * comint.el (comint--table-subvert): Quote the all-completions output
285 (bug#9160).
286
b8f7ff0d
MR
2872011-10-17 Martin Rudalics <rudalics@gmx.at>
288
8b79f3e0 289 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 290
b8f7ff0d 291 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 292 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
293 entries and separate them from frame entries.
294
c235b555
GM
2952011-10-15 Glenn Morris <rgm@gnu.org>
296
297 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
298 Doc fixes.
299
6bbfa6e1
CY
3002011-10-15 Chong Yidong <cyd@stupidchicken.com>
301
8b79f3e0
SM
302 * net/network-stream.el (network-stream-open-starttls):
303 Improve detection of failure due to lack of TLS support.
ec5c990d 304
6bbfa6e1
CY
305 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
306 putting the input text in front and in bold.
307
98488977
SM
3082011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
309
3d1337be
SM
310 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
311
ee0b45e4
SM
312 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
313 empty buffer.
314
98488977
SM
315 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
316 unread-command-events rather than pushing yet-another event.
317
186f4720
EZ
3182011-10-14 Eli Zaretskii <eliz@gnu.org>
319
320 * mail/sendmail.el (sendmail-query-once): Improve the wording of
321 the explanation of the possible choices. Make the options passed
322 to completing-read shorter.
323
8b7a997c
AM
3242011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
325
326 * textmodes/flyspell.el (flyspell-large-region): Make sure
327 extended character mode is used if defined (Bug#1339).
328
12587bbb
EZ
3292011-10-13 Eli Zaretskii <eliz@gnu.org>
330
331 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
332 character info for LRE, LRO, RLE, and RLO characters by appending
333 an invisible PDF.
12587bbb 334
bad41229
SM
3352011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
338 even in case of error; add debug spec; simplify data flow.
339 (with-timeout-handler): Remove.
340
28dbc92f
MA
3412011-10-12 Michael Albinus <michael.albinus@gmx.de>
342
343 Fix Bug#6019, Bug#9315.
344
345 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
346 complete `buffer-file-name', the local file name part could look
347 remotely (for example on VMS).
348
349 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
350 `tramp-run-real-handler'.
351 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
352 already quoted by '"'.
353
354 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
355 Let `file-name-handler-alist' be nil, the local file name part
356 could look remotely (for example on VMS).
357
e1b0b23a
SM
3582011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
361 from here...
362 (flyspell-post-command-hook): ...to here.
363
a120bde9
SM
3642011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
365
366 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
367 if not needed.
368 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
369 using completion. Protect against "slow" callers.
370 Remove the "message hack".
371
7ce7717b
JL
3722011-10-11 Juri Linkov <juri@jurta.org>
373
374 * isearch.el (isearch-lazy-highlight-word): New variable.
375 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
376 Use it. (Bug#9727)
377
c02ee9d6
GM
3782011-10-11 Glenn Morris <rgm@gnu.org>
379
380 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
381 like f90-previous-statement does.
382
93e616fd 3832011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
384
1f190e73 385 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
386 only in interactive use, to avoid error.
387
af7b6078
SM
3882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * minibuffer.el (completion-file-name-table): Fix last change,
391 i.e. ignore normal errors but not the other ones.
392
0563dae9
MR
3932011-10-10 Martin Rudalics <rudalics@gmx.at>
394
395 * window.el (special-display-buffer-names)
396 (special-display-regexps): Remove some remnants of earlier
397 changes from doc-strings.
366ca7f3
MR
398 (quit-windows-on): New function.
399
400 * vc/vc.el (vc-revert, vc-rollback):
401 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
402 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 403 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 404
49677495
MR
4052011-10-09 Martin Rudalics <rudalics@gmx.at>
406
407 * window.el (frame-auto-hide-function): Add version tag.
408 (Bug#9699)
409
56f2d1e1
MA
4102011-10-09 Michael Albinus <michael.albinus@gmx.de>
411
412 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
413 condition.
414
112a6592
LL
4152011-10-09 Leo Liu <sdl.web@gmail.com>
416
417 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
418 (Bug#9701)
419
0812589b
GM
4202011-10-08 Glenn Morris <rgm@gnu.org>
421
422 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
423 before the first code statement zero indent. (Bug#9690)
424
b2b0776e
CY
4252011-10-08 Chong Yidong <cyd@stupidchicken.com>
426
427 * simple.el (count-words-region): Always count in the region.
428 Report the number of lines and characters too.
429 (count-words): New command, which counts in the buffer if the
430 region is inactive, as count-words-region used to.
431 (count-words--message): New function. Handle plurals.
432 (count-lines-region): Make it an alias for count-words-region.
433
434 * bindings.el (esc-map): Replace count-lines-region with
435 count-words-region.
436
c557cd6b
MR
4372011-10-08 Martin Rudalics <rudalics@gmx.at>
438
439 * window.el (window--delete): Delete dedicated frame
440 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 441 (switch-to-buffer): Fix doc-string typo.
c557cd6b 442
61a57ef4 4432011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
444
445 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
446
c3833279
CY
4472011-10-07 Chong Yidong <cyd@stupidchicken.com>
448
449 * bindings.el ([M-left],[M-right]): Bind to left-word and
450 right-word respectively.
451
21ce8245
GM
4522011-10-07 Glenn Morris <rgm@gnu.org>
453
454 * cus-start.el (debug-on-quit): Fix custom type.
455
6d823bb2
LMI
4562011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
457
0181e193
LMI
458 * subr.el (define-key-after): Clarify that the function is not
459 useful for non-menu keymaps.
460
6d823bb2
LMI
461 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
462
8e3459ce 4632011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
464
21ce8245 465 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 466 in current minibuffer (Fix bug with recursive minibuffers).
467
a1c2d21e
CY
4682011-10-06 Chong Yidong <cyd@stupidchicken.com>
469
470 * progmodes/gdb-mi.el (gdb): Doc fix.
471
5a4cf282
MR
4722011-10-05 Martin Rudalics <rudalics@gmx.at>
473
474 * window.el (frame-auto-hide-function): New option replacing
475 frame-auto-delete. Suggested by Stefan Monnier.
476 (window--delete): Call frame-auto-hide-function instead of
477 investigating frame-auto-delete.
c96111ea
MR
478 (window-point-1, set-window-point-1): New functions.
479 (window-in-direction, record-window-buffer, window-state-get-1)
480 (display-buffer-record-window): Use window-point-1 instead of
481 window-point.
482 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 483
9854542e
SM
4842011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
487
8943cfb0
GM
4882011-10-05 Glenn Morris <rgm@gnu.org>
489
490 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
491 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
492
647ab967
LL
4932011-10-05 Leo Liu <sdl.web@gmail.com>
494
495 * subr.el (read-char-choice): Fix argument to buffer-live-p which
496 works with buffer object.
497
3ddfbced
SM
4982011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * mpc.el (mpc-tool-bar-map): Add labels.
501
bdfa5dd2
GM
5022011-10-04 Glenn Morris <rgm@gnu.org>
503
504 * calendar/holidays.el (calendar-check-holidays): Doc fix.
505
0e2070b5
MR
5062011-10-04 Martin Rudalics <rudalics@gmx.at>
507
508 * window.el (window--delete): New function.
509 (frame-auto-delete): Resuscitate option.
510 (bury-buffer, replace-buffer-in-windows)
511 (quit-window): Rewrite using window--delete.
512 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
513 Pass display-buffer-mark-dedicated to window--display-buffer-2
514 (Bug#9639).
515
3dc61a09
SM
5162011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
517
915a9b64
SM
518 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
519 returns a list (bug#9554). Add remote file name completion.
520 * comint.el (comint--table-subvert): Curry and get quote&unquote
521 functions as arguments.
522 (comint--complete-file-name-data): Adjust call accordingly.
523 * pcomplete.el (pcomplete--table-subvert): Remove.
524 (pcomplete-completions-at-point): Use comint--table-subvert instead.
525
3dc61a09
SM
526 * minibuffer.el (completion-table-case-fold): Use currying.
527 (completion--styles-type, completion--cycling-threshold-type):
528 New constants.
529 (completion-styles, completion-category-overrides)
530 (completion-cycle-threshold): Use them.
531 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
532 completion-table-case-fold.
533
8ea0a993
SB
5342011-10-03 Stephen Berman <stephen.berman@gmx.net>
535
536 * minibuffer.el (completion-category-overrides): Fix type of styles
537 and add more user friendly tags (bug#9660).
538
8c24b7f6
SM
5392011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
540
541 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
542 (mule-input-method-string): New widget.
543 (default-input-method, language-info-custom-alist): Use it.
544
428fe61a
SM
5452011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
546
32c1fffd
SM
547 * pcomplete.el: Require comint.
548 (pcomplete--common-suffix): Remove.
549 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
550 (pcomplete--table-subvert): Sync with comint--table-subvert.
551 (pcomplete--entries): Use comint-completion-file-name-table.
552 * comint.el (comint-unquote-filename): Simplify.
553 (comint-completion-file-name-table): New function (bug#9616).
554 (comint--complete-file-name-data): Use it.
555
428fe61a
SM
556 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
557 (pcmpl-gnu-tar-buffer): Remove.
558 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
559 around. Make sure pcomplete-suffix-list is only changed temporarily.
560 Don't look inside the tar's file if it's too large.
428fe61a 561
04c52e2f
CY
5622011-10-01 Chong Yidong <cyd@stupidchicken.com>
563
ce3cefcc
CY
564 * cus-edit.el (custom-mode-map):
565 * epa.el (epa-key-list-mode-map):
566 * man.el (Man-mode-map):
567 * startup.el (splash-screen-keymap):
568 * simple.el (special-mode-map): Use scroll-up-command and
569 scroll-down-command.
570
571 * progmodes/idlw-help.el (idlwave-help-mode-map):
572 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
573 * net/newst-plainview.el (newsticker-mode-map):
574 * emulation/ws-mode.el (wordstar-mode-map):
575 * emulation/vi.el (vi-com-map):
576 * calc/calc-graph.el (calc-graph-show-dumb):
577 * term/sun.el (terminal-init-sun):
578 * term/ns-win.el (global-map):
579 * progmodes/grep.el (grep-mode-map):
580 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
581 * mail/rmail.el (rmail-mode-map):
582 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
583
04c52e2f
CY
584 * custom.el (custom-safe-themes, load-theme): Treat value of t for
585 custom-safe-themes as special.
586
79adf8c8
JD
5872011-10-01 Julien Danjou <julien@danjou.info>
588
589 * notifications.el (notifications-notify): Fix docstring.
590
63bd50d3
PS
5912011-10-01 Per Starbäck <per@starback.se>
592
593 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
594
199e4c7e
MR
5952011-09-30 Martin Rudalics <rudalics@gmx.at>
596
597 * startup.el (command-line-1): Fix last fix by inserting
598 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 599 (Bug#9605) and (Bug#9636)
199e4c7e 600
fe5f08dd
EZ
6012011-09-29 Eli Zaretskii <eliz@gnu.org>
602
603 * simple.el (line-move): If auto-hscroll-mode is disabled and the
604 window is hscrolled, move by logical lines. (Bug#9607)
605 (line-move-visual): Update the doc string to the above effect.
606
b5516bbd
MR
6072011-09-29 Martin Rudalics <rudalics@gmx.at>
608
ccee00c0
MR
609 * window.el (display-buffer-record-window): When WINDOW is the
610 selected window use `point' instead of `window-point'. (Bug#9626)
611
b5516bbd
MR
612 * startup.el (command-line-1): Use insert-before-markers when
613 inserting initial-scratch-message. (Bug#9605)
ccee00c0 614
b5516bbd
MR
615 * help.el (help-window): Remove variable.
616
52aa0014
GM
6172011-09-29 Glenn Morris <rgm@gnu.org>
618
619 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
620
df9a7357
JB
6212011-09-29 Juanma Barranquero <lekktu@gmail.com>
622
623 * descr-text.el (describe-char-categories): Accept category
624 descriptions more than one line long.
625
a8406c20
SM
6262011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
627
88d9610c
SM
628 * simple.el (delete-trailing-whitespace): Fix last change.
629
a5daf810
SM
630 * progmodes/perl-mode.el (perl-syntax-propertize-function):
631 Don't confuse "y => 3" as the beginning of a `y' operation.
632
a8406c20
SM
633 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
634 object has more than 4 slots (bug#9613).
635
a239d4e9
JB
6362011-09-28 Juanma Barranquero <lekktu@gmail.com>
637
638 * subr.el (with-output-to-temp-buffer):
639 * net/quickurl.el (quickurl, quickurl-browse-url):
640 Fix typos in docstrings.
641
693fbdb6
EZ
6422011-09-27 Eli Zaretskii <eliz@gnu.org>
643
644 * minibuffer.el (completion-styles)
645 (completion-category-overrides): Cross reference each other in doc
646 strings.
647
8b457e28
GM
6482011-09-27 Glenn Morris <rgm@gnu.org>
649
650 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
651 to split-string. (Bug#9606)
652
85a16208
LMI
6532011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
654
655 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
656 (bug#9615).
657
502f9ebd
CY
6582011-09-27 Chong Yidong <cyd@stupidchicken.com>
659
660 * emacs-lisp/package.el (list-packages): Fix echo area message.
661
7690bdea
LL
6622011-09-27 Leo Liu <sdl.web@gmail.com>
663
664 * ido.el (ido-read-internal): Accept cons cell HIST arg.
665
e2ee6f30
MA
6662011-09-25 Michael Albinus <michael.albinus@gmx.de>
667
668 * net/dbus.el (dbus-unregister-object): Don't release services for
669 registered signals. (Bug#9581)
670
f3f98342
TZ
6712011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
672
673 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
674 function that picks between cfengine 2 and 3 support
675 automatically. Update docs accordingly.
676
dd7aa8dd
KH
6772011-09-22 Kenichi Handa <handa@m17n.org>
678
679 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
680 ZERO.
681 (indian-itrans-v5-table-for-tamil): New variable.
682 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
683
3f2b07f8
KM
6842011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
685
686 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
687 that's true if the current command involved collapsing of text.
688 It's reset to false at the beginning of the next command.
689 (allout-post-command-business): Move the cursor to the beginning
690 of entry if the cursor is hidden and collapsing activity just
691 happened.
692
371d6a61
CY
6932011-09-24 Chong Yidong <cyd@stupidchicken.com>
694
695 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
696 tracking (Bug#9541).
697
2ac2721a
UJ
6982011-09-24 Ulf Jasper <ulf.jasper@web.de>
699
700 * net/newst-reader.el (newsticker-html-renderer)
701 (newsticker-show-news): Automatically
343a34ff
JB
702 load html rendering package if newsticker-html-renderer is set.
703 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
704 let-bound" and the error "Symbol's value as variable is void:
705 w3m-fill-column".
706
fac7ae53
MA
7072011-09-24 Michael Albinus <michael.albinus@gmx.de>
708
709 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
710 Release services only if they are defined. (Bug#9581)
711
e08b633b
RS
7122011-09-23 Richard Stallman <rms@gnu.org>
713
e488d29c
RS
714 * textmodes/paragraphs.el (forward-sentence): For backwards case,
715 distinguish start of paragraph from start of its text.
716
19c38752
RS
717 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
718
e08b633b
RS
719 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
720 (rmail-generate-viewer-buffer): Put that hook on view buffer.
721 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
722
0a39f27e
AS
7232011-09-23 Andreas Schwab <schwab@linux-m68k.org>
724
725 * international/mule-diag.el (mule-diag): Insert a newline after
726 each fontset description.
727
db4e950d
SM
7282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
729
730 * simple.el (delete-trailing-whitespace):
731 Document last change; simplify.
732
eca3f3ea
PW
7332011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
734
d68e189a
PW
735 * simple.el (delete-trailing-whitespace): Also delete
736 extra newlines at the end of the buffer.
737
eca3f3ea
PW
738 * textmodes/picture.el: Make motion commands obey shift-select-mode.
739 (picture-newline): Use forward-line so as to ignore fields.
740
01c157cc
SM
7412011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * subr.el (with-wrapper-hook): Fix edebug spec.
744
022de23e
LMI
7452011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
746
747 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
748 (bug#4538).
749
91683089
MA
7502011-09-23 Michael Albinus <michael.albinus@gmx.de>
751
eca3f3ea
PW
752 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
753 Fix nasty bug using wrong cached values.
91683089 754
5bdd6fa4
AM
7552011-09-23 Alan Mackenzie <acm@muc.de>
756
757 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
758
97adfb97
CY
7592011-09-23 Chong Yidong <cyd@stupidchicken.com>
760
761 * window.el (pop-to-buffer): Ensure right window is selected if we
762 chose another frame.
763
d4ef2b50
EZ
7642011-09-22 Eli Zaretskii <eliz@gnu.org>
765
766 * simple.el (what-cursor-position): Use get-char-property-change
767 and next-single-char-property-change, to be able to show display
768 properties that come from overlays as well as text properties.
769
72258fe5
CY
7702011-09-22 Chong Yidong <cyd@stupidchicken.com>
771
772 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
773
774 * cmuscheme.el (run-scheme, switch-to-scheme):
775 * cus-edit.el (customize-group, custom-buffer-create)
776 (customize-browse):
777 * info.el (info):
778 * shell.el (shell):
779 * mail/sendmail.el (mail):
780 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
781
8f098516
RS
7822011-09-22 Richard Stallman <rms@gnu.org>
783
784 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
785 move back only to line beg, don't move back over blank lines.
786
e74f1bb6
MA
7872011-09-22 Michael Albinus <michael.albinus@gmx.de>
788
789 * files.el (copy-directory): Set directory attributes only in case
790 they could be retrieved from the source directory. (Bug#9565)
791
bfeef8b6
DK
7922011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
793
794 * progmodes/hideshow.el (hs-looking-at-block-start-p)
795 (hs-find-block-beginning, hs-hide-level-recursive):
796 Ignore strings as well as comments. (Bug#9502)
797
7e423bb8
AS
7982011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
799
800 * progmodes/sql.el (sql-comint-postgres):
801 Convert port number to a string. (Bug#9566)
802
b4d72fcf
MR
8032011-09-22 Martin Rudalics <rudalics@gmx.at>
804
805 * window.el (quit-window): Undedicate window when switching to
806 previous buffer. Reported by Thierry Volpiatto
807 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
808 (special-display-popup-frame): When popping up a new frame reset
809 its previous buffers to nil. Simplify code.
b4d72fcf 810
a7b88dc6
MA
8112011-09-21 Michael Albinus <michael.albinus@gmx.de>
812
813 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
814 and process filter, as done also in `shell-command'.
815
cf4eacfd
MR
8162011-09-21 Martin Rudalics <rudalics@gmx.at>
817
eca3f3ea
PW
818 * window.el (set-window-buffer-start-and-point):
819 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
820 Volpiatto <thierry.volpiatto@gmail.com>.
821 (quit-window): Reword doc-string. Handle new format of
822 quit-restore parameter. Don't delete window if it has a
823 previous buffer we can show instead of the present one.
824 (display-buffer-record-window): Rewrite using a new format for
825 the quit-restore window parameter
826 (special-display-popup-frame, display-buffer-same-window)
827 (display-buffer-reuse-window, display-buffer-pop-up-frame)
828 (display-buffer-pop-up-window, display-buffer-use-some-window):
829 Adapt symbol passed to display-buffer-record-window.
830 * help.el (help-window-setup): Handle new format of quit-restore
831 parameter.
832
8d28cb95
SM
8332011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
834
94ab793f
SM
835 * faces.el (face-list): Fix docstring (bug#9564).
836
8d28cb95
SM
837 * window.el (display-buffer--action-function-custom-type):
838 Don't include internal functions in the Custom interface.
839
3820edeb
JL
8402011-09-20 Juri Linkov <juri@jurta.org>
841
842 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
843 (Info-forward-node, Info-backward-node, Info-next-preorder)
844 (Info-last-preorder): Use it. (Bug#9528)
845
5147931d
JL
8462011-09-20 Juri Linkov <juri@jurta.org>
847
848 * info.el (Info-last-preorder): Visit last menu item only when
849 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
850
cf499a1a
JD
8512011-09-20 Julien Danjou <julien@danjou.info>
852
853 * password-cache.el (password-cache-remove): Remove entries even if the
854 value is nil, so that password with a nil value (negative caching) is
855 possible to invalidate.
856
f84e2fe2
LM
8572011-09-20 Lawrence Mitchell <wence@gmx.li>
858
859 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
860 all whitespace around breakpoint. (Bug#9553)
861 (f90-find-breakpoint): Only break at whitespace inside a comment.
862
78054a46
SM
8632011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * minibuffer.el (completion-file-name-table): Keep track of errors.
866 (completion-table-with-predicate): Handle the case where pred1 is nil.
867 * pcomplete.el (pcomplete-completions-at-point): Simplify.
868
345083b2
SM
8692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
870
e24e27be
SM
871 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
872 (debugger-return-value): Signal an error if the debugging context does
873 not await any return value.
874
345083b2
SM
875 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
876 * image-mode.el (image-toggle-display-text)
877 (image-toggle-display-image): Stay away from evil `intangible'.
878
08d355e3
LL
8792011-09-19 Leo Liu <sdl.web@gmail.com>
880
881 * replace.el (occur-revert-arguments): Make it permanent-local.
882 (occur-mode): Don't call font-lock-defontify.
883
f01da43f
CY
8842011-09-19 Chong Yidong <cyd@stupidchicken.com>
885
886 * net/ldap.el (ldap-search-internal): Don't push empty search
887 result (Bug#9508).
888
b6072fa6
SM
8892011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
892
443d6696
MA
8932011-09-19 Michael Albinus <michael.albinus@gmx.de>
894
895 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
896 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
897
7cc6e154
JL
8982011-09-18 Juri Linkov <juri@jurta.org>
899
900 * buff-menu.el (Buffer-menu-mode-map):
901 * dired.el (dired-mode-map):
902 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
903 (lisp-interaction-mode-map):
904 * emacs-lisp/package.el (package-menu-mode-map):
905 * epa.el (epa-key-list-mode-map):
906 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
907 (menu-bar-options-menu):
908 * outline.el (outline-mode-menu-bar-map):
909 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
910 * vc/vc-dir.el (vc-dir-menu-map):
911 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
912 Capitalize non-function content words in menu item strings.
913
914 * dired.el (dired-mode-map): Add menu item for
915 `image-dired-dired-toggle-marked-thumbs'.
916
80302a81
JL
9172011-09-18 Juri Linkov <juri@jurta.org>
918
919 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
920 to `isearch-case-fold-search' and restore its original value
921 after the `isearch-mode' call.
922
46c5cf66
JL
9232011-09-18 Juri Linkov <juri@jurta.org>
924
925 * progmodes/grep.el (grep-process-setup): Don't check code for 1
926 because `zgrep' returns 1 for successful matches (bug#9226).
927
d18b513b
JL
9282011-09-18 Juri Linkov <juri@jurta.org>
929
930 * info.el (Info-extract-menu-node-name): Check the second match
931 for empty string (second test-case of bug#9528).
932 (Info-last-preorder): Let-bind `Info-history' to nil to not add
933 intermediate nodes to the history (first test-case of bug#9528).
934
72753f87
JL
9352011-09-18 Juri Linkov <juri@jurta.org>
936
937 * info.el (Info-mode-syntax-table): New variable.
938 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
939
c9384295
JL
9402011-09-18 Juri Linkov <juri@jurta.org>
941
942 * info.el (Info-file-supports-index-cookies): Increment
943 line-beginning-position's arg from 3 to 4 because makeinfo outputs
944 one more line for long file names (bug#4142).
945
d473dce8
CY
9462011-09-18 Chong Yidong <cyd@stupidchicken.com>
947
948 * newcomment.el (comment-normalize-vars): If prompting for
949 comment-start, set comment-start-skip too (Bug#8424).
950
2176854d
JB
9512011-09-18 Johan Bockgård <bojohan@gnu.org>
952
953 * icomplete.el: Fix previous fix of Bug#5849.
954 (icomplete-mode): Don't set completion-show-inline-help.
955 (icomplete-minibuffer-setup): Set completion-show-inline-help
956 locally during icompletion.
957
3aace4e4
CY
9582011-09-18 Chong Yidong <cyd@stupidchicken.com>
959
c940224f
CY
960 * woman.el (woman2-process-escapes): Don't delete unrecognized
961 escapes (Bug#7843).
962
3aace4e4
CY
963 * files.el (inhibit-first-line-modes-regexps): Add image files.
964 (hack-local-variables-prop-line): Return nil for malformed
965 prop-lines (Bug#9044).
966
710dec63
MA
9672011-09-18 Michael Albinus <michael.albinus@gmx.de>
968
969 * net/tramp.el (top): Don't require 'shell.
970 (tramp-methods): Fix docstring.
971 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
972 Return complete remote file name. Handle "smb" case.
973 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
974 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
975
976 * net/tramp-compat.el (top): Require 'shell.
977
978 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
979 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
980 `tramp-current-host'.
981 (tramp-get-remote-tmpdir): Remove.
982
983 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
984 `tramp-tmpdir' entries.
985 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
986 (tramp-smb-handle-file-attributes): Ignore errors.
987 (tramp-smb-wait-for-output): Check also for process end.
988
5d5ac8ec
LMI
9892011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
990
991 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
992 when sending QUIT (bug#9312).
993
8c0f49f0
CY
9942011-09-17 Chong Yidong <cyd@stupidchicken.com>
995
996 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
997 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
998 occur-mode-display-occurrence.
999 (occur-edit-mode): Add usage message.
1000 (occur-cease-edit): New command.
1001 (occur-after-change-function): Use text properties to find the
1002 position of the prefix text.
1003 (occur-engine): Set stickiness of prefix text properties.
1004
8f1383f7
GM
10052011-09-17 Glenn Morris <rgm@gnu.org>
1006
1007 * progmodes/etags.el (complete-tag):
1008 Fix call to completion-in-region. (Bug#9526)
1009
744ba0e3
JL
10102011-09-17 Juri Linkov <juri@jurta.org>
1011
1012 * textmodes/ispell.el (ispell-word): Add to the error message
1013 the word, ispell program name and current dictionary (bug#9121).
1014 (ispell-tex-arg-end): Capitalize "error" in the error message.
1015
d9bbf400
AS
10162011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1017
1018 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1019 check. (Bug#4251)
1020
8da11505
JL
10212011-09-17 Juri Linkov <juri@jurta.org>
1022
1023 * window.el (window-safe-min-height, window-safe-min-width):
1024 Fix typos (followup to bug#9522).
1025
a91adc7e
SJ
10262011-09-17 Sven Joachim <svenjoac@gmx.de>
1027
1028 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1029
064f328a
EZ
10302011-09-16 Eli Zaretskii <eliz@gnu.org>
1031
1032 * simple.el (line-move): If goal-column is set, move by logical
1033 lines, not by display lines. (Bug#971)
1034 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1035 to reflect the above change.
1036
e69df516
SM
10372011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * image.el (imagemagick-register-types): Use regexp-opt.
1040
cbb0f9ab
CY
10412011-09-15 Chong Yidong <cyd@stupidchicken.com>
1042
1043 * window.el (display-buffer-base-action): Rename from
1044 display-buffer-default-action. Make default value empty.
1045 (display-buffer-overriding-action): Convert to defvar.
1046 (display-buffer-fallback-action): New var.
1047
25322144
CY
10482011-09-15 Chong Yidong <cyd@stupidchicken.com>
1049
1050 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1051 declaration.
1052 (package--add-to-archive-contents): If there is a duplicate entry
1053 with an older version, remove it.
1054 (package-menu-mark-delete, package-menu-mark-install)
1055 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1056 (package-menu-mark-obsolete-for-deletion):
1057 Use package-menu-get-status instead of a regexp search.
25322144
CY
1058 (package-menu-get-status): Use tabulated-list-entry.
1059 (package-menu-mark-upgrades): New command.
d770725a 1060 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1061 (package-menu-execute): Do installation before deletion.
1062 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1063 instead of checking major-mode.
1064 (package-menu--find-upgrades): New function.
1065
7520339c
LMI
10662011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1067
1068 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1069 passwords in the log buffer.
65a046c4
LMI
1070 (smtpmail-process-filter): Update the process marker so that the
1071 "broken by peer" status message is inserted in the right place.
7520339c 1072
d3c30954
SM
10732011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1074
3fe48822
SM
1075 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1076 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1077 bibtex-completion-at-point-function.
1078 (bibtex-completion-at-point-function): Use them.
1079
1b8b3954
SM
1080 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1081
d3c30954
SM
1082 * mpc.el (mpc-constraints-tag-lookup): New function.
1083 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1084 also to browser "album|playlist".
1085
72779976
JL
10862011-09-14 Juri Linkov <juri@jurta.org>
1087
1088 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1089 (isearch-edit-string): Use length of `isearch-string' when
1090 `isearch-fail-pos' returns nil.
1091 (isearch-message): Remove duplicate code and call
1092 `isearch-fail-pos' with arg `t'.
1093
a0bf2bcd
CY
10942011-09-14 Chong Yidong <cyd@stupidchicken.com>
1095
17bb0a2d
CY
1096 * replace.el (occur-mode-goto-occurrence): Don't force using other
1097 window (Bug#9499).
1098
a0bf2bcd
CY
1099 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1100
f678e0b6
MR
11012011-09-14 Martin Rudalics <rudalics@gmx.at>
1102
1103 * window.el (display-buffer-window): Remove.
1104 (display-buffer-record-window): Use help-setup window parameter
1105 instead of variable display-buffer-window.
1106 (display-buffer-function, special-display-buffer-names)
1107 (special-display-function): Mention help-setup parameter instead
1108 of display-buffer-window in doc-string.
d3c30954
SM
1109 * help.el (help-window-setup): New argument help-window.
1110 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1111 Reword some messages.
1112 (with-help-window): Pass window used for displaying the buffer
1113 to help-window-setup. Don't set display-buffer-window.
1114
8e39b2e8
GM
11152011-09-13 Glenn Morris <rgm@gnu.org>
1116
1117 * emacs-lisp/debug.el (debugger-make-xrefs):
1118 Preserve point. (Bug#9462)
1119
85e9c04b
CY
11202011-09-13 Chong Yidong <cyd@stupidchicken.com>
1121
1122 * window.el (window-deletable-p): Use next-frame.
1123
1b36ed6a
MR
11242011-09-13 Martin Rudalics <rudalics@gmx.at>
1125
1126 * window.el (window-auto-delete): Remove.
1127 (window-deletable-p): Remove argument FORCE. Don't deal with
1128 dedicatedness and previous buffers.
1129 (switch-to-prev-buffer): Don't delete window.
1130 (delete-windows-on): Delete a window's frame if and only if the
1131 window is dedicated.
1132 (replace-buffer-in-windows): Delete buffer's window or frame if
1133 and only if window is dedicated.
1134 (quit-window): Handle quit-restore as before last change.
4d61f28d 1135 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1136
ef8ef9fb
CY
11372011-09-13 Chong Yidong <cyd@stupidchicken.com>
1138
1139 * window.el (window-deletable-p): Never delete the last frame on a
1140 given terminal.
1141
b2cba41e
GM
11422011-09-13 Glenn Morris <rgm@gnu.org>
1143
1144 * help.el (describe-key-briefly): Copy previous standard-output change.
1145
51553db6 11462011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1147
1148 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1149
b7556719
GM
11502011-09-13 Glenn Morris <rgm@gnu.org>
1151
1152 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1153 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1154
64b51947
CY
11552011-09-12 Chong Yidong <cyd@stupidchicken.com>
1156
1157 * dired-aux.el (dired-mark-read-string): Don't return default
1158 value on empty input (Bug#9361).
1159 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1160 Omit initial minibuffer contents.
1161 (dired-do-chmod): Signal an error on empty input.
1162 (dired-mark-read-string): Don't return default on empty input.
1163
1164 * files.el (file-modes-symbolic-to-number): Doc fix.
1165
393a301e
SM
11662011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * international/mule-cmds.el (ucs-completions): Remove.
1169 (read-char-by-name): Use complete-with-action instead; add metadata.
1170
fa5660f9
CY
11712011-09-11 Chong Yidong <cyd@stupidchicken.com>
1172
1173 * window.el (display-buffer--action-function-custom-type)
1174 (display-buffer--action-custom-type): New vars.
1175 (display-buffer-alist, display-buffer-default-action)
1176 (display-buffer-overriding-action): Add defcustom types.
1177
4a592f66
CY
1178 * frame.el (delete-other-frames): Doc fix (Bug#276).
1179
73d56dbd
LMI
11802011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1181
1182 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1183
37ac18a3
CY
11842011-09-11 Chong Yidong <cyd@stupidchicken.com>
1185
1186 Change modes that used same-window-* vars to use switch-to-buffer.
1187
1188 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1189 Use switch-to-buffer.
1190
1191 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1192 (customize-browse, custom-buffer-create-other-window):
1193 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1194
1195 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1196 (Info-prev, Info-up, Info-speedbar-goto-node)
1197 (info-display-manual): Use switch-to-buffer.
1198 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1199
1200 * mail/sendmail.el (mail): Use switch-to-buffer.
1201 (mail-recover): Use switch-to-buffer-other-window.
1202
1203 * cmuscheme.el (run-scheme, switch-to-scheme):
1204 * ielm.el (ielm):
1205 * shell.el (shell):
1206 * net/rlogin.el (rlogin):
1207 * net/telnet.el (telnet, rsh):
1208 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1209
10195bd6
AS
12102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1211
1212 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1213
b322f63a
LMI
12142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1215
39d7fed6
LMI
1216 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1217 so don't mention it (bug#9301).
ba5a81f1 1218 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1219
ee0e9f11
LMI
1220 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1221 match `x', `w32' and `ns', like the manual says (bug#9029).
1222
0b1c89c1 1223 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1224 (process-kill-buffer-query-function): Mention the buffer name in
1225 the query.
0b1c89c1 1226
77549ea8
LMI
1227 * image-mode.el (image-next-line): The line parameter is mandatory
1228 (bug#9258).
1229
803ef892
LMI
1230 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1231 which can be useful (bug#9301).
1232
12980837
LMI
1233 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1234
91054f8f
LMI
1235 * subr.el (match-string): Mention that the current buffer should
1236 be the same as the search was done in (bug#9282).
1237
b322f63a
LMI
1238 * facemenu.el: Disable the remove-* commands if the mark isn't
1239 active (bug#9162).
1240
3199b96f
CY
12412011-09-10 Chong Yidong <cyd@stupidchicken.com>
1242
1243 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1244 of display-buffer.
1245 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1246
1247 * replace.el (occur-mode-goto-occurrence)
1248 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1249 and display-buffer.
1250
1251 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1252 display-buffer.
1253
1254 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1255 special-display and same-window variables.
1256 (mail-other-window): Use switch-to-buffer-other-window.
1257 (mail-other-frame): USe switch-to-buffer-other-frame.
1258
393a301e
SM
1259 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1260 Use display-buffer-other-frame.
3199b96f
CY
1261 (gdb-display-gdb-buffer): Use pop-to-buffer.
1262
1263 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1264
1265 * progmodes/python.el: Don't set same-window-buffer-names.
1266
1267 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1268
1269 * window.el (display-buffer-alist): Add *Python*.
1270
8319e0bf
CY
12712011-09-10 Chong Yidong <cyd@stupidchicken.com>
1272
1273 * window.el (display-buffer-alist): Add entry for buffers
1274 previously handled same-window-*.
1275 (display-buffer-alist, display-buffer-default-action)
1276 (display-buffer-overriding-action): Mark as risky.
1277 (display-buffer-alist): Document action function changes.
1278 (display-buffer--same-window-action)
1279 (display-buffer--other-frame-action): New variables.
1280 (switch-to-buffer, display-buffer-other-frame): Use them.
1281 (display-buffer): Rename reuse-frame entry to reusable-frames.
1282 (display-buffer-reuse-selected-window): Function deleted.
1283 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1284 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1285 (display-buffer-special): New function.
1286 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1287 display-buffer-reuse-or-pop-window. Split off special-display
1288 part into display-buffer-special.
1289 (display-buffer-use-some-window): Don't perform any special
1290 pop-up-frames handling.
1291 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1292 (display-buffer--maybe-same-window): Rename from
0d3ff375 1293 display-buffer-maybe-same-window.
8319e0bf 1294
919a69aa
CY
1295 * info.el: Don't set same-window-regexps.
1296 (info-setup): New function.
1297 (info-other-window, info): Call it.
1298
1299 * cus-edit.el: Don't set same-window-regexps.
1300 (customize-group): New argument.
1301 (customize-group-other-window): Use it.
1302 (customize-face, customize-face-other-window): Likewise.
1303 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1304
8319e0bf
CY
1305 * net/rlogin.el:
1306 * net/telnet.el:
1307 * progmodes/gud.el: Don't set same-window-regexps.
1308
1309 * cmuscheme.el:
1310 * ielm.el:
1311 * shell.el:
1312 * mail/sendmail.el:
1313 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1314
25173000
JL
13152011-09-10 Juri Linkov <juri@jurta.org>
1316
1317 * isearch.el (isearch-edit-string): Remove obsolete mention of
1318 `C-w' (`isearch-yank-word-or-char') from docstring.
1319 (isearch-query-replace): Fix typo in docstring (bug#9466).
1320
056e44ef
JL
13212011-09-10 Juri Linkov <juri@jurta.org>
1322
1323 * paren.el (show-paren-function): Don't show escaped parens.
1324 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1325
c3760c17
EZ
13262011-09-10 Eli Zaretskii <eliz@gnu.org>
1327
1328 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1329 (mm-default-file-encoding): Remove autoload forms, they are
1330 replaced with autoload cookies in mml.el and mm-encode.el.
1331 (mail-add-attachment): New command.
1332 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1333 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1334 the doc string.
1335 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1336
fece895e
RT
13372011-09-10 Reuben Thomas <rrt@sc3d.org>
1338
e69df516
SM
1339 * simple.el (count-words-region): Use buffer if there's no region
1340 (bug#9429).
fece895e 1341
5e68ce4a
JL
13422011-09-09 Juri Linkov <juri@jurta.org>
1343
1344 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1345 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1346 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1347
0a6b9622
AM
13482011-09-09 Alan Mackenzie <acm@muc.de>
1349
1350 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1351 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1352
14a29deb
EZ
13532011-09-09 Eli Zaretskii <eliz@gnu.org>
1354
1355 Fix for Savannah bug#9392.
1356 * simple.el (mail-encode-mml): New defvar.
1357
1358 * mail/rmail.el (mail-encode-mml): Add a defvar.
1359 (rmail-enable-mime-composing): Default to t.
1360 (rmail-forward): Use MIME method of forwarding only if both
1361 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1362 Set mail-encode-mml non-nil if the MIME method was used.
1363
1364 * mail/sendmail.el (mml-to-mime): Add autoload form.
1365 (mail-encode-mml): Add a defvar.
1366 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1367 to nil.
1368 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1369 message through mml-to-mime, and reset mail-encode-mml to nil.
1370
28c45130
GM
13712011-09-09 Glenn Morris <rgm@gnu.org>
1372
1373 * woman.el (woman-if-body): When processing an .el block,
1374 do not delete the next .el block as well. (Bug#9447)
69f4b618 1375 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1376
9b1c252e
MR
13772011-09-08 Martin Rudalics <rudalics@gmx.at>
1378
1379 * window.el (window-deletable-p): Make sure window is live before
1380 invoking window-prev-buffers.
1381
567457e3
LL
13822011-09-08 Leo Liu <sdl.web@gmail.com>
1383
1384 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1385
97f05794
JL
13862011-09-08 Juri Linkov <juri@jurta.org>
1387
1388 * progmodes/compile.el (compilation-environment): Make it
1389 a defcustom (bug#8340).
1390
8b0874b5
MR
13912011-09-08 Martin Rudalics <rudalics@gmx.at>
1392
1393 * window.el (frame-auto-delete): Rename to window-auto-delete.
1394 Make it control auto-deletion of windows and/or frames.
1395 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1396 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1397 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1398 Rewrite handling of case when window/frame can be deleted.
1399 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1400 argument t. (Bug#9456)
8b0874b5 1401
4feb6e73
CY
14022011-09-07 Chong Yidong <cyd@stupidchicken.com>
1403
1404 * help-mode.el (help-mode): Restore autoload.
1405
91ab9c13
JL
14062011-09-07 Juri Linkov <juri@jurta.org>
1407
1408 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1409 `compilation-environment'. Set buffer-local
1410 `compilation-environment' to `thisenv' later after (funcall mode).
1411 (Bug#8340)
1412
1413 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1414 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1415 instead of replacing its value. (Bug#8340)
1416
0527e251
JL
14172011-09-07 Juri Linkov <juri@jurta.org>
1418
1419 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1420 based on text properties put by `grep-filter' instead of matching
1421 escape sequences.
1422 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1423 to the value of `grep-error-screen-columns' (bug#9438).
1424
249f792c
JL
14252011-09-07 Juri Linkov <juri@jurta.org>
1426
1427 * simple.el (next-error-highlight, next-error-highlight-no-select):
1428 Doc fix (bug#9432).
1429
ff7271b9
OT
14302011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1431
1432 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1433 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1434
183fc730
LL
14352011-09-07 Leo Liu <sdl.web@gmail.com>
1436
1437 * net/rcirc.el (rcirc-mode): Conditionally initialize
1438 rcirc-input-ring.
1439
77694924
SM
14402011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1441
1442 * emacs-lisp/find-func.el (find-function-C-source): Only set
1443 find-function-C-source-directory after checking that we found a source
1444 file there (bug#9440).
1445
d809b8eb
AM
14462011-09-06 Alan Mackenzie <acm@muc.de>
1447
1448 * isearch.el (isearch-other-meta-char): Wherever a key list is
1449 unread, "unread" the prefix arg, too. This fixes bug #8901.
1450
453de99f
OG
14512011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1452
1453 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1454
90439906
JL
14552011-09-05 Juri Linkov <juri@jurta.org>
1456
1457 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1458
f62bd846
JL
14592011-09-05 Juri Linkov <juri@jurta.org>
1460
1461 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1462 keeping point where processing of grep matches begins, and
1463 continue to delete remaining escape sequences from the same point.
1464 (grep-filter): Make leading zero optional in "0?1;31m" because
1465 git-grep emits "\033[1;31m" escape sequences unlike expected
1466 "\033[01;31m" as GNU Grep does (bug#9408).
1467 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1468
045820ec
JL
14692011-09-05 Juri Linkov <juri@jurta.org>
1470
1471 * subr.el (y-or-n-p): Capitalize "yes".
1472
f5e29b9b
MA
14732011-09-04 Michael Albinus <michael.albinus@gmx.de>
1474
1475 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1476 `tramp-cache-unload-hook' where appropriate.
1477 (tramp-methods): Rename `tramp-remote-sh' to
1478 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1479 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1480
1481 * net/tramp-sh.el (top): Don't require 'shell.
1482 (tramp-methods): Add `tramp-remote-shell' and
1483 `tramp-remote-shell-args' entries.
1484 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1485 (tramp-sh-handle-shell-command): Remove.
1486 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1487 Use `tramp-remote-shell'.
1488
2784c434
CY
14892011-09-03 Chong Yidong <cyd@stupidchicken.com>
1490
393a301e 1491 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1492 (sendmail-query-once): Save directly to send-mail-function.
1493 Update message-send-mail-function too.
1494
1495 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1496
464cdf56
CS
14972011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1498
1499 * progmodes/python.el (python-mode-map): Use correct function to
1500 start python interpreter from menu-bar (as reported by Geert
1501 Kloosterman).
1502 (inferior-python-mode-map): Fix typo.
393a301e 1503 (python-shell-map): Remove.
464cdf56 1504
d37e5c87
DD
15052011-09-03 Deniz Dogan <deniz@dogan.se>
1506
1507 * net/rcirc.el (rcirc-print): Simplify code for
1508 rcirc-scroll-show-maximum-output. There is no need to walk
1509 through all windows to find the right one.
1510
f3ada0ee
CS
15112011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1512
1513 * help.el (help-return-method): Doc fix.
1514
1f3c99ca
MR
15152011-09-03 Martin Rudalics <rudalics@gmx.at>
1516
1517 * window.el (window-deletable-p): Don't return a non-nil value
1518 when there's a buffer that was shown in the window before.
1519 (Bug#9419)
393a301e
SM
1520 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1521 Set window's previous buffers to nil.
1f3c99ca 1522
a3cf097f
EZ
15232011-09-03 Eli Zaretskii <eliz@gnu.org>
1524
1525 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1526 newline before and after the tag line, so it doesn't interfere
1527 with determining the paragraph direction of bidirectional text.
1528
3d03de90
LL
15292011-09-03 Leo Liu <sdl.web@gmail.com>
1530
1531 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1532
c3313451
CY
15332011-09-02 Chong Yidong <cyd@stupidchicken.com>
1534
393a301e 1535 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1536 (pop-to-buffer): Change interactive spec. Pass second argument
1537 directly to display-buffer.
1538 (display-buffer): Fix interactive spec. Use functionp to
1539 distinguish between a function and a list of functions.
1540
1541 * abbrev.el (edit-abbrevs):
1542 * arc-mode.el (archive-extract):
1543 * autoinsert.el (auto-insert):
1544 * bookmark.el (bookmark-bmenu-list):
1545 * files.el (find-file):
1546 * view.el (view-buffer):
1547 * progmodes/compile.el (compilation-goto-locus):
1548 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1549
89894cd8
CY
15502011-09-02 Chong Yidong <cyd@stupidchicken.com>
1551
1552 * window.el (display-buffer-alist): Doc fix.
1553 (display-buffer): Add docstring. Don't treat
1554 display-buffer-default specially.
1555 (display-buffer-reuse-selected-window)
1556 (display-buffer-same-window, display-buffer-maybe-same-window)
1557 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1558 (display-buffer-pop-up-window)
1559 (display-buffer-reuse-or-pop-window)
1560 (display-buffer-use-some-window): New functions.
1561 (display-buffer-default-action): Use them.
393a301e 1562 (display-buffer-default): Delete.
89894cd8
CY
1563 (pop-to-buffer-1): Fix choice of actions.
1564
ae0bc9fb
SM
15652011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * minibuffer.el (completion--insert-strings): Don't get confused by
1568 completion entries that end with an LF char.
1569
e9d90883
EZ
15702011-09-01 Eli Zaretskii <eliz@gnu.org>
1571
1572 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1573
437014c8
CY
15742011-09-01 Chong Yidong <cyd@stupidchicken.com>
1575
1576 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1577 (display-buffer-same-window, display-buffer-other-window):
1578 New functions.
437014c8
CY
1579 (pop-to-buffer-1): New function. Use the above.
1580 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1581 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1582
1583 * view.el (view-buffer-other-window, view-buffer-other-frame):
1584 Just use pop-to-buffer.
1585
a5e063d5
TV
15862011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1587
1588 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1589
793d32bb
WH
15902011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1591
1592 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1593
d65e4c15
RS
15942011-08-31 Richard Stallman <rms@gnu.org>
1595
1596 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1597 of the separation of rmail-view-buffer from rmail-buffer.
1598 If you say no to "replace original", the decrypt is in the
1599 view buffer. If you say yes, the decrypt goes into the
1600 rmail buffer also.
1601
f818cd2a
MR
16022011-08-31 Martin Rudalics <rudalics@gmx.at>
1603
1604 * window.el (display-buffer-window): Rewrite doc-string.
1605 (display-buffer-record-window): New function.
1606 (display-buffer-macro-specifiers)
1607 (display-buffer-even-window-sizes, display-buffer-set-height)
1608 (display-buffer-set-width, display-buffer-in-window)
1609 (display-buffer-reuse-window, display-buffer-split-specifiers)
1610 (display-buffer-side-specifiers, display-buffer-split-window-1)
1611 (display-buffer-split-window, display-buffer-split-atom-window)
1612 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1613 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1614 (display-buffer-other-window-means-other-frame)
1615 (display-buffer-normalize-special)
1616 (display-buffer-normalize-default)
1617 (display-buffer-normalize-argument)
1618 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1619 (display-buffer-normalize-specifiers, display-buffer-frame)
1620 (display-buffer-same-window, display-buffer-same-frame)
1621 (display-buffer-other-window)
1622 (display-buffer-same-frame-other-window)
1623 (display-buffer-other-frame, pop-to-buffer-same-window)
1624 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1625 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1626 (switch-to-buffer-same-frame)
1627 (switch-to-buffer-other-window-same-frame)
1628 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1629 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1630 (display-buffer-alist-set): Remove.
1631 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1632 (special-display-regexps, special-display-function):
1633 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1634 parameter.
1635 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1636 (special-display-frame-alist, special-display-popup-frame)
1637 (same-window-buffer-names, same-window-regexps, same-window-p)
1638 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1639 (split-window-preferred-function, split-height-threshold)
1640 (split-width-threshold, window-splittable-p)
1641 (split-window-sensibly, window--try-to-split-window)
1642 (window--frame-usable-p, even-window-heights)
1643 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1644 (window--display-buffer-2, display-buffer-other-frame):
1645 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1646 (display-buffer-default, display-buffer-assq-regexp): New functions.
1647 (display-buffer-alist): Rewrite doc-string.
1648 (display-buffer-default-action)
1649 (display-buffer-overriding-action): New variables.
1650 (display-buffer, switch-to-buffer): Rewrite.
1651 (pop-to-buffer): Restore Emacs 23 behavior but use
1652 window-normalize-buffer-to-display.
1653 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1654 Restore Emacs 23 behavior but use
1655 window-normalize-buffer-to-switch-to.
1656 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1657 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1658 Rewrite using Emacs 23 options.
f818cd2a 1659
5bc3b51d
MA
16602011-08-31 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp.el (tramp-root-regexp): Remove.
1663 (tramp-completion-file-name-regexp-unified)
1664 (tramp-completion-file-name-regexp-separate)
1665 (tramp-completion-file-name-regexp-url): Don't use leading volume
1666 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1667 (tramp-drop-volume-letter): Simplify definition.
1668 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1669
b1a4f8e1
SM
16702011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1673 (bug#9356).
1674
5664fa7b
RT
16752011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1676
b1a4f8e1 1677 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1678
9a45d6c3
JL
16792011-08-29 Juri Linkov <juri@jurta.org>
1680
1681 * isearch.el (isearch-done): Don't display message "Mark saved"
1682 when arg `edit' is non-nil to prevent its flicker in the echo area.
1683
fb87e0fb
CY
16842011-08-28 Chong Yidong <cyd@stupidchicken.com>
1685
1686 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1687 obsolete packages for deletion.
1688
09ac1c2a
CS
16892011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1690
1691 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1692 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1693 view-mode from help-mode.
1694 (help-xref-override-view-map): Remove.
1695 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1696 view-mode is not used anymore.
1697
7a1ff57f
CY
16982011-08-28 Chong Yidong <cyd@stupidchicken.com>
1699
1700 * server.el (server-port): Doc fix.
1701
b9696605
CY
1702 * cus-theme.el (custom-theme-choose-mode): Inherit from
1703 special-mode (Bug#9124).
1704 (custom-theme-choose-mode-map): Add special-mode to parent.
1705
ef8cdf8c
AM
17062011-08-28 Alan Mackenzie <acm@muc.de>
1707
1708 * progmodes/cc-fonts.el
1709 (c-make-font-lock-BO-decl-search-function): New function.
1710 (c-basic-matchers-after - "Fontify the clauses after various
1711 keywords"): Extract the three keyword lists for the 3 erroneous
1712 constructs from the list of four, and use the new function above
1713 in place of an old one.
1714
27de4e20
DD
17152011-08-28 Deniz Dogan <deniz@dogan.se>
1716
1717 * net/rcirc.el (rcirc-insert-prev-input)
1718 (rcirc-insert-next-input): Remove unused argument.
1719
356a3681
SM
17202011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1723
3fc9b218
AM
17242011-08-27 Alan Mackenzie <acm@muc.de>
1725
1726 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1727 handle function pointer parameters properly.
1728
538a061c
MR
17292011-08-27 Martin Rudalics <rudalics@gmx.at>
1730
1731 * window.el (display-buffer-reuse-window): Fix case where
1732 selected window was reused with non-nil OTHER-WINDOW argument.
1733 (Bug#9381)
1734
35b1c40c
DD
17352011-08-27 Deniz Dogan <deniz@dogan.se>
1736
1737 * net/rcirc.el (rcirc-check-auth-status): Adding support for
1738 oftc's NickServ messages.
1739
2f6a3e79
GM
17402011-08-27 Glenn Morris <rgm@gnu.org>
1741
1742 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
1743
7254299e
CY
17442011-08-26 Chong Yidong <cyd@stupidchicken.com>
1745
1746 * emacs-lisp/package.el (package-install): Call package-initialize
1747 if called interactively.
1748
f8ccf167
LL
17492011-08-26 Leo Liu <sdl.web@gmail.com>
1750
1751 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
1752
3e8cd5ce
JL
17532011-08-25 Juri Linkov <juri@jurta.org>
1754
1755 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1756 `search-whitespace-regexp' (bug#9364).
1757
93eb7113
JL
17582011-08-25 Juri Linkov <juri@jurta.org>
1759
1760 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1761 `regexp-search-ring' to their global values to protect from
1762 updating by `read-from-minibuffer' (bug#9185).
1763
f65d1611
JL
17642011-08-25 Juri Linkov <juri@jurta.org>
1765
1766 * textmodes/ispell.el (ispell-command-loop): Add newline
1767 at the end of the "Use option `i'..." line.
1768
f1cf7a31
JL
17692011-08-25 Juri Linkov <juri@jurta.org>
1770
1771 * battery.el (display-battery-mode): If `battery-status-function'
1772 or `battery-mode-line-format' is nil, display the message and set
1773 `display-battery-mode' to nil (bug#9363).
1774
0c95fcf7
EZ
17752011-08-25 Eli Zaretskii <eliz@gnu.org>
1776
1777 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1778 bidi-string-mark-left-to-right; they are unnecessary now.
1779
a2ebe600
DD
17802011-08-25 Deniz Dogan <deniz@dogan.se>
1781
1782 * net/quickurl.el: Documentation typo fixes.
1783
e4ed06f1
CY
17842011-08-25 Chong Yidong <cyd@stupidchicken.com>
1785
1786 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1787
e5f1c99e
GM
17882011-08-25 Glenn Morris <rgm@gnu.org>
1789
b2948976
GM
1790 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1791
e5f1c99e
GM
1792 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1793 (smtpmail-via-smtp): Handle nil response from smtp.
1794
f22f4808
JL
17952011-08-24 Juri Linkov <juri@jurta.org>
1796
1797 * proced.el (proced-marked): Inherit from `error' instead of
1798 `font-lock-warning-face'.
1799
1800 * ibuffer.el (ibuffer-marked-face): Change default face from
1801 `font-lock-warning-face' to `warning'.
1802 (ibuffer-deletion-face): Change default face from
1803 `font-lock-type-face' to `error'.
1804
1805 * battery.el (battery-update): Use the face `error' instead of
1806 `font-lock-warning-face' (bug#6117).
1807
6a93965e
JL
18082011-08-24 Juri Linkov <juri@jurta.org>
1809
1810 * faces.el (success): Change face color from "Green3" to
1811 "ForestGreen" on light background (bug#9353).
1812
1ed43b09
CY
18132011-08-24 Chong Yidong <cyd@stupidchicken.com>
1814
5664fa7b
RT
1815 * window.el (quit-window): Rename from quit-restore-window.
1816 Use same arglist as old quit-window.
1ed43b09
CY
1817 (frame-auto-delete): Doc fix.
1818
1819 * view.el (view-mode-exit): Use quit-window.
1820
11dcdbb2
JL
18212011-08-24 Juri Linkov <juri@jurta.org>
1822
1823 * isearch.el (isearch-ring-adjust1): Start visiting previous
1824 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1825 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
1826 for empty search string (when the last search string is reused
1827 automatically) to adjust the isearch ring to the last element and
1828 prepare the correct index for further M-p commands (bug#9185).
1829
de62b4df
KH
18302011-08-24 Kenichi Handa <handa@m17n.org>
1831
1832 * international/ucs-normalize.el: If decomposition property of
1833 CHAR is the default one (i.e. a list of CHAR itself), treat it as
1834 nil.
1835 (nfd, nfkd): Likewise.
1836
963b492b
SM
18372011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
1840 from process filters aren't reliably transmitted to the surrounding
1841 accept-process-output.
1842 (mpc-proc-check): New function.
1843 (mpc-proc-sync): Use it (bug#8293)
1844
93b6b5e1
SM
18452011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1846
1847 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
1848 Add compatibility functions (bug#9313).
1849
bca633fb
EZ
18502011-08-23 Eli Zaretskii <eliz@gnu.org>
1851
b177498a
EZ
1852 * cus-start.el (all): Add entry for bidi-paragraph-direction.
1853
bca633fb
EZ
1854 * international/uni-bidi.el: Regenerated.
1855
0902a04e
KH
18562011-08-23 Kenichi Handa <handa@m17n.org>
1857
1858 * international/charprop.el:
1859 * international/uni-bidi.el:
1860 * international/uni-category.el:
1861 * international/uni-combining.el:
1862 * international/uni-comment.el:
1863 * international/uni-decimal.el:
1864 * international/uni-decomposition.el:
1865 * international/uni-digit.el:
1866 * international/uni-lowercase.el:
1867 * international/uni-mirrored.el:
1868 * international/uni-name.el:
1869 * international/uni-numeric.el:
1870 * international/uni-old-name.el:
1871 * international/uni-titlecase.el:
1872 * international/uni-uppercase.el: Regenerate.
1873
3bbf23bc
MR
18742011-08-23 Martin Rudalics <rudalics@gmx.at>
1875
1876 * help.el (help-window-setup): Fix message displayed when other
1877 window is reused. (Bug#9341)
1878
b3fd59bd
SM
18792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1802e444
SM
1881 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
1882 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
1883
b3fd59bd
SM
1884 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
1885 Mark obsolete.
1886 * shell.el (shell-parse-pcomplete-arguments): New function.
1887 (shell-completion-vars): Use it instead (bug#9160).
1888
4eb61348
SM
18892011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1890
867cab74
SM
1891 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
1892 strings and comments (bug#9333).
1893
4eb61348
SM
1894 * emacs-lisp/debug.el (debug-arglist): New function.
1895 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
1896 (debug-on-entry-1): Handle interpreted closures (bug#9120).
1897
262a1439
JL
18982011-08-22 Juri Linkov <juri@jurta.org>
1899
56ee679c
JL
1900 * progmodes/compile.el (compilation-mode-font-lock-keywords):
1901 Revert regexp that highlights output switches to its old
1902 pre-2010-10-28 value and remove one `?' from it (bug#9319).
1903
262a1439
JL
1904 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
1905 to check for empty output (bug#9226).
1906
f13f86fb
CY
19072011-08-22 Chong Yidong <cyd@stupidchicken.com>
1908
1909 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
1910 symbol-constituent as the default, as that stops font-lock from
1911 working properly (Bug#8843).
1912
c65c9622
LMI
19132011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1914
1915 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
1916 `coding-system-for-*' around the process open call to avoid
1917 auth-source side effects.
e7f2c178 1918 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
1919 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
1920 probe hangs.
c65c9622 1921
23a8a5ab
CY
19222011-08-21 Chong Yidong <cyd@stupidchicken.com>
1923
ff98b2dd
CY
1924 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
1925
23a8a5ab
CY
1926 * emacs-lisp/find-func.el (find-function-noselect): New arg
1927 lisp-only.
1928
1929 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
1930 signal an error for built-in functions (Bug#6664).
1931
f5e3c598
LMI
19322011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1933
1934 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
1935 (smtpmail-try-auth-methods): Use it.
1936
a3f2468a
CY
19372011-08-21 Chong Yidong <cyd@stupidchicken.com>
1938
2c34e8da
CY
1939 * font-lock.el (font-lock-fontify-region)
1940 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
1941 (font-lock-default-unfontify-buffer)
1942 (font-lock-default-fontify-region)
1943 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
1944
b3fd59bd
SM
1945 * progmodes/compile.el (compilation-error-properties):
1946 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
1947 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
1948 `ant' regexp.
ee31aabc 1949
a3f2468a
CY
1950 * net/browse-url.el (browse-url-firefox): Don't call
1951 browse-url-firefox-sentinel unless using -remote (Bug#9328).
1952
8e999f70
GM
19532011-08-20 Glenn Morris <rgm@gnu.org>
1954
c21a496a
GM
1955 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
1956
59ee0542
GM
1957 * tutorial.el (tutorial--default-keys): Update some default bindings.
1958
8e999f70
GM
1959 * files.el (hack-local-variables): Fully ignore case for "mode:".
1960
e3715033
AM
19612011-08-20 Alan Mackenzie <acm@muc.de>
1962
1963 Resolve invalid use of a regexp in regexp-opt.
1964
4d61f28d
JB
1965 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
1966 detection for a java annotation.
e3715033 1967
4d61f28d 1968 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
1969 detection for a java annotation.
1970
4d61f28d
JB
1971 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
1972 handling for java.
e3715033
AM
1973 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
1974
04ed2e9c
CY
19752011-08-20 Chong Yidong <cyd@stupidchicken.com>
1976
1977 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
1978 (Bug#9274).
1979
826cee64
AM
19802011-08-20 Alan Mackenzie <acm@muc.de>
1981
1982 * Fontify CPP expressions correctly when starting in the middle of
1983 such a construct. Mainly for when jit-lock etc. starts a chunk
1984 here.
1985
1986 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
1987 variable.
1988 (c-make-font-lock-search-form): new function, extracted from
1989 c-make-font-lock-search-function.
1990 (c-make-font-lock-search-function): Use the above function.
1991 (c-make-font-lock-context-search-function): New function.
1992 (c-cpp-matchers): Enhance the preprocessor expression case with
1993 the above function
1994 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
1995 which takes an expression.
1996
1997 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
1998
13009bd8
MR
19992011-08-20 Martin Rudalics <rudalics@gmx.at>
2000
2001 * window.el (display-buffer-reuse-window)
2002 (display-buffer-pop-up-window): Don't reuse or split a side
2003 window.
2004
9234ff7f
GM
20052011-08-19 Glenn Morris <rgm@gnu.org>
2006
2007 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2008 Downcase "Mode:". (Bug#9331)
9234ff7f 2009
f635daa1
CY
20102011-08-18 Chong Yidong <cyd@stupidchicken.com>
2011
2012 * international/characters.el: Add L and R categories.
2013
2014 * subr.el (bidi-string-mark-left-to-right): Rename from
2015 string-mark-left-to-right. Use category search.
2016
2017 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2018
bc987f8b
JL
20192011-08-18 Juri Linkov <juri@jurta.org>
2020
2021 * faces.el (error, warning, success): New faces with definitions
2022 copied from old default values of `font-lock-warning-face',
2023 `compilation-warning', `compilation-info' (bug#6117).
2024
2025 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2026
2027 * progmodes/compile.el (compilation-error): Inherit from `error'.
2028 (compilation-warning): Inherit from `warning'.
2029 (compilation-info): Inherit from `success'.
2030
2031 * dired.el (dired-marked): Inherit from `warning'.
2032 (dired-flagged): Inherit from `error'.
2033
57173b96
LMI
20342011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2035
3e79eb87
LMI
2036 * mail/smtpmail.el (auth-source): Require to avoid problems with
2037 binding variables (bug#9298). Also clean up some unused
2038 autoloads.
2039
b3fd59bd
SM
2040 * net/network-stream.el (network-stream-open-starttls):
2041 Support using starttls.el without using gnutls-cli.
57173b96 2042
02b404de
JL
20432011-08-17 Juri Linkov <juri@jurta.org>
2044
2045 * progmodes/grep.el (rgrep): Handle the case when
2046 `grep-find-command' is a cons cell (bug#9278).
2047
8c9177f2
MR
20482011-08-17 Martin Rudalics <rudalics@gmx.at>
2049
2050 * window.el (display-buffer-pop-up-frame): Run frame creation
2051 function with BUFFER current (as special-display-popup-frame
2052 does). Reported by Drew Adams.
2053
3644a0ab
DU
20542011-08-17 Daiki Ueno <ueno@unixuser.org>
2055
2056 * epa-mail.el: Simplify GnuPG group expansion using
2057 epg-expand-group.
2058 (epa-mail-group-alist, epa-mail-group-modtime)
2059 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2060 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2061 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2062 Remove.
2063
5e617bc2 20642011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2065
2066 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2067
9c4aeabf
AM
20682011-08-16 Alan Mackenzie <acm@muc.de>
2069
2070 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2071 Correct, to avoid the inside of macros.
2072
3a99bf64
RS
20732011-08-16 Richard Stallman <rms@gnu.org>
2074
04963aa8
RS
2075 * epa-mail.el: Handle GnuPG group definitions.
2076 (epa-mail-group-alist, epa-mail-group-modtime)
2077 (epa-mail-gnupg-conf-file): New variables.
2078 (epa-mail-parse-groups, epa-mail-sync-groups)
2079 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2080 (epa-mail-expand-recipients): New functions.
2081 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2082
177549d0
RS
2083 * mail/rmail.el (rmail-epa-decrypt): New command.
2084
fe38beef
RS
2085 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2086 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2087 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2088 (epa-decrypt-armor-in-region): Make error message clearer.
2089
934eacb9
SM
20902011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2093 and "a2b" to "ab" for `prefix'.
2094
d024fb4e
CY
20952011-08-14 Chong Yidong <cyd@stupidchicken.com>
2096
2097 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2098 filter groups.
de148fee
CY
2099 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2100 Fourquet (Bug#8804).
d024fb4e 2101
62f1ca49
JB
21022011-08-12 Juanma Barranquero <lekktu@gmail.com>
2103
2104 * startup.el (argi): Declare as global variable (bug#9275).
2105
9ccaaa4b
CY
21062011-08-12 Chong Yidong <cyd@stupidchicken.com>
2107
2108 * subr.el (string-mark-left-to-right): Search the entire string
2109 for RTL script, not just the terminating character. Doc fix.
2110
a3dae87a
SM
21112011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2112
6cd18349
SM
2113 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2114 New function.
2115 (js--regexp-literal, js-syntax-propertize-function): Remove.
2116 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2117 (js-mode-map): Don't rebind electric keys.
2118 (js-insert-and-indent): Remove.
2119 (js-mode): Setup electric-layout and electric-indent instead.
2120
a3dae87a
SM
2121 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2122
9d5cb631
DU
21232011-08-12 Daiki Ueno <ueno@unixuser.org>
2124
2125 * epa.el (epa-progress-callback-function): Fix the logic of
2126 displaying progress.
2127 * epa-file.el (epa-file-insert-file-contents): Make progress
2128 display more user-friendly.
2129 (epa-file-write-region): Ditto.
2130
3e26a4a2
CY
21312011-08-10 Chong Yidong <cyd@stupidchicken.com>
2132
2133 * subr.el (string-mark-left-to-right): New function.
2134
2135 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2136 Use string-mark-left-to-right.
2137 (list-buffers-noselect): Caller changed.
2138
a3dae87a
SM
2139 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2140 Use string-mark-left-to-right.
3e26a4a2
CY
2141 (tabulated-list-print): Recenter after moving point.
2142
ac8cf6e6
JL
21432011-08-10 Juri Linkov <juri@jurta.org>
2144
2145 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2146 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2147 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2148
8d96c9a4
CY
21492011-08-09 Chong Yidong <cyd@stupidchicken.com>
2150
2151 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2152 (Bug#7554).
2153
7be1c708 21542011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2155
2156 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2157 character. (Bug#6594)
2158
37e11a63
CY
21592011-08-08 Chong Yidong <cyd@stupidchicken.com>
2160
839dde57
CY
2161 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2162 (image-dired--with-db-file): New macro.
2163 (image-dired-write-tags, image-dired-remove-tag)
2164 (image-dired-create-gallery-lists, image-dired-write-comments)
2165 (image-dired-get-comment, image-dired-mark-tagged-files)
2166 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2167 (image-dired-gallery-generate): Use insert-file-contents.
2168
37e11a63
CY
2169 * time.el (display-time-world-list, display-time-world-display):
2170 * time-stamp.el (time-stamp-string):
2171 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2172 set-time-zone-rule (Bug#7337).
2173
0b4946c4
DU
21742011-08-08 Daiki Ueno <ueno@unixuser.org>
2175
2176 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2177 (epg-error-to-string, epg-errors-to-string): New function.
2178 (epg-wait-for-completion): Reverse errors list.
2179 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2180 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2181 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2182 (epg-sign-keys, epg-generate-key-from-file)
2183 (epg-generate-key-from-string): Format errors by using
2184 epg-errors-to-string (bug#9255).
2185 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2186
75bfc667
JL
21872011-08-07 Juri Linkov <juri@jurta.org>
2188
2189 * faces.el (list-faces-display): Remove extra angle bracket
2190 from `help-mode-map'.
2191
2192 * info.el (Info-history-toc-nodes): Doc fix.
2193
2194 * longlines.el (longlines-mode): Doc fix.
2195
673e08bb
SM
21962011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2197
4640dd88
SM
2198 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2199 of statements and in a few more cases (bug#9183).
2200
673e08bb
SM
2201 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2202 New functions.
2203 (cl-transform-lambda): Use them (bug#9239).
2204
89b3f019
MR
22052011-08-05 Martin Rudalics <rudalics@gmx.at>
2206
2207 * window.el (display-buffer-same-window)
2208 (display-buffer-same-frame, display-buffer-other-window)
2209 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2210 (pop-to-buffer-other-window)
2211 (pop-to-buffer-same-frame-other-window)
2212 (pop-to-buffer-other-frame): Make them defuns.
2213 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2214
640c8776
SM
22152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * subr.el (make-composed-keymap): Move from C. Change calling
2218 convention, and improve docstring to bring attention to a subtle point.
2219 * minibuffer.el (completing-read-default): Adjust accordingly.
2220
63648a95
MA
22212011-08-03 Michael Albinus <michael.albinus@gmx.de>
2222
2223 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2224 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2225
2226 * net/trampver.el: Update release number.
2227
b796c9b7
SM
22282011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2231 "in" (bug#9190).
2232
2239d7d5
LMI
22332011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2234
e07dd7c3
LMI
2235 * mail/sendmail.el (sendmail-query-once): Restore the current
2236 buffer after querying (bug#9074).
2237
0e6a2bd7
LMI
2238 * dired.el (dired-flagged): Use different faces for marked and
2239 flagged files (bug#6117).
2240
ce887515
LMI
2241 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2242 (bug#4433).
2243
92f2affc
LMI
2244 * ido.el (ido-mode): Switch off the message if called
2245 non-interactively.
2246
57d5aff0
LMI
2247 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2248 before 587, since it appears that that's more likely to work for
2249 more people.
2250
98cd6c18
LMI
2251 * cus-edit.el (custom-file): When running under emacs -q, always
2252 refuse to save the customisations, even if the .emacs file doesn't
2253 exist.
2254
b96dec83
LMI
2255 * info.el: Remove the `Info-beginning-of-buffer' function
2256 (bug#8325).
2257
b796c9b7
SM
2258 * net/network-stream.el (network-stream-open-starttls):
2259 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2260
d90e2ea0
MR
22612011-08-01 Martin Rudalics <rudalics@gmx.at>
2262
2263 * window.el (display-buffer-in-window): Don't set dedicated status
2264 of window here (Bug#9215).
2265 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2266 (display-buffer-pop-up-side-window)
b796c9b7 2267 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2268
cca09170
SM
22692011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2272 before binding generated-autoload-file.
2273
027b979c
DD
22742011-08-01 Deniz Dogan <deniz@dogan.se>
2275
2276 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2277
3c7ee4f3
MA
22782011-07-30 Michael Albinus <michael.albinus@gmx.de>
2279
2280 Sync with Tramp 2.2.2.
2281
2282 * net/trampver.el: Update release number.
2283
2cc8e51a
JL
22842011-07-30 Juri Linkov <juri@jurta.org>
2285
2286 * dired-aux.el (dired-touch-initial): Remove function.
2287 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2288 current time, and `default' to the last modification time of the
2289 current marked file (bug#6887).
2290
a514d856
JM
22912011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2292
2293 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2294 numeric argument to read-number (bug#9163).
a514d856 2295
8a7eddd7
MA
22962011-07-27 Michael Albinus <michael.albinus@gmx.de>
2297
2298 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2299 connection process, it could be nil.
2300
1ddd96f5
LL
23012011-07-27 Leo Liu <sdl.web@gmail.com>
2302
2303 Simplify url handling in rcirc-mode.
2304
2305 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2306 (rcirc-browse-url-at-mouse): Remove.
2307 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2308
b248a85d
AM
23092011-07-26 Alan Mackenzie <acm@muc.de>
2310
2311 Fontify bitfield declarations properly.
2312
2313 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2314 (c-symbol-chars): Now exported as a lang variable.
2315 (c-not-primitive-type-keywords): New lang variable.
2316
2317 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2318 QT keyword "more" to prevent "more slots: ...." being spuriously
2319 parsed as a bitfield declaraion.
2320
b796c9b7
SM
2321 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2322 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2323 (c-punctuation-in): New function.
2324 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2325 declarations properly.
2326
68575ab0
UJ
23272011-07-26 Ulf Jasper <ulf.jasper@web.de>
2328
2329 * calendar/icalendar.el (icalendar--all-events): Take care of
2330 multiple vcalendars in a single file.
b796c9b7 2331 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2332
0f0a88b9
DD
23332011-07-25 Deniz Dogan <deniz@dogan.se>
2334
2335 * image.el (insert-image): Clarifying docstring.
2336
0b3f36df
MA
23372011-07-24 Michael Albinus <michael.albinus@gmx.de>
2338
2339 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2340 `tramp-send-command-and-check' if there is no error.
2341 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2342
a9901f61
AM
23432011-07-22 Alan Mackenzie <acm@muc.de>
2344
2345 Prevent cc-langs.elc being loaded at run time.
2346
2347 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2348 cc-langs.
2349
4d61f28d 2350 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2351 "(require 'cc-langs)". Quote a form so it will evaluate at
2352 (cc-mode's) compilation time.
2353
11d074b2
MA
23542011-07-22 Michael Albinus <michael.albinus@gmx.de>
2355
2356 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2357 loading. (Bug#9114)
2358
938b94c8
MR
23592011-07-21 Martin Rudalics <rudalics@gmx.at>
2360
2361 * window.el (display-buffer-pop-up-window)
2362 (display-buffer-pop-up-side-window)
2363 (display-buffer-in-side-window): Call display-buffer-set-height
2364 and display-buffer-set-width after setting the new window's
b796c9b7 2365 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2366
bfa4f190
SS
23672011-07-20 Sam Steingold <sds@gnu.org>
2368
2369 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2370 (etags-tags-included-tables): Call `convert-standard-filename' on
2371 the file names contained in TAGS so that windows Emacs can handle
2372 TAGS files created by cygwin ctags.
2373
8ca42262
LMI
23742011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2375
2376 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2377 which apparently didn't work.
2378
5db2afd2 23792011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2380
5db2afd2
RW
2381 * proced.el (proced-send-signal): For *Marked Processes* buffer
2382 put point at beginning of buffer.
2383
92e15d10
SB
23842011-07-19 Stephen Berman <stephen.berman@gmx.net>
2385
2386 * proced.el (proced-format): Make header lines align with the text
2387 (bug#1779).
2388
1bfd59e5
LMI
23892011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2390
2391 * view.el (view-buffer): Allow running in `special' modes if we're
2392 visiting a file (bug#8615).
2393
f5aae37c
MR
23942011-07-19 Martin Rudalics <rudalics@gmx.at>
2395
2396 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2397 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2398 New functions.
f5aae37c
MR
2399 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2400 more accurately.
2401
bf2c1571
AM
24022011-07-18 Alan Mackenzie <acm@muc.de>
2403
2404 Fontify declarators properly when, e.g., a jit-lock chunk begins
2405 inside a declaration.
2406
2407 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2408
b796c9b7
SM
2409 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2410 New function.
bf2c1571
AM
2411 (c-complex-decl-matchers): Insert reference to
2412 c-font-lock-enclosing-decls.
2413
2414 * progmodes/cc-engine.el (c-backward-single-comment):
2415 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2416 to nil around calls to (forward-comment -1).
2417
4e190b80
LMI
24182011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2419
12dc863d
LMI
2420 * image.el (put-image): Doc typo fix.
2421
a762e966
LMI
2422 * progmodes/etags.el (tags-search): Doc typo fix.
2423
4e190b80
LMI
2424 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2425 password if we get errors 550 to 554.
2426
f019fb21
LMI
24272011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2428
b796c9b7 2429 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2430
81746738
LMI
2431 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2432 indentation character (bug#6380).
2433
3ee3a1b5
LMI
2434 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2435
c82f64de
LMI
2436 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2437 to clarify what the problem is (bug#4291).
2438
f019fb21
LMI
2439 * simple.el (current-kill): Clarify what
2440 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2441 (auto-fill-mode): Document `auto-fill-function' in relation to
2442 `auto-fill-mode' (bug#2470).
f019fb21 2443
0794775d
LM
24442011-07-16 Lawrence Mitchell <wence@gmx.li>
2445
2446 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2447 method if slot is read-only (bug#9035).
2448
be39b8cc
MR
24492011-07-16 Martin Rudalics <rudalics@gmx.at>
2450
b796c9b7 2451 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2452 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2453 selected before, see discussion of (Bug#8615), (Bug#6954).
2454 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2455
6ccf7859
GM
24562011-07-15 Glenn Morris <rgm@gnu.org>
2457
2458 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2459 Respect help-form.
6ccf7859 2460
87e86684
LM
24612011-07-09 Lawrence Mitchell <wence@gmx.li>
2462
2463 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2464 (gnutls-negotiate): Use it.
2465
d6066239
LMI
24662011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2467
b796c9b7
SM
2468 * net/gnutls.el (gnutls-negotiate):
2469 Upcase `gnutls-algorithm-priority'.
d6066239 2470
bd23ebc0
GM
24712011-07-15 Glenn Morris <rgm@gnu.org>
2472
c65bca65
GM
2473 * jka-compr.el (jka-compr-verbose): Move from here...
2474 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2475 Add missing :version tag.
2476 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2477
478615cc
LMI
24782011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2479
7b41decb
LMI
2480 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2481 (gnutls-negotiate): Use it.
2482
dbc44fcd
LMI
2483 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2484
06789f97
LMI
2485 * info.el (Info-beginning-of-buffer): New command.
2486 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2487 announcing `b' as the key (bug#8325).
ab896c37 2488 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2489
c39da690
LMI
2490 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2491
3aa5f34b
LMI
2492 * international/mule-cmds.el
2493 (describe-specified-language-support): Make the error message
2494 clearer (bug#8905).
2495
4bf0979f
LMI
2496 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2497
478615cc
LMI
2498 * isearch.el (isearch-barrier): Add a doc string, since it's
2499 mentioned in a function doc string (bug#8678).
2500
75c68aa1
MR
25012011-07-15 Martin Rudalics <rudalics@gmx.at>
2502
2503 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2504 buffer argument (Bug#9083) and self-identifying label argument.
2505
a7c33da2
GM
25062011-07-15 Glenn Morris <rgm@gnu.org>
2507
2508 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2509
2f5c6024
LMI
25102011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2511
2512 * man.el (Man-fontify-manpage): Fix message when formatting the
2513 man page (bug#7929).
2514
0bb23927 25152011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2516
2517 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2518 argument LRM; if non-nil, append an invisible LRM character to the
2519 buffer name.
2520 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2521 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2522 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2523 paragraph direction.
cce4b0a7 2524
621ef9ab
LMI
25252011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2526
d1583c48
LMI
2527 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2528 the man page name (bug#7929).
2529
6a57fb5f
LMI
2530 * image.el (put-image): Mention the `put-image' overlay property
2531 (bug#7834).
2532
d7956b14
LMI
2533 * scroll-bar.el (set-scroll-bar-mode): Mention that
2534 `scroll-bar-mode' lists the values (bug#7772).
2535
5b2d4a66
LMI
2536 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2537 command (bug#7729).
2538
7509a874
LMI
2539 * rect.el (apply-on-rectangle): Return the point after the last
2540 operation.
2541 (string-rectangle): Go to the point after the last operation
2542 (bug#7522).
2543
4fe74b19
LMI
2544 * printing.el (pr-toggle-region): Clarify the documentation
2545 slightly (bug#7493).
2546
b796c9b7
SM
2547 * time.el (display-time-update):
2548 Allow `display-time-mail-function' to return nil (bug#7158).
2549 Fix suggested by Detlev Zundel.
ab283561 2550
fc233c9d
LMI
2551 * vc/diff.el (diff): Clarify the order the file names are read
2552 (bug#7111).
2553
43f5740b
LMI
2554 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2555 the doc string (bug#7015).
2556
f2182a76
LMI
2557 * font-lock.el (font-lock-maximum-decoration): Mention what
2558 numeric levels mean (bug#6935).
2559
621ef9ab
LMI
2560 * startup.el (initial-buffer-choice): Don't mention the `none'
2561 selection, which is against policy.
2562
adc47434
MR
25632011-07-14 Martin Rudalics <rudalics@gmx.at>
2564
b796c9b7
SM
2565 * window.el (display-buffer-normalize-special):
2566 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2567
7e5bfb8f
EZ
25682011-07-14 Eli Zaretskii <eliz@gnu.org>
2569
2570 * subr.el (version<, version<=, version=): Mention "-CVS" and
2571 "-12345" alpha version numbers.
2572
27fa387a
CY
25732011-07-14 Chong Yidong <cyd@stupidchicken.com>
2574
2575 * bindings.el: Add advertised binding for set-mark-command
2576 (Bug#5772).
2577
8bdfa064
CY
25782011-07-14 Chong Yidong <cyd@stupidchicken.com>
2579
2580 * bindings.el (mode-line-other-buffer):
2581 * bookmark.el (bookmark-bmenu-2-window):
2582 * bs.el (bs-cycle-next, bs-cycle-previous):
2583 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2584 switch-to-buffer.
2585
2586 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2587 Delete.
8bdfa064 2588
5eba16a3
JB
25892011-07-14 Juanma Barranquero <lekktu@gmail.com>
2590
2591 * follow.el (follow-debug-message, follow-redisplay):
2592 * jka-cmpr-hook.el (with-auto-compression-mode):
2593 Fix typos in docstrings.
2594
15853710
LMI
25952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2596
a28e4607
LMI
2597 * subr.el (with-silent-modifications): Clarify somewhat what the
2598 macro inhibits (bug#6525).
2599
15853710
LMI
2600 * simple.el (eval-expression): Note what it does if called
2601 interactively (bug#6495).
2602
bee0fcef
CY
26032011-07-13 Chong Yidong <cyd@stupidchicken.com>
2604
b796c9b7
SM
2605 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2606 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2607
2608 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2609 Remove switch-to-buffer.
2610
58274504
LMI
26112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2612
bd2fcc8d
LMI
2613 * files.el (make-directory): Clarify that an error will be raised
2614 if there's an error (bug#6397).
2615
0f04b32c
LMI
2616 * startup.el (initial-buffer-choice): Add `none' as a choice
2617 (bug#6234).
2618
465c5fc8
LMI
2619 * subr.el (add-hook): Clarify section about buffer-local hooks
2620 (bug#6218).
2621
58274504
LMI
2622 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2623
bead9a43
JB
26242011-07-13 Juanma Barranquero <lekktu@gmail.com>
2625
2626 * tabify.el (untabify): Preserve the current column so that point
2627 doesn't move (bug#6032).
2628
3af98a7b
LMI
26292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2630
b796c9b7
SM
2631 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2632 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2633
6240145a
GM
26342011-07-13 Glenn Morris <rgm@gnu.org>
2635
2636 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2637 (dired-insert-directory): Give a message the first time
2638 if ls is found not to support --dired.
2639
1d8c2ccc
LMI
26402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2641
2642 * simple.el (toggle-truncate-lines): Clarify what is toggled
2643 (bug#5580). Text by Drew Adams.
2644
5fc4038e
CY
26452011-07-13 Chong Yidong <cyd@stupidchicken.com>
2646
2647 * simple.el (blink-matching-open): Make the error message from the
2648 last change less verbose.
2649
bf6012e5
DN
26502011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2651
2652 * font-lock.el (font-lock-comment-face): Use the high contrast
2653 "yellow" color for font-lock-comment-face on low color terminals
2654 using a dark background color (bug#4221).
2655
343c3b5a
LMI
26562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2657
7e9505c5
LMI
2658 * dired.el (dired-insert-set-properties): Make the doc string
2659 reflect what it does now (bug#5325).
2660
c26fdcf5
LMI
2661 * simple.el (blink-matching-open): Say that we were unable to find
2662 the match within the limit, if we're limited (bug#5122).
2663
bb388cc5
LMI
2664 * international/mule-cmds.el (prefer-coding-system): Add an
2665 example (bug#4869).
2666
343c3b5a
LMI
2667 * progmodes/etags.el (tags-search): Document `file-list-form'
2668 (bug#4731).
2669
2a517d45
LM
26702011-07-13 Lawrence Mitchell <wence@gmx.li>
2671
2672 * net/browse-url.el (browse-url-default-browser)
2673 (browse-url-browser-function): Make the default browser choice a
2674 bit more logical (bug#4300). Also clean up the doc string.
2675
b6c78ef2
JB
26762011-07-13 Juanma Barranquero <lekktu@gmail.com>
2677
2678 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2679 binary endings (bug#4440).
2680
1c4dd947
LMI
26812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2682
a2014063
LMI
2683 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2684 which can be pretty annoying (bug#8971).
2685
9c9c2d88
LMI
2686 * jka-compr.el (jka-compr-verbose): New variable, and use
2687 throughout (bug#8971).
2688
1c4dd947
LMI
2689 * info.el (Info-find-file): Fall back on the installation
2690 directory if we can't find the info node anywhere else.
2691
a1c9f41b
SO
26922011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2693
2694 * vc/vc.el (vc-revert-file):
2695 Don't set file time-stamp in the past. (Bug#5181)
2696
536f3d36
LMI
26972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2698
7152b011
LMI
2699 * files.el (after-find-file): Give a better error message when
2700 trying to find a symlink that points to a file that doesn't exist
2701 (bug#4398).
2702
536f3d36
LMI
2703 * progmodes/cc-vars.el: Remove (probably) misleading comment
2704 (bug#4396).
2705
460c0fba
JB
27062011-07-12 Johan Bockgård <bojohan@gnu.org>
2707
2708 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2709
7a6bda45
CY
27102011-07-12 Chong Yidong <cyd@stupidchicken.com>
2711
2712 * mouse-sel.el: Hack restoring functionality, while keeping
2713 compatibility with 2010-07-03 changes to mouse selection.
2714 (mouse-sel-primary-overlay): New var.
2715 (mouse-sel-selection-alist): Use it.
2716 (mouse-sel-mode): Doc fix; remove points that are default features
2717 of mouse.el.
2718
c79598ef
JB
27192011-07-12 Johan Bockgård <bojohan@gnu.org>
2720
2721 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2722 Fix previous fix (bug#2490).
2723
ff8be6ef
RW
27242011-07-12 Roland Winkler <winkler@gnu.org>
2725
b796c9b7
SM
2726 * textmodes/bibtex.el (bibtex-initialize):
2727 Use pop-to-buffer-same-window.
ff8be6ef
RW
2728 (bibtex-search-entries): Fix interactive call.
2729
296ba3ee
LMI
27302011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2731
f5242a02 2732 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
2733 Fontise bytecomp Error lines more correctly (bug#2490).
2734 Fix suggested by Johan Bockgård.
f5242a02 2735
296ba3ee
LMI
2736 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2737
2738 * dired-x.el (dired-guess-default): Use `delete-dups'.
2739
f69fd0d2
CY
27402011-07-12 Chong Yidong <cyd@stupidchicken.com>
2741
2742 * dired.el (dired-mark-prompt):
2743 * dired-aux.el (dired-read-shell-command): Doc fix.
2744
eab5dc07
LMI
27452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2746
b796c9b7
SM
2747 * mail/sendmail.el (sendmail-query-once):
2748 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
2749 emacs -Q.
2750
2751 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2752
eab5dc07
LMI
2753 * cus-edit.el (custom-file): Take an optional no-error variable.
2754 (customize-save-variable): Set the variable, and give a warning if
2755 running under "emacs -q".
2756
a1e65d42
JB
27572011-07-11 Juanma Barranquero <lekktu@gmail.com>
2758
2759 * loadhist.el (unload-feature-special-hooks):
2760 Add `auto-coding-functions', `fill-nobreak-predicate' and
2761 `find-directory-functions' (bug#5327).
2762
1d52da10
LMI
27632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2764
be958f1d
LMI
2765 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2766
5bedb26c
LMI
2767 * cus-edit.el (custom-guess-name-alist): -alist variables should
2768 use the `alist' type (bug#3120). Suggested by Drew Adams.
2769
1d52da10
LMI
2770 * printing.el: Add documentation to all the `pr-toggle-' commands.
2771
481a51b6
LL
27722011-07-11 Leo <sdl.web@gmail.com> (tiny change)
2773
2774 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2775 backends where it makes sense (bug#2623).
2776
dcc88d8a
LMI
27772011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2778
c3de9feb
LMI
2779 * dired-x.el (dired-guess-default): Remove duplicate shell command
2780 entries (bug#2028).
8a93078b 2781 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 2782 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 2783
dcc88d8a
LMI
2784 * subr.el (remove-duplicates): New conveniency function.
2785
505e3645
LMI
27862011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2787
2788 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2789 (bug#1526).
2790
27912011-07-10 Martin Rudalics <rudalics@gmx.at>
2792
2793 * window.el (display-buffer-normalize-default): Don't invert
2794 meaning of even-window-heights. Reported by Eli Zaretskii
2795 <eliz@gnu.org>.
2796
455e4fa1
BR
27972011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
2798
2799 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2800
8e0bc3e9
CY
28012011-07-10 Chong Yidong <cyd@stupidchicken.com>
2802
2803 * window.el (display-buffer): Fix arguments to
2804 display-buffer-reuse-window in last change.
2805
fa7c3228
CY
2806 * faces.el (link): Use a less saturated blue on light backgrounds.
2807
2808 * startup.el (fancy-startup-text, fancy-about-text)
2809 (fancy-startup-tail): Use font-lock faces, for background safety.
2810
c0a7f300
BN
28112011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
2812
b796c9b7
SM
2813 * emulation/viper-cmd.el (viper-change-state-to-vi):
2814 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 2815
4dc2a129
MR
28162011-07-09 Martin Rudalics <rudalics@gmx.at>
2817
2818 * window.el (display-buffer-default-specifiers): Remove.
2819 (display-buffer-macro-specifiers): Remove default specifiers.
2820 (display-buffer-alist): Default to nil.
b796c9b7 2821 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
2822 (display-buffer-pop-up-window): Allow splitting internal
2823 windows. Check whether a live window was created.
2824 (display-buffer-other-window-means-other-frame)
2825 (display-buffer-normalize-arguments): Rename to
2826 display-buffer-normalize-argument and rewrite. Set the
2827 other-window specifier.
2828 (display-buffer-normalize-special): New function.
2829 (display-buffer-normalize-options): Rename to
2830 display-buffer-normalize-default and rewrite.
2831 (display-buffer-normalize-options-inhibit): Remove.
2832 (display-buffer-normalize-specifiers): Rewrite.
2833 (display-buffer): Process other-window specifier and call
2834 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
2835 more faithfully.
b796c9b7 2836 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 2837 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
2838 (display-buffer-in-window, display-buffer-alist-set):
2839 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
2840 <tassilo@member.fsf.org>.
2841
2d43b8c9
LL
28422011-07-09 Leo Liu <sdl.web@gmail.com>
2843
2844 * register.el (insert-register): Restore accidental change on
2845 2011-06-26. (Bug#9028)
2846
7f9b7c53
GM
28472011-07-09 Glenn Morris <rgm@gnu.org>
2848
2849 * subr.el (remq): Handle the empty list. (Bug#9024)
2850
f042cfd8
AS
28512011-07-08 Andreas Schwab <schwab@linux-m68k.org>
2852
2853 * mail/sendmail.el (send-mail-function): No longer delay custom
2854 initialization.
2855 * custom.el (custom-initialize-delay): Doc fix.
2856
856b2f11
SM
28572011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
2860
afae1d68
MA
28612011-07-08 Michael Albinus <michael.albinus@gmx.de>
2862
2863 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
2864 human-friendly prompt.
2865
0757af94
SM
28662011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
2869 provided by a particular plugin.
2870
d760b731
LMI
28712011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2872
2873 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
2874 save customizations (with "emacs -Q"), just set the variable
2875 instead of erroring out.
2876
2877 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2878
cd79ce90
JL
28792011-07-08 Juri Linkov <juri@jurta.org>
2880
2881 * arc-mode.el (archive-zip-expunge, archive-zip-update)
2882 (archive-zip-update-case): Use 7z if found by `executable-find'.
2883 The order of searching the available programs is the same as in
2884 `archive-zip-extract' (bug#8968).
2885
14cc04aa
CY
28862011-07-07 Chong Yidong <cyd@stupidchicken.com>
2887
2888 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
2889 (menu-bar-options-menu): Tweak descriptions.
2890
0a1848ec
LMI
28912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2892
2893 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
2894 menu items into verb phrases (bug#1421). Also refill to fit under
2895 80 columns.
2896
f5bd0689
CY
28972011-07-07 Chong Yidong <cyd@stupidchicken.com>
2898
538e85c6
CY
2899 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
2900 (Info-read-node-name): Doc fix (Bug#1084).
2901
f5bd0689
CY
2902 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
2903 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
2904 (end-of-sexp, beginning-of-sexp)
2905 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
2906 (forward-symbol, forward-same-syntax, word-at-point)
2907 (sentence-at-point): Doc fix (Bug#1144).
2908
56ec5115
LMI
29092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2910
f3f8e37f
LMI
2911 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
2912 should cover it (bug#1281).
2913
0757af94 2914 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 2915
12b9eb35
LMI
2916 * net/network-stream.el (network-stream-open-starttls): If gnutls
2917 negotiation fails, then possibly try again with a non-encrypted
2918 connection (bug#9017).
2919
56ec5115
LMI
2920 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
2921 be used.
2922
c2f9aec8
RS
29232011-07-07 Richard Stallman <rms@gnu.org>
2924
2925 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
2926 property, and handle its changed format.
2927 Look for the correct line number.
2928 Use file's line contents (but not past first =) to find
2929 correct line in message.
2930
ef7b981d 29312011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
2932
2933 * international/characters.el (build-unicode-category-table):
2934 Delete it.
0757af94 2935 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 2936
0757af94 2937 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
2938 to src/chartab.c.
2939 (get-char-code-property): Call unicode-property-table-internal to
2940 load a file. Call get-unicode-property-internal where necessary.
2941 (put-char-code-property): Call unicode-property-table-internal to
2942 load a file. Call put-unicode-property-internal where necessary.
2943 put-unicode-property-internal where necessary.
0757af94
SM
2944 (char-code-property-description):
2945 Call unicode-property-table-internal to load a file.
c805dec0
KH
2946
2947 * international/charprop.el:
2948 * international/uni-bidi.el:
2949 * international/uni-category.el:
2950 * international/uni-combining.el:
2951 * international/uni-comment.el:
2952 * international/uni-decimal.el:
2953 * international/uni-decomposition.el:
2954 * international/uni-digit.el:
2955 * international/uni-lowercase.el:
2956 * international/uni-mirrored.el:
2957 * international/uni-name.el:
2958 * international/uni-numeric.el:
2959 * international/uni-old-name.el:
2960 * international/uni-titlecase.el:
2961 * international/uni-uppercase.el: Regenerate.
2962
2963 * loadup.el: Load international/charprop.el before
2964 international/characters.
2965
e14b388a
CY
29662011-07-07 Chong Yidong <cyd@stupidchicken.com>
2967
2968 * window.el (next-buffer, previous-buffer): Signal an error if
2969 called from a minibuffer window.
2970
2971 * bindings.el: Revert 2011-07-04 change.
2972
354cf0ba
RS
29732011-07-06 Richard Stallman <rms@gnu.org>
2974
2975 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
2976 (rmail-mime-insert-bulk, rmail-mime-insert-text):
2977 Treat markers like ints.
2978 (rmail-mime-entity): Doc fix.
2979
a48868a7
LMI
29802011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2981
4906cd3d
LMI
2982 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
2983 defcustom again for backwards compatibility.
2984
e0457abe
LMI
2985 * simple.el (shell-command-on-region): Fill.
2986
d67f7e1f
LMI
2987 * dired-aux.el (dired-kill-line): Add a doc string.
2988
fe204702
LMI
2989 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
2990 to "\\sw\\|\\s_" (bug#358).
2991
a48868a7
LMI
2992 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
2993 (dired-unmark-backward): Ditto.
2994 (dired-flag-backup-files): Ditto.
2995
2996 * dired-x.el (dired-mark-sexp): Ditto.
2997
aa8a705c
RS
29982011-07-06 Richard Stallman <rms@gnu.org>
2999
3000 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3001 (rmail-mime-entity): New arg TRUNCATED.
3002 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3003 New functions.
3004 (rmail-mime-save): Warn if entity is truncated.
3005 (rmail-mime-toggle-hidden): Likewise, for showing.
3006 (rmail-mime-process-multipart): Record when an entity is truncated.
3007
a9a936b9
RS
3008 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3009 if ENTITY is a string.
3010
1f2b92cb
LMI
30112011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3012
f4f73198 3013 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3014 of faces when `M-C-x'-ing their definitions (bug#8378).
3015 Also clean up the code slightly.
f4f73198 3016
12b16734
LMI
3017 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3018 because that makes the colours go away.
3019
f0691d22
LMI
3020 * mail/sendmail.el (send-mail-function): Change the default to
3021 `sendmail-query-once'.
9e87df06 3022 (sendmail-query-once): Add an autoload cookie.
f0691d22 3023
1f2b92cb
LMI
3024 * net/network-stream.el (network-stream-open-starttls): Try using
3025 a plain connection even if the server offered STARTTLS, and we
3026 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3027 capability. This should make smtpmail.el work in slightly more
3028 configurations.
3029
1cdd2a1b
MA
30302011-07-06 Michael Albinus <michael.albinus@gmx.de>
3031
3032 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3033 New defun.
3034 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3035
fbcc67e2
MM
30362011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3037
3038 * progmodes/sql.el: Version 3.0
0757af94 3039 (sql-product-alist): Add product :completion-object,
fbcc67e2 3040 :completion-column, and :statement attributes.
0757af94 3041 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3042 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3043 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3044 ansi keywords.
3045 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3046 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3047 (sql-oracle-show-reserved-words): New function for development.
3048 (sql-product-font-lock): Simplify for source code buffers.
3049 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3050 New functions.
3051 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3052 (sql-mode-map): Add statement movement functions.
3053 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3054 New variable.
fbcc67e2
MM
3055 (sql-statement-regexp, sql-beginning-of-statement)
3056 (sql-end-of-statement, sql-signum): New functions.
0757af94 3057 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3058 (sql-show-sqli-buffer): Bug fix.
3059 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3060 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3061 with sql-interactive-mode.
3062 (sql-save-connection): Save buffer local settings.
0757af94 3063 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3064 (sql-product-interactive): Bug fix.
3065 (sql-preoutput-hold): New variable.
3066 (sql-interactive-remove-continuation-prompt): Bug fixes.
3067 (sql-debug-redirect): New variable.
3068 (sql-str-literal): New function.
3069 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3070 Redesign.
fbcc67e2
MM
3071 (sql-oracle-save-settings, sql-oracle-restore-settings)
3072 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3073 (sql-completion-object, sql-completion-column)
3074 (sql-completion-sqlbuf): New variables.
3075 (sql-build-completions-1, sql-build-completions)
3076 (sql-try-completion): New functions.
3077 (sql-read-table-name): Use them.
3078 (sql-contains-names): New buffer local variable.
3079 (sql-list-all, sql-list-table): Use it.
3080 (sql-oracle-completion-types): New variable.
3081 (sql-oracle-completion-object, sql-sqlite-completion-object)
3082 (sql-postgres-completion-object): New functions.
3083
d4eaeab1
GM
30842011-07-06 Glenn Morris <rgm@gnu.org>
3085
3086 * window.el (pop-to-buffer): Doc fix.
3087
322b7dab 30882011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3089
3090 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3091
322b7dab 30922011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3093
322b7dab 3094 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3095
322b7dab 3096 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3097
605dd5bf
CY
30982011-07-05 Chong Yidong <cyd@stupidchicken.com>
3099
3100 * button.el (button): Inherit from link face. Suggested by Dan
3101 Nicolaescu.
3102
7dbfa719
SM
31032011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3db614b0
SM
3105 * progmodes/gdb-mi.el: Fit in 80 columns.
3106 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3107 switch-to-buffer.
3108
7dbfa719
SM
3109 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3110 if imenu is simply not configured (bug#8941).
3111
919d884a
KM
31122011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3113
3114 * allout.el (allout-post-undo-hook): New allout outline-change
3115 event hook to signal undo activity.
3116 (allout-post-command-business): Run allout-post-undo-hook if an
3117 undo just occurred.
7dbfa719
SM
3118 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3119 * allout-widgets.el (allout-widgets-after-undo-function):
3120 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3121 in the vicinity of an undo.
3122 (allout-widgets-mode): Include allout-widgets-after-undo-function
3123 on the new allout-post-undo-hook.
3124
450a0f09
SM
31252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3128 Let define-derived-mode define it.
3129 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3130 cycles of abbrev-table inheritance (bug#8998).
3131
2de69e00
RW
31322011-07-05 Roland Winkler <winkler@gnu.org>
3133
3134 * textmodes/bibtex.el: Add support for biblatex.
3135 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3136 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3137 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3138 (bibtex-entry-alist, bibtex-field-alist): New variables.
3139 (bibtex-entry-field-alist): Obsolete alias for
3140 bibtex-BibTeX-entry-alist.
3141 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3142 (bibtex-set-dialect): New command.
3143 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3144 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3145 Bind via bibtex-set-dialect.
2de69e00
RW
3146 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3147 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3148 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3149 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3150 Define via bibtex-set-dialect.
450a0f09
SM
3151 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3152 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3153 (bibtex-vec-push, bibtex-vec-incr): New functions.
3154 (bibtex-format-entry, bibtex-field-list)
3155 (bibtex-print-help-message, bibtex-validate)
3156 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3157
2dcdbdd9
SM
31582011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * progmodes/compile.el (compilation-goto-locus):
3161 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3162 * bs.el (bs-cycle-next, bs-cycle-previous):
3163 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3164 * bindings.el (mode-line-other-buffer):
3165 * autoinsert.el (auto-insert):
3166 * arc-mode.el (archive-extract):
3167 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3168
b27640fe
JB
31692011-07-05 Juanma Barranquero <lekktu@gmail.com>
3170
3171 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3172 Fix check of `emacs-lock-unlockable-modes'.
3173 Coerce true values of `emacs-lock--try-unlocking' to t.
3174
53bbe3ad
JB
31752011-07-05 Juanma Barranquero <lekktu@gmail.com>
3176
3177 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3178 * emacs-lock.el: New file.
3179
1d3cdbc7
JD
31802011-07-05 Julien Danjou <julien@danjou.info>
3181
3182 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3183 than `boundp' to check if face is set.
3184
9173deec
JB
31852011-07-05 Juanma Barranquero <lekktu@gmail.com>
3186
3187 * register.el (registerv-make):
3188 * window.el (window-min-height): Fix typos in docstrings.
3189
869795d6
JD
31902011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3191
9173deec 3192 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3193 Update doc string.
3194
b768cdcd
JB
31952011-07-04 Juanma Barranquero <lekktu@gmail.com>
3196
3197 * server.el (server-execute): Catch quit and call
3198 `server-return-error' to pass the error back to emacsclient and
3199 close the connection (bug#8942).
3200
13aa217b
KM
32012011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3202
3203 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3204 insecure exception for current topic. Also note that auto-saves
3205 are handled differently.
3206
3207 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3208 State variables for tracking auto-save inhibition situation.
3209
3210 (allout-write-contents-hook-handler): Rename from
3211 'allout-write-file-hook-handler', and describe how it depends on
3212 write-contents-functions sensitivity to non-nil value to prevent
3213 file write.
3214
3215 (allout-auto-save-hook-handler): Remove. auto-save does not check
3216 this in individual buffers, only in the starting buffer, so this
3217 is not the right way for us to inhibit auto-save in a buffer
3218 according to its condition.
3219
3220 (allout-mode): Use new allout-write-contents-hook-handler, and
3221 only with write-contents-functions. Remove auto-save provisions -
3222 they're implemented elsewhere.
3223
3224 (allout-before-change-handler): If undo is in progress, note that
3225 for attention of allout-post-command-business.
3226
3227 (allout-post-command-business): If the command we're following was
3228 an undo, check for change in the status of encrypted items and
3229 adjust auto-save inhibitions accordingly.
3230
3231 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3232 according to whether there are or aren't any plain-text topics
3233 pending encryption.
3234
2dcdbdd9
SM
3235 (allout-inhibit-auto-save-info-for-decryption):
3236 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3237 there are plain-text topics pending encryption.
3238
3239 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3240 buffer-saved-size and some allout state to not inhibit auto-saves
3241 if there are no longer any plain-text topics pending encryption.
3242
0757af94
SM
3243 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3244 No longer provide for exemption of the current topic.
13aa217b 3245
ac89b32c
JL
32462011-07-04 Juri Linkov <juri@jurta.org>
3247
3248 Add 7z operations to delete and save changed members (bug#8968).
3249 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3250 New defcustoms.
3251 (archive-7z-write-file-member): New function.
3252 (archive-7z-summarize): Fix the number of dashes in the
3253 listing output.
3254
8fa39615
SM
32552011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3258 (bug#8958).
3259
2f11b3f1
CY
32602011-07-04 Chong Yidong <cyd@stupidchicken.com>
3261
d66fef2b
CY
3262 * bindings.el: Ignore next-buffer and previous-buffer in
3263 minibuffer-local-map.
3264
2f11b3f1
CY
3265 * font-lock.el (font-lock-builtin-face): Change light background
3266 color to dark slate blue (Bug#6693).
3267
f932a347
WD
32682011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3269
3270 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3271
c8af70e1
SM
32722011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3275 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3276 Add switch-to-buffer.
3277
f158badc
LMI
32782011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3279
3280 * isearch.el (isearch-search-fun-function): Clarify further the
3281 meaning of the function returned.
3282
6d95bd46
MA
32832011-07-04 Michael Albinus <michael.albinus@gmx.de>
3284
3285 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3286
3287 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3288 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3289 Use it.
3290 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3291 `tramp-default-remote-path' does not exist.
3292 (tramp-send-command-and-read): New optional argument NOERROR.
3293 (tramp-open-connection-setup-interactive-shell)
3294 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3295 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3296 (tramp-process-sentinel): Flush also process' connection property.
3297 (tramp-sh-handle-start-file-process): Do not set process
3298 sentinel. It is done now ...
3299 (tramp-maybe-open-connection): ... here. (Bug#8929)
3300
909e6b67
MK
33012011-07-04 MON KEY <monkey@sandpframing.com>
3302
3303 * play/animate.el (animate-string): Doc fixes and allow changing
3304 the buffer name (bug#5417).
3305
33062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3307
c8af70e1 3308 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3309
f34755dc
PE
33102011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3311
396cec72
PE
3312 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3313 This is simpler and helps future-proof the code.
3314 (timer-until): Use time-subtract and float-time.
08235028 3315 (timer--time-less-p): Use time-less-p.
f34755dc 3316
56e6cc31
JB
33172011-07-04 Juanma Barranquero <lekktu@gmail.com>
3318
3abb79e5
JB
3319 * type-break.el (timep): Use the value of `float-time' to avoid a
3320 byte-compiler warning.
3321
56e6cc31
JB
3322 * server.el (server-eval-and-print): Return any result, even nil.
3323
7b9430b4
PE
33242011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3325
3326 * type-break.el: Accept time formats that the builtins accept.
3327 (timep, type-break-time-difference): Accept any format that
3328 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3329 This is simpler and helps future-proof the code.
3330 (type-break-time-difference): Round rather than ignoring
3331 subseconds components.
3332
3034e9e7
LMI
33332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3334
3335 * info.el (Info-apropos-matches): Make non-interactive, since it
3336 doesn't seem to do anything useful as a command (bug#8829).
3337
1485f4c0
CY
33382011-07-03 Chong Yidong <cyd@stupidchicken.com>
3339
3340 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3341 Move from faces.el.
1485f4c0
CY
3342 (frame-default-terminal-background): New function.
3343
3344 * custom.el (custom-push-theme): Don't record faces in `changed'
3345 theme; this doesn't work correctly for per-frame face settings.
3346 (disable-theme): Use face-set-after-frame-default to reset faces.
3347 (custom--frame-color-default): New function.
3348
9fa3dd45
LMI
33492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3350
c8af70e1 3351 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3352 (bug#8769).
3353
6cbbc20c
KR
33542011-03-29 Kevin Ryde <user42@zip.com.au>
3355
3356 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3357 `perl-Test2' extend to match possible "fail #N" rep count
3358 (bug#8377).
3359
c7f98048
LMI
33602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3361
65676592
LMI
3362 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3363 `smtpmail-via-smtp' now returns the error instead of nil.
3364
c7f98048
LMI
3365 * isearch.el (isearch-search-fun-function): Clarify the doc string
3366 (bug#8101).
3367
56e6cc31 33682011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3369
3370 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3371 unnecessary spaces (bug#8987).
3372
2b216704
LMI
33732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3374
3375 * net/network-stream.el (open-network-stream): Use the
3376 :end-of-capability command thoughout.
3377
33782011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3379
3380 * net/network-stream.el (open-network-stream): Add the
3381 :end-of-capability command parameter, used by pop3.el.
3382
36adf6ce
LMI
33832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3384
1ca0da0e
LMI
3385 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3386
fc00f69c
LMI
3387 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3388 for list)" (bug#6475).
3389
28fd8759
LMI
3390 * files.el (file-expand-wildcards): Ignore non-readable
3391 sub-directories while trying to find matches instead of signalling
3392 an error (bug#6297).
3393
0dd8b6da
LMI
3394 * man.el (Man-reference-regexp): Allow matching possible
3395 word-wrapped references (bug#6289).
3396
ce1438d6
LMI
3397 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3398 for consistency with the other vc buffers (bug#6197).
3399 (vc-checkin): Ditto.
3400
3401 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3402
36adf6ce
LMI
3403 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3404
e83cc1f7
LMI
34052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3406
8a20ca4c
LMI
3407 * custom.el (defcustom): Clarify that :set is only used in the
3408 Customize user interface (bug#6089).
3409
83319045
LMI
3410 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3411 associated with a file, refuse to run instead of erroring out
3412 (bug#6084).
3413
a8392169
LMI
3414 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3415 the doc string, since it appears that using `fill-column' always
3416 controls the width (bug#7845).
3417
e83cc1f7
LMI
3418 * simple.el (shell-command-on-region): Say where the error output
3419 went if `shell-command-default-error-buffer' is set (bug#6857).
3420
e47ca23b
KM
34212011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3422
3423 * allout.el (allout-yank-processing): Adjust cursor position for
3424 backwards-deleted space.
3425
3426 (allout-rebullet-heading): Register changes with
3427 allout-exposure-changed-hook, so the modified topic is properly
3428 decorated.
3429
5cf56143
LMI
34302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3431
08549772
LMI
3432 * minibuffer.el (completion-in-region): Document PREDICATE
3433 (bug#7136).
3434
48e96771
LMI
3435 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3436 of keyword/argument pairs (bug#6904).
3437
c8af70e1
SM
3438 * replace.el (multi-occur):
3439 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3440
e17d05e2
LMI
34412011-07-02 Drew Adams <drew.adams@oracle.com>
3442
3443 * dired.el (dired-mark-if): Make the message about whether it's
3444 marking or unmarking clearer (bug#8523).
3445
063b0e45
LMI
34462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3447
3448 * disp-table.el (display-table-print-array): New function.
3449 (describe-display-table): Use it to print the vectors more pretty
3450 (Bug#8859).
3451
28545e04
MR
34522011-07-02 Martin Rudalics <rudalics@gmx.at>
3453
3454 * window.el (window-state-get-1): Don't assign clone numbers.
3455 Add clone-of item to list of window parameters.
3456 (window-state-put-2): Don't process clone numbers.
3457 (display-buffer-alist): Fix doc-string.
3458
3349e122
SM
34592011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * subr.el (remq): Don't allocate if it's not needed.
3462 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3463 (keymap--merge-bindings): New functions.
3464 (keymap-canonicalize): Use them to refine the canonicalization.
3465 * minibuffer.el (minibuffer-local-completion-map)
3466 (minibuffer-local-must-match-map): Move initialization from C.
3467 (minibuffer-local-filename-completion-map): Move initialization from C;
3468 don't inherit from anything here.
3469 (minibuffer-local-filename-must-match-map): Make obsolete.
3470 (completing-read-default): Use make-composed-keymap to combine
3471 minibuffer-local-filename-completion-map with either
3472 minibuffer-local-must-match-map or
3473 minibuffer-local-filename-completion-map.
3474
d224ac83
GM
34752011-07-01 Glenn Morris <rgm@gnu.org>
3476
3de63bf8
GM
3477 * type-break.el (type-break-time-sum): Use dolist.
3478
d224ac83
GM
3479 * textmodes/flyspell.el (flyspell-word-search-backward):
3480 Replace CL function.
3481
1a1e3f32
SM
34822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3483
fe3f64d5
SM
3484 * mouse.el (mouse--strip-first-event): New function.
3485 (function-key-map): Use it to map fringe clicks to normal clicks
3486 by default.
3487
eb604e34
SM
3488 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3489 (vc-bzr-revision-completion-table): Add support for annotate and date.
3490
1a1e3f32
SM
3491 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3492 inherit from parent.
3493
5bd35902
LMI
34942011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3495
ace6c69c 3496 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3497 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3498
191e2bed
LMI
3499 * dired.el (dired-mode): Fix up the doc string as suggested by
3500 Drew Adams (bug#8817).
3501
5bd35902
LMI
3502 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3503 cookie, since the manual says that it should be possible to add
3504 this function to `find-file-hook' (bug#8709).
3505
eee8207a
TZ
35062011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3507
3508 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3509 here. Noted Ted Zlatanov as the maintainer.
3510 (cfengine-common-settings, cfengine-common-syntax): New functions
3511 to set up common things between `cfengine-mode' and
3512 `cfengine3-mode'.
3513 (cfengine3-mode): New mode.
3514 (cfengine3-defuns cfengine3-defuns-regex
3515 (cfengine3-class-selector-regex cfengine3-category-regex)
3516 (cfengine3-vartypes cfengine3-font-lock-keywords)
3517 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3518 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3519
36b148cf
MA
35202011-07-01 Michael Albinus <michael.albinus@gmx.de>
3521
3522 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3523
3524 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3525
0bf4ba9a
MR
35262011-07-01 Martin Rudalics <rudalics@gmx.at>
3527
3528 * window.el (same-window-buffer-names, same-window-regexps)
3529 (same-window-p, special-display-frame-alist)
3530 (special-display-popup-frame, special-display-function)
3531 (special-display-buffer-names, special-display-regexps)
3532 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3533 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3534 (split-window-preferred-function, split-height-threshold)
3535 (split-width-threshold, even-window-heights)
3536 (display-buffer-mark-dedicated, window-splittable-p)
3537 (split-window-sensibly, window-safely-shrinkable-p):
3538 Un-obsolete.
3539 (display-buffer): Don't spread args with function specifier
3540 because special-display-popup-frame won't like it.
3541
35837f51
PE
35422011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3543
d0672f86
PE
3544 Time-stamp simplifications and fixes.
3545 These improve accuracy slightly, and future-proof the code
3546 against some potential changes to current-time format.
3547
b9444d97
PE
3548 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3549 by using time-since and float-time.
3550
0ef923dc
PE
3551 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3552 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3553 + NNN microseconds".
3554
2f81380d
PE
3555 * type-break.el (type-break-time-sum): Rewrite using time-add.
3556
845b5c3e
PE
3557 * play/hanoi.el (hanoi-current-time-float): Remove.
3558 All uses replaced by float-time.
3559
ee6f1be0
PE
3560 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3561 This yields a more-accurate answer.
3562 (rng-time-to-float): Remove; no longer needed.
3563
fe955043
PE
3564 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3565
5777162a
PE
3566 * calendar/timeclock.el (timeclock-seconds-to-time):
3567 Defalias to seconds-to-time, since they're the same thing.
3568
3103f8b6 3569 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3570 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3571 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3572
0e61a35f
SM
35732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * window.el (bury-buffer): Don't iconify the only frame.
3576 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3577 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3578
ddd63a1e
CY
35792011-07-01 Chong Yidong <cyd@stupidchicken.com>
3580
0e61a35f
SM
3581 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3582 Add mouse-yank-primary.
ddd63a1e 3583
055f4923
TZ
35842011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3585
3586 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3587
6a2fb145
SM
35882011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3591 (find-library-name): Use it to find relative load names when provided
3592 absolute file name (bug#8803).
3593
fd4983f2
LMI
35942011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3595
887d14ad
LMI
3596 * textmodes/flyspell.el (flyspell-word): Consider words that
3597 differ only in case as potential doublons (bug#5687).
3598
c53dc7fc
LMI
3599 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3600 Remove two rather uninteresting debugging-like messages to make
3601 debbugs.el more silent.
3602
fd4983f2
LMI
3603 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3604 a password-like phrase.
3605
b14c0c55
AM
36062011-06-30 Mastake YAMATO <yamato@redhat.com>
3607
3608 * progmodes/cc-guess.el: New file.
3609
6a2fb145 3610 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3611
3612 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3613 derived from `c-basic-common-init'.
3614
3615 * progmodes/cc-mode.el (top-level): Require cc-guess.
3616 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3617
1fa280a3
LM
36182011-06-30 Lawrence Mitchell <wence@gmx.li>
3619
3620 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3621
e6597158
AM
36222011-06-30 Alan Mackenzie <acm@muc.de>
3623
1fa280a3
LM
3624 * progmodes/cc-engine.el (c-guess-continued-construct):
3625 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3626 lock is disabled. Name this case as "CASE G".
3627
68ba37fb
KM
36282011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3629
3630 * allout.el (allout-yank-processing): Fix injection of extra space
3631 between bullet and non-whitespace character in first topic when
3632 pasting, ensuring that the actual spacing in the pasted topic
3633 following the bullet char is preserved. This extra space was
3634 causing pasted encrypted topics to get a decrypted status even
3635 when the content was actually still encrypted. Now the decryption
3636 status from before the paste is preserved.
3637
3638 (allout-flag-region): Set all allout overlays so they evaporate
3639 when reduced to zero length (evanescent), to prevent overlay
3640 leakage.
3641
887a0b34
GM
36422011-06-30 Glenn Morris <rgm@gnu.org>
3643
94b9acce
GM
3644 * w32-fns.el (w32-charset-info-alist): Declare.
3645
1d9b46d4
GM
3646 * find-dired.el (find-grep-options): Simplify.
3647
cc232200
GM
3648 * term/ns-win.el (ns-set-resource): Declare.
3649
28e77c46
GM
3650 * ses.el (row, col): Declare dynamic variables honestly.
3651
887a0b34
GM
3652 * textmodes/reftex-parse.el (index-tags): Declare.
3653
658d8eb8
CY
36542011-06-30 Chong Yidong <cyd@stupidchicken.com>
3655
3656 * cus-edit.el (customize-push-and-save): New function.
3657
3658 * files.el (hack-local-variables-confirm): Use it.
3659
1fa280a3
LM
3660 * custom.el (load-theme): New arg NO-CONFIRM.
3661 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3662 (custom-enabled-themes): Doc fix.
3663
3664 * cus-theme.el (customize-create-theme)
3665 (custom-theme-merge-theme): Callers to load-theme changed.
3666
bb617717
LMI
36672011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3668
d61bdd5d
LMI
3669 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3670 short URLs have at least one dot in them (bug #7614).
3671
bb617717
LMI
3672 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3673 nil, because using a pty is apparently too slow (bug #895).
3674
2f31f37a
LMI
36752011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3676
3677 * mail/sendmail.el (sendmail-query-once): New function.
3678 (sendmail-query-once-function): New variable.
3679
3076b24e
GM
36802011-06-29 Glenn Morris <rgm@gnu.org>
3681
faf2a174
GM
3682 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3683
3076b24e
GM
3684 * ses.el (top-level): Require cl when compiling.
3685 (ses-set-localvars): Fix error statement.
3686 Call it at compile time to silence a storm of warnings.
3687
5386012d
MR
36882011-06-29 Martin Rudalics <rudalics@gmx.at>
3689
3690 * window.el (normalize-live-buffer): Rename to
3691 window-normalize-buffer.
3692 (normalize-live-frame): Rename to window-normalize-frame.
3693 (normalize-any-window): Rename to window-normalize-any-window.
3694 (normalize-live-window): Rename to window-normalize-live-window.
3695 (make-window-atom): Rename to window-make-atom.
3696 (window-resize-reset): Rename to window--resize-reset.
3697 (window-resize-reset-1): Rename to window--resize-reset-1.
3698 (resize-mini-window): Rename to window--resize-mini-window.
3699 (resize-subwindows-skip-p): Rename to
3700 window--resize-subwindows-skip-p.
3701 (resize-subwindows-normal): Rename to
3702 window--resize-subwindows-normal.
3703 (resize-subwindows): Rename to window--resize-subwindows.
3704 (resize-other-windows): Rename to window--resize-siblings.
3705 (resize-this-window): Rename to window--resize-this-window.
3706 (resize-root-window): Rename to window--resize-root-window.
3707 (resize-root-window-vertically): Rename to
3708 window--resize-root-window-vertically.
3709 (normalize-buffer-to-display): Rename to
3710 window-normalize-buffer-to-display.
3711 (normalize-buffer-to-switch-to): Rename to
3712 window-normalize-buffer-to-switch-to.
3713 Correspondingly update all callers of the functions listed
3714 above.
3715 (display-buffer-alist, display-buffer-normalize-arguments)
3716 (display-buffer-normalize-options, display-buffer)
3717 (display-buffer-alist-set): Use "function" instead of
3718 "fun-with-args".
3719
1176868d
CY
37202011-06-28 Chong Yidong <cyd@stupidchicken.com>
3721
3722 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3723 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3724 debbugs.gnu.org. Mention acknowledgment email.
3725
20a7a65f
LMI
37262011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3727
3728 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3729 buffer multibyteness, since it shouldn't matter.
3730
5f45cca5
MR
37312011-06-28 Martin Rudalics <rudalics@gmx.at>
3732
3733 * window.el (display-buffer-in-side-window): Handle dedicated
3734 windows as in display-buffer-reuse-window.
3735 (display-buffer-normalize-alist): Use value of override
3736 specifier.
3737 (display-buffer-normalize-specifiers): Use value of
3738 other-window-means-other-frame specifier.
3739 (display-buffer-alist): Rewrite some texts in widgets.
3740 (display-buffer): Spread arguments when calling function
3741 specified by fun-with-args.
3742
ad85fe1f
DD
37432011-06-28 Deniz Dogan <deniz@dogan.se>
3744
1fa280a3
LM
3745 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3746 Unnest `let'.
da68c4c8 3747
ad85fe1f
DD
3748 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3749 selectors (Bug#5732).
ec49bd31 3750 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 3751
a08cc025
JA
37522011-06-27 Jari Aalto <jari.aalto@cante.net>
3753
3754 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3755 (eshell-ls-date-format): New defcustom.
3756 (eshell-ls-file): Use it.
3757
e2b551c5
SM
37582011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * help-fns.el (describe-variable): Fix message for terminal-local vars.
3761
8982b231
KY
37622011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
3763
3764 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3765 (ange-ftp-make-tmp-name): New arg.
3766 (ange-ftp-file-local-copy): Use it.
3767
36c9fa27
J
37682011-06-27 Jambunathan K <kjambunathan@gmail.com>
3769
3770 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3771 no-conversion (Bug#8870).
3772
d68443dc
MR
37732011-06-27 Martin Rudalics <rudalics@gmx.at>
3774
3775 * window.el (window-right, window-left, window-child)
3776 (window-child-count, window-last-child)
3777 (window-iso-combination-p, walk-window-tree-1)
3778 (window-atom-check-1, window-tree-1, delete-window)
3779 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3780 new naming conventions - window-vchild, window-hchild,
3781 window-next and window-prev are now called window-top-child,
3782 window-left-child, window-next-sibling and window-prev-sibling
3783 respectively.
d615d6d2
MR
3784 (resize-window-reset): Rename to window-resize-reset.
3785 (resize-window-reset-1): Rename to window-resize-reset-1.
3786 (resize-window): Rename to window-resize.
3787 (window-min-height, window-min-width)
3788 (resize-mini-window, resize-this-window, resize-root-window)
3789 (resize-root-window-vertically, adjust-window-trailing-edge)
3790 (enlarge-window, shrink-window, maximize-window)
3791 (minimize-window, delete-window, quit-restore-window)
3792 (split-window, balance-windows, balance-windows-area-adjust)
3793 (balance-windows-area, window-state-put-2)
3794 (display-buffer-even-window-sizes, display-buffer-set-height)
3795 (display-buffer-set-width, set-window-text-height)
3796 (fit-window-to-buffer): Rename all "resize-window" prefixed
3797 calls to use the "window-resize" prefix convention.
3798 (display-buffer-alist): Fix symbol for label specifier.
3799 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3800 corresponding specifier.
3801 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 3802
b6458526
VB
38032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3804
3805 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3806 convention.
3807 (ses-call-printer): Does not pass an empty string to formatter when the
3808 cell is empty to keep from barking printer Calc math-format-value.
3809
d31fd9ac
RS
38102011-06-27 Richard Stallman <rms@gnu.org>
3811
43d5bf84
RS
3812 * battery.el (battery-mode-line-limit): New variable.
3813 (battery-update): Handle it.
3814
d31fd9ac
RS
3815 * mail/rmailmm.el (rmail-mime-process-multipart):
3816 Handle truncated messages.
3817
819a6054
GM
38182011-06-27 Glenn Morris <rgm@gnu.org>
3819
3820 * progmodes/flymake.el (flymake-err-line-patterns):
3821 Allow for column numbers in the ant/javac pattern. (Bug#8866)
3822
cedc73f2
VB
38232011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3824
819a6054 3825 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
3826 (ses--clean-!, ses--clean-_): New functions.
3827 (ses-range): Add configurability of readout order, and conversion
3828 to Calc vector.
3829
5e5d49b6
VB
3830 * ses.el (ses-repair-cell-reference-all): New function.
3831 (ses-cell-symbol): Set macro as safe, so that it can be used in
3832 formulas.
3833
56e6cc31 3834 * ses.el: Update cycle detection algorithm.
90ca8b49 3835 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 3836 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
3837 (ses-set-localvars): New function.
3838 (ses-make-cell): Add property-list as a cell element.
3839 (ses-cell-property-get-fun, ses-cell-property-get)
3840 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
3841 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
3842 New functions.
90ca8b49
VB
3843 (ses-cell-property-set, ses-cell-property-pop)
3844 (ses-cell-property-get-handle): New macro.
3845 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
3846 New aliases, used for code readability.
3847 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
3848 cycle detection.
3849 (ses-self-reference-early-detection): New defcustom.
3850 (ses-formula-references): Robustify against self-refering cells.
3851 (ses-mode): Use ses-set-localvars.
3852 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
3853 before lauching the update processing.
3854 (ses-initialize-Dijkstra-attempt): New function.
3855 (ses-recalculate-cell): Update for cycle detection based on
3856 Dijkstra algorithm.
3857
2bb63e81
VB
3858 * ses.el: Fix commenting and indenting convention.
3859
c9d29fb8
SM
38602011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3861
3862 * bs.el (bs-cycle-next): Complete last change.
3863
d8e4b68b
JB
38642011-06-27 Drew Adams <drew.adams@oracle.com>
3865
3866 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
3867
40098786
LMI
38682011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3869
c9d29fb8
SM
3870 * net/network-stream.el (network-stream-open-starttls):
3871 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
3872 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
3873
40098786
LMI
3874 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
3875 to binary to possibly avoid line encoding issues on Windows (among
3876 other things).
3877
468d09d4
LMI
38782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3879
3880 * net/network-stream.el (open-network-stream): Return an :error
3881 saying what the problem was, if possible.
3882
3883 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
3884 server.
3885
3886 * net/network-stream.el (network-stream-open-starttls): If we
3887 wanted to use STARTTLS, and the server offered it, but we weren't
3888 able to because we had no STARTTLS support, then close the connection.
3889 (open-network-stream): Return an :error element, if present.
3890
16f07dd7
CY
38912011-06-26 Chong Yidong <cyd@stupidchicken.com>
3892
88821ca0
CY
3893 * hl-line.el (hl-line-sticky-flag): Doc fix.
3894 (global-hl-line-sticky-flag): New option (Bug#8323).
3895 (global-hl-line-highlight): Obey it.
3896
16f07dd7
CY
3897 * vc/vc.el (vc-revert-show-diff): Default to t.
3898
6b5ccddf
KM
38992011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
3900
c9d29fb8
SM
3901 * allout-widgets.el (allout-widgets-post-command-business):
3902 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
3903 undecorated when an isearch is continued past, and isearch
3904 automatically collapses them. This leads to "widget leaks", where
3905 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
3906 hidden widgets can slow down cursor travel, substantially.
3907 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
3908 so we're doing without this nicety.
3909
3910 (allout-widgets-tally-string): Don't try to do a hash-table-count
3911 of allout-widgets-tally when it's nil. This eliminates spurious "Error
3912 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
3913 *Messages* when allout-widgets-maintain-tally is t.
3914
355f2e07
MR
39152011-06-26 Martin Rudalics <rudalics@gmx.at>
3916
3917 * window.el (display-buffer-normalize-argument): Rename to
3918 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
3919 LABEL argument. Respect special-display-function when popping up
3920 a new frame. Fix code searching for a window showing the buffer
3921 on another frame.
c9d29fb8
SM
3922 (display-buffer-normalize-specifiers):
3923 Call display-buffer-normalize-arguments.
355f2e07
MR
3924 (display-buffer-in-window): Don't undedicate the window if its
3925 buffer remains the same.
3926 Reported by Drew Adams <drew.adams@oracle.com>.
3927 (display-buffer-alist): Add choice for same-window macro
3928 specfier.
3929 (display-buffer): Mention special meaning of LABEL argument in
3930 doc-string. Fix quoting. Don't pop up a new frame even as
3931 fallback.
3932
7ca8fc42
JB
39332011-06-26 Juanma Barranquero <lekktu@gmail.com>
3934
3935 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
3936 avoid deleting the current window in some cases (bug#8911).
3937
bc312254
AS
39382011-06-26 Andreas Schwab <schwab@linux-m68k.org>
3939
3940 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
3941 (Bug#8934)
3942
2db18f3f
LMI
39432011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3944
c9d29fb8
SM
3945 * net/network-stream.el (network-stream-open-starttls):
3946 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
3947 (network-stream-open-tls): Ditto.
3948
6302e0d3
LL
39492011-06-26 Leo Liu <sdl.web@gmail.com>
3950
3951 * register.el (registerv): New struct.
3952 (registerv-make): New function.
c9d29fb8
SM
3953 (jump-to-register, describe-register-1, insert-register):
3954 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
3955 struct. (Bug#8415)
3956
5fdd4046
CY
39572011-06-26 Chong Yidong <cyd@stupidchicken.com>
3958
2afef60a
CY
3959 * vc/vc.el (vc-revert-show-diff): New defcustom.
3960 (vc-diff-internal): New arg specifying diff buffer.
3961 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
3962 reuse an existing *vc-diff* buffer (Bug#8927).
3963
5fdd4046
CY
3964 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
3965
e93db24a
GM
39662011-06-26 Glenn Morris <rgm@gnu.org>
3967
3968 * progmodes/f90.el (f90-critical-indent): New option.
3969 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
3970 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
3971 (f90-mode): Doc fix.
3972 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
3973 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
3974 (f90-beginning-of-block, f90-next-block, f90-indent-region)
3975 (f90-match-end): Handle block, critical.
3976
eefff499
GM
39772011-06-25 Glenn Morris <rgm@gnu.org>
3978
f6ba4cc9
GM
3979 * calendar/diary-lib.el (diary-included-files): Doc fix.
3980 (diary-include-files): New function, extracted from
3981 diary-include-other-diary-files and diary-mark-included-diary-files.
3982 (diary-include-other-diary-files, diary-mark-included-diary-files):
3983 Just call diary-include-files.
3984 (diary-mark-entries): Reset diary-included-files on first call.
3985
16712304
GM
3986 * calendar/diary-lib.el (diary-mark-entries)
3987 (diary-mark-included-diary-files):
3988 Visit included diary-files in temp buffers.
3989
5d8e0d43
GM
3990 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
3991 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
3992 (f90-start-block-re, f90-imenu-generic-expression)
3993 (f90-looking-at-program-block-start, f90-no-block-limit):
3994 Add support for submodules.
3995
ccf7a5d5
GM
3996 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
3997 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 3998
11fdef7d 39992011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4000
4001 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4002 buffer-file-type before setting its value, to avoid disastrous
eefff499 4003 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4004
74f53697
JB
40052011-06-25 Juanma Barranquero <lekktu@gmail.com>
4006
4007 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4008
4009 * ses.el (ses-unload-function):
4010 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4011
4012 * proced.el (proced-unload-function):
4013 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4014
18a4ce5e
AR
40152011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4016
4017 * server.el (server-create-window-system-frame): Add parameters arg.
4018 (server-process-filter): Doc fix. Handle frame-parameters.
4019
519d22cc
JB
40202011-06-25 Juanma Barranquero <lekktu@gmail.com>
4021
4022 Fix bug#8730, bug#8781.
4023
4024 * loadhist.el (unload--set-major-mode): New function.
4025 (unload-feature): Use it.
4026
4027 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4028 (python-unload-function): New function.
4029
c206f5b0
SM
40302011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4033
f9ad64f3
GS
40342011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4035
4036 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4037 the candidates list.
4038
7d0da90e
JB
40392011-06-24 Juanma Barranquero <lekktu@gmail.com>
4040
4041 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4042
14b4e83d
RS
40432011-06-23 Richard Stallman <rms@gnu.org>
4044
4045 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4046 (rmail-variables): Set next-error-move-function.
4047 (rmail-what-message): Take argument POS.
4048 (rmail-next-error-move): New function.
4049
273d2baf
SM
40502011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4053 messages for adjacent non-terminals.
4054
56c2cc9a
RS
40552011-06-23 Richard Stallman <rms@gnu.org>
4056
4057 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4058 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4059 (rmail-start-mail): Don't specify use of rmail-mail-return;
4060 that's done by mail-bury now.
4061 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4062
d59eb518
MA
40632011-06-23 Michael Albinus <michael.albinus@gmx.de>
4064
4065 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4066 SIZE is a number.
4067
02cfc6d6
MR
40682011-06-23 Martin Rudalics <rudalics@gmx.at>
4069
4070 * window.el (get-lru-window, get-mru-window)
4071 (get-largest-window): Never return a minibuffer window.
4072 (display-buffer-pop-up-window): Fix a bug that could lead to
4073 reusing the minibuffer window.
4074 (display-buffer): Pass original specifier argument to
4075 display-buffer-function instead of the normalized one.
4076 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4077
4e323265
LL
40782011-06-22 Leo Liu <sdl.web@gmail.com>
4079
4080 * minibuffer.el (completing-read-function)
4081 (completing-read-default): Move from minibuf.c
4082
7a70468f
RS
40832011-06-22 Richard Stallman <rms@gnu.org>
4084
50718fc2
RS
4085 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4086 to Rmail even if not started by a special Rmail command.
4087
7a70468f
RS
4088 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4089 Copy the buffer currently showing just one message.
4090
297dde5a
RW
40912011-06-22 Roland Winkler <winkler@gnu.org>
4092
4093 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4094 (bibtex-clean-entry): First delete the old key so that a
4095 customized algorithm for generating the new key does not get
4096 confused by the old key.
4097 (bibtex-url): Obey regexp of first step.
4098 (bibtex-search-entries): Do not use add-to-list with local
4099 list-var.
4100
97bb1093
LMI
41012011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4102
4103 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4104 stored a user name, then query for the password first, instead of
4105 waiting for SMTP to give an error message and the trying again.
4106
1c0f1a19
JD
41072011-06-22 Lawrence Mitchell <wence@gmx.li>
4108
4109 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4110 BUFFER in call-process.
4111
396f7c9d
LMI
41122011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4113
4114 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4115 QUIT twice.
ddb7ffee
LMI
4116 (smtpmail-try-auth-methods): Require user name and password from
4117 auth-source.
396f7c9d 4118
8998d1b3
MR
41192011-06-22 Martin Rudalics <rudalics@gmx.at>
4120
4121 * window.el (display-buffer-default-specifiers)
4122 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4123 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4124 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4125
4126 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4127 (special-display-frame-alist, special-display-popup-frame):
4128 Remove duplicate declarations. These are now in window.el.
4129
4ea31e07
LMI
41302011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4131
c9d29fb8
SM
4132 * mail/smtpmail.el (smtpmail-via-smtp):
4133 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4134 server supports it. SMTP servers that support STARTTLS commonly
4135 require it.
4136
4137 * net/network-stream.el (network-stream-open-starttls): Support
4138 upgrading to STARTTLS always, even if we don't have built-in support.
4139 (open-network-stream): Add the :always-query-capabilies keyword.
4140
95f41d9a
LMI
4141 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4142 upgrades with `open-network-stream', and rely solely on
4143 auth-source for all credentials. Big changes throughout the file,
4144 but in particular:
c9d29fb8
SM
4145 (smtpmail-auth-credentials): Remove.
4146 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4147 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4148 MAIL FROM, too.
95f41d9a 4149
c9d29fb8
SM
4150 * net/network-stream.el (network-stream-open-starttls):
4151 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4152 STARTTLS.
4153 (auth-source): Require.
4154 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4155 (network-stream-certificate): Change cert-cert to cert and
4156 cert-key to key.
4ea31e07 4157
065ec2c7
MA
41582011-06-21 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * net/tramp-cache.el (top): Don't load the persistency file when
4161 "emacs -Q" has been called.
4162
cd93b359
DR
41632011-06-21 Tim Harper <timcharper@gmail.com>
4164
d8e4b68b
JB
4165 * term/ns-win.el (ns-initialize-window-system):
4166 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4167 resource to NO as it is not yet supported by the NS port.
4168
ae9c0411
JB
41692011-06-21 Juanma Barranquero <lekktu@gmail.com>
4170
4171 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4172 (list-dynamic-libraries): ...not here.
4173
7f3f739f
LL
41742011-06-21 Leo Liu <sdl.web@gmail.com>
4175
4176 * subr.el (sha1): Implement sha1 using secure-hash.
4177
327c8fb1
MR
41782011-06-21 Martin Rudalics <rudalics@gmx.at>
4179
4180 * window.el (display-buffer-alist): In default value do not
4181 enforce searching a window on any but the selected frame.
4182 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4183 (display-buffer-select-window): Remove function.
4184 (display-buffer-in-window): When a window on another frame gets
4185 reused, do not select it any more but just raise its frame if
4186 necessary (Bug#8851) and (Bug#8856).
4187 (display-buffer-normalize-options): Handle pop-up-frames related
4188 options more faithfully.
4189 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4190 window if it is on another frame.
c9d29fb8
SM
4191 (display-buffer-alist, display-buffer-default-specifiers):
4192 Don't make new frame unsplittable by default.
9e9de014
MR
4193 (display-buffer-normalize-argument): Fix doc-string typo and use
4194 'same-frame-other-window instead of 'other-window when associating
4195 with display-buffer-macro-specifiers.
327c8fb1 4196
7cf3f556
VB
41972011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4198
4199 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4200 New functions.
4201 (5x5-mode-map, 5x5-mode-menu): Bind them.
4202 (5x5-draw-grid): Tweak the solver's rendering.
4203
60a406cf
SM
42042011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4207 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4208
d8e4b68b 42092011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4210
4211 * menu-bar.el: Use function variable instead of switch-to-buffer.
4212 (menu-bar-select-buffer-function): New variable.
60a406cf 4213 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4214
478d6f95
SM
42152011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4216
4217 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4218 variable's status.
4219
ca530739
JD
42202011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4221
4222 * x-dnd.el (x-dnd-version-from-flags)
4223 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4224 and long as number (Bug#8899).
4225 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4226
bcd70d97
SM
42272011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4228
60a406cf 4229 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4230 (completion-try-completion, completion-all-completions): Compute the
4231 metadata argument if it's missing; make it optional (bug#8795).
4232
60a406cf 4233 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4234 (widget-complete): Use new :completion-function property.
4235 (widget-completions-at-point): New function.
4236 (default): Use :completion-function instead of :complete.
60a406cf
SM
4237 (widget-default-completions): Rename from widget-default-complete;
4238 Rewrite.
bcd70d97
SM
4239 (widget-string-complete, widget-file-complete, widget-color-complete):
4240 Remove functions.
4241 (file, symbol, function, variable, coding-system, color):
4242 * international/mule-cmds.el (default-input-method, charset)
4243 (language-info-custom-alist):
4244 * cus-edit.el (face): Use new property :completions.
4245
4246 * progmodes/pascal.el (pascal-completions-at-point): New function.
4247 (pascal-mode): Use it.
4248 (pascal-mode-map): Use completion-at-point.
4249 (pascal-toggle-completions): Make obsolete.
4250 (pascal-complete-word, pascal-show-completions):
4251 * progmodes/octave-mod.el (octave-complete-symbol):
4252 Redefine as obsolete alias.
4253 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4254 Signal absence of completion info for old Octave,
4255 (inferior-octave-complete): Redefine as obsolete alias.
4256 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4257 (meta-completions-at-point): Rename from meta-complete-symbol and
4258 adapt it for use on completion-at-point-functions.
4259 (meta-common-mode): Use it.
4260 (meta-looking-at-backward, meta-match-buffer): Remove.
4261 (meta-complete-symbol): Redefine as obsolete alias.
4262 (meta-common-mode-map): Use completion-at-point.
4263 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4264 (makefile-mode-map): Use completion-at-point.
4265 (makefile-completions-at-point): Rename from makefile-complete and
4266 adapt it for use on completion-at-point-functions.
4267 (makefile-mode): Use it.
4268 (makefile-complete): Redefine as obsolete alias.
4269
aebf69c8
DD
42702011-06-20 Deniz Dogan <deniz@dogan.se>
4271
4272 * net/rcirc.el: Delete trailing whitespaces once and for all.
4273
bfbbb27d
DC
42742011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4275
4276 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4277
d264a46b
CY
42782011-06-19 Chong Yidong <cyd@stupidchicken.com>
4279
4ca009e5
CY
4280 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4281
d264a46b
CY
4282 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4283
fbf5b3ce
MR
42842011-06-19 Martin Rudalics <rudalics@gmx.at>
4285
4286 * window.el (display-buffer-other-window-means-other-frame):
4287 Call display-buffer-normalize-alist.
4288 (display-buffer-normalize-specifiers-1): Rename to
4289 display-buffer-normalize-argument. New argument other-frame.
4290 Rewrite.
4291 (display-buffer-normalize-specifiers-2): Rename to
4292 display-buffer-normalize-options.
4293 (display-buffer-normalize-alist-1): New function.
4294 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4295 display-buffer-normalize-alist.
4296 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4297 (display-buffer-normalize-options-inhibit): New variable.
4298 (display-buffer-normalize-specifiers): Rewrite calling
4299 display-buffer-normalize-alist,
4300 display-buffer-normalize-argument, and
4301 display-buffer-normalize-options. Don't call the latter if
4302 display-buffer-normalize-options-inhibit is non-nil.
4303 (frame-auto-delete): New option.
4304 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4305 (window-list-no-nils, window-state-ignored-parameters)
4306 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4307 (window-state-put-1, window-state-put-2, window-state-put):
4308 New functions.
9a028c23
MR
4309 (display-buffer-normalize-options): Move special-display-p group
4310 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4311
6d10d800
CY
43122011-06-18 Chong Yidong <cyd@stupidchicken.com>
4313
6420d28b
CY
4314 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4315 groups (Bug#8776).
4316 (rx-submatch-n): New function.
4317 (rx): Document it.
4318
ddb8b596
CY
4319 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4320 (Bug#8768).
4321
4322 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4323
77080289
CY
4324 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4325
61dfb316
CY
4326 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4327 anytime existing face settings are present (Bug#8889).
4328
6d10d800
CY
4329 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4330 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4331 Remove unused argument.
4332
be3fb2b8
MR
43332011-06-18 Martin Rudalics <rudalics@gmx.at>
4334
bcd70d97
SM
4335 * window.el (display-buffer-default-specifiers):
4336 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4337 pop-up-window-min-width, and another reuse-window specifier
4338 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4339 (display-buffer-normalize-specifiers-2):
4340 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4341 pop-up-windows is unset. Add a reuse-window specifier for the
4342 case popping up a new window fails.
4343 (special-display-popup-frame): Remove double quoting.
28dec25a 4344 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4345
1c6d8c76
SM
43462011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4349 according to comint-completion-addsuffix.
4350
4351 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4352 (pcomplete-suffix-list): Mark as obsolete.
4353 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4354 pcomplete-seen in the closure.
4355 (pcomplete-comint-setup): Setup completion-at-point as well.
4356 (pcomplete--entries): New function.
4357 (pcomplete--env-regexp): New var.
4358 (pcomplete-entries): Rewrite to work with partial-completion and
4359 without relying on pcomplete-suffix-list.
4360 (pcomplete-pare-list): Remove, unused.
4361
25aef8b8
MR
43622011-06-17 Martin Rudalics <rudalics@gmx.at>
4363
4364 * window.el (display-buffer-alist): Set pop-up-window-min-height
4365 and pop-up-window-min-width in default value. Reported by
4366 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4367 other-window-means-other-frame.
4368 (display-buffer-macro-specifiers): Comment out entry for
4369 other-window specifier.
4370 (display-buffer-other-window-means-other-frame): New function.
4371 (display-buffer-normalize-specifiers-1): New arguments
4372 buffer-name and label. Treat other-window case specially.
4373 (display-buffer-normalize-specifiers-2): Treat other-window case
4374 specially.
4375 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4376 (display-buffer-normalize-specifiers):
4377 Call display-buffer-normalize-specifiers-3.
25aef8b8 4378
dbad4f69
MR
43792011-06-17 Martin Rudalics <rudalics@gmx.at>
4380
4381 * window.el (same-window-p): Fix two typos introduced when
4382 adding with-no-warnings.
d1067961
MR
4383 (display-buffer-normalize-specifiers-1): Don't check
4384 pop-up-frames for 'unset initialization.
4385 (display-buffer-normalize-specifiers-2): Major rewrite using
4386 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4387 (pop-up-frames, display-buffer-reuse-frames)
4388 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4389 Suggested by David Engster <deng@randomsample.de>.
4390 (even-window-heights): Initialize to 'unset.
4391 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4392 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4393 other window case.
dbad4f69 4394
9b9c9e3a
MR
43952011-06-16 Martin Rudalics <rudalics@gmx.at>
4396
bcd70d97
SM
4397 * window.el (display-buffer-normalize-specifiers-1):
4398 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4399 second argument of display-buffer (Bug#8865).
981d5c09
MR
4400 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4401 (switch-to-buffer-other-window-same-frame)
4402 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4403 Adams (Bug#8875).
9c2755e9
MR
4404 (display-buffer): Don't check noninteractive when calling
4405 display-buffer-pop-up-frame.
4406 (display-buffer-pop-up-frame): Never pop up a frame in
4407 noninteractive mode (Bug#8857).
67222e1d
MR
4408 (enlarge-window, shrink-window): Don't report an error when the
4409 window can't be resized as requested (Bug#8862).
9b9c9e3a 4410
2b75be67
SM
44112011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4412
9ffdd3ba
SM
4413 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4414
cb581a67
SM
4415 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4416
2b75be67
SM
4417 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4418
8c0e3589
AM
44192011-06-15 Alan Mackenzie <acm@muc.de>
4420
cb581a67
SM
4421 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4422 for declarators, disable knr checking to speed up for normal files.
4423 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4424
b96e6cde
LMI
44252011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4426
4bba86e6
LMI
4427 * net/network-stream.el (open-network-stream): Add the keyword
4428 :always-query-capabilities for the case where you want to force a
4429 `plain' network connection, but the protocol still requires the
4430 capabilitiy command (i.e., SMTP and EHLO).
4431
2b75be67 4432 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4433 consistency with other `-live-p' functions.
4434
efdcdbf8
SM
44352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * window.el (same-window-buffer-names, same-window-regexps)
4438 (special-display-frame-alist, special-display-popup-frame)
4439 (special-display-function, special-display-buffer-names)
4440 (special-display-regexps, pop-up-frame-alist)
4441 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4442 (pop-up-windows, split-window-preferred-function)
4443 (split-height-threshold, split-width-threshold, even-window-heights)
4444 (display-buffer-mark-dedicated): Don't encourage the use of
4445 display-buffer-alist from Elisp code.
4446
c5cde042
DN
44472011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4448
4449 * progmodes/python.el (python-mode): Derive from prog-mode.
4450 * progmodes/ps-mode.el (ps-mode):
4451 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4452 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4453 * progmodes/ld-script.el (ld-script-mode): Likewise.
4454
baa1c9ab
MR
44552011-06-15 Martin Rudalics <rudalics@gmx.at>
4456
4457 * window.el (display-buffer-alist): Trim default value to avoid
4458 popping up a new frame (Bug#8857) or reusing an arbitrary window
4459 on another frame.
4460 (display-buffer): Do not fall back on popping up a new frame in
4461 batch mode (Bug#8857).
4462
c5dd5a51
CY
44632011-06-14 Chong Yidong <cyd@stupidchicken.com>
4464
4465 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4466 (custom-theme-summary): New function.
4467 (customize-themes): Use it.
4468
d647b7c4
GM
44692011-06-13 Glenn Morris <rgm@gnu.org>
4470
4471 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4472
9481c002
MR
44732011-06-13 Martin Rudalics <rudalics@gmx.at>
4474
357f93d2
MR
4475 * help.el (help-window): Remove variable.
4476 (help-window-point-marker, temp-buffer-max-height)
4477 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4478 (help-print-return-message): Don't set help-window.
4479 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4480 (help-window-setup-finish): Remove.
4481 (help-window-display-message, help-window-setup)
4482 (with-help-window): Major rewrite based on new
4483 display-buffer-window variable.
4484
4485 * help-mode.el (help-mode-finish): Remove help-window related
4486 code.
4487
4488 * view.el (view-exits-all-viewing-windows): Remove reference to
4489 view-return-to-alist in doc-string.
4490 (view-return-to-alist): Make obsolete.
4491 (view-buffer): Call pop-to-buffer-same-window and remove
4492 undo-window code.
4493 (view-buffer-other-window): Call pop-to-buffer-other-window and
4494 simplify code. Ignore second argument.
4495 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4496 simplify code. Ignore second argument.
4497 (view-return-to-alist-update): Make obsolete.
4498 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4499 Rewrite using quit-restore window parameters.
2b75be67
SM
4500 (view-mode-exit): Rename second argument to EXIT-ONLY.
4501 Rewrite using quit-restore-window.
357f93d2
MR
4502 (View-exit, View-exit-and-edit, View-leave, View-quit)
4503 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4504 appropriate arguments.
4505 (view-end-message): Use quit-restore window parameter.
4506
9481c002
MR
4507 * window.el (display-buffer-function): Rewrite doc-string.
4508 (display-buffer-window, display-buffer-alist): New variables.
4509 (display-buffer-split-specifiers)
4510 (display-buffer-side-specifiers)
4511 (display-buffer-macro-specifiers): New constants.
4512 (display-buffer-even-window-sizes, display-buffer-set-height)
4513 (display-buffer-set-width, display-buffer-select-window)
4514 (display-buffer-in-window, display-buffer-reuse-window)
4515 (display-buffer-split-window-1, display-buffer-split-window)
4516 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4517 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4518 (display-buffer-in-side-window, normalize-buffer-to-display)
4519 (display-buffer-normalize-specifiers-1)
4520 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4521 (display-buffer-normalize-specifiers, display-buffer-frame):
4522 New functions.
9481c002
MR
4523 (display-buffer): Major rewrite.
4524 (display-buffer-other-window, display-buffer-other-frame)
4525 (pop-to-buffer, switch-to-buffer-other-window)
4526 (switch-to-buffer-other-frame): Rewrite.
4527 (display-buffer-same-window, display-buffer-same-frame)
4528 (display-buffer-same-frame-other-window)
4529 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4530 (pop-to-buffer-other-window)
4531 (pop-to-buffer-same-frame-other-window)
4532 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4533 (switch-to-buffer-other-window-same-frame): New functions.
4534 (same-window-p, special-display-p): Rewrite disabling warnings.
4535 Make obsolete.
4536 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4537 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4538 Make obsolete
4539 (same-window-buffer-names, same-window-regexps)
4540 (special-display-frame-alist, special-display-popup-frame)
4541 (special-display-function, special-display-buffer-names)
4542 (special-display-regexps, pop-up-frame-alist)
4543 (pop-up-frame-function, split-window-preferred-function)
4544 (split-height-threshold, split-width-threshold)
4545 (even-window-heights): Make obsolete.
4546
9db51aca
GM
45472011-06-12 Glenn Morris <rgm@gnu.org>
4548
4549 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4550 Misc simplifications.
9db51aca 4551
39cffb44
MR
45522011-06-12 Martin Rudalics <rudalics@gmx.at>
4553
4554 * window.el (window-safely-shrinkable-p): Restore function which
4555 was inadvertently removed in change from 2011-06-11. Declare as
4556 obsolete.
4557
2b75be67
SM
4558 * calendar/calendar.el (calendar-generate-window):
4559 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4560 window-safely-shrinkable-p.
4561
a8955be7
GM
45622011-06-12 Glenn Morris <rgm@gnu.org>
4563
4564 * progmodes/fortran.el (fortran-mode-syntax-table):
4565 * progmodes/f90.el (f90-mode-syntax-table):
4566 Set % to punctuation. (Bug#8820)
4567 (f90-find-tag-default): Remove, no longer needed.
4568
f0d4059d
DC
45692011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4570
4571 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4572
1100a63c
CY
45732011-06-11 Chong Yidong <cyd@stupidchicken.com>
4574
4575 * image.el (image-animated-p): Return animation delay in seconds.
4576 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4577 (image-animate-timeout): Remove DELAY argument. Don't assume
4578 every subimage has the same delay; get it from image-animated-p.
4579 (image-animate): Caller changed.
4580
def722bf
MA
45812011-06-11 Michael Albinus <michael.albinus@gmx.de>
4582
4583 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4584 to ignored backtrace functions.
4585
0a2bb1a9
GM
45862011-06-11 Glenn Morris <rgm@gnu.org>
4587
4588 * calendar/appt.el (appt-disp-window-function): Doc fix.
4589 (appt-check): Handle overlapping appointments. (Bug#8337)
4590
6198ccd0
MR
45912011-06-11 Martin Rudalics <rudalics@gmx.at>
4592
4593 * window.el (window-tree-1, window-tree): New functions, moving
4594 the latter to window.el.
4595 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4596 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4597 (bw-refresh-edges): Remove.
4598 (balance-windows-1, balance-windows-2): New functions.
4599 (balance-windows): Rewrite in terms of window tree functions,
4600 balance-windows-1 and balance-windows-2.
4601 (bw-adjust-window): Remove.
4602 (balance-windows-area-adjust): New function with functionality of
4603 bw-adjust-window but using resize-window.
2b75be67
SM
4604 (set-window-text-height): Rewrite doc-string.
4605 Use normalize-live-window and resize-window.
4606 (enlarge-window-horizontally, shrink-window-horizontally):
4607 Rename argument to DELTA.
6198ccd0
MR
4608 (window-buffer-height): New function.
4609 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4610 Rewrite using new window resize routines.
2b75be67
SM
4611 (kill-buffer-and-window, mouse-autoselect-window-select):
4612 Use ignore-errors instead of condition-case.
6198ccd0
MR
4613 (quit-window): Call delete-frame instead of delete-windows-on
4614 for the only buffer on frame.
4615
9397e56f
MR
46162011-06-10 Martin Rudalics <rudalics@gmx.at>
4617
4618 * loadup.el (top-level): Load window before files for the sake
4619 of replace-buffer-in-windows.
4620
4621 * files.el (read-buffer-to-switch)
4622 (switch-to-buffer-other-window)
2b75be67
SM
4623 (switch-to-buffer-other-frame, display-buffer-other-frame):
4624 Move to window.el.
9397e56f
MR
4625
4626 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4627 (previous-buffer): Move to window.el.
4628
4629 * bindings.el (unbury-buffer): Move to window.el.
4630
4631 * window.el (delete-other-windows-vertically): Move after
4632 definition of delete-other-windows.
4633 (other-window, delete-windows-on, replace-buffer-in-windows):
4634 Move here from window.c.
4635 (record-window-buffer, unrecord-window-buffer)
4636 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4637 (switch-to-next-buffer): New functions.
4638 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4639 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4640 (previous-buffer): Move here from simple.el.
4641 Call switch-to-prev-buffer.
9397e56f
MR
4642 (bury-buffer): Move here from buffer.c. Switch to previous
4643 buffer when window cannot be deleted.
4644 (unbury-buffer): Move here from bindings.el.
4645 (ctl-x-map): Move binding for other-window from window.c to
4646 here.
4647 (read-buffer-to-switch, switch-to-buffer-other-window)
4648 (switch-to-buffer-other-frame): Move here from files.el.
4649 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4650 (switch-to-buffer): Move here from buffer.c.
4651 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4652
562dd5e9
MR
46532011-06-10 Martin Rudalics <rudalics@gmx.at>
4654
4655 * window.el (window-min-height, window-min-width): Move here
4656 from window.c. Add defcustoms and rewrite doc-strings.
4657 (resize-mini-window, resize-window): New functions.
4658 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4659 Move here from window.c.
4660 (maximize-window, minimize-window): New functions.
4661 (delete-window, delete-other-windows, split-window): Move here
4662 from window.c.
4663 (window-split-min-size): New function.
4664 (split-window-keep-point): Mention split-window-above-each-other
4665 instead of split-window-vertically.
2b75be67
SM
4666 (split-window-above-each-other, split-window-vertically):
4667 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4668 provide defalias for old definition.
4669 (split-window-side-by-side, split-window-horizontally): Rename
4670 split-window-horizontally to split-window-side-by-side and provide
4671 defalias for the old definition.
4672 (ctl-x-map): Move bindings for delete-window,
4673 delete-other-windows and enlarge-window here from window.c.
4674 Replace bindings for split-window-vertically and
4675 split-window-horizontally by bindings for
4676 split-window-above-each-other and split-window-side-by-side.
4677
4678 * cus-start.el (all): Remove entries for window-min-height and
4679 window-min-width. Add entries for window-splits and
4680 window-nest.
4681
f0da764a
GM
46822011-06-09 Glenn Morris <rgm@gnu.org>
4683
80675c21
GM
4684 * calendar/appt.el (appt-mode-line): New function.
4685 (appt-check, appt-disp-window): Use it.
4686
f0da764a
GM
4687 * files.el (hack-one-local-variable-eval-safep):
4688 Allow minor-modes with explicit +/-1 arguments.
4689
59f623b7
TZ
46902011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4691
4692 * term/xterm.el (xterm): Add defgroup.
4693 (xterm-extra-capabilities): Add defcustom to supply known xterm
4694 capabilities, skip querying them, or query them (default).
4695 (terminal-init-xterm): Use it.
4696 (terminal-init-xterm-modify-other-keys): New function to set up
4697 modifyOtherKeys support to simplify `terminal-init-xterm'.
4698
9aab8e0d
MR
46992011-06-09 Martin Rudalics <rudalics@gmx.at>
4700
4701 * window.el (resize-window-reset, resize-window-reset-1)
4702 (resize-subwindows-skip-p, resize-subwindows-normal)
4703 (resize-subwindows, resize-other-windows, resize-this-window)
4704 (resize-root-window, resize-root-window-vertically)
4705 (window-deletable-p, window-or-subwindow-p)
4706 (frame-root-window-p): New functions.
4707
e8b08aee
GM
47082011-06-09 Glenn Morris <rgm@gnu.org>
4709
4710 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4711 (ange-ftp-get-files): Use it.
4712
254c37a5
AK
47132011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4714
4715 * mail/sendmail.el (mail-recover-1, mail-recover):
4716 * files.el (recover-file, recover-session):
4717 Handle dired-listing-switches not being just a single short option.
4718
35d7dbd3
GM
47192011-06-09 Glenn Morris <rgm@gnu.org>
4720
4721 * calendar/appt.el (appt-display-message, appt-disp-window):
4722 Handle lists of appointments.
4723
387522b2
MR
47242011-06-08 Martin Rudalics <rudalics@gmx.at>
4725
2b75be67
SM
4726 * window.el (one-window-p): Move down in code.
4727 Rewrite doc-string.
4728 (window-current-scroll-bars): Rewrite doc-string.
4729 Normalize live window argument.
387522b2
MR
4730 (walk-windows, get-window-with-predicate, count-windows):
4731 Rewrite doc-string. Use window-list-1.
4732 (window-in-direction-2, window-in-direction, get-mru-window):
4733 New functions.
4734
d8e4b68b 47352011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
4736
4737 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4738 Doc fix (Bug#8713).
4739
47402011-06-08 Chong Yidong <cyd@stupidchicken.com>
4741
4742 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4743
47442011-06-08 Juanma Barranquero <lekktu@gmail.com>
4745
4746 * loadhist.el (unload-feature-special-hooks):
4747 Add `comint-output-filter-functions'.
4748
0de12c52
IK
47492011-06-08 Ivan Kanis <gnu@kanis.fr>
4750
4751 * calendar/appt.el (appt-check): Move some initializations into the let.
4752
f3d1777e
MR
47532011-06-08 Martin Rudalics <rudalics@gmx.at>
4754
4755 * window.el (window-height): Defalias to window-total-height.
4756 (window-width): Defalias to window-body-width.
4757
18af70d0
CY
47582011-06-07 Chong Yidong <cyd@stupidchicken.com>
4759
4760 * image-mode.el (image-toggle-animation): New command.
4761 (image-mode-map): Bind it to RET.
4762 (image-mode): Update message.
4763 (image-toggle-display-image): Avoid a spurious cache flush.
4764 (image-transform-rotation): Doc fix.
4765 (image-transform-properties): Return quickly in the normal case.
4766 (image-animate-loop): Rename from image-animate-max-time.
4767
2b75be67 4768 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
4769 (create-animated-image): Remove unnecessary function.
4770 (image-animate): Rename from image-animate-start. New arg.
2b75be67 4771 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
4772 (image-animate-timer): Use car-safe.
4773 (image-animate-timeout): Rename argument.
4774
190b47e6
MR
47752011-06-07 Martin Rudalics <rudalics@gmx.at>
4776
4777 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
4778 window.c. Rename first argument to ALL-FRAMES.
4779 Rephrase doc-strings.
4780 (get-buffer-window-list): Rewrite using window-list-1.
4781 Rephrase doc-string.
a1511caf
MR
4782 (window-safe-min-height, window-safe-min-width): New constants.
4783 (window-size-ignore, window-min-size, window-min-size-1)
4784 (window-sizable, window-sizable-p, window-size-fixed-1)
4785 (window-size-fixed-p, window-min-delta-1, window-min-delta)
4786 (window-max-delta-1, window-max-delta, window-resizable)
4787 (window-resizable-p, window-total-height, window-total-width)
4788 (window-body-width): New functions.
4789 (window-full-height-p, window-full-width-p): Rewrite using
4790 window-total-size.
4791 (window-body-height): Rewrite using window-body-size.
190b47e6 4792
85cc1f11
MR
47932011-06-06 Martin Rudalics <rudalics@gmx.at>
4794
4795 * window.el (window-right, window-left, window-child)
4796 (window-child-count, window-last-child, window-any-p)
4797 (normalize-live-buffer, normalize-live-frame)
4798 (normalize-any-window, normalize-live-window)
4799 (window-iso-combination-p, window-iso-combined-p)
4800 (window-iso-combinations)
4801 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4802 (windows-with-parameter, window-with-parameter)
4803 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
4804 (window-atom-check, window-side-check, window-check):
4805 New functions.
85cc1f11
MR
4806 (ignore-window-parameters, window-sides, window-sides-vertical)
4807 (window-sides-slots): New variables.
4808 (window-size-fixed): Move down in code. Minor doc-string fix.
4809
e7156492
AS
48102011-06-05 Andreas Schwab <schwab@linux-m68k.org>
4811
4812 * comint.el (comint-dynamic-complete-as-filename)
4813 (comint-dynamic-complete-filename): Correctly call
4814 completion-in-region.
4815
7e821d0d
DD
48162011-06-05 Deniz Dogan <deniz@dogan.se>
4817
4818 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4819 in last change.
4820
ac09b8a1
DD
48212011-06-05 Deniz Dogan <deniz@dogan.se>
4822
4823 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4824 (rcirc): Use it to prompt for encryption.
4825
34699b85
RW
48262011-06-05 Roland Winkler <winkler@gnu.org>
4827
4828 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
4829 (bibtex-search-entries): New command bound to C-c C-a.
4830 (bibtex-display-entries): New function.
4831
004dedd3
RW
48322011-06-05 Roland Winkler <winkler@gnu.org>
4833
4834 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
4835 (bibtex-insert-kill): After yanking insert newline if necessary.
4836 (bibtex-initialize): Call bibtex-string-files-init only once.
4837 (bibtex-mode): Do not call easy-menu-add.
4838 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
4839 (bibtex-yank): Set arg properly if nil.
4840
022fe7ce
RW
48412011-06-05 Roland Winkler <winkler@gnu.org>
4842
2b75be67
SM
4843 * textmodes/bibtex.el (bibtex-search-entry-globally):
4844 New variable.
022fe7ce
RW
4845 (bibtex-search-entry): Use it.
4846
b7c3692a
RW
48472011-06-05 Roland Winkler <winkler@gnu.org>
4848
4849 * textmodes/bibtex.el (bibtex-entry-format): New option
4850 sort-fields.
4851 (bibtex-format-entry, bibtex-reformat): Honor this option.
4852 (bibtex-parse-entry): Return fields in proper order.
4853
8eda563d
JB
48542011-06-05 Juanma Barranquero <lekktu@gmail.com>
4855
4856 * doc-view.el (doc-view-remove-if): Move computation of result out
4857 of `dolist' to silence misleading lexical-binding warning.
4858
7dbe3dbc
CY
48592011-06-04 Chong Yidong <cyd@stupidchicken.com>
4860
4861 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
4862 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
4863
0c33dd17
MA
48642011-06-04 Michael Albinus <michael.albinus@gmx.de>
4865
4866 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
4867 "SunOS 5.10".
4868
f8f91c2b
MA
48692011-06-04 Michael Albinus <michael.albinus@gmx.de>
4870
4871 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
4872 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
4873 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
4874 (tramp-parse-putty):
4875 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
4876 (tramp-completion-function-alist-ssh)
4877 (tramp-completion-function-alist-telnet)
4878 (tramp-completion-function-alist-su)
4879 (tramp-completion-function-alist-putty): Set `tramp-autoload'
4880 cookie.
4881
4882 * net/tramp-ftp.el:
4883 * net/tramp-sh.el:
4884 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
4885 load "tramp.el" `tramp-set-completion-function'.
4886
e17d9003
SM
48872011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * shell.el: Require and use pcomplete.
4890 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
4891 (shell-completion-vars): Set pcomplete-default-completion-function.
4892
6c4cab03
DD
48932011-06-04 Deniz Dogan <deniz@dogan.se>
4894
4895 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
4896 `memq' (Bug#8799).
4897
ea9fafe0
SM
48982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4899
4900 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
4901
b3e945d3
JB
49022011-06-02 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * bs.el (bs--mark-unmark, bs--nth-wrapper):
4905 * mpc.el (mpc-select-extend, mpc-songpointer-context):
4906 * vc/log-view.el (log-view-beginning-of-defun):
4907 * vc/smerge-mode.el (smerge-apply-resolution-patch)
4908 (smerge-refine-forward, smerge-refine-chopup-region):
4909 Silence warning for unused `dotimes' counter variables.
4910
7d520089
SM
49112011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * net/tramp.el (tramp-with-progress-reporter): Rename from
4914 with-progress-reporter. Use `declare'.
4915 * net/tramp-smb.el:
4916 * net/tramp-sh.el:
4917 * net/tramp-gvfs.el: Update all uses.
4918
a1c2400f
JB
49192011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
4920
4921 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
4922 buffer isn't killed before making it current.
4923
2403c841
SM
49242011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 Silence various byte-compiler warnings.
4927 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
4928 `access-type' and new obsolescence format.
4929 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
4930 new format.
4931 (byte-compile-check-variable): New `access-type' argument.
4932 Only warn if the access-type is obsolete.
4933 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4934 (byte-compile-variable-set): Adjust callers.
4935 * help-fns.el (describe-variable): Adjust to new obsolescence format.
4936 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
4937 setting it as obsolete.
4938 * simple.el (minibuffer-completing-symbol):
4939 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
4940 access as obsolete.
4941 * minibuffer.el (minibuffer-completing-file-name): Don't make it
4942 obsolete yet.
4943 * international/quail.el (quail-mouse-choose-completion): Remove unused
4944 code referring to obsolete var.
4945 (quail-choose-completion-string): Remove.
4946 * server.el (server-clients-with, server-kill-buffer-query-function)
4947 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
4948 * proced.el (proced-send-signal):
4949 * emacs-lisp/lisp.el (lisp-complete-symbol):
4950 Replace completion-annotate-function with completion-extra-properties.
4951
2462470b
SM
49522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4953
fb5b2591
SM
4954 * simple.el (goto-line): Use read-number.
4955 (overriding-map-is-bound): Remove.
4956 (saved-overriding-map): Change default.
4957 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
4958 Take the map as argument.
4959 (universal-argument, negative-argument, digit-argument): Use it.
4960 (restore-overriding-map): Adjust.
4961 (do-auto-fill): Use fill-forward-paragraph.
4962 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
4963
fd6fa53f
SM
4964 * minibuffer.el (minibuffer-inactive-mode-map): New var.
4965 (minibuffer-inactive-mode): New major mode.
4966 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
4967 the *Messages* buffer" hack.
4968 (mouse-popup-menubar): Don't burp if the event is a normal key.
4969
2462470b
SM
4970 Miscellaneous tweaks.
4971 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
4972 lexical scoping as in subr.el's dolist and dotimes.
4973 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
4974 Silence compiler warning.
4975 * thingatpt.el (forward-whitespace): Trivial coding style fix.
4976 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
4977 * international/ccl.el (ccl-compile): Trivial simplification.
4978 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
4979 * emacs-lisp/testcover.el (testcover-end): Remove spurious
4980 `printflag' argument.
4981 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
4982 Purecopy the whole obsolescence data.
4983
108bf785
LL
49842011-06-01 Leo Liu <sdl.web@gmail.com>
4985
4986 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
4987 improve doc-string as suggested by Marco Pessotto
4988 <melmothx@gmail.com>.
4989 (rcirc-print): Fix last change.
4990
30a23501
SM
49912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * minibuffer.el (complete-with-action): Return nil for the metadata and
4994 boundaries of non-functional tables.
4995 (completion-table-dynamic): Return nil for the metadata.
4996 (completion-table-with-terminator): Add default case, using
4997 complete-with-action.
4998 (completion--metadata): New function.
4999 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5000 to try and avoid pathological performance problems.
5001 (completion--embedded-envvar-table): Return `category' metadata.
5002
bcd54f83
LMI
50032011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5004
5005 * subr.el (process-alive-p): New tiny convenience function.
5006
e227544d
SM
50072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5010 content but also its previous major mode.
5011
e8296fdc
HE
50122011-05-31 Helmut Eller <eller.helmut@gmail.com>
5013
4d61f28d 5014 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5015 *Backtrace* buffer when we exit with C-M-c.
5016
620c53a6
SM
50172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * minibuffer.el: Add metadata method to completion tables.
5020 (completion-category-overrides): New defcustom.
5021 (completion-metadata, completion--field-metadata)
5022 (completion-metadata-get, completion--styles)
5023 (completion--cycle-threshold): New functions.
5024 (completion-try-completion, completion-all-completions):
5025 Add `metadata' argument to choose completion-styles.
5026 (completion--do-completion): Use metadata to choose cycling.
5027 (completion-all-sorted-completions): Use metadata for sorting.
5028 Remove :completion-cycle-penalty which is not needed any more.
5029 (completion--try-word-completion): Add `metadata' argument.
5030 (minibuffer-completion-help): Check metadata for annotation function
5031 and sorting.
5032 (completion-file-name-table): Return `category' metadata.
5033 (minibuffer-completing-file-name): Make obsolete.
5034 * simple.el (minibuffer-completing-symbol): Make obsolete.
5035 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5036 completion-try-completion.
5037
1257e755
SM
50382011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5039
5040 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5041
3767e706
LL
50422011-05-30 Leo Liu <sdl.web@gmail.com>
5043
5044 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5045 (rcirc-print): Decode all incoming messages (bug#8744).
5046 (rcirc-decode-coding-system): Allow value nil for automatic coding
5047 system detection.
3767e706 5048
d1a5d56a
GM
50492011-06-01 Glenn Morris <rgm@gnu.org>
5050
5051 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5052
e8cbec34
CY
50532011-05-29 Chong Yidong <cyd@stupidchicken.com>
5054
5055 * image.el (image-animate-max-time): Allow nil and t values.
5056 Default to nil.
5057 (create-animated-image): Doc fix.
5058 (image-animate-start): Remove second arg; just use
5059 image-animate-max-time.
5060 (image-animate-timeout): Doc fix. Args changed.
5061
5062 * image-mode.el (image-toggle-display-image): Ensure that the
5063 image spec passed to the animate timer is the same object as in
5064 the the buffer's display property (Bug#6981).
5065 (image-transform-properties): Doc fix.
5066
5067 * image.el (image-animate-max-time): Default to nil.
5068
159daf87
MR
50692011-05-29 Martin Rudalics <rudalics@gmx.at>
5070
5071 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5072 entire buffer list (Bug#8184).
5073
d66c4c7c
CY
50742011-05-29 Chong Yidong <cyd@stupidchicken.com>
5075
5076 * image.el (imagemagick-types-inhibit)
5077 (imagemagick-register-types): Doc fix.
5078
80aec780
DD
50792011-05-29 Deniz Dogan <deniz@dogan.se>
5080
5081 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5082 default.
5083
1dd3c2d9
CY
50842011-05-29 Chong Yidong <cyd@stupidchicken.com>
5085
5086 * select.el: Don't perform clipboard-manager saving in hooks;
5087 leave the hooks empty.
5088
60e56523
LL
50892011-05-28 Leo Liu <sdl.web@gmail.com>
5090
5091 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5092 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5093 (occur-edit-mode): New major mode (Bug#8463).
5094 (occur-after-change-function): New function.
5095 (occur-engine): Give Occur tags a read-only property.
5096
2b1e1a22
KR
50972011-05-28 Kevin Ryde <user42@zip.com.au>
5098
5099 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5100
5d344e88
CY
51012011-05-28 Chong Yidong <cyd@stupidchicken.com>
5102
8e6ca83d
CY
5103 * bindings.el (help-echo): Make the initial non-indicator dash
5104 empty on graphical terminals (Bug#7295).
5105
5d344e88
CY
5106 * files.el (auto-mode-alist): Move config rule after the
5107 in-stripping one (Bug#8547).
5108
bfbbace7
CY
5109 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5110
fbeba6e2
CY
5111 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5112 setting (Bug#8740).
5113
60ed8c72
AA
51142011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5115
4ac619f0
AA
5116 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5117 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5118 (Bug#8539).
60ed8c72 5119
23db196e
CY
51202011-05-28 Chong Yidong <cyd@stupidchicken.com>
5121
5122 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5123
5012f24c
DK
51242011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5125
5126 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5127 (hs-hide-block-at-point, hs-find-block-beginning)
5128 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5129 (Bug#8279).
5130
6a639b16
GM
51312011-05-28 Glenn Morris <rgm@gnu.org>
5132
5133 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5134
d43eaf2c
CY
51352011-05-28 Chong Yidong <cyd@stupidchicken.com>
5136
5199bde1
CY
5137 * help-fns.el (describe-function-1): If the function is a derived
5138 major mode, print the parent mode.
5139
d43eaf2c
CY
5140 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5141 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5142
423428a8
SM
51432011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5144
0ff8e1ba
SM
5145 * minibuffer.el (completion--capf-wrapper): Check applicability before
5146 retuning non-nil for non-exclusive completion data.
5147 * progmodes/etags.el (tags-completion-at-point-function):
5148 * info-look.el (info-lookup-completions-at-point): Mark as
5149 non-exclusive.
5150 (info-complete): Adjust accordingly.
5151
423428a8
SM
5152 * info-look.el: Convert to lexical-binding and completion-at-point.
5153 (info-lookup-completions-at-point): New function.
5154 (info-complete): Use it and completion-in-region.
5155
b74aa22b
DA
51562011-05-28 Drew Adams <drew.adams@oracle.com>
5157
5158 * isearch.el: Let M-e start with point at the first mismatched char.
5159 (isearch-fail-pos): New function.
5160 (isearch-edit-string): Use it.
5161
66e2e71d
DK
51622011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5163
5164 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5165
eb95d01d
TC
51662009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5167
5168 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5169 traversal functions for avl-trees.
5170 (avl-tree--stack): New struct.
5171 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5172 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5173 (avl-tree--do-enter): Add optional `updatefun' arg.
5174 Change return value.
eb95d01d 5175 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5176 (avl-tree--do-delete): Add `test' and `nilflag' args.
5177 Change return value.
eb95d01d
TC
5178 (avl-tree-member): Add optional `nilflag'
5179 (avl-tree-member-p): New function.
5180 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5181 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5182 (avl-tree-stack-empty-p): New functions.
5183
3769ddcf
TC
51842009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5185
5186 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5187 avl-tree--del-balance1 and make it work both ways.
5188 (avl-tree--del-balance2): Remove.
5189 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5190 make it work both ways.
5191 (avl-tree--enter-balance2): Remove.
5192 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5193 New macros.
5194 (avl-tree--mapc, avl-tree-map): Add direction argument.
5195
eb95d01d 51962011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5197
5198 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5199
a9f737ee
CY
52002011-05-27 Chong Yidong <cyd@stupidchicken.com>
5201
5202 * select.el: Support clipboard managers with built-in function
5203 x-clipboard-manager-save, via delete-frame-functions and
5204 kill-emacs-hook.
5205 (xselect-convert-to-targets): Add MULTIPLE target to list.
5206 (xselect-convert-to-save-targets): New function.
5207
c92a1e54
KH
52082011-05-27 Kenichi Handa <handa@m17n.org>
5209
5210 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5211 let-binding rfc2047-encode-encoded-words to nil.
5212
e145f188
GM
52132011-05-27 Glenn Morris <rgm@gnu.org>
5214
5ec8a862
GM
5215 * mail/emacsbug.el: Don't require url-util.
5216
4b29d9fb
GM
5217 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5218
e145f188
GM
5219 * files.el (set-auto-mode):
5220 Also respect mode: entries at the end of the file. (Bug#8586)
5221
7d15102b
GM
52222011-05-26 Glenn Morris <rgm@gnu.org>
5223
98f593b8
GM
5224 * files.el (hack-local-variables-prop-line, hack-local-variables):
5225 Downcase mode names, as seems to be traditional.
27b48e63 5226 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5227
7d15102b
GM
5228 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5229 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5230
51d5b4ec
JD
52312011-05-25 Julien Danjou <julien@danjou.info>
5232
5233 * textmodes/rst.el (rst-define-level-faces): Do not define face
5234 symbol if it is already defined.
5235
91513f63
VB
52362011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5237
5238 * play/5x5.el (5x5-new-game, 5x5-randomize):
5239 Reset 5x5-solver-output to nil when a new grid is cast.
5240 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5241 these debugging traces, as defmacro breaks the compiled code.
5242
4d90d6d0
DK
52432011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5244
5245 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5246
e1b90ef6
LL
52472011-05-24 Leo Liu <sdl.web@gmail.com>
5248
5249 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5250 (vc-bzr-sha1): Adapt.
5251
d8e4b68b 5252 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5253
5254 * bindings.el: Provide sha1 feature.
5255
db0406bb 52562011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5257
5258 * mail/sendmail.el: Require `rfc2047'.
5259 (mail-insert-from-field): Do not perform RFC2047 encoding.
5260 (mail-encode-header): New function.
5261 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5262 buffer to the return value of select-message-coding-system.
5263 Call mail-encode-header.
b8d747b9
KH
5264
5265 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5266
db0406bb 52672011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5268
4d90d6d0
DK
5269 * mail/supercite.el (sc-default-cite-frame):
5270 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5271
eb8a5e9b
GM
52722011-05-24 Glenn Morris <rgm@gnu.org>
5273
f8630703
GM
5274 * progmodes/python.el (brm-menu): Declare.
5275
8831bbed
GM
5276 * emulation/viper.el (viper-set-hooks): Declare.
5277
eb8a5e9b
GM
5278 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5279 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5280 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5281 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5282 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5283 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5284
a2a25d24
SM
52852011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 Add an :exit-function for completion-at-point.
5288
5289 * minibuffer.el (completion--done): New fun.
5290 (completion--do-completion): Use it. New arg `expect-exact'.
5291 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5292 since completion--do-completion does it for us now.
5293 (minibuffer-force-complete): Use completion--done and
5294 completion--replace. Handle sole-completion case with more care.
5295 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5296 (completion-extra-properties): New var.
5297 (completion-annotate-function): Make obsolete.
5298 (minibuffer-completion-help): Adjust accordingly.
5299 Use completion-list-insert-choice-function.
5300 (completion-at-point, completion-help-at-point):
5301 Bind completion-extra-properties.
5302 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5303 * simple.el (completion-list-insert-choice-function): New var.
5304 (completion-setup-function): Preserve it.
5305 (choose-completion): Pay attention to it, shuffle the code a bit.
5306 (choose-completion-string): New arg `insert-function'.
5307
5308 * textmodes/bibtex.el: Convert to lexical binding.
5309 (bibtex-mode-map): Use completion-at-point.
5310 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5311 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5312 (bibtex-complete): Define as obsolete alias.
5313 (bibtex-complete-internal): Remove.
5314 (bibtex-format-entry): Remove unused sub-group in regexp.
5315 * shell.el (shell--command-completion-data)
5316 (shell-environment-variable-completion):
5317 * pcomplete.el (pcomplete-completions-at-point):
5318 * comint.el (comint--complete-file-name-data): Use :exit-function
5319 instead of completion-table-with-terminator so it also works for
5320 choose-completion.
5321
e44e373d
SM
53222011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5323
4f91a816
SM
5324 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5325
782fc819
SM
5326 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5327 (bug#8710).
5328
e44e373d
SM
5329 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5330
381987c3
KM
53312011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5332
5333 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5334 customization variable and implement: If non-nil, auto-fill will
5335 be inhibited while on topic's header line.
5336
b776bc70
VB
53372011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5338
5339 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5340 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5341 always have a solution in grid size = 5 cases.
5342 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5343 (5x5-solver-output, 5x5-log-buffer): New vars.
5344 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5345 Make these variables buffer local to achieve 5x5 multi-session-ness.
5346 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5347 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5348 (5x5-solve-suggest): New funs.
5349 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5350 randomize a grid so that we ensure that there is always a solution.
5351 (5x5-make-random-grid): Allow other movement than flipping.
5352
7de88b6e
KR
53532011-05-23 Kevin Ryde <user42@zip.com.au>
5354
5355 * emacs-lisp/advice.el (ad-read-advised-function):
5356 Use `function-called-at-point' as the default default, if it has
5357 advice and passes PREDICATE.
5358
b1ef1257
SM
53592011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5360
bbca48fe
SM
5361 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5362 byte-compile-lambda if it's actually a lambda.
5363
b1ef1257
SM
5364 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5365 Fix function quoting. Use backquote better.
5366
92a9cc65
YS
53672011-05-22 Yuanle Song <sylecn@gmail.com>
5368
5369 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5370 matching (Bug#8516).
5371
f0fb8059
JA
53722011-01-22 Jari Aalto <jari.aalto@cante.net>
5373
5374 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5375 different face (Bug#8178).
5376
d5b44c93
CY
53772011-05-22 Chong Yidong <cyd@stupidchicken.com>
5378
5379 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5380 defface (Bug#8144).
5381
79106a44
SM
53822011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5383
9c848d8a
SM
5384 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5385 funcall as well (bug#8712). Warn when performing those conversions.
5386 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5387
79106a44
SM
5388 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5389
88dfa756
GM
53902011-05-22 Glenn Morris <rgm@gnu.org>
5391
5392 * files.el (hack-local-variables-prop-line): Small simplifications.
5393 (hack-local-variables, hack-local-variables-prop-line):
5394 If MODE-ONLY, return the mode, rather than just `t'.
5395
b7cf2c79
SM
53962011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5399
3f1a8558
GM
54002011-05-21 Glenn Morris <rgm@gnu.org>
5401
7e4ccca3
GM
5402 * files.el (hack-local-variables-prop-line, hack-local-variables):
5403 If only interested in the mode, don't bother doing the other stuff.
5404
637d46ca
GM
5405 * image-mode.el (image-after-revert-hook):
5406 Redraw all frames on which the image is visible. (Bug#8567)
5407
973d955b
GM
5408 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5409
3f1a8558
GM
5410 * wid-edit.el (widget-checklist-match-inline):
5411 Fix 2011-04-19 change. (Bug#8649)
5412
96479927
SM
54132011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5414
1dcf791f
SM
5415 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5416 Also allow singlespace after single-letter capitals followed by a dot.
5417
96479927
SM
5418 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5419 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5420
35fd0881
N
54212011-05-20 Nix <nix@esperi.org.uk>
5422
5423 * files.el (basic-save-buffer-2):
5424 Fix handling of break-hardlink-on-save with non-existent files.
5425
82745640
DD
54262011-05-19 Deniz Dogan <deniz@dogan.se>
5427
5428 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5429 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5430
4a720484
GM
54312011-05-19 Glenn Morris <rgm@gnu.org>
5432
d1f21341
GM
5433 * progmodes/f90.el (f90-type-def-re):
5434 Handle "type, bind(c)". (Bug#8691)
5435
4a720484
GM
5436 * emacs-lisp/autoload.el (batch-update-autoloads):
5437 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5438
2fb0a219
MA
54392011-05-18 Michael Albinus <michael.albinus@gmx.de>
5440
5441 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5442 property for the correct connection in case of multihops.
5443
e565dd37
GM
54442011-05-18 Glenn Morris <rgm@gnu.org>
5445
c2571358 5446 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5447 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5448
e565dd37
GM
5449 Rationalize calendar handling of day and month abbrev-arrays.
5450 * calendar/calendar.el (calendar-customized-p): New function.
5451 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5452 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5453 Add :set function.
5454 (calendar-abbrev-length, calendar-day-abbrev-array)
5455 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5456 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5457 Elements may no longer be nil.
5458 (calendar-day-name, calendar-month-name):
5459 Update for changed nature of abbrev arrays.
5460 * calendar/diary-lib.el (diary-name-pattern):
5461 Update for changed nature of abbrev arrays.
5462 (diary-mark-entries-1): Update calendar-make-alist calls.
5463 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5464 * calendar/cal-html.el (cal-html-day-abbrev-array):
5465 Simply inherit from calendar-day-abbrev-array.
5466
1d99a745
SM
54672011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * progmodes/grep.el (grep-mode): Disable default
5470 compilation-directory-matcher setting (bug#8684).
5471
7c1d9aa0
MA
54722011-05-17 Michael Albinus <michael.albinus@gmx.de>
5473
5474 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5475 instead of "head" and "tail". There were problems with SunOS 5.9,
5476 and it performs better.
5477
3952e9d8
GM
54782011-05-17 Glenn Morris <rgm@gnu.org>
5479
2dd12e7f
GM
5480 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5481
e4157b9c
GM
5482 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5483 Replace obsolete function.
5484
8e249bbd
GM
5485 * shell.el (pcomplete-parse-arguments-function): Declare.
5486
3952e9d8
GM
5487 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5488 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5489 (appt-check): Doc fixes.
5490 (appt-disp-window-function, appt-delete-window-function):
5491 Remove needless special case in custom :type.
5492 (appt-display-count): Default to 0, not nil.
5493 (appt-check): Reset appt-display-count to 0, not nil.
5494
c71a0d48 54952011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5496
c71a0d48
GM
5497 * progmodes/python.el (python-font-lock-keywords):
5498 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5499
31d55be9
SM
55002011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5501
5502 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5503
3bfacb2f
KR
55042011-05-16 Kevin Ryde <user42@zip.com.au>
5505
5506 * info-look.el (makefile-automake-mode): New setups, looking in
5507 automake manual, then makefile-mode.
5508 (makefile-mode): Remove automake manual, have it just in
5509 makefile-automake-mode since there's various things different or
5510 not relevant to plain make.
5511 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5512 believe a hypothetical automake-mode would go to makefile-mode,
5513 not the other way around.
5514
c8e83751
CY
55152011-05-15 Chong Yidong <cyd@stupidchicken.com>
5516
5e9e35cd
CY
5517 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5518 hunk-end tags (Bug#8672).
5519
c8e83751
CY
5520 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5521 vc-annotate-show-diff-revision-at-line (Bug#8671).
5522
50b23e5a
GM
55232011-05-14 Glenn Morris <rgm@gnu.org>
5524
7210a739
GM
5525 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5526 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5527 (change-log-font-lock-keywords): Also handle multiple author lines
5528 with leading tabs. (Bug#8644)
7210a739 5529
4691905a
GM
5530 * calendar/appt.el (appt-check): Rename some local variables.
5531 Some simplification/reordering.
5532
50b23e5a
GM
5533 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5534 (feedmail-sendmail-f-doesnt-sell-me-out)
5535 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5536 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5537 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5538 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5539 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5540 (feedmail-binmail-gnulinuxish-template):
5541 Rename from feedmail-binmail-linuxish-template.
5542 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5543 Use insert-buffer-substring.
5544
215cda7c
BC
55452011-05-14 Bill Carpenter <bill@carpenter.org>
5546
5547 * mail/feedmail.el (feedmail-patch-level): Increase.
5548 (feedmail-debug): New custom group.
5549 (feedmail-confirm-outgoing-timeout)
5550 (feedmail-sendmail-f-doesnt-sell-me-out)
5551 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5552 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5553 (feedmail-sender-line, feedmail-from-line)
5554 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5555 (feedmail-spray-this-address)
215cda7c
BC
5556 (feedmail-spray-address-fiddle-plex-list)
5557 (feedmail-queue-use-send-time-for-date)
5558 (feedmail-queue-use-send-time-for-message-id)
5559 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5560 (feedmail-buffer-eating-function):
5561 Doc fixes.
5562 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5563 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5564 (feedmail-message-action-scroll-down): New functions.
5565 (feedmail-queue-directory, feedmail-queue-draft-directory):
5566 Use expand-file-name.
5567 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5568 Remove C-v help entry.
5569 (feedmail-queue-buffer-file-name): New variable.
5570 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5571 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5572 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5573 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5574 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5575 (feedmail-message-action-toggle-spray)
5576 (feedmail-run-the-queue-no-prompts)
5577 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5578 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5579 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5580 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5581 (feedmail-envelope-deducer, feedmail-fiddle-from)
5582 (feedmail-fiddle-sender, feedmail-default-date-generator)
5583 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5584 (feedmail-fiddle-spray-address)
5585 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5586 (feedmail-fiddle-list-of-fiddle-plexes)
5587 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5588 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5589 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5590 Change default. Doc fix.
5591 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5592 (feedmail-binmail-linuxish-template): New constant.
5593 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5594 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5595 (feedmail-send-it): Add debug call.
5596 Use feedmail-queue-buffer-file-name, and
5597 feedmail-send-it-immediately-wrapper.
5598 (feedmail-message-action-send): Add debug call.
5599 Use feedmail-send-it-immediately-wrapper.
5600 (feedmail-queue-express-to-queue): Add debug call.
5601 Run feedmail-queue-express-hook.
5602 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5603 (feedmail-message-action-help-blat):
5604 Rename from feedmail-queue-send-edit-prompt-help-first.
5605 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5606 Check line-endings. Handle errors better.
5607 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5608 Doc fix. Add debug call.
5609 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5610 Use feedmail-queue-send-edit-prompt-inner.
5611 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5612 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5613 from feedmail-queue-send-edit-prompt.
5614 (feedmail-queue-send-edit-prompt-help)
5615 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5616 (feedmail-tidy-up-slug): Add debug call.
5617 Respect feedmail-queue-slug-suspect-regexp.
5618 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5619 (feedmail-dump-message-to-queue): Add debug call.
5620 Expand queue-directory.
5621 (feedmail-dump-message-to-queue): Change message slightly.
5622 Use feedmail-say-chatter.
5623 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5624 (feedmail-send-it-immediately-wrapper): New function.
5625 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5626 Insert empty string rather than newline. Handle full-frame case.
5627 Use catch/throw. Use feedmail-say-chatter.
5628 (feedmail-fiddle-from): Try mail-host-address.
5629 (feedmail-default-message-id-generator): Doc fix.
5630 Bind system-time-locale. Handle missing end.
5631 (feedmail-fiddle-x-mailer): Add debug call.
5632 Handle feedmail-x-mailer-line being nil.
5633 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5634 Add debug call. Use buffer-substring-no-properties.
5635 (feedmail-say-debug, feedmail-say-chatter): New functions.
5636 (feedmail-find-eoh): Give an explicit error.
5637
42c7e61e
UJ
56382011-05-13 Ulf Jasper <ulf.jasper@web.de>
5639
c2571358 5640 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5641 family from helvetica to sans.
c2571358 5642 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5643 etc/images/newsticker.
5644
c2571358 5645 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5646 family from helvetica to sans.
5647
5648 * net/newst-plainview.el (newsticker-new-item-face)
5649 (newsticker-old-item-face, newsticker-immortal-item-face)
5650 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5651 (newsticker-statistics-face): Change default family from
42c7e61e 5652 helvetica to sans.
c2571358 5653 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5654 etc/images/newsticker.
5655
5656 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5657 (newsticker--process-auto-mark-filter-match): : Tell user about
5658 auto-marking.
5659
8497a297
DV
56602011-05-13 Didier Verna <didier@xemacs.org>
5661
5662 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5663 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5664 TODO entries.
8497a297
DV
5665 (lisp-lambda-list-keyword-parameter-indentation)
5666 (lisp-lambda-list-keyword-parameter-alignment)
5667 (lisp-lambda-list-keyword-alignment): New customizable user options.
5668 (lisp-indent-defun-method): Improve docstring.
5669 (extended-loop-p): Fix comment.
5670 (lisp-indent-lambda-list-keywords-regexp): New variable.
5671 (lisp-indent-lambda-list): New function.
5672 (lisp-indent-259): Use it.
5673 (lisp-indent-defmethod): Support for more than one
5674 method qualifier and properly indent methods lambda-lists.
5675 (defgeneric): Provide a missing common-lisp-indent-function property.
5676
f278f87f
SM
56772011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5678
5679 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5680 bounds for the empty string (bug#8667).
5681
5233edd7
GM
56822011-05-13 Glenn Morris <rgm@gnu.org>
5683
5237a44f
GM
5684 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5685
8340026c 5686 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5687 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5688
5233edd7 5689 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5690 (appt-time-msg-list): Doc fix.
a5464014 5691 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5692
92d10796
AS
56932011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5694
5695 * progmodes/ld-script.el (ld-script-keywords)
5696 (ld-script-builtins): Update keywords list.
5697
914a0ae1
SM
56982011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5699
c89be45f
SM
5700 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5701
914a0ae1
SM
5702 * shell.el (shell-completion-vars): New function.
5703 (shell-mode):
5704 * simple.el (read-shell-command): Use it.
5705 (blink-matching-open): No need for " [...]" in minibuffer-message.
5706
98dc3df3
GM
57072011-05-12 Glenn Morris <rgm@gnu.org>
5708
5709 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5710 (appt-check): Simplify.
5711
d2fc7e3d 57122011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5713
4d61f28d 5714 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5715 literal "/dev/null".
5716
d2fc7e3d 57172011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5718
5719 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5720 Fix typo.
5721
d2fc7e3d 57222011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5723
3f254caa
SM
5724 * progmodes/which-func.el (which-function):
5725 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
5726 which might not be defined (Bug#8260).
5727
d45885f7
GM
57282011-05-12 Glenn Morris <rgm@gnu.org>
5729
5730 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5731 Let byte-compile-initial-macro-environment always take precedence.
5732
488086f4
SM
57332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * net/rcirc.el: Add support for SSL/TLS connections.
5736 (rcirc-server-alist): New field `encryption'.
5737 (rcirc): Check `encryption' settings.
5738 (rcirc-connect): New arg `encryption'. Use open-network-stream.
5739 Merge make-local-variable into `set'.
5740 (rcirc--connection-open-p): New function.
5741 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5742 the process is not a network process (e.g. running gnutls-cli).
5743 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5744 Make rcirc-(en|de)code-coding-system local here.
5745 (rcirc-mode): Merge make-local-variable into `set'.
5746 (rcirc-parent-buffer): Make permanent buffer-local.
5747 (rcirc-multiline-minor-mode): Don't do it here.
5748 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5749 there's no server buffer.
5750
7d3b9d44
GM
57512011-05-11 Glenn Morris <rgm@gnu.org>
5752
f64049c6
GM
5753 * newcomment.el (comment-kill): Prefix "unused" local.
5754
93c9df73
GM
5755 * term/w32console.el (get-screen-color): Declare.
5756
7d3b9d44
GM
5757 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5758 Handle symbol elements of byte-compile-initial-macro-environment.
5759
9e2dd53f
LL
57602011-05-10 Leo Liu <sdl.web@gmail.com>
5761
488086f4
SM
5762 * bookmark.el (bookmark-bmenu-mode-map):
5763 Bind bookmark-bmenu-search to `/'.
8b340240 5764
9e2dd53f 5765 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
5766 (footnote-unicode-string, footnote-unicode-regexp): New variable.
5767 (Footnote-unicode): New function.
5768 (footnote-style-alist): Add unicode style to the list.
5769 (footnote-style): Doc fix.
9e2dd53f 5770
79b70037
GM
57712011-05-10 Jim Meyering <meyering@redhat.com>
5772
5773 Fix doubled-word typos.
5774 * international/quail.el (quail-insert-kbd-layout): and and -> and
5775 * kermit.el: and and -> and
5776 * net/ldap.el (ldap-search-internal): to to -> to
5777 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5778 * progmodes/js.el (js-mode): and and -> and
5779 * textmodes/artist.el (artist-move-to-xy): at at -> at
5780 (artist-draw-region-trim-line-endings): if if -> if
5781 And Safetyc -> Safety.
5782 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5783
b8f82dc1 57842011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 5785 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
5786
5787 * files.el (hack-one-local-variable-eval-safep):
5788 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
5789
4f99f44b
GM
57902011-05-10 Glenn Morris <rgm@gnu.org>
5791
5792 * calendar/diary-lib.el (diary-list-entries-hook)
5793 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5794 (diary-nongregorian-marking-hook, diary-list-entries)
5795 (diary-include-other-diary-files, diary-mark-entries)
5796 (diary-mark-included-diary-files): Doc fixes.
5797
84f29e6b
JB
57982011-05-09 Juanma Barranquero <lekktu@gmail.com>
5799
5800 * misc.el: Require tabulated-list.el during compilation.
5801
9bedd73a
CY
58022011-05-09 Chong Yidong <cyd@stupidchicken.com>
5803
488086f4
SM
5804 * progmodes/compile.el (compilation-start):
5805 Run compilation-filter-hook for the async case too.
9bedd73a
CY
5806 (compilation-filter-hook): Doc fix.
5807
797c735c
DD
58082011-05-09 Deniz Dogan <deniz@dogan.se>
5809
5810 * wdired.el: Remove outdated installation comment. Fix usage
5811 comment.
5812
5f4b1dfe
JB
58132011-05-09 Juanma Barranquero <lekktu@gmail.com>
5814
5815 * misc.el: Implement new command `list-dynamic-libraries'.
5816 (list-dynamic-libraries--loaded-only-p): New variable.
5817 (list-dynamic-libraries--refresh): New function.
5818 (list-dynamic-libraries): New command.
5819
4c44026c
CY
58202011-05-09 Chong Yidong <cyd@stupidchicken.com>
5821
488086f4
SM
5822 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5823 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
5824 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
5825 higher priority to avoid clobbering by gnu.
5826
027f966d
CY
58272011-05-08 Chong Yidong <cyd@stupidchicken.com>
5828
5829 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
5830 if the face has existing theme settings (Bug#8454).
5831
085f5d7d
CY
58322011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
5833
488086f4
SM
5834 * progmodes/perl-mode.el (perl-imenu-generic-expression):
5835 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 5836
2a86a00c
RS
5837 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
5838 special file names `.' and `..' (Bug#8259).
5839
d9c54a06
CY
58402011-05-08 Chong Yidong <cyd@stupidchicken.com>
5841
488086f4
SM
5842 * progmodes/grep.el (grep-mode-font-lock-keywords):
5843 Remove buffer-changing entries.
d9c54a06
CY
5844 (grep-filter): New function.
5845 (grep-mode): Add it to compilation-filter-hook.
5846
5847 * progmodes/compile.el (compilation-filter-hook)
5848 (compilation-filter-start): New defvars.
5849 (compilation-filter): Call compilation-filter-hook prior to
5850 updating the process mark.
5851
c4662635
SM
58522011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5853
5854 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
5855
b0512a1d
EZ
58562011-05-07 Eli Zaretskii <eliz@gnu.org>
5857
605c9376
EZ
5858 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
5859 mailclient-send-it even if window-system is nil. (Bug#8595)
5860
c4662635
SM
5861 * term/w32console.el (terminal-init-w32console):
5862 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
5863 background-mode. (Bug#8597)
5864
d1dc2cc2
SM
58652011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 Make bytecomp.el understand that defmethod defines funs (bug#8631).
5868 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
5869 New functions.
5870 (defgeneric, eieio--defmethod): Use them.
5871 (eieio-defgeneric): Remove.
5872 (defmethod): Call defgeneric in a way visible to the byte-compiler.
5873
915d1300
GM
58742011-05-07 Glenn Morris <rgm@gnu.org>
5875
a3961c3e
GM
5876 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
5877 Use let rather than let*.
5878 (timeclock-find-discrep): Remove unused local.
5879
314347b9
GM
5880 * calendar/diary-lib.el (diary-comment-start): Doc fix.
5881
915d1300
GM
5882 * calendar/appt.el (appt-time-msg-list): Doc fix.
5883
275b59b0
NF
58842011-05-06 Noah Friedman <friedman@splode.com>
5885
5886 * apropos.el (apropos-print-doc): Only use
5887 emacs-lisp-docstring-fill-column when it is bound to an integer,
5888 per that variable's documentation.
5889
6c19f744
SM
58902011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 5893 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 5894
60f884b2
GM
58952011-05-06 Glenn Morris <rgm@gnu.org>
5896
5006e634
GM
5897 * calendar/appt.el (appt-message-warning-time): Doc fix.
5898 (appt-warning-time-regexp): New option.
5899 (appt-make-list): Respect appt-message-warning-time.
5900
548d0a63
GM
5901 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
5902 New options.
5903 (diary-add-to-list): Strip comments from the displayed string.
5904 (diary-mode): Set comment-start and comment-end.
5905
60f884b2
GM
5906 * vc/diff-mode.el (smerge-refine-subst): Declare.
5907 (diff-refine-hunk): Don't require smerge-mode when compiling.
5908
989681bb
JB
59092011-05-06 Juanma Barranquero <lekktu@gmail.com>
5910
5911 * simple.el (list-processes): Return nil as the docstring says.
5912
a6bc05e1
MA
59132011-05-05 Michael Albinus <michael.albinus@gmx.de>
5914
5915 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
5916 to "".
5917 (ange-ftp-write-region, ange-ftp-insert-file-contents)
5918 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
5919 determining of binary transfer. (Bug#7383)
5920
23c22e9a
MA
59212011-05-05 Michael Albinus <michael.albinus@gmx.de>
5922
c4662635
SM
5923 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5924 Fix port computation bug. (Bug#8618)
23c22e9a 5925
0bff894f
GM
59262011-05-05 Glenn Morris <rgm@gnu.org>
5927
b8296902
GM
5928 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
5929
1f522ce8
GM
5930 * simple.el (shell-dynamic-complete-functions)
5931 (comint-dynamic-complete-functions): Declare.
5932
cf5bee67
GM
5933 * net/network-stream.el (gnutls-negotiate):
5934 * simple.el (tabulated-list-print): Fix declarations.
5935
5936 * progmodes/gud.el (syntax-symbol, syntax-point):
5937 Remove unnecessary and incorrect declarations.
5938
0bff894f
GM
5939 * emacs-lisp/check-declare.el (check-declare-scan):
5940 Handle byte-compile-initial-macro-environment in bytecomp.el
5941
9869b3ae
SM
59422011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 Fix earlier half-done eieio-defmethod change (bug#8338).
5945 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
5946 Streamline and change calling convention.
5947 (defmethod): Adjust accordingly and simplify.
5948 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
5949 new eieio--defmethod.
5950 (slot-boundp): Minor CSE simplification.
5951
9c1d5ac5
MZ
59522011-05-05 Milan Zamazal <pdm@zamazal.org>
5953
5954 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
5955 (glasses-make-readable): Use glasses-separate-capital-groups.
5956
455c834e
JB
59572011-05-05 Juanma Barranquero <lekktu@gmail.com>
5958
5959 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
5960 (warning-series): Doc fix.
5961 (display-warning): Don't try to create the buffer if we just found it.
5962
9ed7c8cb
CY
59632011-05-04 Chong Yidong <cyd@stupidchicken.com>
5964
5965 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
5966 (autoload-find-generated-file): New function.
5967 (generate-file-autoloads): Bind generated-autoload-file to
5968 buffer-file-name.
9869b3ae
SM
5969 (update-file-autoloads, update-directory-autoloads):
5970 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
5971 output file (Bug#7989).
5972 (batch-update-autoloads): Doc fix.
5973
0898ca10
JB
59742011-05-04 Juanma Barranquero <lekktu@gmail.com>
5975
5976 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
5977
31dfb76c
GM
59782011-05-04 Glenn Morris <rgm@gnu.org>
5979
f330b642
GM
5980 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
5981 function, so it follows changes in calendar-date-style.
5982 (diary-fancy-date-matcher): New function.
5983 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
5984 (diary-fancy-font-lock-fontify-region-function):
5985 Use diary-fancy-date-pattern as a function.
5986
31dfb76c
GM
5987 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
5988 non-numbers for `year' etc pseudo-variables. (Bug#8583)
5989
48e79d6a
TZ
59902011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
5991
5992 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
5993 instead of positional arguments. Allow :keylist and :crlfiles
5994 arguments.
5995 (open-gnutls-stream): Call it.
5996
5997 * net/network-stream.el (network-stream-open-starttls): Adjust to
5998 call `gnutls-negotiate' with :process and :hostname arguments.
5999
dd5a5ee0
SM
60002011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6001
ef80fc09
SM
6002 * minibuffer.el (completion--message): New function.
6003 (completion--do-completion, minibuffer-complete)
6004 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6005 (completion--do-completion): Don't ignore completion-auto-help when in
6006 icomplete-mode.
6007
dd5a5ee0
SM
6008 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6009 internal encoding (e.g. tibetan zero is not whitespace).
6010 (global-whitespace-mode): Prefer save-current-buffer.
6011 (whitespace-trailing-regexp): Remove useless save-match-data.
6012 (whitespace-empty-at-bob-regexp): Minor simplification.
6013
b7d22a83
CY
60142011-05-03 Chong Yidong <cyd@stupidchicken.com>
6015
6016 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6017
5192af46
AM
60182011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6019
6020 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6021 Use `concat' to create string for insertion.
5192af46 6022
5767d190
SM
60232011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6026 Avoid open-line which runs post-self-insert-hook.
6027 (bibtex-fill-entry): Remove unused `end' var.
6028
bf242939
AM
60292011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6030
5767d190
SM
6031 * textmodes/ispell.el (ispell-add-per-file-word-list):
6032 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6033
25666126
LL
60342011-05-03 Leo Liu <sdl.web@gmail.com>
6035
6036 * isearch.el (isearch-yank-pop): New command.
5767d190 6037 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6038 (isearch-forward): Mention it.
6039
52d3c2d0
SM
60402011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6041
1bcace58
SM
6042 * simple.el (minibuffer-complete-shell-command): Remove.
6043 (minibuffer-local-shell-command-map): Use completion-at-point.
6044 (read-shell-command): Setup completion vars here instead.
6045 (read-expression-map): Bind TAB to symbol completion.
6046
52d3c2d0
SM
6047 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6048 error directly rather via storing it into `results'.
6049
35813471
LL
60502011-05-02 Leo Liu <sdl.web@gmail.com>
6051
6052 * vc/diff.el: Fix description.
6053
e793a940
LMI
60542011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6055
6056 * server.el (server-eval-at): New function.
6057
8de66e05
LMI
60582011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6059
6060 * net/network-stream.el (open-network-stream): Take a :nowait
6061 parameter and pass it on to `make-network-process'.
6062 (network-stream-open-plain): Ditto.
6063
dcb79f20
AS
60642011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6065
6066 * faces.el (face-spec-set-match-display): Don't match toolkit
6067 options on terminal frames.
6068
14a7fbd8
SM
60692011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6070
7eabc1be
SM
6071 * progmodes/pascal.el: Use lexical binding.
6072 (pascal-mode-map): Remove author preferences.
6073
14a7fbd8
SM
6074 * pcomplete.el (pcomplete-std-complete): Don't abuse
6075 completion-at-point.
6076
50f84510
JB
60772011-04-28 Juanma Barranquero <lekktu@gmail.com>
6078
6e087a44
JB
6079 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6080 removing code that has been dead since 1991 or so.
6081
50f84510
JB
6082 * startup.el (command-line): When warning about "_emacs", use a
6083 delayed warning to allow the user to filter it out.
6084
0ba690bd
DD
60852011-04-28 Deniz Dogan <deniz@dogan.se>
6086
6087 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6088 user has not joined.
6089
08abfaad
SM
60902011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6091
6092 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6093 aren't any completions at point.
6094
638f053a
JB
60952011-04-28 Juanma Barranquero <lekktu@gmail.com>
6096
6097 * subr.el (display-delayed-warnings): New function.
6098 (delayed-warnings-hook): New variable.
6099
8fff8daa
SM
61002011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6101
08abfaad
SM
6102 * minibuffer.el (completion-at-point, completion-help-at-point):
6103 Don't presume that a given completion-at-point-function will always
6104 use the same calling convention.
6105
8fff8daa
SM
6106 * pcomplete.el (pcomplete-completions-at-point):
6107 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6108 pcomplete-seen is non-nil.
6109 (pcomplete-comint-setup): Also recognize the new comint/shell
6110 completion functions.
6111 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6112 pcomplete-seen is non-nil.
6113
841a1577 61142011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6115
841a1577 6116 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6117 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6118 the first character in the entry. This allows for code to add its
211ec907
UJ
6119 own uid to the entry.
6120 (icalendar--convert-float-to-ical): Add export of
6121 `diary-float'-entries save for those with the optional DAY
6122 argument.
6123
2a782793
DC
61242011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6125
6126 * subr.el (shell-quote-argument): Use alternate escaping strategy
6127 when we spot a variable reference in a string.
6128
0438ce91
DC
61292011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6130
6131 * cus-start.el (all): Define customization for debug-on-event.
6132
841a1577 61332011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6134
6135 * subr.el (shell-quote-argument): Escape correctly under Windows.
6136
d090ed6c
SM
61372011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6140
bfd31217
MA
61412011-04-25 Michael Albinus <michael.albinus@gmx.de>
6142
d090ed6c
SM
6143 * net/tramp.el (tramp-process-actions): Add POS argument.
6144 Delete region between POS and (pos).
bfd31217 6145
d090ed6c
SM
6146 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6147 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6148 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6149
6150 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6151 position in `tramp-process-actions' call.
6152
6153 * net/trampver.el: Update release number.
6154
e92f3bd3
SM
61552011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6156
850256b5
SM
6157 * custom.el (defcustom): Obey lexical-binding.
6158
e92f3bd3
SM
6159 Fix octave-inf completion problems reported by Alexander Klimov.
6160 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6161 Inherit from octave-mode-syntax-table.
6162 (inferior-octave-mode): Set info-lookup-mode.
6163 (inferior-octave-completion-at-point): New function.
6164 (inferior-octave-complete): Use it and completion-in-region.
6165 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6166 comint-filename-completion.
6167 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6168 symbol elements which shouldn't be word elements.
6169 (octave-font-lock-keywords, octave-beginning-of-defun)
6170 (octave-function-header-regexp): Adjust regexps accordingly.
6171 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6172
cd22b309
JB
61732011-04-25 Juanma Barranquero <lekktu@gmail.com>
6174
6175 * net/gnutls.el (gnutls-errorp): Declare before first use.
6176
8b492194
TZ
61772011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6178
6179 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6180 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6181 default trustfile exists before going to use it. Add missing
6182 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6183 Reported by Claudio Bley <claudio.bley@gmail.com>.
6184 (open-gnutls-stream): Add usage example.
6185
6186 * net/network-stream.el (network-stream-open-starttls): Give host
6187 parameter to `gnutls-negotiate'.
6188 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6189 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6190
841a1577 61912011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6192
cd22b309
JB
6193 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6194 Use correct match group (bug#8438).
05842630 6195
3ba7869c
CY
61962011-04-24 Chong Yidong <cyd@stupidchicken.com>
6197
512e3ae1
CY
6198 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6199 (package-menu--generate): New arg specifying packages to show.
6200 (package-menu-refresh, package-menu-execute, list-packages):
6201 Callers changed.
6202 (package-show-package-list): New function, replacing deleted
6203 package--list-packages (renamed because it is non-internal).
6204
6205 * finder.el (finder-list-matches): Use package-show-package-list
6206 instead of deleted package--list-packages.
6207
e92f3bd3
SM
6208 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6209 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6210 (vc-annotate-mode-map): Bind it to RET.
6211
7031be6d
UR
62122011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6213
6214 * progmodes/etags.el (next-file): Don't use set-buffer to change
6215 buffers (Bug#8478).
6216
4ef177aa
CY
62172011-04-24 Chong Yidong <cyd@stupidchicken.com>
6218
c8d173eb
CY
6219 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6220
4ef177aa
CY
6221 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6222 (apropos-accumulator): Doc fix.
6223 (apropos-function, apropos-macro, apropos-command)
6224 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6225 (apropos-plist): Add face property.
6226 (apropos-symbols-internal): Fix indentation.
6227 (apropos-print): Simplify help, and recognize apropos-multi-type.
6228 (apropos-print-doc): Use button-type-get to extract the button's
6229 face property. Fill docstring (Bug#8352).
6230
4ffd0d6b 62312011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6232
6233 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6234
c6c32125 6235 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6236 (mpuz-mode-map): Use mapc.
c6c32125
JB
6237 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6238 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6239 Fix typos in docstrings.
6240
58d468b4
JB
6241 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6242 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6243
6470c3c6
JB
6244 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6245
4ffd0d6b 62462011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6247
6248 * minibuffer.el (completion--do-completion): Avoid the "Next char
6249 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6250
3ad8bad0
CY
6251 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6252 mouse-2 into unread-command-events, it is interpreted correctly.
6253
71d73c9c 6254 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6255 (image-toggle-display): Doc fix.
71d73c9c 6256
841a1577 62572011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6258
4ffd0d6b
GM
6259 * textmodes/page.el (what-page): Use line-number-at-pos to
6260 calculate line number (Bug#6825).
6e1dbaa9 6261
c2fb1b60
JB
62622011-04-22 Juanma Barranquero <lekktu@gmail.com>
6263
6264 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6265 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6266 Pass argument NO-DEFAULT to `find-tag-interactive'.
6267
e02f48d7
JB
62682011-04-22 Juanma Barranquero <lekktu@gmail.com>
6269
6270 Lexical-binding cleanup.
6271
6272 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6273 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6274 * progmodes/ada-prj.el (ada-prj-initialize-values)
6275 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6276 (ada-prj-show-value):
6277 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6278 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6279 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6280 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6281 * progmodes/bug-reference.el (bug-reference-push-button):
6282 * progmodes/fortran.el (fortran-line-length):
6283 * progmodes/glasses.el (glasses-change):
6284 * progmodes/octave-mod.el (octave-fill-paragraph):
6285 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6286 (python-pdbtrack-grub-for-buffer, python-sentinel):
6287 * progmodes/sql.el (sql-save-connection):
6288 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6289 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6290 Mark unused parameters.
6291
6292 * progmodes/compile.el (compilation--flush-directory-cache)
6293 (compilation--flush-parse, compile-internal): Mark unused parameters.
6294 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6295 (compilation-next-error-function): Remove unused variable `timestamp'.
6296
6297 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6298 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6299
6300 * progmodes/dcl-mode.el (dcl-end-of-command):
6301 Remove unused variable `start'.
6302 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6303 (dcl-option-value-basic, dcl-option-value-offset)
6304 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6305 Mark unused parameters.
6306 (dcl-save-local-variable): Remove unused variable `val'.
6307 (mode): Declare.
6308
6309 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6310 Mark unused parameters.
6311 (delphi-ignore-changes): Move before first use.
6312 (delphi-charset-token-at): Remove unused variable `start'.
6313 (delphi-else-start): Remove unused variable `if-count'.
6314 (delphi-comment-block-start, delphi-comment-block-end):
6315 Remove unused variable `kind'.
6316 (delphi-indent-line): Remove unused variable `new-point'.
6317
6318 * progmodes/ebrowse.el (ebrowse-files-list)
6319 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6320 Mark unused parameters. Don't quote `lambda'.
6321 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6322 Don't quote `lambda'.
6323 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6324 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6325 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6326 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6327 Use `ignore-errors'.
6328 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6329 (ebrowse-view/find-file-and-search-pattern)
6330 (ebrowse-view/find-member-declaration/definition):
6331 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6332 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6333 Rename parameter PREFIX-ARG to PREFIX.
6334 (ebrowse-tags-read-name): Remove unused variables `start' and
6335 `member-info'.
6336 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6337 to `tags-file'.
6338
6339 * progmodes/etags.el (local-find-tag-hook): Declare.
6340 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6341 Mark unused parameters.
6342
6343 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6344 (executable-interpret): Mark unused parameter.
6345
6346 * progmodes/flymake.el (flymake-process-sentinel)
6347 (flymake-after-change-function)
6348 (flymake-create-temp-with-folder-structure)
6349 (flymake-get-include-dirs-dot): Mark unused parameters.
6350 (flymake-safe-delete-directory): Remove unused variable `err'.
6351
6352 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6353 (speedbar-timer-fn, speedbar-line-text)
6354 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6355 (speedbar-center-buffer-smartly): Declare functions.
6356 (gdb-find-watch-expression): Remove unused variable `array'.
6357 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6358 (gdb-starting): Mark unused parameters.
6359 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6360 (gdb-table-string): Remove unused variable `res'.
6361 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6362 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6363 (gdb-display-buffer): Remove unused variable `cur-size'.
6364
6365 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6366 allow lexical-binding compilation.
6367 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6368 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6369 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6370 Mark unused parameters.
6371 (gud-gdb-marker-filter): Remove unused variable `match'.
6372 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6373 lambda expressions and funcall them, instead of using `fset'.
6374
6375 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6376 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6377
6378 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6379 variable `header-beg'; use `let'.
6380
6381 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6382 `restart', `last-sexp' and `at-do'.
6383
6384 * progmodes/js.el (js--debug): Mark unused parameter.
6385 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6386 (js--splice-into-items): Remove unused variable `item'.
6387 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6388
6389 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6390 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6391 (makefile-complete): Remove unused variable `try'.
6392 (makefile-fill-paragraph, makefile-match-function-end):
6393 Mark unused parameters.
6394
6395 * progmodes/octave-inf.el (inferior-octave-complete):
6396 Remove unused variable `proc'.
6397 (inferior-octave-output-digest): Mark unused parameter.
6398
6399 * progmodes/perl-mode.el (perl-calculate-indent):
6400 Remove unused variable `err'.
6401
6402 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6403 (prolog-indent-line): Mark unused parameters.
6404 (prolog-indent-line): Remove unused variable `beg'.
6405
6406 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6407 (reporter-dont-compact-list): Declare.
6408
6409 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6410 Remove unused variable `char'.
6411 (sh-debug): Mark unused parameter.
6412 (sh-get-indent-info): Remove unused variable `start'.
6413 (sh-calculate-indent): Remove unused variable `var'.
6414
6415 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6416 (simula-electric-keyword): Remove unused variable `null'.
6417 (simula-search-backward, simula-search-forward): Remove unused
6418 variables `begin' and `end'.
6419
6420 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6421 Remove unused variable `pos'.
6422 (vera-electric-tab, vera-comment-uncomment-region):
6423 Mark unused parameters.
6424 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6425
7ede3b65
CY
64262011-04-22 Chong Yidong <cyd@stupidchicken.com>
6427
6428 * emacs-lisp/package.el (package--builtins, package-alist)
6429 (package-load-descriptor, package-built-in-p, package-activate)
6430 (define-package, package-installed-p)
6431 (package-compute-transaction, package-buffer-info)
6432 (package--push): Doc fix. Distinguish more clearly between
6433 version strings and version lists.
6434
121656e9
JB
64352011-04-21 Juanma Barranquero <lekktu@gmail.com>
6436
6437 Lexical-binding cleanup.
6438
6439 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6440 (5x5-make-mutate-best):
6441 * play/fortune.el (fortune-in-buffer):
6442 * play/gomoku.el (gomoku-init-display):
6443 * play/solitaire.el (solitaire, solitaire-do-check):
6444 * play/tetris.el (tetris-default-update-speed-function):
6445 Mark unused parameters.
6446
6447 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6448 (bubbles--shift): Remove unused variable `char-org'.
6449 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6450 (bubbles--show-images): Remove unused variable `char'.
6451
6452 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6453 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6454 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6455 (decipher-analyze-buffer): Use ?\s.
6456 (decipher-make-checkpoint): Remove unused variable `mapping'.
6457
6458 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6459
6460 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6461 Remove unused variable `result'; use `let'.
6462
6463 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6464 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6465 (gametree-children-shown-p, gametree-compute-reduced-score):
6466 Use `ignore-errors'.
6467
6468 * play/handwrite.el (ps-lpr-switches): Declare.
6469 (handwrite): Remove unused variables `pmin' and `lastp'.
6470
6471 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6472
6473 * play/landmark.el (landmark-init-display)
6474 (landmark-update-naught-weights): Mark unused parameters.
6475 (landmark-y): Remove unused variable `noise'. Simplify.
6476 (landmark-human-plays): Remove unused variable `score'.
6477
6478 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6479 (mpuz-try-proposal): Remove unused variable `game'.
6480
6481 * play/zone.el (life-patterns): Declare.
6482
80f499c7
JB
64832011-04-20 Juanma Barranquero <lekktu@gmail.com>
6484
6485 * vc/vc.el (ediff-vc-internal): Declare function.
6486
024ff170
SM
64872011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6488
c0a193ea
SM
6489 * shell.el: Use lexical-binding and std completion UI.
6490 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6491 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6492 comint-preoutput-filter-functions rather than on
6493 comint-output-filter-functions.
6494 (shell-command-completion, shell--command-completion-data)
6495 (shell-filename-completion, shell-environment-variable-completion)
6496 (shell-c-a-p-replace-by-expanded-directory): New functions.
6497 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6498 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6499 (shell-dynamic-complete-environment-variable): Use them.
6500 (shell-dynamic-complete-as-environment-variable)
6501 (shell-dynamic-complete-as-command): Remove.
6502 (shell-match-partial-variable): Match past point.
6503 * comint.el: Clean up use of completion-at-point-functions.
6504 (comint-completion-at-point): New function.
6505 (comint-mode): Use it completion-at-point-functions.
6506 (comint-dynamic-complete): Make it obsolete.
6507 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6508 (comint-c-a-p-replace-by-expanded-history): New function.
6509 (comint-dynamic-complete-functions)
6510 (comint-replace-by-expanded-history): Use it.
6511 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6512 termination strings. Try harder to avoid second try-completion.
6513 (completion-in-region-mode-map): Disable bindings that don't work yet.
6514
2dbaa080
SM
6515 * comint.el: Use lexical-binding. Require CL.
6516 (comint-dynamic-complete-functions): Use comint-filename-completion.
6517 (comint-completion-addsuffix): Tweak custom type.
6518 (comint-filename-completion, comint--common-suffix)
6519 (comint--common-quoted-suffix, comint--table-subvert)
6520 (comint--complete-file-name-data): New functions.
6521 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6522 (comint-dynamic-list-filename-completions): Use them.
6523 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6524
2dbaa080
SM
6525 * minibuffer.el (completion-in-region-mode):
6526 Keep completion-in-region-mode--predicate global.
6527 (completion-in-region--postch):
6528 Assume completion-in-region-mode--predicate is not null.
6529
c79a6f38
SM
6530 * progmodes/flymake.el (flymake-start-syntax-check-process):
6531 Obey `dir'. Simplify.
6532
024ff170
SM
6533 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6534 we're in VC after all.
6535
1c6c854e
CS
65362011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6537
6538 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6539 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6540 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6541
bed7f140
SM
65422011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6543
332e62ab
SM
6544 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6545 add sanity check.
6546
bed7f140
SM
6547 * obsolete/erc-hecomplete.el: Make obsolete.
6548 * obsolete/: Standardize obsolescence info in the header.
6549
f195c582
GM
65502011-04-20 Glenn Morris <rgm@gnu.org>
6551
6552 * calendar/solar.el (solar-horizontal-coordinates):
6553 Use the longitude argument rather than `calendar-longitude'.
6554 (solar-date-next-longitude): Remove unused locals.
6555
cb79b8c0
VJL
65562011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6557
6558 * whitespace.el: New version 13.2.1.
6559
65602011-04-20 felix <EmacsWiki> (tiny change)
6561
d8e4b68b 6562 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6563 switching between major modes on a file.
6564
602ea69d
SM
65652011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6568 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6569 multi-line comments as well.
6570
06b60517
JB
65712011-04-19 Juanma Barranquero <lekktu@gmail.com>
6572
6573 Lexical-binding cleanup.
6574
6575 * arc-mode.el (archive-mode-revert):
6576 * cmuscheme.el (scheme-interactively-start-process):
6577 * custom.el (custom-initialize-delay):
6578 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6579 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6580 * emacs-lock.el (emacs-lock-clear-sentinel):
6581 * ezimage.el (defezimage):
6582 * follow.el (follow-avoid-tail-recenter):
6583 * fringe.el (set-fringe-mode-1):
6584 * generic-x.el (bat-generic-mode-compile):
6585 * help-mode.el (help-info-variable, help-do-xref)
6586 (help-mode-revert-buffer):
6587 * help.el (view-emacs-todo):
6588 * iswitchb.el (iswitchb-completion-help):
6589 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6590 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6591 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6592 * locate.el (locate-update):
6593 * longlines.el (longlines-encode-region)
6594 (longlines-after-change-function):
6595 * outline.el (outline-isearch-open-invisible):
6596 * ps-def.el (declare-function, charset-dimension, char-width)
6597 (encode-char):
6598 * ps-mule.el (ps-mule-plot-string):
6599 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6600 (recentf-edit-list-select, recentf-edit-list-validate)
6601 (recentf-open-files-action):
6602 * rect.el (delete-whitespace-rectangle-line)
6603 (rectangle-number-line-callback):
6604 * register.el (window-configuration-to-register)
6605 (frame-configuration-to-register):
6606 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6607 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6608 (xselect-convert-to-targets, xselect-convert-to-delete)
6609 (xselect-convert-to-filename, xselect-convert-to-charpos)
6610 (xselect-convert-to-lineno, xselect-convert-to-colno)
6611 (xselect-convert-to-os, xselect-convert-to-host)
6612 (xselect-convert-to-user, xselect-convert-to-class)
6613 (xselect-convert-to-name, xselect-convert-to-integer)
6614 (xselect-convert-to-atom, xselect-convert-to-identity):
6615 * subr.el (declare, ignore, process-kill-without-query)
6616 (text-clone-maintain):
6617 * terminal.el (te-get-char, te-tic-sentinel):
6618 * tool-bar.el (tool-bar-make-keymap):
6619 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6620 * type-break.el (type-break-mode, type-break-noninteractive-query):
6621 * view.el (View-back-to-mark):
6622 * wid-browse.el (widget-browse-action, widget-browse-widget)
6623 (widget-browse-widgets, widget-browse-sexp):
6624 * widget.el (define-widget-keywords):
6625 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6626 Mark unused parameters.
6627
6628 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6629 (align-areas): Remove unused variable `look'.
6630 (align-region): Remove unused variables `real-end' and `pos-list'.
6631
6632 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6633
6634 * bindings.el (mode-line-modified, mode-line-remote):
6635 Mark unused parameters.
6636 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6637
6638 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6639 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6640
6641 * comint.el (comint-history-isearch-pop-state)
6642 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6643 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6644 (comint-substitute-in-file-name): Doc fix.
6645
6646 * completion.el (cmpl-statistics-block): Mark unused parameter.
6647 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6648 (save-completions-to-file, load-completions-from-file):
6649 Remove unused local variable `e'.
6650
6651 * composite.el (compose-chars): Remove unused variable `len'.
6652 (lgstring-insert-glyph): Remove unused variable `g'.
6653 (compose-glyph-string): Remove unused variables `ascent',
6654 `descent', `lbearing' and `rbearing'.
6655 (compose-glyph-string-relative): Remove unused variables
6656 `lbearing', `rbearing' and `wadjust'.
6657 (compose-gstring-for-graphic): Remove unused variables `header',
6658 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6659 (compose-gstring-for-terminal): Remove unused variables `header'
6660 and `nchars'. Use `let', not `let*'.
6661
6662 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6663 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6664 (Custom-buffer-done, custom-buffer-create-internal)
6665 (custom-browse-visibility-action, custom-browse-group-tag-action)
6666 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6667 (widget-magic-mouse-down-action, custom-toggle-parent)
6668 (custom-add-parent-links, custom-toggle-hide-variable)
6669 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6670 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6671 (custom-face-menu-create, custom-variable-menu-create, get)
6672 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6673 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6674 (customize-apropos): Remove unused variable `tests'.
6675 (custom-group-value-create): Remove unused variable `hidden-p'.
6676 (sort-fold-case): Declare.
6677
6678 * cus-theme.el (custom-reset-standard-faces-list)
6679 (custom-reset-standard-variables-list): Declare.
6680 (customize-create-theme, custom-theme-revert, custom-theme-write)
6681 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6682 Mark unused parameters.
6683
6684 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6685
6686 * delim-col.el (delimit-columns-max): Move defvar before first use.
6687
6688 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6689 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6690
6691 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6692 (auto-insert): Declare.
6693 (desktop-restore-file-buffer): Rename desktop-* parameters;
6694 mark unused ones.
6695 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6696 (desktop-buffer): Rename desktop-* parameters.
6697
6698 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6699 (dframe-reposition-frame-xemacs, dframe-help-echo)
6700 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6701 Mark unused parameters.
6702
6703 * dired-aux.el (backup-extract-version-start, overwrite-query)
6704 (overwrite-backup-query, rename-regexp-query)
6705 (rename-non-directory-query): Declare.
6706 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6707 (dired-add-entry): Remove unused variable `orig-file-name'.
6708 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6709 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6710 `dired-copy-preserve-time' directly.
6711 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6712 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6713
6714 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6715 (dired-virtual-revert, dired-make-relative-symlink):
6716 Mark unused parameters.
6717 (manual-program): Declare.
6718 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6719 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6720 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6721
6722 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6723
6724 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6725
6726 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6727 Declare.
6728
6729 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6730
6731 * electric.el (Electric-command-loop): Rename parameter
6732 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6733
6734 * expand.el (expand-in-literal): Remove unused variable `here'.
6735
6736 * facemenu.el (facemenu-add-new-color):
6737 Remove unused variable `docstring'.
6738
6739 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6740 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6741 (face-attr-construct): Mark unused parameter. Doc fix.
6742 (read-color): Remove unused variable `hex-string'.
6743
6744 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6745 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6746 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6747 (display-buffer-other-frame): Remove unused variable `old-window'.
6748 (kill-buffer-hook): Declare.
6749 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6750 Mark unused parameters.
6751 (after-find-file): Pass 1 to `auto-save-mode', not t.
6752
6753 * files-x.el (auto-insert): Declare.
6754 (modify-file-local-variable-prop-line): Remove unused variable `val'.
6755
6756 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 6757 variable `buf'. Mark unused parameter.
06b60517
JB
6758 (find-lisp-insert-directory): Mark unused parameter.
6759
6760 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6761 (format-encode-region): Remove unused variables `cur-buf' and `result'.
6762 (format-common-tail): Remove, unused.
6763 (format-deannotate-region): Remove unused variable `loc'.
6764 (format-annotate-region): Remove unused variable `p'.
6765 (format-annotate-single-property-change): Remove unused variables
6766 `default' and `tail'.
6767
6768 * forms.el (read-file-filter): Declare.
6769 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6770
6771 * frame.el (frame-creation-function-alist): Mark unused parameter.
6772 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6773
6774 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6775 Remove unused parameters.
6776 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6777 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6778
6779 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6780 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6781 (hfy-prepare-tag-map): Mark unused parameters.
6782 (htmlfontify-buffer): Use `called-interactively-p'.
6783
6784 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6785 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6786 (ibuffer-do-occur): Mark unused parameters.
6787 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6788 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6789
6790 * ibuffer.el: Don't quote `lambda'.
6791 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6792 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6793 Mark unused parameters.
6794
6795 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6796 (ido-completing-read): Mark unused parameters.
6797 (ido-copy-current-word): Mark unused parameters;
6798 remove unused variable `name'.
6799 (ido-sort-merged-list): Remove unused parameter `dirs'.
6800
6801 * ielm.el (ielm-input-sender): Mark unused parameter.
6802 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6803 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6804 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6805 `ielm-string' as a dynamic variable accessible from the IELM prompt.
6806 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
6807
6808 * image-dired.el (image-dired-display-thumbs): Remove unused
6809 variables `curr-file' and `count'.
6810 (image-dired-remove-tag): Remove unused variable `start'.
6811 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6812 variable `curr-file'
6813 (image-dired-rotate-original): Remove unused variable `temp-file'.
6814 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6815 Remove unused variable `file'.
6816 (image-dired-gallery-generate): Remove unused variable `curr'.
6817 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6818
6819 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6820
6821 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6822
6823 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6824
6825 * isearch.el (minibuffer-history-symbol): Declare.
6826 (isearch-edit-string): Remove unused variable `err'.
6827 (isearch-message-prefix, isearch-message-suffix):
6828 Mark unused parameters.
6829
6830 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
6831
6832 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
6833
6834 * makesum.el (double-column): Remove unused variable `cnt'.
6835
6836 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
6837 (ido-ignore-item-temp-list): Declare.
6838
6839 * mouse-drag.el (mouse-drag-throw): Remove unused variables
6840 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
6841 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
6842 (mouse-drag-drag): Remove unused variables `mouse-delta' and
6843 `mouse-col-delta'.
6844
6845 * mouse-sel.el (mouse-extend-internal):
6846 Remove unused variable `orig-window-frame'.
6847
6848 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
6849 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
6850 Move declarations before first use.
6851 (pcomplete-opt): Mark unused parameters; doc fix.
6852
6853 * proced.el (proced-revert): Mark unused parameter.
6854 (proced-send-signal): Remove unused variable `err'.
6855
6856 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
6857 Rename parameter PREFIX-ARG to ARG.
6858 (ps-basic-plot-string, ps-basic-plot-whitespace):
6859 Mark unused parameters.
6860
6861 * replace.el (replace-count): Define.
6862 (occur-revert-function): Mark unused parameters.
6863 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
6864 (isearch-case-fold-search, isearch-string): Declare.
6865 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
6866 bind `case-fold-search'. Remove unused variables `beg' and `end',
6867 and simplify.
6868 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
6869 COUNT and bind `replace-count'.
6870 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
6871 to COUNT.
6872
6873 * savehist.el (print-readably, print-string-length): Declare.
6874
6875 * shadowfile.el (shadow-expand-cluster-in-file-name):
6876 Remove unused variable `cluster'.
6877 (shadow-copy-file): Remove unused variable `i'.
6878 (shadow-noquery, shadow-clusters, shadow-site-cluster)
6879 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
6880 (shadow-define-literal-group, shadow-define-regexp-group)
6881 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
6882
6883 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
6884 (shell): Use `called-interactively-p'.
6885 (shell-directory-tracker): Remove unused variable `chdir-failure'.
6886
6887 * simple.el (compilation-context-lines, comint-file-name-quote-list)
6888 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
6889 (delete-backward-char): Remove unused variable `ocol'.
6890 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
6891 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
6892 (event-apply-hyper-modifier, event-apply-shift-modifier)
6893 (event-apply-control-modifier, event-apply-meta-modifier):
6894 Mark unused parameters.
6895 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
6896 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
6897
6898 * speedbar.el (speedbar-ignored-directory-expressions)
6899 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
6900 (speedbar-find-file, speedbar-dir-follow)
6901 (speedbar-directory-buttons-follow, speedbar-tag-find)
6902 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
6903 (speedbar-buffers-line-directory, speedbar-buffer-click):
6904 Mark unused parameters.
6905 (speedbar-tag-file): Remove unused variable `mode'.
6906 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
6907
6908 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
6909
6910 * talk.el (talk): Remove unused variable `display'.
6911
6912 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
6913 (tar-write-region-annotate): Mark unused parameter.
6914
6915 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
6916 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
6917 Declare them, wrapped in `with-no-warnings' to avoid replacing one
6918 warning by another.
6919
6920 * time-stamp.el (time-stamp-string-preprocess):
6921 Remove unused variable `require-padding'.
6922
6923 * tree-widget.el (widget-glyph-enable): Declare.
6924 (tree-widget-action): Mark unused parameter.
6925
6926 * w32-fns.el (x-get-selection): Mark unused parameter.
6927 (autoload-make-program, generated-autoload-file): Declare.
6928
6929 * wdired.el (wdired-revert): Mark unused parameters.
6930 (wdired-xcase-word): Remove unused variable `err'.
6931
6932 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
6933 (whitespace-help-scroll): Remove unused variable `data-help'.
6934
6935 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
6936 (widget-image-insert, widget-after-change, default)
6937 (widget-default-format-handler, widget-default-notify)
6938 (widget-default-prompt-value, widget-info-link-action)
6939 (widget-url-link-action, widget-function-link-action)
6940 (widget-variable-link-action, widget-file-link-action)
6941 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
6942 (widget-field-prompt-internal, widget-field-action, widget-field-match)
6943 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
6944 (widget-insert-button-action, widget-delete-button-action, visibility)
6945 (widget-documentation-link-action, widget-documentation-string-action)
6946 (widget-const-prompt-value, widget-regexp-match, symbol)
6947 (widget-coding-system-prompt-value)
6948 (widget-key-sequence-value-to-external, sexp)
6949 (widget-sexp-value-to-internal, character, vector, cons)
6950 (widget-choice-prompt-value, widget-boolean-prompt-value)
6951 (widget-color--choose-action): Mark unused parameters.
6952 (widget-item-match-inline, widget-choice-match-inline)
6953 (widget-checklist-match, widget-checklist-match-inline)
6954 (widget-group-match): Rename parameter VALUES to VALS.
6955 (widget-field-value-set): Remove unused variable `size'.
6956 (widget-color-action): Remove unused variables `value' and `start'.
6957
6958 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 6959 variable `dir'. Doc fix.
06b60517
JB
6960 (windmove-find-other-window): Don't pass it.
6961
6962 * window.el (count-windows): Mark unused parameter.
6963 (bw-adjust-window): Remove unused variable `err'.
6964
6965 * woman.el (woman-file-name): Remove unused variable `default'.
6966 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
6967 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
6968 (global-font-lock-mode): Declare.
6969 (woman-decode-region): Mark unused parameter.
6970 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
6971
6972 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
6973 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
6974 (x-dnd-handle-moz-url): Remove unused variable `title'.
6975 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
6976
6977 * xml.el (xml-parse-tag, xml-parse-attlist):
6978 Remove unused variable `pos'.
6979
bc4f7f3d
GM
69802011-04-19 Glenn Morris <rgm@gnu.org>
6981
6982 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
6983 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6984 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6985 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
6986 * calendar/cal-html.el (cal-html-insert-minical):
6987 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
6988 (calendar-mark-date-pattern):
6989 Prefix "unused" locals.
6990
6991 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
6992 optional argument `style'.
6993
6994 * calendar/appt.el (appt-make-list):
6995 * calendar/cal-china.el (calendar-chinese-date-string):
6996 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
6997 (diary-hebrew-yahrzeit):
6998 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
6999 * calendar/calendar.el (calendar-generate-window):
7000 * calendar/time-date.el (time-to-days):
7001 Remove unused local variables.
7002
16a43933
CY
70032011-04-18 Chong Yidong <cyd@stupidchicken.com>
7004
7005 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7006 glyphless-char-display table.
7007 (tabulated-list-glyphless-char-display): New var.
7008
7eed1860
SS
70092011-04-18 Sam Steingold <sds@gnu.org>
7010
7011 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7012 to acknowledgments.
7013
4d2d1ccd
GM
70142011-04-17 Glenn Morris <rgm@gnu.org>
7015
7016 * calendar/diary-lib.el (diary-sexp-entry):
7017 * calendar/holidays.el (holiday-sexp):
7018 Set debug-on-error rather than the removed stack-trace-on-error.
7019
239da61d
GM
70202011-04-16 Glenn Morris <rgm@gnu.org>
7021
7022 * progmodes/f90.el: Use lexical-binding.
7023 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7024
8b05752a
SM
70252011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7026
daca8ba5
SM
7027 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7028 (mail-mode): Setup mailalias completion here instead.
7029 * mail/mailalias.el: Use lexical-binding.
7030 (pattern, mailalias-done): Declare dynamic.
7031 (mail-completion-at-point-function): New function, from mail-complete.
7032 (mail-complete): Use it.
7033 (mail-completion-expand): New function.
7034 (mail-get-names): Use it.
7035 (mail-directory, mail-directory-process, mail-directory-stream):
7036 Don't use `pattern' for lexically bound arg.
7037
6f542485
SM
7038 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7039
037e7c3f
SM
7040 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7041 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7042 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7043
8b05752a
SM
7044 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7045 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7046 (byte-interactive-p): Define them again, for use when inlining
7047 old code.
7048
49093f60
JB
70492011-04-15 Juanma Barranquero <lekktu@gmail.com>
7050
7051 * loadup.el: Use `string-to-number', not `string-to-int'.
7052
b5b8e7de
SM
70532011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7056 gud-gdb-complete-command.
7057 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7058 (gud-gdb-completion-at-point): New function.
7059 (gud-gdb-completions): Remove.
7060
f42efeb5
MA
70612011-04-14 Michael Albinus <michael.albinus@gmx.de>
7062
49093f60
JB
7063 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7064 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7065 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7066 whether `executable-find' is bound.
f42efeb5
MA
7067
7068 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7069
e240cc21
SM
70702011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * minibuffer.el (completion-in-region-mode-predicate)
7073 (completion-in-region-mode--predicate): New vars.
7074 (completion-in-region, completion-in-region--postch)
7075 (completion-in-region-mode): Use them.
7076 (completion--capf-wrapper): Also return the hook function.
7077 (completion-at-point, completion-help-at-point):
7078 Adjust and provide a predicate.
c2bd2ab0
SM
7079
7080 Preserve arg names for advice of subr and lexical functions (bug#8457).
7081 * help-fns.el (help-function-arglist): Consolidate the subr and
7082 new-byte-code cases. Add argument `preserve-names' to extract names
7083 from the docstring when needed.
7084 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7085 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7086 (ad-arglist): Use help-function-arglist's new arg.
7087 (ad-definition-type): Use cond.
7088
c183f693
JB
70892011-04-13 Juanma Barranquero <lekktu@gmail.com>
7090
06641a47
JB
7091 * autorevert.el (auto-revert-handler):
7092 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7093 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7094 Don't quote lambda.
7095
c183f693
JB
7096 * image-mode.el (image-transform-set-scale):
7097 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7098
1e3b6001
G
70992011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7100
7101 * net/network-stream.el (network-stream-open-starttls): Only do
7102 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7103 Upgrades via gnutls-cli are too slow to be done opportunistically.
7104
2d6af8dd
JB
71052011-04-12 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * dframe.el (dframe-current-frame): Remove spurious quote.
7108
c0749a51
GM
71092011-04-12 Glenn Morris <rgm@gnu.org>
7110
088d0d61
GM
7111 * calendar/cal-tex.el (cal-tex-end-document):
7112 Try to automatically use latin1 input if needed.
7113
c0749a51
GM
7114 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7115 Don't try to cons a mark onto an empty element.
7116
5c90fde0
LL
71172011-04-11 Leo Liu <sdl.web@gmail.com>
7118
7119 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7120 buffers.
7121 (ido-kill-buffer-at-head): Support killing virtual buffers.
7122
369e974d
CY
71232011-04-10 Chong Yidong <cyd@stupidchicken.com>
7124
7125 * minibuffer.el (completion-show-inline-help): New var.
7126 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7127 (minibuffer-force-complete, minibuffer-complete-word):
7128 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7129
7130 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7131 to avoid interference from inline help (Bug#5849).
7132
37f1c930
LL
71332011-04-10 Leo Liu <sdl.web@gmail.com>
7134
099c39a4
JB
7135 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7136 Fix typo.
37f1c930 7137
a32d4040
CY
71382011-04-09 Chong Yidong <cyd@stupidchicken.com>
7139
7140 * image-mode.el (image-toggle-display-image): Signal an error if
7141 not in Image mode.
7142 (image-transform-mode, image-transform-resize)
7143 (image-transform-set-rotation): Doc fix.
daca8ba5 7144 (image-transform-set-resize): Delete.
a32d4040
CY
7145 (image-transform-set-scale, image-transform-fit-to-height)
7146 (image-transform-fit-to-width): Handle image-toggle-display-image
7147 and image-transform-resize directly.
7148
099c39a4 71492011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7150
7151 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7152 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7153 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7154 (doc-view-mode-map): Add bindings for the new functions.
7155
099c39a4 71562011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7157
4d61f28d 7158 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7159 Fix typo in docstring.
7160
3726838a
EZ
71612011-04-08 Eli Zaretskii <eliz@gnu.org>
7162
04f33f1e
EZ
7163 * files.el (file-size-human-readable): Produce one digit after
7164 decimal, like "ls -lh" does.
7165
7166 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7167 the file size representation.
7168
3726838a
EZ
7169 * simple.el (list-processes): If async subprocesses are not
7170 available, error out with a clear error message.
7171
cbb59342
CY
71722011-04-08 Chong Yidong <cyd@stupidchicken.com>
7173
7174 * help.el (help-form-show): New function, to be called from C.
7175 Put help-form output in a buffer named differently than *Help*.
7176
e3971c44
EZ
71772011-04-08 Eli Zaretskii <eliz@gnu.org>
7178
7179 * files.el (file-size-human-readable): New function.
7180
7181 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7182 computing the representation inline. Don't require `cl'.
7183
12544bbe
GM
71842011-04-08 Glenn Morris <rgm@gnu.org>
7185
a1de6c6a
GM
7186 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7187
3c4671f4
GM
7188 * net/browse-url.el (browse-url-firefox):
7189 Test system-type, not system-configuration.
7190
b605679c
GM
7191 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7192 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7193 Use log-edit-empty-buffer-p. (Bug#7598)
7194
56442f0c
GM
7195 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7196 (rlogin-mode-map): Initialize in the defvar.
7197 (rlogin): Use ignore-errors.
7198
12544bbe
GM
7199 * replace.el (occur-mode-map): Some fixes for menu items.
7200
eb237b0f
AH
72012011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7202
7203 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7204
7d668f2c
CY
72052011-04-06 Chong Yidong <cyd@stupidchicken.com>
7206
e67a13ab
CY
7207 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7208 issuing unused warnings.
7209
7210 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7211 macro directly.
7212
7d668f2c
CY
7213 * simple.el: Lisp reimplement of list-processes. Based on an
7214 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7215 (process-menu-mode): New major mode.
7216 (list-processes--refresh, list-processes):
7217 (process-menu-visit-buffer): New functions.
7218
7219 * files.el (save-buffers-kill-emacs): Don't assume any return
7220 value of list-processes, which is undocumented anyway.
7221
a83ec3c9
CY
72222011-04-06 Chong Yidong <cyd@stupidchicken.com>
7223
7224 * emacs-lisp/tabulated-list.el: New file.
7225
e91a96fe
CY
7226 * emacs-lisp/package.el: Use Tabulated List mode.
7227 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7228 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7229 table format using Tabulated List mode variables.
7230 (package--push): New macro, replacing package-list-maybe-add.
7231 (package-menu--generate): Use package--push. Renamed from
7232 package--generate-package-list.
7233 (package-menu-refresh, list-packages): Use it.
daca8ba5 7234 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7235 Return insertion data instead of inserting it directly.
099c39a4
JB
7236 (package-menu-describe-package, package-menu-execute):
7237 Use tabulated-list-get-id.
e91a96fe
CY
7238 (package-menu-mark-delete, package-menu-mark-install)
7239 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7240 (package-menu-mark-obsolete-for-deletion):
7241 Use tabulated-list-put-tag.
e91a96fe
CY
7242 (package--list-packages, package-menu-revert)
7243 (package-menu-get-package, package-menu-get-version)
7244 (package-menu-sort-by-column): Functions deleted.
7245 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7246 (package-menu--status-predicate, package-menu--version-predicate)
7247 (package-menu--name-predicate)
7248 (package-menu--description-predicate): Handle arguments in the
7249 Tabulated List format.
7250 (package-list-packages-no-fetch): Call list-packages.
7251
3e214b50
JB
72522011-04-06 Juanma Barranquero <lekktu@gmail.com>
7253
7254 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7255 (after-find-file): Don't bind it.
3e214b50
JB
7256 (revert-buffer-in-progress-p): New variable.
7257 (revert-buffer): Bind it.
7258 Pass nil for `after-find-file-from-revert-buffer'.
7259
7260 * saveplace.el (save-place-find-file-hook): Use new variable
7261 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7262
3f0f1700
GM
72632011-04-06 Glenn Morris <rgm@gnu.org>
7264
c0274801
GM
7265 * Makefile.in (AUTOGEN_VCS): New variable.
7266 (autoloads): Use $AUTOGEN_VCS.
7267
3f0f1700
GM
7268 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7269 * calendar/calendar.el (calendar-mode-map):
7270 Check for toolkit scroll bars. (Bug#8305)
7271
41ea9e48
CY
72722011-04-05 Chong Yidong <cyd@stupidchicken.com>
7273
7274 * minibuffer.el (completion-in-region--postch)
7275 (completion-in-region-mode): Remove unnecessary messages.
7276
6194c800
JB
72772011-04-05 Juanma Barranquero <lekktu@gmail.com>
7278
33256f14
JB
7279 * font-lock.el (font-lock-refresh-defaults):
7280 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7281 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7282
6194c800
JB
7283 * info.el (Info-directory-list, Info-read-node-name-2)
7284 (Info-split-parameter-string): Doc fixes.
7285 (Info-virtual-nodes): Reflow docstring.
7286 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7287 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7288 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7289 Fix typos in docstrings.
7290 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7291 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7292 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7293 (Info-restore-desktop-buffer): Mark unused parameters.
7294 (Info-directory-find-file, Info-directory-find-node)
7295 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7296 (Info-virtual-index-find-node, Info-apropos-find-file)
7297 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7298 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7299 (Info-virtual-index): Remove unused local variable `nodename'.
7300
b87a8200 73012011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7302
b87a8200
DD
7303 * net/rcirc.el: Update my e-mail address.
7304 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7305
3b2ff876
CY
73062011-04-05 Chong Yidong <cyd@stupidchicken.com>
7307
7308 * startup.el (command-line): Save the cursor's theme-face
7309 directly, instead of using face-override-spec.
7310
7311 * custom.el (load-theme): Minor optimization in assigning faces.
7312
8d17e7ca
JB
73132011-04-04 Juanma Barranquero <lekktu@gmail.com>
7314
7315 * help-fns.el (describe-variable): Complete all variables having
7316 documentation, including keywords.
7317 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7318
2fbc1934
JB
73192011-04-04 Juanma Barranquero <lekktu@gmail.com>
7320
7321 Convert to lexical-binding.
7322
7323 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7324 (bs--get-marked-string, bs--get-modified-string)
7325 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7326 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7327 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7328
7329 * ehelp.el (electric-help-execute-extended)
7330 (electric-help-ctrl-x-prefix):
7331 * hexl.el (hexl-revert-buffer-function):
7332 * linum.el (linum-after-change, linum-after-scroll):
7333 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7334
7335 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7336
74f50695
DU
73372011-04-04 Daiki Ueno <ueno@unixuser.org>
7338
7339 * epa-dired.el:
7340 * epa-mail.el:
7341 * epa-hook.el:
7342 * epa-file.el:
7343 * epa.el:
7344 * epg.el: Use lexical binding.
7345
c11325f7
CY
73462011-04-03 Chong Yidong <cyd@stupidchicken.com>
7347
0d9e9a12
CY
7348 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7349
c11325f7 7350 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7351 dictionary case for flyspell-mark-duplications-exceptions.
7352 Use regexp matching for languages.
c11325f7
CY
7353 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7354 default dictionary (Bug#7926).
7355
da91b5f2
CY
73562011-04-02 Chong Yidong <cyd@stupidchicken.com>
7357
099c39a4
JB
7358 * emacs-lisp/package.el (package--with-work-buffer):
7359 Recognize https URLs.
da91b5f2 7360
099c39a4
JB
7361 * net/network-stream.el: Move from gnus/proto-stream.el.
7362 Change prefix to network-stream throughout.
da91b5f2
CY
7363 (open-protocol-stream): Merge into open-network-stream, leaving
7364 open-protocol-stream as an alias. Handle nil BUFFER args.
7365
7366 * subr.el (open-network-stream): Move to net/network-stream.el.
7367
afa8e9f6
GM
73682011-04-02 Glenn Morris <rgm@gnu.org>
7369
1d2e369d
GM
7370 * find-dired.el (find-exec-terminator): New option.
7371 (find-ls-option): Test for -ls support.
7372 (find-ls-subdir-switches): Test for -b in find-ls-option.
7373 (find-dired, find-grep-dired): Doc fixes.
7374 (find-dired): Use find-exec-terminator.
7375
8abb7da8 7376 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7377 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7378 (find-name-arg): Remove purecopy.
8abb7da8 7379
f3ca7378
GM
7380 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7381 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7382 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7383 accordingly. Don't add the null-device if not needed.
7384
afa8e9f6
GM
7385 * files.el (save-some-buffers): Doc fix.
7386
35eae264
EZ
73872011-04-02 Eli Zaretskii <eliz@gnu.org>
7388
7389 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7390
26b51db5
JB
73912011-04-01 Juanma Barranquero <lekktu@gmail.com>
7392
7393 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7394 Use `dolist' rather than `mapcar'.
7395
7200d79c
SM
73962011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7397
03408648 7398 Add lexical binding.
7200d79c 7399
03408648
SM
7400 * subr.el (apply-partially): Use new closures rather than CL.
7401 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7402 (dolist, dotimes): Use slightly different expansion for lexical code.
7403 (functionp): Move to C.
7404 (letrec): New macro.
7405 (with-wrapper-hook): Use it and apply-partially instead of CL.
7406 (eval-after-load): Preserve lexical-binding.
7407 (save-window-excursion, with-output-to-temp-buffer): Turn them
7408 into macros.
7200d79c 7409
03408648
SM
7410 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7411
7412 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7413 than the arglist.
7414 (help-add-fundoc-usage): Don't add `Not documented'.
7415 (help-function-arglist): Handle closures, subroutines, and new
7416 byte-code-functions.
7417 (help-make-usage): Remove leading underscores.
7418 (describe-function-1): Handle closures.
7419 (describe-variable): Use special-variable-p for completion.
7420
7421 * files.el (lexical-binding): Declare safe.
f488fb65 7422
03408648
SM
7423 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7424 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7425 (pcase): Add `let' pattern.
7426 Change memoization so it actually works.
7427 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7428 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7429 <let>: New case.
f488fb65 7430
03408648
SM
7431 * emacs-lisp/macroexp.el: Use lexical binding.
7432 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7433 Don't convert ' to #' without checking that it's indeed quoting
7434 a lambda.
7435
7436 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7437 Use eval-sexp-add-defvars.
03408648
SM
7438 (eval-sexp-add-defvars): New fun.
7439
7440 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7441
7442 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7443 Don't autoload.
7444 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7445 than the internal `byte-compile-lambda'.
7446 (defmethod): Don't hide code under quotes.
7447 (eieio-defmethod): New `code' argument.
7448
7449 * emacs-lisp/eieio-comp.el: Remove.
7450
7451 * emacs-lisp/edebug.el (edebug-eval-defun)
7452 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7453 (edebug-toggle): Avoid `eval'.
7454
7455 * emacs-lisp/disass.el (disassemble-internal): Handle new
7456 `closure' objects.
7457 (disassemble-1): Handle new byte codes.
7458
7459 * emacs-lisp/cl.el (pushnew): Silence warning.
7460
7461 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7462 (cl-byte-compile-throw): Remove.
7463 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7464
7465 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7466 closures.
7467
7468 * emacs-lisp/cconv.el: New file.
7469
7470 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7471 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7472 (byte-compile-initial-macro-environment):
7473 Handle declare-function here.
7474 (byte-compile--lexical-environment): New var.
7475 (byte-stack-ref, byte-stack-set, byte-discardN)
7476 (byte-discardN-preserve-tos): New lap codes.
7477 (byte-interactive-p): Don't use any more.
7478 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7479 New macros.
7480 (byte-compile-lapcode): Use them and handle new lap codes.
7481 (byte-compile-obsolete): Remove.
7482 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7483 (byte-compile-arglist-warn): Check late def of inlinable funs.
7484 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7485 since they should have been expanded by now.
7486 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7487 (byte-compile-from-buffer): Remove unused second arg.
7488 (byte-compile-preprocess): New function.
7489 (byte-compile-toplevel-file-form): New function to distinguish
7490 file-form calls from outside from file-form calls from hunk-handlers.
7491 (byte-compile-file-form): Simplify.
7492 (byte-compile-file-form-defsubst): Remove.
7493 (byte-compile-file-form-defmumble): Simplify now that
7494 byte-compile-lambda always returns a byte-code-function.
7495 (byte-compile): Preprocess.
7496 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7497 Remove, not used any more.
7498 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7499 (byte-compile-make-args-desc): New funs.
7500 (byte-compile-lambda): Handle lexical functions. Always return
7501 a byte-code-function.
7502 (byte-compile-reserved-constants): New var, to make up room for
7503 closed-over variables.
7504 (byte-compile-constants-vector): Obey it.
7505 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7506 (byte-compile-macroexpand-declare-function): New function.
7507 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7508 byte-code-functions.
7509 (byte-compile-form): Check obsolescence here.
7510 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7511 (byte-compile-variable-ref): Remove.
7512 (byte-compile-dynamic-variable-op): New fun.
7513 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7514 (byte-compile-variable-set): New funs.
7515 (byte-compile-discard): Add 2 args.
7516 (byte-compile-stack-ref, byte-compile-stack-set)
7517 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7518 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7519 macroexpand-all instead.
7520 (byte-compile-quote-form): Remove.
7521 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7522 (byte-compile-bind, byte-compile-unbind): New funs.
7523 (byte-compile-let): Handle let* and lexical binding.
7524 (byte-compile-let*): Remove.
7525 (byte-compile-catch, byte-compile-unwind-protect)
7526 (byte-compile-track-mouse, byte-compile-condition-case):
7527 Handle a new :fun-body form, used for lexical scoping.
7528 (byte-compile-save-window-excursion)
7529 (byte-compile-with-output-to-temp-buffer): Remove.
7530 (byte-compile-defun): Simplify.
7531 (byte-compile-stack-adjustment): New fun.
7532 (byte-compile-out): Use it.
7533 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7534
7535 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7536 handler any more.
7537
7538 * emacs-lisp/byte-opt.el: Use lexical binding.
7539 (byte-inline-lapcode): Remove (to bytecomp).
7540 (byte-compile-inline-expand): Pay attention to inlining to/from
7541 lexically bound code.
7542 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7543 any more.
7544 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7545 any more and don't call compiler-macros.
7546 (byte-compile-splice-in-already-compiled-code): Remove.
7547 (byte-code): Don't inline any more.
7548 (disassemble-offset): Receive `bytes' as argument rather than via
7549 dynamic scoping.
7550 (byte-compile-tag-number): Declare before first use.
7551 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7552 `return' even if make-spliceable.
7553 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7554 obsolete interactive-p.
7555 (byte-optimize-lapcode): Optimize new lap-codes.
7556 Don't trip up on new form of `byte-constant' lap code.
7557
7558 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7559
7560 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7561
7562 * custom.el (custom-initialize-default, custom-declare-variable):
7563 Use `defvar'.
7564
7565 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7566 New variables.
7567 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7568 (COMPILE_FIRST): Add macroexp and cconv.
7569 * makefile.w32-in: Mirror changes in Makefile.in.
7570
7571 * vc/cvs-status.el:
7572 * vc/diff-mode.el:
7573 * vc/log-edit.el:
7574 * vc/log-view.el:
7575 * vc/smerge-mode.el:
7576 * textmodes/bibtex-style.el:
7577 * textmodes/css.el:
7578 * startup.el:
7579 * uniquify.el:
da91b5f2
CY
7580 * minibuffer.el:
7581 * newcomment.el:
7582 * reveal.el:
7583 * server.el:
7584 * mpc.el:
7585 * emacs-lisp/smie.el:
7586 * doc-view.el:
7587 * dired.el:
03408648
SM
7588 * abbrev.el: Use lexical binding.
7589
0f0c1f27
EZ
75902011-04-01 Eli Zaretskii <eliz@gnu.org>
7591
7592 * info.el (info-display-manual): New function.
7593
c82b2579
SM
75942011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7597
221ddf68
TH
75982011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7599
7600 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7601 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7602
cba6e77e
GM
76032011-03-31 Glenn Morris <rgm@gnu.org>
7604
e040639f
GM
7605 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7606
cba6e77e
GM
7607 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7608
6d0f1c9e
CS
76092011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7610
7611 * progmodes/python.el (python-default-interpreter)
7612 (python-python-command-args, python-jython-command-args)
7613 (python-which-shell, python-which-args, python-which-bufname)
7614 (python-file-queue, python-comint-output-filter-function)
7615 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7616 variables and functions.
7617
3e2d70fd
SM
76182011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7619
7620 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7621 (completion-in-region-mode): New minor mode.
7622 (completion-in-region): Use it.
7623 (completion-in-region--data, completion-in-region-mode-map): New vars.
7624 (completion-in-region--postch): New function.
7625 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7626 New vars.
7627 (completion--capf-wrapper): New function.
7628 (completion-at-point): Use it to track well-behavedness of
7629 hook functions.
7630 (completion-help-at-point): New command.
7631
f3e4086c
JM
76322011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7633
7634 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7635 syntax class to search for whitespace on a single line
7636 (Message-ID: <4D938140.4030905@redhat.com>).
7637
eb7ffc14
LL
76382011-03-30 Leo Liu <sdl.web@gmail.com>
7639
7640 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7641 New commands.
7642 (edit-abbrevs-map): Bind them here.
7643 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7644
d806ab68
KM
76452011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7646
7647 * allout.el (allout-hide-by-annotation, allout-flag-region):
7648 Reduce possibility of overlay leakage by making them volatile.
7649
7650 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7651 hash is not shared between buffers. Mode initialization is
7652 responsible for giving it a useful starting value.
7653 (allout-item-span): Reduce possibility of overlay leakage by
7654 making them volatile.
7655 (allout-widgets-count-buttons-in-region): Add diagnostic function
7656 for tracking down button overlay leaks.
7657
ea622834
LL
76582011-03-29 Leo Liu <sdl.web@gmail.com>
7659
7660 * ido.el (ido-read-internal): Use the default history var
7661 minibuffer-history if no HISTORY is specified.
7662
b62f8267
G
76632011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7664
03408648
SM
7665 * net/imap.el (imap-shell-open, imap-process-connection-type):
7666 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7667 Kerberos, SSL, other subprocesses.
7668
947b6566
LL
76692011-03-28 Leo Liu <sdl.web@gmail.com>
7670
7671 * abbrev.el (abbrev-table-empty-p): New function.
7672 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7673 nonempty ones. (Bug#5937)
7674
5ffb62aa
JD
76752011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7676
7677 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7678
7a097943
LL
76792011-03-27 Leo Liu <sdl.web@gmail.com>
7680
7681 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7682 for foreground and background colors.
7683 (ansi-color-make-color-map): Adapt.
7684
c5b40130
LL
76852011-03-25 Leo Liu <sdl.web@gmail.com>
7686
1f48f7d2
LL
7687 * midnight.el (midnight-time-float): Remove. Note it calculates
7688 the microsecond component incorrectly and seconds-to-time does the
7689 same job.
625897ec 7690 Remove redundant (require 'timer).
1f48f7d2 7691
c5b40130
LL
7692 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7693 (ido-completions): Remove unused arguments. (Bug#8329)
7694
d86d2721
SM
76952011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * minibuffer.el (completion--flush-all-sorted-completions):
7698 Remove itself from hook.
7699 (completion-at-point): Let the functions perform the completion
7700 immediately and return nil or t.
7701 * comint.el (comint-dynamic-complete-functions): Now identical to
7702 completion-at-point-functions.
7703 (comint-dynamic-list-input-ring): Remove unused var `index'.
7704 (comint--match-partial-filename, comint--unquote&expand-filename):
7705 New funs, split from comint-match-partial-filename.
7706 (comint-dynamic-complete): Use completion-at-point.
7707 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7708
e8974c48
DA
77092011-03-24 Drew Adams <drew.adams@oracle.com>
7710
7711 * thingatpt.el: Support `defun'.
7712
def71b5e
LL
77132011-03-23 Leo Liu <sdl.web@gmail.com>
7714
cb5af48e
LL
7715 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7716
def71b5e
LL
7717 * help-mode.el (help-mode-finish): Tweak regexp.
7718
927c53e7
GM
77192011-03-23 Glenn Morris <rgm@gnu.org>
7720
18d05bed
GM
7721 * eshell/esh-opt.el (eshell-eval-using-options):
7722 Do not bind unused local variable `eshell-option-stub'.
7723
927c53e7
GM
7724 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7725
9d0da923
JB
77262011-03-22 Juanma Barranquero <lekktu@gmail.com>
7727
7728 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7729 keymap variable in `with-no-warnings' to avoid a warning when the
7730 keymap has been already `defconst'ed.
7731
4b978a67
LL
77322011-03-22 Leo Liu <sdl.web@gmail.com>
7733
7734 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7735 encode all chars in abbrevs; otherwise use emacs-mule or
7736 utf-8-emacs. (Bug#8308)
7737
5fd62452
JB
77382011-03-22 Juanma Barranquero <lekktu@gmail.com>
7739
0b1596c6
JB
7740 * simple.el (backward-delete-char-untabify):
7741 Avoid warning about using `delete-backward-char'.
7742
5fd62452
JB
7743 * image.el (image-type-file-name-regexps): Make it variable.
7744 `imagemagick-register-types' modifies it, and the user may want
7745 to add new extensions for known image types.
7746 (imagemagick-register-types): Throw error if not using ImageMagick.
7747
0b4e93f1
LL
77482011-03-22 Leo Liu <sdl.web@gmail.com>
7749
7750 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7751 located before rcirc-prompt-end-marker.
7752 (rcirc-complete): Error if point is not after rcirc prompt.
7753 Handle the case when table is nil.
9882e214 7754 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 7755
fccee4ab
CY
77562011-03-22 Chong Yidong <cyd@stupidchicken.com>
7757
7758 * custom.el (custom--inhibit-theme-enable): Make it affect only
7759 custom-theme-set-variables and custom-theme-set-faces.
7760 (provide-theme): Ignore custom--inhibit-theme-enable.
7761 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7762 (custom-enabling-themes): Delete variable.
d86d2721
SM
7763 (enable-theme): Accept only loaded themes as arguments.
7764 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
7765 (custom-enabled-themes): Forbid themes from setting this.
7766 Eliminate use of custom-enabling-themes.
7767 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 7768
af896da6
LL
77692011-03-21 Leo Liu <sdl.web@gmail.com>
7770
7771 * ido.el (ido-read-internal): Add ido-selected to history instead
7772 of user input.
7773
78f64af0
SM
77742011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * subr.el (deferred-action-list, deferred-action-function):
7777 Mark obsolete.
7778
b16ac1ec
LL
77792011-03-21 Leo Liu <sdl.web@gmail.com>
7780
810f7698
LL
7781 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7782 change on 2011-02-13 (bug#8309).
7783
b16ac1ec
LL
7784 * minibuffer.el (read-file-name-function): Change default value.
7785 (read-file-name--defaults): Rename from read-file-name-defaults.
7786 (read-file-name-default): Rename from read-file-name.
7787 (read-file-name): Call read-file-name-function.
7788
4e05e67e
GM
77892011-03-21 Glenn Morris <rgm@gnu.org>
7790
7791 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7792 Doc fixes.
7793
4359915b
CY
77942011-03-21 Chong Yidong <cyd@stupidchicken.com>
7795
7796 * cus-theme.el: Add missing provide statement.
7797 (customize-create-theme): Extract theme value correctly.
7798 (custom-theme-visit-theme): Autoload.
7799 (customize-create-theme): Prompt before inserting default faces.
7800
1fe275ee
JB
78012011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7802
7803 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7804 units and musical notes.
7805
3ec03f7e
LL
78062011-03-20 Leo <sdl.web@gmail.com>
7807
7808 * ido.el (ido-read-internal): Use completing-read-default.
7809 (ido-completing-read): Fix compatibility with completing-read.
7810
7d476bde
CO
78112011-03-20 Christian Ohler <ohler@gnu.org>
7812
7813 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7814 (ert-delete-all-tests): Use `called-interactively-p' rather than
7815 `interactive-p'.
7816 (ert--make-xrefs-region): Respect END.
7817
fe0fb33e
CY
78182011-03-19 Chong Yidong <cyd@stupidchicken.com>
7819
ff854b0b
CY
7820 * dired-aux.el (dired-create-directory): Signal an error if the
7821 directory already exists (Bug#8246).
7822
fe0fb33e
CY
7823 * facemenu.el (list-colors-display): Call list-faces-display
7824 inside with-help-window.
7825 (list-colors-print): Use display property to align the final
7826 column, instead of checking window-width.
7827
576bce32
EZ
78282011-03-19 Eli Zaretskii <eliz@gnu.org>
7829
4d61f28d 7830 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
7831 windows-nt systems.
7832 (emerge-protect-metachars): Quote correctly for ms-dos and
7833 windows-nt systems.
7834
89c41d68 78352011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
7836
7837 * info.el (info-initialize): Replace all uses of `:' with
7838 path-separator for compatibility with non-Unix systems.
7839 Cache quoting of path-separator. (Bug#8258)
7840
b14e3e21 78412011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
7842
7843 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
7844 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
7845 (mouse-avoidance-mode): Fix typos in docstrings.
7846
4525ce3e
CY
78472011-03-19 Chong Yidong <cyd@stupidchicken.com>
7848
7849 * startup.el (package-subdirectory-regexp): Move from package.el.
7850 Omit \\` and \\', and let callers add them.
7851
7852 * emacs-lisp/package.el (package-strip-version)
7853 (package-load-all-descriptors): Add \\` and \\' to
7854 package-subdirectory-regexp before using it.
7855 (package-untar-buffer): New arg DIR; ensure that file untars only
7856 into this expected directory. Remove superfluous delete-region.
7857 (package-unpack): Caller changed.
7858 (package-tar-file-info): Use package-subdirectory-regexp.
7859
a904a09a 78602011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 7861
a904a09a
SM
7862 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
7863 diff-mode-shared-map (bug#8284).
7864 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
7865
78662011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7867
7868 * calendar/time-date.el (format-seconds): Use assoc instead of
7869 assoc-string, since assoc-string doesn't exist in XEmacs.
7870
171fc304
JB
78712011-03-17 Juanma Barranquero <lekktu@gmail.com>
7872
7873 * custom.el (custom-known-themes): Reflow docstring.
7874 (custom-theme-load-path): Fix typo in docstring.
7875 (load-theme): Fix typo in error message.
7876 (custom-available-themes, custom-variable-theme-value):
7877 Use `let', not `let*'.
7878
d71990a1
JB
78792011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7880
7881 * calc/README: Mention inclusion of musical notes.
7882
7883 * calc/calc-units.el (calc-lu-quant): Rename from
7884 `calc-logunits-quantity'.
7885 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
7886 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
7887 (calc-db): Rename from `calc-dblevel'.
7888 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
7889 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
7890 (calc-np): Rename from `calc-nplevel'.
7891 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
7892 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
7893 (calc-lu-plus): Rename from `calc-logunits-add'.
7894 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
7895 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
7896 (calc-lu-minus): Rename from `calc-logunits-sub'.
7897 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
7898 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
7899 (calc-lu-times): Rename from `calc-logunits-mul'.
7900 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
7901 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
7902 (calc-lu-divide): Rename from `calc-logunits-div'.
7903 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
7904 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
7905
7906 * calc/calc-ext.el (calc-init-extensions): Update the names of the
7907 functions being autoloaded.
7908
7909 * calc/calc.el (calc-lu-power-reference): Rename from
7910 `calc-logunits-power-reference'.
7911 (calc-lu-field-reference): Rename from
7912 `calc-logunits-field-reference'.
7913
7914 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
7915
40c2934b
SM
79162011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * minibuffer.el (completion-all-sorted-completions):
7919 Use :completion-cycle-penalty text property if present.
7920
b0911414
KM
79212011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
7922
7923 * allout.el (allout-yank-processing): Adjust for new rebulleting
7924 regime so bullet being yanked is used without prompting the user
7925 for a choice.
7926
8a05b668
JB
79272011-03-16 Juanma Barranquero <lekktu@gmail.com>
7928
7929 * startup.el (command-line): Warn the user that _emacs is deprecated.
7930
5ba5fb81
JB
79312011-03-16 Juanma Barranquero <lekktu@gmail.com>
7932
7933 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
7934 (delphi-verbose, delphi-comment-face, delphi-string-face)
7935 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
7936 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
7937 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
7938 (delphi-new-comment-line, delphi-font-lock-defaults)
7939 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
7940 Fix typos in docstrings.
7941
2dab465b
KM
79422011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
7943
5ba5fb81 7944 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
7945 Invert the roles of character and string values for INSTEAD, so a
7946 string is used for the more common case of a defaulting prompt.
7947
0adf5618
SM
79482011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * progmodes/ruby-mode.el (ruby-backward-sexp):
7951 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
7952 * play/gamegrid.el (gamegrid-make-face):
7953 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
7954 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
7955 * notifications.el (notifications-notify):
7956 * net/xesam.el (xesam-search-engines):
7957 * net/quickurl.el (quickurl-list-insert):
7958 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
7959
d72700e5
CY
79602011-03-15 Chong Yidong <cyd@stupidchicken.com>
7961
7962 * startup.el (command-line): Update package subdirectory regexp.
7963
49c5410a
SM
79642011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7965
c6eee9aa
SM
7966 * allout.el (allout-abbreviate-flattened-numbering)
7967 (allout-mode-deactivate-hook): Fix up obsolescence "date".
7968
49c5410a
SM
7969 * subr.el (read-char-choice): Only show the cursor after the prompt,
7970 not after the answer.
7971
047b2bb9
KR
79722011-03-15 Kevin Ryde <user42@zip.com.au>
7973
7974 * help-fns.el (variable-at-point): Skip leading quotes, if any
7975 (bug#8253).
7976
0a57d256
SM
79772011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
7980 warning message.
7981
77c992bc
MA
79822011-03-14 Michael Albinus <michael.albinus@gmx.de>
7983
7984 * shell.el (shell): When called interactively, offer to change the
7985 shell file name on remote hosts.
7986
eebc475d
TZ
79872011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
7988
7989 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
7990 integration for LDAP parameters. The host, base, user or binddn,
7991 and secret tokens can be specified in a netrc file, for instance.
7992 This is optional because an `auth-source' parameter must be
7993 specified in the search attributes.
7994
9d05d1ba
JB
79952011-03-13 Juanma Barranquero <lekktu@gmail.com>
7996
7997 * help.el (describe-mode): Link to the mode's definition (bug#8185).
7998
09d9db2c
GM
79992011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8000
8001 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8002 into declaration. Remove redundant and harmful binding.
8003
80042011-03-12 Eli Zaretskii <eliz@gnu.org>
8005
8006 * files.el (file-ownership-preserved-p): Pass `integer' as an
8007 explicit 2nd argument to `file-attributes'. If the file's owner
8008 is the Administrators group on Windows, and the current user is
8009 Administrator, consider that a match.
8010
8011 * server.el (server-ensure-safe-dir): Consider server directory
8012 safe on MS-Windows if its owner is the Administrators group while
8013 the current Emacs user is Administrator. Use `=' to compare
8014 numerical UIDs, since they could be integers or floats.
8015
219bd536
JB
80162011-03-12 Juanma Barranquero <lekktu@gmail.com>
8017
8018 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8019
f3afd36b
MA
80202011-03-12 Michael Albinus <michael.albinus@gmx.de>
8021
8022 Sync with Tramp 2.2.1.
8023
8024 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8025
8026 * net/trampver.el: Update release number.
8027
3aaaa6f1
SM
80282011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8029
94642599
SM
8030 * progmodes/compile.el (compilation--previous-directory): Fix up
8031 various nil/dead-marker mismatches (bug#8014).
8032 (compilation-directory-properties, compilation-error-properties):
8033 Don't call it at a position past the one we're about to change.
8034
3aaaa6f1
SM
8035 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8036 Disable obsolescence warnings in the file that declares it.
8037
14239447
KM
80382011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8039
099c39a4
JB
8040 * allout-widgets.el (allout-widgets-tally):
8041 Initialize allout-widgets-tally as a hash table rather than nil to
8042 prevent mode-line redisplay warnings. Also, clarify the module
8043 description and fix a comment typo.
14239447 8044
135e287c
JB
80452011-03-11 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * help-fns.el (describe-variable): Don't complete keywords.
8048 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8049
ffbf300e
CY
80502011-03-10 Chong Yidong <cyd@stupidchicken.com>
8051
ba08b241
CY
8052 * emacs-lisp/package.el (package-version-join): Impose a standard
8053 string representation for pre/alpha/beta version lists.
8054 (package-unpack-single): Standardize the directory name by passing
8055 it through package-version-join.
8056 (package-strip-rcs-id): Accept any version string that does not
8057 signal an error in version-to-list.
ffbf300e 8058
f346fd6b
MA
80592011-03-10 Michael Albinus <michael.albinus@gmx.de>
8060
8061 * simple.el (delete-trailing-whitespace): Return nil for the
8062 benefit of `write-file-functions'.
8063
ccb55d27
GM
80642011-03-10 Glenn Morris <rgm@gnu.org>
8065
5ceaac0c
GM
8066 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8067
02da65ff
GM
8068 * vc/vc-git.el (vc-git-program): New option.
8069 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8070 (vc-git--call): Use it.
8071
b2f603cc
GM
8072 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8073
5772caab
GM
8074 * cus-edit.el (Custom-newline): If no button at point, look
8075 for a subgroup button at start-of-line. (Bug#2298)
8076
ccb55d27
GM
8077 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8078
ec6ecaed
JD
80792011-03-10 Julien Danjou <julien@danjou.info>
8080
8081 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8082 `cursor-type' is nil.
8083
9d5aa01d
JB
80842011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8085
8086 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8087
b6a5875b
KM
80882011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8089
8090 * allout.el Summary: Change so yank of distinctive-bullet items
8091 preserves the existing header prefix, rebulleting it if necessary,
8092 rather than replacing it. This is necessary for proper operation
8093 of cooperative addons like allout-widgets.
219bd536 8094 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8095 SOLICIT arg to INSTEAD, and interpret additionally a string value
8096 as alternate bullet to be used, instead of prompting the user for
8097 a bullet character.
8098
ee545c35
MA
80992011-03-09 Michael Albinus <michael.albinus@gmx.de>
8100
d86d2721
SM
8101 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8102 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8103 `tramp-default-port'.
8104
c47971d7
DD
81052011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8106
8107 * net/rcirc.el (rcirc-handler-001): Remove useless
8108 with-rcirc-process-buffer.
8109 (rcirc-check-auth-status): Swap arguments to string-match.
8110
13522cb4
GM
81112011-03-09 Glenn Morris <rgm@gnu.org>
8112
0be6f4f1
GM
8113 * shell.el (shell-mode):
8114 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8115
13522cb4
GM
8116 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8117 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8118
515de2e3
CY
81192011-03-08 Chong Yidong <cyd@stupidchicken.com>
8120
8121 * emacs-lisp/package.el (package-refresh-contents)
8122 (package-menu-execute): Use condition-case-no-debug.
8123
b511b994
MA
81242011-03-08 Michael Albinus <michael.albinus@gmx.de>
8125
8126 * simple.el (shell-command-to-string): Use `process-file'.
8127
8128 * emacs-lisp/package.el (package-tar-file-info): Handle also
8129 remote files.
8130
d86d2721
SM
8131 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8132 Use `equal' for upload base check.
b511b994 8133
25bbfb31
AM
81342011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8135
8136 * textmodes/texinfo.el (texinfo-environments):
8137 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8138
be996521
GM
81392011-03-08 Glenn Morris <rgm@gnu.org>
8140
e9c8529f
GM
8141 * cus-start.el (cursor-in-non-selected-windows):
8142 Fix :set quoting oddness. (Bug#8192)
8143
be996521
GM
8144 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8145 in some setf expressions. (Bug#2159)
8146
2bb5649e
CY
81472011-03-08 Chong Yidong <cyd@stupidchicken.com>
8148
8149 * custom.el (custom-available-themes): Return themes in
8150 alphabetical order.
8151
33383987 8152See ChangeLog.15 for earlier changes.
e3d51b27
MR
8153
8154;; Local Variables:
8155;; coding: utf-8
e3d51b27
MR
8156;; End:
8157
33383987 8158 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8159
8160 This file is part of GNU Emacs.
8161
8162 GNU Emacs is free software: you can redistribute it and/or modify
8163 it under the terms of the GNU General Public License as published by
8164 the Free Software Foundation, either version 3 of the License, or
8165 (at your option) any later version.
8166
8167 GNU Emacs is distributed in the hope that it will be useful,
8168 but WITHOUT ANY WARRANTY; without even the implied warranty of
8169 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8170 GNU General Public License for more details.
8171
8172 You should have received a copy of the GNU General Public License
8173 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.