Cosmetic fix for Man-unindent.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ebfe2597
WJ
12012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2
3 * man.el (Man-unindent): Use text-property-default-nonsticky to
4 prevent untabify from inheriting face properties (Bug#11408).
5
a43f98b3
GM
62012-05-05 Glenn Morris <rgm@gnu.org>
7
48176e8b
GM
8 * calendar/cal-html.el: Optionally include holidays in the output.
9 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
10 (cal-html-holidays): New option.
11 (cal-html-css-default): Add holiday entry.
12 (holiday-in-range): Autoload it.
13 (cal-html-htmlify-entry): Add optional class argument.
14 (cal-html-htmlify-list): Add optional holidays argument.
15 (cal-html-insert-agenda-days): Include holidays in the output.
16 (cal-html-one-month): Maybe include holidays.
17
a43f98b3
GM
18 * calendar/holidays.el (holiday-in-range):
19 Move here from cal-tex-list-holidays.
20 * calendar/cal-tex.el (cal-tex-list-holidays):
21 Make it an obsolete alias for holiday-in-range. Update all callers.
22
fef9d149 232012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
24
25 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
26 Nextstep.
27
248da2f4
RW
282012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
29
30 * files.el (file-auto-mode-skip): New var.
31 (set-auto-mode-1): Use it.
32
f95e9344
SM
332012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
34
df96ab1e
SM
35 * repeat.el: Use lexical-binding.
36 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
37 (repeat-undo-count): Remove.
38 (repeat):
39 * progmodes/octave-mod.el (octave-abbrev-start):
40 * progmodes/f90.el (f90-abbrev-start):
41 * face-remap.el (text-scale-adjust):
42 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
43
5342bb06
SM
44 * emacs-lisp/pcase.el (pcase--let*): New function.
45 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
46 a bit more.
47 (pcase--split-pred): Be more clever about ruling out overlap between
48 a predicate and some constant pattern.
49 (pcase--q1): Use `null' instead of (eq foo nil).
50
f95e9344
SM
51 * subr.el (setq-local, defvar-local): New macros.
52 (kbd): Redefine as an alias.
53 (with-selected-window): Leave unrelated frames alone.
54 (set-temporary-overlay-map): New function.
55
71873e2b
SM
562012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
57
58 * subr.el (user-error): New function.
59 * window.el (switch-to-buffer):
60 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
61 (smerge-match-conflict):
62 * simple.el (previous-matching-history-element)
63 (next-matching-history-element, goto-history-element, undo-more)
64 (undo-start):
65 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
66 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
67 (next-file, tags-loop-scan, list-tags, complete-tag):
68 * progmodes/compile.el (compilation-loop):
69 * mouse.el (mouse-minibuffer-check):
70 * man.el (Man-bgproc-sentinel, Man-goto-page):
71 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
72 (Info-history-forward, Info-follow-reference, Info-menu)
73 (Info-extract-menu-item, Info-extract-menu-counting)
74 (Info-forward-node, Info-backward-node, Info-next-menu-item)
75 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
76 (Info-next-reference, Info-prev-reference, Info-index)
77 (Info-index-next, Info-follow-nearest-node)
78 (Info-copy-current-node-name):
79 * imenu.el (imenu--make-index-alist)
80 (imenu-default-create-index-function, imenu-add-to-menubar):
81 * files.el (basic-save-buffer, recover-file):
82 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
83 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
84 (checkdoc-message-text, checkdoc-defun):
85 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
86 * cus-edit.el (customize-changed-options, customize-rogue)
87 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
88 (custom-variable-mark-to-reset-standard)
89 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
90 (custom-file):
91 * completion.el (check-completion-length):
92 * comint.el (comint-search-arg)
93 (comint-previous-matching-input-string-position)
94 (comint-previous-matching-input)
95 (comint-replace-by-expanded-history-before-point, comint-send-input)
96 (comint-copy-old-input, comint-backward-matching-input)
97 (comint-goto-process-mark, comint-set-process-mark):
98 * calendar/calendar.el (calendar-cursor-to-date): Use it.
99 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
100
8a61ee22
SM
1012012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
102
66408d1e
SM
103 * dabbrev.el (dabbrev--ignore-case-p): New function.
104 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
105 Use it.
106
8a61ee22
SM
107 * files.el (automount-dir-prefix): Mark as obsolete.
108
3c74813a
GM
1092012-05-04 Glenn Morris <rgm@gnu.org>
110
111 * patcomp.el, play/bruce.el: Move to obsolete/.
112
0bfcf5c5
PE
1132012-05-04 Paul Eggert <eggert@cs.ucla.edu>
114
115 Fix minor Y10k bugs.
116 * arc-mode.el (archive-unixdate):
117 * autoinsert.el (auto-insert-alist):
118 * calc/calc-forms.el (math-this-year):
119 * emacs-lisp/copyright.el (copyright-current-year)
120 (copyright-update-year, copyright):
121 * tar-mode.el (tar-clip-time-string):
122 * time.el (display-time-update):
123 Don't assume years have 4 digits.
124
78f3273a
CY
1252012-05-04 Chong Yidong <cyd@gnu.org>
126
127 * dos-w32.el (file-name-buffer-file-type-alist)
128 (direct-print-region-use-command-dot-com):
129 * ffap.el (ffap-menu-regexp):
130 * find-file.el (ff-special-constructs):
131 * follow.el (follow-debug):
132 * forms.el (forms--debug):
133 * iswitchb.el (iswitchb-all-frames):
134 * ido.el (ido-all-frames):
135 * emacs-lisp/timer.el (timer-max-repeats):
136 * mail/feedmail.el (feedmail-mail-send-hook)
137 (feedmail-mail-send-hook-queued):
138 * mail/footnote.el (footnote-signature-separator):
139 * mail/mailabbrev.el (mail-alias-separator-string)
140 (mail-abbrev-mode-regexp):
141 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
142 * progmodes/idlwave.el (idlwave-libinfo-file)
143 (idlwave-default-completion-case-is-down)
144 (idlwave-library-routines): Convert defvars to defcustoms.
145
146 * mail/rmail.el (rmail-decode-mime-charset):
147 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
148 (idlwave-shell-fix-inserted-breaks)
149 (idlwave-shell-activate-alt-keybindings)
150 (idlwave-shell-use-breakpoint-glyph):
151 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
152
f7ae6719
SM
1532012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
156
47086495
WS
1572012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
158
159 * progmodes/verilog-mode.el (font-lock-keywords):
160 Fix mis-highligting auto. Reported by Craig Barner.
161 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
162 defines from global name space. Reported by Dan Dever.
163 (verilog-auto-reset, verilog-auto-reset-widths)
164 (verilog-auto-tieoff): Support using unbased numbers for
165 AUTORESET and AUTOTIEOFF.
166 (verilog-submit-bug-report): Update variable list.
167 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
168 parenthesis from not matching. Reported by Michael Rytting.
169 (verilog-auto-template-lint): Fix hash error when linting modules
170 with no used templates.
171 (verilog-warn, verilog-warn-error)
172 (verilog-warn-fatal): When non-interactive report multiple
173 warnings before exiting. Suggested by Brad Dobbie.
174 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
175 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
176 to report unused template errors. Reported by Brad Dobbie.
177 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
178 nets, bug438. Reported by Vns Blore.
179 (verilog-auto-inout-module, verilog-auto-reg)
180 (verilog-read-decls, verilog-read-sub-decls-sig)
181 (verilog-signals-edit-wire-reg, verilog-signals-with):
182 Fix passing of Verilog data types in ANSI input/output ports
183 such as "output logic" into the AUTOs. Special case "wire" and
184 "reg" for backwards compatibility presuming Verilog 2001.
185 (verilog-auto-ascii-enum): Add "auto enum" as alias.
186 (verilog-preprocess): Fix replication of preprocess output.
187 Reported by Brad Dobbie.
188 (verilog-auto-inst-interfaced-ports):
189 Create verilog-auto-inst-interfaced-ports, bug429.
190 Reported by Julian Gorfajn.
191 (verilog-after-save-font-hook)
192 (verilog-before-save-font-hook): New variable.
193 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
194 (verilog-save-font-mods): Wrap disabling fontification, reported
195 by David Rogoff.
196 (verilog-do-indent, verilog-pretty-declarations-auto)
197 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
198 Reported by Pierre-David Pfister.
199 (verilog-set-auto-endcomments): Fix endtask auto comments outside
200 of class declarations, bug292. Reported by Kevin Heilman.
201 (verilog-read-decls): Fix 'parameter type' not appearing in
202 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
203 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
204 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
205 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
206 Reported by David Kravitz.
207
2082012-05-03 Michael McNamara <mac@mail.brushroad.com>
209
210 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
211 assignment with tests in ifs and for loops.
212 (verilog-extended-complete-re, verilog-complete-reg): Change so
213 that DPI inport functions don't look like fuction declarations.
214 (verilog-pretty-expr): Don't line up assignment
215 operations to the test and increment in if and for loops
216 (verilog-extended-complete-re, verilog-complete-reg): Change so
217 that DPI inport functions don't look like fuction declarations
218
2e51d4b5
KH
2192012-05-03 Kenichi Handa <handa@m17n.org>
220
221 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
222 decoding, and show a warning message without signalling an error
223 (Bug#11282).
224
2bd785a2
SM
2252012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * emacs-lisp/bytecomp.el
228 (byte-compile-file-form-custom-declare-variable): Compile all elements,
229 since cconv.el might have introduced :fun-body, internal-make-closure,
230 and friends for bytecomp to handle (bug#11391).
231 * custom.el (defcustom): Avoid ((λ ..) ..).
232
99d27583
SM
2332012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
236
55a71479
JB
2372012-05-02 Juanma Barranquero <lekktu@gmail.com>
238
239 * notifications.el (dbus-debug):
240 * term/linux.el (gpm-mouse-enable):
241 * term/screen.el (xterm-register-default-colors): Declare.
242
7b97c764
CY
2432012-05-02 Chong Yidong <cyd@gnu.org>
244
2bc356d7
CY
245 * cus-start.el (gc-cons-percentage, exec-suffixes)
246 (dos-display-scancodes, dos-hyper-key, dos-super-key)
247 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
248 (make-cursor-line-fully-visible, void-text-area-pointer)
249 (font-list-limit): Add customization data.
250
7b97c764
CY
251 * allout.el (allout-exposure-change-functions)
252 (allout-structure-added-functions)
253 (allout-structure-deleted-functions)
254 (allout-structure-shifted-functions): Rename abnormal hooks from
255 *-hook, and convert to defcustoms.
5d3385a0
JB
256 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
257 Convert to defcustoms.
7b97c764
CY
258 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
259
260 * allout-widgets.el: Hook callers changed.
261
90207a15 2622012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
263
264 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
265 the yanked message in preference to the default value of
266 buffer-file-coding-system.
267
90207a15 2682012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 269
5d3385a0
JB
270 * window.el (display-buffer--action-function-custom-type):
271 Fix entry.
d9558cad 272
90207a15 2732012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
274
275 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
276
d80ac57b
GM
2772012-05-01 Glenn Morris <rgm@gnu.org>
278
976f7668
GM
279 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
280
beb83b5a
GM
281 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
282
d80ac57b
GM
283 * cus-edit.el (custom-variable-documentation): Simplify with format.
284
b593d6a9
AH
2852012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
286 Stefan Monnier <monnier@iro.umontreal.ca>
287
288 * simple.el (suggest-key-bindings, execute-extended-command):
289 Move from keyboard.c.
290
782fbf2a
CY
2912012-05-01 Chong Yidong <cyd@gnu.org>
292
293 * follow.el: Eliminate advice.
294 (set-process-filter, process-filter, sit-for): Advice deleted.
295 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
296 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
297 Vars deleted.
782fbf2a
CY
298 (follow-auto): Use a :set function.
299 (follow-mode): Rewritten. Don't advise process filters.
300 (follow-switch-to-current-buffer-all, follow-scroll-up)
301 (follow-scroll-down): Assume follow-mode is bound.
302 (follow-comint-scroll-to-bottom)
303 (follow-align-compilation-windows): New functions.
304 (follow--window-sorter): New function.
305 (follow-all-followers): Use it to explicitly sort windows by their
306 positions; don't make assumptions about next-window order.
307 (follow-windows-start-end, follow-delete-other-windows-and-split)
308 (follow-calc-win-start): Doc fix.
309 (follow-windows-aligned-p, follow-select-if-visible): Don't call
310 vertical-motion unnecessarily.
311 (follow-adjust-window): New function.
312 (follow-post-command-hook): Use it.
313 (follow-call-set-process-filter, follow-call-process-filter)
314 (follow-intercept-process-output, follow-tidy-process-filter-alist)
315 (follow-stop-intercept-process-output, follow-generic-filter):
316 Functions deleted.
317 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
318 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
319 New functions, replacing advice on scroll-bar-* commands.
87233a14 320 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
321
322 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
323 (comint-postoutput-scroll-to-bottom): Use it.
324 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 325
290af740
GM
3262012-05-01 Glenn Morris <rgm@gnu.org>
327
328 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
329 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
330 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
331 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
332 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
333 Remove no-byte-compile setting.
334
6eac8dc9
SM
3352012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * minibuffer.el (completion-table-with-quoting): Fix compatibility
338 all-completions code to not return a number in the last cdr.
339
9cc7819c
LL
3402012-04-30 Leo Liu <sdl.web@gmail.com>
341
342 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
343 read-only error.
344
c93b886f
CY
3452012-04-29 Chong Yidong <cyd@gnu.org>
346
347 * follow.el (follow-calc-win-end): Rewrite to handle partial
348 screen lines correctly (Bug#8390).
349 (follow-avoid-tail-recenter): Minor cleanup.
350
8b6c19f4
SM
3512012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 Avoid the obsolete `assoc' package.
354 * speedbar.el (speedbar-refresh): Avoid adelete.
355 (speedbar-file-lists): Simplify and avoid aput.
356 * man.el (Man--sections, Man--refpages): New vars, replacing
357 Man-sections-alist and Man-refpages-alist.
358 (Man-build-section-alist, Man-build-references-alist):
359 Use them; avoid aput.
360 (Man--last-section, Man--last-refpage): New vars.
361 (Man-follow-manual-reference): Use them.
362 Use the `default' arg of completing-read.
363 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
364
c5bb7569
CY
3652012-04-27 Chong Yidong <cyd@gnu.org>
366
d1d2e2e8
CY
367 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
368
15cd8efd
CY
369 * startup.el (x-apply-session-resources): New function.
370
371 * term/ns-win.el (ns-initialize-window-system):
372 * term/w32-win.el (w32-initialize-window-system):
373 * term/x-win.el (x-initialize-window-system): Use it to properly
374 set menu-bar-mode and other vars from X resources, even if the
375 initial frame is not a window-system frame (Bug#2299).
376
c5bb7569
CY
377 * subr.el (read-key): Avoid running filter function when setting
378 up temporary tool bar entries (Bug#9922).
379
a8e7d6d7 3802012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
381
382 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
383 (Bug#11344)
384
a8e7d6d7 3852012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
386
387 * select.el (xselect--encode-string): New function, split from
388 xselect-convert-to-string.
389 (xselect-convert-to-string): Use it.
390 (xselect-convert-to-filename, xselect-convert-to-os)
391 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
392 returned strings are properly encoded (Bug#11315).
393
a8e7d6d7 3942012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
395
396 * simple.el (delete-active-region): Move to killing custom group.
397
a8e7d6d7 3982012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
399
400 * progmodes/which-func.el (which-func-current): Quote %
401 characters for mode-line processing.
402
578c1d4b 4032012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
404
405 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
406 reaching eob (Bug#11286).
407
a8e7d6d7 4082012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
409
410 * progmodes/gdb-mi.el (gdb-control-level): New variable.
411 (gdb): Make it buffer-local and init to zero.
412 (gdb-control-commands-regexp): New variable.
413 (gdb-send): Don't wrap in "-interpreter-exec console" if
414 gdb-control-level is positive. Increment gdb-control-level
415 whenever the command matches gdb-control-commands-regexp, and
416 decrement it each time the command is "end". (Bug#11279)
417
a8e7d6d7 4182012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
419
420 * window.el (adjust-window-trailing-edge, enlarge-window)
421 (shrink-window, window-resize):
422 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
423 windows (Bug#11276).
424
b3608390
CY
4252012-04-27 Chong Yidong <cyd@gnu.org>
426
427 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 428 fix "missing prefix" warning. All callers changed.
b3608390 429
797e6e88
SM
4302012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
431
432 * emacs-lisp/assoc.el: Move to obsolete/.
433
e95a67dc
SM
4342012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
435
657c21e4 436 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
437
438 * term/ns-win.el (ns-define-service):
439 * progmodes/pascal.el (pascal-goto-defun):
440 * progmodes/js.el (js--read-tab):
441 * progmodes/etags.el (tags-lazy-completion-table):
442 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
443 * emacs-lisp/ewoc.el (ewoc--wrap):
444 * emacs-lisp/assoc.el (aput, adelete, amake):
445 * doc-view.el (doc-view-convert-current-doc):
446 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
447
cb3e7ae0
CY
4482012-04-26 Chong Yidong <cyd@gnu.org>
449
dce04f7f
CY
450 * image.el (image-type-from-buffer): Only return supported image
451 type (Bug#9045).
452
cb3e7ae0
CY
453 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
454 value, for symmetry with diff-end-of-hunk.
455 (diff-split-hunk, diff-find-source-location)
456 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
457 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
458 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
459 compute the relevant hunk or file properly (Bug#6005).
460 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
461
0d42eb3e
SM
4622012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * vc/vc-mtn.el:
465 * vc/vc-hg.el:
466 * vc/vc-git.el:
467 * vc/vc-dir.el:
468 * vc/vc-cvs.el:
469 * vc/vc-bzr.el:
470 * vc/vc-arch.el:
471 * vc/vc.el: Replace lexical-let by lexical-binding.
472 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
473 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
474 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
475
f08ae1c9
CY
4762012-04-26 Chong Yidong <cyd@gnu.org>
477
8b71081d
CY
478 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
479 (diff-mode-shared-map): Bind it to / and [remap undo].
480
f08ae1c9
CY
481 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
482 (ediff-window-setup-function): Use it as the default, to set up
483 windows based on whether the current frame is graphical (Bug#2138).
484 (ediff-choose-window-setup-function-automatically): Make obsolete.
485
486 * vc/ediff-init.el: Always define ediff-pixel-width/height.
487
ef24141c
SM
4882012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
489
cc356a5d
SM
490 * ffap.el: Remove old code for obsolete package.
491 (ffap-complete-as-file-p): Remove.
492
b4ff4f1f
SM
493 Use completion-table-with-quoting for comint and pcomplete.
494 * comint.el (comint--unquote&requote-argument)
495 (comint--unquote-argument, comint--requote-argument): New functions.
496 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
497 (comint-quote-filename): Use regexp-opt-charset.
498 (comint--common-suffix, comint--common-quoted-suffix)
499 (comint--table-subvert): Remove.
500 (comint-unquote-function, comint-requote-function): New vars.
501 (comint--complete-file-name-data): Use them with
502 completion-table-with-quoting.
503 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
504 * pcomplete.el (pcomplete-arg-quote-list)
505 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
506 (pcomplete-unquote-argument-function): Default to non-nil.
507 (pcomplete-unquote-argument): Simplify.
508 (pcomplete--common-quoted-suffix): Remove.
509 (pcomplete-requote-argument-function): New var.
510 (pcomplete--common-suffix): New function.
511 (pcomplete-completions-at-point): Use completion-table-with-quoting
512 and completion-table-subvert.
513
79c4eeb4
SM
514 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
515 (minibuffer--double-dollars): Preserve properties.
516 (completion--sifn-requote): New function.
517 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
518
ef24141c
SM
519 * minibuffer.el: Add support for completion of quoted/escaped data.
520 (completion-table-with-quoting, completion-table-subvert): New funs.
521 (completion--twq-try, completion--twq-all): New functions.
522 (completion--nth-completion): New function.
523 (completion-try-completion, completion-all-completions): Use it.
524
784e7d6e
LL
5252012-04-25 Leo Liu <sdl.web@gmail.com>
526
dd2ac746
SM
527 * progmodes/python.el (python-pdbtrack-get-source-buffer):
528 Use compilation-message if available to find real filename.
784e7d6e 529
07875ee7
CY
5302012-04-25 Chong Yidong <cyd@gnu.org>
531
532 * vc/diff-mode.el (diff-setup-whitespace): New function.
533 (diff-mode): Use it.
534
535 * vc/diff.el (diff-sentinel):
536 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
537 Whitespace mode variables based on diff style (Bug#8612).
538
5055880d
LL
5392012-04-25 Leo Liu <sdl.web@gmail.com>
540
daf75653
LL
541 * progmodes/python.el (python-send-region): Add suffix .py to the
542 temp file.
543
5055880d
LL
544 * files.el (auto-mode-alist): Use javascript-mode instead.
545
db9b177b
AH
5462012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
547
ef24141c 548 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
549
550 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 551 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 552 references, see Bug#9.
ef24141c 553 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 554 when receiving a fault reply.
ef24141c 555 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
556
557 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 558 (soap-inspect-simple-type): New function.
db9b177b 559
ef24141c 560 * soap-client.el (soap-simple-type): New struct.
db9b177b 561 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
562 (soap-decode-basic-type, soap-encode-basic-type):
563 support unsignedInt and double basic types.
db9b177b 564 (soap-resolve-references-for-simple-type)
ef24141c
SM
565 (soap-parse-simple-type, soap-encode-simple-type): New function.
566 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
567
568 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
569 (soap-default-soapenc-types): Add integer, byte and anyURI types.
570 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
571 the local name of "soapenc:Array".
572 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
573 decoding integer, byte and anyURI xsd types.
574
1fc6097b
CY
5752012-04-25 Chong Yidong <cyd@gnu.org>
576
577 * cus-edit.el (custom-buffer-create-internal): Update header text.
578
afc6df87
EZ
5792012-04-25 Eli Zaretskii <eliz@gnu.org>
580
581 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
582 settings on 'system-type', not on 'window-system'. On MS-Windows,
583 set interactive-mode on in GDB.
584
dfbd787f
SM
5852012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
588 (ruby-syntax-propertize-regexp): Remove.
589 (ruby-syntax-propertize-function): Split regexp into chunks.
590 Match following code directly.
591
85222d44
DG
5922012-04-24 Dmitry Gutov <dgutov@yandex.ru>
593
51a8ea2a
DG
594 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
595 (ruby-syntax-propertize-regexp): New function.
596 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
597 by a special keyword.
598
85222d44
DG
599 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
600 (ruby-syntax-general-delimiters-goto-beg)
601 (ruby-syntax-propertize-general-delimiters): New functions.
602 (ruby-syntax-propertize-function): Use them to handle GDL.
603 (ruby-font-lock-keywords): Move old handling of GDL...
604 (ruby-font-lock-syntactic-keywords): .. to here.
605 (ruby-calculate-indent): Adjust indentation for GDL.
606
b613912b
MA
6072012-04-24 Michael Albinus <michael.albinus@gmx.de>
608
b5380639
MA
609 * notifications.el (top): Remove unneeded declarations.
610 (notifications-specification-version): Change to "1.2".
e43042fe 611 (notifications-interface, notifications-notify-method)
b613912b
MA
612 (notifications-close-notification-method): Fix docstring.
613 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
614 (notifications-notify): Add :action-items, :resident and
615 :transient hints. Change "image_data" to "image-data" and
616 "image_path" to "image-path".
b613912b
MA
617 (notifications-get-capabilities): New defun.
618
257440aa
LL
6192012-04-24 Leo Liu <sdl.web@gmail.com>
620
621 * progmodes/python.el: Move hideshow setup to the end.
622
b1bac16e
MR
6232012-04-24 Martin Rudalics <rudalics@gmx.at>
624
625 * window.el (handle-select-window): Clear echo area since this is
626 no more done by read_char (Bug#11304).
627
d81bd059
SM
6282012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
631 and `/ M' to filter-derived-mode.
632 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
633 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
634 (ibuffer-mark-by-mode): Use default rather than initial-input.
635 (ibuffer-filter-by-derived-mode): Autoload and require-match.
636
c4cf6d91
IA
6372012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
638
639 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
640 (ibuffer-filter-by-derived-mode): New filter.
641 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
642
7511ded8
CY
6432012-04-23 Andreas Politz <politza@fh-trier.de>
644
645 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
646
775c916b
CY
6472012-04-23 Chong Yidong <cyd@gnu.org>
648
649 * cus-edit.el (customize-apropos, customize-apropos-options):
650 Disable matching of non-option variables (Bug#11176).
651 (customize-option, customize-option-other-window)
652 (customize-changed-options): Doc fix.
653 (customize-apropos-options, customize-apropos-faces)
654 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
655
656 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 657 Fix word list splitting (Bug#11132).
46c71e23
CY
658 (apropos-symbol, apropos-keybinding, apropos-label)
659 (apropos-property, apropos-function-button)
660 (apropos-variable-button, apropos-misc-button): New faces.
661 (apropos-symbol-face, apropos-keybinding-face)
662 (apropos-label-face, apropos-property-face, apropos-match-face):
663 Variables removed (Bug#8396).
664 (apropos-library-button, apropos-format-plist, apropos-print)
665 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 666
2df41f9c
MA
6672012-04-23 Michael Albinus <michael.albinus@gmx.de>
668
669 * net/xesam.el (xesam-mode-map): Use let-bound map in
670 initialization. (Bug#11292)
671
da00640a
AM
6722012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
673
674 Preserve ispell session localwords when switching back to
675 original buffer.
676
677 * ispell.el (ispell-buffer-session-localwords): New buffer-local
678 variable to hold buffer session localwords.
679 (ispell-kill-ispell): add option 'clear to delete session
680 localwords.
681 (ispell-command-loop, ispell-change-dictionary)
682 (ispell-buffer-local-words): Preserve session localwords when
683 needed.
684
685 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
686 Preserve session localwords when needed.
687
f621ccf5
AM
6882012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
689
690 * ispell.el (ispell-insert-word) Remove unneeded function using
691 obsolete `translation-table-for-input'.
ef24141c
SM
692 (ispell-word, ispell-process-line, ispell-complete-word):
693 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 694
c2d1019e
CY
6952012-04-22 Chong Yidong <cyd@gnu.org>
696
697 * cus-edit.el (custom-variable-menu)
698 (custom-variable-reset-saved, custom-face-menu)
699 (custom-face-reset-saved): If there is no saved value, make the
700 "reset-saved" operation bring back the default (Bug#9509).
701 (custom-face-state): Properly detect themed faces.
702
eeddc531
CY
703 * faces.el (face-spec-set): Stop supporting deprecated form of
704 third arg.
705
dcbf5805
MA
7062012-04-22 Michael Albinus <michael.albinus@gmx.de>
707
708 Move functions from C to Lisp. Make non-blocking method calls
709 the default. Implement further D-Bus standard interfaces.
710
ef24141c
SM
711 * net/dbus.el (dbus-message-internal): Declare function.
712 Remove unneeded function declarations.
dcbf5805
MA
713 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
714 (dbus-message-type-method-return, dbus-message-type-error)
715 (dbus-message-type-signal): Declare variables. Remove local
716 definitions.
717 (dbus-interface-dbus, dbus-interface-peer)
718 (dbus-interface-introspectable, dbus-interface-properties)
719 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
720 Adapt docstring.
721 (dbus-interface-objectmanager): New defconst.
722 (dbus-call-method, dbus-call-method-asynchronously)
723 (dbus-send-signal, dbus-method-return-internal)
724 (dbus-method-error-internal, dbus-register-service)
725 (dbus-register-signal, dbus-register-method): New defuns, moved
726 from dbusbind.c
727 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
728 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
729 New defuns.
dcbf5805
MA
730 (dbus-call-method-non-blocking): Make it an obsolete function.
731 (dbus-unregister-object, dbus-unregister-service)
732 (dbus-handle-event, dbus-register-property)
733 (dbus-property-handler): Obey the new structure of
734 `bus-registered-objects'.
735 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
736 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
737 Use `dbus-call-method'.
738
cf20dee0
CY
7392012-04-22 Chong Yidong <cyd@gnu.org>
740
741 * cus-edit.el (custom-commands, custom-reset-menu)
742 (Custom-reset-standard): Tweak labels.
743 (custom-reset-button-menu): Change default to t.
744 (custom-buffer-create-internal): For the custom-reset-button-menu
745 case, put the revert button first.
746 (custom-group-subtitle): New face.
747 (custom-group-value-create): Align docstring to a specific column.
748
749 * wid-edit.el (widget-documentation-link-add): Don't handle
750 indentation in this function.
751 (widget-documentation-string-indent-to): New function.
752 (widget-documentation-string-value-create): Use it.
753
754 * autorevert.el (auto-revert):
755 * epg-config.el (epg):
756 * ibuffer.el (ibuffer):
757 * mpc.el (mpc):
758 * ses.el (ses):
759 * eshell/eshell.el (eshell):
760 * net/ange-ftp.el (ange-ftp):
761 * progmodes/ebnf2ps.el (postscript):
762 * progmodes/flymake.el (flymake):
763 * progmodes/prolog.el (prolog):
764 * progmodes/verilog-mode.el (verilog-mode):
765 * progmodes/which-func.el (which-func):
766 * term/xterm.el (xterm):
767 * textmodes/picture.el (picture):
768 * textmodes/tildify.el (tildify):
769 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
770 customization buffers.
771
583e23bd
AM
7722012-04-22 Alan Mackenzie <acm@muc.de>
773
774 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
775 Adding a ) can hide the resulting (..) from searches. Fix it.
776 Bound the backward search to the position of the existing (.
777
7dd51bf1
JB
7782012-04-21 Juanma Barranquero <lekktu@gmail.com>
779
780 * progmodes/verilog-mode.el (verilog-mode): Check whether
781 which-func-modes is t before adding verilog-mode.
782 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
783
d64a438f
LL
7842012-04-21 Leo Liu <sdl.web@gmail.com>
785
7dd51bf1 786 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 787
081e8d65
MV
7882012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
789
790 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
791 filling of the last column of a table (Bug#5635).
792 (woman-find-next-control-line): New arg, specifying an additional
793 regexp component for the control line.
794 (woman2-roff-buffer): Use it.
795 (woman-break-table): New function.
796 (woman2-TS): Use it.
797
7982012-04-21 Chong Yidong <cyd@gnu.org>
799
800 * woman.el (woman-set-buffer-display-table, woman-decode-region)
801 (woman-horizontal-escapes, woman-negative-vertical-space)
802 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
803 (WoMan-warn-ignored): Use ?\s instead of ?\ .
804
ed571ccb
SM
8052012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * minibuffer.el (completion-file-name-table): Complete user names.
808
39773899
LL
8092012-04-20 Leo Liu <sdl.web@gmail.com>
810
811 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
812 and pcase-let*.
813
de6ff46d
CY
8142012-04-20 Chong Yidong <cyd@gnu.org>
815
816 * server.el (server-execute): Respect initial-buffer-choice if it
817 is a string and there are no files to open (Bug#2825).
818 (server-create-window-system-frame, server-create-tty-frame):
819 Don't switch buffers here.
2d0e8e61
CY
820 (server-process-filter): Only try to open a window system frame if
821 compiled with graphical support (Bug#8314).
de6ff46d 822
54071013
DN
8232012-04-20 Dan Nicolaescu <dann@gnu.org>
824
825 * battery.el (battery-echo-area-format): Display remaining time
826 for sysfs backend too (Bug#11269).
827 (battery-linux-sysfs): Fix conditional for the charge.
828
f30d612a
CY
8292012-04-20 Chong Yidong <cyd@gnu.org>
830
c07a4c0b 831 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
832 (gdb-inferior-io--init-proc): New function.
833 (gdb-init-1): Use it.
834 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
835 responsible for allocating a new pty and hooking it to gdb when
836 the old pty gets an EIO due to process exit.
837 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
838 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
839 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
840
2116e93c
EZ
8412012-04-20 Eli Zaretskii <eliz@gnu.org>
842
843 * window.el (window-min-size, window-sizable, window-min-delta)
844 (window-max-delta, window--resizable, window-resizable)
845 (window-total-size, window-full-height-p, window-full-width-p)
846 (window-in-direction, window--resize-mini-window, window-resize)
847 (window--resize-child-windows-normal)
848 (window--resize-child-windows, window--resize-siblings)
849 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 850 (enlarge-window, shrink-window): Doc fixes.
2116e93c 851
c07a4c0b 8522012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 853
ef24141c
SM
854 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
855 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
856 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
857 pty process (Bug#11273).
858 (gdb-update): New arg to suppress talking to the gdb process.
859 (gdb-done-or-error): Use it.
860 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
861 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
862 sentinel not being called.
863
864 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
865
d02766ab
CY
866 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
867
c07a4c0b 8682012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
869
870 * net/network-stream.el (open-network-stream): Doc fix.
871
c07a4c0b 8722012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
873
874 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
875
c07a4c0b 8762012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
877
878 Ensure searching for keywords is case sensitive.
879
880 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
881 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
882 (c-defun-name, c-mark-function, c-cpp-define-name)
883 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 884 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 885
ef24141c
SM
886 * progmodes/cc-mode.el (c-font-lock-fontify-region):
887 Bind case-fold-search to nil.
f0f6bc35 888
c07a4c0b 8892012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
890
891 * mail/sendmail.el (mail-bury): Call return action with the right
892 Rmail buffer (Bug#11242).
893
9a864fa2
CY
894 * server.el (server-process-filter): Handle corner case where both
895 tty and nowait options are present (Bug#11102).
896
539aa513
EZ
8972012-04-20 Eli Zaretskii <eliz@gnu.org>
898
899 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
900 (top level): Put into the executable the ident-style '$Id:' tag on
901 windows-nt as well.
539aa513 902
cfc7d5da
SM
9032012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * electric.el (electric-indent-post-self-insert-function): Check that
906 electric-indent-mode is enabled in current buffer.
907
5b01685c
JB
9082012-04-19 Juanma Barranquero <lekktu@gmail.com>
909
910 * imenu.el (imenu-progress-message): Restore; it is "used" in
911 erc/erc-imenu.el and net/snmp-mode.el.
912
4d6769e1
JB
9132012-04-19 Juanma Barranquero <lekktu@gmail.com>
914
915 * avoid.el (mouse-avoidance-mode): Mark unused arg.
916 (mouse-avoidance-nudge-mouse): Remove unused binding.
917
918 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
919
920 * descr-text.el (describe-char):
921 * progmodes/python.el (python-describe-symbol):
922 Don't call `toggle-read-only', set `buffer-read-only'.
923
924 * imenu.el (imenu-default-goto-function): Mark unused args.
925 (imenu-progress-message): Remove obsolete macro; all callers changed.
926
927 * subr.el (keymap-canonicalize): Remove unused binding.
928 (read-passwd): Mark unused arg.
929
930 * tutorial.el (tutorial--display-changes): Remove unused binding.
931 (tutorial--save-tutorial-to): Remove unused variable.
932
933 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
934 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
935 (package-generate-autoloads, package-menu--generate)
936 (package-menu--find-upgrades): Remove unused bindings.
937
938 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
939 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
940 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
941 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
942 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
943 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
944 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
945 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
946 (cua-delete-char-rectangle): Mark unused args.
947 (cua-align-rectangle): Remove unused binding.
948
949 * mail/rmail.el (compilation--message->loc)
950 (epa--find-coding-system-for-mime-charset): Declare.
951
952 * net/dbus.el (dbus-register-service): Declare.
953 (dbus-name-owner-changed-handler): Remove unused binding.
954
955 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
956 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
957 (nxml-scan-backward-within): Mark unused arg.
958 (nxml-dynamic-markup-word): Remove unused binding.
959
960 * mouse.el (mouse-menu-major-mode-map):
961 * emacs-lisp/authors.el (authors-scan-change-log)
962 (authors-add-to-author-list):
963 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
964 * emacs-lisp/smie.el (smie-auto-fill):
965 * mail/sendmail.el (mail-bury):
966 * mail/unrmail.el (unrmail):
967 * net/tls.el (open-tls-stream):
968 * textmodes/picture.el (picture-mouse-set-point):
969 Remove unused bindings.
970
8c8fc5df
MA
9712012-04-19 Michael Albinus <michael.albinus@gmx.de>
972
973 * net/tramp.el (tramp-action-password): Let-bind
974 `enable-recursive-minibuffers' to t.
975
a77b0ac9
SS
9762012-04-18 Sam Steingold <sds@gnu.org>
977
978 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
979 instead of 'string to accommodate values like [f11].
980 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
981 * progmodes/gdb-mi.el: Likewise.
982
12a106a9
LL
9832012-04-18 Leo Liu <sdl.web@gmail.com>
984
985 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
986 current buffer.
987 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
988 LOCAL is nil.
989
bc6494ef
CY
9902012-04-18 Chong Yidong <cyd@gnu.org>
991
992 * simple.el (line-move): Use forward-line if in batch mode
993 (Bug#11053).
994
c09c46b2
CS
9952012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
996
997 * files.el (after-find-file): Do not try to add a final newline if
998 the buffer is read-only (Bug#11156).
999
5f6530ea
RS
10002012-04-17 Richard Stallman <rms@gnu.org>
1001
1002 * mail/rmail.el (rmail-start-mail):
1003 Pass (rmail-mail-return...) for the return-action.
1004 Pass (rmail-yank-current-message...) for the yank-action.
1005 (rmail-yank-current-message): New function.
1006 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1007 (rmail-reply): Likewise.
1008 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1009
1010 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 1011 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
1012 buffer, not newbuf.
1013
197b6f3c
JB
10142012-04-17 Juanma Barranquero <lekktu@gmail.com>
1015
1016 * server.el (server-ensure-safe-dir): Simplify.
1017
2311d8e5 10182012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 1019
2311d8e5
GM
1020 * emacs-lisp/smie.el: Provide smarter auto-filling.
1021 (smie-auto-fill): New function.
1022 (smie-setup): Use it.
98fb480e 1023
2311d8e5
GM
1024 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1025
10262012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
1027
1028 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1029 (comment-indent): Use it.
1030
2311d8e5 10312012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
1032
1033 * ses.el: The overall change is to add cell renaming, that is
1034 setting fancy names for cell symbols other than name matching
1035 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 1036 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 1037 (ses-create-cell-variable): New defun.
2311d8e5 1038 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
1039 (ses-relocate-formula): Relocate formulas only for cells the
1040 symbols of which are not renamed, i.e. symbols whose names do not
1041 match regexp "\\`[A-Z]+[0-9]+\\'".
1042 (ses-relocate-all): Relocate values only for cells the symbols of
1043 which are not renamed.
1044 (ses-load): Create cells variables as the (ses-cell ...) are read,
1045 in order to check row col consistency with cell symbol name only
1046 for cells that are not renamed.
1047 (ses-replace-name-in-formula): New defun.
1048 (ses-rename-cell): New defun.
4bdf2ad2 1049
fc72b15c
PO
10502012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1051
1052 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1053 New option (bug#11118).
1054 (perl-calculate-indent): Respect it.
1055
12e10e61
GM
10562012-04-17 Glenn Morris <rgm@gnu.org>
1057
1058 * dired-aux.el (dired-mark-read-string): Doc fix.
1059
30009afd
DA
10602012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1061
1062 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1063 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1064
41f03f4d
GM
10652012-04-17 Glenn Morris <rgm@gnu.org>
1066
1067 * mouse.el (mouse-drag-track):
1068 * speedbar.el (speedbar-frame-mode):
1069 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1070
f45f90f3
LL
10712012-04-16 Leo Liu <sdl.web@gmail.com>
1072
1073 * progmodes/python.el: Trivial cleanup.
1074
94ee8db5
GM
10752012-04-16 Glenn Morris <rgm@gnu.org>
1076
121b8917
GM
1077 * vc/vc.el (vc-string-prefix-p):
1078 * vc/pcvs-util.el (cvs-string-prefix-p):
1079 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1080 * mpc.el (mpc-string-prefix-p):
1081 Make all of these into obsolete aliases for string-prefix-p.
1082 Update callers.
1083 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1084
1197ecfa
GM
1085 * textmodes/two-column.el: Move custom options to the start.
1086 (frame-width): Remove compat definition.
1087 (2C-associate-buffer, 2C-dissociate):
1088 Use with-current-buffer rather than save-excursion.
1089 (2C-dissociate): Force a mode-line update.
1090 (2C-autoscroll): Use ignore-errors.
1091
099e7202
GM
1092 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1093 Autoload trivia.
1094
bf350d6a
GM
1095 * emacs-lisp/cl-extra.el (*random-state*):
1096 Remove unnecessary declaration.
1097
0e829eab
GM
1098 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1099
e3ad7552
GM
1100 * play/cookie1.el (cookie-snarf):
1101 Give an explicit error if input file cannot be read.
1102
68892d27
GM
1103 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1104
20f0c46d
GM
1105 * progmodes/perl-mode.el (c-macro-expand):
1106 Remove unnecessary autoload (it is in loaddefs.el).
1107
5a0978ce
GM
1108 * textmodes/picture.el (picture-desired-column)
1109 (picture-update-desired-column): Convert comments to doc-strings.
1110 (picture-substitute): Remove function.
1111 (picture-mode-map): Initialize in the defvar.
1112
6b955486
GM
1113 * woman.el: Remove eval-after-load for tar-mode.
1114 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1115 (woman-tar-extract-file): Autoload it.
1116
94ee8db5
GM
1117 * frame.el (automatic-hscrolling): Make this alias obsolete.
1118
177eca34
AM
11192012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1120
1121 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 1122 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
1123 (ispell-dictionary-base-alist): Revert to original XEmacs
1124 friendly version for default. [:alpha:] will be added in
1125 `ispell-set-spellchecker-params' if needed
177eca34 1126
c505aaeb
CY
11272012-04-16 Chong Yidong <cyd@gnu.org>
1128
1129 * image.el (imagemagick--extension-regexp): New variable.
1130 (imagemagick-register-types): Use it.
1131 (imagemagick-types-inhibit): Add :set function. Allow new value
1132 of t to inhibit all types.
1133
1134 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1135 so we can preload it.
1136
1137 * loadup.el (fboundp): Preload regexp-opt, needed by
1138 imagemagick-register-types.
1139
60efac0f
CY
11402012-04-15 Chong Yidong <cyd@gnu.org>
1141
1142 * frame.el (scrolling): Remove nearly unused customization group.
1143
1144 * scroll-all.el (scroll-all-mode): Move to windows group.
1145
5dd1713e
CY
11462012-04-15 Chong Yidong <cyd@gnu.org>
1147
1148 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1149
e6fd457e
CY
11502012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 1153 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 1154
e153c136
GM
11552012-04-15 Glenn Morris <rgm@gnu.org>
1156
1157 * simple.el (process-file-side-effects): Doc fix.
1158
e6fd457e 11592012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
1160
1161 * international/mule-cmds.el (set-language-environment): Doc fix.
1162
3603c3b1
JB
11632012-04-14 Juanma Barranquero <lekktu@gmail.com>
1164
1165 * server.el (server-auth-key, server-generate-key): Doc fixes.
1166 (server-get-auth-key): Doc fix. Use `string-match-p'.
1167 (server-start): Reflow docstring.
1168
e6de100c
LI
11692012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1170
1171 * server.el (server-generate-key): `called-interactively-p'
1172 requires a parameter.
1173
29734c21
MN
11742012-04-14 Michal Nazarewicz <mina86@mina86.com>
1175
1176 * server.el (server-auth-key): New variable.
75f1671a 1177 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
1178 (server-start): Use the new variable and functions to allow
1179 setting a permanent server key (bug#9423).
1180
d65c9521
LL
11812012-04-14 Leo Liu <sdl.web@gmail.com>
1182
1183 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1184
5ae255c7
PE
11852012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1186
1187 Spelling fixes.
1188 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1189 Emacs uses American spelling.
1190
d5e6342e
JB
11912012-04-14 Juanma Barranquero <lekktu@gmail.com>
1192
1193 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1194 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1195 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1196 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1197
ab036cd7
SM
11982012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * progmodes/which-func.el (which-func-modes): Change default.
1201
35dc09a1 12022012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
1203
1204 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1205 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1206
35dc09a1 12072012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
1208
1209 * custom.el (custom-theme-set-variables): Doc fix.
1210
35dc09a1 12112012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
1212
1213 * international/mule.el (set-auto-coding-for-load): Doc fix.
1214
35dc09a1 12152012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 1216
35dc09a1
GM
1217 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1218 imenu work again for Objective C Mode. Correct the *-index values,
1219 these having been disturbed by a previous change in 2011-08.
57f845ee 1220
0de3da9f
AM
1221 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1222 Correct two search limits.
1223
35dc09a1 12242012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
1225
1226 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1227
35dc09a1 12282012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
1229
1230 * international/characters.el: Fix sorting.
1231
35dc09a1 12322012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
1233
1234 * international/characters.el: Add more missing Latin case pairs.
1235
35dc09a1 12362012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
1237
1238 * files.el (dir-locals-set-class-variables): Doc fix.
1239
35dc09a1 12402012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 1241
3f1b5bf8
EZ
1242 * international/characters.el: Add set-case-syntax-pair call for
1243 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1244 counterpart. (Bug#11209)
1245
9f847f41
EZ
1246 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1247
35dc09a1 12482012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
1249
1250 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1251
35dc09a1 12522012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 1253
35dc09a1
GM
1254 * textmodes/ispell.el (ispell-dictionary-base-alist):
1255 Add data for Hebrew.
e2627d21 1256
35dc09a1 12572012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 1258
35dc09a1
GM
1259 * net/rcirc.el (rcirc-cmd-quit):
1260 Revert 2012-03-18 change (Bug#11192).
5c14e333 1261
35dc09a1 12622012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
1263
1264 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1265
35dc09a1 12662012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 1267
4517fe3a
SM
1268 * minibuffer.el (completion-in-region-mode-map):
1269 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 1270
b472a594
VD
12712012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1272
1273 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1274
09b95ce3
MY
12752012-04-13 Masatake YAMATO <yamato@redhat.com>
1276
1277 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1278 to allow `C-M-f' and `C-M-b' to move to the nearest path
1279 separator (bug#9511).
1280
4b63a9ca
LI
12812012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1282
1283 * avoid.el: Require cl when compiling. And also move the
1284 `provide' to the end.
1285
7b55b8bf
TV
12862012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1287
1288 * avoid.el (mouse-avoidance-banish-position): New variable.
1289 (mouse-avoidance-banish-destination): Use it (bug#10165).
1290
adedaa1f
LL
12912012-04-13 Leo Liu <sdl.web@gmail.com>
1292
1293 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1294
70e74021
KB
12952012-04-13 Ken Brown <kbrown@cornell.edu>
1296
1297 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 1298 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
1299 (browse-url-filename-alist): For the same reason, don't modify
1300 file:// URLs on Cygwin.
1301
e75e89ba
SM
13022012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1305 the region on shift if the binding is already shifted (bug#11221).
1306
82f289a4
GM
13072012-04-12 Glenn Morris <rgm@gnu.org>
1308
1309 * mail/mailpost.el: Move to obsolete/.
1310
d333dc4c
DA
13112012-04-12 Drew Adams <drew.adams@oracle.com>
1312
1313 * imenu.el (imenu--generic-function): Ignore invisible definitions
1314 (bug#10123).
1315
0d15b5ba
VD
13162012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1317
1318 * hexl.el (hexl-bits): New variable.
1319 (hexl-options): Mention the variable in the doc string.
75f1671a 1320 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 1321 (hexl-mode): Mention the new variable.
75f1671a
JB
1322 (hexl-mode, hexl-current-address, hexl-current-address):
1323 Use the displen.
0d15b5ba
VD
1324 (hexl-ascii-start-column): New function.
1325 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1326 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1327
64a440db
AM
13282012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1329
1330 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1331 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1332 the encoding, as expected by hunspell.
1333
6decb6c2
SM
13342012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1335
1336 * battery.el (battery--linux-sysfs-regexp): New const.
1337 (battery-status-function): Use it. Remove yeeloong special case.
1338 (battery-yeeloong-sysfs): Remove.
1339 (battery-echo-area-format): Remove yeeloong special case.
1340
088be6fb
SM
13412012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1342
6622e416
SM
1343 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1344 Reported by Noah Friedman.
1345
088be6fb
SM
1346 * subr.el (read-passwd): Use read-string.
1347
b49f886e
LMI
13482012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1349
1350 * vcursor.el (vcursor-move): Increase the priority of the overlay
1351 (bug#9663).
1352
a63067fc
DD
13532012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1354
1355 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
1356 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
1357
ac3cf14a
WS
13582012-04-11 William Stevenson <yhvh2000@gmail.com>
1359
1360 * textmodes/artist.el (artist-mode): Convert artist-mode to use
1361 define-minor-mode (bug#10760).
1362
c4fc691b 13632012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 1364
4d6769e1 1365 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
1366 that directories matching `grep-find-ignored-files' won't be
1367 pruned (bug#10351).
1368
af23e2e5
CY
13692012-04-11 Chong Yidong <cyd@gnu.org>
1370
1371 * startup.el (command-line): Remove support for long-obsolete
1372 variable font-lock-face-attributes.
1373
ab7ce8c1
GM
13742012-04-11 Glenn Morris <rgm@gnu.org>
1375
1376 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
1377
de8c03dc
SM
13782012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * window.el (window--state-get-1): Obey window-point-insertion-type.
1381
050cc68b
LB
13822012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
1383
1384 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
1385 to previous function when point is on the first character of a
75f1671a 1386 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 1387
a38c310c
GM
13882012-04-11 Glenn Morris <rgm@gnu.org>
1389
effed0c2
GM
1390 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
1391 not just file-errors.
1392
a38c310c
GM
1393 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
1394 (vc-bzr-sha1): Use internal sha1.
1395
0221e323
SM
13962012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
1399
43956923
SG
14002012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
1401
1402 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
1403 that start in the middle of the line (bug#10496).
1404
6a8c9eaf
DN
14052012-04-10 Dan Nicolaescu <dann@gnu.org>
1406
1407 * battery.el (battery-linux-proc-acpi): Only one battery is
1408 discharged at a time, but that seems to confuse battery.el when
1409 computing `rate-type' for the battery not being discharged
1410 (bug#10332).
1411
1930bf5d
SM
14122012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1413
2a718f6f
SM
1414 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
1415
599430d0
SM
1416 * international/quail.el: Use dolist and simplify.
1417 (quail-define-package, quail-update-keyboard-layout)
1418 (quail-define-rules): Use dolist.
1419 (quail-insert-kbd-layout, quail-get-translation): CSE.
1420
a2754b6c
SM
1421 * tmm.el: Use dolist, remove left over hook.
1422 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
1423 Use dolist.
1424 (calendar-load-hook): Don't mess with it.
1425
1930bf5d
SM
1426 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
1427 Use derived-mode-p. Run the diff asynchronously.
1428
9f67961c
LMI
14292012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1430
1431 * obsolete/mouse-sel.el: Add an Obsolete-since header.
1432
2a8ce227
JB
14332012-04-10 Juanma Barranquero <lekktu@gmail.com>
1434
1435 * misc.el: Display absolute path of loaded DLLs (bug#10424).
1436 (list-dynamic-libraries--loaded): New function.
1437 (list-dynamic-libraries--refresh): Use it.
1438
8f33b5f8
NW
14392012-04-10 Nathan Weizenbaum <nweiz@google.com>
1440
1930bf5d
SM
1441 * progmodes/python.el (python-fill-paragraph):
1442 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
1443 disabled (bug#7018).
1444
b12f0439
L
14452012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
1446
1930bf5d 1447 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
1448 DOS/MS Windows for the Baltic languages. There are still plenty
1449 of texts written in this encoding/codepage (bug#6519).
b12f0439 1450
57c3bd01
GM
14512012-04-10 Glenn Morris <rgm@gnu.org>
1452
1453 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
1454 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
1455
6c3eab30
FA
14562012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
1457
1930bf5d 1458 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
1459 next-line "n" and previous-line "p" in order to make recentf more
1460 consistent with ibuffer, dired or org-mode (bug#9387).
1461
24d78a88
LMI
14622012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1463
bc72b5d9
LMI
1464 * image.el (put-image): Return the overlay created instead of the
1465 optional input string (bug#7834). Note that this may break code
1466 that is (for some reason or other) depending on `put-image'
1467 returning the string.
1468
bd2dba5a
LMI
1469 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
1470
74beb59f
LMI
1471 * simple.el (zap-to-char): Allow zapping using input methods
1472 (bug#1580).
1473
24d78a88
LMI
1474 * textmodes/fill.el (fill-region): Leave point and mark where they
1475 were before filling (bug#5399).
1476
263f20cd
GM
14772012-04-09 Glenn Morris <rgm@gnu.org>
1478
1479 * version.el (emacs-bzr-get-version):
1480 Handle lightweight checkouts of local branches.
1481
58d1f797
AS
14822012-04-09 Andreas Schwab <schwab@linux-m68k.org>
1483
263f20cd 1484 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 1485
b4d3bc10
CY
14862012-04-09 Chong Yidong <cyd@gnu.org>
1487
1488 * custom.el (custom-variable-p): Return nil for non-symbol
1489 arguments instead of signaling an error.
1490 (user-variable-p): Obsolete alias for custom-variable-p.
1491
1492 * apropos.el (apropos-variable):
1493 * files-x.el (read-file-local-variable):
1494 * simple.el (set-variable):
1495 * woman.el (woman-mini-help):
1496 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
1497
fd06db5d
GM
14982012-04-09 Glenn Morris <rgm@gnu.org>
1499
e5fcdb5e
GM
1500 * startup.el (normal-top-level): Don't look for leim-list.el
1501 in places where it will not be found. (Bug#910)
1502
fd06db5d
GM
1503 * international/mule-cmds.el (set-default-coding-systems):
1504 * files.el (normal-mode):
1505 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
1506 This function was removed with ucs-tables.el in 2008.
1507
b39bb7e1
EZ
15082012-04-08 Eli Zaretskii <eliz@gnu.org>
1509
1510 * textmodes/ispell.el (ispell-check-version): For hunspell, set
1511 ispell-encoding8-command to "-i", without a trailing space.
1512 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
1513 separate command-line arguments, to specify the encoding, since
1514 that's how hunspell expects it.
1515
5c5b8e23
GM
15162012-04-08 Glenn Morris <rgm@gnu.org>
1517
1518 * loadup.el: Load bindings before cus-start.
1519 This reduces somewhat the number of "rogue" settings in emacs -Q.
1520
a1ed8b05
GM
15212012-04-07 Glenn Morris <rgm@gnu.org>
1522
1523 * version.el (emacs-bzr-get-version): New function.
dfae128a 1524 (emacs-bzr-version): New variable.
a1ed8b05
GM
1525 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1526 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1527
b142f158
EZ
15282012-04-07 Eli Zaretskii <eliz@gnu.org>
1529
dfae128a
GM
1530 * international/uni-bidi.el, international/uni-category.el:
1531 * international/uni-combining.el, international/uni-decimal.el:
1532 * international/uni-decomposition.el, international/uni-digit.el:
1533 * international/uni-lowercase.el, international/uni-mirrored.el:
1534 * international/uni-name.el, international/uni-numeric.el:
1535 * international/uni-titlecase.el, international/uni-uppercase.el:
1536 Update for Unicode 6.1.
b142f158 1537
9078ead6
EZ
15382012-04-07 Eli Zaretskii <eliz@gnu.org>
1539
1540 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1541
f23d2c7d
LMI
15422012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1543
1544 * window.el (shrink-window): Mention the `window-min-height'
1545 variable in the doc string.
1546
0a0a3573
BG
15472012-04-05 Bastien Guerry <bzg@altern.org>
1548
1549 * color.el (color-lighten-name): Fix typo.
1550
e5248ac9
SM
15512012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * server.el (server--on-display-p): New function.
1554 (server--on-display-p): Use it.
1555
b4243e22
GV
15562012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1557
1558 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1559 (bug#11145).
1560
305d9f44
SM
15612012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * comint.el (comint--common-quoted-suffix): Check string boundary
1564 before comparing (bug#11158).
1565 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1566
3d439cd1
CY
15672012-04-04 Chong Yidong <cyd@gnu.org>
1568
321cc491
CY
1569 * minibuffer.el (completion-extra-properties): Doc fix.
1570
3d439cd1
CY
1571 * subr.el (delayed-warnings-hook): Doc fix.
1572
2d562c0f
DU
15732012-04-04 Daiki Ueno <ueno@unixuser.org>
1574
1575 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1576 selection (Bug#11159).
1577 (epa-insert-keys): Inform that the default public key will be
1578 exported if no key is selected.
1579
4443f204
RS
15802012-04-04 Richard Stallman <rms@gnu.org>
1581
1582 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1583
529c06b6
CY
15842012-04-03 Chong Yidong <cyd@gnu.org>
1585
1586 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1587 mail-insert-file, not its obsolete alias mail-attach-file.
1588
66b907dc
MA
15892012-04-03 Michael Albinus <michael.albinus@gmx.de>
1590
1591 * notifications.el (notifications-notify): Fix docstring.
1592
c0ea195d
GM
15932012-04-02 Glenn Morris <rgm@gnu.org>
1594
1595 * emacs-lisp/authors.el (authors-aliases): Another addition.
1596
5ca64e00
MA
15972012-04-02 Michael Albinus <michael.albinus@gmx.de>
1598
1599 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1600 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1601 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1602
42ee526b
CY
16032012-04-01 Chong Yidong <cyd@gnu.org>
1604
1605 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1606 Handle root directory properly.
1607 (copy-directory): Caller changed.
1608
1609 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1610 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1611
0b021094
GM
16122012-03-31 Glenn Morris <rgm@gnu.org>
1613
40f86458
GM
1614 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1615
7019c177
GM
1616 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1617
a1daddd6
GM
1618 * calendar/calendar.el (calendar-window-list)
1619 (calendar-hide-window): Restore. (Bug#11140)
1620 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1621
0b021094
GM
1622 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1623
40311efc
TV
16242012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1625
1626 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1627 Check if file is a symlink (Bug#10489).
1628
1629 * files.el (copy-directory): Likewise.
1630
5319014e
CY
16312012-03-30 Chong Yidong <cyd@gnu.org>
1632
1633 * image.el (imagemagick-types-inhibit)
1634 (imagemagick-register-types): Doc fix.
1635
935d1290
AM
16362012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1637
ef24141c
SM
1638 * ispell.el (ispell-get-extended-character-mode):
1639 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1640 and treats ~word as ordinary words in pipe mode.
935d1290 1641
61c6e8fd
GM
16422012-03-30 Glenn Morris <rgm@gnu.org>
1643
1644 * tutorial.el (help-with-tutorial): Ensure local variables don't
1645 happen to make the buffer read-only. (Bug#11127)
1646
81fdff00
SM
16472012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1650 (perl-calculate-indent): Return `noindent' in strings.
1651
6e7a6ec0
SS
16522012-03-28 Sam Steingold <sds@gnu.org>
1653
1654 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1655 instead of the broken adhockery which does not prevent calendar
1656 buffers from being displayed at random after exit.
1657 (calendar-window-list, calendar-hide-window): Remove the broken
1658 adhockery.
1659
fee88ca0
GM
16602012-03-28 Glenn Morris <rgm@gnu.org>
1661
1662 * replace.el (query-replace-map): Doc fix.
1663
38de3354
AS
16642012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1665
1666 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1667 contents. (Bug#11109)
1668
b973155e
SM
16692012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1672 (bug#11077).
1673 (avl-tree--check, avl-tree--check-node): New funs.
1674
dcb6e7b3
MR
16752012-03-27 Martin Rudalics <rudalics@gmx.at>
1676
1677 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1678 (switch-to-prev-buffer, switch-to-next-buffer):
1679 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1680 showing a buffer already is done on the same frame.
1681
b4fa35fa
GM
16822012-03-27 Glenn Morris <rgm@gnu.org>
1683
1684 * startup.el (mail-host-address): Doc fix.
1685
f9210e18
SM
16862012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1689 than 197 variables.
1690
c0bf7753
AF
16912012-03-26 Ami Fischman <ami@fischman.org>
1692
1693 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1694
33da7b16
GM
16952012-03-26 Glenn Morris <rgm@gnu.org>
1696
02243d9d
GM
1697 * files.el (save-buffers-kill-emacs): Doc fix.
1698
33da7b16
GM
1699 * startup.el (normal-top-level, command-line, command-line-1):
1700 Give them doc strings.
1701
e5a69fd0
EZ
17022012-03-25 Eli Zaretskii <eliz@gnu.org>
1703
1704 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1705 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1706
9a69676a
CY
17072012-03-25 Chong Yidong <cyd@gnu.org>
1708
4125cb8b
CY
1709 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1710 theme if it was previously enabled before (Bug#11031).
1711
dd470960
CY
1712 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1713 spec with custom-face-get-current-spec if its :shown-value is not
1714 determined yet (Bug#9337).
4125cb8b 1715 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1716
9a69676a
CY
1717 * button.el (button-at): Minor addition to docstring.
1718
6e7e90fa
SL
17192012-03-24 Simon Leinen <simon.leinen@gmail.com>
1720
1721 * vc/vc.el (vc-merge): Fix a prompt.
1722
f06e2758
CY
17232012-03-24 Chong Yidong <cyd@gnu.org>
1724
1725 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1726 point (Bug#9623).
1727
6e7e90fa
SL
1728 * button.el (button-at): Minor addition to docstring.
1729
b9d0879b
SM
17302012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * newcomment.el (comment-choose-indent): No space after BOL.
1733
e71cebb3
SS
17342012-03-22 Sam Steingold <sds@gnu.org>
1735
1736 * window.el (switch-to-prev-buffer): Revert last patch because the
1737 bug turned out to be an advertised feature (Elisp manual 28.14).
1738
335aff35
GM
17392012-03-22 Glenn Morris <rgm@gnu.org>
1740
1741 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1742 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1743
c676576a
LMI
17442012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1745
1746 * net/network-stream.el (network-stream-open-starttls): Make error
1747 message under Windows be less misleading.
1748
126f3d39
LW
17492012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1750
1751 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1752 understands (bug#9942).
1753
64fee311
CY
17542012-03-22 Chong Yidong <cyd@gnu.org>
1755
1756 * simple.el (end-of-visible-line): Handle return value of
1757 next-single-property-change properly (Bug#9371).
1758
a640d29a
KH
17592012-03-22 Kenichi Handa <handa@m17n.org>
1760
1761 * international/quail.el (quail-insert-kbd-layout): Fix previous
1762 change. To avoid unwanted bidi reordering, use
1763 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1764
39675016
DG
17652012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1766
1767 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1768 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1769 (ruby-beginning-of-indent): Be more careful with the difference
1770 between word-boundary and symbol boundary.
1771 (ruby-mode-syntax-table): Make : a symbol constituent.
1772
0a6934fc 17732012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1774
3d008e4f
SM
1775 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1776
0a6934fc
SM
17772012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1778
af67c9d7
SM
1779 * progmodes/etags.el (tags-completion-at-point-function):
1780 Improve last fix.
1781
1acad97c
SM
1782 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1783
e298b5da
SS
17842012-03-21 Sam Steingold <sds@gnu.org>
1785
1786 * progmodes/etags.el (tags-completion-at-point-function):
1787 Avoid the error when point is inside the pattern.
1788
91d82a70
JY
17892012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1790
1791 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1792 line (Bug#10855).
1793
69188b79
CY
17942012-03-21 Drew Adams <drew.adams@oracle.com>
1795
1796 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1797
99fc91fe
AK
17982012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1799
1800 * ido.el (ido-set-current-directory, ido-read-internal)
1801 (ido-choose-completion-string, ido-completion-help): Handle nil
1802 value of ido-completion-buffer (Bug#11008).
1803
087bbb4c
SS
18042012-03-21 Sam Steingold <sds@gnu.org>
1805
1806 * window.el (switch-to-prev-buffer): Do not switch to a visible
1807 window previous buffer, just like with the frame previous buffers.
1808
fb5b8aca
CY
18092012-03-21 Chong Yidong <cyd@gnu.org>
1810
1811 * faces.el (make-face, make-empty-face, copy-face):
1812 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1813 Doc fixes.
1814
dc9924b8
SM
18152012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1818 (widget-complete): Remove broken use of it.
1819
f0bcceb9
CY
18202012-03-20 Chong Yidong <cyd@gnu.org>
1821
dc9924b8
SM
1822 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1823 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1824 characters.
1825
ee52ebf3
TH
18262012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1827
1828 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1829 to draw rectangles, not squares. (Regression introduced by revno
1830 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1831
4c5779ab
CY
18322012-03-18 Chong Yidong <cyd@gnu.org>
1833
1834 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1835 it is not yet defined (for temacs).
1836
15360934
LL
18372012-03-18 Leo Liu <sdl.web@gmail.com>
1838
dc9924b8 1839 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1840
d9a8eb66
EZ
18412012-03-17 Eli Zaretskii <eliz@gnu.org>
1842
1843 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1844 (ispell-choices-win-default-height, ispell-silently-savep)
1845 (ispell-dictionary-alist, ispell-encoding8-command)
1846 (ispell-check-version, ispell-aspell-find-dictionary)
1847 (ispell-valid-dictionary-list, ispell-words-keyword)
1848 (ispell-get-word, ispell-internal-change-dictionary)
1849 (ispell-region, ispell-skip-region-list)
1850 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1851 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1852 (ispell-message-text-end, ispell-message)
1853 (ispell-buffer-local-parsing): Doc fix.
1854
f02ff80d
J
18552012-03-13 Jambunathan K <kjambunathan@gmail.com>
1856
1857 * htmlfontify.el: Add support for code block fontification for ODT
1858 export (Bug #9914).
1859 (hfy-optimisations): Define new option
1860 `body-text-only'
1861 (hfy-fontify-buffer): Honor above setting.
1862 (hfy-begin-span, hfy-end-span): New routines factored out form
1863 `hfy-fontify-buffer'.
1864 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1865 that permit insertion of custom tags.
1866 (hfy-fontify-buffer): Use above handlers.
1867 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1868 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1869 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1870 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1871 bind a special variable `hfy-user-sheet-assoc'.
1872 (htmlfontify-string): New defun.
1873 (hfy-compile-face-map): Make sure that the last char in the
1874 buffer is correctly fontified.
1875 (hfy-face-resolve-face): Whitespace only change.
1876
9ac7a13f
EZ
18772012-03-17 Eli Zaretskii <eliz@gnu.org>
1878
1879 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1880 message more clear.
1881
e2b5bdd7
LL
18822012-03-16 Leo Liu <sdl.web@gmail.com>
1883
1884 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1885
2e492df3
AM
18862012-03-16 Alan Mackenzie <acm@muc.de>
1887
1888 Further optimise the handling of large macros.
1889
1890 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1891 limit to a call of `c-literal-limits'.
1892 (c-determine-+ve-limit): New function.
dc9924b8
SM
1893 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1894 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1895 In CASE 5B, restrict a search limit to 500.
1896 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1897
1898 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1899 Restrict macro bounds to +-500 from after-change's BEG END.
1900
50e94f0c
LL
19012012-03-16 Leo Liu <sdl.web@gmail.com>
1902
1903 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1904
6f09f6ed
AH
19052012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1906
1907 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1908 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1909
c7e73d51
GM
19102012-03-16 Glenn Morris <rgm@gnu.org>
1911
da986230
GM
1912 * view.el (view-buffer, view-buffer-other-window)
1913 (view-buffer-other-frame): Doc fixes re special mode-class.
1914
0835f01e
GM
1915 * subr.el (eval-after-load): If named feature is provided not from
1916 a file, run after-load forms. (Bug#10946)
1917
c7e73d51
GM
1918 * calendar/calendar.el (calendar-insert-at-column):
1919 Handle non-unit-width characters a bit better. (Bug#10978)
1920
3f2eafd1
CY
19212012-03-15 Chong Yidong <cyd@gnu.org>
1922
1923 * emacs-lisp/ring.el (ring-extend): New function.
1924 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1925
1926 * comint.el (comint-read-input-ring)
1927 (comint-add-to-input-history): Grow comint-input-ring lazily.
1928
103af3fe
SM
19292012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1930
663b1677
SM
1931 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1932 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1933
103af3fe
SM
1934 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1935 (imenu-add-to-menubar): Don't add a redundant index.
1936 (imenu-update-menubar): Handle a dynamically composed keymap.
1937
899cb7cb
KY
19382012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1939
1940 * mail/sendmail.el (mail-encode-header):
1941 Bind rfc2047-encode-encoded-words to nil.
1942
3809f91d
GM
19432012-03-13 Glenn Morris <rgm@gnu.org>
1944
1945 * calendar/calendar.el (calendar-string-spread):
1946 Handle non-unit-width characters a bit better. (Bug#10978)
1947
9e345a01
LL
19482012-03-13 Leo Liu <sdl.web@gmail.com>
1949
1950 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1951 directory and file as argument (Bug#10822).
1952
4a07df36
KS
19532012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1954
1955 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1956 For dynamically generated code, follow $PC.
1957 (gdb-disassembly-handler-custom): Handle no function name case.
1958
4aaa9356
TL
19592012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1960
1961 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1962 * emulation/ws-mode.el (ws-query-replace):
1963 * sort.el (sort-regexp-fields):
1964 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1965
225979da
SM
19662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * dabbrev.el: Fix cycle completion order (bug#10963).
1969 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1970 (dabbrev-completion): Don't use an obarray; provide
1971 a cycle-sort-function.
1972
e2f1fdab
LL
19732012-03-12 Leo Liu <sdl.web@gmail.com>
1974
dc9924b8 1975 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1976 (kill-do-not-save-duplicates): Doc fix.
1977
b19490ed
SM
19782012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1979
1980 * dabbrev.el: Fix cycle completion (bug#10963).
1981 Use lexical binding and wrap to 80 columns.
1982 (dabbrev-completion): Delay computing the list of completions.
1983
4b05d722
KH
19842012-03-12 Kenichi Handa <handa@m17n.org>
1985
1986 * international/quail.el (quail-insert-kbd-layout): Surround each
1987 row by LRO and PDF instead of inserting many LRMs. Pad the left
1988 and right of each non-spacing marks. Insert invisible space
1989 between lower and upper characters to prevent composition.
1990
dbbc2e69
SM
19912012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * minibuffer.el (minibuffer-complete): Don't get confused when the
1994 function is run twice via different commands (bug#10958).
1995 (complete-with-action): Fix docstring.
1996
292112ed
CY
19972012-03-12 Chong Yidong <cyd@gnu.org>
1998
5d1ac394
CY
1999 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2000 (nxml-completion-at-point-function): New function.
2001 (nxml-mode): Use it.
2002 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2003
292112ed
CY
2004 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2005 Load generated autoloads file before byte compiling (Bug#10970).
2006 (package--make-autoloads-and-compile): New helper fun.
2007
4098f8f7
CS
20082012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2009
2010 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2011
8f754691
MA
20122012-03-11 Michael Albinus <michael.albinus@gmx.de>
2013
2014 * autorevert.el (auto-revert-handler): Ensure, that
2015 file-readable-p is applied only for local files or in
2016 auto-revert-tail-mode.
2017
e29ab36b
AS
20182012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2019
dbbc2e69
SM
2020 * server.el (server-eval-at): Handle non-tcp connections.
2021 Decode result string.
ad0bf5b6 2022
e29ab36b
AS
2023 * server.el (server-msg-size): New constant.
2024 (server-reply-print): New function.
2025 (server-eval-and-print): Use it.
2026 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2027 Handle -print-nonl.
2028
de5939ba
CS
20292012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2030
2031 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2032 (Bug#10987).
2033
0c93eabf
CY
20342012-03-11 Chong Yidong <cyd@gnu.org>
2035
397a688f
CY
2036 * simple.el (goto-line): Doc fix (Bug#9938).
2037
2cc775f9
CY
2038 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2039
0c93eabf
CY
2040 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2041 when finished (Bug#10963).
2042
c491fa41
MR
20432012-03-11 Martin Rudalics <rudalics@gmx.at>
2044
2045 * window.el (split-window-below): Fix bug in case where
2046 split-window-keep-point is nil (Bug#10971).
2047
300e8fa5
JL
20482012-03-11 Juri Linkov <juri@jurta.org>
2049
2050 * replace.el (replace-highlight): Set isearch-word to nil
2051 unconditionally. (Bug#10887)
2052
dbf6c5a1
EZ
20532012-03-10 Eli Zaretskii <eliz@gnu.org>
2054
2055 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2056 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 2057 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
2058 (mairix-widget-create-query): Add usage information about mairix
2059 search forms: negating words, searching for substrings, etc.
2060
b9e501de
JP
20612012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2062
2063 * international/fontset.el (font-encoding-alist): Add an entry for
2064 ksx1001 (Bug#5667).
2065
92795c91
RS
20662012-03-10 Richard Stallman <rms@gnu.org>
2067
1694e6c1
RS
2068 * mail/sendmail.el (mail-encode-header):
2069 Set rfc2047-encode-encoded-words.
2070
607e8555
RS
2071 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2072
de3bc99a
RS
2073 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2074 view buffer means not swapped.
2075 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2076 (rmail-write-region-annotate): Error if real text has disappeared.
2077
92795c91
RS
2078 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2079
699bd04e
CY
20802012-03-10 Chong Yidong <cyd@gnu.org>
2081
2082 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
2083 * emulation/cua-base.el (cua--init-keymaps):
2084 Add delete-forward-char to remappings (Bug#9666).
699bd04e 2085
570a1714
MR
20862012-03-10 Martin Rudalics <rudalics@gmx.at>
2087
dbbc2e69
SM
2088 * speedbar.el (speedbar-unhighlight-one-tag-line):
2089 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 2090
82dcf4e4
CY
20912012-03-10 Chong Yidong <cyd@gnu.org>
2092
7a2c7ca7
CY
2093 * minibuffer.el (completion-in-region, completion-help-at-point):
2094 Give the completion field overlay a high priority (Bug#6830).
2095
82dcf4e4
CY
2096 * dired.el (dired-goto-file): Recognize absolute file name
2097 listings (Bug#7126).
2098 (dired-goto-file-1): New helper function.
2099 (dired-toggle-read-only): Inhibit warnings.
2100
052e28ac
MA
21012012-03-09 Michael Albinus <michael.albinus@gmx.de>
2102
75f1671a 2103 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
2104 there are no properties.
2105
95d5e396
LL
21062012-03-09 Leo Liu <sdl.web@gmail.com>
2107
2108 * savehist.el (savehist-printable): Stricter check for string
2109 value (Bug#10937).
2110
3f018d6d
EZ
21112012-03-09 Eli Zaretskii <eliz@gnu.org>
2112
dbbc2e69
SM
2113 * mail/smtpmail.el (smtpmail-send-it):
2114 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
2115 valid mbox format.
2116
f7fd3d79
GM
21172012-03-09 Glenn Morris <rgm@gnu.org>
2118
2119 * files.el (dir-locals-find-file):
2120 Don't check result is regular, readable.
2121 (dir-locals-read-from-file): Demote errors.
2122
6ff6e72f
EZ
21232012-03-08 Eli Zaretskii <eliz@gnu.org>
2124
dbbc2e69
SM
2125 * international/quail.el (quail-insert-kbd-layout):
2126 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
2127 layout cell, to prevent their reordering by bidi display engine.
2128 For details, see the discussion in
2129 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2130
9cec7834
AM
21312012-03-08 Alan Mackenzie <acm@muc.de>
2132
2133 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2134 the starting position; make it extend the marked region when
2135 invoked repeatedly - all under appropriate circumstances.
2136 Fixes bugs #5525, #10906.
2137
9a40b8d4
GM
21382012-03-08 Glenn Morris <rgm@gnu.org>
2139
2140 * files.el (locate-dominating-file, dir-locals-find-file):
2141 Undo 2012-03-06 change.
2142
7a08ed35
EZ
21432012-03-07 Eli Zaretskii <eliz@gnu.org>
2144
dbbc2e69
SM
2145 * international/quail.el (quail-help):
2146 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
2147 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2148 for the reason.
2149
5aca4f71 21502012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
2151
2152 Avoid superfluous registering of signals. (Bug#10807)
2153
2154 * notifications.el (notifications-on-action-object)
2155 (notifications-on-close-object): New defvars.
2156 (notifications-on-action-signal, notifications-on-closed-signal):
2157 Unregister the signal if not needed any longer.
2158 (notifications-notify): Register `notifications-action-signal' or
2159 `notifications-closed-signal', if :on-action or :on-close has been
2160 passed as argument.
2161
78e8b10a
CY
21622012-03-07 Chong Yidong <cyd@gnu.org>
2163
2164 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2165 non-X platforms.
2166
69481eb8
GM
21672012-03-06 Glenn Morris <rgm@gnu.org>
2168
2169 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2170 (x-disown-selection-internal, x-get-selection-internal):
2171 Doc fix (add arglist signatures). (Bug#10783)
2172
133b8e11
KS
21732012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2174
2175 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2176 Handle breakpoints with no "type".
2177
99a83064
GM
21782012-03-06 Glenn Morris <rgm@gnu.org>
2179
2180 * files.el (locate-dominating-file): Add optional predicate argument.
2181 (dir-locals-find-file): Make use of above change.
2182
17798e78
TTN
21832012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2184
2185 * info.el (Info-insert-dir): Also try "dir.gz".
2186
eb182446
GM
21872012-03-06 Glenn Morris <rgm@gnu.org>
2188
8f2114ee
GM
2189 * files.el (dir-locals-find-file):
2190 Ignore non-readable or non-regular files. (Bug#10928)
2191
eb182446
GM
2192 * files.el (locate-dominating-file): Doc fix.
2193
24679323
AS
21942012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2195
2196 * calendar/calendar.el (calendar-set-mode-line):
2197 `getenv' returns a string. (Bug#10951)
2198
01d972a9
LL
21992012-03-05 Leo Liu <sdl.web@gmail.com>
2200
109aa8a9
LL
2201 * simple.el (backward-delete-char-untabify): Constrain point to
2202 field (Bug#10939).
2203
01d972a9
LL
2204 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2205
10607bea
CY
22062012-03-05 Chong Yidong <cyd@gnu.org>
2207
2208 * simple.el (count-words): If called from Lisp, return the word
2209 count, for symmetry with `count-lines'. Arglist changed.
2210 (count-words--message): Args changed. Consolidate counting code
2211 from count-words and count-words-region.
2212 (count-words-region): Caller changed.
2213 (count-lines-region): Make it an obsolete alias.
2214
5dd11cfe
TH
22152012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2216
2217 * saveplace.el (save-place-to-alist)
2218 (save-place-ignore-files-regexp): Allow value nil to disable this
2219 feature.
2220
c349f4e6
CY
22212012-03-04 Chong Yidong <cyd@gnu.org>
2222
2223 * faces.el (face-spec-reset-face): For the default face, reset the
2224 attributes to default values (Bug#10748).
2225
e627be4c
LMI
22262012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2227
2228 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2229 previous patch: Check `message-send-mail-function', and not the
2230 default function (bug#10897).
2231
ebeabff4
MA
22322012-03-04 Michael Albinus <michael.albinus@gmx.de>
2233
a41a6cf4
MA
2234 * notifications.el (notifications-on-action-signal)
2235 (notifications-on-closed-signal): Check for unique service name of
2236 incoming event. Fix error in removing entry.
ebeabff4 2237 (top): Register for signals with wildcard service name.
a41a6cf4 2238 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 2239
c1ca42b4
CY
22402012-03-04 Chong Yidong <cyd@gnu.org>
2241
dc9924b8 2242 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 2243
ea16568d
GM
22442012-03-04 Glenn Morris <rgm@gnu.org>
2245
2246 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2247 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2248 (expand-abbrev, define-abbrev-table): Doc fixes.
2249
fbae4637
LMI
22502012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2251
2252 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2253 `message-default-send-mail-function' and not `send-mail-function'
2254 when doing the prompting for `sendmail-query-once' before sending
2255 in Message buffers (bug#10897).
2256
a1e7225c
LMI
2257 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2258 This is inconsistent with all the other stream functions, which leave
2259 the setting up to the higher levels (if so wanted) (bug#10931).
2260
56d093a9
AM
22612012-03-02 Alan Mackenzie <acm@muc.de>
2262
2263 Depessimize the handling of very large macros.
2264
2265 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2266 (c-macro-cache-syntactic): New variables to implement a one
2267 element macro cache.
2268 (c-invalidate-macro-cache): New function.
2269 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2270 Adapt to use the new cache.
2271 (c-state-safe-place): Use better the cache of safe positions.
2272 (c-state-semi-nonlit-pos-cache)
2273 (c-state-semi-nonlit-pos-cache-limit):
2274 New variables for...
2275 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2276 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
2277 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2278 Use c-state-semi-safe-place.
56d093a9 2279
dbbc2e69
SM
2280 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2281 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 2282
817e5c3d
MA
22832012-03-02 Michael Albinus <michael.albinus@gmx.de>
2284
dbbc2e69
SM
2285 * jka-compr.el (jka-compr-call-process):
2286 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
2287 not remote.
2288
a032a702
MA
22892012-03-01 Michael Albinus <michael.albinus@gmx.de>
2290
2291 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2292 access of FILE2, if FILE1 does not exist.
2293
99a54f21
MA
2294 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2295 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2296
2297 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2298 Add "PAGER=" to `process-environment'.
2299
f6561e1f
MM
23002012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2301
2302 * progmodes/sql.el: Bug fix
2303 (sql-get-login-ext): Save login values in globals.
2304 (sql-get-login): Use new version of `sql-get-login-ext'.
2305 (sql-interactive-mode): Set global `sql-connection' to nil.
2306 (sql-connect): Set global values for connection.
2307 (sql-product-interactive): Save global values as buffer local.
2308
2d44d9cc
LL
23092012-02-29 Leo Liu <sdl.web@gmail.com>
2310
2311 * abbrev.el (define-abbrevs): Reset sys to nil.
2312
96b49301 23132012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2314
bf7f9bc5
JB
2315 * files.el (file-equal-p): Rename from `files-equal-p'.
2316 Return nil when one or both files don't exist.
96b49301 2317 (file-subdir-of-p): Now only top directory must exists,
2318 return nil if it doesn't.
bf7f9bc5
JB
2319 (copy-directory): No need to test with `file-subdir-of-p' after
2320 creating dir.
2321 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2322 to `file-equal-p'.
96b49301 2323
44e97401
GM
23242012-02-28 Glenn Morris <rgm@gnu.org>
2325
2326 * shell.el (shell-mode):
2327 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2328 * play/landmark.el (landmark-font-lock-face-O):
2329 * play/handwrite.el (handwrite):
2330 * play/gomoku.el (gomoku-O):
2331 * net/browse-url.el (browse-url-browser-display):
2332 * international/mule.el (define-charset):
2333 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2334 * filesets.el (filesets-find-file-delay):
2335 * eshell/em-xtra.el (eshell-xtra):
2336 * eshell/em-unix.el (eshell-grep):
2337 * emulation/viper.el (viper-mode):
2338 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2339 * emacs-lisp/easymenu.el (easy-menu-define):
2340 * calendar/timeclock.el (timeclock-use-display-time):
2341 * bs.el (bs-mode):
2342 * bookmark.el (bookmark-save-flag):
2343 Doc fix (standardize possessive apostrophe usage).
2344
c98c6276
CY
23452012-02-27 Chong Yidong <cyd@gnu.org>
2346
bf7f9bc5
JB
2347 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2348 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 2349
c98c6276
CY
2350 * font-lock.el (font-lock-specified-p): Rename from
2351 font-lock-spec-present. Callers changed.
2352
9c62cd04 23532012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 2354
bf7f9bc5
JB
2355 * emacs-lisp/package.el (package-compute-transaction):
2356 Handle holding a package version to t in package-load-list.
8ac9e529 2357
530739c9
MA
23582012-02-26 Michael Albinus <michael.albinus@gmx.de>
2359
2360 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
2361 (tramp-get-inode, tramp-get-device): Use cached values.
2362
487915d7
AM
23632012-02-26 Alan Mackenzie <acm@muc.de>
2364
2365 Check there is a font-lock specification before doing initial
2366 fontification.
2367
2368 * font-core.el (font-lock-mode): Move the conditional from
2369 :after-hook to font-lock-initial-fontify.
2370 (font-lock-default-function): Move the check for a specification
2371 to font-lock-spec-present.
2372
dc9924b8 2373 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
2374 (font-lock-spec-present): New function.
2375
4fd96557
JB
23762012-02-26 Jim Blandy <jimb@red-bean.com>
2377
2378 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
2379 (gdb-send): Apply it to the operand of the '-interpreter-exec
2380 console' command, so that we can pass arguments with (say) quotes
2381 in them. Store exact string sent in gdb-debug-log (Bug#10765).
2382
9a4888c0
CY
23832012-02-26 Chong Yidong <cyd@gnu.org>
2384
07498861
CY
2385 * help-fns.el (describe-function-1): Clarify description of
2386 remapping (Bug#10844).
2387
9a4888c0
CY
2388 * files.el (files-equal-p): Doc fix.
2389 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
2390 and quit the loop once a mismatch is found.
2391
ea8fb88d
JB
23922012-02-25 Juanma Barranquero <lekktu@gmail.com>
2393
2394 * bs.el (bs--show-with-configuration): Don't throw an error
2395 if the window cannot be split; otherwise, subsequent calls to
2396 bs-show fail, restoring a stale window config. (Bug#10882)
2397
525795c1
JD
23982012-02-25 Jan Djärv <jan.h.d@swipnet.se>
2399
2400 * term/ns-win.el (global-map): Bind ns-drag-file to
2401 ns-find-file (Bug#5855, Bug#10050).
2402
f008086f
AS
24032012-02-25 Andreas Schwab <schwab@linux-m68k.org>
2404
2405 * calendar/parse-time.el (parse-time-string): Allow extractor to
2406 return nil.
2407
a3fcfa99
MA
24082012-02-25 Michael Albinus <michael.albinus@gmx.de>
2409
91027d08
JB
2410 * net/tramp.el (tramp-file-name-for-operation):
2411 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
2412
2413 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
2414 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2415 Add COPY-CONTENTS argument.
a3fcfa99 2416
67b0de11
CY
24172012-02-25 Chong Yidong <cyd@gnu.org>
2418
2419 Add custom groups for VC backends, for consistency with vc-bzr.
2420
2421 * vc/vc-arch.el (vc-arch):
2422 * vc/vc-cvs.el (vc-cvs):
2423 * vc/vc-git.el (vc-git):
2424 * vc/vc-hg.el (vc-hg):
2425 * vc/vc-mtn.el (vc-mtn):
2426 * vc/vc-rcs.el (vc-rcs):
2427 * vc/vc-sccs.el (vc-sccs):
2428 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
2429 All relevant defcustoms reassigned.
2430
3c9dfce6
CY
24312012-02-25 Chong Yidong <cyd@gnu.org>
2432
1339bf43
CY
2433 * newcomment.el (comment-styles): Add autoload (Bug#10868).
2434
3c9dfce6
CY
2435 * term/x-win.el (x-initialize-window-system): Reduce default for
2436 x-selection-timeout to 5 seconds (Bug#8869).
2437
25b2e303 24382012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2439
ec70a47d
GM
2440 * files.el (files-equal-p, file-subdir-of-p): New functions.
2441 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 2442 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
2443 * dired-aux.el (dired-copy-file-recursive): Same.
2444 (dired-create-files): Modify destination when source is equal to
2445 dest when copying files.
53a46cd0 2446 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 2447
914260cd
MA
24482012-02-24 Michael Albinus <michael.albinus@gmx.de>
2449
2450 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
2451 (Bug#10874)
2452
2cb228f7
AM
24532012-02-23 Alan Mackenzie <acm@muc.de>
2454
2455 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
2456 parameter "after-hook:" to allow the expansion to run code after
2457 the execution of the mode hooks.
2458
2459 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 2460 from font-lock-mode-internal.
2cb228f7 2461
91027d08 2462 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
2463 :after-hook.
2464
8f0fde21
SM
24652012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2466
3e88618b
SM
2467 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
2468 (completion--cache-all-sorted-completions): New function.
2469 (completion-all-sorted-completions): Use it.
2470 (completion--do-completion, minibuffer-force-complete):
2471 Use it to re-instate the flush hook.
2472
8f0fde21
SM
2473 * icomplete.el (icomplete-completions): Replace last fix with a better
2474 one (bug#10850).
2475
8e911f6f
DG
24762012-02-23 Dmitry Gutov <dgutov@yandex.ru>
2477
2478 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
2479 when it might call us back infinitely (bug#10797).
2480
49fe4321
GM
24812012-02-23 Glenn Morris <rgm@gnu.org>
2482
2483 * minibuffer.el (completion-category-overrides): Doc fix.
2484
b291b572
SM
24852012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * minibuffer.el (completion-table-with-context): Fix inf-loop.
2488 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
2489
31a9ef2e
GM
24902012-02-23 Glenn Morris <rgm@gnu.org>
2491
5e6e6794 2492 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
2493 (authors-obsolete-files-regexps, authors-ignored-files)
2494 (authors-ambiguous-files, authors-renamed-files-alist):
2495 Add more entries.
2496
0bd1e074
JL
24972012-02-23 Juri Linkov <juri@jurta.org>
2498
2499 * isearch.el (isearch-occur): Sync interactive spec with occur's
2500 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
2501
b617673c
JL
2502 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
2503
19e9789e
JL
25042012-02-22 Juri Linkov <juri@jurta.org>
2505
2506 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
2507 (ucs-insert): Doc fix. Check for hex digits in the string.
2508 Don't display `nil' in the error message. (Bug#10857)
2509
f41ce09d
AM
25102012-02-22 Alan Mackenzie <acm@muc.de>
2511
7a71b18d 2512 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 2513
ac2eceee
GM
25142012-02-22 Glenn Morris <rgm@gnu.org>
2515
2516 * ffap.el (ffap-c-path):
2517 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2518
abd1f678
CY
25192012-02-22 Chong Yidong <cyd@gnu.org>
2520
2521 * custom.el (load-theme): Doc fix.
2522
f25aef2e
GM
25232012-02-22 Glenn Morris <rgm@gnu.org>
2524
2525 * dired-x.el (dired-guess-shell-alist-default):
2526 Remove escape sequences from nroff output. (Bug#172)
2527
5f8dc2ca
GM
25282012-02-21 Glenn Morris <rgm@gnu.org>
2529
6ff86ec4
GM
2530 * vc/emerge.el (emerge-defvar-local):
2531 Set `permanent-local' property rather than unused `preserved'.
2532
be3223a3 2533 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2534 (picture-mode-map): Use it. (Bug#10860)
2535 (picture-mode): Doc fix.
2536
3fe58f4f
JB
25372012-02-21 Juanma Barranquero <lekktu@gmail.com>
2538
2539 * newcomment.el (uncomment-region-default): Remove unused binding.
2540
f9a998c3
GM
25412012-02-21 Glenn Morris <rgm@gnu.org>
2542
2543 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2544 (picture-self-insert, picture-tab-chars): Doc fix.
2545 (picture-mode-map): Fix C-a, C-e.
2546
c6029348
GM
25472012-02-20 Glenn Morris <rgm@gnu.org>
2548
2549 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2550
ab1ce9d7
LL
25512012-02-20 Leo Liu <sdl.web@gmail.com>
2552
2553 * icomplete.el (icomplete-completions): Check FROM arg before
2554 passing to substring (Bug#10850).
2555
0fd40f89
CY
25562012-02-19 Chong Yidong <cyd@gnu.org>
2557
2558 * comint.el: Require ansi-color.
2559 (comint-output-filter-functions): Add ansi-color-process-output.
2560
2561 * ansi-color.el: Don't set comint-output-filter-functions; it is
2562 now in the initial value defined in comint.el.
2563 (ansi-color-apply-face-function): New variable.
2564 (ansi-color-apply-on-region): Use it.
2565 (ansi-color-apply-overlay-face): New function.
2566
2567 * shell.el (shell): No need to require ansi-color.
2568 (shell-mode): Use ansi-color-apply-face-function to highlight
2569 color escapes using font-lock-face property (Bug#10835).
2570
20af2394
CY
25712012-02-19 Chong Yidong <cyd@gnu.org>
2572
2573 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2574 mode-line formats (Bug#10839).
2575
e23a3fbe
GM
25762012-02-18 Glenn Morris <rgm@gnu.org>
2577
b474519e
GM
2578 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2579
2580 * mail/undigest.el (unforward-rmail-message): Doc fix.
2581
e23a3fbe
GM
2582 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2583
57939ff4
EZ
25842012-02-18 Eli Zaretskii <eliz@gnu.org>
2585
2586 * international/characters.el (script-list): Sync with the latest
2587 Unicode Character Database.
2588
0c23686e
AS
25892012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2590
2591 * international/titdic-cnv.el: Remove duplicate coding tag.
2592 * language/cham.el: Likewise.
2593 * language/tai-viet.el: Likewise.
2594
6818b449
GM
25952012-02-18 Glenn Morris <rgm@gnu.org>
2596
2597 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2598 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2599 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2600 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2601 * calendar/holidays.el (holiday-bahai-holidays)
2602 (calendar-holidays, list-holidays):
2603 Use utf-8 Bahá'í in doc-strings, menus, etc.
2604
0311a3fc
TH
26052012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2606
2607 * saveplace.el (save-place-ignore-files-regexp): New variable
2608 allowing for excluding files from saving their location of point.
2609 The default value matches the temporary commit message editing
2610 files from Git, SVN, Bazaar, and Mercurial.
2611 (save-place-to-alist): Use it.
2612
eb864a71
LM
26132012-02-17 Lawrence Mitchell <wence@gmx.li>
2614 Stefan Monnier <monnier@iro.umontreal.ca>
2615
2616 * newcomment.el (uncomment-region-default): Don't leave extra space
2617 when an arg is provided (bug#8150).
2618
ee0ce425
TZ
26192012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2620
eb864a71 2621 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2622
95ddf442
GM
26232012-02-17 Glenn Morris <rgm@gnu.org>
2624
2625 * net/socks.el: Require network-stream. (Bug#10599)
2626
48dd1e39 26272012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2628
2629 * international/charprop.el:
2630 * international/uni-name.el:
2631 * international/uni-old-name.el:
2632 * international/uni-comment.el: Regenerate.
2633
d68cd087
GM
26342012-02-16 Glenn Morris <rgm@gnu.org>
2635
2636 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2637 Interactively in calendar buffer, give an error if not on a date.
2638
13932042
GM
26392012-02-15 Glenn Morris <rgm@gnu.org>
2640
2641 * shell.el (shell-delimiter-argument-list):
2642 Revert 2011-02-17 change. (Bug#8027)
2643
c3a70e2b
CY
26442012-02-15 Chong Yidong <cyd@gnu.org>
2645
60236b0d
CY
2646 * minibuffer.el (completion-at-point-functions): Doc fix.
2647
c3a70e2b
CY
2648 * custom.el (defcustom): Doc fix; note use of defvar.
2649
9f26dc24
GM
26502012-02-15 Glenn Morris <rgm@gnu.org>
2651
2652 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2653 Doc fixes.
2654
6546b134
GM
26552012-02-14 Glenn Morris <rgm@gnu.org>
2656
2657 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2658
d29b2b4c
LI
26592012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2660
2661 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2662 way the ports list is computed.
835bdcba
LI
2663 (smtpmail-query-smtp-server): Prompt the user for a port number if
2664 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2665
08dcdbc9
TZ
26662012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2667
2668 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2669
2605051a
GM
26702012-02-13 Glenn Morris <rgm@gnu.org>
2671
2672 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2673
7ee99f32
TZ
26742012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2675
2676 * net/gnutls.el (gnutls-trustfiles): New variable.
2677 (gnutls-negotiate): Use it.
2678
5f0af64f
LI
26792012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2680
2681 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2682 does its stuff if Gnus is running.
2683
c14fcc95
AM
26842012-02-13 Alan Mackenzie <acm@muc.de>
2685
2686 Fix a loop in c-set-fl-decl-start.
2687
7a71b18d 2688 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2689 c-backward-syntactic-ws actually moves backwards.
2690
142b4d90
LL
26912012-02-13 Leo Liu <sdl.web@gmail.com>
2692
2693 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2694 beginning so that all \C-o chars are removed.
2695
fa9958a6
TZ
26962012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2697
dc9924b8 2698 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2699
0bc5886a
AM
27002012-02-12 Alan Mackenzie <acm@muc.de>
2701
2702 Fix infinite loop with long macros.
4d6769e1 2703 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2704
d4bd55e7
CY
27052012-02-12 Chong Yidong <cyd@gnu.org>
2706
2707 * window.el (display-buffer): Doc fix (Bug#10785).
2708
66f3fe22
GM
27092012-02-12 Glenn Morris <rgm@gnu.org>
2710
bd7da63e
GM
2711 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2712 (x-disown-selection-internal, x-get-selection-internal):
2713 Sync docs with the xselect.c versions.
2714
66f3fe22
GM
2715 * allout-widgets.el: Add missing license notice.
2716
3e0d2fa7
GM
27172012-02-11 Glenn Morris <rgm@gnu.org>
2718
cfecdf09
GM
2719 * select.el (x-get-selection-internal, x-own-selection-internal)
2720 (x-disown-selection-internal):
2721 * x-dnd.el (x-get-selection-internal): Update declarations.
2722
6d216d7f
GM
2723 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2724
2bed3f04
GM
2725 * window.el (window-sides-slots):
2726 * tool-bar.el (tool-bar-position):
2727 * term/xterm.el (xterm-extra-capabilities):
2728 * ses.el (ses-self-reference-early-detection):
2729 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2730 (verilog-auto-wire-type)
2731 (verilog-auto-delete-trailing-whitespace)
2732 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2733 (verilog-auto-tieoff-declaration):
2734 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2735 (sql-oracle-statement-starters, sql-oracle-scan-on):
2736 * progmodes/prolog.el (prolog-align-comments-flag)
2737 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2738 (prolog-left-indent-regexp, prolog-paren-indent-p)
2739 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2740 (prolog-types, prolog-mode-specificators)
2741 (prolog-determinism-specificators, prolog-directives)
2742 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2743 (prolog-electric-dot-flag)
2744 (prolog-electric-dot-full-predicate-template)
2745 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2746 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2747 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2748 (prolog-program-switches, prolog-prompt-regexp)
2749 (prolog-debug-on-string, prolog-debug-off-string)
2750 (prolog-trace-on-string, prolog-trace-off-string)
2751 (prolog-zip-on-string, prolog-zip-off-string)
2752 (prolog-use-standard-consult-compile-method-flag)
2753 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2754 (prolog-imenu-max-lines, prolog-info-predicate-index)
2755 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2756 (prolog-char-quote-workaround):
2757 * progmodes/cc-vars.el (c-defun-tactic):
2758 * net/tramp.el (tramp-encoding-command-interactive)
2759 (tramp-local-end-of-line):
2760 * net/soap-client.el (soap-client):
2761 * net/netrc.el (netrc-file):
2762 * net/gnutls.el (gnutls):
2763 * minibuffer.el (completion-category-overrides)
2764 (completion-cycle-threshold)
2765 (completion-pcm-complete-word-inserts-delimiters):
2766 * man.el (Man-name-local-regexp):
2767 * mail/feedmail.el (feedmail-display-full-frame):
2768 * international/characters.el (glyphless-char-display-control):
2769 * eshell/em-ls.el (eshell-ls-date-format):
2770 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2771 (lisp-lambda-list-keyword-parameter-indentation)
2772 (lisp-lambda-list-keyword-parameter-alignment):
2773 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2774 * dired-x.el (dired-omit-verbose):
2775 * cus-theme.el (custom-theme-allow-multiple-selections):
2776 * calc/calc.el (calc-highlight-selections-with-faces)
2777 (calc-lu-field-reference, calc-lu-power-reference)
2778 (calc-note-threshold):
2779 * battery.el (battery-mode-line-limit):
2780 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2781 (archive-7z-update):
2782 * allout.el (allout-prefixed-keybindings)
2783 (allout-unprefixed-keybindings)
2784 (allout-inhibit-auto-fill-on-headline)
2785 (allout-flattened-numbering-abbreviation):
2786 * allout-widgets.el (allout-widgets-auto-activation)
2787 (allout-widgets-icons-dark-subdir)
2788 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2789 (allout-widgets-theme-dark-background)
2790 (allout-widgets-theme-light-background)
2791 (allout-widgets-item-image-properties-emacs)
2792 (allout-widgets-item-image-properties-xemacs)
2793 (allout-widgets-run-unit-tests-on-load)
2794 (allout-widgets-time-decoration-activity)
2795 (allout-widgets-hook-error-post-time)
2796 (allout-widgets-track-decoration):
2797 Add missing :version tags to new defcustoms and defgroups.
2798
5fec1b8e
GM
2799 * progmodes/sql.el (sql-ansi-statement-starters)
2800 (sql-oracle-statement-starters): Add custom type.
2801
3e0d2fa7
GM
2802 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2803 (prolog-system-version): Give it a type.
2804
90b671e2
EZ
28052012-02-11 Eli Zaretskii <eliz@gnu.org>
2806
2807 * term/pc-win.el (x-select-text, x-selection-owner-p)
2808 (x-own-selection-internal, x-disown-selection-internal)
2809 (x-get-selection-internal): Sync doc strings and argument lists
2810 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2811
5eac0c02
LL
28122012-02-11 Leo Liu <sdl.web@gmail.com>
2813
2814 * progmodes/python.el (python-end-of-statement): Fix infinite
2815 loop. (Bug#10788)
2816
f82cb659
GM
28172012-02-10 Glenn Morris <rgm@gnu.org>
2818
2819 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2820 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2821
cc26d239
LI
28222012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2823
2824 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2825 about SMTP before checking the From header.
2826
91027d08 2827 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2828 into own function for reuse by emacsbug.el.
2829
1be3ca5a
LL
28302012-02-10 Leo Liu <sdl.web@gmail.com>
2831
2832 * subr.el (condition-case-unless-debug): Rename from
2833 condition-case-no-debug. All callers changed.
2834 (with-demoted-errors): Fix caller.
2835
2836 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2837 * nxml/rng-valid.el (rng-do-some-validation):
2838 * emacs-lisp/package.el (package-refresh-contents)
2839 (package-menu-execute):
2840 * desktop.el (desktop-create-buffer):
91027d08 2841 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2842
b011fbfe
GM
28432012-02-10 Glenn Morris <rgm@gnu.org>
2844
b2096d72
GM
2845 * textmodes/bibtex.el:
2846 Add missing :version tags for new/changed defcustoms.
2847
b011fbfe
GM
2848 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2849
4c7e65bf
LI
28502012-02-09 Lars Ingebrigtsen <larsi@rusty>
2851
2852 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2853 (smtpmail-via-smtp): Use it, or fall back on the From address.
2854 (smtpmail-send-it): Ditto.
2855
f3934f6f
SM
28562012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2859 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2860 (byte-compile-tmp-var): New const.
2861 (byte-compile-defvar): Use it to minimize .elc size.
2862 Just use `defvar' rather than simulate it (bug#10761).
2863
a075a2c5
GM
28642012-02-09 Glenn Morris <rgm@gnu.org>
2865
cf3aa21b
GM
2866 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2867
354998cd
GM
2868 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2869 Add :version tags.
2870
dc9924b8
SM
2871 * progmodes/compile.el (compilation-error-screen-columns)
2872 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2873
dab3703d
GM
2874 * vc/log-view.el (log-view-toggle-entry-display):
2875 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2876
3f88cd72
GM
2877 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2878 (report-emacs-bug-can-use-xdg-email):
2879 (report-emacs-bug-insert-to-mailer): Doc fixes.
2880 (report-emacs-bug): Message fix.
2881
d95b247d
GM
2882 * net/browse-url.el (browse-url-can-use-xdg-open)
2883 (browse-url-xdg-open): Doc fixes.
2884
a075a2c5
GM
2885 * electric.el (electric-indent-mode, electric-pair-mode)
2886 (electric-layout-rules, electric-layout-mode): Doc fixes.
2887 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2888
ffb6157e
MR
28892012-02-08 Martin Rudalics <rudalics@gmx.at>
2890
2891 * server.el (server-unselect-display): Don't inadvertently kill
2892 the current buffer. (Bug#10729)
2893
e1ac4066
GM
28942012-02-08 Glenn Morris <rgm@gnu.org>
2895
34e8a2da
GM
2896 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2897 (sql-list-table): Doc fixes.
2898
b4ac6e8c
GM
2899 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2900 Comment out (does nothing).
2901
e1ac4066
GM
2902 * completion.el (dynamic-completion-mode):
2903 * dirtrack.el (dirtrack-debug-mode):
2904 * electric.el (electric-layout-mode):
2905 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2906 * face-remap.el (text-scale-mode, buffer-face-mode):
2907 * iimage.el (iimage-mode):
2908 * image-mode.el (image-transform-mode):
2909 * minibuffer.el (completion-in-region-mode):
2910 * scroll-lock.el (scroll-lock-mode):
2911 * simple.el (next-error-follow-minor-mode):
2912 * tar-mode.el (tar-subfile-mode):
2913 * tooltip.el (tooltip-mode):
2914 * vcursor.el (vcursor-use-vcursor-map):
2915 * wid-browse.el (widget-minor-mode):
2916 * emulation/tpu-edt.el (tpu-edt-mode):
2917 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2918 * international/iso-ascii.el (iso-ascii-mode):
2919 * language/thai-util.el (thai-word-mode):
2920 * mail/supercite.el (sc-minor-mode):
2921 * net/goto-addr.el (goto-address-mode):
2922 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2923 * progmodes/cwarn.el (cwarn-mode):
2924 * progmodes/flymake.el (flymake-mode):
2925 * progmodes/glasses.el (glasses-mode):
2926 * progmodes/hideshow.el (hs-minor-mode):
2927 * progmodes/pascal.el (pascal-outline-mode):
2928 * textmodes/enriched.el (enriched-mode):
2929 * vc/smerge-mode.el (smerge-mode):
2930 Doc fixes (minor mode argument).
2931
5e0d957f
EZ
29322012-02-07 Eli Zaretskii <eliz@gnu.org>
2933
2934 * ls-lisp.el (ls-lisp-sanitize): New function.
2935 (ls-lisp-insert-directory): Use it to fix or remove any elements
2936 in file-alist with missing attributes. (Bug#4673)
2937
98d7371e
AM
29382012-02-07 Alan Mackenzie <acm@muc.de>
2939
2940 Fix spurious recognition of c-in-knr-argdecl.
2941
2942 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2943 putative K&R region.
2944
667ced3a
AM
29452012-02-07 Alan Mackenzie <acm@muc.de>
2946
eb864a71
LM
2947 * progmodes/cc-engine.el (c-forward-objc-directive):
2948 Prevent looping in "#pragma mark @implementation".
667ced3a 2949
5b77774d
MA
29502012-02-07 Michael Albinus <michael.albinus@gmx.de>
2951
2952 * notifications.el (notifications-on-closed-signal): Make `reason'
2953 optional. (Bug#10744)
2954
af008560
GM
29552012-02-07 Glenn Morris <rgm@gnu.org>
2956
60d47423
GM
2957 * emacs-lisp/easy-mmode.el (define-minor-mode):
2958 Doc fixes for the macro and the mode it defines.
2959
dd605cc4
GM
2960 * image.el (imagemagick-types-inhibit): Doc fix.
2961
af008560
GM
2962 * cus-start.el (imagemagick-render-type): Add it.
2963
5cc59a37
LI
29642012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2965
4d6769e1
JB
2966 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2967 Set the default at load time, too, so that `font-lock-fontify-buffer'
2968 can be called without setting up the entire mode first. This fixes
2969 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2970
9a6dd747
CY
29712012-02-06 Chong Yidong <cyd@gnu.org>
2972
2d16b285
CY
2973 * simple.el (list-processes--refresh): Delete exited processes
2974 (Bug#8094).
2975
171e9b6e
CY
2976 * comint.el (comint-next-prompt): next-single-char-property-change
2977 and prev-single-char-property-change never return nil (Bug#8657).
2978
9a6dd747
CY
2979 * custom.el (defcustom): Doc fix (Bug#9711).
2980
aa4589a7
CY
29812012-02-05 Chong Yidong <cyd@gnu.org>
2982
5c2a252f
CY
2983 * cus-edit.el (custom-variable-reset-backup): Quote the value
2984 before storing it in the customized-value property (Bug#6712).
4aab9006 2985 (custom-display): Add a customization type tag.
983b9602 2986 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2987
aa4589a7
CY
2988 * wid-edit.el (widget-field-value-get): New optional arg to
2989 suppress trailing whitespace truncation.
2990 (character): Use it (Bug#2689).
2991
1ff980ae
AS
29922012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2993
2994 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2995 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2996
03988c98
CY
29972012-02-05 Chong Yidong <cyd@gnu.org>
2998
eeb6cc88
CY
2999 * cus-edit.el (custom-variable-value-create): For mismatched
3000 types, show the current value (Bug#7600).
3001
03988c98
CY
3002 * custom.el (defcustom): Doc fix.
3003
f8cdeef0
GM
30042012-02-05 Glenn Morris <rgm@gnu.org>
3005
3006 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3007
0696d255
JB
30082012-02-05 Juanma Barranquero <lekktu@gmail.com>
3009
3010 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3011 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3012 (pp-last-sexp): Use `looking-at-p'.
3013
34c99998
GM
30142012-02-04 Glenn Morris <rgm@gnu.org>
3015
8f05da42
GM
3016 * files.el (revert-buffer):
3017 Doc fix (mention revert-buffer-in-progress-p).
3018
f160676e
GM
3019 * emacs-lisp/ert-x.el (ert-simulate-command):
3020 Check deferred-action-list (which is obsolete) is bound.
3021
c7291ad9
GM
3022 * subr.el (with-wrapper-hook): Doc fixes.
3023
34c99998
GM
3024 * simple.el (filter-buffer-substring-functions)
3025 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3026
6283a7d3
LL
30272012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3028
3029 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3030 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3031
e96e3013
LL
30322012-02-04 Leo Liu <sdl.web@gmail.com>
3033
3034 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3035
8ded50f2
GM
30362012-02-04 Glenn Morris <rgm@gnu.org>
3037
82ff1d13
GM
3038 * image.el (image-extension-data): Add obsolete alias.
3039
987a0a16
GM
3040 * isearch.el (isearch-update): Doc fix.
3041
ea32ef46
GM
3042 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3043
8ded50f2
GM
3044 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3045
eea14f31
GM
30462012-02-03 Glenn Morris <rgm@gnu.org>
3047
3048 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3049 (image-animate-timeout): Doc fix.
3050
3051 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3052
12f381b7
GM
30532012-02-02 Glenn Morris <rgm@gnu.org>
3054
953cebf5
GM
3055 * server.el (server-auth-dir): Doc fix.
3056 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3057
12f381b7
GM
3058 * subr.el (run-mode-hooks): Doc fix.
3059
953a8c3b
JL
30602012-02-02 Juri Linkov <juri@jurta.org>
3061
3062 * image-mode.el (image-toggle-display-image): Remove tautological
3063 `major-mode' from the `derived-mode-p' test.
3064
c5d3843c
KH
30652012-02-02 Kenichi Handa <handa@m17n.org>
3066
9f6e692e 3067 * composite.el (compose-region): Cancel previous change.
c5d3843c 3068
159462d4 30692012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
3070
3071 * composite.el (compose-region, compose-string): Signal error for
3072 a null string component (Bug#6988).
3073
9f562668
CY
30742012-02-01 Chong Yidong <cyd@gnu.org>
3075
e2cef717
CY
3076 * view.el (view-buffer-other-window, view-buffer-other-frame):
3077 Handle special modes like view-buffer (Bug#10650).
3078 (view-buffer): Simplify.
3079
9f562668
CY
3080 * frame.el (set-frame-font): Tweak meaning of third argument.
3081
9f6e692e
JB
3082 * dynamic-setting.el (font-setting-change-default-font):
3083 Use set-frame-font (Bug#9982).
9f562668 3084
781acb9f
GM
30852012-02-01 Glenn Morris <rgm@gnu.org>
3086
6035be52
GM
3087 * progmodes/compile.el (compilation-internal-error-properties):
3088 Respect compilation-first-column in the "*compilation*" buffer.
3089
781acb9f
GM
3090 * emacs-lisp/easy-mmode.el (define-minor-mode):
3091 Relax :variable's test for a named function.
3092
abbceb00
AM
30932012-01-31 Alan Mackenzie <acm@muc.de>
3094
3095 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3096 off by one error.
3097
fce3fdeb
CY
30982012-01-31 Chong Yidong <cyd@gnu.org>
3099
3100 * frame.el (set-frame-font): New arg ALL-FRAMES.
3101
3102 * menu-bar.el (menu-set-font): Use set-frame-font.
3103
3104 * faces.el (face-spec-reset-face): Don't apply unspecified
3105 attribute values to the default face.
3106
47893581
JB
31072012-01-31 Juanma Barranquero <lekktu@gmail.com>
3108
3109 * progmodes/cwarn.el (cwarn): Remove dead link.
3110 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3111 Remove * from defcustom docstrings.
3112 (turn-on-cwarn-mode): Make obsolete.
3113 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3114 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3115
e58e988a
GM
31162012-01-31 Glenn Morris <rgm@gnu.org>
3117
60dc2671 3118 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 3119 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 3120 Allow named functions to be used as the cdr of :variable.
e58e988a 3121
7a3f511d
GM
31222012-01-30 Glenn Morris <rgm@gnu.org>
3123
3124 * emacs-lisp/authors.el (authors-fixed-entries):
3125 Remove reference to deleted file rnewspost.el.
3126
cb882333
JB
31272012-01-29 Juanma Barranquero <lekktu@gmail.com>
3128
3129 * window.el (window-with-parameter): Remove unused variable `windows'.
3130 (window--side-check): Remove unused variable `code'.
3131 (window--resize-siblings): Remove unused variable `first'.
3132 (adjust-window-trailing-edge): Remove unused variable `failed'.
3133 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3134 Use `let', not `let*'.
3135 (balance-windows-2): Remove unused variable `found'.
3136 (window--state-put-2): Remove unused variable `splits'.
3137 (window-state-put): Remove unused variable `selected'.
3138 (same-window-p): Use `string-match-p'.
3139 (display-buffer-assq-regexp): Remove unused variable `value'.
3140 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3141 Mark argument ALIST as ignored.
3142 (pop-to-buffer): Remove unused variable `old-window'.
3143
907201af
EZ
31442012-01-29 Eli Zaretskii <eliz@gnu.org>
3145
3146 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3147 and .lzma compressed files.
3148
ea162670
CY
31492012-01-29 Chong Yidong <cyd@gnu.org>
3150
5b95ee8a
CY
3151 * frame.el (window-system-default-frame-alist): Doc fix.
3152
ea162670
CY
3153 * dynamic-setting.el (font-setting-change-default-font): Don't
3154 change the default face if SET-FONT argument is non-nil (Bug#9982).
3155
d6e6f4b1
SB
31562012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3157
3158 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3159
0f29fa41 31602012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
3161
3162 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3163 breakpoints in files outside current directory (Bug#6098).
3164
db174434
CY
31652012-01-29 Chong Yidong <cyd@gnu.org>
3166
6b25e4e2
SE
3167 * progmodes/python.el: Require ansi-color at top-level.
3168
6df6ae42
JB
3169 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3170 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
3171 (lisp-mode-abbrev-table): Add doc.
3172 (lisp-mode-variables): Don't set local-abbrev-table.
3173 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3174
e70ee681
RW
31752012-01-28 Roland Winkler <winkler@gnu.org>
3176
3177 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3178
ace88aa2
RW
31792012-01-28 Roland Winkler <winkler@gnu.org>
3180
3181 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3182 (bibtex-set-dialect): Use it. Either set global values of
3183 dialect-dependent variables or bind these variables buffer-locally
3184 (Bug#10254).
3185 (bibtex-mode): Call bibtex-set-dialect via
3186 hack-local-variables-hook.
eb864a71
LM
3187 (bibtex-dialect): Update docstring.
3188 Add safe-local-variable predicate.
ace88aa2
RW
3189 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3190 bibtex-set-dialect.
3191 (bibtex-mode-map): Define menu for each dialect.
3192 (bibtex-entry): Fix docstring.
3193
93376c5b
CY
31942012-01-28 Chong Yidong <cyd@gnu.org>
3195
3196 * eshell/esh-arg.el (eshell-quote-argument): New function.
3197
3198 * eshell/esh-ext.el (eshell-invoke-batch-file):
3199 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3200 first arg to eshell-parse-command (Bug#10523).
3201
4372494f
DA
32022012-01-28 Drew Adams <drew.adams@oracle.com>
3203
3204 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3205 `default-directory' is non-nil.
3206
4d4ec1f8
EZ
32072012-01-28 Eli Zaretskii <eliz@gnu.org>
3208
3209 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3210 line that displays system-configuration-options. (Bug#9924)
3211
7c188927
DA
32122012-01-28 Drew Adams <drew.adams@oracle.com>
3213
3214 * descr-text.el (describe-char): Show information about POS, in
3215 addition to information about the character at POS. Improve and
3216 update the doc string. Change "code point" to "code point in
3217 charset", to avoid confusion with the character's Unicode code
3218 point shown above that. (Bug#10129)
3219
e0da685a
EZ
32202012-01-28 Eli Zaretskii <eliz@gnu.org>
3221
3222 * descr-text.el (describe-char): Show the raw character, not only
3223 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3224 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3225 for the reasons.
3226
70550acf
PH
32272012-01-28 Phil Hagelberg <phil@hagelb.org>
3228
eb864a71
LM
3229 * emacs-lisp/package.el (package-install):
3230 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 3231
0ce8e868
CY
32322012-01-28 Chong Yidong <cyd@gnu.org>
3233
cb882333
JB
3234 * emacs-lisp/package.el (package-maybe-load-descriptor):
3235 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
3236 (package-maybe-load-descriptor): Use it.
3237 (package-download-transaction): Fully load required packages
3238 inside the loop, so that `require' calls work (Bug#10593).
3239 (package-install): No need to call package-initialize now.
3240
2e7f3bea
CY
32412012-01-28 Chong Yidong <cyd@gnu.org>
3242
6e9bad14
CY
3243 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3244
f823b8ca
CY
3245 * tooltip.el (tooltip-mode): Doc fix.
3246 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3247
2680c309
CY
3248 * frame.el (set-cursor-color): Doc fix (Bug#352).
3249
d7a9e63b
CY
3250 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3251 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3252
2e7f3bea
CY
3253 * cus-edit.el (custom-buffer-create-internal): Fix search button
3254 action (Bug#10542).
2ae01800 3255 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 3256
fc4f7a23
EW
32572012-01-27 Eduard Wiebe <usenet@pusto.de>
3258
3259 * dired.el (dired-mark-files-regexp):
3260 Include any subdirectory components. (Bug#10445)
3261
7dd37071
ML
32622012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3263
3264 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3265 Handle [host]:port syntax. (Bug#10533)
3266
a268160b
AH
32672012-01-27 Alex Harsanyi <harsanyi@mac.com>
3268
3269 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3270
e43273ef
GM
32712012-01-26 Glenn Morris <rgm@gnu.org>
3272
3273 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3274 * term.el (term-raw-escape-map): Use Control-X-prefix.
3275 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3276
1edf595d
MR
32772012-01-25 Martin Rudalics <rudalics@gmx.at>
3278
3279 * window.el (window-state-get, window--state-get-1): Don't deal
3280 with fixed-sizeness of windows. Simplify code.
3281
fa8eafef
JC
32822012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3283
6df6ae42
JB
3284 * window.el (window--state-get-1, window--state-put-2):
3285 Don't save and restore the mark.
fa8eafef 3286
0b21c100
CY
32872012-01-25 Chong Yidong <cyd@gnu.org>
3288
3289 * custom.el (custom-variable-p): Doc fix.
3290
5ae1a6c8
GM
32912012-01-25 Glenn Morris <rgm@gnu.org>
3292
40047858
GM
3293 * dired.el (dired-goto-file): Handle some of the more common
3294 characters that `ls -b' escapes. (Bug#10596)
3295
5ddce96c
GM
3296 * progmodes/compile.el (compilation-next-error-function):
3297 Respect compilation-first-column in the "*compilation*" buffer.
3298 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3299
5ae1a6c8
GM
3300 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3301
b559f1a9
GM
33022012-01-24 Glenn Morris <rgm@gnu.org>
3303
3304 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3305
6725d21a
JD
33062012-01-24 Julien Danjou <julien@danjou.info>
3307
3308 * color.el (color-rgb-to-hsl): Fix value computing.
3309 (color-hue-to-rgb): New function.
3310 (color-hsl-to-rgb): New function.
3311 (color-clamp, color-saturate-hsl, color-saturate-name)
3312 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3313 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3314
70df4bbe
GM
33152012-01-24 Glenn Morris <rgm@gnu.org>
3316
3317 * vc/vc-rcs.el (vc-rcs-create-tag):
3318 * vc/vc-sccs.el (vc-sccs-create-tag):
3319 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3320
802a2ae2
ML
33212012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3322
3323 * eshell/esh-util.el (eshell-read-hosts-file):
3324 Skip comment lines. (Bug#10549)
3325
d7128bb1
ML
3326 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3327
d1a5c3b4
JB
33282012-01-23 Juanma Barranquero <lekktu@gmail.com>
3329
2724d9c7
JB
3330 * subr.el (display-delayed-warnings): Doc fix.
3331 (collapse-delayed-warnings): New function to collapse identical
3332 adjacent warnings.
3333 (delayed-warnings-hook): Add it.
d1a5c3b4 3334
a5509865
MA
33352012-01-22 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3338
3339 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3340 properties, when "login-as" is set.
3341
3342 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3343 (tramp-default-user-alist): Don't add "pscp".
3344 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3345 property "login-as", if set. (Bug#10530)
3346
cc6d5805
MA
33472012-01-21 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
3350 "plink1" and "psftp". (Bug#10530)
3351
33522012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
3353
3354 * international/mule-cmds.el (prefer-coding-system): Show a
3355 warning message if the default value of file-name-coding-system
3356 was not changed.
3357
f0960428
JC
33582012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3359
cb882333
JB
3360 * windmove.el (windmove-reference-loc):
3361 Fix windmove-reference-loc miscalculation.
f0960428 3362
dd6f2a63
JB
33632012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
3364
3365 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
3366 default unit.
3367
7b447e9b
GM
33682012-01-21 Glenn Morris <rgm@gnu.org>
3369
117a9ea1
GM
3370 * international/mule.el (auto-coding-alist): Add .tbz.
3371
7b447e9b
GM
3372 * files.el (local-enable-local-variables): Doc fix.
3373 (inhibit-local-variables-regexps): Rename from
3374 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
3375 Doc fix. Add some extensions from auto-coding-alist.
3376 (inhibit-local-variables-suffixes):
3377 Rename from inhibit-first-line-modes-suffixes. Doc fix.
3378 (inhibit-local-variables-p):
3379 New function, extracted from set-auto-mode-1.
3380 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
3381 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
3382 (hack-local-variables): Doc fix. Make the mode-only case
3383 respect enable-local-variables and friends.
3384 Respect inhibit-local-variables-regexps for file-locals, but
3385 not for directory-locals.
3386 (set-visited-file-name):
3387 Take account of inhibit-local-variables-regexps.
3388 Whether it applies may change as the file name is changed.
3389 * jka-cmpr-hook.el (jka-compr-install):
3390 * jka-compr.el (jka-compr-uninstall):
3391 Update for inhibit-first-line-modes-suffixes name change.
3392
dd6e3cdd
MR
33932012-01-20 Martin Rudalics <rudalics@gmx.at>
3394
3395 * help-macro.el (make-help-screen): Temporarily restore original
3396 binding for minor-mode-map-alist (Bug#10454).
3397
0d0deb38
JD
33982012-01-19 Julien Danjou <julien@danjou.info>
3399
3400 * color.el (color-name-to-rgb): Use the white color to find the max
3401 color component value and return correctly computed values.
3402 (color-name-to-rgb): Add missing float conversion for max value.
3403
34a02f46
MR
34042012-01-19 Martin Rudalics <rudalics@gmx.at>
3405
3406 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
3407 special state value for window-persistent-parameters.
3408 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
3409 (window--state-put-2): Reset all window parameters to nil before
3410 assigning values of persistent parameters.
3411
606c44c4
AM
34122012-01-18 Alan Mackenzie <acm@muc.de>
3413
3414 Eliminate sluggishness and hangs in fontification of "semicolon
3415 deserts".
3416
cb882333
JB
3417 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
3418 Change value 10000 -> 3000.
606c44c4
AM
3419 (c-state-safe-place): Reformulate so it doesn't stack up an
3420 infinite number of wrong entries in c-state-nonlit-pos-cache.
3421 (c-determine-limit-get-base, c-determine-limit): New functions to
3422 determine backward search limits disregarding literals.
3423 (c-find-decl-spots): Amend commenting.
3424 (c-cheap-inside-bracelist-p): New function which detects "={".
3425
3426 * progmodes/cc-fonts.el
3427 (c-make-font-lock-BO-decl-search-function): Give a limit to a
3428 backward search.
3429 (c-font-lock-declarations): Fix an occurrence of point being
3430 undefined. Check additionally for point being in a bracelist or
3431 near a macro invocation without a semicolon so as to avoid a
3432 fruitless time consuming search for a declarator. Give a more
3433 precise search limit for declarators using the new
3434 c-determine-limit.
3435
f3860cea
GM
34362012-01-18 Glenn Morris <rgm@gnu.org>
3437
3438 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
3439 (set-auto-mode): Doc fixes.
3440
1db03b16
GM
34412012-01-17 Glenn Morris <rgm@gnu.org>
3442
0e6038be
GM
3443 * isearch.el (search-nonincremental-instead): Fix doc typo.
3444
1db03b16
GM
3445 * dired.el (dired-insert-directory): Handle newlines in directory name.
3446 (dired-build-subdir-alist): Unescape newlines in directory name.
3447
4cb0aa75
MA
34482012-01-17 Michael Albinus <michael.albinus@gmx.de>
3449
3450 * net/tramp.el (tramp-local-end-of-line): New defcustom.
3451 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
3452 (tramp-action-terminal): Use it. (Bug#10530)
3453
1d00653d
SM
34542012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3455
3456 * minibuffer.el (completion--replace): Strip properties (bug#10062).
3457
6a6ee00d
MR
34582012-01-16 Martin Rudalics <rudalics@gmx.at>
3459
3460 * window.el (window-state-ignored-parameters): Remove variable.
3461 (window--state-get-1): Rename argument MARKERS to IGNORE.
3462 Handle persistent window parameters. Make copy of clone-of
3463 parameter only if requested. (Bug#10348)
3464 (window--state-put-2): Install a window parameter only if it has
3465 a non-nil value or an existing parameter shall be overwritten.
3466
97912def
MA
34672012-01-15 Michael Albinus <michael.albinus@gmx.de>
3468
3469 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
3470
688070a5
EZ
34712012-01-14 Eli Zaretskii <eliz@gnu.org>
3472
3473 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
3474 don't pass the (nil) value of `upnode' to string-match.
3475
301afadc
CY
34762012-01-14 Chong Yidong <cyd@gnu.org>
3477
3478 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 3479 Fix values recognized by the cursorBlink resource.
301afadc 3480
9e5788aa
PE
34812012-01-14 Paul Eggert <eggert@cs.ucla.edu>
3482
3483 * epg.el (epg--make-temp-file): Avoid permission race condition
3484 when running on old Emacs versions (bug#10403).
3485
3cdb7f5a
GM
34862012-01-14 Glenn Morris <rgm@gnu.org>
3487
3488 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
3489
8c82b1b4
AM
34902012-01-13 Alan Mackenzie <acm@muc.de>
3491
3492 Fix filling for when filladapt mode is enabled.
3493
3494 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
3495 c-mask-paragraph, pass in `fill-paragraph' rather than
3496 `fill-region-as-paragraph'. (This is a reversion of a previous
3497 change.)
eb864a71
LM
3498 * progmodes/cc-mode.el (c-basic-common-init):
3499 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 3500
e517eda4
GM
35012012-01-13 Glenn Morris <rgm@gnu.org>
3502
1498536e
GM
3503 * dired.el (dired-switches-escape-p): New function.
3504 (dired-insert-directory): Use dired-switches-escape-p.
3505 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
3506
e517eda4
GM
3507 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
3508
328f984d
GM
35092012-01-12 Glenn Morris <rgm@gnu.org>
3510
3511 * mail/sendmail.el (mail-mode): Update paragraph-separate for
3512 changes in adaptive-fill-regexp. (Bug#10276)
3513
2cc769a8
AM
35142012-01-11 Alan Mackenzie <acm@muc.de>
3515
3516 Fix Emacs bug #10463 - put `widen's around the critical spots.
3517
1d00653d 3518 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3519 widen around each invocation of c-state-pp-to-literal. Remove an
3520 unused let variable.
3521
e52c37fa
GM
35222012-01-11 Glenn Morris <rgm@gnu.org>
3523
3524 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3525 Doc fix.
e52c37fa 3526
96f8741e
CY
35272012-01-10 Chong Yidong <cyd@gnu.org>
3528
1d00653d
SM
3529 * net/network-stream.el (network-stream-open-starttls):
3530 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3531 response to the capability command.
3532
b09a806e
GM
35332012-01-10 Glenn Morris <rgm@gnu.org>
3534
3535 * mail/unrmail.el (unrmail): Tweak previous change.
3536
7655cb66
CY
35372012-01-09 Chong Yidong <cyd@gnu.org>
3538
3539 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3540
9d5a8f0b
AM
35412012-01-08 Alan Mackenzie <acm@muc.de>
3542
3543 Optimise font locking in long enum definitions.
3544
3545 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3546 arm to a cond form to handle enums.
3547 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3548 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3549
9a0115ab 35502012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3551
3552 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3553 (Bug#10401)
6bb72cbd 3554
f186bb95
LMI
35552012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3556
29232a68
LMI
3557 * faces.el (set-face-attribute): Clarify the meaning of the nil
3558 frame (bug#10294).
3559
4e5d086d
LMI
3560 * subr.el (with-selected-frame): Mention that the selected frame
3561 is restored (bug#9980).
3562
8e66aebe
LMI
3563 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3564 (bug#9759).
3565
cd394be1 3566 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3567 (password-read): Don't autoload unused function.
3568
adf4e762
JB
35692012-01-07 Juanma Barranquero <lekktu@gmail.com>
3570
3571 * progmodes/which-func.el (which-func-mode): Turn into a
3572 non-interactive function and mark as obsolete (bug#10428).
3573
89bd9ccd
CY
35742012-01-06 Chong Yidong <cyd@gnu.org>
3575
3576 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3577 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3578 functions, along with 1 and -1.
3579
4afee9d5
EZ
35802012-01-06 Eli Zaretskii <eliz@gnu.org>
3581
3582 * time.el (display-time-load-average)
3583 (display-time-default-load-average): Doc fixes. See the thread
3584 starting at
3585 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3586 for the details.
3587
536aea70
GM
35882012-01-06 Glenn Morris <rgm@gnu.org>
3589
665ae865
GM
3590 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3591 has no messages. (Bug#10377)
3592
c869783d
GM
3593 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3594 than Info-edit. (Bug#10385)
3595
2bb4227e
GM
3596 * time.el (display-time-load-average, display-time-next-load-average):
3597 Doc fixes.
3598
7d5944b9
GM
3599 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3600 local setting of buffer-read-only to the input buffer. (Bug#10419)
3601
536aea70
GM
3602 * calendar/calendar.el (calendar-mode):
3603 Locally set scroll-margin to 0. (Bug#10379)
3604
7dccca16
UM
36052012-01-06 Ulrich Mueller <ulm@gentoo.org>
3606
3607 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3608
afbb7930
GM
36092012-01-05 Glenn Morris <rgm@gnu.org>
3610
3611 * eshell/em-unix.el (diff-no-select): Autoload it.
3612 (eshell/diff): Use diff-no-select. (Bug#10420)
3613
04482335
CY
36142012-01-05 Chong Yidong <cyd@gnu.org>
3615
7baca3bc
CY
3616 * shell.el (shell-dynamic-complete-functions): Revert last change.
3617 (shell-command-completion-function): New function.
3618 (shell-completion-vars): Use it to implement
3619 shell-completion-execonly (Bug#10417).
3620
04482335
CY
3621 * custom.el (enable-theme): Don't set custom-safe-themes.
3622
1d00653d
SM
3623 * cus-theme.el (custom-theme-merge-theme):
3624 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3625
bb5aa5d6
MM
36262012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3627
3628 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3629 first prompt in `sql-interacive-mode'.
3630 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3631 keywords.
6df6ae42 3632 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3633 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3634 context of original buffer. Invoke `sql-login-hook'.
3635
a7183d7c
EZ
36362012-01-04 Eli Zaretskii <eliz@gnu.org>
3637
3638 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3639 letters in cite-prefix.
3640
a1eacd1e
LMI
36412012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3642
3643 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3644
787cdb34
CY
36452012-01-03 Chong Yidong <cyd@gnu.org>
3646
1d00653d
SM
3647 * shell.el (shell-dynamic-complete-functions):
3648 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3649 comint-filename-completion first (Bug#10417).
3650
30710442
RS
36512012-01-02 Richard Stallman <rms@gnu.org>
3652
3653 * battery.el (battery-status-function):
3654 Detect when to use battery-yeeloong-sysfs.
3655 (battery-echo-area-format): Add string for Yeeloong.
3656 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3657 (battery-yeeloong-sysfs): New function.
3658
f75bfc33
CY
36592012-01-02 Chong Yidong <cyd@gnu.org>
3660
3661 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3662 (dirtrack): Merge code for handling relative filenames in prompt
3663 from shell-dir-cookie-watcher.
3664 (dirtrack-debug-message): New arg to avoid excess format calls.
3665
3666 * shell.el (shell-dir-cookie-re): Variable deleted.
3667 (shell-dir-cookie-watcher): Function deleted.
3668 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3669 with dirtrack-mode.
3670
651e947e
EZ
36712012-01-01 Eli Zaretskii <eliz@gnu.org>
3672
1d00653d
SM
3673 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3674 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3675 libgnutls-26.dll.
3676
94d4c7dc
AS
36772011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3678
3679 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3680
8d43f3cd
EZ
36812011-12-31 Eli Zaretskii <eliz@gnu.org>
3682
3683 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3684 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3685
98c8795a
MA
36862011-12-29 Michael Albinus <michael.albinus@gmx.de>
3687
3688 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3689 also for alternative shells.
3690 (tramp-open-connection-setup-interactive-shell): Check, whether
3691 the shell is a busybox.
3692 (tramp-send-command): Don't suppress multiple prompts for
3693 busyboxes, it hurts.
3694
51281b32
CY
36952011-12-28 Chong Yidong <cyd@gnu.org>
3696
3697 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3698 (gdb-get-source-file): Move mode line update to
3699 gdb-get-source-file (Bug#10087).
3700
2170cb53
CY
37012011-12-25 Chong Yidong <cyd@gnu.org>
3702
3703 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3704 gud-gdb-marker-filter without taking it as an argument.
3705 (gud-gdb-run-command-fetch-lines): Caller changed.
3706 (gud-gdb-completion-function): New variable.
3707 (gud-gdb-completion-at-point): Use it.
3708 (gud-gdb-completions-1): Split from gud-gdb-completions.
3709
3710 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3711 function as separate arguments.
3712 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3713 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3714 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3715 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3716 (gdb-stopped, def-gdb-auto-update-trigger)
3717 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3718 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3719 Callers changed.
2170cb53
CY
3720 (gud-gdbmi-completions): New function.
3721 (gdb): Use it for generating the completion table.
3722
be8b11bb
AM
37232011-12-24 Alan Mackenzie <acm@muc.de>
3724
3725 Introduce a mechanism to widen the region used in context font
1d00653d 3726 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3727
1d00653d
SM
3728 * progmodes/cc-langs.el (c-before-font-lock-functions):
3729 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3730 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3731 functions to be run just before context (etc.) font locking.
3732
3733 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3734 New, functionality extracted from
be8b11bb 3735 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3736 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3737 (c-after-change): Set c-in-after-change-fontification.
3738 (c-set-fl-decl-start): Rejig its interface, so it can be called
3739 from both after-change and context fontifying.
b81d40f0
JB
3740 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3741 New functions.
3742 (c-standard-font-lock-fontify-region-function): New variable.
3743 (c-font-lock-fontify-region): New function.
be8b11bb 3744
341cf6ac
JL
37452011-12-24 Juri Linkov <juri@jurta.org>
3746
3747 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3748 (Bug#10348)
3749
bffcee0a
MA
37502011-12-23 Michael Albinus <michael.albinus@gmx.de>
3751
3752 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3753 existence of source file. (Bug#10325)
3754
cb5e207c
AM
37552011-12-23 Alan Mackenzie <acm@muc.de>
3756
3757 Fix unstable fontification inside templates.
3758
b81d40f0
JB
3759 * progmodes/cc-langs.el (c-before-font-lock-functions):
3760 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3761 additionally has c-set-fl-decl-start. The other languages (apart
3762 from AWK) have that as a single entry.
3763
b81d40f0
JB
3764 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3765 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3766 c-set-fl-decl-start.
3767
b81d40f0
JB
3768 * progmodes/cc-mode.el (c-common-init, c-after-change):
3769 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3770 (c-set-fl-decl-start): New function, extracted from
3771 c-font-lock-enclosing-decls and enhanced.
3772
60ff536c
JB
37732011-12-23 Juanma Barranquero <lekktu@gmail.com>
3774
3775 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3776
1c4757d6
JL
37772011-12-22 Juri Linkov <juri@jurta.org>
3778
3779 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3780
d031f2c7
CY
37812011-12-22 Chong Yidong <cyd@gnu.org>
3782
3783 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3784
bace743a
DA
37852011-12-21 Drew Adams <drew.adams@oracle.com>
3786
3787 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3788
728a1f2b
JC
37892011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3790
3791 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3792
0d373f73
TZ
37932011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3794
fec0aaa4
TZ
3795 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3796 highlighting and support. Fix up comments for capitalization.
3797 (cfengine-mode-debug): New var.
3798 (cfengine3-mode): Change the modeline indicator to "CFE3".
3799 (cfengine3-font-lock-keywords): Improve defun highlighting.
3800 (cfengine2-actions): Rename from `cfengine-actions'.
3801 (cfengine2-font-lock-keywords): Rename from
3802 `cfengine-font-lock-keywords'.
3803 (cfengine2-imenu-expression): Rename from
3804 `cfengine-imenu-expression'.
3805 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3806 (cfengine2-beginning-of-defun): Rename from
3807 `cfengine-beginning-of-defun'.
3808 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3809 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3810 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3811 modeline indicator to "CFE2".
3812 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3813 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3814
bc86f573
CY
38152011-12-21 Chong Yidong <cyd@gnu.org>
3816
3817 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3818 filename argument.
3819
d45ba96b
MR
38202011-12-20 Martin Rudalics <rudalics@gmx.at>
3821
3822 * window.el (window-normalize-buffer-to-display): Remove.
3823 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3824
a6198c90
CY
38252011-12-19 Chong Yidong <cyd@gnu.org>
3826
3827 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3828 Don't signal an error in a predicate function; return non-nil.
3829 (vc-dir-mark-file): Move the error here.
3830 (vc-dir-mark-unmark): If acting on the region, keep going if one
3831 of the entries cannot be marked/unmarked.
3832 (vc-dir-mark-all-files): If current entry is a directory, mark
3833 only child files, as documented.
3834
34c5fb55
VB
38352011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3836
3837 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3838 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3839 addition.
3840
c803b2b7
JD
38412011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3842
3843 * term/ns-win.el (ns-get-selection-internal)
3844 (ns-store-selection-internal): Declare.
1154d12e
JB
3845 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3846 Declare as obsolete.
3847 (ns-get-pasteboard, ns-paste-secondary):
3848 Use ns-get-selection-internal.
3849 (ns-set-pasteboard, ns-copy-including-secondary):
3850 Use ns-store-selection-internal.
c803b2b7 3851
9cff91f8 38522011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3853
3854 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3855 (vc-deduce-fileset): Doc fix.
99a289d9 3856
f16c898a
AS
38572011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3858
3859 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3860
763237c4
SS
38612011-12-13 Sam Steingold <sds@gnu.org>
3862
3863 * man.el (Man-getpage-in-background): When running under a
3864 window-system, ignore $MANWIDTH and $COLUMNS.
3865
5fc1c122
KH
38662011-12-15 Kenichi Handa <handa@m17n.org>
3867
3868 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3869 (setup-ethiopic-environment-internal): Comment out key-binding for
3870 ethio-toggle-punctuation.
3871
13d49cbb
AM
38722011-12-13 Alan Mackenzie <acm@muc.de>
3873
898169a2
AM
3874 Add the switch statement to AWK Mode.
3875
7a71b18d 3876 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3877 "default" to the keywords regexp.
3878
7a71b18d 3879 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3880 expression as the rest.
1d00653d
SM
3881 (c-nonlabel-token-key): Allow string literals for AWK.
3882 Refactor for the other modes.
898169a2 3883
13d49cbb 3884 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3885 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3886 routines. Limit backward searching in c-font-lock-enclosing.decl.
3887
3888 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3889 pp-state and literal type in addition to the limits.
1d00653d 3890 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3891 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3892 (c-slow-in-literal, c-fast-in-literal): Remove.
3893 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3894
3895 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3896 being in a literal. Add a limit for backward searching.
3897
3898 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3899 c-slow-in-literal.
3900
15e0efc7
SM
39012011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3904
454592a6
MR
39052011-12-13 Martin Rudalics <rudalics@gmx.at>
3906
3907 * window.el (delete-other-windows): Use correct frame in call to
3908 window-with-parameter.
3909
87393f26
DP
39102011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3911
3912 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3913 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3914 (makefile-gmake-statements, makefile-makepp-statements):
3915 Use it and add new makepp keywords.
3916 (makefile-makepp-font-lock-keywords): Add new patterns.
3917 (makefile-match-function-end): Match new [...] and [[...]].
3918
11636b22
JB
39192011-12-11 Juanma Barranquero <lekktu@gmail.com>
3920
3921 * ses.el (ses-call-printer-return, ses-cell-property-get)
3922 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3923 (ses-create-cell-variable, ses-reset-header-string)
3924 (ses-cell-set-formula, ses-repair-cell-reference-all)
3925 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3926 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3927 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3928 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3929 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3930 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3931 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3932 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3933 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3934 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3935 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3936 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3937
cf018193
VB
39382011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3939
3940 * ses.el: The overall change is to add cell renaming, that is
3941 setting fancy names for cell symbols other than name matching
3942 "\\`[A-Z]+[0-9]+\\'" regexp .
3943 (ses-create-cell-variable): New defun.
3944 (ses-relocate-formula): Relocate formulas only for cells the
3945 symbols of which are not renamed, i.e. symbols whose names do not
3946 match regexp "\\`[A-Z]+[0-9]+\\'".
3947 (ses-relocate-all): Relocate values only for cells the symbols of
3948 which are not renamed.
3949 (ses-load): Create cells variables as the (ses-cell ...) are read,
3950 in order to check row col consistency with cell symbol name only
3951 for cells that are not renamed.
3952 (ses-replace-name-in-formula): New defun.
3953 (ses-rename-cell): New defun.
3954
ee957461
CY
39552011-12-11 Chong Yidong <cyd@gnu.org>
3956
3957 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3958 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3959
9a9e9ef0
MR
39602011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3961
3962 * window.el (other-window): Fix docstring.
3963
92a8eba5
EZ
39642011-12-10 Eli Zaretskii <eliz@gnu.org>
3965
3966 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3967 `from' or `to' address before taking its substring.
3968 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3969 encoded name is chopped in the middle of the encoded string, and
3970 thus displayed encoded.
3971
e152e577
JB
39722011-12-10 Juanma Barranquero <lekktu@gmail.com>
3973
3974 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3975
e5d84bfe
EZ
39762011-12-10 Eli Zaretskii <eliz@gnu.org>
3977
3978 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3979 to use texinfo-update-node and commands that call it if the
3980 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3981 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3982 (texinfo-all-menus-update, texinfo-master-menu)
3983 (texinfo-update-node, texinfo-every-node-update)
3984 (texinfo-multiple-files-update): Doc fix. Warn against updating
3985 all the @node lines.
3986 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3987 argument is numeric. Explain better in the doc string what the
3988 function really does.
3989 (texinfo-insert-master-menu-list): Improve the error message
3990 displayed if there's no menu in the Top node.
3991 (Bug#2975) See also this thread:
e5d84bfe
EZ
3992 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3993
1d84e9bb
MG
39942011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3995
3996 * speedbar.el (speedbar-supported-extension-expressions):
3997 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3998
382c953b
JB
39992011-12-09 Juanma Barranquero <lekktu@gmail.com>
4000
4001 * printing.el (pr-mode-alist):
4002 * simple.el (filter-buffer-substring-functions)
4003 (completion-list-insert-choice-function):
4004 * window.el (window-with-parameter, window-atom-root)
4005 (window-sides-slots, window-size-fixed, window-min-delta)
4006 (window-max-delta, window--resize-mini-window)
4007 (window--resize-child-windows-normal, window-tree)
4008 (delete-other-windows, quit-window, split-window)
4009 (display-buffer-record-window, special-display-buffer-names)
4010 (special-display-regexps, special-display-popup-frame)
4011 (same-window-p, split-window-sensibly)
4012 (display-buffer-overriding-action, display-buffer-alist)
4013 (display-buffer-base-action, display-buffer, switch-to-buffer)
4014 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4015 (fit-window-to-buffer, recenter-positions)
4016 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4017 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4018 and remove unneeded backslashes in docstrings.
4019
39c9faef
SM
40202011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4021
98449af8
SM
4022 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4023
39c9faef
SM
4024 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4025 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4026 end in ".mk".
4027 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4028 when reading the makefile (bug#10116).
4029
86ed9fdc
SM
40302011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4033 (bug#10116).
4034
5580f89d
GM
40352011-12-06 Glenn Morris <rgm@gnu.org>
4036
4037 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4038
28d3917c
CY
40392011-12-06 Chong Yidong <cyd@gnu.org>
4040
4041 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4042
a98edce9
JB
40432011-12-06 Juanma Barranquero <lekktu@gmail.com>
4044
4045 * textmodes/table.el (table-shorten-cell): Fix typo.
4046
e65adfac
CG
40472011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4048
4049 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4050
71cc0b74
EZ
40512011-12-05 Eli Zaretskii <eliz@gnu.org>
4052
4053 * descr-text.el (describe-char): Fix display of strong
4054 right-to-left characters and directional embeddings and overrides.
4055
4056 * simple.el (what-cursor-position): Fix display of codepoints of
4057 strong right-to-left characters.
4058
315bc30d
CY
40592011-12-05 Chong Yidong <cyd@gnu.org>
4060
4061 * faces.el (read-color): Doc fix.
4062
58a70b94
GM
40632011-12-05 Glenn Morris <rgm@gnu.org>
4064
4065 * align.el (align--set-marker): Add doc-string.
4066 Don't try to move something that is not a marker. (Bug#10216)
4067
5158face
GM
40682011-12-04 Glenn Morris <rgm@gnu.org>
4069
4070 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4071 overly zealous deletion of trailing whitespace.
4072
520fca41
JB
40732011-12-04 Juanma Barranquero <lekktu@gmail.com>
4074
4075 * server.el (server-delete-client): On Windows, do not try to delete
4076 the only terminal.
4077 (server-process-filter): On Windows, treat requests for a tty frame as
4078 if they were for a GUI frame if the running server is in GUI mode.
4079
5e605a2e
GM
40802011-12-03 Glenn Morris <rgm@gnu.org>
4081
4082 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4083
5c3fe83f
SM
40842011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4085
6f5e57e7
SM
4086 * electric.el: Streamline electric-indent's hook.
4087 (electric-indent-chars): Revert to simple list.
4088 (electric-indent-functions): New var.
4089 (electric-indent-post-self-insert-function): Use it.
4090
5c3fe83f
SM
4091 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4092 there's no inferior buffer (bug#10196).
4093 (prolog-consult-compile): Don't use toggle-read-only.
4094
6bdac736
MA
40952011-12-02 Michael Albinus <michael.albinus@gmx.de>
4096
4097 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4098 interrupt. (Bug#10187)
4099
6131ba7f
SM
41002011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4101
99c79fee
SM
4102 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4103 (bug#9160).
4104
6131ba7f
SM
4105 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4106 (bug#10191).
4107
cb0a02ea
JL
41082011-12-02 Juri Linkov <juri@jurta.org>
4109
4110 * info.el (Info-search): Display "end of manual" when Isearch
4111 reaches the end of single-file Info manual. (Bug#9918)
4112
66e0570c
EZ
41132011-12-02 Eli Zaretskii <eliz@gnu.org>
4114
4115 * isearch.el (isearch-message-prefix): Run the input method part
4116 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4117
02b16839
JL
41182011-12-02 Juri Linkov <juri@jurta.org>
4119
4120 * isearch.el (isearch-occur): Use `word-search-regexp' for
4121 `isearch-word'.
4122 (isearch-search-and-update): Add condition for `isearch-word' and
4123 call `word-search-regexp'. (Bug#10145)
4124
0b950688
GM
41252011-12-01 Glenn Morris <rgm@gnu.org>
4126
4127 * eshell/em-hist.el (eshell-hist-initialize):
4128 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 4129 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 4130
9505c3c7
SM
41312011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4134
1bbe96b2 41352011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 4136
a1beca85
SM
4137 * progmodes/verilog-mode.el (verilog-pretty-expr):
4138 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
4139 verilog, such as += *= and the like.
4140 (verilog-assignment-operator-re): Regular expression to find the
4141 assigment operator in a verilog assignment.
4142 (verilog-assignment-operation-re): Regular expression to find an
4143 assignment statement for pretty-expr.
4144 (verilog-in-attribute-p): Query returns true if point is in an
4145 attribute context; used to skip these for expression line up from
4146 pretty-expr.
4147 (verilog-in-parameter-p): Query returns true if point is in an
4148 parameter definition context; used to skip these for expression
4149 line up from pretty-expr.
4150 (verilog-in-parenthesis-p): Query returns true if point is in a
4151 parenthetical expression, specifically ( ) but not [ ] or { };
4152 used by pretty-expr.
4153 (verilog-just-one-space): If there is no space, don't add one.
4154 (verilog-get-lineup-indent-2): Specifically skip just attribute
4155 contexts for expression lineup, rather than skipping all
4156 parenthetical expressions.
4157 (verilog-calculate-indent): Fix comment, and fix indent.
4158 (verilog-do-indent): Indent declarations in lists (suggested by
4159 Joachim Lechner).
4160 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4161 skeleton items.
4162 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4163 by Alain Mellan).
4164
1bbe96b2 41652011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
4166
4167 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4168 parameters with embedded comments. Reported by Ray Stevens.
4169 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4170 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4171 Reported by Tim Holt.
4172 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4173 instantiated by upper module causing wrong expansion until AUTOed a
4174 second time. Reported by K C Buckenmaier.
4175 (verilog-diff-auto): Fix showing .* as a difference when
4176 `verilog-auto-star-save' off. Reported by Dan Dever.
4177 (verilog-auto-reset, verilog-read-always-signals)
4178 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4179 temporary signals in reset list if
4180 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
4181 style to each signal's assignment type, bug381.
4182 Reported by Thomas Esposito.
6288f0ca
WS
4183 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4184 (verilog-uvm-statement-re): Support UVM indentation and
4185 highlighting, with old OVM keywords only.
a1beca85 4186 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
4187 Support AUTOTIEOFF creating non-wire data types.
4188 Suggested by Jonathan Greenlaw.
6288f0ca
WS
4189 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4190 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4191 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
4192 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4193 Fix mismatching parenthesis inside commented out code when deleting
382c953b 4194 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
4195 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4196 non-numeric vector width. Reported by Alex Reed.
4197 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 4198 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
4199 (verilog-auto-delete-trailing-whitespace):
4200 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
4201 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4202 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4203 Fix verilog-scan-cache corruption when running user AUTO expansion
4204 hooks that call indentation routines.
4205 (verilog-simplify-range-expression): Fix typo ignoring lower case
4206 identifiers.
4207 (verilog-delete-auto): Fix delete-autos to also remove user created
4208 automatics, as long as they start with AUTO.
4209 (verilog-batch-diff-auto, verilog-diff-auto)
4210 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4211 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4212 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4213 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
4214 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4215 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
4216 is disabled and its cache will get corrupt, causing AUTOS not to
4217 expand. Instead use only -quick functions.
4218 (verilog-scan-region): Fix scanning over escaped quotes.
4219 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4220 (verilog-re-search-backward-quick)
4221 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4222 related functions now ignore strings, to fix misparsing of strings
4223 with magic comments embedded in them.
a1beca85
SM
4224 (verilog-read-auto-template):
4225 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4226 Reported by Brad Dobbie.
4227 (verilog-read-auto-template):
4228 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 4229 Reported by Brad Dobbie.
6288f0ca
WS
4230 (verilog-auto-inst, verilog-auto-inst-param)
4231 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4232 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4233 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
4234 debugging templates without merge conflicts, bug357.
4235 Reported by Brad Dobbie.
4236 (verilog-read-auto-template):
4237 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
4238 Reported by Brad Dobbie.
4239 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4240 abbrevs so user won't be asked to save.
4241 (verilog-read-auto-lisp-present): Fix to start at beginning of
4242 buffer in case called outside of verilog-auto.
4243 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4244 to "X-2". Reported by Matthew Myers.
4245 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4246 all inputs from module templates. Reported by Leith Johnson.
4247 (verilog-module-inside-filename-p): Fix locating programs as with
4248 modules.
4249 (verilog-auto-inst-port): Fix vl-width expressions when using
4250 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4251 (verilog-decls-get-regs, verilog-decls-get-signals,
4252 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4253 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4254 verilog-read-decls): Combine reg and wire structures into one var
4255 structure to represent SystemVerilog concepts.
4256 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4257 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
4258 (verilog-auto-wire-type, verilog-insert-definition):
4259 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
4260 SystemVerilog "logic" keyword instead of "wire"/"reg".
4261 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4262 to declares outputs that also have assignments (presumably in an
a1beca85
SM
4263 ifdef or generate if so there's not a driver conflict).
4264 Reported by Matthew Myers.
4265 (verilog-auto-declare-nettype, verilog-insert-definition):
4266 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
4267 `default_nettype none. Reported by Julian Gorfajn.
4268 (verilog-read-always-signals-recurse, verilog-read-decls)
4269 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4270 malformed end statement, bug325. Reported by Joshua Wise and
4271 Andrew Drake.
4272 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4273 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
4274 when expanding .* in interfaces, bug320.
4275 Reported by Pierre-David Pfister.
6288f0ca 4276 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
4277 name and open parenthesis, bug317.
4278 Reported by Pierre-David Pfister.
6288f0ca
WS
4279 (verilog-simplify-range-expression): Fix simplification of
4280 multiplications inside AUTOWIRE connections, bug303.
4281 (verilog-auto-inst-port): Support parameter expansion in
4282 multidimensional arrays.
4283 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4284 after "assert property". Reported by Julian Gorfajn.
4285 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4286 with multiplication, bug303.
4287 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4288 Reported by Jan Frode Lonnum.
4289
1bbe96b2
GM
42902011-11-30 Juanma Barranquero <lekktu@gmail.com>
4291
4292 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4293 (hfy-shell-file-name, hfy-shell):
4294 * international/fontset.el (x-decompose-font-name): Fix typos.
4295
42962011-11-29 Ken Brown <kbrown@cornell.edu>
4297
4298 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4299 (gdb-version): Remove defvar.
4300 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4301 (gdb-gud-context-command, gdb-non-stop-handler)
4302 (gdb-current-context-command, gdb-stopped): Use it.
4303 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
4304 (gdb-non-stop-handler): Don't enable pretty-printing here.
4305 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
4306 non-stop mode. Use the following.
4307 (gdb-check-target-async): New defun.
4308 (gud-watch, gdb-stopped): Fix whitespace.
4309 (gdb-get-source-file): Don't try to display the source file if
4310 `gdb-main-file' is nil.
4311
43122011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 * align.el: Try to generate fewer markers (bug#10047).
4315 (align--set-marker): New macro.
4316 (align-region): Use it.
4317
c935221f
SM
43182011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4321
e70b5064
CY
43222011-11-29 Chong Yidong <cyd@gnu.org>
4323
4324 * indent.el (indent-for-tab-command, indent-according-to-mode):
4325 Doc fix.
4326 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4327
f3af92b7
MA
43282011-11-29 Michael Albinus <michael.albinus@gmx.de>
4329
4330 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4331 aware of remote file names. (Bug#10124)
4332
ed472be9
CY
43332011-11-29 Chong Yidong <cyd@gnu.org>
4334
4335 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4336
24510c22
SM
43372011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * files.el (find-file): Don't use force-same-window (bug#10144).
4340 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4341 use pop-to-buffer if the selected window can't be used.
4342 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4343
c60c3703
EZ
43442011-11-28 Eli Zaretskii <eliz@gnu.org>
4345
4346 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4347 special-mode-map.
4348
e95def75
CY
43492011-11-28 Chong Yidong <cyd@gnu.org>
4350
4351 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
4352
c3f1c606
NR
43532011-11-27 Nick Roberts <nickrob@snap.net.nz>
4354
4355 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
4356 gdb-get-source-file-list on gdb-create-source-file-list.
4357
00db469c
EZ
43582011-11-26 Eli Zaretskii <eliz@gnu.org>
4359
4360 * whitespace.el (whitespace-newline): Use a different foreground
4361 color for 16-color light-background displays.
4362
4ad3bc2a
CY
43632011-11-24 Chong Yidong <cyd@gnu.org>
4364
4365 * window.el (display-buffer--special-action): Doc fix.
4366
e9fce1ac
JB
43672011-11-25 Juanma Barranquero <lekktu@gmail.com>
4368
4369 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
4370 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
4371 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
4372 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
4373 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
4374 (avl-tree-stack-first):
4375 * emacs-lisp/cconv.el (cconv--analyse-use):
4376 * net/gnutls.el (gnutls-negotiate): Fix typos.
4377
cb825e5d
GM
43782011-11-24 Glenn Morris <rgm@gnu.org>
4379
3adbe224
GM
4380 * lpr.el (lpr-windows-system, lpr-lp-system):
4381 * mail/binhex.el (binhex-begin-line):
4382 * progmodes/grep.el (grep-history, grep-find-history):
4383 * textmodes/flyspell.el:
4384 * vc/pcvs-defs.el (cvs-global-menu):
4385 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
4386 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
4387 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
4388
321decc8
GM
4389 * net/tls.el: Fix case of "GnuTLS".
4390
420b63ad
GM
4391 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4392
cb825e5d
GM
4393 * version.el (emacs-build-system): Give it a doc-string.
4394
a0649f08
JL
43952011-11-24 Juri Linkov <juri@jurta.org>
4396
4397 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
4398
c0bc0fd4
GM
43992011-11-24 Glenn Morris <rgm@gnu.org>
4400
4401 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
4402 if called on a non-mime message just toggle the headers. (Bug#8006)
4403
20db1522
JB
44042011-11-24 Juanma Barranquero <lekktu@gmail.com>
4405
4406 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
4407 (allout-lead-with-comment-string, allout-structure-deleted-hook)
4408 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
4409 (allout-rebullet-heading, allout-open-sibtopic)
4410 (allout-toggle-current-subtree-encryption)
4411 (allout-toggle-subtree-encryption, allout-encrypt-string)
4412 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
4413 (allout-distinctive-bullets-string, allout-auto-activation):
4414 * window.el (window-normalize-buffer-to-display):
4415 * progmodes/verilog-mode.el (verilog-batch-indent):
4416 * textmodes/bibtex.el (bibtex-field-braces-opt)
4417 (bibtex-field-strings-opt):
4418 * vc/cvs-status.el (cvs-tree-merge):
4419 Fix typos.
4420
7262a87c
MA
44212011-11-23 Michael Albinus <michael.albinus@gmx.de>
4422
4423 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
4424 `non-essential' to t, in order to avoid remote connections.
4425
283430a1
EZ
44262011-11-23 Eli Zaretskii <eliz@gnu.org>
4427
a1beca85
SM
4428 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4429 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
4430 case-insensitively.
4431
d2992a38
ML
44322011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4433
4434 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
4435
50419064
GM
44362011-11-23 Glenn Morris <rgm@gnu.org>
4437
da94eca1
GM
4438 * paths.el (rmail-file-name): Reformat the doc-string so that it
4439 is picked up.
4440
9aac4de2
GM
4441 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
4442 (rmail-auto-file): Ignore case in the "special" field names,
4443 as mail-fetch-field does for all others.
4444
8038d2d2
GM
4445 * mail/rmail.el (rmail-forward):
4446 * mail/rmailkwd.el (rmail-set-label):
4447 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
4448 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
4449
f3fe222a
GM
4450 * mail/rmail.el (rmail-current-message): Doc fix.
4451
50419064
GM
4452 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
4453
28109f49
SM
44542011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * server.el (server-eval-and-print): Allow C-g (bug#6585).
4457
394c65f1
GM
44582011-11-22 Glenn Morris <rgm@gnu.org>
4459
4460 * mail/rmailmm.el (test-rmail-mime-handler)
4461 (test-rmail-mime-bulk-handler)
4462 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
4463
f2a0aa3a
JL
44642011-11-21 Juri Linkov <juri@jurta.org>
4465
1154d12e
JB
4466 * calc/calc.el (calc-read-key-sequence):
4467 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 4468
9c34a344
LMI
44692011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4470
4471 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
4472 Tell the caller that the next line needs recomputation, even
4473 though it doesn't start a sexp (bug#10094).
4474
f04a3be9
SM
44752011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4476
4477 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
4478
7978747f
SM
44792011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4480
f04a3be9
SM
4481 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4482 Use force-same-window.
7978747f 4483
fe7a3057
JB
44842011-11-20 Juanma Barranquero <lekktu@gmail.com>
4485
4486 * descr-text.el (describe-char-unicode-data):
4487 * json.el (json-string-escape):
4488 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
4489 (Footnote-unicode, Footnote-style-p):
4490 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
4491
24901d61
CY
44922011-11-20 Chong Yidong <cyd@gnu.org>
4493
4494 * window.el (replace-buffer-in-windows): Restore interactive spec.
4495
bac7ff22
SM
44962011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4497
24f3d7b9
SM
4498 * electric.el (electric-indent-mode): Fix last change (too optimistic).
4499
bac7ff22
SM
4500 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
4501 (byte-compile-global-not-obsolete-vars): New var.
4502 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
4503 Use it.
4504 (byte-compile-warn-obsolete): Align text with the one in *Help*.
4505
cd1181db
JB
45062011-11-20 Juanma Barranquero <lekktu@gmail.com>
4507
4508 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
4509 * progmodes/pascal.el (electric-pascal-equal):
4510 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
4511 * xml.el (xml-substitute-special): Fix typos.
4512
7fb18e9e
GM
45132011-11-20 Glenn Morris <rgm@gnu.org>
4514
4515 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4516 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4517 Doc fixes.
4518 (rmail-decode-mime-charset): Mark as obsolete.
4519
4520 * mail/rmailsum.el (rmail-message-regexp-p-1):
4521 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4522 Before using mime functions, check they are set. (Bug#10077)
4523
d5a6b3ba
JL
45242011-11-19 Juri Linkov <juri@jurta.org>
4525
4526 * info.el (Info-finder-find-node): Use `package--builtins' instead
4527 of `package-alist'. Use node names formed by the pattern "Keyword "
4528 and the keyword name.
4529
e981b61f
AS
45302011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4531
1d00653d 4532 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4533
3ffbc301
JL
45342011-11-19 Juri Linkov <juri@jurta.org>
4535
4536 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4537 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4538 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4539 `old-history', `old-history-forward'. Add let-binding
4540 `window-selected'. Remove calls to `kill-buffer',
4541 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4542 before calling `Info-find-node', so `Info-find-node-2' will reread
4543 the Info file. Restore window positions only when `window-selected'
4544 is non-nil.
4545
30c62133
JL
45462011-11-19 Juri Linkov <juri@jurta.org>
4547
4548 * isearch.el (isearch-lazy-highlight-new-loop):
4549 Remove condition `(not isearch-error)'. (Bug#9918)
4550
4551 * misearch.el (multi-isearch-search-fun): Add condition
4552 `(not bound)' to ignore lazy-highlighting search.
4553 Add the search-failed message "end of multi" when the end of
4554 multi-sequence is reached. Uncapitalize the search-failed
4555 message "Repeat for next buffer".
4556
4557 * info.el (Info-search): Add the search-failed message
4558 "end of the manual" when the end of the manual is reached
4559 in Isearch mode.
4560
645ca9cf
JL
45612011-11-19 Juri Linkov <juri@jurta.org>
4562
4563 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4564 Use non-destructive `remove' instead of `delete' because
4565 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4566 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4567
df754f66
JL
45682011-11-19 Juri Linkov <juri@jurta.org>
4569
4570 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4571 to nil instead of binding `search-ring' and `regexp-search-ring'.
4572 (Bug#9185)
4573
0e23d96a
EZ
45742011-11-19 Eli Zaretskii <eliz@gnu.org>
4575
4576 * simple.el (line-move): Force movement by logical lines for any
4577 hscrolled window, not only when auto-hscroll-mode is on.
4578 (line-move-visual): Update doc string to that effect. (Bug#10076)
4579
8a6ccb66
AS
45802011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4581
4582 * language/european.el (macintosh): Define as alias for mac-roman.
4583
49ae5b39
EZ
45842011-11-19 Eli Zaretskii <eliz@gnu.org>
4585
4586 * mail/rmailmm.el (rmail-mime-display-header)
4587 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4588 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4589 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4590 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4591 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4592 of a raw aref.
4593 (rmail-mime-entity-segment): To get past the tagline, move forward
4594 2 more lines, to account for the 2 empty lines that precede and
4595 follow the line with the buttons.
4596 (rmail-mime-update-tagline): Move one more line, to get past the
4597 empty line that follows the buttons in the tagline. (Bug#9520)
4598
c56cad4a
MR
45992011-11-19 Martin Rudalics <rudalics@gmx.at>
4600
4601 * window.el (window-max-delta-1, window-min-delta-1)
4602 (window-min-size-1, window-state-get-1, window-state-put-1)
4603 (window-state-put-2): Use "window--" prefix.
4604
cbe71af3
SM
46052011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4606
2ad52c60
SM
4607 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4608 (smie-warning-count): New var.
4609 (smie-set-prec2tab): Use it.
4610 (smie-bnf->prec2): Improve warnings. Add docstring.
4611 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4612 (smie-bnf--set-class): New function.
4613 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4614 corner case.
4615
6944dbc1
SM
4616 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4617 (compilation-error-properties, compilation-move-to-column):
4618 Handle compilation-first-column while in the target buffer.
4619
c400c4d7
SM
4620 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4621 Don't hardcode point-min==1.
4622
6dbe3e96
SM
4623 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4624 (eshell-rewrite-for-command): Remove workaround.
4625 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4626 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4627 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4628
cbe71af3
SM
4629 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4630
a8e1496d
GM
46312011-11-17 Glenn Morris <rgm@gnu.org>
4632
4633 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4634 Ignore buffer-local generated-autoload-file if it is the same
4635 as the global value. (Bug#10049)
4636
df85d315
JB
46372011-11-17 Juanma Barranquero <lekktu@gmail.com>
4638
4639 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4640 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4641 (reftex-toc-previous-heading, reftex-toc-max-level)
4642 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4643 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4644 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4645 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4646 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4647 (reftex-toc-rename-label, reftex-toc-visit-location)
4648 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4649 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4650 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4651 leaving "*toc*" only for references to the buffer.
4652
a0c2d0ae
MR
46532011-11-17 Martin Rudalics <rudalics@gmx.at>
4654
4655 * window.el (window-resize, delete-window, split-window):
4656 Replace window-splits by window-combination-resize.
1d00653d 4657 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4658
35c0bac8
GM
46592011-11-17 Glenn Morris <rgm@gnu.org>
4660
4661 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4662 Make bash entry derive from sh entry, not shell entry.
4663
d0c8fc8a
MA
46642011-11-16 Michael Albinus <michael.albinus@gmx.de>
4665
d0c8fc8a
MA
4666 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4667 properties of linked files. (Bug#9879)
4668
7262a87c
MA
4669 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4670 local file name.
4671
7877f373
JB
46722011-11-16 Juanma Barranquero <lekktu@gmail.com>
4673
4674 * menu-bar.el (menu-bar-file-menu):
4675 * printing.el (pr-ps-utility):
4676 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4677 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4678 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4679 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4680 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4681 (icalendar--convert-cyclic-to-ical)
4682 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4683 (icalendar--convert-ical-to-diary)
4684 (icalendar--convert-recurring-to-diary)
4685 (icalendar--convert-non-recurring-all-day-to-diary)
4686 (icalendar-import-format-sample):
4687 * progmodes/idlw-shell.el (idlwave-shell-mode):
4688 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4689 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4690 (vhdl-ps-print-init): Fix typos.
4691
10649b82
KM
46922011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4693
9d0cfcd6
GM
4694 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4695 FSF and collapse date sequence, obscure author/maintainer email address
4696 better, remove extra version line, track relocation of author's webpage.
10649b82 4697
9d0cfcd6
GM
4698 * progmodes/python.el (python-pdbtrack-input-prompt)
4699 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4700 regular python pdb prompts. Adjustments shamelessly taken exactly as
4701 suggested in EmacsWiki page (tiny change):
4702 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4703
58179cce
JB
47042011-11-16 Juanma Barranquero <lekktu@gmail.com>
4705
4706 * expand.el (expand-pos, expand-index, expand-point):
4707 Remove redundant info from docstring.
4708 (expand-add-abbrevs): Doc fix.
4709 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4710 (expand-sample-perl-mode-expand-list): Fix typos.
4711
4712 * net/dbus.el (dbus-event-member-name):
4713 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4714 * term/pc-win.el (msdos-create-frame-with-faces):
4715 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4716
b6f67890
MR
47172011-11-16 Martin Rudalics <rudalics@gmx.at>
4718
4719 * window.el (split-window, window-state-get-1)
4720 (window-state-put-1, window-state-put-2): Rename occurrences of
4721 window-nest to window-combination-limit.
1d00653d 4722 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4723
ce7ddba0
CY
47242011-11-16 Chong Yidong <cyd@gnu.org>
4725
4726 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4727 regexp (Bug#10033).
4728
3ae704f4
SM
47292011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4730
4731 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4732 `completing-read' will remove *Completions* and will preserve
4733 current-buffer for us.
4734 (tmm-add-prompt): Users of *Completions* will always (re)set its
4735 major mode.
4736 (tmm-old-comp-map): Remove.
4737
6ad1cdde
GM
47382011-11-16 Glenn Morris <rgm@gnu.org>
4739
4740 * mail/rmailedit.el: Require rmailmm when compiling.
4741 (rmail-old-mime-state): New declaration.
4742 (rmail-edit-current-message): If editing a mime message,
4743 edit the "raw" message from the mbox buffer.
4744 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4745
d20faa20
GM
47462011-11-15 Glenn Morris <rgm@gnu.org>
4747
4748 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4749 which wasn't being used. Add optional arg to force given state.
4750 (rmail-mime): Add optional arg to force given state.
4751
c7015153
JB
47522011-11-15 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4755 * frame.el (display-mm-dimensions-alist):
4756 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4757 (outline-move-subtree-down):
4758 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4759 (newsticker--treeview-do-get-node):
4760 * net/quickurl.el (quickurl-list-buffer-name):
4761 * progmodes/dcl-mode.el (dcl-mode):
4762 * progmodes/gdb-mi.el (gdb-mapcar*):
4763 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4764
45261b50
GM
47652011-11-15 Glenn Morris <rgm@gnu.org>
4766
4767 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4768 in a boolean sense, so just make it a boolean, and fix the doc.
4769 (rmail-show-mime-function, rmail-mime-feature)
4770 (rmail-require-mime-maybe): Doc fixes.
4771 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4772
4773 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4774
0d26e0b6
JB
47752011-11-15 Juanma Barranquero <lekktu@gmail.com>
4776
4777 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4778 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4779 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4780 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4781
447f30f6
GM
47822011-11-15 Glenn Morris <rgm@gnu.org>
4783
672b871d
GM
4784 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4785 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4786 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4787 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4788 (rmail-mime, rmail-show-mime): Doc fixes.
4789
f6aa5bb1
GM
4790 * term/ns-win.el (mode-line-frame-identification):
4791 Leave it alone. (Bug#10051)
4792
947cd66b
GM
4793 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4794
447f30f6
GM
4795 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4796 Handle empty buffers. (Bug#9978)
4797
0b381c7e
JB
47982011-11-14 Juanma Barranquero <lekktu@gmail.com>
4799
4800 * international/mule.el (define-charset):
4801 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4802 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4803 * progmodes/verilog-mode.el (verilog-backward-token):
4804 * textmodes/ispell.el (lookup-words):
4805 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4806
71e027ac
GM
48072011-11-14 Glenn Morris <rgm@gnu.org>
4808
56632ce4
GM
4809 * progmodes/executable.el
4810 (executable-make-buffer-file-executable-if-script-p):
4811 Handle file-modes returning nil.
4812
40500957
GM
4813 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4814 message - not necessary, and causes problems. (Bug#9831)
4815
071c2340
GM
4816 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4817
d3cfca60
GM
4818 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4819
71e027ac
GM
4820 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4821 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4822 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4823
89d61221
MR
48242011-11-12 Martin Rudalics <rudalics@gmx.at>
4825
4826 * window.el (window-resize, delete-window): Use window-splits
4827 variable instead of function.
4828 (window-state-get-1, window-state-put-2, window-state-put):
4829 Don't deal with windows' splits status.
4830
98282f6f
GM
48312011-11-12 Glenn Morris <rgm@gnu.org>
4832
4833 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4834 (apropos-documentation): Doc fixes.
4835
40a8bdf6
JB
48362011-11-11 Juanma Barranquero <lekktu@gmail.com>
4837
4838 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4839 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4840
65bd19ff
SM
48412011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4842
4843 * electric.el (electric-indent-post-self-insert-function): Make it
4844 possible for a char to only indent in some circumstances.
4845 (electric-indent-mode): Simplify.
4846
54f9154c
MR
48472011-11-11 Martin Rudalics <rudalics@gmx.at>
4848
4849 * window.el (windows-with-parameter): Remove unused function.
4850 (windows-at-side): Rename to window-at-side-list.
4851 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4852 (window-side-check, window-size-ignore, window-size-fixed-1)
4853 (window-in-direction-2): Prefix with "window--".
4854 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4855
68cbc58b
GM
48562011-11-11 Glenn Morris <rgm@gnu.org>
4857
4858 * subr.el (eval-after-load): If FILE is already loaded,
4859 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4860
b2621720
GM
48612011-11-10 Glenn Morris <rgm@gnu.org>
4862
9a4de110
GM
4863 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4864 Call svn via vc-svn-command rather than vc-do-command.
4865 (vc-svn-command): Add --non-interactive. (Bug#9993)
4866 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4867
b2621720
GM
4868 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4869 Add toggle-read-only. (Bug#7292)
4870 * files.el (toggle-read-only): Mention that it should only
4871 be used interactively. (Bug#10006)
4872
1dce7193
SM
48732011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4874
d9ac1a1e
SM
4875 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4876 Adjust regexp for OCaml warnings.
4877
0c325082
SM
4878 * electric.el (electric-pair-post-self-insert-function): Let user
4879 turn it off buffer-locally (bug#9932).
4880
90132c14
SM
4881 * progmodes/python.el (python-beginning-of-statement):
4882 Rewrite (bug#2703).
4883
1dce7193
SM
4884 * progmodes/compile.el: Better handle TABs (bug#9749).
4885 (compilation-internal-error-properties)
4886 (compilation-next-error-function): Obey the target buffer's
4887 compilation-error-screen-columns.
4888
c4e7c63a
JB
48892011-11-09 Juanma Barranquero <lekktu@gmail.com>
4890
4891 * progmodes/meta-mode.el: Remove obsolete comments.
4892 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4893 Fix typos in docstrings.
4894
2cffd681
MR
48952011-11-09 Martin Rudalics <rudalics@gmx.at>
4896
4897 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4898 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4899 (window--resizable): New function. Make all callers of
4900 window-resizable call window--resizable instead.
4901 (window-resizable): Rewrite in terms of window--resizable.
4902
0edcba87
GM
49032011-11-08 Glenn Morris <rgm@gnu.org>
4904
4905 * progmodes/delphi.el (delphi-mode-syntax-table):
4906 Let define-derived-mode define a proper syntax table. (Bug#9994)
4907
4b0d61e3
SM
49082011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * window.el: Stay away from defsubst.
4911 (window-list-no-nils): Remove.
4912 (window-state-get-1, window-state-get): Use backquote instead.
4913
cd394be1 49142011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4915
4b0d61e3 4916 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4917 Fix incorrect use of default argument in `completing-read'.
4918
e1c2c6f2
MR
49192011-11-08 Martin Rudalics <rudalics@gmx.at>
4920
4921 * window.el (display-buffer-function, special-display-function):
4922 Mention display-buffer-record-window but do not mention
4923 help-setup parameter in doc-strings.
b3f4a882 4924 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4925
105216ed
CY
49262011-11-08 Chong Yidong <cyd@gnu.org>
4927
4928 * window.el (window-total-height, window-total-width): Doc fix.
4929 (window-body-size): Move from C.
4930 (window-body-height, window-body-width): Move to C.
4931
0a9f9ab5
SM
49322011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4933
4934 * window.el: Make special-display like display-buffer-alist (bug#9532).
4935 (display-buffer--special-action): New function, morphed
4936 from display-buffer--special.
4937 (display-buffer): Use it to handle special-display-buffers at higher
4938 priority (just after display-buffer-alist).
4939 (display-buffer-fallback-action, display-buffer--other-frame-action)
4940 (pop-to-buffer-same-window): Remove display-buffer--special.
4941
a769dd15
GM
49422011-11-07 Glenn Morris <rgm@gnu.org>
4943
4944 * calendar/cal-menu.el (cal-menu-set-date-title):
4945 Do nothing if not in a calendar. (Bug#9976)
4946
05a61ee3
SM
49472011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * files.el (find-file): Always use selected-window.
4950
be7f5545
MR
49512011-11-07 Martin Rudalics <rudalics@gmx.at>
4952
4953 * window.el (window-combinations): Make WINDOW argument
4954 mandatory. Rewrite doc-string.
4955 (walk-window-subtree, window-atom-check, window-min-delta)
4956 (window-max-delta, window--resize-this-window)
4957 (window--resize-root-window-vertically, window-tree)
4958 (balance-windows, window-state-put): Rewrite doc-strings as to
4959 not mention the term "subwindow".
4960 (window--resize-subwindows-skip-p): Rename to
4961 window--resize-child-windows-skip-p.
4962 (window--resize-subwindows-normal): Rename to
4963 window--resize-child-windows-normal.
4964 (window--resize-subwindows): Rename to
4965 window--resize-child-windows.
4966 (window-or-subwindow-p): Rename to window--in-subtree-p.
4967
3c6702ef
ML
49682011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4969
4970 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4971 Ensure that mbox format messages end in two newlines (Bug#9974).
4972
49745b39
CY
49732011-11-06 Chong Yidong <cyd@gnu.org>
4974
4975 * window.el (window-combination-p): Function deleted; its
4976 side-effect is not used in any existing code.
4977 (window-combinations, window-combined-p): Call window-*-child
4978 directly.
4979
24300f5f
CY
49802011-11-05 Chong Yidong <cyd@gnu.org>
4981
4982 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4983 (window-size-ignore, window-state-get): Callers changed.
4984 (window-normalize-window): Rename from window-normalize-any-window.
4985 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4986 (window-normalize-live-window): Delete.
447f16b8
CY
4987 (window-combination-p, window-combined-p, window-combinations)
4988 (walk-window-subtree, window-atom-root, window-min-size)
4989 (window-sizable, window-sizable-p, window-size-fixed-p)
4990 (window-min-delta, window-max-delta, window-resizable)
4991 (window-resizable-p, window-full-height-p, window-full-width-p)
4992 (window-current-scroll-bars, window-point-1, set-window-point-1)
4993 (window-at-side-p, window-in-direction, window-resize)
4994 (adjust-window-trailing-edge, maximize-window, minimize-window)
4995 (window-deletable-p, delete-window, delete-other-windows)
4996 (record-window-buffer, unrecord-window-buffer)
4997 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4998 (quit-window, split-window, window-state-put)
4999 (set-window-text-height, fit-window-to-buffer)
5000 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 5001
89bd5ee1
EZ
50022011-11-04 Eli Zaretskii <eliz@gnu.org>
5003
53479029
EZ
5004 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5005 rfc2047-decode-string.
5006 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5007 warnings.
5008
89bd5ee1
EZ
5009 * window.el (window-body-height, window-body-width): Mention in
5010 the doc string that the return values are in frame's canonical
5011 units. (Bug#9949)
5012
bd17fdee
AM
50132011-11-03 Alan Mackenzie <acm@muc.de>
5014
5015 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5016 change in cc-engine.el.
5017
acc825c5
SM
50182011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5021
1885e5b8
MR
50222011-11-02 Martin Rudalics <rudalics@gmx.at>
5023
5024 * window.el (quit-window): Call unrecord-window-buffer after
5025 showing another buffer in the window. (Bug#9937)
acc825c5 5026 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 5027
ebe06da9
JB
50282011-11-02 Juanma Barranquero <lekktu@gmail.com>
5029
5030 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5031 Accept status with more than 9 shelves. (Bug#9935)
5032 Reported by Colin D Bennett <colin@gibibit.com>.
5033
4ee88440
MR
50342011-11-01 Martin Rudalics <rudalics@gmx.at>
5035
5036 * help.el (with-help-window): Don't reference
5037 temp-buffer-show-specifiers in doc-string.
5038
08e1d82c
AS
50392011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5040
5041 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5042 menu-item.
5043
84bd6e9e
VJL
50442011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5045
5046 * whitespace.el: New version 13.2.2.
5047 (whitespace-newline-mode): Disable properly. Reported by Sarah
5048 <EmacsWiki>.
5049
dba0634a
UJ
50502011-10-30 Ulf Jasper <ulf.jasper@web.de>
5051
5052 * net/newst-treeview.el: Remove "Time-stamp".
5053 (newsticker--group-manage-orphan-feeds): Do not call
5054 newsticker--treeview-tree-update.
db22a3c2
JB
5055 (newsticker-treeview-update, newsticker-treeview):
5056 Call newsticker--treeview-tree-update if necessary.
dba0634a 5057
3d8daefe
MR
50582011-10-30 Martin Rudalics <rudalics@gmx.at>
5059
5060 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
5061 (window-iso-combinations): Remove "iso-" infix.
5062 Suggested by Chong Yidong.
3d8daefe
MR
5063 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5064 (window-max-delta-1, window-resize, window--resize-siblings)
5065 (window--resize-this-window, adjust-window-trailing-edge)
5066 (split-window, balance-windows-1)
5067 (shrink-window-if-larger-than-buffer):
5068 * calendar/calendar.el (calendar-generate-window):
db22a3c2 5069 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 5070
1bc4c3ae
SM
50712011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5074 in place (bug#9907).
5075 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5076 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5077 (eshell-structure-basic-command, eshell-rewrite-while-command)
5078 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5079 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5080 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5081 (eshell-do-pipelines-synchronously, eshell-eval-command):
5082 Use backquotes and prefer setq to set.
5083 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5084 (eshell-macrop): Use functionp.
c1e2f5fa 5085 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 5086
30b65d9c
CY
50872011-10-30 Chong Yidong <cyd@gnu.org>
5088
5089 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5090 instead of set-mark (Bug#9810).
5091
2d197ffb
CY
50922011-10-30 Chong Yidong <cyd@gnu.org>
5093
5094 * window.el (split-window-below, split-window-right): Rename from
5095 split-window-above-each-other and split-window-side-by-side
5096 respectively. All callers changed.
5097 (split-window-sensibly, split-window-sensibly): Use them.
5098 (split-window-keep-point): Doc fix.
5099
5100 * isearch.el: Add isearch-scroll property to split-window-below
5101 and split-window-right.
5102
5103 * follow.el (follow-mode):
5104 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5105 * progmodes/ada-xref.el (ada-gdb-application):
5106 * emulation/vip.el (vip-buffer-in-two-windows):
5107 * image-dired.el (image-dired-dired-with-window-configuration):
5108 * dired-x.el (dired-do-find-marked-files):
5109 * dired.el (dired-pop-to-buffer):
5110 * bs.el (bs--show-with-configuration):
5111 * vc/emerge.el (emerge-setup-windows):
5112 * textmodes/two-column.el (2C-two-columns):
5113 * textmodes/reftex-toc.el (reftex-toc):
5114 * progmodes/gdb-mi.el (gdb-setup-windows):
5115 * progmodes/fortran.el (fortran-window-create):
5116 * net/newst-treeview.el (newsticker--treeview-window-init):
5117 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5118 * emulation/tpu-edt.el (tpu-gold-map):
5119 * emulation/crisp.el (crisp-mode-map):
5120 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5121
38bb2ca8
CY
51222011-10-29 Chong Yidong <cyd@gnu.org>
5123
aa4de341
CY
5124 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5125
e1eb5385
CY
5126 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5127
5d2ece3c
CY
5128 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5129 forged Ispell output (Bug#7904).
5130
38bb2ca8
CY
5131 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5132
d0af9f77
SM
51332011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * doc-view.el: Avoid ugly errors about not finding nil.
5136 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5137 (doc-view-dvipdf-program, doc-view-unoconv-program)
5138 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5139 Avoid nil or absolute file name as default value.
5140 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5141
52bedd34
AM
51422011-10-28 Alan Mackenzie <acm@muc.de>
5143
db22a3c2 5144 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 5145
7e43cfa5
AM
51462011-10-28 Alan Mackenzie <acm@muc.de>
5147
5148 Amend the handling of c-beginning/end-of-defun in nested declaration
5149 scopes.
5150
52bedd34
AM
5151 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5152 cc-langs.el. Change it to a defcustom.
7e43cfa5 5153
52bedd34
AM
5154 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5155 cc-vars.el.
7e43cfa5 5156
d0af9f77
SM
5157 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5158 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 5159
52bedd34 5160 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 5161 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
5162 (c-widen-to-enclosing-decl-scope): New function.
5163 (c-while-widening-to-decl-block): New macro.
5164 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5165 outward for defun boundaries, and correspondingly change symbol
5166 `respect-enclosure' to `go-outward'.
5167 (c-declaration-limits): Change algorithm to report only the "innermost"
5168 defun's boundaries.
5169
1a2ce9ee
DD
51702011-10-28 Deniz Dogan <deniz@dogan.se>
5171
5172 * net/rcirc.el (rcirc-mode): Use hard newlines.
5173
bc97a826
AM
51742011-10-28 Alan Mackenzie <acm@muc.de>
5175
5176 Amend to indent and fontify macros "which include their own semicolon"
5177 correctly, using the "virtual semicolon" mechanism.
5178
52bedd34 5179 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 5180
d0af9f77 5181 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 5182 Recode to scan one line at a time rather than having \n and \r
58179cce 5183 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 5184 (c-forward-label): Amend for virtual semicolons.
58179cce 5185 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 5186
52bedd34
AM
5187 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5188 of the new C macros.
bc97a826 5189
52bedd34 5190 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
5191 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5192 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
5193 (c-opt-cpp-macro-define): Make into a full language variable.
5194 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5195 AWK Mode (including \n, \r) removed, no longer needed.
5196
d0af9f77
SM
5197 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5198 Invoke c-make-macro-with-semi-re.
bc97a826 5199
52bedd34
AM
5200 * progmodes/cc-vars.el (c-macro-with-semi-re):
5201 (c-macro-names-with-semicolon): New variables.
58179cce 5202 (c-make-macro-with-semi-re): New function.
bc97a826 5203
7a6c0941
SM
52042011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5205
5206 * vc/log-edit.el: Fill empty field rather than adding new one.
5207 (log-edit-add-field): New function.
5208 (log-edit-insert-changelog): Use it.
5209
b0c4cdcf
ML
52102011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5211
5212 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5213
ee1f1da9
SM
52142011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5215
5216 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5217 (gdb--check-interpreter): New function.
5218 (gdb): Use it.
5219
51bc5f8b
GM
52202011-10-27 Glenn Morris <rgm@gnu.org>
5221
416a2c45
GM
5222 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5223 (least-positive-float, least-negative-float)
5224 (least-positive-normalized-float, least-negative-normalized-float)
5225 (float-epsilon, float-negative-epsilon):
5226 Remove unnecessary declarations.
5227
5228 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5229 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5230 (least-positive-float, least-negative-float)
5231 (least-positive-normalized-float, least-negative-normalized-float)
5232 (float-epsilon, float-negative-epsilon): Add doc-strings,
5233 based on those in cl.texi.
5234
51bc5f8b
GM
5235 * files.el (set-visited-file-name): If the major-mode changed,
5236 reload the local variables. (Bug#9796)
5237
15de15c6
CY
52382011-10-27 Chong Yidong <cyd@gnu.org>
5239
5240 * subr.el (change-major-mode-after-body-hook): New hook.
5241 (run-mode-hooks): Run it.
5242
ee1f1da9
SM
5243 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5244 Use change-major-mode-before-body-hook.
15de15c6
CY
5245
5246 * simple.el (fundamental-mode):
5247 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5248 change introducing fundamental-mode-hook.
5249
5430d399
JB
52502011-10-26 Juanma Barranquero <lekktu@gmail.com>
5251
acc825c5 5252 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 5253
ad74a69e
MA
52542011-10-26 Michael Albinus <michael.albinus@gmx.de>
5255
5256 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 5257 tramp.el explicitly. (Bug#7583)
ad74a69e 5258
71d4c2a5
SM
52592011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5260
5261 * progmodes/octave-mod.el:
5262 * progmodes/octave-inf.el: Update maintainer.
5263
b1f6fa26
CY
52642011-10-26 Chong Yidong <cyd@gnu.org>
5265
5266 * subr.el (with-wrapper-hook): Rewrite doc.
5267
3f04efd6
MA
52682011-10-25 Michael Albinus <michael.albinus@gmx.de>
5269
5270 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 5271 filenames "/method:foo:". (Bug#9793)
3f04efd6 5272
410488d3
SM
52732011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5276 (bug#9865).
5277
c1ebb47e
GM
52782011-10-24 Glenn Morris <rgm@gnu.org>
5279
5280 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5281
7f5c46c7
MA
52822011-10-24 Michael Albinus <michael.albinus@gmx.de>
5283
5284 * notifications.el: Add the requirement of a running D-Bus session
5285 bus to the Commentary.
5286
db2440b6
JL
52872011-10-24 Juri Linkov <juri@jurta.org>
5288
5289 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5290 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5291 (Bug#9364)
5292
feecf435
JL
52932011-10-24 Juri Linkov <juri@jurta.org>
5294
5295 * info.el (Info-following-node-name-re): Add newline to the list
5296 of allowed characters for leading space. (Bug#9824)
5297
a3839de2
SM
52982011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5299
acc825c5
SM
5300 * progmodes/octave-inf.el (inferior-octave-mode-map):
5301 Fix C-c C-h binding.
a3839de2
SM
5302 * progmodes/octave-mod.el (octave-help): Remove.
5303
09388e76
MA
53042011-10-23 Michael Albinus <michael.albinus@gmx.de>
5305
5306 Sync with Tramp 2.2.3.
5307
5308 * net/tramp-cache.el (top): Pacify byte-compiler using
5309 `init-file-user' and `site-run-file'.
5310
5311 * net/trampver.el: Update release number.
5312
86c60681
CY
53132011-10-23 Chong Yidong <cyd@gnu.org>
5314
5315 * files.el (toggle-read-only): Remove obsolete comment about
5316 version control.
5317
5318 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5319 for toggle-read-only. Note that this hasn't called vc-next-action
5320 since 2008-05-02, though it wasn't documented at the time.
5321
a3839de2
SM
5322 * vc/ediff-init.el (ediff-toggle-read-only-function):
5323 Use toggle-read-only.
86c60681 5324
cd5495ff
AM
53252011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5326
5327 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5328 of c-parse-state.
5329
00b77525 5330 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 5331 correct faulty logical expression.
cd5495ff
AM
5332 (c-parse-state-state, c-record-parse-state-state):
5333 (c-replay-parse-state-state): New defvar/defuns.
5334 (c-debug-parse-state): Use new functions.
5335
42ee24ed
MR
53362011-10-22 Martin Rudalics <rudalics@gmx.at>
5337
5338 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 5339 last fix. Use window-in-direction correctly.
42ee24ed 5340
a7dee7e7
CY
53412011-10-21 Chong Yidong <cyd@gnu.org>
5342
5343 * progmodes/idlwave.el (idlwave-mode):
5344 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
5345 require-final-newline; that's done in prog-mode.
5346 Suggested by Stefan Monnier.
a7dee7e7 5347
e07b9a6d
MR
53482011-10-21 Martin Rudalics <rudalics@gmx.at>
5349
5350 * mouse.el (mouse-drag-window-above)
5351 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
5352 (mouse-drag-mode-line-1, mouse-drag-header-line)
5353 (mouse-drag-vertical-line-rightward-window): Remove.
5354 (mouse-drag-line): New function.
5355 (mouse-drag-mode-line, mouse-drag-header-line)
5356 (mouse-drag-vertical-line): Call mouse-drag-line.
5357 * window.el (window-at-side-p, windows-at-side): New functions.
5358
7e1361d9
UM
53592011-10-21 Ulrich Mueller <ulm@gentoo.org>
5360
5361 * tar-mode.el (tar-grind-file-mode):
5362 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
5363
30fcaf3a
CY
53642011-10-21 Chong Yidong <cyd@gnu.org>
5365
5366 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
5367 * progmodes/vera-mode.el (vera-mode):
5368 Use mode-require-final-newline.
30fcaf3a 5369
516eddb0
GM
53702011-10-20 Glenn Morris <rgm@gnu.org>
5371
db22a3c2 5372 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 5373
10d5f513
CS
53742011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
5375
5376 * emulation/cua-base.el (cua-set-mark): Fix case of string.
5377
ac6c8639
CY
53782011-10-20 Chong Yidong <cyd@gnu.org>
5379
5380 * emulation/cua-base.el (cua-mode):
5381 * mail/footnote.el (footnote-mode):
5382 * mail/mailabbrev.el (mail-abbrevs-mode):
5383 * net/xesam.el (xesam-minor-mode):
5384 * progmodes/bug-reference.el (bug-reference-mode):
5385 * progmodes/cap-words.el (capitalized-words-mode):
5386 * progmodes/compile.el (compilation-minor-mode)
5387 (compilation-shell-minor-mode):
5388 * progmodes/gud.el (gud-tooltip-mode):
5389 * progmodes/hideif.el (hide-ifdef-mode):
5390 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
5391 * progmodes/subword.el (subword-mode):
5392 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5393 * progmodes/which-func.el (which-function-mode):
5394 * term/tvi970.el (tvi970-set-keypad-mode):
5395 * term/vt100.el (vt100-wide-mode):
5396 * textmodes/flyspell.el (flyspell-mode):
5397 * textmodes/ispell.el (ispell-minor-mode):
5398 * textmodes/nroff-mode.el (nroff-electric-mode):
5399 * textmodes/paragraphs.el (use-hard-newlines):
5400 * textmodes/refill.el (refill-mode):
5401 * textmodes/reftex.el (reftex-mode):
5402 * textmodes/rst.el (rst-minor-mode):
5403 * textmodes/sgml-mode.el (html-autoview-mode)
5404 (sgml-electric-tag-pair-mode):
5405 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
5406 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
5407 * emulation/crisp.el (crisp-mode):
5408 * emacs-lisp/eldoc.el (eldoc-mode):
5409 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
5410 minor mode behavior.
5411
aa42ab43
JL
54122011-10-19 Juri Linkov <juri@jurta.org>
5413
5414 * descr-text.el (describe-char): Add #x2010 and #x2011 to
5415 the list of hard-coded chars with escape-glyph face.
5416
89400f1d
SM
54172011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
5420
305c07f6
MA
54212011-10-19 Michael Albinus <michael.albinus@gmx.de>
5422
5423 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
5424 running process.
5425
13754b54
GM
54262011-10-19 Glenn Morris <rgm@gnu.org>
5427
5428 * vc/vc-bzr.el (vc-bzr-after-dir-status):
5429 Ignore ignored files. (Bug#9726)
5430
06e21633
CY
54312011-10-19 Chong Yidong <cyd@gnu.org>
5432
5433 Doc fix for minor modes, stating that an omitted argument enables
5434 the mode unconditionally when called from Lisp.
5435
5436 * abbrev.el (abbrev-mode):
5437 * allout.el (allout-mode):
5438 * autoinsert.el (auto-insert-mode):
5439 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5440 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
5441 (global-auto-revert-mode):
5442 * battery.el (display-battery-mode):
5443 * composite.el (global-auto-composition-mode)
5444 (auto-composition-mode):
5445 * delsel.el (delete-selection-mode):
5446 * desktop.el (desktop-save-mode):
5447 * dired-x.el (dired-omit-mode):
5448 * dirtrack.el (dirtrack-mode):
5449 * doc-view.el (doc-view-minor-mode):
5450 * double.el (double-mode):
5451 * electric.el (electric-indent-mode, electric-pair-mode):
5452 * emacs-lock.el (emacs-lock-mode):
5453 * epa-hook.el (auto-encryption-mode):
5454 * follow.el (follow-mode):
5455 * font-core.el (font-lock-mode):
5456 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
5457 * help.el (temp-buffer-resize-mode):
5458 * hilit-chg.el (highlight-changes-mode)
5459 (highlight-changes-visible-mode):
5460 * hi-lock.el (hi-lock-mode):
5461 * hl-line.el (hl-line-mode, global-hl-line-mode):
5462 * icomplete.el (icomplete-mode):
5463 * ido.el (ido-everywhere):
5464 * image-file.el (auto-image-file-mode):
5465 * image-mode.el (image-minor-mode):
5466 * iswitchb.el (iswitchb-mode):
5467 * jka-cmpr-hook.el (auto-compression-mode):
5468 * linum.el (linum-mode):
5469 * longlines.el (longlines-mode):
5470 * master.el (master-mode):
5471 * mb-depth.el (minibuffer-depth-indicate-mode):
5472 * menu-bar.el (menu-bar-mode):
5473 * minibuf-eldef.el (minibuffer-electric-default-mode):
5474 * mouse-sel.el (mouse-sel-mode):
5475 * msb.el (msb-mode):
5476 * mwheel.el (mouse-wheel-mode):
5477 * outline.el (outline-minor-mode):
5478 * paren.el (show-paren-mode):
5479 * recentf.el (recentf-mode):
5480 * reveal.el (reveal-mode, global-reveal-mode):
5481 * rfn-eshadow.el (file-name-shadow-mode):
5482 * ruler-mode.el (ruler-mode):
5483 * savehist.el (savehist-mode):
5484 * scroll-all.el (scroll-all-mode):
5485 * scroll-bar.el (scroll-bar-mode):
5486 * server.el (server-mode):
5487 * shell.el (shell-dirtrack-mode):
5488 * simple.el (auto-fill-mode, transient-mark-mode)
5489 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
5490 (line-number-mode, column-number-mode, size-indication-mode)
5491 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
5492 * strokes.el (strokes-mode):
5493 * time.el (display-time-mode):
5494 * t-mouse.el (gpm-mouse-mode):
5495 * tool-bar.el (tool-bar-mode):
5496 * tooltip.el (tooltip-mode):
5497 * type-break.el (type-break-mode-line-message-mode)
5498 (type-break-query-mode):
5499 * view.el (view-mode):
5500 * whitespace.el (whitespace-mode, whitespace-newline-mode)
5501 (global-whitespace-mode, global-whitespace-newline-mode):
5502 * xt-mouse.el (xterm-mouse-mode): Doc fix.
5503
a3839de2
SM
5504 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5505 Fix autogenerated docstring.
06e21633 5506
5214e501
JL
55072011-10-19 Juri Linkov <juri@jurta.org>
5508
5509 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
5510 by checking environment variables "DESKTOP_SESSION" and
5511 "XDG_CURRENT_DESKTOP". (Bug#9779)
5512
195f8db9
JL
55132011-10-19 Juri Linkov <juri@jurta.org>
5514
5515 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5516 (browse-url-chromium-program, browse-url-chromium-arguments):
5517 New defcustoms.
5518 (browse-url-default-browser): Check for `browse-url-chromium' and
5519 call `browse-url-chromium-program'.
5520 (browse-url-chromium): New command. (Bug#9779)
5521
343a34ff
JB
55222011-10-18 Juanma Barranquero <lekktu@gmail.com>
5523
5524 * facemenu.el (list-colors-duplicates): On Windows, detect more
5525 duplicates by assuming that only colors matching "^System" are
5526 special "system colors". (Bug#9722)
5527
6978a151
SM
55282011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5531 to distinguish the author from the committer.
5532
6a80b297
MA
55332011-10-18 Michael Albinus <michael.albinus@gmx.de>
5534
5535 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5536
b31a5677
JK
55372011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5538
5539 * international/mule.el (sgml-html-meta-auto-coding-function):
5540 Add support for detecting encoding in HTML5 specified only as
5541 <meta charset="UTF-8">. Implementation just makes http-equiv and
5542 content-type parts from HTML4 encoding string optional. (Bug#9716)
5543
80c6d77f
GM
55442011-10-18 Glenn Morris <rgm@gnu.org>
5545
5546 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5547
08b0fee8
CY
55482011-10-18 Chong Yidong <cyd@gnu.org>
5549
5550 * faces.el (cursor): Doc fix.
5551
67e729a5
CY
55522011-10-17 Chong Yidong <cyd@gnu.org>
5553
5554 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5555
343a34ff 55562011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5557
5558 * dirtrack.el (dirtrack): Support shell buffers with path
5559 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5560
0bc06380
TZ
55612011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5562
5563 * json.el: Bump version to 1.3 and note change in History.
5564 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5565
8b79f3e0
SM
55662011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5a7c536b
SM
5568 * comint.el (comint-insert-input, comint-send-input)
5569 (comint-get-old-input-default, comint-backward-matching-input)
5570 (comint-next-prompt): Use nil instead of `input' for field property of
5571 past user input (bug#114).
5572
96a8a0df
SM
5573 * minibuffer.el (completion--replace): Inherit surrounding properties
5574 (bug#114).
5575 (minibuffer-complete-and-exit): Use it.
5576
8b79f3e0
SM
5577 * comint.el (comint--table-subvert): Quote the all-completions output
5578 (bug#9160).
5579
b8f7ff0d
MR
55802011-10-17 Martin Rudalics <rudalics@gmx.at>
5581
8b79f3e0 5582 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5583
b8f7ff0d 5584 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5585 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5586 entries and separate them from frame entries.
5587
c235b555
GM
55882011-10-15 Glenn Morris <rgm@gnu.org>
5589
5590 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5591 Doc fixes.
5592
6bbfa6e1
CY
55932011-10-15 Chong Yidong <cyd@stupidchicken.com>
5594
8b79f3e0
SM
5595 * net/network-stream.el (network-stream-open-starttls):
5596 Improve detection of failure due to lack of TLS support.
ec5c990d 5597
6bbfa6e1
CY
5598 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5599 putting the input text in front and in bold.
5600
98488977
SM
56012011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5602
3d1337be
SM
5603 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5604
ee0b45e4
SM
5605 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5606 empty buffer.
5607
98488977
SM
5608 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5609 unread-command-events rather than pushing yet-another event.
5610
186f4720
EZ
56112011-10-14 Eli Zaretskii <eliz@gnu.org>
5612
5613 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5614 the explanation of the possible choices. Make the options passed
5615 to completing-read shorter.
5616
8b7a997c
AM
56172011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5618
5619 * textmodes/flyspell.el (flyspell-large-region): Make sure
5620 extended character mode is used if defined (Bug#1339).
5621
12587bbb
EZ
56222011-10-13 Eli Zaretskii <eliz@gnu.org>
5623
5624 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5625 character info for LRE, LRO, RLE, and RLO characters by appending
5626 an invisible PDF.
12587bbb 5627
bad41229
SM
56282011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5631 even in case of error; add debug spec; simplify data flow.
5632 (with-timeout-handler): Remove.
5633
28dbc92f
MA
56342011-10-12 Michael Albinus <michael.albinus@gmx.de>
5635
5636 Fix Bug#6019, Bug#9315.
5637
5638 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5639 complete `buffer-file-name', the local file name part could look
5640 remotely (for example on VMS).
5641
5642 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5643 `tramp-run-real-handler'.
5644 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5645 already quoted by '"'.
5646
5647 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5648 Let `file-name-handler-alist' be nil, the local file name part
5649 could look remotely (for example on VMS).
5650
e1b0b23a
SM
56512011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5654 from here...
5655 (flyspell-post-command-hook): ...to here.
5656
a120bde9
SM
56572011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5660 if not needed.
5661 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5662 using completion. Protect against "slow" callers.
5663 Remove the "message hack".
5664
7ce7717b
JL
56652011-10-11 Juri Linkov <juri@jurta.org>
5666
5667 * isearch.el (isearch-lazy-highlight-word): New variable.
5668 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5669 Use it. (Bug#9727)
5670
c02ee9d6
GM
56712011-10-11 Glenn Morris <rgm@gnu.org>
5672
5673 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5674 like f90-previous-statement does.
5675
93e616fd 56762011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5677
1f190e73 5678 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5679 only in interactive use, to avoid error.
5680
af7b6078
SM
56812011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * minibuffer.el (completion-file-name-table): Fix last change,
5684 i.e. ignore normal errors but not the other ones.
5685
0563dae9
MR
56862011-10-10 Martin Rudalics <rudalics@gmx.at>
5687
5688 * window.el (special-display-buffer-names)
5689 (special-display-regexps): Remove some remnants of earlier
5690 changes from doc-strings.
366ca7f3
MR
5691 (quit-windows-on): New function.
5692
5693 * vc/vc.el (vc-revert, vc-rollback):
5694 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5695 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5696 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5697
49677495
MR
56982011-10-09 Martin Rudalics <rudalics@gmx.at>
5699
5700 * window.el (frame-auto-hide-function): Add version tag.
5701 (Bug#9699)
5702
56f2d1e1
MA
57032011-10-09 Michael Albinus <michael.albinus@gmx.de>
5704
5705 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5706 condition.
5707
112a6592
LL
57082011-10-09 Leo Liu <sdl.web@gmail.com>
5709
5710 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5711 (Bug#9701)
5712
0812589b
GM
57132011-10-08 Glenn Morris <rgm@gnu.org>
5714
5715 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5716 before the first code statement zero indent. (Bug#9690)
5717
b2b0776e
CY
57182011-10-08 Chong Yidong <cyd@stupidchicken.com>
5719
5720 * simple.el (count-words-region): Always count in the region.
5721 Report the number of lines and characters too.
5722 (count-words): New command, which counts in the buffer if the
5723 region is inactive, as count-words-region used to.
5724 (count-words--message): New function. Handle plurals.
5725 (count-lines-region): Make it an alias for count-words-region.
5726
5727 * bindings.el (esc-map): Replace count-lines-region with
5728 count-words-region.
5729
c557cd6b
MR
57302011-10-08 Martin Rudalics <rudalics@gmx.at>
5731
5732 * window.el (window--delete): Delete dedicated frame
5733 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5734 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5735
61a57ef4 57362011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5737
3a7d293b 5738 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5739
c3833279
CY
57402011-10-07 Chong Yidong <cyd@stupidchicken.com>
5741
5742 * bindings.el ([M-left],[M-right]): Bind to left-word and
5743 right-word respectively.
5744
21ce8245
GM
57452011-10-07 Glenn Morris <rgm@gnu.org>
5746
5747 * cus-start.el (debug-on-quit): Fix custom type.
5748
6d823bb2
LMI
57492011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5750
0181e193
LMI
5751 * subr.el (define-key-after): Clarify that the function is not
5752 useful for non-menu keymaps.
5753
6d823bb2
LMI
5754 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5755
8e3459ce 57562011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5757
21ce8245 5758 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5759 in current minibuffer (Fix bug with recursive minibuffers).
5760
a1c2d21e
CY
57612011-10-06 Chong Yidong <cyd@stupidchicken.com>
5762
5763 * progmodes/gdb-mi.el (gdb): Doc fix.
5764
5a4cf282
MR
57652011-10-05 Martin Rudalics <rudalics@gmx.at>
5766
5767 * window.el (frame-auto-hide-function): New option replacing
5768 frame-auto-delete. Suggested by Stefan Monnier.
5769 (window--delete): Call frame-auto-hide-function instead of
5770 investigating frame-auto-delete.
c96111ea
MR
5771 (window-point-1, set-window-point-1): New functions.
5772 (window-in-direction, record-window-buffer, window-state-get-1)
5773 (display-buffer-record-window): Use window-point-1 instead of
5774 window-point.
5775 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5776
9854542e
SM
57772011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5780
8943cfb0
GM
57812011-10-05 Glenn Morris <rgm@gnu.org>
5782
5783 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5784 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5785
647ab967
LL
57862011-10-05 Leo Liu <sdl.web@gmail.com>
5787
5788 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5789 works with buffer object.
5790
3ddfbced
SM
57912011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 * mpc.el (mpc-tool-bar-map): Add labels.
5794
bdfa5dd2
GM
57952011-10-04 Glenn Morris <rgm@gnu.org>
5796
5797 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5798
0e2070b5
MR
57992011-10-04 Martin Rudalics <rudalics@gmx.at>
5800
5801 * window.el (window--delete): New function.
5802 (frame-auto-delete): Resuscitate option.
5803 (bury-buffer, replace-buffer-in-windows)
5804 (quit-window): Rewrite using window--delete.
5805 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5806 Pass display-buffer-mark-dedicated to window--display-buffer-2
5807 (Bug#9639).
5808
3dc61a09
SM
58092011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5810
915a9b64
SM
5811 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5812 returns a list (bug#9554). Add remote file name completion.
5813 * comint.el (comint--table-subvert): Curry and get quote&unquote
5814 functions as arguments.
5815 (comint--complete-file-name-data): Adjust call accordingly.
5816 * pcomplete.el (pcomplete--table-subvert): Remove.
5817 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5818
3dc61a09
SM
5819 * minibuffer.el (completion-table-case-fold): Use currying.
5820 (completion--styles-type, completion--cycling-threshold-type):
5821 New constants.
5822 (completion-styles, completion-category-overrides)
5823 (completion-cycle-threshold): Use them.
5824 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5825 completion-table-case-fold.
5826
8ea0a993
SB
58272011-10-03 Stephen Berman <stephen.berman@gmx.net>
5828
5829 * minibuffer.el (completion-category-overrides): Fix type of styles
5830 and add more user friendly tags (bug#9660).
5831
8c24b7f6
SM
58322011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5833
5834 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5835 (mule-input-method-string): New widget.
5836 (default-input-method, language-info-custom-alist): Use it.
5837
428fe61a
SM
58382011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5839
32c1fffd
SM
5840 * pcomplete.el: Require comint.
5841 (pcomplete--common-suffix): Remove.
5842 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5843 (pcomplete--table-subvert): Sync with comint--table-subvert.
5844 (pcomplete--entries): Use comint-completion-file-name-table.
5845 * comint.el (comint-unquote-filename): Simplify.
5846 (comint-completion-file-name-table): New function (bug#9616).
5847 (comint--complete-file-name-data): Use it.
5848
428fe61a
SM
5849 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5850 (pcmpl-gnu-tar-buffer): Remove.
5851 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5852 around. Make sure pcomplete-suffix-list is only changed temporarily.
5853 Don't look inside the tar's file if it's too large.
428fe61a 5854
04c52e2f
CY
58552011-10-01 Chong Yidong <cyd@stupidchicken.com>
5856
ce3cefcc
CY
5857 * cus-edit.el (custom-mode-map):
5858 * epa.el (epa-key-list-mode-map):
5859 * man.el (Man-mode-map):
5860 * startup.el (splash-screen-keymap):
5861 * simple.el (special-mode-map): Use scroll-up-command and
5862 scroll-down-command.
5863
5864 * progmodes/idlw-help.el (idlwave-help-mode-map):
5865 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5866 * net/newst-plainview.el (newsticker-mode-map):
5867 * emulation/ws-mode.el (wordstar-mode-map):
5868 * emulation/vi.el (vi-com-map):
5869 * calc/calc-graph.el (calc-graph-show-dumb):
5870 * term/sun.el (terminal-init-sun):
5871 * term/ns-win.el (global-map):
5872 * progmodes/grep.el (grep-mode-map):
5873 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5874 * mail/rmail.el (rmail-mode-map):
5875 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5876
04c52e2f
CY
5877 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5878 custom-safe-themes as special.
5879
79adf8c8
JD
58802011-10-01 Julien Danjou <julien@danjou.info>
5881
5882 * notifications.el (notifications-notify): Fix docstring.
5883
63bd50d3
PS
58842011-10-01 Per Starbäck <per@starback.se>
5885
5886 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5887
199e4c7e
MR
58882011-09-30 Martin Rudalics <rudalics@gmx.at>
5889
5890 * startup.el (command-line-1): Fix last fix by inserting
5891 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5892 (Bug#9605) and (Bug#9636)
199e4c7e 5893
fe5f08dd
EZ
58942011-09-29 Eli Zaretskii <eliz@gnu.org>
5895
5896 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5897 window is hscrolled, move by logical lines. (Bug#9607)
5898 (line-move-visual): Update the doc string to the above effect.
5899
b5516bbd
MR
59002011-09-29 Martin Rudalics <rudalics@gmx.at>
5901
ccee00c0
MR
5902 * window.el (display-buffer-record-window): When WINDOW is the
5903 selected window use `point' instead of `window-point'. (Bug#9626)
5904
b5516bbd
MR
5905 * startup.el (command-line-1): Use insert-before-markers when
5906 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5907
b5516bbd
MR
5908 * help.el (help-window): Remove variable.
5909
52aa0014
GM
59102011-09-29 Glenn Morris <rgm@gnu.org>
5911
5912 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5913
df9a7357
JB
59142011-09-29 Juanma Barranquero <lekktu@gmail.com>
5915
5916 * descr-text.el (describe-char-categories): Accept category
5917 descriptions more than one line long.
5918
a8406c20
SM
59192011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5920
88d9610c
SM
5921 * simple.el (delete-trailing-whitespace): Fix last change.
5922
a5daf810
SM
5923 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5924 Don't confuse "y => 3" as the beginning of a `y' operation.
5925
a8406c20
SM
5926 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5927 object has more than 4 slots (bug#9613).
5928
a239d4e9
JB
59292011-09-28 Juanma Barranquero <lekktu@gmail.com>
5930
5931 * subr.el (with-output-to-temp-buffer):
5932 * net/quickurl.el (quickurl, quickurl-browse-url):
5933 Fix typos in docstrings.
5934
693fbdb6
EZ
59352011-09-27 Eli Zaretskii <eliz@gnu.org>
5936
5937 * minibuffer.el (completion-styles)
5938 (completion-category-overrides): Cross reference each other in doc
5939 strings.
5940
8b457e28
GM
59412011-09-27 Glenn Morris <rgm@gnu.org>
5942
5943 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5944 to split-string. (Bug#9606)
5945
85a16208
LMI
59462011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5947
5948 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5949 (bug#9615).
5950
502f9ebd
CY
59512011-09-27 Chong Yidong <cyd@stupidchicken.com>
5952
5953 * emacs-lisp/package.el (list-packages): Fix echo area message.
5954
7690bdea
LL
59552011-09-27 Leo Liu <sdl.web@gmail.com>
5956
5957 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5958
e2ee6f30
MA
59592011-09-25 Michael Albinus <michael.albinus@gmx.de>
5960
5961 * net/dbus.el (dbus-unregister-object): Don't release services for
5962 registered signals. (Bug#9581)
5963
f3f98342
TZ
59642011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5965
5966 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5967 function that picks between cfengine 2 and 3 support
5968 automatically. Update docs accordingly.
5969
dd7aa8dd
KH
59702011-09-22 Kenichi Handa <handa@m17n.org>
5971
5972 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5973 ZERO.
5974 (indian-itrans-v5-table-for-tamil): New variable.
5975 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5976
3f2b07f8
KM
59772011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5978
5979 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5980 that's true if the current command involved collapsing of text.
5981 It's reset to false at the beginning of the next command.
5982 (allout-post-command-business): Move the cursor to the beginning
5983 of entry if the cursor is hidden and collapsing activity just
5984 happened.
5985
371d6a61
CY
59862011-09-24 Chong Yidong <cyd@stupidchicken.com>
5987
5988 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5989 tracking (Bug#9541).
5990
2ac2721a
UJ
59912011-09-24 Ulf Jasper <ulf.jasper@web.de>
5992
5993 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5994 (newsticker-show-news): Automatically load html rendering package
5995 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5996 because w3m-fill-column is let-bound" and the error "Symbol's value
5997 as variable is void: w3m-fill-column".
2ac2721a 5998
fac7ae53
MA
59992011-09-24 Michael Albinus <michael.albinus@gmx.de>
6000
6001 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6002 Release services only if they are defined. (Bug#9581)
6003
e08b633b
RS
60042011-09-23 Richard Stallman <rms@gnu.org>
6005
e488d29c
RS
6006 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6007 distinguish start of paragraph from start of its text.
6008
19c38752
RS
6009 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6010
e08b633b
RS
6011 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6012 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6013 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6014
0a39f27e
AS
60152011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6016
6017 * international/mule-diag.el (mule-diag): Insert a newline after
6018 each fontset description.
6019
db4e950d
SM
60202011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * simple.el (delete-trailing-whitespace):
6023 Document last change; simplify.
6024
eca3f3ea
PW
60252011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6026
d68e189a
PW
6027 * simple.el (delete-trailing-whitespace): Also delete
6028 extra newlines at the end of the buffer.
6029
eca3f3ea
PW
6030 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6031 (picture-newline): Use forward-line so as to ignore fields.
6032
01c157cc
SM
60332011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * subr.el (with-wrapper-hook): Fix edebug spec.
6036
022de23e
LMI
60372011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6038
6039 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6040 (bug#4538).
6041
91683089
MA
60422011-09-23 Michael Albinus <michael.albinus@gmx.de>
6043
eca3f3ea
PW
6044 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6045 Fix nasty bug using wrong cached values.
91683089 6046
5bdd6fa4
AM
60472011-09-23 Alan Mackenzie <acm@muc.de>
6048
6049 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6050
97adfb97
CY
60512011-09-23 Chong Yidong <cyd@stupidchicken.com>
6052
6053 * window.el (pop-to-buffer): Ensure right window is selected if we
6054 chose another frame.
6055
d4ef2b50
EZ
60562011-09-22 Eli Zaretskii <eliz@gnu.org>
6057
6058 * simple.el (what-cursor-position): Use get-char-property-change
6059 and next-single-char-property-change, to be able to show display
6060 properties that come from overlays as well as text properties.
6061
72258fe5
CY
60622011-09-22 Chong Yidong <cyd@stupidchicken.com>
6063
6064 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6065
6066 * cmuscheme.el (run-scheme, switch-to-scheme):
6067 * cus-edit.el (customize-group, custom-buffer-create)
6068 (customize-browse):
6069 * info.el (info):
6070 * shell.el (shell):
6071 * mail/sendmail.el (mail):
6072 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6073
8f098516
RS
60742011-09-22 Richard Stallman <rms@gnu.org>
6075
6076 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6077 move back only to line beg, don't move back over blank lines.
6078
e74f1bb6
MA
60792011-09-22 Michael Albinus <michael.albinus@gmx.de>
6080
6081 * files.el (copy-directory): Set directory attributes only in case
6082 they could be retrieved from the source directory. (Bug#9565)
6083
bfeef8b6
DK
60842011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6085
6086 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6087 (hs-find-block-beginning, hs-hide-level-recursive):
6088 Ignore strings as well as comments. (Bug#9502)
6089
7e423bb8
AS
60902011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6091
6092 * progmodes/sql.el (sql-comint-postgres):
6093 Convert port number to a string. (Bug#9566)
6094
b4d72fcf
MR
60952011-09-22 Martin Rudalics <rudalics@gmx.at>
6096
6097 * window.el (quit-window): Undedicate window when switching to
6098 previous buffer. Reported by Thierry Volpiatto
6099 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
6100 (special-display-popup-frame): When popping up a new frame reset
6101 its previous buffers to nil. Simplify code.
b4d72fcf 6102
a7b88dc6
MA
61032011-09-21 Michael Albinus <michael.albinus@gmx.de>
6104
6105 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6106 and process filter, as done also in `shell-command'.
6107
cf4eacfd
MR
61082011-09-21 Martin Rudalics <rudalics@gmx.at>
6109
eca3f3ea 6110 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
6111 Call set-window-start with NOFORCE argument t.
6112 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
6113 (quit-window): Reword doc-string. Handle new format of
6114 quit-restore parameter. Don't delete window if it has a
6115 previous buffer we can show instead of the present one.
6116 (display-buffer-record-window): Rewrite using a new format for
6117 the quit-restore window parameter
6118 (special-display-popup-frame, display-buffer-same-window)
6119 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6120 (display-buffer-pop-up-window, display-buffer-use-some-window):
6121 Adapt symbol passed to display-buffer-record-window.
6122 * help.el (help-window-setup): Handle new format of quit-restore
6123 parameter.
6124
8d28cb95
SM
61252011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6126
94ab793f
SM
6127 * faces.el (face-list): Fix docstring (bug#9564).
6128
8d28cb95
SM
6129 * window.el (display-buffer--action-function-custom-type):
6130 Don't include internal functions in the Custom interface.
6131
3820edeb
JL
61322011-09-20 Juri Linkov <juri@jurta.org>
6133
6134 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6135 (Info-forward-node, Info-backward-node, Info-next-preorder)
6136 (Info-last-preorder): Use it. (Bug#9528)
6137
5147931d
JL
61382011-09-20 Juri Linkov <juri@jurta.org>
6139
6140 * info.el (Info-last-preorder): Visit last menu item only when
6141 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6142
cf499a1a
JD
61432011-09-20 Julien Danjou <julien@danjou.info>
6144
6145 * password-cache.el (password-cache-remove): Remove entries even if the
6146 value is nil, so that password with a nil value (negative caching) is
6147 possible to invalidate.
6148
f84e2fe2
LM
61492011-09-20 Lawrence Mitchell <wence@gmx.li>
6150
6151 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6152 all whitespace around breakpoint. (Bug#9553)
6153 (f90-find-breakpoint): Only break at whitespace inside a comment.
6154
78054a46
SM
61552011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * minibuffer.el (completion-file-name-table): Keep track of errors.
6158 (completion-table-with-predicate): Handle the case where pred1 is nil.
6159 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6160
345083b2
SM
61612011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6162
e24e27be
SM
6163 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6164 (debugger-return-value): Signal an error if the debugging context does
6165 not await any return value.
6166
345083b2
SM
6167 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6168 * image-mode.el (image-toggle-display-text)
6169 (image-toggle-display-image): Stay away from evil `intangible'.
6170
08d355e3
LL
61712011-09-19 Leo Liu <sdl.web@gmail.com>
6172
6173 * replace.el (occur-revert-arguments): Make it permanent-local.
6174 (occur-mode): Don't call font-lock-defontify.
6175
f01da43f
CY
61762011-09-19 Chong Yidong <cyd@stupidchicken.com>
6177
6178 * net/ldap.el (ldap-search-internal): Don't push empty search
6179 result (Bug#9508).
6180
b6072fa6
SM
61812011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6184
443d6696
MA
61852011-09-19 Michael Albinus <michael.albinus@gmx.de>
6186
6187 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6188 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6189
7cc6e154
JL
61902011-09-18 Juri Linkov <juri@jurta.org>
6191
6192 * buff-menu.el (Buffer-menu-mode-map):
6193 * dired.el (dired-mode-map):
6194 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6195 (lisp-interaction-mode-map):
6196 * emacs-lisp/package.el (package-menu-mode-map):
6197 * epa.el (epa-key-list-mode-map):
6198 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6199 (menu-bar-options-menu):
6200 * outline.el (outline-mode-menu-bar-map):
6201 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6202 * vc/vc-dir.el (vc-dir-menu-map):
6203 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6204 Capitalize non-function content words in menu item strings.
6205
6206 * dired.el (dired-mode-map): Add menu item for
6207 `image-dired-dired-toggle-marked-thumbs'.
6208
80302a81
JL
62092011-09-18 Juri Linkov <juri@jurta.org>
6210
6211 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6212 to `isearch-case-fold-search' and restore its original value
6213 after the `isearch-mode' call.
6214
46c5cf66
JL
62152011-09-18 Juri Linkov <juri@jurta.org>
6216
6217 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6218 because `zgrep' returns 1 for successful matches (bug#9226).
6219
d18b513b
JL
62202011-09-18 Juri Linkov <juri@jurta.org>
6221
6222 * info.el (Info-extract-menu-node-name): Check the second match
6223 for empty string (second test-case of bug#9528).
6224 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6225 intermediate nodes to the history (first test-case of bug#9528).
6226
72753f87
JL
62272011-09-18 Juri Linkov <juri@jurta.org>
6228
6229 * info.el (Info-mode-syntax-table): New variable.
1154d12e 6230 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 6231
c9384295
JL
62322011-09-18 Juri Linkov <juri@jurta.org>
6233
1154d12e
JB
6234 * info.el (Info-file-supports-index-cookies):
6235 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6236 outputs one more line for long file names (bug#4142).
c9384295 6237
d473dce8
CY
62382011-09-18 Chong Yidong <cyd@stupidchicken.com>
6239
6240 * newcomment.el (comment-normalize-vars): If prompting for
6241 comment-start, set comment-start-skip too (Bug#8424).
6242
2176854d
JB
62432011-09-18 Johan Bockgård <bojohan@gnu.org>
6244
6245 * icomplete.el: Fix previous fix of Bug#5849.
6246 (icomplete-mode): Don't set completion-show-inline-help.
6247 (icomplete-minibuffer-setup): Set completion-show-inline-help
6248 locally during icompletion.
6249
3aace4e4
CY
62502011-09-18 Chong Yidong <cyd@stupidchicken.com>
6251
c940224f
CY
6252 * woman.el (woman2-process-escapes): Don't delete unrecognized
6253 escapes (Bug#7843).
6254
3aace4e4
CY
6255 * files.el (inhibit-first-line-modes-regexps): Add image files.
6256 (hack-local-variables-prop-line): Return nil for malformed
6257 prop-lines (Bug#9044).
6258
710dec63
MA
62592011-09-18 Michael Albinus <michael.albinus@gmx.de>
6260
6261 * net/tramp.el (top): Don't require 'shell.
6262 (tramp-methods): Fix docstring.
6263 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
6264 Return complete remote file name. Handle "smb" case.
6265 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
6266 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6267
6268 * net/tramp-compat.el (top): Require 'shell.
6269
6270 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6271 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6272 `tramp-current-host'.
6273 (tramp-get-remote-tmpdir): Remove.
6274
6275 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6276 `tramp-tmpdir' entries.
6277 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6278 (tramp-smb-handle-file-attributes): Ignore errors.
6279 (tramp-smb-wait-for-output): Check also for process end.
6280
5d5ac8ec
LMI
62812011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6282
6283 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6284 when sending QUIT (bug#9312).
6285
8c0f49f0
CY
62862011-09-17 Chong Yidong <cyd@stupidchicken.com>
6287
6288 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6289 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6290 occur-mode-display-occurrence.
6291 (occur-edit-mode): Add usage message.
6292 (occur-cease-edit): New command.
6293 (occur-after-change-function): Use text properties to find the
6294 position of the prefix text.
6295 (occur-engine): Set stickiness of prefix text properties.
6296
8f1383f7
GM
62972011-09-17 Glenn Morris <rgm@gnu.org>
6298
6299 * progmodes/etags.el (complete-tag):
6300 Fix call to completion-in-region. (Bug#9526)
6301
744ba0e3
JL
63022011-09-17 Juri Linkov <juri@jurta.org>
6303
6304 * textmodes/ispell.el (ispell-word): Add to the error message
6305 the word, ispell program name and current dictionary (bug#9121).
6306 (ispell-tex-arg-end): Capitalize "error" in the error message.
6307
d9bbf400
AS
63082011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6309
6310 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6311 check. (Bug#4251)
6312
8da11505
JL
63132011-09-17 Juri Linkov <juri@jurta.org>
6314
6315 * window.el (window-safe-min-height, window-safe-min-width):
6316 Fix typos (followup to bug#9522).
6317
a91adc7e
SJ
63182011-09-17 Sven Joachim <svenjoac@gmx.de>
6319
6320 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6321
064f328a
EZ
63222011-09-16 Eli Zaretskii <eliz@gnu.org>
6323
6324 * simple.el (line-move): If goal-column is set, move by logical
6325 lines, not by display lines. (Bug#971)
6326 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6327 to reflect the above change.
6328
e69df516
SM
63292011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * image.el (imagemagick-register-types): Use regexp-opt.
6332
cbb0f9ab
CY
63332011-09-15 Chong Yidong <cyd@stupidchicken.com>
6334
6335 * window.el (display-buffer-base-action): Rename from
6336 display-buffer-default-action. Make default value empty.
6337 (display-buffer-overriding-action): Convert to defvar.
6338 (display-buffer-fallback-action): New var.
6339
25322144
CY
63402011-09-15 Chong Yidong <cyd@stupidchicken.com>
6341
6342 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6343 declaration.
6344 (package--add-to-archive-contents): If there is a duplicate entry
6345 with an older version, remove it.
6346 (package-menu-mark-delete, package-menu-mark-install)
6347 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
6348 (package-menu-mark-obsolete-for-deletion):
6349 Use package-menu-get-status instead of a regexp search.
25322144
CY
6350 (package-menu-get-status): Use tabulated-list-entry.
6351 (package-menu-mark-upgrades): New command.
d770725a 6352 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
6353 (package-menu-execute): Do installation before deletion.
6354 (package-menu-refresh, package-menu-execute): Use derived-mode-p
6355 instead of checking major-mode.
6356 (package-menu--find-upgrades): New function.
6357
7520339c
LMI
63582011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
6359
6360 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
6361 passwords in the log buffer.
65a046c4
LMI
6362 (smtpmail-process-filter): Update the process marker so that the
6363 "broken by peer" status message is inserted in the right place.
7520339c 6364
d3c30954
SM
63652011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6366
3fe48822
SM
6367 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
6368 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
6369 bibtex-completion-at-point-function.
6370 (bibtex-completion-at-point-function): Use them.
6371
1b8b3954
SM
6372 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
6373
d3c30954
SM
6374 * mpc.el (mpc-constraints-tag-lookup): New function.
6375 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
6376 also to browser "album|playlist".
6377
72779976
JL
63782011-09-14 Juri Linkov <juri@jurta.org>
6379
6380 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
6381 (isearch-edit-string): Use length of `isearch-string' when
6382 `isearch-fail-pos' returns nil.
6383 (isearch-message): Remove duplicate code and call
6384 `isearch-fail-pos' with arg `t'.
6385
a0bf2bcd
CY
63862011-09-14 Chong Yidong <cyd@stupidchicken.com>
6387
17bb0a2d
CY
6388 * replace.el (occur-mode-goto-occurrence): Don't force using other
6389 window (Bug#9499).
6390
a0bf2bcd
CY
6391 * dired-aux.el (dired-do-chmod): Don't provide initial input.
6392
f678e0b6
MR
63932011-09-14 Martin Rudalics <rudalics@gmx.at>
6394
6395 * window.el (display-buffer-window): Remove.
6396 (display-buffer-record-window): Use help-setup window parameter
6397 instead of variable display-buffer-window.
6398 (display-buffer-function, special-display-buffer-names)
6399 (special-display-function): Mention help-setup parameter instead
6400 of display-buffer-window in doc-string.
d3c30954
SM
6401 * help.el (help-window-setup): New argument help-window.
6402 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
6403 Reword some messages.
6404 (with-help-window): Pass window used for displaying the buffer
6405 to help-window-setup. Don't set display-buffer-window.
6406
8e39b2e8
GM
64072011-09-13 Glenn Morris <rgm@gnu.org>
6408
6409 * emacs-lisp/debug.el (debugger-make-xrefs):
6410 Preserve point. (Bug#9462)
6411
85e9c04b
CY
64122011-09-13 Chong Yidong <cyd@stupidchicken.com>
6413
6414 * window.el (window-deletable-p): Use next-frame.
6415
1b36ed6a
MR
64162011-09-13 Martin Rudalics <rudalics@gmx.at>
6417
6418 * window.el (window-auto-delete): Remove.
6419 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 6420 dedication and previous buffers.
1b36ed6a
MR
6421 (switch-to-prev-buffer): Don't delete window.
6422 (delete-windows-on): Delete a window's frame if and only if the
6423 window is dedicated.
6424 (replace-buffer-in-windows): Delete buffer's window or frame if
6425 and only if window is dedicated.
6426 (quit-window): Handle quit-restore as before last change.
4d61f28d 6427 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 6428
ef8ef9fb
CY
64292011-09-13 Chong Yidong <cyd@stupidchicken.com>
6430
6431 * window.el (window-deletable-p): Never delete the last frame on a
6432 given terminal.
6433
b2cba41e
GM
64342011-09-13 Glenn Morris <rgm@gnu.org>
6435
6436 * help.el (describe-key-briefly): Copy previous standard-output change.
6437
51553db6 64382011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
6439
6440 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
6441
b7556719
GM
64422011-09-13 Glenn Morris <rgm@gnu.org>
6443
6444 * emacs-lisp/lisp-mode.el (lisp-indent-function):
6445 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
6446
64b51947
CY
64472011-09-12 Chong Yidong <cyd@stupidchicken.com>
6448
6449 * dired-aux.el (dired-mark-read-string): Don't return default
6450 value on empty input (Bug#9361).
6451 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
6452 Omit initial minibuffer contents.
6453 (dired-do-chmod): Signal an error on empty input.
6454 (dired-mark-read-string): Don't return default on empty input.
6455
6456 * files.el (file-modes-symbolic-to-number): Doc fix.
6457
393a301e
SM
64582011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6460 * international/mule-cmds.el (ucs-completions): Remove.
6461 (read-char-by-name): Use complete-with-action instead; add metadata.
6462
fa5660f9
CY
64632011-09-11 Chong Yidong <cyd@stupidchicken.com>
6464
6465 * window.el (display-buffer--action-function-custom-type)
6466 (display-buffer--action-custom-type): New vars.
6467 (display-buffer-alist, display-buffer-default-action)
6468 (display-buffer-overriding-action): Add defcustom types.
6469
4a592f66
CY
6470 * frame.el (delete-other-frames): Doc fix (Bug#276).
6471
73d56dbd
LMI
64722011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6473
6474 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
6475
37ac18a3
CY
64762011-09-11 Chong Yidong <cyd@stupidchicken.com>
6477
6478 Change modes that used same-window-* vars to use switch-to-buffer.
6479
6480 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6481 Use switch-to-buffer.
6482
6483 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
6484 (customize-browse, custom-buffer-create-other-window):
6485 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
6486
6487 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
6488 (Info-prev, Info-up, Info-speedbar-goto-node)
6489 (info-display-manual): Use switch-to-buffer.
6490 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
6491
6492 * mail/sendmail.el (mail): Use switch-to-buffer.
6493 (mail-recover): Use switch-to-buffer-other-window.
6494
6495 * cmuscheme.el (run-scheme, switch-to-scheme):
6496 * ielm.el (ielm):
6497 * shell.el (shell):
6498 * net/rlogin.el (rlogin):
6499 * net/telnet.el (telnet, rsh):
6500 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
6501
10195bd6
AS
65022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6503
6504 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
6505
b322f63a
LMI
65062011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6507
39d7fed6
LMI
6508 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
6509 so don't mention it (bug#9301).
ba5a81f1 6510 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 6511
ee0e9f11
LMI
6512 * faces.el (face-spec-set-match-display): Make `(type graphic)'
6513 match `x', `w32' and `ns', like the manual says (bug#9029).
6514
0b1c89c1 6515 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6516 (process-kill-buffer-query-function): Mention the buffer name in
6517 the query.
0b1c89c1 6518
77549ea8
LMI
6519 * image-mode.el (image-next-line): The line parameter is mandatory
6520 (bug#9258).
6521
803ef892
LMI
6522 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6523 which can be useful (bug#9301).
6524
12980837
LMI
6525 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6526
91054f8f
LMI
6527 * subr.el (match-string): Mention that the current buffer should
6528 be the same as the search was done in (bug#9282).
6529
b322f63a
LMI
6530 * facemenu.el: Disable the remove-* commands if the mark isn't
6531 active (bug#9162).
6532
3199b96f
CY
65332011-09-10 Chong Yidong <cyd@stupidchicken.com>
6534
6535 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6536 of display-buffer.
6537 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6538
6539 * replace.el (occur-mode-goto-occurrence)
6540 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6541 and display-buffer.
6542
6543 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6544 display-buffer.
6545
6546 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6547 special-display and same-window variables.
6548 (mail-other-window): Use switch-to-buffer-other-window.
6549 (mail-other-frame): USe switch-to-buffer-other-frame.
6550
393a301e
SM
6551 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6552 Use display-buffer-other-frame.
3199b96f
CY
6553 (gdb-display-gdb-buffer): Use pop-to-buffer.
6554
6555 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6556
6557 * progmodes/python.el: Don't set same-window-buffer-names.
6558
6559 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6560
6561 * window.el (display-buffer-alist): Add *Python*.
6562
8319e0bf
CY
65632011-09-10 Chong Yidong <cyd@stupidchicken.com>
6564
6565 * window.el (display-buffer-alist): Add entry for buffers
6566 previously handled same-window-*.
6567 (display-buffer-alist, display-buffer-default-action)
6568 (display-buffer-overriding-action): Mark as risky.
6569 (display-buffer-alist): Document action function changes.
6570 (display-buffer--same-window-action)
6571 (display-buffer--other-frame-action): New variables.
6572 (switch-to-buffer, display-buffer-other-frame): Use them.
6573 (display-buffer): Rename reuse-frame entry to reusable-frames.
6574 (display-buffer-reuse-selected-window): Function deleted.
6575 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6576 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6577 (display-buffer-special): New function.
6578 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6579 display-buffer-reuse-or-pop-window. Split off special-display
6580 part into display-buffer-special.
6581 (display-buffer-use-some-window): Don't perform any special
6582 pop-up-frames handling.
6583 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6584 (display-buffer--maybe-same-window): Rename from
0d3ff375 6585 display-buffer-maybe-same-window.
8319e0bf 6586
919a69aa
CY
6587 * info.el: Don't set same-window-regexps.
6588 (info-setup): New function.
6589 (info-other-window, info): Call it.
6590
6591 * cus-edit.el: Don't set same-window-regexps.
6592 (customize-group): New argument.
6593 (customize-group-other-window): Use it.
6594 (customize-face, customize-face-other-window): Likewise.
6595 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6596
8319e0bf
CY
6597 * net/rlogin.el:
6598 * net/telnet.el:
6599 * progmodes/gud.el: Don't set same-window-regexps.
6600
6601 * cmuscheme.el:
6602 * ielm.el:
6603 * shell.el:
6604 * mail/sendmail.el:
6605 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6606
25173000
JL
66072011-09-10 Juri Linkov <juri@jurta.org>
6608
6609 * isearch.el (isearch-edit-string): Remove obsolete mention of
6610 `C-w' (`isearch-yank-word-or-char') from docstring.
6611 (isearch-query-replace): Fix typo in docstring (bug#9466).
6612
056e44ef
JL
66132011-09-10 Juri Linkov <juri@jurta.org>
6614
6615 * paren.el (show-paren-function): Don't show escaped parens.
6616 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6617
c3760c17
EZ
66182011-09-10 Eli Zaretskii <eliz@gnu.org>
6619
6620 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6621 (mm-default-file-encoding): Remove autoload forms, they are
6622 replaced with autoload cookies in mml.el and mm-encode.el.
6623 (mail-add-attachment): New command.
6624 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6625 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6626 the doc string.
6627 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6628
fece895e
RT
66292011-09-10 Reuben Thomas <rrt@sc3d.org>
6630
e69df516
SM
6631 * simple.el (count-words-region): Use buffer if there's no region
6632 (bug#9429).
fece895e 6633
5e68ce4a
JL
66342011-09-09 Juri Linkov <juri@jurta.org>
6635
6636 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6637 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6638 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6639
0a6b9622
AM
66402011-09-09 Alan Mackenzie <acm@muc.de>
6641
6642 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6643 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6644
14a29deb
EZ
66452011-09-09 Eli Zaretskii <eliz@gnu.org>
6646
6647 Fix for Savannah bug#9392.
6648 * simple.el (mail-encode-mml): New defvar.
6649
6650 * mail/rmail.el (mail-encode-mml): Add a defvar.
6651 (rmail-enable-mime-composing): Default to t.
6652 (rmail-forward): Use MIME method of forwarding only if both
6653 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6654 Set mail-encode-mml non-nil if the MIME method was used.
6655
6656 * mail/sendmail.el (mml-to-mime): Add autoload form.
6657 (mail-encode-mml): Add a defvar.
6658 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6659 to nil.
6660 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6661 message through mml-to-mime, and reset mail-encode-mml to nil.
6662
28c45130
GM
66632011-09-09 Glenn Morris <rgm@gnu.org>
6664
6665 * woman.el (woman-if-body): When processing an .el block,
6666 do not delete the next .el block as well. (Bug#9447)
69f4b618 6667 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6668
9b1c252e
MR
66692011-09-08 Martin Rudalics <rudalics@gmx.at>
6670
6671 * window.el (window-deletable-p): Make sure window is live before
6672 invoking window-prev-buffers.
6673
567457e3
LL
66742011-09-08 Leo Liu <sdl.web@gmail.com>
6675
6676 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6677
97f05794
JL
66782011-09-08 Juri Linkov <juri@jurta.org>
6679
6680 * progmodes/compile.el (compilation-environment): Make it
6681 a defcustom (bug#8340).
6682
8b0874b5
MR
66832011-09-08 Martin Rudalics <rudalics@gmx.at>
6684
6685 * window.el (frame-auto-delete): Rename to window-auto-delete.
6686 Make it control auto-deletion of windows and/or frames.
6687 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6688 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6689 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6690 Rewrite handling of case when window/frame can be deleted.
6691 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6692 argument t. (Bug#9456)
8b0874b5 6693
4feb6e73
CY
66942011-09-07 Chong Yidong <cyd@stupidchicken.com>
6695
6696 * help-mode.el (help-mode): Restore autoload.
6697
91ab9c13
JL
66982011-09-07 Juri Linkov <juri@jurta.org>
6699
6700 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6701 `compilation-environment'. Set buffer-local
6702 `compilation-environment' to `thisenv' later after (funcall mode).
6703 (Bug#8340)
6704
6705 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6706 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6707 instead of replacing its value. (Bug#8340)
6708
0527e251
JL
67092011-09-07 Juri Linkov <juri@jurta.org>
6710
6711 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6712 based on text properties put by `grep-filter' instead of matching
6713 escape sequences.
6714 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6715 to the value of `grep-error-screen-columns' (bug#9438).
6716
249f792c
JL
67172011-09-07 Juri Linkov <juri@jurta.org>
6718
6719 * simple.el (next-error-highlight, next-error-highlight-no-select):
6720 Doc fix (bug#9432).
6721
ff7271b9
OT
67222011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6723
6724 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6725 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6726
183fc730
LL
67272011-09-07 Leo Liu <sdl.web@gmail.com>
6728
6729 * net/rcirc.el (rcirc-mode): Conditionally initialize
6730 rcirc-input-ring.
6731
77694924
SM
67322011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 * emacs-lisp/find-func.el (find-function-C-source): Only set
6735 find-function-C-source-directory after checking that we found a source
6736 file there (bug#9440).
6737
d809b8eb
AM
67382011-09-06 Alan Mackenzie <acm@muc.de>
6739
6740 * isearch.el (isearch-other-meta-char): Wherever a key list is
6741 unread, "unread" the prefix arg, too. This fixes bug #8901.
6742
453de99f
OG
67432011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6744
6745 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6746
90439906
JL
67472011-09-05 Juri Linkov <juri@jurta.org>
6748
6749 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6750
f62bd846
JL
67512011-09-05 Juri Linkov <juri@jurta.org>
6752
6753 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6754 keeping point where processing of grep matches begins, and
6755 continue to delete remaining escape sequences from the same point.
6756 (grep-filter): Make leading zero optional in "0?1;31m" because
6757 git-grep emits "\033[1;31m" escape sequences unlike expected
6758 "\033[01;31m" as GNU Grep does (bug#9408).
6759 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6760
045820ec
JL
67612011-09-05 Juri Linkov <juri@jurta.org>
6762
6763 * subr.el (y-or-n-p): Capitalize "yes".
6764
f5e29b9b
MA
67652011-09-04 Michael Albinus <michael.albinus@gmx.de>
6766
6767 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6768 `tramp-cache-unload-hook' where appropriate.
6769 (tramp-methods): Rename `tramp-remote-sh' to
6770 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6771 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6772
6773 * net/tramp-sh.el (top): Don't require 'shell.
6774 (tramp-methods): Add `tramp-remote-shell' and
6775 `tramp-remote-shell-args' entries.
6776 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6777 (tramp-sh-handle-shell-command): Remove.
6778 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6779 Use `tramp-remote-shell'.
6780
2784c434
CY
67812011-09-03 Chong Yidong <cyd@stupidchicken.com>
6782
393a301e 6783 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6784 (sendmail-query-once): Save directly to send-mail-function.
6785 Update message-send-mail-function too.
6786
6787 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6788
464cdf56
CS
67892011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6790
6791 * progmodes/python.el (python-mode-map): Use correct function to
6792 start python interpreter from menu-bar (as reported by Geert
6793 Kloosterman).
6794 (inferior-python-mode-map): Fix typo.
393a301e 6795 (python-shell-map): Remove.
464cdf56 6796
d37e5c87
DD
67972011-09-03 Deniz Dogan <deniz@dogan.se>
6798
6799 * net/rcirc.el (rcirc-print): Simplify code for
6800 rcirc-scroll-show-maximum-output. There is no need to walk
6801 through all windows to find the right one.
6802
f3ada0ee
CS
68032011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6804
6805 * help.el (help-return-method): Doc fix.
6806
1f3c99ca
MR
68072011-09-03 Martin Rudalics <rudalics@gmx.at>
6808
6809 * window.el (window-deletable-p): Don't return a non-nil value
6810 when there's a buffer that was shown in the window before.
6811 (Bug#9419)
393a301e
SM
6812 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6813 Set window's previous buffers to nil.
1f3c99ca 6814
a3cf097f
EZ
68152011-09-03 Eli Zaretskii <eliz@gnu.org>
6816
6817 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6818 newline before and after the tag line, so it doesn't interfere
6819 with determining the paragraph direction of bidirectional text.
6820
3d03de90
LL
68212011-09-03 Leo Liu <sdl.web@gmail.com>
6822
6823 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6824
c3313451
CY
68252011-09-02 Chong Yidong <cyd@stupidchicken.com>
6826
393a301e 6827 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6828 (pop-to-buffer): Change interactive spec. Pass second argument
6829 directly to display-buffer.
6830 (display-buffer): Fix interactive spec. Use functionp to
6831 distinguish between a function and a list of functions.
6832
6833 * abbrev.el (edit-abbrevs):
6834 * arc-mode.el (archive-extract):
6835 * autoinsert.el (auto-insert):
6836 * bookmark.el (bookmark-bmenu-list):
6837 * files.el (find-file):
6838 * view.el (view-buffer):
6839 * progmodes/compile.el (compilation-goto-locus):
6840 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6841
89894cd8
CY
68422011-09-02 Chong Yidong <cyd@stupidchicken.com>
6843
6844 * window.el (display-buffer-alist): Doc fix.
6845 (display-buffer): Add docstring. Don't treat
6846 display-buffer-default specially.
6847 (display-buffer-reuse-selected-window)
6848 (display-buffer-same-window, display-buffer-maybe-same-window)
6849 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6850 (display-buffer-pop-up-window)
6851 (display-buffer-reuse-or-pop-window)
6852 (display-buffer-use-some-window): New functions.
6853 (display-buffer-default-action): Use them.
393a301e 6854 (display-buffer-default): Delete.
89894cd8
CY
6855 (pop-to-buffer-1): Fix choice of actions.
6856
ae0bc9fb
SM
68572011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * minibuffer.el (completion--insert-strings): Don't get confused by
6860 completion entries that end with an LF char.
6861
e9d90883
EZ
68622011-09-01 Eli Zaretskii <eliz@gnu.org>
6863
6864 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6865
437014c8
CY
68662011-09-01 Chong Yidong <cyd@stupidchicken.com>
6867
6868 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6869 (display-buffer-same-window, display-buffer-other-window):
6870 New functions.
437014c8
CY
6871 (pop-to-buffer-1): New function. Use the above.
6872 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6873 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6874
6875 * view.el (view-buffer-other-window, view-buffer-other-frame):
6876 Just use pop-to-buffer.
6877
a5e063d5
TV
68782011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6879
6880 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6881
793d32bb
WH
68822011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6883
6884 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6885
d65e4c15
RS
68862011-08-31 Richard Stallman <rms@gnu.org>
6887
6888 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6889 of the separation of rmail-view-buffer from rmail-buffer.
6890 If you say no to "replace original", the decrypt is in the
6891 view buffer. If you say yes, the decrypt goes into the
6892 rmail buffer also.
6893
f818cd2a
MR
68942011-08-31 Martin Rudalics <rudalics@gmx.at>
6895
6896 * window.el (display-buffer-window): Rewrite doc-string.
6897 (display-buffer-record-window): New function.
6898 (display-buffer-macro-specifiers)
6899 (display-buffer-even-window-sizes, display-buffer-set-height)
6900 (display-buffer-set-width, display-buffer-in-window)
6901 (display-buffer-reuse-window, display-buffer-split-specifiers)
6902 (display-buffer-side-specifiers, display-buffer-split-window-1)
6903 (display-buffer-split-window, display-buffer-split-atom-window)
6904 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6905 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6906 (display-buffer-other-window-means-other-frame)
6907 (display-buffer-normalize-special)
6908 (display-buffer-normalize-default)
6909 (display-buffer-normalize-argument)
6910 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6911 (display-buffer-normalize-specifiers, display-buffer-frame)
6912 (display-buffer-same-window, display-buffer-same-frame)
6913 (display-buffer-other-window)
6914 (display-buffer-same-frame-other-window)
6915 (display-buffer-other-frame, pop-to-buffer-same-window)
6916 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6917 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6918 (switch-to-buffer-same-frame)
6919 (switch-to-buffer-other-window-same-frame)
6920 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6921 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6922 (display-buffer-alist-set): Remove.
6923 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6924 (special-display-regexps, special-display-function):
6925 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6926 parameter.
6927 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6928 (special-display-frame-alist, special-display-popup-frame)
6929 (same-window-buffer-names, same-window-regexps, same-window-p)
6930 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6931 (split-window-preferred-function, split-height-threshold)
6932 (split-width-threshold, window-splittable-p)
6933 (split-window-sensibly, window--try-to-split-window)
6934 (window--frame-usable-p, even-window-heights)
6935 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6936 (window--display-buffer-2, display-buffer-other-frame):
6937 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6938 (display-buffer-default, display-buffer-assq-regexp): New functions.
6939 (display-buffer-alist): Rewrite doc-string.
6940 (display-buffer-default-action)
6941 (display-buffer-overriding-action): New variables.
6942 (display-buffer, switch-to-buffer): Rewrite.
6943 (pop-to-buffer): Restore Emacs 23 behavior but use
6944 window-normalize-buffer-to-display.
6945 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6946 Restore Emacs 23 behavior but use
6947 window-normalize-buffer-to-switch-to.
6948 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6949 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6950 Rewrite using Emacs 23 options.
f818cd2a 6951
5bc3b51d
MA
69522011-08-31 Michael Albinus <michael.albinus@gmx.de>
6953
6954 * net/tramp.el (tramp-root-regexp): Remove.
6955 (tramp-completion-file-name-regexp-unified)
6956 (tramp-completion-file-name-regexp-separate)
6957 (tramp-completion-file-name-regexp-url): Don't use leading volume
6958 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6959 (tramp-drop-volume-letter): Simplify definition.
6960 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6961
b1a4f8e1
SM
69622011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6965 (bug#9356).
6966
5664fa7b
RT
69672011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6968
b1a4f8e1 6969 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6970
9a45d6c3
JL
69712011-08-29 Juri Linkov <juri@jurta.org>
6972
6973 * isearch.el (isearch-done): Don't display message "Mark saved"
6974 when arg `edit' is non-nil to prevent its flicker in the echo area.
6975
fb87e0fb
CY
69762011-08-28 Chong Yidong <cyd@stupidchicken.com>
6977
6978 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6979 obsolete packages for deletion.
6980
09ac1c2a
CS
69812011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6982
6983 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6984 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6985 view-mode from help-mode.
6986 (help-xref-override-view-map): Remove.
6987 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6988 view-mode is not used anymore.
6989
7a1ff57f
CY
69902011-08-28 Chong Yidong <cyd@stupidchicken.com>
6991
6992 * server.el (server-port): Doc fix.
6993
b9696605
CY
6994 * cus-theme.el (custom-theme-choose-mode): Inherit from
6995 special-mode (Bug#9124).
6996 (custom-theme-choose-mode-map): Add special-mode to parent.
6997
ef8cdf8c
AM
69982011-08-28 Alan Mackenzie <acm@muc.de>
6999
7000 * progmodes/cc-fonts.el
7001 (c-make-font-lock-BO-decl-search-function): New function.
7002 (c-basic-matchers-after - "Fontify the clauses after various
7003 keywords"): Extract the three keyword lists for the 3 erroneous
7004 constructs from the list of four, and use the new function above
7005 in place of an old one.
7006
27de4e20
DD
70072011-08-28 Deniz Dogan <deniz@dogan.se>
7008
7009 * net/rcirc.el (rcirc-insert-prev-input)
7010 (rcirc-insert-next-input): Remove unused argument.
7011
356a3681
SM
70122011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7015
3fc9b218
AM
70162011-08-27 Alan Mackenzie <acm@muc.de>
7017
7018 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7019 handle function pointer parameters properly.
7020
538a061c
MR
70212011-08-27 Martin Rudalics <rudalics@gmx.at>
7022
7023 * window.el (display-buffer-reuse-window): Fix case where
7024 selected window was reused with non-nil OTHER-WINDOW argument.
7025 (Bug#9381)
7026
35b1c40c
DD
70272011-08-27 Deniz Dogan <deniz@dogan.se>
7028
7029 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7030 oftc's NickServ messages.
7031
2f6a3e79
GM
70322011-08-27 Glenn Morris <rgm@gnu.org>
7033
7034 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7035
7254299e
CY
70362011-08-26 Chong Yidong <cyd@stupidchicken.com>
7037
7038 * emacs-lisp/package.el (package-install): Call package-initialize
7039 if called interactively.
7040
f8ccf167
LL
70412011-08-26 Leo Liu <sdl.web@gmail.com>
7042
7043 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7044
3e8cd5ce
JL
70452011-08-25 Juri Linkov <juri@jurta.org>
7046
7047 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7048 `search-whitespace-regexp' (bug#9364).
7049
93eb7113
JL
70502011-08-25 Juri Linkov <juri@jurta.org>
7051
7052 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7053 `regexp-search-ring' to their global values to protect from
7054 updating by `read-from-minibuffer' (bug#9185).
7055
f65d1611
JL
70562011-08-25 Juri Linkov <juri@jurta.org>
7057
7058 * textmodes/ispell.el (ispell-command-loop): Add newline
7059 at the end of the "Use option `i'..." line.
7060
f1cf7a31
JL
70612011-08-25 Juri Linkov <juri@jurta.org>
7062
7063 * battery.el (display-battery-mode): If `battery-status-function'
7064 or `battery-mode-line-format' is nil, display the message and set
7065 `display-battery-mode' to nil (bug#9363).
7066
0c95fcf7
EZ
70672011-08-25 Eli Zaretskii <eliz@gnu.org>
7068
7069 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7070 bidi-string-mark-left-to-right; they are unnecessary now.
7071
a2ebe600
DD
70722011-08-25 Deniz Dogan <deniz@dogan.se>
7073
7074 * net/quickurl.el: Documentation typo fixes.
7075
e4ed06f1
CY
70762011-08-25 Chong Yidong <cyd@stupidchicken.com>
7077
7078 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7079
e5f1c99e
GM
70802011-08-25 Glenn Morris <rgm@gnu.org>
7081
b2948976
GM
7082 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7083
e5f1c99e
GM
7084 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7085 (smtpmail-via-smtp): Handle nil response from smtp.
7086
f22f4808
JL
70872011-08-24 Juri Linkov <juri@jurta.org>
7088
7089 * proced.el (proced-marked): Inherit from `error' instead of
7090 `font-lock-warning-face'.
7091
7092 * ibuffer.el (ibuffer-marked-face): Change default face from
7093 `font-lock-warning-face' to `warning'.
7094 (ibuffer-deletion-face): Change default face from
7095 `font-lock-type-face' to `error'.
7096
7097 * battery.el (battery-update): Use the face `error' instead of
7098 `font-lock-warning-face' (bug#6117).
7099
6a93965e
JL
71002011-08-24 Juri Linkov <juri@jurta.org>
7101
7102 * faces.el (success): Change face color from "Green3" to
7103 "ForestGreen" on light background (bug#9353).
7104
1ed43b09
CY
71052011-08-24 Chong Yidong <cyd@stupidchicken.com>
7106
5664fa7b
RT
7107 * window.el (quit-window): Rename from quit-restore-window.
7108 Use same arglist as old quit-window.
1ed43b09
CY
7109 (frame-auto-delete): Doc fix.
7110
7111 * view.el (view-mode-exit): Use quit-window.
7112
11dcdbb2
JL
71132011-08-24 Juri Linkov <juri@jurta.org>
7114
7115 * isearch.el (isearch-ring-adjust1): Start visiting previous
7116 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7117 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7118 for empty search string (when the last search string is reused
7119 automatically) to adjust the isearch ring to the last element and
7120 prepare the correct index for further M-p commands (bug#9185).
7121
de62b4df
KH
71222011-08-24 Kenichi Handa <handa@m17n.org>
7123
7124 * international/ucs-normalize.el: If decomposition property of
7125 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7126 nil.
7127 (nfd, nfkd): Likewise.
7128
963b492b
SM
71292011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7132 from process filters aren't reliably transmitted to the surrounding
7133 accept-process-output.
7134 (mpc-proc-check): New function.
7135 (mpc-proc-sync): Use it (bug#8293)
7136
93b6b5e1
SM
71372011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7140 Add compatibility functions (bug#9313).
7141
bca633fb
EZ
71422011-08-23 Eli Zaretskii <eliz@gnu.org>
7143
b177498a
EZ
7144 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7145
6df6ae42 7146 * international/uni-bidi.el: Regenerate.
bca633fb 7147
0902a04e
KH
71482011-08-23 Kenichi Handa <handa@m17n.org>
7149
7150 * international/charprop.el:
7151 * international/uni-bidi.el:
7152 * international/uni-category.el:
7153 * international/uni-combining.el:
7154 * international/uni-comment.el:
7155 * international/uni-decimal.el:
7156 * international/uni-decomposition.el:
7157 * international/uni-digit.el:
7158 * international/uni-lowercase.el:
7159 * international/uni-mirrored.el:
7160 * international/uni-name.el:
7161 * international/uni-numeric.el:
7162 * international/uni-old-name.el:
7163 * international/uni-titlecase.el:
7164 * international/uni-uppercase.el: Regenerate.
7165
3bbf23bc
MR
71662011-08-23 Martin Rudalics <rudalics@gmx.at>
7167
7168 * help.el (help-window-setup): Fix message displayed when other
7169 window is reused. (Bug#9341)
7170
b3fd59bd
SM
71712011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7172
1802e444
SM
7173 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7174 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7175
b3fd59bd
SM
7176 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7177 Mark obsolete.
7178 * shell.el (shell-parse-pcomplete-arguments): New function.
7179 (shell-completion-vars): Use it instead (bug#9160).
7180
4eb61348
SM
71812011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7182
867cab74
SM
7183 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7184 strings and comments (bug#9333).
7185
4eb61348
SM
7186 * emacs-lisp/debug.el (debug-arglist): New function.
7187 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7188 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7189
262a1439
JL
71902011-08-22 Juri Linkov <juri@jurta.org>
7191
56ee679c
JL
7192 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7193 Revert regexp that highlights output switches to its old
7194 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7195
262a1439
JL
7196 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7197 to check for empty output (bug#9226).
7198
f13f86fb
CY
71992011-08-22 Chong Yidong <cyd@stupidchicken.com>
7200
7201 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7202 symbol-constituent as the default, as that stops font-lock from
7203 working properly (Bug#8843).
7204
c65c9622
LMI
72052011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7206
7207 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7208 `coding-system-for-*' around the process open call to avoid
7209 auth-source side effects.
e7f2c178 7210 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
7211 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7212 probe hangs.
c65c9622 7213
23a8a5ab
CY
72142011-08-21 Chong Yidong <cyd@stupidchicken.com>
7215
ff98b2dd
CY
7216 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7217
23a8a5ab
CY
7218 * emacs-lisp/find-func.el (find-function-noselect): New arg
7219 lisp-only.
7220
7221 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7222 signal an error for built-in functions (Bug#6664).
7223
f5e3c598
LMI
72242011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7225
7226 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7227 (smtpmail-try-auth-methods): Use it.
7228
a3f2468a
CY
72292011-08-21 Chong Yidong <cyd@stupidchicken.com>
7230
2c34e8da
CY
7231 * font-lock.el (font-lock-fontify-region)
7232 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7233 (font-lock-default-unfontify-buffer)
7234 (font-lock-default-fontify-region)
7235 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7236
b3fd59bd
SM
7237 * progmodes/compile.el (compilation-error-properties):
7238 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
7239 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7240 `ant' regexp.
ee31aabc 7241
a3f2468a
CY
7242 * net/browse-url.el (browse-url-firefox): Don't call
7243 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7244
8e999f70
GM
72452011-08-20 Glenn Morris <rgm@gnu.org>
7246
c21a496a
GM
7247 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7248
59ee0542
GM
7249 * tutorial.el (tutorial--default-keys): Update some default bindings.
7250
8e999f70
GM
7251 * files.el (hack-local-variables): Fully ignore case for "mode:".
7252
e3715033
AM
72532011-08-20 Alan Mackenzie <acm@muc.de>
7254
7255 Resolve invalid use of a regexp in regexp-opt.
7256
4d61f28d
JB
7257 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7258 detection for a java annotation.
e3715033 7259
4d61f28d 7260 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
7261 detection for a java annotation.
7262
4d61f28d
JB
7263 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7264 handling for java.
e3715033
AM
7265 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7266
04ed2e9c
CY
72672011-08-20 Chong Yidong <cyd@stupidchicken.com>
7268
7269 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7270 (Bug#9274).
7271
826cee64
AM
72722011-08-20 Alan Mackenzie <acm@muc.de>
7273
58179cce 7274 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
7275 such a construct. Mainly for when jit-lock etc. starts a chunk
7276 here.
7277
58179cce 7278 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 7279 variable.
58179cce 7280 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
7281 c-make-font-lock-search-function.
7282 (c-make-font-lock-search-function): Use the above function.
7283 (c-make-font-lock-context-search-function): New function.
7284 (c-cpp-matchers): Enhance the preprocessor expression case with
7285 the above function
7286 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7287 which takes an expression.
7288
7289 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7290
13009bd8
MR
72912011-08-20 Martin Rudalics <rudalics@gmx.at>
7292
7293 * window.el (display-buffer-reuse-window)
7294 (display-buffer-pop-up-window): Don't reuse or split a side
7295 window.
7296
9234ff7f
GM
72972011-08-19 Glenn Morris <rgm@gnu.org>
7298
7299 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 7300 Downcase "Mode:". (Bug#9331)
9234ff7f 7301
f635daa1
CY
73022011-08-18 Chong Yidong <cyd@stupidchicken.com>
7303
7304 * international/characters.el: Add L and R categories.
7305
7306 * subr.el (bidi-string-mark-left-to-right): Rename from
7307 string-mark-left-to-right. Use category search.
7308
7309 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7310
bc987f8b
JL
73112011-08-18 Juri Linkov <juri@jurta.org>
7312
7313 * faces.el (error, warning, success): New faces with definitions
7314 copied from old default values of `font-lock-warning-face',
7315 `compilation-warning', `compilation-info' (bug#6117).
7316
7317 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7318
7319 * progmodes/compile.el (compilation-error): Inherit from `error'.
7320 (compilation-warning): Inherit from `warning'.
7321 (compilation-info): Inherit from `success'.
7322
7323 * dired.el (dired-marked): Inherit from `warning'.
7324 (dired-flagged): Inherit from `error'.
7325
57173b96
LMI
73262011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7327
3e79eb87
LMI
7328 * mail/smtpmail.el (auth-source): Require to avoid problems with
7329 binding variables (bug#9298). Also clean up some unused
7330 autoloads.
7331
b3fd59bd
SM
7332 * net/network-stream.el (network-stream-open-starttls):
7333 Support using starttls.el without using gnutls-cli.
57173b96 7334
02b404de
JL
73352011-08-17 Juri Linkov <juri@jurta.org>
7336
7337 * progmodes/grep.el (rgrep): Handle the case when
7338 `grep-find-command' is a cons cell (bug#9278).
7339
8c9177f2
MR
73402011-08-17 Martin Rudalics <rudalics@gmx.at>
7341
7342 * window.el (display-buffer-pop-up-frame): Run frame creation
7343 function with BUFFER current (as special-display-popup-frame
7344 does). Reported by Drew Adams.
7345
3644a0ab
DU
73462011-08-17 Daiki Ueno <ueno@unixuser.org>
7347
7348 * epa-mail.el: Simplify GnuPG group expansion using
7349 epg-expand-group.
7350 (epa-mail-group-alist, epa-mail-group-modtime)
7351 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
7352 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
7353 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
7354 Remove.
7355
5e617bc2 73562011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
7357
7358 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
7359
9c4aeabf
AM
73602011-08-16 Alan Mackenzie <acm@muc.de>
7361
7362 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
7363 Correct, to avoid the inside of macros.
7364
3a99bf64
RS
73652011-08-16 Richard Stallman <rms@gnu.org>
7366
04963aa8
RS
7367 * epa-mail.el: Handle GnuPG group definitions.
7368 (epa-mail-group-alist, epa-mail-group-modtime)
7369 (epa-mail-gnupg-conf-file): New variables.
7370 (epa-mail-parse-groups, epa-mail-sync-groups)
7371 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
7372 (epa-mail-expand-recipients): New functions.
7373 (epa-mail-encrypt): Call epa-mail-expand-recipients.
7374
177549d0
RS
7375 * mail/rmail.el (rmail-epa-decrypt): New command.
7376
fe38beef
RS
7377 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
7378 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
7379 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
7380 (epa-decrypt-armor-in-region): Make error message clearer.
7381
934eacb9
SM
73822011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
7385 and "a2b" to "ab" for `prefix'.
7386
d024fb4e
CY
73872011-08-14 Chong Yidong <cyd@stupidchicken.com>
7388
7389 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
7390 filter groups.
de148fee
CY
7391 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
7392 Fourquet (Bug#8804).
d024fb4e 7393
62f1ca49
JB
73942011-08-12 Juanma Barranquero <lekktu@gmail.com>
7395
7396 * startup.el (argi): Declare as global variable (bug#9275).
7397
9ccaaa4b
CY
73982011-08-12 Chong Yidong <cyd@stupidchicken.com>
7399
7400 * subr.el (string-mark-left-to-right): Search the entire string
7401 for RTL script, not just the terminating character. Doc fix.
7402
a3dae87a
SM
74032011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7404
6cd18349
SM
7405 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
7406 New function.
7407 (js--regexp-literal, js-syntax-propertize-function): Remove.
7408 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
7409 (js-mode-map): Don't rebind electric keys.
7410 (js-insert-and-indent): Remove.
7411 (js-mode): Setup electric-layout and electric-indent instead.
7412
a3dae87a
SM
7413 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
7414
9d5cb631
DU
74152011-08-12 Daiki Ueno <ueno@unixuser.org>
7416
7417 * epa.el (epa-progress-callback-function): Fix the logic of
7418 displaying progress.
7419 * epa-file.el (epa-file-insert-file-contents): Make progress
7420 display more user-friendly.
7421 (epa-file-write-region): Ditto.
7422
3e26a4a2
CY
74232011-08-10 Chong Yidong <cyd@stupidchicken.com>
7424
7425 * subr.el (string-mark-left-to-right): New function.
7426
7427 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
7428 Use string-mark-left-to-right.
7429 (list-buffers-noselect): Caller changed.
7430
a3dae87a
SM
7431 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7432 Use string-mark-left-to-right.
3e26a4a2
CY
7433 (tabulated-list-print): Recenter after moving point.
7434
ac8cf6e6
JL
74352011-08-10 Juri Linkov <juri@jurta.org>
7436
7437 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
7438 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
7439 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
7440
8d96c9a4
CY
74412011-08-09 Chong Yidong <cyd@stupidchicken.com>
7442
7443 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
7444 (Bug#7554).
7445
7be1c708 74462011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
7447
7448 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
7449 character. (Bug#6594)
7450
37e11a63
CY
74512011-08-08 Chong Yidong <cyd@stupidchicken.com>
7452
839dde57
CY
7453 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
7454 (image-dired--with-db-file): New macro.
7455 (image-dired-write-tags, image-dired-remove-tag)
7456 (image-dired-create-gallery-lists, image-dired-write-comments)
7457 (image-dired-get-comment, image-dired-mark-tagged-files)
7458 (image-dired-list-tags, image-dired-gallery-generate): Use it.
7459 (image-dired-gallery-generate): Use insert-file-contents.
7460
37e11a63
CY
7461 * time.el (display-time-world-list, display-time-world-display):
7462 * time-stamp.el (time-stamp-string):
7463 * vc/add-log.el (add-change-log-entry): Use setenv instead of
7464 set-time-zone-rule (Bug#7337).
7465
0b4946c4
DU
74662011-08-08 Daiki Ueno <ueno@unixuser.org>
7467
7468 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
7469 (epg-error-to-string, epg-errors-to-string): New function.
7470 (epg-wait-for-completion): Reverse errors list.
7471 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
7472 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
7473 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
7474 (epg-sign-keys, epg-generate-key-from-file)
7475 (epg-generate-key-from-string): Format errors by using
7476 epg-errors-to-string (bug#9255).
7477 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
7478
75bfc667
JL
74792011-08-07 Juri Linkov <juri@jurta.org>
7480
7481 * faces.el (list-faces-display): Remove extra angle bracket
7482 from `help-mode-map'.
7483
7484 * info.el (Info-history-toc-nodes): Doc fix.
7485
7486 * longlines.el (longlines-mode): Doc fix.
7487
673e08bb
SM
74882011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7489
4640dd88
SM
7490 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
7491 of statements and in a few more cases (bug#9183).
7492
673e08bb
SM
7493 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
7494 New functions.
7495 (cl-transform-lambda): Use them (bug#9239).
7496
89b3f019
MR
74972011-08-05 Martin Rudalics <rudalics@gmx.at>
7498
7499 * window.el (display-buffer-same-window)
7500 (display-buffer-same-frame, display-buffer-other-window)
7501 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
7502 (pop-to-buffer-other-window)
7503 (pop-to-buffer-same-frame-other-window)
7504 (pop-to-buffer-other-frame): Make them defuns.
7505 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
7506
640c8776
SM
75072011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7508
7509 * subr.el (make-composed-keymap): Move from C. Change calling
7510 convention, and improve docstring to bring attention to a subtle point.
7511 * minibuffer.el (completing-read-default): Adjust accordingly.
7512
63648a95
MA
75132011-08-03 Michael Albinus <michael.albinus@gmx.de>
7514
7515 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7516 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7517
7518 * net/trampver.el: Update release number.
7519
b796c9b7
SM
75202011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7523 "in" (bug#9190).
7524
2239d7d5
LMI
75252011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7526
e07dd7c3
LMI
7527 * mail/sendmail.el (sendmail-query-once): Restore the current
7528 buffer after querying (bug#9074).
7529
0e6a2bd7
LMI
7530 * dired.el (dired-flagged): Use different faces for marked and
7531 flagged files (bug#6117).
7532
ce887515
LMI
7533 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7534 (bug#4433).
7535
92f2affc
LMI
7536 * ido.el (ido-mode): Switch off the message if called
7537 non-interactively.
7538
57d5aff0
LMI
7539 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7540 before 587, since it appears that that's more likely to work for
7541 more people.
7542
98cd6c18 7543 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7544 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7545 exist.
7546
b96dec83
LMI
7547 * info.el: Remove the `Info-beginning-of-buffer' function
7548 (bug#8325).
7549
b796c9b7
SM
7550 * net/network-stream.el (network-stream-open-starttls):
7551 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7552
d90e2ea0
MR
75532011-08-01 Martin Rudalics <rudalics@gmx.at>
7554
7555 * window.el (display-buffer-in-window): Don't set dedicated status
7556 of window here (Bug#9215).
7557 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7558 (display-buffer-pop-up-side-window)
b796c9b7 7559 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7560
cca09170
SM
75612011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7564 before binding generated-autoload-file.
7565
027b979c
DD
75662011-08-01 Deniz Dogan <deniz@dogan.se>
7567
7568 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7569
3c7ee4f3
MA
75702011-07-30 Michael Albinus <michael.albinus@gmx.de>
7571
7572 Sync with Tramp 2.2.2.
7573
7574 * net/trampver.el: Update release number.
7575
2cc8e51a
JL
75762011-07-30 Juri Linkov <juri@jurta.org>
7577
7578 * dired-aux.el (dired-touch-initial): Remove function.
7579 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7580 current time, and `default' to the last modification time of the
7581 current marked file (bug#6887).
7582
a514d856
JM
75832011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7584
7585 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7586 numeric argument to read-number (bug#9163).
a514d856 7587
8a7eddd7
MA
75882011-07-27 Michael Albinus <michael.albinus@gmx.de>
7589
7590 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7591 connection process, it could be nil.
7592
1ddd96f5
LL
75932011-07-27 Leo Liu <sdl.web@gmail.com>
7594
7595 Simplify url handling in rcirc-mode.
7596
7597 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7598 (rcirc-browse-url-at-mouse): Remove.
7599 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7600
b248a85d
AM
76012011-07-26 Alan Mackenzie <acm@muc.de>
7602
7603 Fontify bitfield declarations properly.
7604
7605 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7606 (c-symbol-chars): Now exported as a lang variable.
7607 (c-not-primitive-type-keywords): New lang variable.
7608
7609 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7610 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7611 parsed as a bitfield declaration.
b248a85d 7612
b796c9b7
SM
7613 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7614 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7615 (c-punctuation-in): New function.
7616 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7617 declarations properly.
7618
68575ab0
UJ
76192011-07-26 Ulf Jasper <ulf.jasper@web.de>
7620
7621 * calendar/icalendar.el (icalendar--all-events): Take care of
7622 multiple vcalendars in a single file.
b796c9b7 7623 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7624
0f0a88b9
DD
76252011-07-25 Deniz Dogan <deniz@dogan.se>
7626
7627 * image.el (insert-image): Clarifying docstring.
7628
0b3f36df
MA
76292011-07-24 Michael Albinus <michael.albinus@gmx.de>
7630
7631 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7632 `tramp-send-command-and-check' if there is no error.
7633 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7634
a9901f61
AM
76352011-07-22 Alan Mackenzie <acm@muc.de>
7636
7637 Prevent cc-langs.elc being loaded at run time.
7638
7639 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7640 cc-langs.
7641
4d61f28d 7642 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7643 "(require 'cc-langs)". Quote a form so it will evaluate at
7644 (cc-mode's) compilation time.
7645
11d074b2
MA
76462011-07-22 Michael Albinus <michael.albinus@gmx.de>
7647
7648 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7649 loading. (Bug#9114)
7650
938b94c8
MR
76512011-07-21 Martin Rudalics <rudalics@gmx.at>
7652
7653 * window.el (display-buffer-pop-up-window)
7654 (display-buffer-pop-up-side-window)
7655 (display-buffer-in-side-window): Call display-buffer-set-height
7656 and display-buffer-set-width after setting the new window's
b796c9b7 7657 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7658
bfa4f190
SS
76592011-07-20 Sam Steingold <sds@gnu.org>
7660
7661 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7662 (etags-tags-included-tables): Call `convert-standard-filename' on
7663 the file names contained in TAGS so that windows Emacs can handle
7664 TAGS files created by cygwin ctags.
7665
8ca42262
LMI
76662011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7667
7668 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7669 which apparently didn't work.
7670
5db2afd2 76712011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7672
5db2afd2
RW
7673 * proced.el (proced-send-signal): For *Marked Processes* buffer
7674 put point at beginning of buffer.
7675
92e15d10
SB
76762011-07-19 Stephen Berman <stephen.berman@gmx.net>
7677
7678 * proced.el (proced-format): Make header lines align with the text
7679 (bug#1779).
7680
1bfd59e5
LMI
76812011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7682
7683 * view.el (view-buffer): Allow running in `special' modes if we're
7684 visiting a file (bug#8615).
7685
f5aae37c
MR
76862011-07-19 Martin Rudalics <rudalics@gmx.at>
7687
7688 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7689 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7690 New functions.
f5aae37c
MR
7691 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7692 more accurately.
7693
bf2c1571
AM
76942011-07-18 Alan Mackenzie <acm@muc.de>
7695
7696 Fontify declarators properly when, e.g., a jit-lock chunk begins
7697 inside a declaration.
7698
7699 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7700
b796c9b7
SM
7701 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7702 New function.
bf2c1571
AM
7703 (c-complex-decl-matchers): Insert reference to
7704 c-font-lock-enclosing-decls.
7705
7706 * progmodes/cc-engine.el (c-backward-single-comment):
7707 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7708 to nil around calls to (forward-comment -1).
7709
4e190b80
LMI
77102011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7711
12dc863d
LMI
7712 * image.el (put-image): Doc typo fix.
7713
a762e966
LMI
7714 * progmodes/etags.el (tags-search): Doc typo fix.
7715
4e190b80
LMI
7716 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7717 password if we get errors 550 to 554.
7718
f019fb21
LMI
77192011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7720
b796c9b7 7721 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7722
81746738
LMI
7723 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7724 indentation character (bug#6380).
7725
3ee3a1b5
LMI
7726 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7727
c82f64de
LMI
7728 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7729 to clarify what the problem is (bug#4291).
7730
f019fb21
LMI
7731 * simple.el (current-kill): Clarify what
7732 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7733 (auto-fill-mode): Document `auto-fill-function' in relation to
7734 `auto-fill-mode' (bug#2470).
f019fb21 7735
0794775d
LM
77362011-07-16 Lawrence Mitchell <wence@gmx.li>
7737
7738 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7739 method if slot is read-only (bug#9035).
7740
be39b8cc
MR
77412011-07-16 Martin Rudalics <rudalics@gmx.at>
7742
b796c9b7 7743 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7744 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7745 selected before, see discussion of (Bug#8615), (Bug#6954).
7746 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7747
6ccf7859
GM
77482011-07-15 Glenn Morris <rgm@gnu.org>
7749
7750 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7751 Respect help-form.
6ccf7859 7752
87e86684
LM
77532011-07-09 Lawrence Mitchell <wence@gmx.li>
7754
7755 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7756 (gnutls-negotiate): Use it.
7757
d6066239
LMI
77582011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7759
b796c9b7
SM
7760 * net/gnutls.el (gnutls-negotiate):
7761 Upcase `gnutls-algorithm-priority'.
d6066239 7762
bd23ebc0
GM
77632011-07-15 Glenn Morris <rgm@gnu.org>
7764
c65bca65
GM
7765 * jka-compr.el (jka-compr-verbose): Move from here...
7766 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7767 Add missing :version tag.
7768 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7769
478615cc
LMI
77702011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7771
7b41decb
LMI
7772 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7773 (gnutls-negotiate): Use it.
7774
dbc44fcd
LMI
7775 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7776
06789f97
LMI
7777 * info.el (Info-beginning-of-buffer): New command.
7778 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7779 announcing `b' as the key (bug#8325).
ab896c37 7780 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7781
c39da690
LMI
7782 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7783
3aa5f34b
LMI
7784 * international/mule-cmds.el
7785 (describe-specified-language-support): Make the error message
7786 clearer (bug#8905).
7787
4bf0979f
LMI
7788 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7789
478615cc
LMI
7790 * isearch.el (isearch-barrier): Add a doc string, since it's
7791 mentioned in a function doc string (bug#8678).
7792
75c68aa1
MR
77932011-07-15 Martin Rudalics <rudalics@gmx.at>
7794
7795 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7796 buffer argument (Bug#9083) and self-identifying label argument.
7797
a7c33da2
GM
77982011-07-15 Glenn Morris <rgm@gnu.org>
7799
7800 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7801
2f5c6024
LMI
78022011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7803
7804 * man.el (Man-fontify-manpage): Fix message when formatting the
7805 man page (bug#7929).
7806
0bb23927 78072011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7808
7809 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7810 argument LRM; if non-nil, append an invisible LRM character to the
7811 buffer name.
7812 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7813 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7814 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7815 paragraph direction.
cce4b0a7 7816
621ef9ab
LMI
78172011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
d1583c48
LMI
7819 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7820 the man page name (bug#7929).
7821
6a57fb5f
LMI
7822 * image.el (put-image): Mention the `put-image' overlay property
7823 (bug#7834).
7824
d7956b14
LMI
7825 * scroll-bar.el (set-scroll-bar-mode): Mention that
7826 `scroll-bar-mode' lists the values (bug#7772).
7827
5b2d4a66
LMI
7828 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7829 command (bug#7729).
7830
7509a874
LMI
7831 * rect.el (apply-on-rectangle): Return the point after the last
7832 operation.
7833 (string-rectangle): Go to the point after the last operation
7834 (bug#7522).
7835
4fe74b19
LMI
7836 * printing.el (pr-toggle-region): Clarify the documentation
7837 slightly (bug#7493).
7838
b796c9b7
SM
7839 * time.el (display-time-update):
7840 Allow `display-time-mail-function' to return nil (bug#7158).
7841 Fix suggested by Detlev Zundel.
ab283561 7842
fc233c9d
LMI
7843 * vc/diff.el (diff): Clarify the order the file names are read
7844 (bug#7111).
7845
43f5740b
LMI
7846 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7847 the doc string (bug#7015).
7848
f2182a76
LMI
7849 * font-lock.el (font-lock-maximum-decoration): Mention what
7850 numeric levels mean (bug#6935).
7851
621ef9ab
LMI
7852 * startup.el (initial-buffer-choice): Don't mention the `none'
7853 selection, which is against policy.
7854
adc47434
MR
78552011-07-14 Martin Rudalics <rudalics@gmx.at>
7856
b796c9b7
SM
7857 * window.el (display-buffer-normalize-special):
7858 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7859
7e5bfb8f
EZ
78602011-07-14 Eli Zaretskii <eliz@gnu.org>
7861
7862 * subr.el (version<, version<=, version=): Mention "-CVS" and
7863 "-12345" alpha version numbers.
7864
27fa387a
CY
78652011-07-14 Chong Yidong <cyd@stupidchicken.com>
7866
7867 * bindings.el: Add advertised binding for set-mark-command
7868 (Bug#5772).
7869
8bdfa064
CY
78702011-07-14 Chong Yidong <cyd@stupidchicken.com>
7871
7872 * bindings.el (mode-line-other-buffer):
7873 * bookmark.el (bookmark-bmenu-2-window):
7874 * bs.el (bs-cycle-next, bs-cycle-previous):
7875 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7876 switch-to-buffer.
7877
7878 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7879 Delete.
8bdfa064 7880
5eba16a3
JB
78812011-07-14 Juanma Barranquero <lekktu@gmail.com>
7882
7883 * follow.el (follow-debug-message, follow-redisplay):
7884 * jka-cmpr-hook.el (with-auto-compression-mode):
7885 Fix typos in docstrings.
7886
15853710
LMI
78872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7888
a28e4607
LMI
7889 * subr.el (with-silent-modifications): Clarify somewhat what the
7890 macro inhibits (bug#6525).
7891
15853710
LMI
7892 * simple.el (eval-expression): Note what it does if called
7893 interactively (bug#6495).
7894
bee0fcef
CY
78952011-07-13 Chong Yidong <cyd@stupidchicken.com>
7896
b796c9b7
SM
7897 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7898 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7899
7900 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7901 Remove switch-to-buffer.
7902
58274504
LMI
79032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7904
bd2fcc8d
LMI
7905 * files.el (make-directory): Clarify that an error will be raised
7906 if there's an error (bug#6397).
7907
0f04b32c
LMI
7908 * startup.el (initial-buffer-choice): Add `none' as a choice
7909 (bug#6234).
7910
465c5fc8
LMI
7911 * subr.el (add-hook): Clarify section about buffer-local hooks
7912 (bug#6218).
7913
58274504
LMI
7914 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7915
bead9a43
JB
79162011-07-13 Juanma Barranquero <lekktu@gmail.com>
7917
7918 * tabify.el (untabify): Preserve the current column so that point
7919 doesn't move (bug#6032).
7920
3af98a7b
LMI
79212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922
b796c9b7
SM
7923 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7924 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7925
6240145a
GM
79262011-07-13 Glenn Morris <rgm@gnu.org>
7927
7928 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7929 (dired-insert-directory): Give a message the first time
7930 if ls is found not to support --dired.
7931
1d8c2ccc
LMI
79322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7933
7934 * simple.el (toggle-truncate-lines): Clarify what is toggled
7935 (bug#5580). Text by Drew Adams.
7936
5fc4038e
CY
79372011-07-13 Chong Yidong <cyd@stupidchicken.com>
7938
7939 * simple.el (blink-matching-open): Make the error message from the
7940 last change less verbose.
7941
bf6012e5
DN
79422011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7943
7944 * font-lock.el (font-lock-comment-face): Use the high contrast
7945 "yellow" color for font-lock-comment-face on low color terminals
7946 using a dark background color (bug#4221).
7947
343c3b5a
LMI
79482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7949
7e9505c5
LMI
7950 * dired.el (dired-insert-set-properties): Make the doc string
7951 reflect what it does now (bug#5325).
7952
c26fdcf5
LMI
7953 * simple.el (blink-matching-open): Say that we were unable to find
7954 the match within the limit, if we're limited (bug#5122).
7955
bb388cc5
LMI
7956 * international/mule-cmds.el (prefer-coding-system): Add an
7957 example (bug#4869).
7958
343c3b5a
LMI
7959 * progmodes/etags.el (tags-search): Document `file-list-form'
7960 (bug#4731).
7961
2a517d45
LM
79622011-07-13 Lawrence Mitchell <wence@gmx.li>
7963
7964 * net/browse-url.el (browse-url-default-browser)
7965 (browse-url-browser-function): Make the default browser choice a
7966 bit more logical (bug#4300). Also clean up the doc string.
7967
b6c78ef2
JB
79682011-07-13 Juanma Barranquero <lekktu@gmail.com>
7969
7970 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7971 binary endings (bug#4440).
7972
1c4dd947
LMI
79732011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7974
a2014063
LMI
7975 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7976 which can be pretty annoying (bug#8971).
7977
9c9c2d88
LMI
7978 * jka-compr.el (jka-compr-verbose): New variable, and use
7979 throughout (bug#8971).
7980
1c4dd947
LMI
7981 * info.el (Info-find-file): Fall back on the installation
7982 directory if we can't find the info node anywhere else.
7983
a1c9f41b
SO
79842011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7985
7986 * vc/vc.el (vc-revert-file):
7987 Don't set file time-stamp in the past. (Bug#5181)
7988
536f3d36
LMI
79892011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7990
7152b011
LMI
7991 * files.el (after-find-file): Give a better error message when
7992 trying to find a symlink that points to a file that doesn't exist
7993 (bug#4398).
7994
536f3d36
LMI
7995 * progmodes/cc-vars.el: Remove (probably) misleading comment
7996 (bug#4396).
7997
460c0fba
JB
79982011-07-12 Johan Bockgård <bojohan@gnu.org>
7999
8000 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8001
7a6bda45
CY
80022011-07-12 Chong Yidong <cyd@stupidchicken.com>
8003
8004 * mouse-sel.el: Hack restoring functionality, while keeping
8005 compatibility with 2010-07-03 changes to mouse selection.
8006 (mouse-sel-primary-overlay): New var.
8007 (mouse-sel-selection-alist): Use it.
8008 (mouse-sel-mode): Doc fix; remove points that are default features
8009 of mouse.el.
8010
c79598ef
JB
80112011-07-12 Johan Bockgård <bojohan@gnu.org>
8012
8013 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8014 Fix previous fix (bug#2490).
8015
ff8be6ef
RW
80162011-07-12 Roland Winkler <winkler@gnu.org>
8017
b796c9b7
SM
8018 * textmodes/bibtex.el (bibtex-initialize):
8019 Use pop-to-buffer-same-window.
ff8be6ef
RW
8020 (bibtex-search-entries): Fix interactive call.
8021
296ba3ee
LMI
80222011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8023
f5242a02 8024 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
8025 Fontise bytecomp Error lines more correctly (bug#2490).
8026 Fix suggested by Johan Bockgård.
f5242a02 8027
296ba3ee
LMI
8028 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8029
8030 * dired-x.el (dired-guess-default): Use `delete-dups'.
8031
f69fd0d2
CY
80322011-07-12 Chong Yidong <cyd@stupidchicken.com>
8033
8034 * dired.el (dired-mark-prompt):
8035 * dired-aux.el (dired-read-shell-command): Doc fix.
8036
eab5dc07
LMI
80372011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8038
b796c9b7
SM
8039 * mail/sendmail.el (sendmail-query-once):
8040 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
8041 emacs -Q.
8042
8043 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8044
eab5dc07
LMI
8045 * cus-edit.el (custom-file): Take an optional no-error variable.
8046 (customize-save-variable): Set the variable, and give a warning if
8047 running under "emacs -q".
8048
a1e65d42
JB
80492011-07-11 Juanma Barranquero <lekktu@gmail.com>
8050
8051 * loadhist.el (unload-feature-special-hooks):
8052 Add `auto-coding-functions', `fill-nobreak-predicate' and
8053 `find-directory-functions' (bug#5327).
8054
1d52da10
LMI
80552011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8056
be958f1d
LMI
8057 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8058
5bedb26c
LMI
8059 * cus-edit.el (custom-guess-name-alist): -alist variables should
8060 use the `alist' type (bug#3120). Suggested by Drew Adams.
8061
1d52da10
LMI
8062 * printing.el: Add documentation to all the `pr-toggle-' commands.
8063
cd394be1 80642011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
8065
8066 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8067 backends where it makes sense (bug#2623).
8068
dcc88d8a
LMI
80692011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8070
c3de9feb
LMI
8071 * dired-x.el (dired-guess-default): Remove duplicate shell command
8072 entries (bug#2028).
8a93078b 8073 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 8074 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 8075
dcc88d8a
LMI
8076 * subr.el (remove-duplicates): New conveniency function.
8077
505e3645
LMI
80782011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8079
8080 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8081 (bug#1526).
8082
80832011-07-10 Martin Rudalics <rudalics@gmx.at>
8084
8085 * window.el (display-buffer-normalize-default): Don't invert
8086 meaning of even-window-heights. Reported by Eli Zaretskii
8087 <eliz@gnu.org>.
8088
455e4fa1
BR
80892011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8090
8091 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8092
8e0bc3e9
CY
80932011-07-10 Chong Yidong <cyd@stupidchicken.com>
8094
8095 * window.el (display-buffer): Fix arguments to
8096 display-buffer-reuse-window in last change.
8097
fa7c3228
CY
8098 * faces.el (link): Use a less saturated blue on light backgrounds.
8099
8100 * startup.el (fancy-startup-text, fancy-about-text)
8101 (fancy-startup-tail): Use font-lock faces, for background safety.
8102
c0a7f300
BN
81032011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8104
b796c9b7
SM
8105 * emulation/viper-cmd.el (viper-change-state-to-vi):
8106 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 8107
4dc2a129
MR
81082011-07-09 Martin Rudalics <rudalics@gmx.at>
8109
8110 * window.el (display-buffer-default-specifiers): Remove.
8111 (display-buffer-macro-specifiers): Remove default specifiers.
8112 (display-buffer-alist): Default to nil.
b796c9b7 8113 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
8114 (display-buffer-pop-up-window): Allow splitting internal
8115 windows. Check whether a live window was created.
8116 (display-buffer-other-window-means-other-frame)
8117 (display-buffer-normalize-arguments): Rename to
8118 display-buffer-normalize-argument and rewrite. Set the
8119 other-window specifier.
8120 (display-buffer-normalize-special): New function.
8121 (display-buffer-normalize-options): Rename to
8122 display-buffer-normalize-default and rewrite.
8123 (display-buffer-normalize-options-inhibit): Remove.
8124 (display-buffer-normalize-specifiers): Rewrite.
8125 (display-buffer): Process other-window specifier and call
8126 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8127 more faithfully.
b796c9b7 8128 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 8129 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
8130 (display-buffer-in-window, display-buffer-alist-set):
8131 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
8132 <tassilo@member.fsf.org>.
8133
2d43b8c9
LL
81342011-07-09 Leo Liu <sdl.web@gmail.com>
8135
8136 * register.el (insert-register): Restore accidental change on
8137 2011-06-26. (Bug#9028)
8138
7f9b7c53
GM
81392011-07-09 Glenn Morris <rgm@gnu.org>
8140
8141 * subr.el (remq): Handle the empty list. (Bug#9024)
8142
f042cfd8
AS
81432011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8144
8145 * mail/sendmail.el (send-mail-function): No longer delay custom
8146 initialization.
8147 * custom.el (custom-initialize-delay): Doc fix.
8148
856b2f11
SM
81492011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8152
afae1d68
MA
81532011-07-08 Michael Albinus <michael.albinus@gmx.de>
8154
8155 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8156 human-friendly prompt.
8157
0757af94
SM
81582011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8159
8160 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8161 provided by a particular plugin.
8162
d760b731
LMI
81632011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8164
8165 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8166 save customizations (with "emacs -Q"), just set the variable
8167 instead of erroring out.
8168
8169 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8170
cd79ce90
JL
81712011-07-08 Juri Linkov <juri@jurta.org>
8172
8173 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8174 (archive-zip-update-case): Use 7z if found by `executable-find'.
8175 The order of searching the available programs is the same as in
8176 `archive-zip-extract' (bug#8968).
8177
14cc04aa
CY
81782011-07-07 Chong Yidong <cyd@stupidchicken.com>
8179
8180 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8181 (menu-bar-options-menu): Tweak descriptions.
8182
0a1848ec
LMI
81832011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8184
8185 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8186 menu items into verb phrases (bug#1421). Also refill to fit under
8187 80 columns.
8188
f5bd0689
CY
81892011-07-07 Chong Yidong <cyd@stupidchicken.com>
8190
538e85c6
CY
8191 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8192 (Info-read-node-name): Doc fix (Bug#1084).
8193
f5bd0689
CY
8194 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8195 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8196 (end-of-sexp, beginning-of-sexp)
8197 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8198 (forward-symbol, forward-same-syntax, word-at-point)
8199 (sentence-at-point): Doc fix (Bug#1144).
8200
56ec5115
LMI
82012011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8202
f3f8e37f
LMI
8203 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8204 should cover it (bug#1281).
8205
0757af94 8206 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 8207
e9fce1ac 8208 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
8209 negotiation fails, then possibly try again with a non-encrypted
8210 connection (bug#9017).
8211
56ec5115
LMI
8212 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8213 be used.
8214
c2f9aec8
RS
82152011-07-07 Richard Stallman <rms@gnu.org>
8216
8217 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8218 property, and handle its changed format.
8219 Look for the correct line number.
8220 Use file's line contents (but not past first =) to find
8221 correct line in message.
8222
ef7b981d 82232011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
8224
8225 * international/characters.el (build-unicode-category-table):
8226 Delete it.
0757af94 8227 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 8228
0757af94 8229 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
8230 to src/chartab.c.
8231 (get-char-code-property): Call unicode-property-table-internal to
8232 load a file. Call get-unicode-property-internal where necessary.
8233 (put-char-code-property): Call unicode-property-table-internal to
8234 load a file. Call put-unicode-property-internal where necessary.
8235 put-unicode-property-internal where necessary.
0757af94
SM
8236 (char-code-property-description):
8237 Call unicode-property-table-internal to load a file.
c805dec0
KH
8238
8239 * international/charprop.el:
8240 * international/uni-bidi.el:
8241 * international/uni-category.el:
8242 * international/uni-combining.el:
8243 * international/uni-comment.el:
8244 * international/uni-decimal.el:
8245 * international/uni-decomposition.el:
8246 * international/uni-digit.el:
8247 * international/uni-lowercase.el:
8248 * international/uni-mirrored.el:
8249 * international/uni-name.el:
8250 * international/uni-numeric.el:
8251 * international/uni-old-name.el:
8252 * international/uni-titlecase.el:
8253 * international/uni-uppercase.el: Regenerate.
8254
8255 * loadup.el: Load international/charprop.el before
8256 international/characters.
8257
e14b388a
CY
82582011-07-07 Chong Yidong <cyd@stupidchicken.com>
8259
8260 * window.el (next-buffer, previous-buffer): Signal an error if
8261 called from a minibuffer window.
8262
8263 * bindings.el: Revert 2011-07-04 change.
8264
354cf0ba
RS
82652011-07-06 Richard Stallman <rms@gnu.org>
8266
8267 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8268 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8269 Treat markers like ints.
8270 (rmail-mime-entity): Doc fix.
8271
a48868a7
LMI
82722011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8273
4906cd3d
LMI
8274 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8275 defcustom again for backwards compatibility.
8276
e0457abe
LMI
8277 * simple.el (shell-command-on-region): Fill.
8278
d67f7e1f
LMI
8279 * dired-aux.el (dired-kill-line): Add a doc string.
8280
fe204702
LMI
8281 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8282 to "\\sw\\|\\s_" (bug#358).
8283
a48868a7
LMI
8284 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8285 (dired-unmark-backward): Ditto.
8286 (dired-flag-backup-files): Ditto.
8287
8288 * dired-x.el (dired-mark-sexp): Ditto.
8289
aa8a705c
RS
82902011-07-06 Richard Stallman <rms@gnu.org>
8291
8292 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8293 (rmail-mime-entity): New arg TRUNCATED.
8294 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8295 New functions.
8296 (rmail-mime-save): Warn if entity is truncated.
8297 (rmail-mime-toggle-hidden): Likewise, for showing.
8298 (rmail-mime-process-multipart): Record when an entity is truncated.
8299
a9a936b9
RS
8300 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8301 if ENTITY is a string.
8302
1f2b92cb
LMI
83032011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8304
f4f73198 8305 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
8306 of faces when `M-C-x'-ing their definitions (bug#8378).
8307 Also clean up the code slightly.
f4f73198 8308
12b16734 8309 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 8310 because that makes the colors go away.
12b16734 8311
f0691d22
LMI
8312 * mail/sendmail.el (send-mail-function): Change the default to
8313 `sendmail-query-once'.
9e87df06 8314 (sendmail-query-once): Add an autoload cookie.
f0691d22 8315
1f2b92cb
LMI
8316 * net/network-stream.el (network-stream-open-starttls): Try using
8317 a plain connection even if the server offered STARTTLS, and we
8318 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8319 capability. This should make smtpmail.el work in slightly more
8320 configurations.
8321
1cdd2a1b
MA
83222011-07-06 Michael Albinus <michael.albinus@gmx.de>
8323
8324 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8325 New defun.
8326 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8327
fbcc67e2
MM
83282011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8329
8330 * progmodes/sql.el: Version 3.0
0757af94 8331 (sql-product-alist): Add product :completion-object,
fbcc67e2 8332 :completion-column, and :statement attributes.
0757af94 8333 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 8334 (sql-mode-syntax-table): Mark all punctuation.
0757af94 8335 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
8336 ansi keywords.
8337 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 8338 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
8339 (sql-oracle-show-reserved-words): New function for development.
8340 (sql-product-font-lock): Simplify for source code buffers.
8341 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8342 New functions.
8343 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
8344 (sql-mode-map): Add statement movement functions.
8345 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8346 New variable.
fbcc67e2
MM
8347 (sql-statement-regexp, sql-beginning-of-statement)
8348 (sql-end-of-statement, sql-signum): New functions.
0757af94 8349 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
8350 (sql-show-sqli-buffer): Bug fix.
8351 (sql-interactive-mode): Store connection data as buffer local.
0757af94 8352 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
8353 with sql-interactive-mode.
8354 (sql-save-connection): Save buffer local settings.
0757af94 8355 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
8356 (sql-product-interactive): Bug fix.
8357 (sql-preoutput-hold): New variable.
8358 (sql-interactive-remove-continuation-prompt): Bug fixes.
8359 (sql-debug-redirect): New variable.
8360 (sql-str-literal): New function.
8361 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 8362 Redesign.
fbcc67e2
MM
8363 (sql-oracle-save-settings, sql-oracle-restore-settings)
8364 (sql-oracle-list-all, sql-oracle-list-table): New functions.
8365 (sql-completion-object, sql-completion-column)
8366 (sql-completion-sqlbuf): New variables.
8367 (sql-build-completions-1, sql-build-completions)
8368 (sql-try-completion): New functions.
8369 (sql-read-table-name): Use them.
8370 (sql-contains-names): New buffer local variable.
8371 (sql-list-all, sql-list-table): Use it.
8372 (sql-oracle-completion-types): New variable.
8373 (sql-oracle-completion-object, sql-sqlite-completion-object)
8374 (sql-postgres-completion-object): New functions.
8375
d4eaeab1
GM
83762011-07-06 Glenn Morris <rgm@gnu.org>
8377
8378 * window.el (pop-to-buffer): Doc fix.
8379
322b7dab 83802011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
8381
8382 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
8383
322b7dab 83842011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 8385
322b7dab 8386 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 8387
322b7dab 8388 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 8389
605dd5bf
CY
83902011-07-05 Chong Yidong <cyd@stupidchicken.com>
8391
8392 * button.el (button): Inherit from link face. Suggested by Dan
8393 Nicolaescu.
8394
7dbfa719
SM
83952011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8396
3db614b0
SM
8397 * progmodes/gdb-mi.el: Fit in 80 columns.
8398 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
8399 switch-to-buffer.
8400
7dbfa719
SM
8401 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
8402 if imenu is simply not configured (bug#8941).
8403
919d884a
KM
84042011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
8405
8406 * allout.el (allout-post-undo-hook): New allout outline-change
8407 event hook to signal undo activity.
8408 (allout-post-command-business): Run allout-post-undo-hook if an
8409 undo just occurred.
7dbfa719
SM
8410 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
8411 * allout-widgets.el (allout-widgets-after-undo-function):
8412 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
8413 in the vicinity of an undo.
8414 (allout-widgets-mode): Include allout-widgets-after-undo-function
8415 on the new allout-post-undo-hook.
8416
450a0f09
SM
84172011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8418
8419 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
8420 Let define-derived-mode define it.
8421 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
8422 cycles of abbrev-table inheritance (bug#8998).
8423
2de69e00
RW
84242011-07-05 Roland Winkler <winkler@gnu.org>
8425
8426 * textmodes/bibtex.el: Add support for biblatex.
8427 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
8428 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
8429 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
8430 (bibtex-entry-alist, bibtex-field-alist): New variables.
8431 (bibtex-entry-field-alist): Obsolete alias for
8432 bibtex-BibTeX-entry-alist.
8433 (bibtex-entry-alist, bibtex-field-alist): New widgets.
8434 (bibtex-set-dialect): New command.
8435 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
8436 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
8437 Bind via bibtex-set-dialect.
2de69e00
RW
8438 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
8439 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
8440 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
8441 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
8442 Define via bibtex-set-dialect.
450a0f09
SM
8443 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
8444 Obey bibtex-no-opt-remove-re.
2de69e00
RW
8445 (bibtex-vec-push, bibtex-vec-incr): New functions.
8446 (bibtex-format-entry, bibtex-field-list)
8447 (bibtex-print-help-message, bibtex-validate)
8448 (bibtex-search-entries): Use new format of bibtex-entry-alist.
8449
2dcdbdd9
SM
84502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8451
8452 * progmodes/compile.el (compilation-goto-locus):
8453 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8454 * bs.el (bs-cycle-next, bs-cycle-previous):
8455 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
8456 * bindings.el (mode-line-other-buffer):
8457 * autoinsert.el (auto-insert):
8458 * arc-mode.el (archive-extract):
8459 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
8460
b27640fe
JB
84612011-07-05 Juanma Barranquero <lekktu@gmail.com>
8462
8463 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
8464 Fix check of `emacs-lock-unlockable-modes'.
8465 Coerce true values of `emacs-lock--try-unlocking' to t.
8466
53bbe3ad
JB
84672011-07-05 Juanma Barranquero <lekktu@gmail.com>
8468
8469 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
8470 * emacs-lock.el: New file.
8471
1d3cdbc7
JD
84722011-07-05 Julien Danjou <julien@danjou.info>
8473
8474 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
8475 than `boundp' to check if face is set.
8476
9173deec
JB
84772011-07-05 Juanma Barranquero <lekktu@gmail.com>
8478
8479 * register.el (registerv-make):
8480 * window.el (window-min-height): Fix typos in docstrings.
8481
869795d6
JD
84822011-07-05 Jan Djärv <jan.h.d@swipnet.se>
8483
9173deec 8484 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
8485 Update doc string.
8486
b768cdcd
JB
84872011-07-04 Juanma Barranquero <lekktu@gmail.com>
8488
8489 * server.el (server-execute): Catch quit and call
8490 `server-return-error' to pass the error back to emacsclient and
8491 close the connection (bug#8942).
8492
13aa217b
KM
84932011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
8494
8495 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
8496 insecure exception for current topic. Also note that auto-saves
8497 are handled differently.
8498
5d3385a0 8499 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
8500 State variables for tracking auto-save inhibition situation.
8501
8502 (allout-write-contents-hook-handler): Rename from
8503 'allout-write-file-hook-handler', and describe how it depends on
8504 write-contents-functions sensitivity to non-nil value to prevent
8505 file write.
8506
8507 (allout-auto-save-hook-handler): Remove. auto-save does not check
8508 this in individual buffers, only in the starting buffer, so this
8509 is not the right way for us to inhibit auto-save in a buffer
8510 according to its condition.
8511
8512 (allout-mode): Use new allout-write-contents-hook-handler, and
8513 only with write-contents-functions. Remove auto-save provisions -
8514 they're implemented elsewhere.
8515
8516 (allout-before-change-handler): If undo is in progress, note that
8517 for attention of allout-post-command-business.
8518
8519 (allout-post-command-business): If the command we're following was
8520 an undo, check for change in the status of encrypted items and
8521 adjust auto-save inhibitions accordingly.
8522
8523 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8524 according to whether there are or aren't any plain-text topics
8525 pending encryption.
8526
2dcdbdd9 8527 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8528 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8529 if there are plain-text topics pending encryption.
13aa217b
KM
8530
8531 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8532 buffer-saved-size and some allout state to not inhibit auto-saves
8533 if there are no longer any plain-text topics pending encryption.
8534
0757af94
SM
8535 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8536 No longer provide for exemption of the current topic.
13aa217b 8537
ac89b32c
JL
85382011-07-04 Juri Linkov <juri@jurta.org>
8539
8540 Add 7z operations to delete and save changed members (bug#8968).
8541 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8542 New defcustoms.
8543 (archive-7z-write-file-member): New function.
8544 (archive-7z-summarize): Fix the number of dashes in the
8545 listing output.
8546
8fa39615
SM
85472011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8548
8549 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8550 (bug#8958).
8551
2f11b3f1
CY
85522011-07-04 Chong Yidong <cyd@stupidchicken.com>
8553
d66fef2b
CY
8554 * bindings.el: Ignore next-buffer and previous-buffer in
8555 minibuffer-local-map.
8556
2f11b3f1
CY
8557 * font-lock.el (font-lock-builtin-face): Change light background
8558 color to dark slate blue (Bug#6693).
8559
f932a347
WD
85602011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8561
8562 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8563
c8af70e1
SM
85642011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8567 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8568 Add switch-to-buffer.
8569
f158badc
LMI
85702011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8571
8572 * isearch.el (isearch-search-fun-function): Clarify further the
8573 meaning of the function returned.
8574
6d95bd46
MA
85752011-07-04 Michael Albinus <michael.albinus@gmx.de>
8576
8577 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8578
8579 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8580 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8581 Use it.
8582 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8583 `tramp-default-remote-path' does not exist.
8584 (tramp-send-command-and-read): New optional argument NOERROR.
8585 (tramp-open-connection-setup-interactive-shell)
8586 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8587 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8588 (tramp-process-sentinel): Flush also process' connection property.
8589 (tramp-sh-handle-start-file-process): Do not set process
8590 sentinel. It is done now ...
8591 (tramp-maybe-open-connection): ... here. (Bug#8929)
8592
909e6b67
MK
85932011-07-04 MON KEY <monkey@sandpframing.com>
8594
8595 * play/animate.el (animate-string): Doc fixes and allow changing
8596 the buffer name (bug#5417).
8597
85982011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8599
c8af70e1 8600 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8601
f34755dc
PE
86022011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8603
396cec72
PE
8604 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8605 This is simpler and helps future-proof the code.
8606 (timer-until): Use time-subtract and float-time.
08235028 8607 (timer--time-less-p): Use time-less-p.
f34755dc 8608
56e6cc31
JB
86092011-07-04 Juanma Barranquero <lekktu@gmail.com>
8610
3abb79e5
JB
8611 * type-break.el (timep): Use the value of `float-time' to avoid a
8612 byte-compiler warning.
8613
56e6cc31
JB
8614 * server.el (server-eval-and-print): Return any result, even nil.
8615
7b9430b4
PE
86162011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8617
8618 * type-break.el: Accept time formats that the builtins accept.
8619 (timep, type-break-time-difference): Accept any format that
8620 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8621 This is simpler and helps future-proof the code.
8622 (type-break-time-difference): Round rather than ignoring
8623 subseconds components.
8624
3034e9e7
LMI
86252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8626
8627 * info.el (Info-apropos-matches): Make non-interactive, since it
8628 doesn't seem to do anything useful as a command (bug#8829).
8629
1485f4c0
CY
86302011-07-03 Chong Yidong <cyd@stupidchicken.com>
8631
8632 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8633 Move from faces.el.
1485f4c0
CY
8634 (frame-default-terminal-background): New function.
8635
8636 * custom.el (custom-push-theme): Don't record faces in `changed'
8637 theme; this doesn't work correctly for per-frame face settings.
8638 (disable-theme): Use face-set-after-frame-default to reset faces.
8639 (custom--frame-color-default): New function.
8640
9fa3dd45
LMI
86412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8642
c8af70e1 8643 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8644 (bug#8769).
8645
6cbbc20c
KR
86462011-03-29 Kevin Ryde <user42@zip.com.au>
8647
8648 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8649 `perl-Test2' extend to match possible "fail #N" rep count
8650 (bug#8377).
8651
c7f98048
LMI
86522011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8653
65676592
LMI
8654 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8655 `smtpmail-via-smtp' now returns the error instead of nil.
8656
c7f98048
LMI
8657 * isearch.el (isearch-search-fun-function): Clarify the doc string
8658 (bug#8101).
8659
56e6cc31 86602011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8661
8662 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8663 unnecessary spaces (bug#8987).
8664
2b216704
LMI
86652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8666
8667 * net/network-stream.el (open-network-stream): Use the
8668 :end-of-capability command thoughout.
8669
86702011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8671
8672 * net/network-stream.el (open-network-stream): Add the
8673 :end-of-capability command parameter, used by pop3.el.
8674
36adf6ce
LMI
86752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8676
1ca0da0e
LMI
8677 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8678
fc00f69c
LMI
8679 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8680 for list)" (bug#6475).
8681
28fd8759 8682 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8683 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8684 an error (bug#6297).
8685
0dd8b6da
LMI
8686 * man.el (Man-reference-regexp): Allow matching possible
8687 word-wrapped references (bug#6289).
8688
ce1438d6
LMI
8689 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8690 for consistency with the other vc buffers (bug#6197).
8691 (vc-checkin): Ditto.
8692
8693 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8694
36adf6ce
LMI
8695 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8696
e83cc1f7
LMI
86972011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8698
8a20ca4c
LMI
8699 * custom.el (defcustom): Clarify that :set is only used in the
8700 Customize user interface (bug#6089).
8701
83319045
LMI
8702 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8703 associated with a file, refuse to run instead of erroring out
8704 (bug#6084).
8705
a8392169
LMI
8706 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8707 the doc string, since it appears that using `fill-column' always
8708 controls the width (bug#7845).
8709
e83cc1f7
LMI
8710 * simple.el (shell-command-on-region): Say where the error output
8711 went if `shell-command-default-error-buffer' is set (bug#6857).
8712
e47ca23b
KM
87132011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8714
8715 * allout.el (allout-yank-processing): Adjust cursor position for
8716 backwards-deleted space.
8717
8718 (allout-rebullet-heading): Register changes with
8719 allout-exposure-changed-hook, so the modified topic is properly
8720 decorated.
8721
5cf56143
LMI
87222011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8723
08549772
LMI
8724 * minibuffer.el (completion-in-region): Document PREDICATE
8725 (bug#7136).
8726
48e96771
LMI
8727 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8728 of keyword/argument pairs (bug#6904).
8729
c8af70e1
SM
8730 * replace.el (multi-occur):
8731 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8732
e17d05e2
LMI
87332011-07-02 Drew Adams <drew.adams@oracle.com>
8734
8735 * dired.el (dired-mark-if): Make the message about whether it's
8736 marking or unmarking clearer (bug#8523).
8737
063b0e45
LMI
87382011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8739
8740 * disp-table.el (display-table-print-array): New function.
8741 (describe-display-table): Use it to print the vectors more pretty
8742 (Bug#8859).
8743
28545e04
MR
87442011-07-02 Martin Rudalics <rudalics@gmx.at>
8745
8746 * window.el (window-state-get-1): Don't assign clone numbers.
8747 Add clone-of item to list of window parameters.
8748 (window-state-put-2): Don't process clone numbers.
8749 (display-buffer-alist): Fix doc-string.
8750
3349e122
SM
87512011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8752
8753 * subr.el (remq): Don't allocate if it's not needed.
8754 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8755 (keymap--merge-bindings): New functions.
8756 (keymap-canonicalize): Use them to refine the canonicalization.
8757 * minibuffer.el (minibuffer-local-completion-map)
8758 (minibuffer-local-must-match-map): Move initialization from C.
8759 (minibuffer-local-filename-completion-map): Move initialization from C;
8760 don't inherit from anything here.
8761 (minibuffer-local-filename-must-match-map): Make obsolete.
8762 (completing-read-default): Use make-composed-keymap to combine
8763 minibuffer-local-filename-completion-map with either
8764 minibuffer-local-must-match-map or
8765 minibuffer-local-filename-completion-map.
8766
d224ac83
GM
87672011-07-01 Glenn Morris <rgm@gnu.org>
8768
3de63bf8
GM
8769 * type-break.el (type-break-time-sum): Use dolist.
8770
d224ac83
GM
8771 * textmodes/flyspell.el (flyspell-word-search-backward):
8772 Replace CL function.
8773
1a1e3f32
SM
87742011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8775
fe3f64d5
SM
8776 * mouse.el (mouse--strip-first-event): New function.
8777 (function-key-map): Use it to map fringe clicks to normal clicks
8778 by default.
8779
eb604e34
SM
8780 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8781 (vc-bzr-revision-completion-table): Add support for annotate and date.
8782
1a1e3f32
SM
8783 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8784 inherit from parent.
8785
5bd35902
LMI
87862011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8787
ace6c69c 8788 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8789 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8790
191e2bed
LMI
8791 * dired.el (dired-mode): Fix up the doc string as suggested by
8792 Drew Adams (bug#8817).
8793
5bd35902
LMI
8794 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8795 cookie, since the manual says that it should be possible to add
8796 this function to `find-file-hook' (bug#8709).
8797
eee8207a
TZ
87982011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8799
8800 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8801 here. Noted Ted Zlatanov as the maintainer.
8802 (cfengine-common-settings, cfengine-common-syntax): New functions
8803 to set up common things between `cfengine-mode' and
8804 `cfengine3-mode'.
8805 (cfengine3-mode): New mode.
8806 (cfengine3-defuns cfengine3-defuns-regex
8807 (cfengine3-class-selector-regex cfengine3-category-regex)
8808 (cfengine3-vartypes cfengine3-font-lock-keywords)
8809 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8810 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8811
36b148cf
MA
88122011-07-01 Michael Albinus <michael.albinus@gmx.de>
8813
8814 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8815
8816 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8817
0bf4ba9a
MR
88182011-07-01 Martin Rudalics <rudalics@gmx.at>
8819
8820 * window.el (same-window-buffer-names, same-window-regexps)
8821 (same-window-p, special-display-frame-alist)
8822 (special-display-popup-frame, special-display-function)
8823 (special-display-buffer-names, special-display-regexps)
8824 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8825 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8826 (split-window-preferred-function, split-height-threshold)
8827 (split-width-threshold, even-window-heights)
8828 (display-buffer-mark-dedicated, window-splittable-p)
8829 (split-window-sensibly, window-safely-shrinkable-p):
8830 Un-obsolete.
8831 (display-buffer): Don't spread args with function specifier
8832 because special-display-popup-frame won't like it.
8833
35837f51
PE
88342011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8835
d0672f86
PE
8836 Time-stamp simplifications and fixes.
8837 These improve accuracy slightly, and future-proof the code
8838 against some potential changes to current-time format.
8839
b9444d97
PE
8840 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8841 by using time-since and float-time.
8842
0ef923dc
PE
8843 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8844 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8845 + NNN microseconds".
8846
2f81380d
PE
8847 * type-break.el (type-break-time-sum): Rewrite using time-add.
8848
845b5c3e
PE
8849 * play/hanoi.el (hanoi-current-time-float): Remove.
8850 All uses replaced by float-time.
8851
ee6f1be0
PE
8852 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8853 This yields a more-accurate answer.
8854 (rng-time-to-float): Remove; no longer needed.
8855
fe955043
PE
8856 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8857
5777162a
PE
8858 * calendar/timeclock.el (timeclock-seconds-to-time):
8859 Defalias to seconds-to-time, since they're the same thing.
8860
3103f8b6 8861 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8862 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8863 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8864
0e61a35f
SM
88652011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * window.el (bury-buffer): Don't iconify the only frame.
8868 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8869 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8870
ddd63a1e
CY
88712011-07-01 Chong Yidong <cyd@stupidchicken.com>
8872
0e61a35f
SM
8873 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8874 Add mouse-yank-primary.
ddd63a1e 8875
055f4923
TZ
88762011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8877
8878 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8879
6a2fb145
SM
88802011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8881
8882 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8883 (find-library-name): Use it to find relative load names when provided
8884 absolute file name (bug#8803).
8885
fd4983f2
LMI
88862011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8887
887d14ad
LMI
8888 * textmodes/flyspell.el (flyspell-word): Consider words that
8889 differ only in case as potential doublons (bug#5687).
8890
c53dc7fc
LMI
8891 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8892 Remove two rather uninteresting debugging-like messages to make
8893 debbugs.el more silent.
8894
fd4983f2
LMI
8895 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8896 a password-like phrase.
8897
7a71b18d 88982011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8899
8900 * progmodes/cc-guess.el: New file.
8901
6a2fb145 8902 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8903
8904 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8905 derived from `c-basic-common-init'.
8906
8907 * progmodes/cc-mode.el (top-level): Require cc-guess.
8908 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8909
1fa280a3
LM
89102011-06-30 Lawrence Mitchell <wence@gmx.li>
8911
8912 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8913
e6597158
AM
89142011-06-30 Alan Mackenzie <acm@muc.de>
8915
1fa280a3
LM
8916 * progmodes/cc-engine.el (c-guess-continued-construct):
8917 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8918 lock is disabled. Name this case as "CASE G".
8919
68ba37fb
KM
89202011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8921
8922 * allout.el (allout-yank-processing): Fix injection of extra space
8923 between bullet and non-whitespace character in first topic when
8924 pasting, ensuring that the actual spacing in the pasted topic
8925 following the bullet char is preserved. This extra space was
8926 causing pasted encrypted topics to get a decrypted status even
8927 when the content was actually still encrypted. Now the decryption
8928 status from before the paste is preserved.
8929
8930 (allout-flag-region): Set all allout overlays so they evaporate
8931 when reduced to zero length (evanescent), to prevent overlay
8932 leakage.
8933
887a0b34
GM
89342011-06-30 Glenn Morris <rgm@gnu.org>
8935
94b9acce
GM
8936 * w32-fns.el (w32-charset-info-alist): Declare.
8937
1d9b46d4
GM
8938 * find-dired.el (find-grep-options): Simplify.
8939
cc232200
GM
8940 * term/ns-win.el (ns-set-resource): Declare.
8941
28e77c46
GM
8942 * ses.el (row, col): Declare dynamic variables honestly.
8943
887a0b34
GM
8944 * textmodes/reftex-parse.el (index-tags): Declare.
8945
658d8eb8
CY
89462011-06-30 Chong Yidong <cyd@stupidchicken.com>
8947
8948 * cus-edit.el (customize-push-and-save): New function.
8949
8950 * files.el (hack-local-variables-confirm): Use it.
8951
1fa280a3
LM
8952 * custom.el (load-theme): New arg NO-CONFIRM.
8953 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8954 (custom-enabled-themes): Doc fix.
8955
8956 * cus-theme.el (customize-create-theme)
8957 (custom-theme-merge-theme): Callers to load-theme changed.
8958
bb617717
LMI
89592011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8960
d61bdd5d
LMI
8961 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8962 short URLs have at least one dot in them (bug #7614).
8963
bb617717
LMI
8964 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8965 nil, because using a pty is apparently too slow (bug #895).
8966
2f31f37a
LMI
89672011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8968
8969 * mail/sendmail.el (sendmail-query-once): New function.
8970 (sendmail-query-once-function): New variable.
8971
3076b24e
GM
89722011-06-29 Glenn Morris <rgm@gnu.org>
8973
faf2a174
GM
8974 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8975
3076b24e
GM
8976 * ses.el (top-level): Require cl when compiling.
8977 (ses-set-localvars): Fix error statement.
8978 Call it at compile time to silence a storm of warnings.
8979
5386012d
MR
89802011-06-29 Martin Rudalics <rudalics@gmx.at>
8981
8982 * window.el (normalize-live-buffer): Rename to
8983 window-normalize-buffer.
8984 (normalize-live-frame): Rename to window-normalize-frame.
8985 (normalize-any-window): Rename to window-normalize-any-window.
8986 (normalize-live-window): Rename to window-normalize-live-window.
8987 (make-window-atom): Rename to window-make-atom.
8988 (window-resize-reset): Rename to window--resize-reset.
8989 (window-resize-reset-1): Rename to window--resize-reset-1.
8990 (resize-mini-window): Rename to window--resize-mini-window.
8991 (resize-subwindows-skip-p): Rename to
8992 window--resize-subwindows-skip-p.
8993 (resize-subwindows-normal): Rename to
8994 window--resize-subwindows-normal.
8995 (resize-subwindows): Rename to window--resize-subwindows.
8996 (resize-other-windows): Rename to window--resize-siblings.
8997 (resize-this-window): Rename to window--resize-this-window.
8998 (resize-root-window): Rename to window--resize-root-window.
8999 (resize-root-window-vertically): Rename to
9000 window--resize-root-window-vertically.
9001 (normalize-buffer-to-display): Rename to
9002 window-normalize-buffer-to-display.
9003 (normalize-buffer-to-switch-to): Rename to
9004 window-normalize-buffer-to-switch-to.
9005 Correspondingly update all callers of the functions listed
9006 above.
9007 (display-buffer-alist, display-buffer-normalize-arguments)
9008 (display-buffer-normalize-options, display-buffer)
9009 (display-buffer-alist-set): Use "function" instead of
9010 "fun-with-args".
9011
1176868d
CY
90122011-06-28 Chong Yidong <cyd@stupidchicken.com>
9013
9014 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9015 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9016 debbugs.gnu.org. Mention acknowledgment email.
9017
20a7a65f
LMI
90182011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9019
9020 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9021 buffer multibyteness, since it shouldn't matter.
9022
5f45cca5
MR
90232011-06-28 Martin Rudalics <rudalics@gmx.at>
9024
9025 * window.el (display-buffer-in-side-window): Handle dedicated
9026 windows as in display-buffer-reuse-window.
9027 (display-buffer-normalize-alist): Use value of override
9028 specifier.
9029 (display-buffer-normalize-specifiers): Use value of
9030 other-window-means-other-frame specifier.
9031 (display-buffer-alist): Rewrite some texts in widgets.
9032 (display-buffer): Spread arguments when calling function
9033 specified by fun-with-args.
9034
ad85fe1f
DD
90352011-06-28 Deniz Dogan <deniz@dogan.se>
9036
1fa280a3
LM
9037 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9038 Unnest `let'.
da68c4c8 9039
ad85fe1f
DD
9040 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9041 selectors (Bug#5732).
ec49bd31 9042 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 9043
a08cc025
JA
90442011-06-27 Jari Aalto <jari.aalto@cante.net>
9045
9046 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9047 (eshell-ls-date-format): New defcustom.
9048 (eshell-ls-file): Use it.
9049
e2b551c5
SM
90502011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9053
8982b231
KY
90542011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9055
9056 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9057 (ange-ftp-make-tmp-name): New arg.
9058 (ange-ftp-file-local-copy): Use it.
9059
36c9fa27
J
90602011-06-27 Jambunathan K <kjambunathan@gmail.com>
9061
9062 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9063 no-conversion (Bug#8870).
9064
d68443dc
MR
90652011-06-27 Martin Rudalics <rudalics@gmx.at>
9066
9067 * window.el (window-right, window-left, window-child)
9068 (window-child-count, window-last-child)
9069 (window-iso-combination-p, walk-window-tree-1)
9070 (window-atom-check-1, window-tree-1, delete-window)
9071 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9072 new naming conventions - window-vchild, window-hchild,
9073 window-next and window-prev are now called window-top-child,
9074 window-left-child, window-next-sibling and window-prev-sibling
9075 respectively.
d615d6d2
MR
9076 (resize-window-reset): Rename to window-resize-reset.
9077 (resize-window-reset-1): Rename to window-resize-reset-1.
9078 (resize-window): Rename to window-resize.
9079 (window-min-height, window-min-width)
9080 (resize-mini-window, resize-this-window, resize-root-window)
9081 (resize-root-window-vertically, adjust-window-trailing-edge)
9082 (enlarge-window, shrink-window, maximize-window)
9083 (minimize-window, delete-window, quit-restore-window)
9084 (split-window, balance-windows, balance-windows-area-adjust)
9085 (balance-windows-area, window-state-put-2)
9086 (display-buffer-even-window-sizes, display-buffer-set-height)
9087 (display-buffer-set-width, set-window-text-height)
9088 (fit-window-to-buffer): Rename all "resize-window" prefixed
9089 calls to use the "window-resize" prefix convention.
9090 (display-buffer-alist): Fix symbol for label specifier.
9091 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9092 corresponding specifier.
9093 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 9094
b6458526
VB
90952011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9096
9097 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9098 convention.
9099 (ses-call-printer): Does not pass an empty string to formatter when the
9100 cell is empty to keep from barking printer Calc math-format-value.
9101
d31fd9ac
RS
91022011-06-27 Richard Stallman <rms@gnu.org>
9103
43d5bf84
RS
9104 * battery.el (battery-mode-line-limit): New variable.
9105 (battery-update): Handle it.
9106
d31fd9ac
RS
9107 * mail/rmailmm.el (rmail-mime-process-multipart):
9108 Handle truncated messages.
9109
819a6054
GM
91102011-06-27 Glenn Morris <rgm@gnu.org>
9111
9112 * progmodes/flymake.el (flymake-err-line-patterns):
9113 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9114
cedc73f2
VB
91152011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9116
819a6054 9117 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
9118 (ses--clean-!, ses--clean-_): New functions.
9119 (ses-range): Add configurability of readout order, and conversion
9120 to Calc vector.
9121
5e5d49b6
VB
9122 * ses.el (ses-repair-cell-reference-all): New function.
9123 (ses-cell-symbol): Set macro as safe, so that it can be used in
9124 formulas.
9125
56e6cc31 9126 * ses.el: Update cycle detection algorithm.
90ca8b49 9127 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 9128 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
9129 (ses-set-localvars): New function.
9130 (ses-make-cell): Add property-list as a cell element.
9131 (ses-cell-property-get-fun, ses-cell-property-get)
9132 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
9133 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9134 New functions.
90ca8b49
VB
9135 (ses-cell-property-set, ses-cell-property-pop)
9136 (ses-cell-property-get-handle): New macro.
9137 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9138 New aliases, used for code readability.
9139 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9140 cycle detection.
9141 (ses-self-reference-early-detection): New defcustom.
fac916bf 9142 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
9143 (ses-mode): Use ses-set-localvars.
9144 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9145 before lauching the update processing.
9146 (ses-initialize-Dijkstra-attempt): New function.
9147 (ses-recalculate-cell): Update for cycle detection based on
9148 Dijkstra algorithm.
9149
2bb63e81
VB
9150 * ses.el: Fix commenting and indenting convention.
9151
c9d29fb8
SM
91522011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * bs.el (bs-cycle-next): Complete last change.
9155
d8e4b68b
JB
91562011-06-27 Drew Adams <drew.adams@oracle.com>
9157
9158 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9159
40098786
LMI
91602011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9161
c9d29fb8
SM
9162 * net/network-stream.el (network-stream-open-starttls):
9163 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
9164 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9165
40098786
LMI
9166 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9167 to binary to possibly avoid line encoding issues on Windows (among
9168 other things).
9169
468d09d4
LMI
91702011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9171
9172 * net/network-stream.el (open-network-stream): Return an :error
9173 saying what the problem was, if possible.
9174
9175 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9176 server.
9177
9178 * net/network-stream.el (network-stream-open-starttls): If we
9179 wanted to use STARTTLS, and the server offered it, but we weren't
9180 able to because we had no STARTTLS support, then close the connection.
9181 (open-network-stream): Return an :error element, if present.
9182
16f07dd7
CY
91832011-06-26 Chong Yidong <cyd@stupidchicken.com>
9184
88821ca0
CY
9185 * hl-line.el (hl-line-sticky-flag): Doc fix.
9186 (global-hl-line-sticky-flag): New option (Bug#8323).
9187 (global-hl-line-highlight): Obey it.
9188
16f07dd7
CY
9189 * vc/vc.el (vc-revert-show-diff): Default to t.
9190
6b5ccddf
KM
91912011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9192
c9d29fb8
SM
9193 * allout-widgets.el (allout-widgets-post-command-business):
9194 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
9195 undecorated when an isearch is continued past, and isearch
9196 automatically collapses them. This leads to "widget leaks", where
9197 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
9198 hidden widgets can slow down cursor travel, substantially.
9199 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
9200 so we're doing without this nicety.
9201
9202 (allout-widgets-tally-string): Don't try to do a hash-table-count
9203 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9204 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9205 *Messages* when allout-widgets-maintain-tally is t.
9206
355f2e07
MR
92072011-06-26 Martin Rudalics <rudalics@gmx.at>
9208
9209 * window.el (display-buffer-normalize-argument): Rename to
9210 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
9211 LABEL argument. Respect special-display-function when popping up
9212 a new frame. Fix code searching for a window showing the buffer
9213 on another frame.
c9d29fb8
SM
9214 (display-buffer-normalize-specifiers):
9215 Call display-buffer-normalize-arguments.
355f2e07
MR
9216 (display-buffer-in-window): Don't undedicate the window if its
9217 buffer remains the same.
9218 Reported by Drew Adams <drew.adams@oracle.com>.
9219 (display-buffer-alist): Add choice for same-window macro
9220 specfier.
9221 (display-buffer): Mention special meaning of LABEL argument in
9222 doc-string. Fix quoting. Don't pop up a new frame even as
9223 fallback.
9224
7ca8fc42
JB
92252011-06-26 Juanma Barranquero <lekktu@gmail.com>
9226
9227 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9228 avoid deleting the current window in some cases (bug#8911).
9229
bc312254
AS
92302011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9231
9232 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9233 (Bug#8934)
9234
2db18f3f
LMI
92352011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9236
c9d29fb8
SM
9237 * net/network-stream.el (network-stream-open-starttls):
9238 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
9239 (network-stream-open-tls): Ditto.
9240
6302e0d3
LL
92412011-06-26 Leo Liu <sdl.web@gmail.com>
9242
9243 * register.el (registerv): New struct.
9244 (registerv-make): New function.
c9d29fb8
SM
9245 (jump-to-register, describe-register-1, insert-register):
9246 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
9247 struct. (Bug#8415)
9248
5fdd4046
CY
92492011-06-26 Chong Yidong <cyd@stupidchicken.com>
9250
2afef60a
CY
9251 * vc/vc.el (vc-revert-show-diff): New defcustom.
9252 (vc-diff-internal): New arg specifying diff buffer.
9253 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9254 reuse an existing *vc-diff* buffer (Bug#8927).
9255
5fdd4046
CY
9256 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9257
e93db24a
GM
92582011-06-26 Glenn Morris <rgm@gnu.org>
9259
9260 * progmodes/f90.el (f90-critical-indent): New option.
9261 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9262 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9263 (f90-mode): Doc fix.
9264 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9265 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9266 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9267 (f90-match-end): Handle block, critical.
9268
eefff499
GM
92692011-06-25 Glenn Morris <rgm@gnu.org>
9270
f6ba4cc9
GM
9271 * calendar/diary-lib.el (diary-included-files): Doc fix.
9272 (diary-include-files): New function, extracted from
9273 diary-include-other-diary-files and diary-mark-included-diary-files.
9274 (diary-include-other-diary-files, diary-mark-included-diary-files):
9275 Just call diary-include-files.
9276 (diary-mark-entries): Reset diary-included-files on first call.
9277
16712304
GM
9278 * calendar/diary-lib.el (diary-mark-entries)
9279 (diary-mark-included-diary-files):
9280 Visit included diary-files in temp buffers.
9281
5d8e0d43
GM
9282 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9283 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9284 (f90-start-block-re, f90-imenu-generic-expression)
9285 (f90-looking-at-program-block-start, f90-no-block-limit):
9286 Add support for submodules.
9287
ccf7a5d5
GM
9288 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9289 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 9290
11fdef7d 92912011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
9292
9293 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9294 buffer-file-type before setting its value, to avoid disastrous
eefff499 9295 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 9296
74f53697
JB
92972011-06-25 Juanma Barranquero <lekktu@gmail.com>
9298
9299 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9300
9301 * ses.el (ses-unload-function):
9302 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9303
9304 * proced.el (proced-unload-function):
9305 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9306
18a4ce5e
AR
93072011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9308
9309 * server.el (server-create-window-system-frame): Add parameters arg.
9310 (server-process-filter): Doc fix. Handle frame-parameters.
9311
519d22cc
JB
93122011-06-25 Juanma Barranquero <lekktu@gmail.com>
9313
9314 Fix bug#8730, bug#8781.
9315
9316 * loadhist.el (unload--set-major-mode): New function.
9317 (unload-feature): Use it.
9318
9319 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9320 (python-unload-function): New function.
9321
c206f5b0
SM
93222011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9325
f9ad64f3
GS
93262011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9327
9328 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9329 the candidates list.
9330
7d0da90e
JB
93312011-06-24 Juanma Barranquero <lekktu@gmail.com>
9332
9333 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9334
14b4e83d
RS
93352011-06-23 Richard Stallman <rms@gnu.org>
9336
9337 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9338 (rmail-variables): Set next-error-move-function.
9339 (rmail-what-message): Take argument POS.
9340 (rmail-next-error-move): New function.
9341
273d2baf
SM
93422011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9345 messages for adjacent non-terminals.
9346
56c2cc9a
RS
93472011-06-23 Richard Stallman <rms@gnu.org>
9348
9349 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 9350 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
9351 (rmail-start-mail): Don't specify use of rmail-mail-return;
9352 that's done by mail-bury now.
9353 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 9354
d59eb518
MA
93552011-06-23 Michael Albinus <michael.albinus@gmx.de>
9356
9357 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
9358 SIZE is a number.
9359
02cfc6d6
MR
93602011-06-23 Martin Rudalics <rudalics@gmx.at>
9361
9362 * window.el (get-lru-window, get-mru-window)
9363 (get-largest-window): Never return a minibuffer window.
9364 (display-buffer-pop-up-window): Fix a bug that could lead to
9365 reusing the minibuffer window.
9366 (display-buffer): Pass original specifier argument to
9367 display-buffer-function instead of the normalized one.
9368 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
9369
4e323265
LL
93702011-06-22 Leo Liu <sdl.web@gmail.com>
9371
9372 * minibuffer.el (completing-read-function)
9373 (completing-read-default): Move from minibuf.c
9374
7a70468f
RS
93752011-06-22 Richard Stallman <rms@gnu.org>
9376
50718fc2
RS
9377 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
9378 to Rmail even if not started by a special Rmail command.
9379
7a70468f
RS
9380 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
9381 Copy the buffer currently showing just one message.
9382
297dde5a
RW
93832011-06-22 Roland Winkler <winkler@gnu.org>
9384
9385 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
9386 (bibtex-clean-entry): First delete the old key so that a
9387 customized algorithm for generating the new key does not get
9388 confused by the old key.
9389 (bibtex-url): Obey regexp of first step.
9390 (bibtex-search-entries): Do not use add-to-list with local
9391 list-var.
9392
97bb1093
LMI
93932011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9394
9395 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
9396 stored a user name, then query for the password first, instead of
9397 waiting for SMTP to give an error message and the trying again.
9398
1c0f1a19
JD
93992011-06-22 Lawrence Mitchell <wence@gmx.li>
9400
9401 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
9402 BUFFER in call-process.
9403
396f7c9d
LMI
94042011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9405
9406 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
9407 QUIT twice.
ddb7ffee
LMI
9408 (smtpmail-try-auth-methods): Require user name and password from
9409 auth-source.
396f7c9d 9410
8998d1b3
MR
94112011-06-22 Martin Rudalics <rudalics@gmx.at>
9412
9413 * window.el (display-buffer-default-specifiers)
9414 (display-buffer-alist): Remove entries for pop-up-frame-alist.
9415 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 9416 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
9417
9418 * frame.el (pop-up-frame-alist, pop-up-frame-function)
9419 (special-display-frame-alist, special-display-popup-frame):
9420 Remove duplicate declarations. These are now in window.el.
9421
4ea31e07
LMI
94222011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9423
c9d29fb8
SM
9424 * mail/smtpmail.el (smtpmail-via-smtp):
9425 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
9426 server supports it. SMTP servers that support STARTTLS commonly
9427 require it.
9428
9429 * net/network-stream.el (network-stream-open-starttls): Support
9430 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 9431 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 9432
95f41d9a
LMI
9433 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
9434 upgrades with `open-network-stream', and rely solely on
9435 auth-source for all credentials. Big changes throughout the file,
9436 but in particular:
c9d29fb8
SM
9437 (smtpmail-auth-credentials): Remove.
9438 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
9439 (smtpmail-via-smtp): Check for servers saying they want AUTH after
9440 MAIL FROM, too.
95f41d9a 9441
c9d29fb8
SM
9442 * net/network-stream.el (network-stream-open-starttls):
9443 Provide support for client certificates both for external and built-in
4ea31e07
LMI
9444 STARTTLS.
9445 (auth-source): Require.
9446 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
9447 (network-stream-certificate): Change cert-cert to cert and
9448 cert-key to key.
4ea31e07 9449
065ec2c7
MA
94502011-06-21 Michael Albinus <michael.albinus@gmx.de>
9451
9452 * net/tramp-cache.el (top): Don't load the persistency file when
9453 "emacs -Q" has been called.
9454
cd93b359
DR
94552011-06-21 Tim Harper <timcharper@gmail.com>
9456
d8e4b68b
JB
9457 * term/ns-win.el (ns-initialize-window-system):
9458 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
9459 resource to NO as it is not yet supported by the NS port.
9460
ae9c0411
JB
94612011-06-21 Juanma Barranquero <lekktu@gmail.com>
9462
9463 * misc.el (list-dynamic-libraries--refresh): Compute header here...
9464 (list-dynamic-libraries): ...not here.
9465
7f3f739f
LL
94662011-06-21 Leo Liu <sdl.web@gmail.com>
9467
9468 * subr.el (sha1): Implement sha1 using secure-hash.
9469
327c8fb1
MR
94702011-06-21 Martin Rudalics <rudalics@gmx.at>
9471
9472 * window.el (display-buffer-alist): In default value do not
9473 enforce searching a window on any but the selected frame.
9474 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
9475 (display-buffer-select-window): Remove function.
9476 (display-buffer-in-window): When a window on another frame gets
9477 reused, do not select it any more but just raise its frame if
9478 necessary (Bug#8851) and (Bug#8856).
9479 (display-buffer-normalize-options): Handle pop-up-frames related
9480 options more faithfully.
9481 (pop-to-buffer): Don't rely on `display-buffer' selecting the
9482 window if it is on another frame.
c9d29fb8
SM
9483 (display-buffer-alist, display-buffer-default-specifiers):
9484 Don't make new frame unsplittable by default.
9e9de014
MR
9485 (display-buffer-normalize-argument): Fix doc-string typo and use
9486 'same-frame-other-window instead of 'other-window when associating
9487 with display-buffer-macro-specifiers.
327c8fb1 9488
7cf3f556
VB
94892011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
9490
9491 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
9492 New functions.
9493 (5x5-mode-map, 5x5-mode-menu): Bind them.
9494 (5x5-draw-grid): Tweak the solver's rendering.
9495
60a406cf
SM
94962011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
9499 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
9500
d8e4b68b 95012011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
9502
9503 * menu-bar.el: Use function variable instead of switch-to-buffer.
9504 (menu-bar-select-buffer-function): New variable.
60a406cf 9505 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 9506
478d6f95
SM
95072011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
9510 variable's status.
9511
ca530739
JD
95122011-06-20 Jan Djärv <jan.h.d@swipnet.se>
9513
9514 * x-dnd.el (x-dnd-version-from-flags)
9515 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9516 and long as number (Bug#8899).
9517 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9518
bcd70d97
SM
95192011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9520
60a406cf 9521 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9522 (completion-try-completion, completion-all-completions): Compute the
9523 metadata argument if it's missing; make it optional (bug#8795).
9524
60a406cf 9525 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9526 (widget-complete): Use new :completion-function property.
9527 (widget-completions-at-point): New function.
9528 (default): Use :completion-function instead of :complete.
60a406cf
SM
9529 (widget-default-completions): Rename from widget-default-complete;
9530 Rewrite.
bcd70d97
SM
9531 (widget-string-complete, widget-file-complete, widget-color-complete):
9532 Remove functions.
9533 (file, symbol, function, variable, coding-system, color):
9534 * international/mule-cmds.el (default-input-method, charset)
9535 (language-info-custom-alist):
9536 * cus-edit.el (face): Use new property :completions.
9537
9538 * progmodes/pascal.el (pascal-completions-at-point): New function.
9539 (pascal-mode): Use it.
9540 (pascal-mode-map): Use completion-at-point.
9541 (pascal-toggle-completions): Make obsolete.
9542 (pascal-complete-word, pascal-show-completions):
9543 * progmodes/octave-mod.el (octave-complete-symbol):
9544 Redefine as obsolete alias.
9545 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9546 Signal absence of completion info for old Octave,
9547 (inferior-octave-complete): Redefine as obsolete alias.
9548 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9549 (meta-completions-at-point): Rename from meta-complete-symbol and
9550 adapt it for use on completion-at-point-functions.
9551 (meta-common-mode): Use it.
9552 (meta-looking-at-backward, meta-match-buffer): Remove.
9553 (meta-complete-symbol): Redefine as obsolete alias.
9554 (meta-common-mode-map): Use completion-at-point.
9555 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9556 (makefile-mode-map): Use completion-at-point.
9557 (makefile-completions-at-point): Rename from makefile-complete and
9558 adapt it for use on completion-at-point-functions.
9559 (makefile-mode): Use it.
9560 (makefile-complete): Redefine as obsolete alias.
9561
aebf69c8
DD
95622011-06-20 Deniz Dogan <deniz@dogan.se>
9563
9564 * net/rcirc.el: Delete trailing whitespaces once and for all.
9565
bfbbb27d
DC
95662011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9567
9568 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9569
d264a46b
CY
95702011-06-19 Chong Yidong <cyd@stupidchicken.com>
9571
4ca009e5
CY
9572 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9573
d264a46b
CY
9574 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9575
fbf5b3ce
MR
95762011-06-19 Martin Rudalics <rudalics@gmx.at>
9577
9578 * window.el (display-buffer-other-window-means-other-frame):
9579 Call display-buffer-normalize-alist.
9580 (display-buffer-normalize-specifiers-1): Rename to
9581 display-buffer-normalize-argument. New argument other-frame.
9582 Rewrite.
9583 (display-buffer-normalize-specifiers-2): Rename to
9584 display-buffer-normalize-options.
9585 (display-buffer-normalize-alist-1): New function.
9586 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9587 display-buffer-normalize-alist.
9588 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9589 (display-buffer-normalize-options-inhibit): New variable.
9590 (display-buffer-normalize-specifiers): Rewrite calling
9591 display-buffer-normalize-alist,
9592 display-buffer-normalize-argument, and
9593 display-buffer-normalize-options. Don't call the latter if
9594 display-buffer-normalize-options-inhibit is non-nil.
9595 (frame-auto-delete): New option.
9596 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9597 (window-list-no-nils, window-state-ignored-parameters)
9598 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9599 (window-state-put-1, window-state-put-2, window-state-put):
9600 New functions.
9a028c23
MR
9601 (display-buffer-normalize-options): Move special-display-p group
9602 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9603
6d10d800
CY
96042011-06-18 Chong Yidong <cyd@stupidchicken.com>
9605
6420d28b
CY
9606 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9607 groups (Bug#8776).
9608 (rx-submatch-n): New function.
9609 (rx): Document it.
9610
ddb8b596
CY
9611 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9612 (Bug#8768).
9613
9614 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9615
77080289
CY
9616 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9617
61dfb316
CY
9618 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9619 anytime existing face settings are present (Bug#8889).
9620
6d10d800
CY
9621 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9622 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9623 Remove unused argument.
9624
be3fb2b8
MR
96252011-06-18 Martin Rudalics <rudalics@gmx.at>
9626
bcd70d97
SM
9627 * window.el (display-buffer-default-specifiers):
9628 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9629 pop-up-window-min-width, and another reuse-window specifier
9630 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9631 (display-buffer-normalize-specifiers-2):
9632 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9633 pop-up-windows is unset. Add a reuse-window specifier for the
9634 case popping up a new window fails.
9635 (special-display-popup-frame): Remove double quoting.
28dec25a 9636 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9637
1c6d8c76
SM
96382011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9641 according to comint-completion-addsuffix.
9642
9643 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9644 (pcomplete-suffix-list): Mark as obsolete.
9645 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9646 pcomplete-seen in the closure.
9647 (pcomplete-comint-setup): Setup completion-at-point as well.
9648 (pcomplete--entries): New function.
9649 (pcomplete--env-regexp): New var.
9650 (pcomplete-entries): Rewrite to work with partial-completion and
9651 without relying on pcomplete-suffix-list.
9652 (pcomplete-pare-list): Remove, unused.
9653
25aef8b8
MR
96542011-06-17 Martin Rudalics <rudalics@gmx.at>
9655
9656 * window.el (display-buffer-alist): Set pop-up-window-min-height
9657 and pop-up-window-min-width in default value. Reported by
9658 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9659 other-window-means-other-frame.
9660 (display-buffer-macro-specifiers): Comment out entry for
9661 other-window specifier.
9662 (display-buffer-other-window-means-other-frame): New function.
9663 (display-buffer-normalize-specifiers-1): New arguments
9664 buffer-name and label. Treat other-window case specially.
9665 (display-buffer-normalize-specifiers-2): Treat other-window case
9666 specially.
9667 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9668 (display-buffer-normalize-specifiers):
9669 Call display-buffer-normalize-specifiers-3.
25aef8b8 9670
dbad4f69
MR
96712011-06-17 Martin Rudalics <rudalics@gmx.at>
9672
9673 * window.el (same-window-p): Fix two typos introduced when
9674 adding with-no-warnings.
d1067961
MR
9675 (display-buffer-normalize-specifiers-1): Don't check
9676 pop-up-frames for 'unset initialization.
9677 (display-buffer-normalize-specifiers-2): Major rewrite using
9678 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9679 (pop-up-frames, display-buffer-reuse-frames)
9680 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9681 Suggested by David Engster <deng@randomsample.de>.
9682 (even-window-heights): Initialize to 'unset.
9683 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9684 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9685 other window case.
dbad4f69 9686
9b9c9e3a
MR
96872011-06-16 Martin Rudalics <rudalics@gmx.at>
9688
bcd70d97
SM
9689 * window.el (display-buffer-normalize-specifiers-1):
9690 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9691 second argument of display-buffer (Bug#8865).
981d5c09
MR
9692 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9693 (switch-to-buffer-other-window-same-frame)
9694 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9695 Adams (Bug#8875).
9c2755e9
MR
9696 (display-buffer): Don't check noninteractive when calling
9697 display-buffer-pop-up-frame.
9698 (display-buffer-pop-up-frame): Never pop up a frame in
9699 noninteractive mode (Bug#8857).
67222e1d
MR
9700 (enlarge-window, shrink-window): Don't report an error when the
9701 window can't be resized as requested (Bug#8862).
9b9c9e3a 9702
2b75be67
SM
97032011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9704
9ffdd3ba
SM
9705 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9706
cb581a67
SM
9707 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9708
2b75be67
SM
9709 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9710
8c0e3589
AM
97112011-06-15 Alan Mackenzie <acm@muc.de>
9712
cb581a67
SM
9713 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9714 for declarators, disable knr checking to speed up for normal files.
9715 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9716
b96e6cde
LMI
97172011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9718
4bba86e6
LMI
9719 * net/network-stream.el (open-network-stream): Add the keyword
9720 :always-query-capabilities for the case where you want to force a
9721 `plain' network connection, but the protocol still requires the
9722 capabilitiy command (i.e., SMTP and EHLO).
9723
2b75be67 9724 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9725 consistency with other `-live-p' functions.
9726
efdcdbf8
SM
97272011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9728
9729 * window.el (same-window-buffer-names, same-window-regexps)
9730 (special-display-frame-alist, special-display-popup-frame)
9731 (special-display-function, special-display-buffer-names)
9732 (special-display-regexps, pop-up-frame-alist)
9733 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9734 (pop-up-windows, split-window-preferred-function)
9735 (split-height-threshold, split-width-threshold, even-window-heights)
9736 (display-buffer-mark-dedicated): Don't encourage the use of
9737 display-buffer-alist from Elisp code.
9738
c5cde042
DN
97392011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9740
9741 * progmodes/python.el (python-mode): Derive from prog-mode.
9742 * progmodes/ps-mode.el (ps-mode):
9743 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9744 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9745 * progmodes/ld-script.el (ld-script-mode): Likewise.
9746
baa1c9ab
MR
97472011-06-15 Martin Rudalics <rudalics@gmx.at>
9748
9749 * window.el (display-buffer-alist): Trim default value to avoid
9750 popping up a new frame (Bug#8857) or reusing an arbitrary window
9751 on another frame.
9752 (display-buffer): Do not fall back on popping up a new frame in
9753 batch mode (Bug#8857).
9754
c5dd5a51
CY
97552011-06-14 Chong Yidong <cyd@stupidchicken.com>
9756
9757 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9758 (custom-theme-summary): New function.
9759 (customize-themes): Use it.
9760
d647b7c4
GM
97612011-06-13 Glenn Morris <rgm@gnu.org>
9762
9763 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9764
9481c002
MR
97652011-06-13 Martin Rudalics <rudalics@gmx.at>
9766
357f93d2
MR
9767 * help.el (help-window): Remove variable.
9768 (help-window-point-marker, temp-buffer-max-height)
9769 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9770 (help-print-return-message): Don't set help-window.
9771 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9772 (help-window-setup-finish): Remove.
9773 (help-window-display-message, help-window-setup)
9774 (with-help-window): Major rewrite based on new
9775 display-buffer-window variable.
9776
9777 * help-mode.el (help-mode-finish): Remove help-window related
9778 code.
9779
9780 * view.el (view-exits-all-viewing-windows): Remove reference to
9781 view-return-to-alist in doc-string.
9782 (view-return-to-alist): Make obsolete.
9783 (view-buffer): Call pop-to-buffer-same-window and remove
9784 undo-window code.
9785 (view-buffer-other-window): Call pop-to-buffer-other-window and
9786 simplify code. Ignore second argument.
9787 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9788 simplify code. Ignore second argument.
9789 (view-return-to-alist-update): Make obsolete.
9790 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9791 Rewrite using quit-restore window parameters.
2b75be67
SM
9792 (view-mode-exit): Rename second argument to EXIT-ONLY.
9793 Rewrite using quit-restore-window.
357f93d2
MR
9794 (View-exit, View-exit-and-edit, View-leave, View-quit)
9795 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9796 appropriate arguments.
9797 (view-end-message): Use quit-restore window parameter.
9798
9481c002
MR
9799 * window.el (display-buffer-function): Rewrite doc-string.
9800 (display-buffer-window, display-buffer-alist): New variables.
9801 (display-buffer-split-specifiers)
9802 (display-buffer-side-specifiers)
9803 (display-buffer-macro-specifiers): New constants.
9804 (display-buffer-even-window-sizes, display-buffer-set-height)
9805 (display-buffer-set-width, display-buffer-select-window)
9806 (display-buffer-in-window, display-buffer-reuse-window)
9807 (display-buffer-split-window-1, display-buffer-split-window)
9808 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9809 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9810 (display-buffer-in-side-window, normalize-buffer-to-display)
9811 (display-buffer-normalize-specifiers-1)
9812 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9813 (display-buffer-normalize-specifiers, display-buffer-frame):
9814 New functions.
9481c002
MR
9815 (display-buffer): Major rewrite.
9816 (display-buffer-other-window, display-buffer-other-frame)
9817 (pop-to-buffer, switch-to-buffer-other-window)
9818 (switch-to-buffer-other-frame): Rewrite.
9819 (display-buffer-same-window, display-buffer-same-frame)
9820 (display-buffer-same-frame-other-window)
9821 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9822 (pop-to-buffer-other-window)
9823 (pop-to-buffer-same-frame-other-window)
9824 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9825 (switch-to-buffer-other-window-same-frame): New functions.
9826 (same-window-p, special-display-p): Rewrite disabling warnings.
9827 Make obsolete.
9828 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9829 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9830 Make obsolete
9831 (same-window-buffer-names, same-window-regexps)
9832 (special-display-frame-alist, special-display-popup-frame)
9833 (special-display-function, special-display-buffer-names)
9834 (special-display-regexps, pop-up-frame-alist)
9835 (pop-up-frame-function, split-window-preferred-function)
9836 (split-height-threshold, split-width-threshold)
9837 (even-window-heights): Make obsolete.
9838
9db51aca
GM
98392011-06-12 Glenn Morris <rgm@gnu.org>
9840
9841 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9842 Misc simplifications.
9db51aca 9843
39cffb44
MR
98442011-06-12 Martin Rudalics <rudalics@gmx.at>
9845
9846 * window.el (window-safely-shrinkable-p): Restore function which
9847 was inadvertently removed in change from 2011-06-11. Declare as
9848 obsolete.
9849
2b75be67
SM
9850 * calendar/calendar.el (calendar-generate-window):
9851 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9852 window-safely-shrinkable-p.
9853
a8955be7
GM
98542011-06-12 Glenn Morris <rgm@gnu.org>
9855
9856 * progmodes/fortran.el (fortran-mode-syntax-table):
9857 * progmodes/f90.el (f90-mode-syntax-table):
9858 Set % to punctuation. (Bug#8820)
9859 (f90-find-tag-default): Remove, no longer needed.
9860
f0d4059d
DC
98612011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9862
9863 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9864
1100a63c
CY
98652011-06-11 Chong Yidong <cyd@stupidchicken.com>
9866
9867 * image.el (image-animated-p): Return animation delay in seconds.
9868 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9869 (image-animate-timeout): Remove DELAY argument. Don't assume
9870 every subimage has the same delay; get it from image-animated-p.
9871 (image-animate): Caller changed.
9872
def722bf
MA
98732011-06-11 Michael Albinus <michael.albinus@gmx.de>
9874
9875 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9876 to ignored backtrace functions.
9877
0a2bb1a9
GM
98782011-06-11 Glenn Morris <rgm@gnu.org>
9879
9880 * calendar/appt.el (appt-disp-window-function): Doc fix.
9881 (appt-check): Handle overlapping appointments. (Bug#8337)
9882
6198ccd0
MR
98832011-06-11 Martin Rudalics <rudalics@gmx.at>
9884
9885 * window.el (window-tree-1, window-tree): New functions, moving
9886 the latter to window.el.
9887 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9888 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9889 (bw-refresh-edges): Remove.
9890 (balance-windows-1, balance-windows-2): New functions.
9891 (balance-windows): Rewrite in terms of window tree functions,
9892 balance-windows-1 and balance-windows-2.
9893 (bw-adjust-window): Remove.
9894 (balance-windows-area-adjust): New function with functionality of
9895 bw-adjust-window but using resize-window.
2b75be67
SM
9896 (set-window-text-height): Rewrite doc-string.
9897 Use normalize-live-window and resize-window.
9898 (enlarge-window-horizontally, shrink-window-horizontally):
9899 Rename argument to DELTA.
6198ccd0
MR
9900 (window-buffer-height): New function.
9901 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9902 Rewrite using new window resize routines.
2b75be67
SM
9903 (kill-buffer-and-window, mouse-autoselect-window-select):
9904 Use ignore-errors instead of condition-case.
6198ccd0
MR
9905 (quit-window): Call delete-frame instead of delete-windows-on
9906 for the only buffer on frame.
9907
9397e56f
MR
99082011-06-10 Martin Rudalics <rudalics@gmx.at>
9909
9910 * loadup.el (top-level): Load window before files for the sake
9911 of replace-buffer-in-windows.
9912
9913 * files.el (read-buffer-to-switch)
9914 (switch-to-buffer-other-window)
2b75be67
SM
9915 (switch-to-buffer-other-frame, display-buffer-other-frame):
9916 Move to window.el.
9397e56f
MR
9917
9918 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9919 (previous-buffer): Move to window.el.
9920
9921 * bindings.el (unbury-buffer): Move to window.el.
9922
9923 * window.el (delete-other-windows-vertically): Move after
9924 definition of delete-other-windows.
9925 (other-window, delete-windows-on, replace-buffer-in-windows):
9926 Move here from window.c.
9927 (record-window-buffer, unrecord-window-buffer)
9928 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9929 (switch-to-next-buffer): New functions.
9930 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9931 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9932 (previous-buffer): Move here from simple.el.
9933 Call switch-to-prev-buffer.
9397e56f
MR
9934 (bury-buffer): Move here from buffer.c. Switch to previous
9935 buffer when window cannot be deleted.
9936 (unbury-buffer): Move here from bindings.el.
9937 (ctl-x-map): Move binding for other-window from window.c to
9938 here.
9939 (read-buffer-to-switch, switch-to-buffer-other-window)
9940 (switch-to-buffer-other-frame): Move here from files.el.
9941 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9942 (switch-to-buffer): Move here from buffer.c.
9943 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9944
562dd5e9
MR
99452011-06-10 Martin Rudalics <rudalics@gmx.at>
9946
9947 * window.el (window-min-height, window-min-width): Move here
9948 from window.c. Add defcustoms and rewrite doc-strings.
9949 (resize-mini-window, resize-window): New functions.
9950 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9951 Move here from window.c.
9952 (maximize-window, minimize-window): New functions.
9953 (delete-window, delete-other-windows, split-window): Move here
9954 from window.c.
9955 (window-split-min-size): New function.
9956 (split-window-keep-point): Mention split-window-above-each-other
9957 instead of split-window-vertically.
2b75be67 9958 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9959 Rename split-window-vertically to split-window-above-each-other
9960 and provide defalias for old definition.
9961 (split-window-side-by-side, split-window-horizontally):
9962 Rename split-window-horizontally to split-window-side-by-side
9963 and provide defalias for the old definition.
562dd5e9
MR
9964 (ctl-x-map): Move bindings for delete-window,
9965 delete-other-windows and enlarge-window here from window.c.
9966 Replace bindings for split-window-vertically and
9967 split-window-horizontally by bindings for
9968 split-window-above-each-other and split-window-side-by-side.
9969
9970 * cus-start.el (all): Remove entries for window-min-height and
9971 window-min-width. Add entries for window-splits and
9972 window-nest.
9973
f0da764a
GM
99742011-06-09 Glenn Morris <rgm@gnu.org>
9975
80675c21
GM
9976 * calendar/appt.el (appt-mode-line): New function.
9977 (appt-check, appt-disp-window): Use it.
9978
f0da764a
GM
9979 * files.el (hack-one-local-variable-eval-safep):
9980 Allow minor-modes with explicit +/-1 arguments.
9981
59f623b7
TZ
99822011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9983
9984 * term/xterm.el (xterm): Add defgroup.
9985 (xterm-extra-capabilities): Add defcustom to supply known xterm
9986 capabilities, skip querying them, or query them (default).
9987 (terminal-init-xterm): Use it.
9988 (terminal-init-xterm-modify-other-keys): New function to set up
9989 modifyOtherKeys support to simplify `terminal-init-xterm'.
9990
9aab8e0d
MR
99912011-06-09 Martin Rudalics <rudalics@gmx.at>
9992
9993 * window.el (resize-window-reset, resize-window-reset-1)
9994 (resize-subwindows-skip-p, resize-subwindows-normal)
9995 (resize-subwindows, resize-other-windows, resize-this-window)
9996 (resize-root-window, resize-root-window-vertically)
9997 (window-deletable-p, window-or-subwindow-p)
9998 (frame-root-window-p): New functions.
9999
e8b08aee
GM
100002011-06-09 Glenn Morris <rgm@gnu.org>
10001
10002 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10003 (ange-ftp-get-files): Use it.
10004
254c37a5
AK
100052011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10006
10007 * mail/sendmail.el (mail-recover-1, mail-recover):
10008 * files.el (recover-file, recover-session):
10009 Handle dired-listing-switches not being just a single short option.
10010
35d7dbd3
GM
100112011-06-09 Glenn Morris <rgm@gnu.org>
10012
10013 * calendar/appt.el (appt-display-message, appt-disp-window):
10014 Handle lists of appointments.
10015
387522b2
MR
100162011-06-08 Martin Rudalics <rudalics@gmx.at>
10017
2b75be67
SM
10018 * window.el (one-window-p): Move down in code.
10019 Rewrite doc-string.
10020 (window-current-scroll-bars): Rewrite doc-string.
10021 Normalize live window argument.
387522b2
MR
10022 (walk-windows, get-window-with-predicate, count-windows):
10023 Rewrite doc-string. Use window-list-1.
10024 (window-in-direction-2, window-in-direction, get-mru-window):
10025 New functions.
10026
d8e4b68b 100272011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
10028
10029 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10030 Doc fix (Bug#8713).
10031
100322011-06-08 Chong Yidong <cyd@stupidchicken.com>
10033
10034 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10035
100362011-06-08 Juanma Barranquero <lekktu@gmail.com>
10037
10038 * loadhist.el (unload-feature-special-hooks):
10039 Add `comint-output-filter-functions'.
10040
0de12c52
IK
100412011-06-08 Ivan Kanis <gnu@kanis.fr>
10042
10043 * calendar/appt.el (appt-check): Move some initializations into the let.
10044
f3d1777e
MR
100452011-06-08 Martin Rudalics <rudalics@gmx.at>
10046
10047 * window.el (window-height): Defalias to window-total-height.
10048 (window-width): Defalias to window-body-width.
10049
18af70d0
CY
100502011-06-07 Chong Yidong <cyd@stupidchicken.com>
10051
10052 * image-mode.el (image-toggle-animation): New command.
10053 (image-mode-map): Bind it to RET.
10054 (image-mode): Update message.
10055 (image-toggle-display-image): Avoid a spurious cache flush.
10056 (image-transform-rotation): Doc fix.
10057 (image-transform-properties): Return quickly in the normal case.
10058 (image-animate-loop): Rename from image-animate-max-time.
10059
2b75be67 10060 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
10061 (create-animated-image): Remove unnecessary function.
10062 (image-animate): Rename from image-animate-start. New arg.
2b75be67 10063 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
10064 (image-animate-timer): Use car-safe.
10065 (image-animate-timeout): Rename argument.
10066
190b47e6
MR
100672011-06-07 Martin Rudalics <rudalics@gmx.at>
10068
10069 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
10070 window.c. Rename first argument to ALL-FRAMES.
10071 Rephrase doc-strings.
10072 (get-buffer-window-list): Rewrite using window-list-1.
10073 Rephrase doc-string.
a1511caf
MR
10074 (window-safe-min-height, window-safe-min-width): New constants.
10075 (window-size-ignore, window-min-size, window-min-size-1)
10076 (window-sizable, window-sizable-p, window-size-fixed-1)
10077 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10078 (window-max-delta-1, window-max-delta, window-resizable)
10079 (window-resizable-p, window-total-height, window-total-width)
10080 (window-body-width): New functions.
10081 (window-full-height-p, window-full-width-p): Rewrite using
10082 window-total-size.
10083 (window-body-height): Rewrite using window-body-size.
190b47e6 10084
85cc1f11
MR
100852011-06-06 Martin Rudalics <rudalics@gmx.at>
10086
10087 * window.el (window-right, window-left, window-child)
10088 (window-child-count, window-last-child, window-any-p)
10089 (normalize-live-buffer, normalize-live-frame)
10090 (normalize-any-window, normalize-live-window)
10091 (window-iso-combination-p, window-iso-combined-p)
10092 (window-iso-combinations)
10093 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10094 (windows-with-parameter, window-with-parameter)
10095 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
10096 (window-atom-check, window-side-check, window-check):
10097 New functions.
85cc1f11
MR
10098 (ignore-window-parameters, window-sides, window-sides-vertical)
10099 (window-sides-slots): New variables.
10100 (window-size-fixed): Move down in code. Minor doc-string fix.
10101
e7156492
AS
101022011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10103
10104 * comint.el (comint-dynamic-complete-as-filename)
10105 (comint-dynamic-complete-filename): Correctly call
10106 completion-in-region.
10107
7e821d0d
DD
101082011-06-05 Deniz Dogan <deniz@dogan.se>
10109
10110 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10111 in last change.
10112
ac09b8a1
DD
101132011-06-05 Deniz Dogan <deniz@dogan.se>
10114
10115 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10116 (rcirc): Use it to prompt for encryption.
10117
34699b85
RW
101182011-06-05 Roland Winkler <winkler@gnu.org>
10119
10120 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10121 (bibtex-search-entries): New command bound to C-c C-a.
10122 (bibtex-display-entries): New function.
10123
004dedd3
RW
101242011-06-05 Roland Winkler <winkler@gnu.org>
10125
10126 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10127 (bibtex-insert-kill): After yanking insert newline if necessary.
10128 (bibtex-initialize): Call bibtex-string-files-init only once.
10129 (bibtex-mode): Do not call easy-menu-add.
10130 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10131 (bibtex-yank): Set arg properly if nil.
10132
022fe7ce
RW
101332011-06-05 Roland Winkler <winkler@gnu.org>
10134
2b75be67
SM
10135 * textmodes/bibtex.el (bibtex-search-entry-globally):
10136 New variable.
022fe7ce
RW
10137 (bibtex-search-entry): Use it.
10138
b7c3692a
RW
101392011-06-05 Roland Winkler <winkler@gnu.org>
10140
10141 * textmodes/bibtex.el (bibtex-entry-format): New option
10142 sort-fields.
10143 (bibtex-format-entry, bibtex-reformat): Honor this option.
10144 (bibtex-parse-entry): Return fields in proper order.
10145
8eda563d
JB
101462011-06-05 Juanma Barranquero <lekktu@gmail.com>
10147
10148 * doc-view.el (doc-view-remove-if): Move computation of result out
10149 of `dolist' to silence misleading lexical-binding warning.
10150
7dbe3dbc
CY
101512011-06-04 Chong Yidong <cyd@stupidchicken.com>
10152
10153 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10154 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10155
0c33dd17
MA
101562011-06-04 Michael Albinus <michael.albinus@gmx.de>
10157
10158 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10159 "SunOS 5.10".
10160
f8f91c2b
MA
101612011-06-04 Michael Albinus <michael.albinus@gmx.de>
10162
10163 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10164 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10165 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10166 (tramp-parse-putty):
10167 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10168 (tramp-completion-function-alist-ssh)
10169 (tramp-completion-function-alist-telnet)
10170 (tramp-completion-function-alist-su)
10171 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10172 cookie.
10173
10174 * net/tramp-ftp.el:
10175 * net/tramp-sh.el:
10176 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10177 load "tramp.el" `tramp-set-completion-function'.
10178
e17d9003
SM
101792011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * shell.el: Require and use pcomplete.
10182 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10183 (shell-completion-vars): Set pcomplete-default-completion-function.
10184
6c4cab03
DD
101852011-06-04 Deniz Dogan <deniz@dogan.se>
10186
10187 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10188 `memq' (Bug#8799).
10189
ea9fafe0
SM
101902011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10193
b3e945d3
JB
101942011-06-02 Juanma Barranquero <lekktu@gmail.com>
10195
10196 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10197 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10198 * vc/log-view.el (log-view-beginning-of-defun):
10199 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10200 (smerge-refine-forward, smerge-refine-chopup-region):
10201 Silence warning for unused `dotimes' counter variables.
10202
7d520089
SM
102032011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * net/tramp.el (tramp-with-progress-reporter): Rename from
10206 with-progress-reporter. Use `declare'.
10207 * net/tramp-smb.el:
10208 * net/tramp-sh.el:
10209 * net/tramp-gvfs.el: Update all uses.
10210
a1c2400f
JB
102112011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10212
10213 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10214 buffer isn't killed before making it current.
10215
2403c841
SM
102162011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 Silence various byte-compiler warnings.
10219 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10220 `access-type' and new obsolescence format.
10221 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10222 new format.
10223 (byte-compile-check-variable): New `access-type' argument.
10224 Only warn if the access-type is obsolete.
10225 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10226 (byte-compile-variable-set): Adjust callers.
10227 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10228 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10229 setting it as obsolete.
10230 * simple.el (minibuffer-completing-symbol):
10231 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10232 access as obsolete.
10233 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10234 obsolete yet.
10235 * international/quail.el (quail-mouse-choose-completion): Remove unused
10236 code referring to obsolete var.
10237 (quail-choose-completion-string): Remove.
10238 * server.el (server-clients-with, server-kill-buffer-query-function)
10239 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10240 * proced.el (proced-send-signal):
10241 * emacs-lisp/lisp.el (lisp-complete-symbol):
10242 Replace completion-annotate-function with completion-extra-properties.
10243
2462470b
SM
102442011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10245
fb5b2591
SM
10246 * simple.el (goto-line): Use read-number.
10247 (overriding-map-is-bound): Remove.
10248 (saved-overriding-map): Change default.
10249 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10250 Take the map as argument.
10251 (universal-argument, negative-argument, digit-argument): Use it.
10252 (restore-overriding-map): Adjust.
10253 (do-auto-fill): Use fill-forward-paragraph.
10254 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10255
fd6fa53f
SM
10256 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10257 (minibuffer-inactive-mode): New major mode.
10258 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10259 the *Messages* buffer" hack.
10260 (mouse-popup-menubar): Don't burp if the event is a normal key.
10261
2462470b
SM
10262 Miscellaneous tweaks.
10263 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10264 lexical scoping as in subr.el's dolist and dotimes.
10265 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10266 Silence compiler warning.
10267 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10268 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10269 * international/ccl.el (ccl-compile): Trivial simplification.
10270 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10271 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10272 `printflag' argument.
10273 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10274 Purecopy the whole obsolescence data.
10275
108bf785
LL
102762011-06-01 Leo Liu <sdl.web@gmail.com>
10277
10278 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10279 improve doc-string as suggested by Marco Pessotto
10280 <melmothx@gmail.com>.
10281 (rcirc-print): Fix last change.
10282
30a23501
SM
102832011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * minibuffer.el (complete-with-action): Return nil for the metadata and
10286 boundaries of non-functional tables.
10287 (completion-table-dynamic): Return nil for the metadata.
10288 (completion-table-with-terminator): Add default case, using
10289 complete-with-action.
10290 (completion--metadata): New function.
10291 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10292 to try and avoid pathological performance problems.
10293 (completion--embedded-envvar-table): Return `category' metadata.
10294
bcd54f83
LMI
102952011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10296
10297 * subr.el (process-alive-p): New tiny convenience function.
10298
e227544d
SM
102992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10302 content but also its previous major mode.
10303
e8296fdc
HE
103042011-05-31 Helmut Eller <eller.helmut@gmail.com>
10305
4d61f28d 10306 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
10307 *Backtrace* buffer when we exit with C-M-c.
10308
620c53a6
SM
103092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 * minibuffer.el: Add metadata method to completion tables.
10312 (completion-category-overrides): New defcustom.
10313 (completion-metadata, completion--field-metadata)
10314 (completion-metadata-get, completion--styles)
10315 (completion--cycle-threshold): New functions.
10316 (completion-try-completion, completion-all-completions):
10317 Add `metadata' argument to choose completion-styles.
10318 (completion--do-completion): Use metadata to choose cycling.
10319 (completion-all-sorted-completions): Use metadata for sorting.
10320 Remove :completion-cycle-penalty which is not needed any more.
10321 (completion--try-word-completion): Add `metadata' argument.
10322 (minibuffer-completion-help): Check metadata for annotation function
10323 and sorting.
10324 (completion-file-name-table): Return `category' metadata.
10325 (minibuffer-completing-file-name): Make obsolete.
10326 * simple.el (minibuffer-completing-symbol): Make obsolete.
10327 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10328 completion-try-completion.
10329
1257e755
SM
103302011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10331
10332 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10333
3767e706
LL
103342011-05-30 Leo Liu <sdl.web@gmail.com>
10335
10336 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
10337 (rcirc-print): Decode all incoming messages (bug#8744).
10338 (rcirc-decode-coding-system): Allow value nil for automatic coding
10339 system detection.
3767e706 10340
d1a5d56a
GM
103412011-06-01 Glenn Morris <rgm@gnu.org>
10342
10343 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10344
e8cbec34
CY
103452011-05-29 Chong Yidong <cyd@stupidchicken.com>
10346
10347 * image.el (image-animate-max-time): Allow nil and t values.
10348 Default to nil.
10349 (create-animated-image): Doc fix.
10350 (image-animate-start): Remove second arg; just use
10351 image-animate-max-time.
10352 (image-animate-timeout): Doc fix. Args changed.
10353
10354 * image-mode.el (image-toggle-display-image): Ensure that the
10355 image spec passed to the animate timer is the same object as in
58179cce 10356 the buffer's display property (Bug#6981).
e8cbec34
CY
10357 (image-transform-properties): Doc fix.
10358
10359 * image.el (image-animate-max-time): Default to nil.
10360
159daf87
MR
103612011-05-29 Martin Rudalics <rudalics@gmx.at>
10362
10363 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
10364 entire buffer list (Bug#8184).
10365
d66c4c7c
CY
103662011-05-29 Chong Yidong <cyd@stupidchicken.com>
10367
10368 * image.el (imagemagick-types-inhibit)
10369 (imagemagick-register-types): Doc fix.
10370
80aec780
DD
103712011-05-29 Deniz Dogan <deniz@dogan.se>
10372
10373 * net/rcirc.el (rcirc): Use the user's stored encryption method by
10374 default.
10375
1dd3c2d9
CY
103762011-05-29 Chong Yidong <cyd@stupidchicken.com>
10377
10378 * select.el: Don't perform clipboard-manager saving in hooks;
10379 leave the hooks empty.
10380
60e56523
LL
103812011-05-28 Leo Liu <sdl.web@gmail.com>
10382
10383 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
10384 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
10385 (occur-edit-mode): New major mode (Bug#8463).
10386 (occur-after-change-function): New function.
10387 (occur-engine): Give Occur tags a read-only property.
10388
2b1e1a22
KR
103892011-05-28 Kevin Ryde <user42@zip.com.au>
10390
10391 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
10392
5d344e88
CY
103932011-05-28 Chong Yidong <cyd@stupidchicken.com>
10394
8e6ca83d
CY
10395 * bindings.el (help-echo): Make the initial non-indicator dash
10396 empty on graphical terminals (Bug#7295).
10397
5d344e88
CY
10398 * files.el (auto-mode-alist): Move config rule after the
10399 in-stripping one (Bug#8547).
10400
bfbbace7
CY
10401 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
10402
fbeba6e2
CY
10403 * startup.el (normal-splash-screen): Remove gratuitous mode-line
10404 setting (Bug#8740).
10405
60ed8c72
AA
104062011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
10407
4ac619f0
AA
10408 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
10409 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
10410 (Bug#8539).
60ed8c72 10411
23db196e
CY
104122011-05-28 Chong Yidong <cyd@stupidchicken.com>
10413
10414 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
10415
5012f24c
DK
104162011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
10417
10418 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
10419 (hs-hide-block-at-point, hs-find-block-beginning)
10420 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
10421 (Bug#8279).
10422
6a639b16
GM
104232011-05-28 Glenn Morris <rgm@gnu.org>
10424
10425 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
10426
d43eaf2c
CY
104272011-05-28 Chong Yidong <cyd@stupidchicken.com>
10428
5199bde1
CY
10429 * help-fns.el (describe-function-1): If the function is a derived
10430 major mode, print the parent mode.
10431
d43eaf2c
CY
10432 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
10433 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
10434
423428a8
SM
104352011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10436
0ff8e1ba 10437 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 10438 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
10439 * progmodes/etags.el (tags-completion-at-point-function):
10440 * info-look.el (info-lookup-completions-at-point): Mark as
10441 non-exclusive.
10442 (info-complete): Adjust accordingly.
10443
423428a8
SM
10444 * info-look.el: Convert to lexical-binding and completion-at-point.
10445 (info-lookup-completions-at-point): New function.
10446 (info-complete): Use it and completion-in-region.
10447
b74aa22b
DA
104482011-05-28 Drew Adams <drew.adams@oracle.com>
10449
10450 * isearch.el: Let M-e start with point at the first mismatched char.
10451 (isearch-fail-pos): New function.
10452 (isearch-edit-string): Use it.
10453
66e2e71d
DK
104542011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10455
10456 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10457
b1890b0f 104582011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
10459
10460 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
10461 traversal functions for avl-trees.
10462 (avl-tree--stack): New struct.
10463 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
10464 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
10465 (avl-tree--do-enter): Add optional `updatefun' arg.
10466 Change return value.
eb95d01d 10467 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
10468 (avl-tree--do-delete): Add `test' and `nilflag' args.
10469 Change return value.
eb95d01d
TC
10470 (avl-tree-member): Add optional `nilflag'
10471 (avl-tree-member-p): New function.
10472 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
10473 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
10474 (avl-tree-stack-empty-p): New functions.
10475
3769ddcf
TC
10476 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
10477 avl-tree--del-balance1 and make it work both ways.
10478 (avl-tree--del-balance2): Remove.
10479 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
10480 make it work both ways.
10481 (avl-tree--enter-balance2): Remove.
10482 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
10483 New macros.
10484 (avl-tree--mapc, avl-tree-map): Add direction argument.
10485
eb95d01d 104862011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
10487
10488 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
10489
a9f737ee
CY
104902011-05-27 Chong Yidong <cyd@stupidchicken.com>
10491
10492 * select.el: Support clipboard managers with built-in function
10493 x-clipboard-manager-save, via delete-frame-functions and
10494 kill-emacs-hook.
10495 (xselect-convert-to-targets): Add MULTIPLE target to list.
10496 (xselect-convert-to-save-targets): New function.
10497
c92a1e54
KH
104982011-05-27 Kenichi Handa <handa@m17n.org>
10499
10500 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
10501 let-binding rfc2047-encode-encoded-words to nil.
10502
e145f188
GM
105032011-05-27 Glenn Morris <rgm@gnu.org>
10504
5ec8a862
GM
10505 * mail/emacsbug.el: Don't require url-util.
10506
4b29d9fb
GM
10507 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
10508
e145f188
GM
10509 * files.el (set-auto-mode):
10510 Also respect mode: entries at the end of the file. (Bug#8586)
10511
7d15102b
GM
105122011-05-26 Glenn Morris <rgm@gnu.org>
10513
98f593b8
GM
10514 * files.el (hack-local-variables-prop-line, hack-local-variables):
10515 Downcase mode names, as seems to be traditional.
27b48e63 10516 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10517
7d15102b
GM
10518 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10519 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10520
51d5b4ec
JD
105212011-05-25 Julien Danjou <julien@danjou.info>
10522
10523 * textmodes/rst.el (rst-define-level-faces): Do not define face
10524 symbol if it is already defined.
10525
91513f63
VB
105262011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10527
10528 * play/5x5.el (5x5-new-game, 5x5-randomize):
10529 Reset 5x5-solver-output to nil when a new grid is cast.
10530 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10531 these debugging traces, as defmacro breaks the compiled code.
10532
4d90d6d0
DK
105332011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10534
10535 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10536
e1b90ef6
LL
105372011-05-24 Leo Liu <sdl.web@gmail.com>
10538
10539 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10540 (vc-bzr-sha1): Adapt.
10541
d8e4b68b 10542 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10543
10544 * bindings.el: Provide sha1 feature.
10545
db0406bb 105462011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10547
10548 * mail/sendmail.el: Require `rfc2047'.
10549 (mail-insert-from-field): Do not perform RFC2047 encoding.
10550 (mail-encode-header): New function.
10551 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10552 buffer to the return value of select-message-coding-system.
10553 Call mail-encode-header.
b8d747b9
KH
10554
10555 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10556
db0406bb 105572011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10558
4d90d6d0
DK
10559 * mail/supercite.el (sc-default-cite-frame):
10560 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10561
eb8a5e9b
GM
105622011-05-24 Glenn Morris <rgm@gnu.org>
10563
f8630703
GM
10564 * progmodes/python.el (brm-menu): Declare.
10565
8831bbed
GM
10566 * emulation/viper.el (viper-set-hooks): Declare.
10567
eb8a5e9b
GM
10568 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10569 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10570 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10571 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10572 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10573 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10574
a2a25d24
SM
105752011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 Add an :exit-function for completion-at-point.
10578
10579 * minibuffer.el (completion--done): New fun.
10580 (completion--do-completion): Use it. New arg `expect-exact'.
10581 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10582 since completion--do-completion does it for us now.
10583 (minibuffer-force-complete): Use completion--done and
10584 completion--replace. Handle sole-completion case with more care.
10585 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10586 (completion-extra-properties): New var.
10587 (completion-annotate-function): Make obsolete.
10588 (minibuffer-completion-help): Adjust accordingly.
10589 Use completion-list-insert-choice-function.
10590 (completion-at-point, completion-help-at-point):
10591 Bind completion-extra-properties.
10592 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10593 * simple.el (completion-list-insert-choice-function): New var.
10594 (completion-setup-function): Preserve it.
10595 (choose-completion): Pay attention to it, shuffle the code a bit.
10596 (choose-completion-string): New arg `insert-function'.
10597
10598 * textmodes/bibtex.el: Convert to lexical binding.
10599 (bibtex-mode-map): Use completion-at-point.
10600 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10601 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10602 (bibtex-complete): Define as obsolete alias.
10603 (bibtex-complete-internal): Remove.
10604 (bibtex-format-entry): Remove unused sub-group in regexp.
10605 * shell.el (shell--command-completion-data)
10606 (shell-environment-variable-completion):
10607 * pcomplete.el (pcomplete-completions-at-point):
10608 * comint.el (comint--complete-file-name-data): Use :exit-function
10609 instead of completion-table-with-terminator so it also works for
10610 choose-completion.
10611
e44e373d
SM
106122011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10613
4f91a816
SM
10614 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10615
782fc819
SM
10616 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10617 (bug#8710).
10618
e44e373d
SM
10619 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10620
381987c3
KM
106212011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10622
10623 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10624 customization variable and implement: If non-nil, auto-fill will
10625 be inhibited while on topic's header line.
10626
b776bc70
VB
106272011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10628
10629 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10630 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10631 always have a solution in grid size = 5 cases.
10632 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10633 (5x5-solver-output, 5x5-log-buffer): New vars.
10634 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10635 Make these variables buffer local to achieve 5x5 multi-session-ness.
10636 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10637 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10638 (5x5-solve-suggest): New funs.
10639 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10640 randomize a grid so that we ensure that there is always a solution.
10641 (5x5-make-random-grid): Allow other movement than flipping.
10642
7de88b6e
KR
106432011-05-23 Kevin Ryde <user42@zip.com.au>
10644
10645 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10646 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10647 advice and passes PREDICATE.
10648
b1ef1257
SM
106492011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10650
bbca48fe
SM
10651 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10652 byte-compile-lambda if it's actually a lambda.
10653
b1ef1257
SM
10654 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10655 Fix function quoting. Use backquote better.
10656
92a9cc65
YS
106572011-05-22 Yuanle Song <sylecn@gmail.com>
10658
10659 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10660 matching (Bug#8516).
10661
f0fb8059
JA
106622011-01-22 Jari Aalto <jari.aalto@cante.net>
10663
10664 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10665 different face (Bug#8178).
10666
d5b44c93
CY
106672011-05-22 Chong Yidong <cyd@stupidchicken.com>
10668
10669 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10670 defface (Bug#8144).
10671
79106a44
SM
106722011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10673
9c848d8a
SM
10674 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10675 funcall as well (bug#8712). Warn when performing those conversions.
10676 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10677
79106a44
SM
10678 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10679
88dfa756
GM
106802011-05-22 Glenn Morris <rgm@gnu.org>
10681
10682 * files.el (hack-local-variables-prop-line): Small simplifications.
10683 (hack-local-variables, hack-local-variables-prop-line):
10684 If MODE-ONLY, return the mode, rather than just `t'.
10685
b7cf2c79
SM
106862011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10687
10688 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10689
3f1a8558
GM
106902011-05-21 Glenn Morris <rgm@gnu.org>
10691
7e4ccca3
GM
10692 * files.el (hack-local-variables-prop-line, hack-local-variables):
10693 If only interested in the mode, don't bother doing the other stuff.
10694
637d46ca
GM
10695 * image-mode.el (image-after-revert-hook):
10696 Redraw all frames on which the image is visible. (Bug#8567)
10697
973d955b
GM
10698 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10699
3f1a8558
GM
10700 * wid-edit.el (widget-checklist-match-inline):
10701 Fix 2011-04-19 change. (Bug#8649)
10702
96479927
SM
107032011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10704
1dcf791f
SM
10705 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10706 Also allow singlespace after single-letter capitals followed by a dot.
10707
96479927
SM
10708 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10709 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10710
35fd0881
N
107112011-05-20 Nix <nix@esperi.org.uk>
10712
10713 * files.el (basic-save-buffer-2):
10714 Fix handling of break-hardlink-on-save with non-existent files.
10715
82745640
DD
107162011-05-19 Deniz Dogan <deniz@dogan.se>
10717
10718 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10719 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10720
4a720484
GM
107212011-05-19 Glenn Morris <rgm@gnu.org>
10722
d1f21341
GM
10723 * progmodes/f90.el (f90-type-def-re):
10724 Handle "type, bind(c)". (Bug#8691)
10725
4a720484
GM
10726 * emacs-lisp/autoload.el (batch-update-autoloads):
10727 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10728
2fb0a219
MA
107292011-05-18 Michael Albinus <michael.albinus@gmx.de>
10730
10731 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10732 property for the correct connection in case of multihops.
10733
e565dd37
GM
107342011-05-18 Glenn Morris <rgm@gnu.org>
10735
c2571358 10736 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10737 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10738
e565dd37
GM
10739 Rationalize calendar handling of day and month abbrev-arrays.
10740 * calendar/calendar.el (calendar-customized-p): New function.
10741 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10742 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10743 Add :set function.
10744 (calendar-abbrev-length, calendar-day-abbrev-array)
10745 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10746 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10747 Elements may no longer be nil.
10748 (calendar-day-name, calendar-month-name):
10749 Update for changed nature of abbrev arrays.
10750 * calendar/diary-lib.el (diary-name-pattern):
10751 Update for changed nature of abbrev arrays.
10752 (diary-mark-entries-1): Update calendar-make-alist calls.
10753 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10754 * calendar/cal-html.el (cal-html-day-abbrev-array):
10755 Simply inherit from calendar-day-abbrev-array.
10756
1d99a745
SM
107572011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10758
10759 * progmodes/grep.el (grep-mode): Disable default
10760 compilation-directory-matcher setting (bug#8684).
10761
7c1d9aa0
MA
107622011-05-17 Michael Albinus <michael.albinus@gmx.de>
10763
10764 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10765 instead of "head" and "tail". There were problems with SunOS 5.9,
10766 and it performs better.
10767
3952e9d8
GM
107682011-05-17 Glenn Morris <rgm@gnu.org>
10769
2dd12e7f
GM
10770 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10771
e4157b9c
GM
10772 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10773 Replace obsolete function.
10774
8e249bbd
GM
10775 * shell.el (pcomplete-parse-arguments-function): Declare.
10776
3952e9d8
GM
10777 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10778 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10779 (appt-check): Doc fixes.
10780 (appt-disp-window-function, appt-delete-window-function):
10781 Remove needless special case in custom :type.
10782 (appt-display-count): Default to 0, not nil.
10783 (appt-check): Reset appt-display-count to 0, not nil.
10784
c71a0d48 107852011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10786
c71a0d48
GM
10787 * progmodes/python.el (python-font-lock-keywords):
10788 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10789
31d55be9
SM
107902011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10791
10792 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10793
3bfacb2f
KR
107942011-05-16 Kevin Ryde <user42@zip.com.au>
10795
10796 * info-look.el (makefile-automake-mode): New setups, looking in
10797 automake manual, then makefile-mode.
10798 (makefile-mode): Remove automake manual, have it just in
10799 makefile-automake-mode since there's various things different or
10800 not relevant to plain make.
10801 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10802 believe a hypothetical automake-mode would go to makefile-mode,
10803 not the other way around.
10804
c8e83751
CY
108052011-05-15 Chong Yidong <cyd@stupidchicken.com>
10806
5e9e35cd
CY
10807 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10808 hunk-end tags (Bug#8672).
10809
c8e83751
CY
10810 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10811 vc-annotate-show-diff-revision-at-line (Bug#8671).
10812
50b23e5a
GM
108132011-05-14 Glenn Morris <rgm@gnu.org>
10814
7210a739
GM
10815 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10816 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10817 (change-log-font-lock-keywords): Also handle multiple author lines
10818 with leading tabs. (Bug#8644)
7210a739 10819
4691905a
GM
10820 * calendar/appt.el (appt-check): Rename some local variables.
10821 Some simplification/reordering.
10822
50b23e5a
GM
10823 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10824 (feedmail-sendmail-f-doesnt-sell-me-out)
10825 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10826 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10827 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10828 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10829 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10830 (feedmail-binmail-gnulinuxish-template):
10831 Rename from feedmail-binmail-linuxish-template.
10832 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10833 Use insert-buffer-substring.
10834
215cda7c
BC
108352011-05-14 Bill Carpenter <bill@carpenter.org>
10836
10837 * mail/feedmail.el (feedmail-patch-level): Increase.
10838 (feedmail-debug): New custom group.
10839 (feedmail-confirm-outgoing-timeout)
10840 (feedmail-sendmail-f-doesnt-sell-me-out)
10841 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10842 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10843 (feedmail-sender-line, feedmail-from-line)
10844 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10845 (feedmail-spray-this-address)
215cda7c
BC
10846 (feedmail-spray-address-fiddle-plex-list)
10847 (feedmail-queue-use-send-time-for-date)
10848 (feedmail-queue-use-send-time-for-message-id)
10849 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10850 (feedmail-buffer-eating-function):
10851 Doc fixes.
10852 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10853 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10854 (feedmail-message-action-scroll-down): New functions.
10855 (feedmail-queue-directory, feedmail-queue-draft-directory):
10856 Use expand-file-name.
10857 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10858 Remove C-v help entry.
10859 (feedmail-queue-buffer-file-name): New variable.
10860 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10861 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10862 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10863 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10864 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10865 (feedmail-message-action-toggle-spray)
10866 (feedmail-run-the-queue-no-prompts)
10867 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10868 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10869 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10870 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10871 (feedmail-envelope-deducer, feedmail-fiddle-from)
10872 (feedmail-fiddle-sender, feedmail-default-date-generator)
10873 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10874 (feedmail-fiddle-spray-address)
10875 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10876 (feedmail-fiddle-list-of-fiddle-plexes)
10877 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10878 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10879 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10880 Change default. Doc fix.
10881 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10882 (feedmail-binmail-linuxish-template): New constant.
10883 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10884 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10885 (feedmail-send-it): Add debug call.
10886 Use feedmail-queue-buffer-file-name, and
10887 feedmail-send-it-immediately-wrapper.
10888 (feedmail-message-action-send): Add debug call.
10889 Use feedmail-send-it-immediately-wrapper.
10890 (feedmail-queue-express-to-queue): Add debug call.
10891 Run feedmail-queue-express-hook.
10892 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10893 (feedmail-message-action-help-blat):
10894 Rename from feedmail-queue-send-edit-prompt-help-first.
10895 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10896 Check line-endings. Handle errors better.
10897 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10898 Doc fix. Add debug call.
10899 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10900 Use feedmail-queue-send-edit-prompt-inner.
10901 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10902 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10903 from feedmail-queue-send-edit-prompt.
10904 (feedmail-queue-send-edit-prompt-help)
10905 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10906 (feedmail-tidy-up-slug): Add debug call.
10907 Respect feedmail-queue-slug-suspect-regexp.
10908 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10909 (feedmail-dump-message-to-queue): Add debug call.
10910 Expand queue-directory.
10911 (feedmail-dump-message-to-queue): Change message slightly.
10912 Use feedmail-say-chatter.
10913 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10914 (feedmail-send-it-immediately-wrapper): New function.
10915 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10916 Insert empty string rather than newline. Handle full-frame case.
10917 Use catch/throw. Use feedmail-say-chatter.
10918 (feedmail-fiddle-from): Try mail-host-address.
10919 (feedmail-default-message-id-generator): Doc fix.
10920 Bind system-time-locale. Handle missing end.
10921 (feedmail-fiddle-x-mailer): Add debug call.
10922 Handle feedmail-x-mailer-line being nil.
10923 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10924 Add debug call. Use buffer-substring-no-properties.
10925 (feedmail-say-debug, feedmail-say-chatter): New functions.
10926 (feedmail-find-eoh): Give an explicit error.
10927
42c7e61e
UJ
109282011-05-13 Ulf Jasper <ulf.jasper@web.de>
10929
c2571358 10930 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10931 family from helvetica to sans.
c2571358 10932 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10933 etc/images/newsticker.
10934
c2571358 10935 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10936 family from helvetica to sans.
10937
10938 * net/newst-plainview.el (newsticker-new-item-face)
10939 (newsticker-old-item-face, newsticker-immortal-item-face)
10940 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10941 (newsticker-statistics-face): Change default family from
42c7e61e 10942 helvetica to sans.
c2571358 10943 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10944 etc/images/newsticker.
10945
5d3385a0
JB
10946 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
10947 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
10948 auto-marking.
10949
8497a297
DV
109502011-05-13 Didier Verna <didier@xemacs.org>
10951
10952 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10953 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10954 TODO entries.
8497a297
DV
10955 (lisp-lambda-list-keyword-parameter-indentation)
10956 (lisp-lambda-list-keyword-parameter-alignment)
10957 (lisp-lambda-list-keyword-alignment): New customizable user options.
10958 (lisp-indent-defun-method): Improve docstring.
10959 (extended-loop-p): Fix comment.
10960 (lisp-indent-lambda-list-keywords-regexp): New variable.
10961 (lisp-indent-lambda-list): New function.
10962 (lisp-indent-259): Use it.
10963 (lisp-indent-defmethod): Support for more than one
10964 method qualifier and properly indent methods lambda-lists.
10965 (defgeneric): Provide a missing common-lisp-indent-function property.
10966
f278f87f
SM
109672011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10968
10969 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10970 bounds for the empty string (bug#8667).
10971
5233edd7
GM
109722011-05-13 Glenn Morris <rgm@gnu.org>
10973
5237a44f
GM
10974 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10975
8340026c 10976 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10977 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10978
5233edd7 10979 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10980 (appt-time-msg-list): Doc fix.
a5464014 10981 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10982
92d10796
AS
109832011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10984
10985 * progmodes/ld-script.el (ld-script-keywords)
10986 (ld-script-builtins): Update keywords list.
10987
914a0ae1
SM
109882011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10989
c89be45f
SM
10990 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10991
914a0ae1
SM
10992 * shell.el (shell-completion-vars): New function.
10993 (shell-mode):
10994 * simple.el (read-shell-command): Use it.
10995 (blink-matching-open): No need for " [...]" in minibuffer-message.
10996
98dc3df3
GM
109972011-05-12 Glenn Morris <rgm@gnu.org>
10998
10999 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11000 (appt-check): Simplify.
11001
d2fc7e3d 110022011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 11003
4d61f28d 11004 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
11005 literal "/dev/null".
11006
d2fc7e3d 110072011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
11008
11009 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11010 Fix typo.
11011
d2fc7e3d 110122011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 11013
3f254caa
SM
11014 * progmodes/which-func.el (which-function):
11015 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
11016 which might not be defined (Bug#8260).
11017
d45885f7
GM
110182011-05-12 Glenn Morris <rgm@gnu.org>
11019
11020 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11021 Let byte-compile-initial-macro-environment always take precedence.
11022
488086f4
SM
110232011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11024
11025 * net/rcirc.el: Add support for SSL/TLS connections.
11026 (rcirc-server-alist): New field `encryption'.
11027 (rcirc): Check `encryption' settings.
11028 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11029 Merge make-local-variable into `set'.
11030 (rcirc--connection-open-p): New function.
11031 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11032 the process is not a network process (e.g. running gnutls-cli).
11033 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11034 Make rcirc-(en|de)code-coding-system local here.
11035 (rcirc-mode): Merge make-local-variable into `set'.
11036 (rcirc-parent-buffer): Make permanent buffer-local.
11037 (rcirc-multiline-minor-mode): Don't do it here.
11038 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11039 there's no server buffer.
11040
7d3b9d44
GM
110412011-05-11 Glenn Morris <rgm@gnu.org>
11042
f64049c6
GM
11043 * newcomment.el (comment-kill): Prefix "unused" local.
11044
93c9df73
GM
11045 * term/w32console.el (get-screen-color): Declare.
11046
7d3b9d44
GM
11047 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11048 Handle symbol elements of byte-compile-initial-macro-environment.
11049
9e2dd53f
LL
110502011-05-10 Leo Liu <sdl.web@gmail.com>
11051
488086f4
SM
11052 * bookmark.el (bookmark-bmenu-mode-map):
11053 Bind bookmark-bmenu-search to `/'.
8b340240 11054
9e2dd53f 11055 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
11056 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11057 (Footnote-unicode): New function.
11058 (footnote-style-alist): Add unicode style to the list.
11059 (footnote-style): Doc fix.
9e2dd53f 11060
79b70037
GM
110612011-05-10 Jim Meyering <meyering@redhat.com>
11062
11063 Fix doubled-word typos.
11064 * international/quail.el (quail-insert-kbd-layout): and and -> and
11065 * kermit.el: and and -> and
11066 * net/ldap.el (ldap-search-internal): to to -> to
11067 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11068 * progmodes/js.el (js-mode): and and -> and
11069 * textmodes/artist.el (artist-move-to-xy): at at -> at
11070 (artist-draw-region-trim-line-endings): if if -> if
11071 And Safetyc -> Safety.
11072 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11073
b8f82dc1 110742011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 11075 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
11076
11077 * files.el (hack-one-local-variable-eval-safep):
11078 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11079
4f99f44b
GM
110802011-05-10 Glenn Morris <rgm@gnu.org>
11081
11082 * calendar/diary-lib.el (diary-list-entries-hook)
11083 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11084 (diary-nongregorian-marking-hook, diary-list-entries)
11085 (diary-include-other-diary-files, diary-mark-entries)
11086 (diary-mark-included-diary-files): Doc fixes.
11087
84f29e6b
JB
110882011-05-09 Juanma Barranquero <lekktu@gmail.com>
11089
11090 * misc.el: Require tabulated-list.el during compilation.
11091
9bedd73a
CY
110922011-05-09 Chong Yidong <cyd@stupidchicken.com>
11093
488086f4
SM
11094 * progmodes/compile.el (compilation-start):
11095 Run compilation-filter-hook for the async case too.
9bedd73a
CY
11096 (compilation-filter-hook): Doc fix.
11097
797c735c
DD
110982011-05-09 Deniz Dogan <deniz@dogan.se>
11099
11100 * wdired.el: Remove outdated installation comment. Fix usage
11101 comment.
11102
5f4b1dfe
JB
111032011-05-09 Juanma Barranquero <lekktu@gmail.com>
11104
11105 * misc.el: Implement new command `list-dynamic-libraries'.
11106 (list-dynamic-libraries--loaded-only-p): New variable.
11107 (list-dynamic-libraries--refresh): New function.
11108 (list-dynamic-libraries): New command.
11109
4c44026c
CY
111102011-05-09 Chong Yidong <cyd@stupidchicken.com>
11111
488086f4
SM
11112 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11113 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
11114 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11115 higher priority to avoid clobbering by gnu.
11116
027f966d
CY
111172011-05-08 Chong Yidong <cyd@stupidchicken.com>
11118
11119 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11120 if the face has existing theme settings (Bug#8454).
11121
085f5d7d
CY
111222011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11123
488086f4
SM
11124 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11125 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 11126
2a86a00c
RS
11127 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11128 special file names `.' and `..' (Bug#8259).
11129
d9c54a06
CY
111302011-05-08 Chong Yidong <cyd@stupidchicken.com>
11131
488086f4
SM
11132 * progmodes/grep.el (grep-mode-font-lock-keywords):
11133 Remove buffer-changing entries.
d9c54a06
CY
11134 (grep-filter): New function.
11135 (grep-mode): Add it to compilation-filter-hook.
11136
11137 * progmodes/compile.el (compilation-filter-hook)
11138 (compilation-filter-start): New defvars.
11139 (compilation-filter): Call compilation-filter-hook prior to
11140 updating the process mark.
11141
c4662635
SM
111422011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11145
b0512a1d
EZ
111462011-05-07 Eli Zaretskii <eliz@gnu.org>
11147
605c9376
EZ
11148 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11149 mailclient-send-it even if window-system is nil. (Bug#8595)
11150
c4662635
SM
11151 * term/w32console.el (terminal-init-w32console):
11152 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
11153 background-mode. (Bug#8597)
11154
d1dc2cc2
SM
111552011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11158 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11159 New functions.
11160 (defgeneric, eieio--defmethod): Use them.
11161 (eieio-defgeneric): Remove.
11162 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11163
915d1300
GM
111642011-05-07 Glenn Morris <rgm@gnu.org>
11165
a3961c3e
GM
11166 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11167 Use let rather than let*.
11168 (timeclock-find-discrep): Remove unused local.
11169
314347b9
GM
11170 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11171
915d1300
GM
11172 * calendar/appt.el (appt-time-msg-list): Doc fix.
11173
275b59b0
NF
111742011-05-06 Noah Friedman <friedman@splode.com>
11175
11176 * apropos.el (apropos-print-doc): Only use
11177 emacs-lisp-docstring-fill-column when it is bound to an integer,
11178 per that variable's documentation.
11179
6c19f744
SM
111802011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11181
11182 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 11183 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 11184
60f884b2
GM
111852011-05-06 Glenn Morris <rgm@gnu.org>
11186
5006e634
GM
11187 * calendar/appt.el (appt-message-warning-time): Doc fix.
11188 (appt-warning-time-regexp): New option.
11189 (appt-make-list): Respect appt-message-warning-time.
11190
548d0a63
GM
11191 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11192 New options.
11193 (diary-add-to-list): Strip comments from the displayed string.
11194 (diary-mode): Set comment-start and comment-end.
11195
60f884b2
GM
11196 * vc/diff-mode.el (smerge-refine-subst): Declare.
11197 (diff-refine-hunk): Don't require smerge-mode when compiling.
11198
989681bb
JB
111992011-05-06 Juanma Barranquero <lekktu@gmail.com>
11200
11201 * simple.el (list-processes): Return nil as the docstring says.
11202
a6bc05e1
MA
112032011-05-05 Michael Albinus <michael.albinus@gmx.de>
11204
11205 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11206 to "".
11207 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11208 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11209 determining of binary transfer. (Bug#7383)
11210
23c22e9a
MA
112112011-05-05 Michael Albinus <michael.albinus@gmx.de>
11212
c4662635
SM
11213 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11214 Fix port computation bug. (Bug#8618)
23c22e9a 11215
0bff894f
GM
112162011-05-05 Glenn Morris <rgm@gnu.org>
11217
b8296902
GM
11218 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11219
1f522ce8
GM
11220 * simple.el (shell-dynamic-complete-functions)
11221 (comint-dynamic-complete-functions): Declare.
11222
cf5bee67
GM
11223 * net/network-stream.el (gnutls-negotiate):
11224 * simple.el (tabulated-list-print): Fix declarations.
11225
11226 * progmodes/gud.el (syntax-symbol, syntax-point):
11227 Remove unnecessary and incorrect declarations.
11228
0bff894f
GM
11229 * emacs-lisp/check-declare.el (check-declare-scan):
11230 Handle byte-compile-initial-macro-environment in bytecomp.el
11231
9869b3ae
SM
112322011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11233
11234 Fix earlier half-done eieio-defmethod change (bug#8338).
11235 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11236 Streamline and change calling convention.
11237 (defmethod): Adjust accordingly and simplify.
11238 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11239 new eieio--defmethod.
11240 (slot-boundp): Minor CSE simplification.
11241
9c1d5ac5
MZ
112422011-05-05 Milan Zamazal <pdm@zamazal.org>
11243
11244 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11245 (glasses-make-readable): Use glasses-separate-capital-groups.
11246
455c834e
JB
112472011-05-05 Juanma Barranquero <lekktu@gmail.com>
11248
11249 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11250 (warning-series): Doc fix.
11251 (display-warning): Don't try to create the buffer if we just found it.
11252
9ed7c8cb
CY
112532011-05-04 Chong Yidong <cyd@stupidchicken.com>
11254
11255 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11256 (autoload-find-generated-file): New function.
11257 (generate-file-autoloads): Bind generated-autoload-file to
11258 buffer-file-name.
9869b3ae
SM
11259 (update-file-autoloads, update-directory-autoloads):
11260 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
11261 output file (Bug#7989).
11262 (batch-update-autoloads): Doc fix.
11263
0898ca10
JB
112642011-05-04 Juanma Barranquero <lekktu@gmail.com>
11265
11266 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11267
31dfb76c
GM
112682011-05-04 Glenn Morris <rgm@gnu.org>
11269
f330b642
GM
11270 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11271 function, so it follows changes in calendar-date-style.
11272 (diary-fancy-date-matcher): New function.
11273 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11274 (diary-fancy-font-lock-fontify-region-function):
11275 Use diary-fancy-date-pattern as a function.
11276
31dfb76c
GM
11277 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11278 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11279
48e79d6a
TZ
112802011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11281
11282 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11283 instead of positional arguments. Allow :keylist and :crlfiles
11284 arguments.
11285 (open-gnutls-stream): Call it.
11286
11287 * net/network-stream.el (network-stream-open-starttls): Adjust to
11288 call `gnutls-negotiate' with :process and :hostname arguments.
11289
dd5a5ee0
SM
112902011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11291
ef80fc09
SM
11292 * minibuffer.el (completion--message): New function.
11293 (completion--do-completion, minibuffer-complete)
11294 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11295 (completion--do-completion): Don't ignore completion-auto-help when in
11296 icomplete-mode.
11297
dd5a5ee0
SM
11298 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11299 internal encoding (e.g. tibetan zero is not whitespace).
11300 (global-whitespace-mode): Prefer save-current-buffer.
11301 (whitespace-trailing-regexp): Remove useless save-match-data.
11302 (whitespace-empty-at-bob-regexp): Minor simplification.
11303
b7d22a83
CY
113042011-05-03 Chong Yidong <cyd@stupidchicken.com>
11305
11306 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11307
5192af46
AM
113082011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11309
11310 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 11311 Use `concat' to create string for insertion.
5192af46 11312
5767d190
SM
113132011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11316 Avoid open-line which runs post-self-insert-hook.
11317 (bibtex-fill-entry): Remove unused `end' var.
11318
bf242939
AM
113192011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11320
5767d190
SM
11321 * textmodes/ispell.el (ispell-add-per-file-word-list):
11322 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 11323
25666126
LL
113242011-05-03 Leo Liu <sdl.web@gmail.com>
11325
11326 * isearch.el (isearch-yank-pop): New command.
5767d190 11327 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
11328 (isearch-forward): Mention it.
11329
52d3c2d0
SM
113302011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11331
1bcace58
SM
11332 * simple.el (minibuffer-complete-shell-command): Remove.
11333 (minibuffer-local-shell-command-map): Use completion-at-point.
11334 (read-shell-command): Setup completion vars here instead.
11335 (read-expression-map): Bind TAB to symbol completion.
11336
52d3c2d0
SM
11337 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11338 error directly rather via storing it into `results'.
11339
35813471
LL
113402011-05-02 Leo Liu <sdl.web@gmail.com>
11341
11342 * vc/diff.el: Fix description.
11343
e793a940
LMI
113442011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11345
11346 * server.el (server-eval-at): New function.
11347
8de66e05
LMI
113482011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11349
11350 * net/network-stream.el (open-network-stream): Take a :nowait
11351 parameter and pass it on to `make-network-process'.
11352 (network-stream-open-plain): Ditto.
11353
dcb79f20
AS
113542011-04-30 Andreas Schwab <schwab@linux-m68k.org>
11355
11356 * faces.el (face-spec-set-match-display): Don't match toolkit
11357 options on terminal frames.
11358
14a7fbd8
SM
113592011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11360
7eabc1be
SM
11361 * progmodes/pascal.el: Use lexical binding.
11362 (pascal-mode-map): Remove author preferences.
11363
14a7fbd8
SM
11364 * pcomplete.el (pcomplete-std-complete): Don't abuse
11365 completion-at-point.
11366
50f84510
JB
113672011-04-28 Juanma Barranquero <lekktu@gmail.com>
11368
6e087a44
JB
11369 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
11370 removing code that has been dead since 1991 or so.
11371
50f84510
JB
11372 * startup.el (command-line): When warning about "_emacs", use a
11373 delayed warning to allow the user to filter it out.
11374
0ba690bd
DD
113752011-04-28 Deniz Dogan <deniz@dogan.se>
11376
11377 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
11378 user has not joined.
11379
08abfaad
SM
113802011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
11383 aren't any completions at point.
11384
638f053a
JB
113852011-04-28 Juanma Barranquero <lekktu@gmail.com>
11386
11387 * subr.el (display-delayed-warnings): New function.
11388 (delayed-warnings-hook): New variable.
11389
8fff8daa
SM
113902011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11391
08abfaad
SM
11392 * minibuffer.el (completion-at-point, completion-help-at-point):
11393 Don't presume that a given completion-at-point-function will always
11394 use the same calling convention.
11395
8fff8daa
SM
11396 * pcomplete.el (pcomplete-completions-at-point):
11397 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
11398 pcomplete-seen is non-nil.
11399 (pcomplete-comint-setup): Also recognize the new comint/shell
11400 completion functions.
11401 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
11402 pcomplete-seen is non-nil.
11403
841a1577 114042011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 11405
841a1577 11406 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 11407 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 11408 the first character in the entry. This allows for code to add its
211ec907
UJ
11409 own uid to the entry.
11410 (icalendar--convert-float-to-ical): Add export of
11411 `diary-float'-entries save for those with the optional DAY
11412 argument.
11413
2a782793
DC
114142011-04-27 Daniel Colascione <dan.colascione@gmail.com>
11415
11416 * subr.el (shell-quote-argument): Use alternate escaping strategy
11417 when we spot a variable reference in a string.
11418
0438ce91
DC
114192011-04-26 Daniel Colascione <dan.colascione@gmail.com>
11420
11421 * cus-start.el (all): Define customization for debug-on-event.
11422
841a1577 114232011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
11424
11425 * subr.el (shell-quote-argument): Escape correctly under Windows.
11426
d090ed6c
SM
114272011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
11430
bfd31217
MA
114312011-04-25 Michael Albinus <michael.albinus@gmx.de>
11432
d090ed6c
SM
11433 * net/tramp.el (tramp-process-actions): Add POS argument.
11434 Delete region between POS and (pos).
bfd31217 11435
d090ed6c
SM
11436 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11437 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
11438 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
11439
11440 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
11441 position in `tramp-process-actions' call.
11442
11443 * net/trampver.el: Update release number.
11444
e92f3bd3
SM
114452011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11446
850256b5
SM
11447 * custom.el (defcustom): Obey lexical-binding.
11448
e92f3bd3
SM
11449 Fix octave-inf completion problems reported by Alexander Klimov.
11450 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
11451 Inherit from octave-mode-syntax-table.
11452 (inferior-octave-mode): Set info-lookup-mode.
11453 (inferior-octave-completion-at-point): New function.
11454 (inferior-octave-complete): Use it and completion-in-region.
11455 (inferior-octave-dynamic-complete-functions): Use it as well, and use
11456 comint-filename-completion.
11457 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
11458 symbol elements which shouldn't be word elements.
11459 (octave-font-lock-keywords, octave-beginning-of-defun)
11460 (octave-function-header-regexp): Adjust regexps accordingly.
11461 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
11462
cd22b309
JB
114632011-04-25 Juanma Barranquero <lekktu@gmail.com>
11464
11465 * net/gnutls.el (gnutls-errorp): Declare before first use.
11466
8b492194
TZ
114672011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
11468
11469 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
11470 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 11471 default trustfile exists before going to use it. Add missing
5a5fa834 11472 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
11473 Reported by Claudio Bley <claudio.bley@gmail.com>.
11474 (open-gnutls-stream): Add usage example.
11475
11476 * net/network-stream.el (network-stream-open-starttls): Give host
11477 parameter to `gnutls-negotiate'.
11478 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 11479 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 11480
841a1577 114812011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 11482
cd22b309
JB
11483 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
11484 Use correct match group (bug#8438).
05842630 11485
3ba7869c
CY
114862011-04-24 Chong Yidong <cyd@stupidchicken.com>
11487
512e3ae1
CY
11488 * emacs-lisp/package.el (package-built-in-p): Fix typo.
11489 (package-menu--generate): New arg specifying packages to show.
11490 (package-menu-refresh, package-menu-execute, list-packages):
11491 Callers changed.
11492 (package-show-package-list): New function, replacing deleted
11493 package--list-packages (renamed because it is non-internal).
11494
11495 * finder.el (finder-list-matches): Use package-show-package-list
11496 instead of deleted package--list-packages.
11497
e92f3bd3
SM
11498 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
11499 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
11500 (vc-annotate-mode-map): Bind it to RET.
11501
7031be6d
UR
115022011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11503
11504 * progmodes/etags.el (next-file): Don't use set-buffer to change
11505 buffers (Bug#8478).
11506
4ef177aa
CY
115072011-04-24 Chong Yidong <cyd@stupidchicken.com>
11508
c8d173eb
CY
11509 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
11510
4ef177aa
CY
11511 * apropos.el (apropos-label-face): Avoid variable-pitch face.
11512 (apropos-accumulator): Doc fix.
11513 (apropos-function, apropos-macro, apropos-command)
11514 (apropos-variable, apropos-face, apropos-group, apropos-widget)
11515 (apropos-plist): Add face property.
11516 (apropos-symbols-internal): Fix indentation.
11517 (apropos-print): Simplify help, and recognize apropos-multi-type.
11518 (apropos-print-doc): Use button-type-get to extract the button's
11519 face property. Fill docstring (Bug#8352).
11520
4ffd0d6b 115212011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11522
11523 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11524
c6c32125 11525 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11526 (mpuz-mode-map): Use mapc.
c6c32125
JB
11527 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11528 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11529 Fix typos in docstrings.
11530
58d468b4
JB
11531 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11532 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11533
6470c3c6
JB
11534 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11535
4ffd0d6b 115362011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11537
11538 * minibuffer.el (completion--do-completion): Avoid the "Next char
11539 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11540
3ad8bad0
CY
11541 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11542 mouse-2 into unread-command-events, it is interpreted correctly.
11543
71d73c9c 11544 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11545 (image-toggle-display): Doc fix.
71d73c9c 11546
841a1577 115472011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11548
4ffd0d6b
GM
11549 * textmodes/page.el (what-page): Use line-number-at-pos to
11550 calculate line number (Bug#6825).
6e1dbaa9 11551
c2fb1b60
JB
115522011-04-22 Juanma Barranquero <lekktu@gmail.com>
11553
11554 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11555 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11556 Pass argument NO-DEFAULT to `find-tag-interactive'.
11557
e02f48d7
JB
115582011-04-22 Juanma Barranquero <lekktu@gmail.com>
11559
11560 Lexical-binding cleanup.
11561
11562 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11563 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11564 * progmodes/ada-prj.el (ada-prj-initialize-values)
11565 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11566 (ada-prj-show-value):
11567 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11568 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11569 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11570 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11571 * progmodes/bug-reference.el (bug-reference-push-button):
11572 * progmodes/fortran.el (fortran-line-length):
11573 * progmodes/glasses.el (glasses-change):
11574 * progmodes/octave-mod.el (octave-fill-paragraph):
11575 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11576 (python-pdbtrack-grub-for-buffer, python-sentinel):
11577 * progmodes/sql.el (sql-save-connection):
11578 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11579 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11580 Mark unused parameters.
11581
11582 * progmodes/compile.el (compilation--flush-directory-cache)
11583 (compilation--flush-parse, compile-internal): Mark unused parameters.
11584 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11585 (compilation-next-error-function): Remove unused variable `timestamp'.
11586
11587 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11588 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11589
11590 * progmodes/dcl-mode.el (dcl-end-of-command):
11591 Remove unused variable `start'.
11592 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11593 (dcl-option-value-basic, dcl-option-value-offset)
11594 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11595 Mark unused parameters.
11596 (dcl-save-local-variable): Remove unused variable `val'.
11597 (mode): Declare.
11598
11599 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11600 Mark unused parameters.
11601 (delphi-ignore-changes): Move before first use.
11602 (delphi-charset-token-at): Remove unused variable `start'.
11603 (delphi-else-start): Remove unused variable `if-count'.
11604 (delphi-comment-block-start, delphi-comment-block-end):
11605 Remove unused variable `kind'.
11606 (delphi-indent-line): Remove unused variable `new-point'.
11607
11608 * progmodes/ebrowse.el (ebrowse-files-list)
11609 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11610 Mark unused parameters. Don't quote `lambda'.
11611 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11612 Don't quote `lambda'.
11613 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11614 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11615 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11616 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11617 Use `ignore-errors'.
11618 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11619 (ebrowse-view/find-file-and-search-pattern)
11620 (ebrowse-view/find-member-declaration/definition):
11621 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11622 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11623 Rename parameter PREFIX-ARG to PREFIX.
11624 (ebrowse-tags-read-name): Remove unused variables `start' and
11625 `member-info'.
11626 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11627 to `tags-file'.
11628
11629 * progmodes/etags.el (local-find-tag-hook): Declare.
11630 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11631 Mark unused parameters.
11632
11633 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11634 (executable-interpret): Mark unused parameter.
11635
11636 * progmodes/flymake.el (flymake-process-sentinel)
11637 (flymake-after-change-function)
11638 (flymake-create-temp-with-folder-structure)
11639 (flymake-get-include-dirs-dot): Mark unused parameters.
11640 (flymake-safe-delete-directory): Remove unused variable `err'.
11641
11642 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11643 (speedbar-timer-fn, speedbar-line-text)
11644 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11645 (speedbar-center-buffer-smartly): Declare functions.
11646 (gdb-find-watch-expression): Remove unused variable `array'.
11647 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11648 (gdb-starting): Mark unused parameters.
11649 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11650 (gdb-table-string): Remove unused variable `res'.
11651 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11652 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11653 (gdb-display-buffer): Remove unused variable `cur-size'.
11654
11655 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11656 allow lexical-binding compilation.
11657 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11658 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11659 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11660 Mark unused parameters.
11661 (gud-gdb-marker-filter): Remove unused variable `match'.
11662 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11663 lambda expressions and funcall them, instead of using `fset'.
11664
11665 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11666 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11667
11668 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11669 variable `header-beg'; use `let'.
11670
11671 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11672 `restart', `last-sexp' and `at-do'.
11673
11674 * progmodes/js.el (js--debug): Mark unused parameter.
11675 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11676 (js--splice-into-items): Remove unused variable `item'.
11677 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11678
11679 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11680 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11681 (makefile-complete): Remove unused variable `try'.
11682 (makefile-fill-paragraph, makefile-match-function-end):
11683 Mark unused parameters.
11684
11685 * progmodes/octave-inf.el (inferior-octave-complete):
11686 Remove unused variable `proc'.
11687 (inferior-octave-output-digest): Mark unused parameter.
11688
11689 * progmodes/perl-mode.el (perl-calculate-indent):
11690 Remove unused variable `err'.
11691
11692 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11693 (prolog-indent-line): Mark unused parameters.
11694 (prolog-indent-line): Remove unused variable `beg'.
11695
11696 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11697 (reporter-dont-compact-list): Declare.
11698
11699 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11700 Remove unused variable `char'.
11701 (sh-debug): Mark unused parameter.
11702 (sh-get-indent-info): Remove unused variable `start'.
11703 (sh-calculate-indent): Remove unused variable `var'.
11704
11705 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11706 (simula-electric-keyword): Remove unused variable `null'.
11707 (simula-search-backward, simula-search-forward): Remove unused
11708 variables `begin' and `end'.
11709
11710 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11711 Remove unused variable `pos'.
11712 (vera-electric-tab, vera-comment-uncomment-region):
11713 Mark unused parameters.
11714 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11715
7ede3b65
CY
117162011-04-22 Chong Yidong <cyd@stupidchicken.com>
11717
11718 * emacs-lisp/package.el (package--builtins, package-alist)
11719 (package-load-descriptor, package-built-in-p, package-activate)
11720 (define-package, package-installed-p)
11721 (package-compute-transaction, package-buffer-info)
11722 (package--push): Doc fix. Distinguish more clearly between
11723 version strings and version lists.
11724
121656e9
JB
117252011-04-21 Juanma Barranquero <lekktu@gmail.com>
11726
11727 Lexical-binding cleanup.
11728
11729 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11730 (5x5-make-mutate-best):
11731 * play/fortune.el (fortune-in-buffer):
11732 * play/gomoku.el (gomoku-init-display):
11733 * play/solitaire.el (solitaire, solitaire-do-check):
11734 * play/tetris.el (tetris-default-update-speed-function):
11735 Mark unused parameters.
11736
11737 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11738 (bubbles--shift): Remove unused variable `char-org'.
11739 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11740 (bubbles--show-images): Remove unused variable `char'.
11741
11742 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11743 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11744 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11745 (decipher-analyze-buffer): Use ?\s.
11746 (decipher-make-checkpoint): Remove unused variable `mapping'.
11747
11748 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11749
11750 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11751 Remove unused variable `result'; use `let'.
11752
11753 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11754 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11755 (gametree-children-shown-p, gametree-compute-reduced-score):
11756 Use `ignore-errors'.
11757
11758 * play/handwrite.el (ps-lpr-switches): Declare.
11759 (handwrite): Remove unused variables `pmin' and `lastp'.
11760
11761 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11762
11763 * play/landmark.el (landmark-init-display)
11764 (landmark-update-naught-weights): Mark unused parameters.
11765 (landmark-y): Remove unused variable `noise'. Simplify.
11766 (landmark-human-plays): Remove unused variable `score'.
11767
11768 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11769 (mpuz-try-proposal): Remove unused variable `game'.
11770
11771 * play/zone.el (life-patterns): Declare.
11772
80f499c7
JB
117732011-04-20 Juanma Barranquero <lekktu@gmail.com>
11774
11775 * vc/vc.el (ediff-vc-internal): Declare function.
11776
024ff170
SM
117772011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11778
c0a193ea
SM
11779 * shell.el: Use lexical-binding and std completion UI.
11780 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11781 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11782 comint-preoutput-filter-functions rather than on
11783 comint-output-filter-functions.
11784 (shell-command-completion, shell--command-completion-data)
11785 (shell-filename-completion, shell-environment-variable-completion)
11786 (shell-c-a-p-replace-by-expanded-directory): New functions.
11787 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11788 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11789 (shell-dynamic-complete-environment-variable): Use them.
11790 (shell-dynamic-complete-as-environment-variable)
11791 (shell-dynamic-complete-as-command): Remove.
11792 (shell-match-partial-variable): Match past point.
11793 * comint.el: Clean up use of completion-at-point-functions.
11794 (comint-completion-at-point): New function.
11795 (comint-mode): Use it completion-at-point-functions.
11796 (comint-dynamic-complete): Make it obsolete.
11797 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11798 (comint-c-a-p-replace-by-expanded-history): New function.
11799 (comint-dynamic-complete-functions)
11800 (comint-replace-by-expanded-history): Use it.
11801 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11802 termination strings. Try harder to avoid second try-completion.
11803 (completion-in-region-mode-map): Disable bindings that don't work yet.
11804
2dbaa080
SM
11805 * comint.el: Use lexical-binding. Require CL.
11806 (comint-dynamic-complete-functions): Use comint-filename-completion.
11807 (comint-completion-addsuffix): Tweak custom type.
11808 (comint-filename-completion, comint--common-suffix)
11809 (comint--common-quoted-suffix, comint--table-subvert)
11810 (comint--complete-file-name-data): New functions.
11811 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11812 (comint-dynamic-list-filename-completions): Use them.
11813 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11814
2dbaa080
SM
11815 * minibuffer.el (completion-in-region-mode):
11816 Keep completion-in-region-mode--predicate global.
11817 (completion-in-region--postch):
11818 Assume completion-in-region-mode--predicate is not null.
11819
c79a6f38
SM
11820 * progmodes/flymake.el (flymake-start-syntax-check-process):
11821 Obey `dir'. Simplify.
11822
024ff170
SM
11823 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11824 we're in VC after all.
11825
1c6c854e
CS
118262011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11827
11828 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11829 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11830 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11831
bed7f140
SM
118322011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11833
332e62ab
SM
11834 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11835 add sanity check.
11836
bed7f140
SM
11837 * obsolete/erc-hecomplete.el: Make obsolete.
11838 * obsolete/: Standardize obsolescence info in the header.
11839
f195c582
GM
118402011-04-20 Glenn Morris <rgm@gnu.org>
11841
11842 * calendar/solar.el (solar-horizontal-coordinates):
11843 Use the longitude argument rather than `calendar-longitude'.
11844 (solar-date-next-longitude): Remove unused locals.
11845
cb79b8c0
VJL
118462011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11847
11848 * whitespace.el: New version 13.2.1.
11849
118502011-04-20 felix <EmacsWiki> (tiny change)
11851
d8e4b68b 11852 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11853 switching between major modes on a file.
11854
602ea69d
SM
118552011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11858 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11859 multi-line comments as well.
11860
06b60517
JB
118612011-04-19 Juanma Barranquero <lekktu@gmail.com>
11862
11863 Lexical-binding cleanup.
11864
11865 * arc-mode.el (archive-mode-revert):
11866 * cmuscheme.el (scheme-interactively-start-process):
11867 * custom.el (custom-initialize-delay):
11868 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11869 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11870 * emacs-lock.el (emacs-lock-clear-sentinel):
11871 * ezimage.el (defezimage):
11872 * follow.el (follow-avoid-tail-recenter):
11873 * fringe.el (set-fringe-mode-1):
11874 * generic-x.el (bat-generic-mode-compile):
11875 * help-mode.el (help-info-variable, help-do-xref)
11876 (help-mode-revert-buffer):
11877 * help.el (view-emacs-todo):
11878 * iswitchb.el (iswitchb-completion-help):
11879 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11880 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11881 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11882 * locate.el (locate-update):
11883 * longlines.el (longlines-encode-region)
11884 (longlines-after-change-function):
11885 * outline.el (outline-isearch-open-invisible):
11886 * ps-def.el (declare-function, charset-dimension, char-width)
11887 (encode-char):
11888 * ps-mule.el (ps-mule-plot-string):
11889 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11890 (recentf-edit-list-select, recentf-edit-list-validate)
11891 (recentf-open-files-action):
11892 * rect.el (delete-whitespace-rectangle-line)
11893 (rectangle-number-line-callback):
11894 * register.el (window-configuration-to-register)
11895 (frame-configuration-to-register):
11896 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11897 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11898 (xselect-convert-to-targets, xselect-convert-to-delete)
11899 (xselect-convert-to-filename, xselect-convert-to-charpos)
11900 (xselect-convert-to-lineno, xselect-convert-to-colno)
11901 (xselect-convert-to-os, xselect-convert-to-host)
11902 (xselect-convert-to-user, xselect-convert-to-class)
11903 (xselect-convert-to-name, xselect-convert-to-integer)
11904 (xselect-convert-to-atom, xselect-convert-to-identity):
11905 * subr.el (declare, ignore, process-kill-without-query)
11906 (text-clone-maintain):
11907 * terminal.el (te-get-char, te-tic-sentinel):
11908 * tool-bar.el (tool-bar-make-keymap):
11909 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11910 * type-break.el (type-break-mode, type-break-noninteractive-query):
11911 * view.el (View-back-to-mark):
11912 * wid-browse.el (widget-browse-action, widget-browse-widget)
11913 (widget-browse-widgets, widget-browse-sexp):
11914 * widget.el (define-widget-keywords):
11915 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11916 Mark unused parameters.
11917
11918 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11919 (align-areas): Remove unused variable `look'.
11920 (align-region): Remove unused variables `real-end' and `pos-list'.
11921
11922 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11923
11924 * bindings.el (mode-line-modified, mode-line-remote):
11925 Mark unused parameters.
11926 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11927
11928 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11929 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11930
11931 * comint.el (comint-history-isearch-pop-state)
11932 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11933 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11934 (comint-substitute-in-file-name): Doc fix.
11935
11936 * completion.el (cmpl-statistics-block): Mark unused parameter.
11937 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11938 (save-completions-to-file, load-completions-from-file):
11939 Remove unused local variable `e'.
11940
11941 * composite.el (compose-chars): Remove unused variable `len'.
11942 (lgstring-insert-glyph): Remove unused variable `g'.
11943 (compose-glyph-string): Remove unused variables `ascent',
11944 `descent', `lbearing' and `rbearing'.
11945 (compose-glyph-string-relative): Remove unused variables
11946 `lbearing', `rbearing' and `wadjust'.
11947 (compose-gstring-for-graphic): Remove unused variables `header',
11948 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11949 (compose-gstring-for-terminal): Remove unused variables `header'
11950 and `nchars'. Use `let', not `let*'.
11951
11952 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11953 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11954 (Custom-buffer-done, custom-buffer-create-internal)
11955 (custom-browse-visibility-action, custom-browse-group-tag-action)
11956 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11957 (widget-magic-mouse-down-action, custom-toggle-parent)
11958 (custom-add-parent-links, custom-toggle-hide-variable)
11959 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11960 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11961 (custom-face-menu-create, custom-variable-menu-create, get)
11962 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11963 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11964 (customize-apropos): Remove unused variable `tests'.
11965 (custom-group-value-create): Remove unused variable `hidden-p'.
11966 (sort-fold-case): Declare.
11967
11968 * cus-theme.el (custom-reset-standard-faces-list)
11969 (custom-reset-standard-variables-list): Declare.
11970 (customize-create-theme, custom-theme-revert, custom-theme-write)
11971 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11972 Mark unused parameters.
11973
11974 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11975
11976 * delim-col.el (delimit-columns-max): Move defvar before first use.
11977
11978 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11979 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11980
11981 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11982 (auto-insert): Declare.
11983 (desktop-restore-file-buffer): Rename desktop-* parameters;
11984 mark unused ones.
11985 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11986 (desktop-buffer): Rename desktop-* parameters.
11987
11988 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11989 (dframe-reposition-frame-xemacs, dframe-help-echo)
11990 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11991 Mark unused parameters.
11992
11993 * dired-aux.el (backup-extract-version-start, overwrite-query)
11994 (overwrite-backup-query, rename-regexp-query)
11995 (rename-non-directory-query): Declare.
11996 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11997 (dired-add-entry): Remove unused variable `orig-file-name'.
11998 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11999 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12000 `dired-copy-preserve-time' directly.
12001 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12002 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12003
12004 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12005 (dired-virtual-revert, dired-make-relative-symlink):
12006 Mark unused parameters.
12007 (manual-program): Declare.
12008 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12009 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12010 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12011
12012 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12013
12014 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12015
12016 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12017 Declare.
12018
12019 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12020
12021 * electric.el (Electric-command-loop): Rename parameter
12022 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12023
12024 * expand.el (expand-in-literal): Remove unused variable `here'.
12025
12026 * facemenu.el (facemenu-add-new-color):
12027 Remove unused variable `docstring'.
12028
12029 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12030 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12031 (face-attr-construct): Mark unused parameter. Doc fix.
12032 (read-color): Remove unused variable `hex-string'.
12033
12034 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12035 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12036 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12037 (display-buffer-other-frame): Remove unused variable `old-window'.
12038 (kill-buffer-hook): Declare.
12039 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12040 Mark unused parameters.
12041 (after-find-file): Pass 1 to `auto-save-mode', not t.
12042
12043 * files-x.el (auto-insert): Declare.
12044 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12045
12046 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 12047 variable `buf'. Mark unused parameter.
06b60517
JB
12048 (find-lisp-insert-directory): Mark unused parameter.
12049
12050 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12051 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12052 (format-common-tail): Remove, unused.
12053 (format-deannotate-region): Remove unused variable `loc'.
12054 (format-annotate-region): Remove unused variable `p'.
12055 (format-annotate-single-property-change): Remove unused variables
12056 `default' and `tail'.
12057
12058 * forms.el (read-file-filter): Declare.
12059 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12060
12061 * frame.el (frame-creation-function-alist): Mark unused parameter.
12062 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12063
12064 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12065 Remove unused parameters.
12066 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12067 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12068
12069 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12070 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12071 (hfy-prepare-tag-map): Mark unused parameters.
12072 (htmlfontify-buffer): Use `called-interactively-p'.
12073
12074 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12075 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12076 (ibuffer-do-occur): Mark unused parameters.
12077 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12078 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12079
12080 * ibuffer.el: Don't quote `lambda'.
12081 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12082 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12083 Mark unused parameters.
12084
12085 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12086 (ido-completing-read): Mark unused parameters.
12087 (ido-copy-current-word): Mark unused parameters;
12088 remove unused variable `name'.
12089 (ido-sort-merged-list): Remove unused parameter `dirs'.
12090
12091 * ielm.el (ielm-input-sender): Mark unused parameter.
12092 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12093 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12094 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12095 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12096 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12097
12098 * image-dired.el (image-dired-display-thumbs): Remove unused
12099 variables `curr-file' and `count'.
12100 (image-dired-remove-tag): Remove unused variable `start'.
12101 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12102 variable `curr-file'
12103 (image-dired-rotate-original): Remove unused variable `temp-file'.
12104 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12105 Remove unused variable `file'.
12106 (image-dired-gallery-generate): Remove unused variable `curr'.
12107 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12108
12109 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12110
12111 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12112
12113 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12114
12115 * isearch.el (minibuffer-history-symbol): Declare.
12116 (isearch-edit-string): Remove unused variable `err'.
12117 (isearch-message-prefix, isearch-message-suffix):
12118 Mark unused parameters.
12119
12120 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12121
12122 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12123
12124 * makesum.el (double-column): Remove unused variable `cnt'.
12125
12126 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12127 (ido-ignore-item-temp-list): Declare.
12128
12129 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12130 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12131 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12132 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12133 `mouse-col-delta'.
12134
12135 * mouse-sel.el (mouse-extend-internal):
12136 Remove unused variable `orig-window-frame'.
12137
12138 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12139 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12140 Move declarations before first use.
12141 (pcomplete-opt): Mark unused parameters; doc fix.
12142
12143 * proced.el (proced-revert): Mark unused parameter.
12144 (proced-send-signal): Remove unused variable `err'.
12145
12146 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12147 Rename parameter PREFIX-ARG to ARG.
12148 (ps-basic-plot-string, ps-basic-plot-whitespace):
12149 Mark unused parameters.
12150
12151 * replace.el (replace-count): Define.
12152 (occur-revert-function): Mark unused parameters.
12153 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12154 (isearch-case-fold-search, isearch-string): Declare.
12155 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12156 bind `case-fold-search'. Remove unused variables `beg' and `end',
12157 and simplify.
12158 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12159 COUNT and bind `replace-count'.
12160 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12161 to COUNT.
12162
12163 * savehist.el (print-readably, print-string-length): Declare.
12164
12165 * shadowfile.el (shadow-expand-cluster-in-file-name):
12166 Remove unused variable `cluster'.
12167 (shadow-copy-file): Remove unused variable `i'.
12168 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12169 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12170 (shadow-define-literal-group, shadow-define-regexp-group)
12171 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12172
12173 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12174 (shell): Use `called-interactively-p'.
12175 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12176
12177 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12178 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12179 (delete-backward-char): Remove unused variable `ocol'.
12180 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12181 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12182 (event-apply-hyper-modifier, event-apply-shift-modifier)
12183 (event-apply-control-modifier, event-apply-meta-modifier):
12184 Mark unused parameters.
12185 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12186 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12187
12188 * speedbar.el (speedbar-ignored-directory-expressions)
12189 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12190 (speedbar-find-file, speedbar-dir-follow)
12191 (speedbar-directory-buttons-follow, speedbar-tag-find)
12192 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12193 (speedbar-buffers-line-directory, speedbar-buffer-click):
12194 Mark unused parameters.
12195 (speedbar-tag-file): Remove unused variable `mode'.
12196 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12197
12198 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12199
12200 * talk.el (talk): Remove unused variable `display'.
12201
12202 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12203 (tar-write-region-annotate): Mark unused parameter.
12204
12205 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12206 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12207 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12208 warning by another.
12209
12210 * time-stamp.el (time-stamp-string-preprocess):
12211 Remove unused variable `require-padding'.
12212
12213 * tree-widget.el (widget-glyph-enable): Declare.
12214 (tree-widget-action): Mark unused parameter.
12215
12216 * w32-fns.el (x-get-selection): Mark unused parameter.
12217 (autoload-make-program, generated-autoload-file): Declare.
12218
12219 * wdired.el (wdired-revert): Mark unused parameters.
12220 (wdired-xcase-word): Remove unused variable `err'.
12221
12222 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12223 (whitespace-help-scroll): Remove unused variable `data-help'.
12224
12225 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12226 (widget-image-insert, widget-after-change, default)
12227 (widget-default-format-handler, widget-default-notify)
12228 (widget-default-prompt-value, widget-info-link-action)
12229 (widget-url-link-action, widget-function-link-action)
12230 (widget-variable-link-action, widget-file-link-action)
12231 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12232 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12233 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12234 (widget-insert-button-action, widget-delete-button-action, visibility)
12235 (widget-documentation-link-action, widget-documentation-string-action)
12236 (widget-const-prompt-value, widget-regexp-match, symbol)
12237 (widget-coding-system-prompt-value)
12238 (widget-key-sequence-value-to-external, sexp)
12239 (widget-sexp-value-to-internal, character, vector, cons)
12240 (widget-choice-prompt-value, widget-boolean-prompt-value)
12241 (widget-color--choose-action): Mark unused parameters.
12242 (widget-item-match-inline, widget-choice-match-inline)
12243 (widget-checklist-match, widget-checklist-match-inline)
12244 (widget-group-match): Rename parameter VALUES to VALS.
12245 (widget-field-value-set): Remove unused variable `size'.
12246 (widget-color-action): Remove unused variables `value' and `start'.
12247
12248 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 12249 variable `dir'. Doc fix.
06b60517
JB
12250 (windmove-find-other-window): Don't pass it.
12251
12252 * window.el (count-windows): Mark unused parameter.
12253 (bw-adjust-window): Remove unused variable `err'.
12254
12255 * woman.el (woman-file-name): Remove unused variable `default'.
12256 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12257 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12258 (global-font-lock-mode): Declare.
12259 (woman-decode-region): Mark unused parameter.
12260 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12261
12262 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12263 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12264 (x-dnd-handle-moz-url): Remove unused variable `title'.
12265 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12266
12267 * xml.el (xml-parse-tag, xml-parse-attlist):
12268 Remove unused variable `pos'.
12269
bc4f7f3d
GM
122702011-04-19 Glenn Morris <rgm@gnu.org>
12271
12272 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12273 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12274 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12275 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12276 * calendar/cal-html.el (cal-html-insert-minical):
12277 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12278 (calendar-mark-date-pattern):
12279 Prefix "unused" locals.
12280
12281 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12282 optional argument `style'.
12283
12284 * calendar/appt.el (appt-make-list):
12285 * calendar/cal-china.el (calendar-chinese-date-string):
12286 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12287 (diary-hebrew-yahrzeit):
12288 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12289 * calendar/calendar.el (calendar-generate-window):
12290 * calendar/time-date.el (time-to-days):
12291 Remove unused local variables.
12292
16a43933
CY
122932011-04-18 Chong Yidong <cyd@stupidchicken.com>
12294
12295 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12296 glyphless-char-display table.
12297 (tabulated-list-glyphless-char-display): New var.
12298
7eed1860
SS
122992011-04-18 Sam Steingold <sds@gnu.org>
12300
12301 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12302 to acknowledgments.
12303
4d2d1ccd
GM
123042011-04-17 Glenn Morris <rgm@gnu.org>
12305
12306 * calendar/diary-lib.el (diary-sexp-entry):
12307 * calendar/holidays.el (holiday-sexp):
12308 Set debug-on-error rather than the removed stack-trace-on-error.
12309
239da61d
GM
123102011-04-16 Glenn Morris <rgm@gnu.org>
12311
12312 * progmodes/f90.el: Use lexical-binding.
12313 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12314
8b05752a
SM
123152011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12316
daca8ba5
SM
12317 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12318 (mail-mode): Setup mailalias completion here instead.
12319 * mail/mailalias.el: Use lexical-binding.
12320 (pattern, mailalias-done): Declare dynamic.
12321 (mail-completion-at-point-function): New function, from mail-complete.
12322 (mail-complete): Use it.
12323 (mail-completion-expand): New function.
12324 (mail-get-names): Use it.
12325 (mail-directory, mail-directory-process, mail-directory-stream):
12326 Don't use `pattern' for lexically bound arg.
12327
6f542485
SM
12328 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12329
037e7c3f
SM
12330 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12331 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12332 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12333
8b05752a
SM
12334 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12335 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12336 (byte-interactive-p): Define them again, for use when inlining
12337 old code.
12338
49093f60
JB
123392011-04-15 Juanma Barranquero <lekktu@gmail.com>
12340
12341 * loadup.el: Use `string-to-number', not `string-to-int'.
12342
b5b8e7de
SM
123432011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12344
12345 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12346 gud-gdb-complete-command.
12347 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12348 (gud-gdb-completion-at-point): New function.
12349 (gud-gdb-completions): Remove.
12350
f42efeb5
MA
123512011-04-14 Michael Albinus <michael.albinus@gmx.de>
12352
49093f60
JB
12353 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
12354 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
12355 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
12356 whether `executable-find' is bound.
f42efeb5
MA
12357
12358 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
12359
e240cc21
SM
123602011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12361
12362 * minibuffer.el (completion-in-region-mode-predicate)
12363 (completion-in-region-mode--predicate): New vars.
12364 (completion-in-region, completion-in-region--postch)
12365 (completion-in-region-mode): Use them.
12366 (completion--capf-wrapper): Also return the hook function.
12367 (completion-at-point, completion-help-at-point):
12368 Adjust and provide a predicate.
c2bd2ab0
SM
12369
12370 Preserve arg names for advice of subr and lexical functions (bug#8457).
12371 * help-fns.el (help-function-arglist): Consolidate the subr and
12372 new-byte-code cases. Add argument `preserve-names' to extract names
12373 from the docstring when needed.
12374 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
12375 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
12376 (ad-arglist): Use help-function-arglist's new arg.
12377 (ad-definition-type): Use cond.
12378
c183f693
JB
123792011-04-13 Juanma Barranquero <lekktu@gmail.com>
12380
06641a47
JB
12381 * autorevert.el (auto-revert-handler):
12382 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
12383 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
12384 Don't quote lambda.
12385
c183f693
JB
12386 * image-mode.el (image-transform-set-scale):
12387 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
12388
1e3b6001
G
123892011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12390
12391 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 12392 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
12393 Upgrades via gnutls-cli are too slow to be done opportunistically.
12394
2d6af8dd
JB
123952011-04-12 Juanma Barranquero <lekktu@gmail.com>
12396
12397 * dframe.el (dframe-current-frame): Remove spurious quote.
12398
c0749a51
GM
123992011-04-12 Glenn Morris <rgm@gnu.org>
12400
088d0d61
GM
12401 * calendar/cal-tex.el (cal-tex-end-document):
12402 Try to automatically use latin1 input if needed.
12403
c0749a51
GM
12404 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
12405 Don't try to cons a mark onto an empty element.
12406
5c90fde0
LL
124072011-04-11 Leo Liu <sdl.web@gmail.com>
12408
12409 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
12410 buffers.
12411 (ido-kill-buffer-at-head): Support killing virtual buffers.
12412
369e974d
CY
124132011-04-10 Chong Yidong <cyd@stupidchicken.com>
12414
12415 * minibuffer.el (completion-show-inline-help): New var.
12416 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
12417 (minibuffer-force-complete, minibuffer-complete-word):
12418 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
12419
12420 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
12421 to avoid interference from inline help (Bug#5849).
12422
37f1c930
LL
124232011-04-10 Leo Liu <sdl.web@gmail.com>
12424
099c39a4
JB
12425 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12426 Fix typo.
37f1c930 12427
a32d4040
CY
124282011-04-09 Chong Yidong <cyd@stupidchicken.com>
12429
12430 * image-mode.el (image-toggle-display-image): Signal an error if
12431 not in Image mode.
12432 (image-transform-mode, image-transform-resize)
12433 (image-transform-set-rotation): Doc fix.
daca8ba5 12434 (image-transform-set-resize): Delete.
a32d4040
CY
12435 (image-transform-set-scale, image-transform-fit-to-height)
12436 (image-transform-fit-to-width): Handle image-toggle-display-image
12437 and image-transform-resize directly.
12438
099c39a4 124392011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
12440
12441 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
12442 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
12443 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
12444 (doc-view-mode-map): Add bindings for the new functions.
12445
099c39a4 124462011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 12447
4d61f28d 12448 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
12449 Fix typo in docstring.
12450
3726838a
EZ
124512011-04-08 Eli Zaretskii <eliz@gnu.org>
12452
04f33f1e
EZ
12453 * files.el (file-size-human-readable): Produce one digit after
12454 decimal, like "ls -lh" does.
12455
12456 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
12457 the file size representation.
12458
3726838a
EZ
12459 * simple.el (list-processes): If async subprocesses are not
12460 available, error out with a clear error message.
12461
cbb59342
CY
124622011-04-08 Chong Yidong <cyd@stupidchicken.com>
12463
12464 * help.el (help-form-show): New function, to be called from C.
12465 Put help-form output in a buffer named differently than *Help*.
12466
e3971c44
EZ
124672011-04-08 Eli Zaretskii <eliz@gnu.org>
12468
12469 * files.el (file-size-human-readable): New function.
12470
12471 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
12472 computing the representation inline. Don't require `cl'.
12473
12544bbe
GM
124742011-04-08 Glenn Morris <rgm@gnu.org>
12475
a1de6c6a
GM
12476 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
12477
3c4671f4
GM
12478 * net/browse-url.el (browse-url-firefox):
12479 Test system-type, not system-configuration.
12480
b605679c
GM
12481 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
12482 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
12483 Use log-edit-empty-buffer-p. (Bug#7598)
12484
56442f0c
GM
12485 * net/rlogin.el (rlogin-process-connection-type): Simplify.
12486 (rlogin-mode-map): Initialize in the defvar.
12487 (rlogin): Use ignore-errors.
12488
12544bbe
GM
12489 * replace.el (occur-mode-map): Some fixes for menu items.
12490
eb237b0f
AH
124912011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12492
12493 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
12494
7d668f2c
CY
124952011-04-06 Chong Yidong <cyd@stupidchicken.com>
12496
e67a13ab
CY
12497 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
12498 issuing unused warnings.
12499
12500 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
12501 macro directly.
12502
7d668f2c
CY
12503 * simple.el: Lisp reimplement of list-processes. Based on an
12504 earlier reimplementation by Leo Liu, but using tabulated-list.el.
12505 (process-menu-mode): New major mode.
12506 (list-processes--refresh, list-processes):
12507 (process-menu-visit-buffer): New functions.
12508
12509 * files.el (save-buffers-kill-emacs): Don't assume any return
12510 value of list-processes, which is undocumented anyway.
12511
a83ec3c9
CY
125122011-04-06 Chong Yidong <cyd@stupidchicken.com>
12513
12514 * emacs-lisp/tabulated-list.el: New file.
12515
e91a96fe
CY
12516 * emacs-lisp/package.el: Use Tabulated List mode.
12517 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12518 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12519 table format using Tabulated List mode variables.
12520 (package--push): New macro, replacing package-list-maybe-add.
12521 (package-menu--generate): Use package--push. Renamed from
12522 package--generate-package-list.
12523 (package-menu-refresh, list-packages): Use it.
daca8ba5 12524 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12525 Return insertion data instead of inserting it directly.
099c39a4
JB
12526 (package-menu-describe-package, package-menu-execute):
12527 Use tabulated-list-get-id.
e91a96fe
CY
12528 (package-menu-mark-delete, package-menu-mark-install)
12529 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12530 (package-menu-mark-obsolete-for-deletion):
12531 Use tabulated-list-put-tag.
e91a96fe
CY
12532 (package--list-packages, package-menu-revert)
12533 (package-menu-get-package, package-menu-get-version)
12534 (package-menu-sort-by-column): Functions deleted.
12535 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12536 (package-menu--status-predicate, package-menu--version-predicate)
12537 (package-menu--name-predicate)
12538 (package-menu--description-predicate): Handle arguments in the
12539 Tabulated List format.
12540 (package-list-packages-no-fetch): Call list-packages.
12541
3e214b50
JB
125422011-04-06 Juanma Barranquero <lekktu@gmail.com>
12543
12544 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12545 (after-find-file): Don't bind it.
3e214b50
JB
12546 (revert-buffer-in-progress-p): New variable.
12547 (revert-buffer): Bind it.
12548 Pass nil for `after-find-file-from-revert-buffer'.
12549
12550 * saveplace.el (save-place-find-file-hook): Use new variable
12551 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12552
3f0f1700
GM
125532011-04-06 Glenn Morris <rgm@gnu.org>
12554
c0274801
GM
12555 * Makefile.in (AUTOGEN_VCS): New variable.
12556 (autoloads): Use $AUTOGEN_VCS.
12557
3f0f1700
GM
12558 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12559 * calendar/calendar.el (calendar-mode-map):
12560 Check for toolkit scroll bars. (Bug#8305)
12561
41ea9e48
CY
125622011-04-05 Chong Yidong <cyd@stupidchicken.com>
12563
12564 * minibuffer.el (completion-in-region--postch)
12565 (completion-in-region-mode): Remove unnecessary messages.
12566
6194c800
JB
125672011-04-05 Juanma Barranquero <lekktu@gmail.com>
12568
33256f14
JB
12569 * font-lock.el (font-lock-refresh-defaults):
12570 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12571 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12572
6194c800
JB
12573 * info.el (Info-directory-list, Info-read-node-name-2)
12574 (Info-split-parameter-string): Doc fixes.
12575 (Info-virtual-nodes): Reflow docstring.
12576 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12577 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12578 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12579 Fix typos in docstrings.
12580 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12581 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12582 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12583 (Info-restore-desktop-buffer): Mark unused parameters.
12584 (Info-directory-find-file, Info-directory-find-node)
12585 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12586 (Info-virtual-index-find-node, Info-apropos-find-file)
12587 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12588 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12589 (Info-virtual-index): Remove unused local variable `nodename'.
12590
b87a8200 125912011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12592
b87a8200
DD
12593 * net/rcirc.el: Update my e-mail address.
12594 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12595
3b2ff876
CY
125962011-04-05 Chong Yidong <cyd@stupidchicken.com>
12597
12598 * startup.el (command-line): Save the cursor's theme-face
12599 directly, instead of using face-override-spec.
12600
12601 * custom.el (load-theme): Minor optimization in assigning faces.
12602
8d17e7ca
JB
126032011-04-04 Juanma Barranquero <lekktu@gmail.com>
12604
12605 * help-fns.el (describe-variable): Complete all variables having
12606 documentation, including keywords.
12607 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12608
2fbc1934
JB
126092011-04-04 Juanma Barranquero <lekktu@gmail.com>
12610
12611 Convert to lexical-binding.
12612
12613 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12614 (bs--get-marked-string, bs--get-modified-string)
12615 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12616 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12617 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12618
12619 * ehelp.el (electric-help-execute-extended)
12620 (electric-help-ctrl-x-prefix):
12621 * hexl.el (hexl-revert-buffer-function):
12622 * linum.el (linum-after-change, linum-after-scroll):
12623 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12624
12625 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12626
74f50695
DU
126272011-04-04 Daiki Ueno <ueno@unixuser.org>
12628
12629 * epa-dired.el:
12630 * epa-mail.el:
12631 * epa-hook.el:
12632 * epa-file.el:
12633 * epa.el:
12634 * epg.el: Use lexical binding.
12635
c11325f7
CY
126362011-04-03 Chong Yidong <cyd@stupidchicken.com>
12637
0d9e9a12
CY
12638 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12639
c11325f7 12640 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12641 dictionary case for flyspell-mark-duplications-exceptions.
12642 Use regexp matching for languages.
c11325f7
CY
12643 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12644 default dictionary (Bug#7926).
12645
da91b5f2
CY
126462011-04-02 Chong Yidong <cyd@stupidchicken.com>
12647
099c39a4
JB
12648 * emacs-lisp/package.el (package--with-work-buffer):
12649 Recognize https URLs.
da91b5f2 12650
099c39a4
JB
12651 * net/network-stream.el: Move from gnus/proto-stream.el.
12652 Change prefix to network-stream throughout.
da91b5f2
CY
12653 (open-protocol-stream): Merge into open-network-stream, leaving
12654 open-protocol-stream as an alias. Handle nil BUFFER args.
12655
12656 * subr.el (open-network-stream): Move to net/network-stream.el.
12657
afa8e9f6
GM
126582011-04-02 Glenn Morris <rgm@gnu.org>
12659
1d2e369d
GM
12660 * find-dired.el (find-exec-terminator): New option.
12661 (find-ls-option): Test for -ls support.
12662 (find-ls-subdir-switches): Test for -b in find-ls-option.
12663 (find-dired, find-grep-dired): Doc fixes.
12664 (find-dired): Use find-exec-terminator.
12665
8abb7da8 12666 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12667 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12668 (find-name-arg): Remove purecopy.
8abb7da8 12669
f3ca7378
GM
12670 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12671 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12672 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12673 accordingly. Don't add the null-device if not needed.
12674
afa8e9f6
GM
12675 * files.el (save-some-buffers): Doc fix.
12676
35eae264
EZ
126772011-04-02 Eli Zaretskii <eliz@gnu.org>
12678
12679 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12680
26b51db5
JB
126812011-04-01 Juanma Barranquero <lekktu@gmail.com>
12682
12683 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12684 Use `dolist' rather than `mapcar'.
12685
7200d79c
SM
126862011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12687
03408648 12688 Add lexical binding.
7200d79c 12689
03408648
SM
12690 * subr.el (apply-partially): Use new closures rather than CL.
12691 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12692 (dolist, dotimes): Use slightly different expansion for lexical code.
12693 (functionp): Move to C.
12694 (letrec): New macro.
12695 (with-wrapper-hook): Use it and apply-partially instead of CL.
12696 (eval-after-load): Preserve lexical-binding.
12697 (save-window-excursion, with-output-to-temp-buffer): Turn them
12698 into macros.
7200d79c 12699
03408648
SM
12700 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12701
12702 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12703 than the arglist.
12704 (help-add-fundoc-usage): Don't add `Not documented'.
12705 (help-function-arglist): Handle closures, subroutines, and new
12706 byte-code-functions.
12707 (help-make-usage): Remove leading underscores.
12708 (describe-function-1): Handle closures.
12709 (describe-variable): Use special-variable-p for completion.
12710
12711 * files.el (lexical-binding): Declare safe.
f488fb65 12712
03408648
SM
12713 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12714 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12715 (pcase): Add `let' pattern.
12716 Change memoization so it actually works.
12717 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12718 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12719 <let>: New case.
f488fb65 12720
03408648
SM
12721 * emacs-lisp/macroexp.el: Use lexical binding.
12722 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12723 Don't convert ' to #' without checking that it's indeed quoting
12724 a lambda.
12725
12726 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12727 Use eval-sexp-add-defvars.
03408648
SM
12728 (eval-sexp-add-defvars): New fun.
12729
12730 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12731
12732 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12733 Don't autoload.
12734 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12735 than the internal `byte-compile-lambda'.
12736 (defmethod): Don't hide code under quotes.
12737 (eieio-defmethod): New `code' argument.
12738
12739 * emacs-lisp/eieio-comp.el: Remove.
12740
12741 * emacs-lisp/edebug.el (edebug-eval-defun)
12742 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12743 (edebug-toggle): Avoid `eval'.
12744
12745 * emacs-lisp/disass.el (disassemble-internal): Handle new
12746 `closure' objects.
12747 (disassemble-1): Handle new byte codes.
12748
12749 * emacs-lisp/cl.el (pushnew): Silence warning.
12750
12751 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12752 (cl-byte-compile-throw): Remove.
12753 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12754
12755 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12756 closures.
12757
12758 * emacs-lisp/cconv.el: New file.
12759
12760 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12761 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12762 (byte-compile-initial-macro-environment):
12763 Handle declare-function here.
12764 (byte-compile--lexical-environment): New var.
12765 (byte-stack-ref, byte-stack-set, byte-discardN)
12766 (byte-discardN-preserve-tos): New lap codes.
12767 (byte-interactive-p): Don't use any more.
12768 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12769 New macros.
12770 (byte-compile-lapcode): Use them and handle new lap codes.
12771 (byte-compile-obsolete): Remove.
12772 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12773 (byte-compile-arglist-warn): Check late def of inlinable funs.
12774 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12775 since they should have been expanded by now.
12776 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12777 (byte-compile-from-buffer): Remove unused second arg.
12778 (byte-compile-preprocess): New function.
12779 (byte-compile-toplevel-file-form): New function to distinguish
12780 file-form calls from outside from file-form calls from hunk-handlers.
12781 (byte-compile-file-form): Simplify.
12782 (byte-compile-file-form-defsubst): Remove.
12783 (byte-compile-file-form-defmumble): Simplify now that
12784 byte-compile-lambda always returns a byte-code-function.
12785 (byte-compile): Preprocess.
12786 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12787 Remove, not used any more.
12788 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12789 (byte-compile-make-args-desc): New funs.
12790 (byte-compile-lambda): Handle lexical functions. Always return
12791 a byte-code-function.
12792 (byte-compile-reserved-constants): New var, to make up room for
12793 closed-over variables.
12794 (byte-compile-constants-vector): Obey it.
12795 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12796 (byte-compile-macroexpand-declare-function): New function.
12797 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12798 byte-code-functions.
12799 (byte-compile-form): Check obsolescence here.
12800 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12801 (byte-compile-variable-ref): Remove.
12802 (byte-compile-dynamic-variable-op): New fun.
12803 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12804 (byte-compile-variable-set): New funs.
12805 (byte-compile-discard): Add 2 args.
12806 (byte-compile-stack-ref, byte-compile-stack-set)
12807 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12808 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12809 macroexpand-all instead.
12810 (byte-compile-quote-form): Remove.
12811 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12812 (byte-compile-bind, byte-compile-unbind): New funs.
12813 (byte-compile-let): Handle let* and lexical binding.
12814 (byte-compile-let*): Remove.
12815 (byte-compile-catch, byte-compile-unwind-protect)
12816 (byte-compile-track-mouse, byte-compile-condition-case):
12817 Handle a new :fun-body form, used for lexical scoping.
12818 (byte-compile-save-window-excursion)
12819 (byte-compile-with-output-to-temp-buffer): Remove.
12820 (byte-compile-defun): Simplify.
12821 (byte-compile-stack-adjustment): New fun.
12822 (byte-compile-out): Use it.
12823 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12824
12825 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12826 handler any more.
12827
12828 * emacs-lisp/byte-opt.el: Use lexical binding.
12829 (byte-inline-lapcode): Remove (to bytecomp).
12830 (byte-compile-inline-expand): Pay attention to inlining to/from
12831 lexically bound code.
12832 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12833 any more.
12834 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12835 any more and don't call compiler-macros.
12836 (byte-compile-splice-in-already-compiled-code): Remove.
12837 (byte-code): Don't inline any more.
12838 (disassemble-offset): Receive `bytes' as argument rather than via
12839 dynamic scoping.
12840 (byte-compile-tag-number): Declare before first use.
12841 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12842 `return' even if make-spliceable.
12843 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12844 obsolete interactive-p.
12845 (byte-optimize-lapcode): Optimize new lap-codes.
12846 Don't trip up on new form of `byte-constant' lap code.
12847
12848 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12849
12850 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12851
12852 * custom.el (custom-initialize-default, custom-declare-variable):
12853 Use `defvar'.
12854
12855 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12856 New variables.
12857 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12858 (COMPILE_FIRST): Add macroexp and cconv.
12859 * makefile.w32-in: Mirror changes in Makefile.in.
12860
12861 * vc/cvs-status.el:
12862 * vc/diff-mode.el:
12863 * vc/log-edit.el:
12864 * vc/log-view.el:
12865 * vc/smerge-mode.el:
12866 * textmodes/bibtex-style.el:
12867 * textmodes/css.el:
12868 * startup.el:
12869 * uniquify.el:
da91b5f2
CY
12870 * minibuffer.el:
12871 * newcomment.el:
12872 * reveal.el:
12873 * server.el:
12874 * mpc.el:
12875 * emacs-lisp/smie.el:
12876 * doc-view.el:
12877 * dired.el:
03408648
SM
12878 * abbrev.el: Use lexical binding.
12879
0f0c1f27
EZ
128802011-04-01 Eli Zaretskii <eliz@gnu.org>
12881
12882 * info.el (info-display-manual): New function.
12883
c82b2579
SM
128842011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12885
12886 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12887
221ddf68
TH
128882011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12889
12890 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12891 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12892
cba6e77e
GM
128932011-03-31 Glenn Morris <rgm@gnu.org>
12894
e040639f
GM
12895 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12896
cba6e77e
GM
12897 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12898
6d0f1c9e
CS
128992011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12900
12901 * progmodes/python.el (python-default-interpreter)
12902 (python-python-command-args, python-jython-command-args)
12903 (python-which-shell, python-which-args, python-which-bufname)
12904 (python-file-queue, python-comint-output-filter-function)
12905 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12906 variables and functions.
12907
3e2d70fd
SM
129082011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12911 (completion-in-region-mode): New minor mode.
12912 (completion-in-region): Use it.
12913 (completion-in-region--data, completion-in-region-mode-map): New vars.
12914 (completion-in-region--postch): New function.
12915 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12916 New vars.
12917 (completion--capf-wrapper): New function.
12918 (completion-at-point): Use it to track well-behavedness of
12919 hook functions.
12920 (completion-help-at-point): New command.
12921
f3e4086c
JM
129222011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12923
12924 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12925 syntax class to search for whitespace on a single line
12926 (Message-ID: <4D938140.4030905@redhat.com>).
12927
eb7ffc14
LL
129282011-03-30 Leo Liu <sdl.web@gmail.com>
12929
12930 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12931 New commands.
12932 (edit-abbrevs-map): Bind them here.
12933 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12934
d806ab68
KM
129352011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12936
12937 * allout.el (allout-hide-by-annotation, allout-flag-region):
12938 Reduce possibility of overlay leakage by making them volatile.
12939
12940 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12941 hash is not shared between buffers. Mode initialization is
12942 responsible for giving it a useful starting value.
12943 (allout-item-span): Reduce possibility of overlay leakage by
12944 making them volatile.
12945 (allout-widgets-count-buttons-in-region): Add diagnostic function
12946 for tracking down button overlay leaks.
12947
ea622834
LL
129482011-03-29 Leo Liu <sdl.web@gmail.com>
12949
12950 * ido.el (ido-read-internal): Use the default history var
12951 minibuffer-history if no HISTORY is specified.
12952
b62f8267
G
129532011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12954
03408648
SM
12955 * net/imap.el (imap-shell-open, imap-process-connection-type):
12956 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12957 Kerberos, SSL, other subprocesses.
12958
947b6566
LL
129592011-03-28 Leo Liu <sdl.web@gmail.com>
12960
12961 * abbrev.el (abbrev-table-empty-p): New function.
12962 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12963 nonempty ones. (Bug#5937)
12964
5ffb62aa
JD
129652011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12966
12967 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12968
7a097943
LL
129692011-03-27 Leo Liu <sdl.web@gmail.com>
12970
12971 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12972 for foreground and background colors.
12973 (ansi-color-make-color-map): Adapt.
12974
c5b40130
LL
129752011-03-25 Leo Liu <sdl.web@gmail.com>
12976
1f48f7d2
LL
12977 * midnight.el (midnight-time-float): Remove. Note it calculates
12978 the microsecond component incorrectly and seconds-to-time does the
12979 same job.
625897ec 12980 Remove redundant (require 'timer).
1f48f7d2 12981
c5b40130
LL
12982 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12983 (ido-completions): Remove unused arguments. (Bug#8329)
12984
d86d2721
SM
129852011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * minibuffer.el (completion--flush-all-sorted-completions):
12988 Remove itself from hook.
12989 (completion-at-point): Let the functions perform the completion
12990 immediately and return nil or t.
12991 * comint.el (comint-dynamic-complete-functions): Now identical to
12992 completion-at-point-functions.
12993 (comint-dynamic-list-input-ring): Remove unused var `index'.
12994 (comint--match-partial-filename, comint--unquote&expand-filename):
12995 New funs, split from comint-match-partial-filename.
12996 (comint-dynamic-complete): Use completion-at-point.
12997 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12998
e8974c48
DA
129992011-03-24 Drew Adams <drew.adams@oracle.com>
13000
13001 * thingatpt.el: Support `defun'.
13002
def71b5e
LL
130032011-03-23 Leo Liu <sdl.web@gmail.com>
13004
cb5af48e
LL
13005 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13006
def71b5e
LL
13007 * help-mode.el (help-mode-finish): Tweak regexp.
13008
927c53e7
GM
130092011-03-23 Glenn Morris <rgm@gnu.org>
13010
18d05bed
GM
13011 * eshell/esh-opt.el (eshell-eval-using-options):
13012 Do not bind unused local variable `eshell-option-stub'.
13013
927c53e7
GM
13014 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13015
9d0da923
JB
130162011-03-22 Juanma Barranquero <lekktu@gmail.com>
13017
13018 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13019 keymap variable in `with-no-warnings' to avoid a warning when the
13020 keymap has been already `defconst'ed.
13021
4b978a67
LL
130222011-03-22 Leo Liu <sdl.web@gmail.com>
13023
13024 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13025 encode all chars in abbrevs; otherwise use emacs-mule or
13026 utf-8-emacs. (Bug#8308)
13027
5fd62452
JB
130282011-03-22 Juanma Barranquero <lekktu@gmail.com>
13029
0b1596c6
JB
13030 * simple.el (backward-delete-char-untabify):
13031 Avoid warning about using `delete-backward-char'.
13032
5fd62452
JB
13033 * image.el (image-type-file-name-regexps): Make it variable.
13034 `imagemagick-register-types' modifies it, and the user may want
13035 to add new extensions for known image types.
13036 (imagemagick-register-types): Throw error if not using ImageMagick.
13037
0b4e93f1
LL
130382011-03-22 Leo Liu <sdl.web@gmail.com>
13039
13040 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13041 located before rcirc-prompt-end-marker.
13042 (rcirc-complete): Error if point is not after rcirc prompt.
13043 Handle the case when table is nil.
9882e214 13044 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 13045
fccee4ab
CY
130462011-03-22 Chong Yidong <cyd@stupidchicken.com>
13047
13048 * custom.el (custom--inhibit-theme-enable): Make it affect only
13049 custom-theme-set-variables and custom-theme-set-faces.
13050 (provide-theme): Ignore custom--inhibit-theme-enable.
13051 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13052 (custom-enabling-themes): Delete variable.
d86d2721
SM
13053 (enable-theme): Accept only loaded themes as arguments.
13054 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
13055 (custom-enabled-themes): Forbid themes from setting this.
13056 Eliminate use of custom-enabling-themes.
13057 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 13058
af896da6
LL
130592011-03-21 Leo Liu <sdl.web@gmail.com>
13060
13061 * ido.el (ido-read-internal): Add ido-selected to history instead
13062 of user input.
13063
78f64af0
SM
130642011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13065
13066 * subr.el (deferred-action-list, deferred-action-function):
13067 Mark obsolete.
13068
b16ac1ec
LL
130692011-03-21 Leo Liu <sdl.web@gmail.com>
13070
810f7698
LL
13071 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13072 change on 2011-02-13 (bug#8309).
13073
b16ac1ec
LL
13074 * minibuffer.el (read-file-name-function): Change default value.
13075 (read-file-name--defaults): Rename from read-file-name-defaults.
13076 (read-file-name-default): Rename from read-file-name.
13077 (read-file-name): Call read-file-name-function.
13078
4e05e67e
GM
130792011-03-21 Glenn Morris <rgm@gnu.org>
13080
13081 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13082 Doc fixes.
13083
4359915b
CY
130842011-03-21 Chong Yidong <cyd@stupidchicken.com>
13085
13086 * cus-theme.el: Add missing provide statement.
13087 (customize-create-theme): Extract theme value correctly.
13088 (custom-theme-visit-theme): Autoload.
13089 (customize-create-theme): Prompt before inserting default faces.
13090
1fe275ee
JB
130912011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13092
13093 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13094 units and musical notes.
13095
cd394be1 130962011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
13097
13098 * ido.el (ido-read-internal): Use completing-read-default.
13099 (ido-completing-read): Fix compatibility with completing-read.
13100
7d476bde
CO
131012011-03-20 Christian Ohler <ohler@gnu.org>
13102
13103 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13104 (ert-delete-all-tests): Use `called-interactively-p' rather than
13105 `interactive-p'.
13106 (ert--make-xrefs-region): Respect END.
13107
fe0fb33e
CY
131082011-03-19 Chong Yidong <cyd@stupidchicken.com>
13109
ff854b0b
CY
13110 * dired-aux.el (dired-create-directory): Signal an error if the
13111 directory already exists (Bug#8246).
13112
fe0fb33e
CY
13113 * facemenu.el (list-colors-display): Call list-faces-display
13114 inside with-help-window.
13115 (list-colors-print): Use display property to align the final
13116 column, instead of checking window-width.
13117
576bce32
EZ
131182011-03-19 Eli Zaretskii <eliz@gnu.org>
13119
4d61f28d 13120 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
13121 windows-nt systems.
13122 (emerge-protect-metachars): Quote correctly for ms-dos and
13123 windows-nt systems.
13124
89c41d68 131252011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
13126
13127 * info.el (info-initialize): Replace all uses of `:' with
13128 path-separator for compatibility with non-Unix systems.
13129 Cache quoting of path-separator. (Bug#8258)
13130
b14e3e21 131312011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
13132
13133 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13134 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13135 (mouse-avoidance-mode): Fix typos in docstrings.
13136
4525ce3e
CY
131372011-03-19 Chong Yidong <cyd@stupidchicken.com>
13138
13139 * startup.el (package-subdirectory-regexp): Move from package.el.
13140 Omit \\` and \\', and let callers add them.
13141
13142 * emacs-lisp/package.el (package-strip-version)
13143 (package-load-all-descriptors): Add \\` and \\' to
13144 package-subdirectory-regexp before using it.
13145 (package-untar-buffer): New arg DIR; ensure that file untars only
13146 into this expected directory. Remove superfluous delete-region.
13147 (package-unpack): Caller changed.
13148 (package-tar-file-info): Use package-subdirectory-regexp.
13149
a904a09a 131502011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 13151
a904a09a
SM
13152 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13153 diff-mode-shared-map (bug#8284).
13154 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
13155
131562011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13157
13158 * calendar/time-date.el (format-seconds): Use assoc instead of
13159 assoc-string, since assoc-string doesn't exist in XEmacs.
13160
171fc304
JB
131612011-03-17 Juanma Barranquero <lekktu@gmail.com>
13162
13163 * custom.el (custom-known-themes): Reflow docstring.
13164 (custom-theme-load-path): Fix typo in docstring.
13165 (load-theme): Fix typo in error message.
13166 (custom-available-themes, custom-variable-theme-value):
13167 Use `let', not `let*'.
13168
d71990a1
JB
131692011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13170
13171 * calc/README: Mention inclusion of musical notes.
13172
13173 * calc/calc-units.el (calc-lu-quant): Rename from
13174 `calc-logunits-quantity'.
13175 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13176 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13177 (calc-db): Rename from `calc-dblevel'.
13178 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13179 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13180 (calc-np): Rename from `calc-nplevel'.
13181 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13182 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13183 (calc-lu-plus): Rename from `calc-logunits-add'.
13184 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13185 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13186 (calc-lu-minus): Rename from `calc-logunits-sub'.
13187 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13188 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13189 (calc-lu-times): Rename from `calc-logunits-mul'.
13190 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13191 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13192 (calc-lu-divide): Rename from `calc-logunits-div'.
13193 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13194 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13195
13196 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13197 functions being autoloaded.
13198
13199 * calc/calc.el (calc-lu-power-reference): Rename from
13200 `calc-logunits-power-reference'.
13201 (calc-lu-field-reference): Rename from
13202 `calc-logunits-field-reference'.
13203
7a71b18d
GM
13204 * calc/calc-help.el (calc-l-prefix-help):
13205 Mention musical note functions.
d71990a1 13206
40c2934b
SM
132072011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13208
13209 * minibuffer.el (completion-all-sorted-completions):
13210 Use :completion-cycle-penalty text property if present.
13211
b0911414
KM
132122011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13213
13214 * allout.el (allout-yank-processing): Adjust for new rebulleting
13215 regime so bullet being yanked is used without prompting the user
13216 for a choice.
13217
8a05b668
JB
132182011-03-16 Juanma Barranquero <lekktu@gmail.com>
13219
13220 * startup.el (command-line): Warn the user that _emacs is deprecated.
13221
5ba5fb81
JB
132222011-03-16 Juanma Barranquero <lekktu@gmail.com>
13223
13224 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13225 (delphi-verbose, delphi-comment-face, delphi-string-face)
13226 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13227 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13228 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13229 (delphi-new-comment-line, delphi-font-lock-defaults)
13230 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13231 Fix typos in docstrings.
13232
2dab465b
KM
132332011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13234
5ba5fb81 13235 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
13236 Invert the roles of character and string values for INSTEAD, so a
13237 string is used for the more common case of a defaulting prompt.
13238
0adf5618
SM
132392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13240
13241 * progmodes/ruby-mode.el (ruby-backward-sexp):
13242 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13243 * play/gamegrid.el (gamegrid-make-face):
13244 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13245 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13246 * notifications.el (notifications-notify):
13247 * net/xesam.el (xesam-search-engines):
13248 * net/quickurl.el (quickurl-list-insert):
13249 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13250
d72700e5
CY
132512011-03-15 Chong Yidong <cyd@stupidchicken.com>
13252
13253 * startup.el (command-line): Update package subdirectory regexp.
13254
49c5410a
SM
132552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13256
c6eee9aa
SM
13257 * allout.el (allout-abbreviate-flattened-numbering)
13258 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13259
49c5410a
SM
13260 * subr.el (read-char-choice): Only show the cursor after the prompt,
13261 not after the answer.
13262
047b2bb9
KR
132632011-03-15 Kevin Ryde <user42@zip.com.au>
13264
13265 * help-fns.el (variable-at-point): Skip leading quotes, if any
13266 (bug#8253).
13267
0a57d256
SM
132682011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13271 warning message.
13272
77c992bc
MA
132732011-03-14 Michael Albinus <michael.albinus@gmx.de>
13274
13275 * shell.el (shell): When called interactively, offer to change the
13276 shell file name on remote hosts.
13277
eebc475d
TZ
132782011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13279
13280 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13281 integration for LDAP parameters. The host, base, user or binddn,
13282 and secret tokens can be specified in a netrc file, for instance.
13283 This is optional because an `auth-source' parameter must be
13284 specified in the search attributes.
13285
9d05d1ba
JB
132862011-03-13 Juanma Barranquero <lekktu@gmail.com>
13287
13288 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13289
09d9db2c
GM
132902011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13291
13292 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13293 into declaration. Remove redundant and harmful binding.
13294
132952011-03-12 Eli Zaretskii <eliz@gnu.org>
13296
13297 * files.el (file-ownership-preserved-p): Pass `integer' as an
13298 explicit 2nd argument to `file-attributes'. If the file's owner
13299 is the Administrators group on Windows, and the current user is
13300 Administrator, consider that a match.
13301
13302 * server.el (server-ensure-safe-dir): Consider server directory
13303 safe on MS-Windows if its owner is the Administrators group while
13304 the current Emacs user is Administrator. Use `=' to compare
13305 numerical UIDs, since they could be integers or floats.
13306
219bd536
JB
133072011-03-12 Juanma Barranquero <lekktu@gmail.com>
13308
13309 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13310
f3afd36b
MA
133112011-03-12 Michael Albinus <michael.albinus@gmx.de>
13312
13313 Sync with Tramp 2.2.1.
13314
13315 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13316
13317 * net/trampver.el: Update release number.
13318
3aaaa6f1
SM
133192011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13320
94642599
SM
13321 * progmodes/compile.el (compilation--previous-directory): Fix up
13322 various nil/dead-marker mismatches (bug#8014).
13323 (compilation-directory-properties, compilation-error-properties):
13324 Don't call it at a position past the one we're about to change.
13325
3aaaa6f1
SM
13326 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13327 Disable obsolescence warnings in the file that declares it.
13328
14239447
KM
133292011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13330
099c39a4
JB
13331 * allout-widgets.el (allout-widgets-tally):
13332 Initialize allout-widgets-tally as a hash table rather than nil to
13333 prevent mode-line redisplay warnings. Also, clarify the module
13334 description and fix a comment typo.
14239447 13335
135e287c
JB
133362011-03-11 Juanma Barranquero <lekktu@gmail.com>
13337
13338 * help-fns.el (describe-variable): Don't complete keywords.
13339 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13340
ffbf300e
CY
133412011-03-10 Chong Yidong <cyd@stupidchicken.com>
13342
ba08b241
CY
13343 * emacs-lisp/package.el (package-version-join): Impose a standard
13344 string representation for pre/alpha/beta version lists.
13345 (package-unpack-single): Standardize the directory name by passing
13346 it through package-version-join.
13347 (package-strip-rcs-id): Accept any version string that does not
13348 signal an error in version-to-list.
ffbf300e 13349
f346fd6b
MA
133502011-03-10 Michael Albinus <michael.albinus@gmx.de>
13351
13352 * simple.el (delete-trailing-whitespace): Return nil for the
13353 benefit of `write-file-functions'.
13354
ccb55d27
GM
133552011-03-10 Glenn Morris <rgm@gnu.org>
13356
5ceaac0c
GM
13357 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
13358
02da65ff
GM
13359 * vc/vc-git.el (vc-git-program): New option.
13360 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
13361 (vc-git--call): Use it.
13362
b2f603cc
GM
13363 * eshell/esh-util.el (eshell-condition-case): Doc fix.
13364
5772caab
GM
13365 * cus-edit.el (Custom-newline): If no button at point, look
13366 for a subgroup button at start-of-line. (Bug#2298)
13367
ccb55d27
GM
13368 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
13369
ec6ecaed
JD
133702011-03-10 Julien Danjou <julien@danjou.info>
13371
13372 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
13373 `cursor-type' is nil.
13374
9d5aa01d
JB
133752011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
13376
13377 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
13378
b6a5875b
KM
133792011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
13380
7a71b18d 13381 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
13382 preserves the existing header prefix, rebulleting it if necessary,
13383 rather than replacing it. This is necessary for proper operation
13384 of cooperative addons like allout-widgets.
1154d12e
JB
13385 (allout-make-topic-prefix, allout-rebullet-heading):
13386 Change SOLICIT arg to INSTEAD, and interpret additionally a string
13387 value as alternate bullet to be used, instead of prompting the user
13388 for a bullet character.
b6a5875b 13389
ee545c35
MA
133902011-03-09 Michael Albinus <michael.albinus@gmx.de>
13391
d86d2721
SM
13392 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13393 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
13394 `tramp-default-port'.
13395
c47971d7
DD
133962011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13397
13398 * net/rcirc.el (rcirc-handler-001): Remove useless
13399 with-rcirc-process-buffer.
13400 (rcirc-check-auth-status): Swap arguments to string-match.
13401
13522cb4
GM
134022011-03-09 Glenn Morris <rgm@gnu.org>
13403
0be6f4f1
GM
13404 * shell.el (shell-mode):
13405 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
13406
13522cb4
GM
13407 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
13408 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
13409
515de2e3
CY
134102011-03-08 Chong Yidong <cyd@stupidchicken.com>
13411
13412 * emacs-lisp/package.el (package-refresh-contents)
13413 (package-menu-execute): Use condition-case-no-debug.
13414
b511b994
MA
134152011-03-08 Michael Albinus <michael.albinus@gmx.de>
13416
13417 * simple.el (shell-command-to-string): Use `process-file'.
13418
13419 * emacs-lisp/package.el (package-tar-file-info): Handle also
13420 remote files.
13421
d86d2721
SM
13422 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13423 Use `equal' for upload base check.
b511b994 13424
25bbfb31
AM
134252011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
13426
13427 * textmodes/texinfo.el (texinfo-environments):
13428 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
13429
be996521
GM
134302011-03-08 Glenn Morris <rgm@gnu.org>
13431
e9c8529f
GM
13432 * cus-start.el (cursor-in-non-selected-windows):
13433 Fix :set quoting oddness. (Bug#8192)
13434
be996521
GM
13435 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
13436 in some setf expressions. (Bug#2159)
13437
2bb5649e
CY
134382011-03-08 Chong Yidong <cyd@stupidchicken.com>
13439
13440 * custom.el (custom-available-themes): Return themes in
13441 alphabetical order.
13442
33383987 13443See ChangeLog.15 for earlier changes.
e3d51b27
MR
13444
13445;; Local Variables:
13446;; coding: utf-8
e3d51b27
MR
13447;; End:
13448
acaf905b 13449 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
13450
13451 This file is part of GNU Emacs.
13452
13453 GNU Emacs is free software: you can redistribute it and/or modify
13454 it under the terms of the GNU General Public License as published by
13455 the Free Software Foundation, either version 3 of the License, or
13456 (at your option) any later version.
13457
13458 GNU Emacs is distributed in the hope that it will be useful,
13459 but WITHOUT ANY WARRANTY; without even the implied warranty of
13460 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13461 GNU General Public License for more details.
13462
13463 You should have received a copy of the GNU General Public License
13464 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.