* lisp/minibuffer.el: Use completion-table-with-quoting for read-file-name.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ef24141c
SM
12012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2
79c4eeb4
SM
3 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4 (minibuffer--double-dollars): Preserve properties.
5 (completion--sifn-requote): New function.
6 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7
ef24141c
SM
8 * minibuffer.el: Add support for completion of quoted/escaped data.
9 (completion-table-with-quoting, completion-table-subvert): New funs.
10 (completion--twq-try, completion--twq-all): New functions.
11 (completion--nth-completion): New function.
12 (completion-try-completion, completion-all-completions): Use it.
13
07875ee7
CY
142012-04-25 Chong Yidong <cyd@gnu.org>
15
16 * vc/diff-mode.el (diff-setup-whitespace): New function.
17 (diff-mode): Use it.
18
19 * vc/diff.el (diff-sentinel):
20 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
21 Whitespace mode variables based on diff style (Bug#8612).
22
5055880d
LL
232012-04-25 Leo Liu <sdl.web@gmail.com>
24
daf75653
LL
25 * progmodes/python.el (python-send-region): Add suffix .py to the
26 temp file.
27
5055880d
LL
28 * files.el (auto-mode-alist): Use javascript-mode instead.
29
db9b177b
AH
302012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
31
ef24141c 32 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
33
34 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 35 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 36 references, see Bug#9.
ef24141c 37 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 38 when receiving a fault reply.
ef24141c 39 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
40
41 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 42 (soap-inspect-simple-type): New function.
db9b177b 43
ef24141c 44 * soap-client.el (soap-simple-type): New struct.
db9b177b 45 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
46 (soap-decode-basic-type, soap-encode-basic-type):
47 support unsignedInt and double basic types.
db9b177b 48 (soap-resolve-references-for-simple-type)
ef24141c
SM
49 (soap-parse-simple-type, soap-encode-simple-type): New function.
50 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
51
52 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
53 (soap-default-soapenc-types): Add integer, byte and anyURI types.
54 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
55 the local name of "soapenc:Array".
56 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
57 decoding integer, byte and anyURI xsd types.
58
1fc6097b
CY
592012-04-25 Chong Yidong <cyd@gnu.org>
60
61 * cus-edit.el (custom-buffer-create-internal): Update header text.
62
afc6df87
EZ
632012-04-25 Eli Zaretskii <eliz@gnu.org>
64
65 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
66 settings on 'system-type', not on 'window-system'. On MS-Windows,
67 set interactive-mode on in GDB.
68
dfbd787f
SM
692012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
72 (ruby-syntax-propertize-regexp): Remove.
73 (ruby-syntax-propertize-function): Split regexp into chunks.
74 Match following code directly.
75
85222d44
DG
762012-04-24 Dmitry Gutov <dgutov@yandex.ru>
77
51a8ea2a
DG
78 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
79 (ruby-syntax-propertize-regexp): New function.
80 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
81 by a special keyword.
82
85222d44
DG
83 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
84 (ruby-syntax-general-delimiters-goto-beg)
85 (ruby-syntax-propertize-general-delimiters): New functions.
86 (ruby-syntax-propertize-function): Use them to handle GDL.
87 (ruby-font-lock-keywords): Move old handling of GDL...
88 (ruby-font-lock-syntactic-keywords): .. to here.
89 (ruby-calculate-indent): Adjust indentation for GDL.
90
b613912b
MA
912012-04-24 Michael Albinus <michael.albinus@gmx.de>
92
b5380639
MA
93 * notifications.el (top): Remove unneeded declarations.
94 (notifications-specification-version): Change to "1.2".
e43042fe 95 (notifications-interface, notifications-notify-method)
b613912b
MA
96 (notifications-close-notification-method): Fix docstring.
97 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
98 (notifications-notify): Add :action-items, :resident and
99 :transient hints. Change "image_data" to "image-data" and
100 "image_path" to "image-path".
b613912b
MA
101 (notifications-get-capabilities): New defun.
102
257440aa
LL
1032012-04-24 Leo Liu <sdl.web@gmail.com>
104
105 * progmodes/python.el: Move hideshow setup to the end.
106
b1bac16e
MR
1072012-04-24 Martin Rudalics <rudalics@gmx.at>
108
109 * window.el (handle-select-window): Clear echo area since this is
110 no more done by read_char (Bug#11304).
111
d81bd059
SM
1122012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
115 and `/ M' to filter-derived-mode.
116 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
117 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
118 (ibuffer-mark-by-mode): Use default rather than initial-input.
119 (ibuffer-filter-by-derived-mode): Autoload and require-match.
120
c4cf6d91
IA
1212012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
122
123 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
124 (ibuffer-filter-by-derived-mode): New filter.
125 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
126
7511ded8
CY
1272012-04-23 Andreas Politz <politza@fh-trier.de>
128
129 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
130
775c916b
CY
1312012-04-23 Chong Yidong <cyd@gnu.org>
132
133 * cus-edit.el (customize-apropos, customize-apropos-options):
134 Disable matching of non-option variables (Bug#11176).
135 (customize-option, customize-option-other-window)
136 (customize-changed-options): Doc fix.
137 (customize-apropos-options, customize-apropos-faces)
138 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
139
140 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 141 Fix word list splitting (Bug#11132).
46c71e23
CY
142 (apropos-symbol, apropos-keybinding, apropos-label)
143 (apropos-property, apropos-function-button)
144 (apropos-variable-button, apropos-misc-button): New faces.
145 (apropos-symbol-face, apropos-keybinding-face)
146 (apropos-label-face, apropos-property-face, apropos-match-face):
147 Variables removed (Bug#8396).
148 (apropos-library-button, apropos-format-plist, apropos-print)
149 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 150
2df41f9c
MA
1512012-04-23 Michael Albinus <michael.albinus@gmx.de>
152
153 * net/xesam.el (xesam-mode-map): Use let-bound map in
154 initialization. (Bug#11292)
155
da00640a
AM
1562012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
157
158 Preserve ispell session localwords when switching back to
159 original buffer.
160
161 * ispell.el (ispell-buffer-session-localwords): New buffer-local
162 variable to hold buffer session localwords.
163 (ispell-kill-ispell): add option 'clear to delete session
164 localwords.
165 (ispell-command-loop, ispell-change-dictionary)
166 (ispell-buffer-local-words): Preserve session localwords when
167 needed.
168
169 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
170 Preserve session localwords when needed.
171
f621ccf5
AM
1722012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
173
174 * ispell.el (ispell-insert-word) Remove unneeded function using
175 obsolete `translation-table-for-input'.
ef24141c
SM
176 (ispell-word, ispell-process-line, ispell-complete-word):
177 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 178
c2d1019e
CY
1792012-04-22 Chong Yidong <cyd@gnu.org>
180
181 * cus-edit.el (custom-variable-menu)
182 (custom-variable-reset-saved, custom-face-menu)
183 (custom-face-reset-saved): If there is no saved value, make the
184 "reset-saved" operation bring back the default (Bug#9509).
185 (custom-face-state): Properly detect themed faces.
186
eeddc531
CY
187 * faces.el (face-spec-set): Stop supporting deprecated form of
188 third arg.
189
dcbf5805
MA
1902012-04-22 Michael Albinus <michael.albinus@gmx.de>
191
192 Move functions from C to Lisp. Make non-blocking method calls
193 the default. Implement further D-Bus standard interfaces.
194
ef24141c
SM
195 * net/dbus.el (dbus-message-internal): Declare function.
196 Remove unneeded function declarations.
dcbf5805
MA
197 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
198 (dbus-message-type-method-return, dbus-message-type-error)
199 (dbus-message-type-signal): Declare variables. Remove local
200 definitions.
201 (dbus-interface-dbus, dbus-interface-peer)
202 (dbus-interface-introspectable, dbus-interface-properties)
203 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
204 Adapt docstring.
205 (dbus-interface-objectmanager): New defconst.
206 (dbus-call-method, dbus-call-method-asynchronously)
207 (dbus-send-signal, dbus-method-return-internal)
208 (dbus-method-error-internal, dbus-register-service)
209 (dbus-register-signal, dbus-register-method): New defuns, moved
210 from dbusbind.c
211 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
212 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
213 New defuns.
dcbf5805
MA
214 (dbus-call-method-non-blocking): Make it an obsolete function.
215 (dbus-unregister-object, dbus-unregister-service)
216 (dbus-handle-event, dbus-register-property)
217 (dbus-property-handler): Obey the new structure of
218 `bus-registered-objects'.
219 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
220 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
221 Use `dbus-call-method'.
222
cf20dee0
CY
2232012-04-22 Chong Yidong <cyd@gnu.org>
224
225 * cus-edit.el (custom-commands, custom-reset-menu)
226 (Custom-reset-standard): Tweak labels.
227 (custom-reset-button-menu): Change default to t.
228 (custom-buffer-create-internal): For the custom-reset-button-menu
229 case, put the revert button first.
230 (custom-group-subtitle): New face.
231 (custom-group-value-create): Align docstring to a specific column.
232
233 * wid-edit.el (widget-documentation-link-add): Don't handle
234 indentation in this function.
235 (widget-documentation-string-indent-to): New function.
236 (widget-documentation-string-value-create): Use it.
237
238 * autorevert.el (auto-revert):
239 * epg-config.el (epg):
240 * ibuffer.el (ibuffer):
241 * mpc.el (mpc):
242 * ses.el (ses):
243 * eshell/eshell.el (eshell):
244 * net/ange-ftp.el (ange-ftp):
245 * progmodes/ebnf2ps.el (postscript):
246 * progmodes/flymake.el (flymake):
247 * progmodes/prolog.el (prolog):
248 * progmodes/verilog-mode.el (verilog-mode):
249 * progmodes/which-func.el (which-func):
250 * term/xterm.el (xterm):
251 * textmodes/picture.el (picture):
252 * textmodes/tildify.el (tildify):
253 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
254 customization buffers.
255
583e23bd
AM
2562012-04-22 Alan Mackenzie <acm@muc.de>
257
258 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
259 Adding a ) can hide the resulting (..) from searches. Fix it.
260 Bound the backward search to the position of the existing (.
261
7dd51bf1
JB
2622012-04-21 Juanma Barranquero <lekktu@gmail.com>
263
264 * progmodes/verilog-mode.el (verilog-mode): Check whether
265 which-func-modes is t before adding verilog-mode.
266 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
267
d64a438f
LL
2682012-04-21 Leo Liu <sdl.web@gmail.com>
269
7dd51bf1 270 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 271
081e8d65
MV
2722012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
273
274 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
275 filling of the last column of a table (Bug#5635).
276 (woman-find-next-control-line): New arg, specifying an additional
277 regexp component for the control line.
278 (woman2-roff-buffer): Use it.
279 (woman-break-table): New function.
280 (woman2-TS): Use it.
281
2822012-04-21 Chong Yidong <cyd@gnu.org>
283
284 * woman.el (woman-set-buffer-display-table, woman-decode-region)
285 (woman-horizontal-escapes, woman-negative-vertical-space)
286 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
287 (WoMan-warn-ignored): Use ?\s instead of ?\ .
288
ed571ccb
SM
2892012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * minibuffer.el (completion-file-name-table): Complete user names.
292
39773899
LL
2932012-04-20 Leo Liu <sdl.web@gmail.com>
294
295 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
296 and pcase-let*.
297
de6ff46d
CY
2982012-04-20 Chong Yidong <cyd@gnu.org>
299
300 * server.el (server-execute): Respect initial-buffer-choice if it
301 is a string and there are no files to open (Bug#2825).
302 (server-create-window-system-frame, server-create-tty-frame):
303 Don't switch buffers here.
2d0e8e61
CY
304 (server-process-filter): Only try to open a window system frame if
305 compiled with graphical support (Bug#8314).
de6ff46d 306
54071013
DN
3072012-04-20 Dan Nicolaescu <dann@gnu.org>
308
309 * battery.el (battery-echo-area-format): Display remaining time
310 for sysfs backend too (Bug#11269).
311 (battery-linux-sysfs): Fix conditional for the charge.
312
f30d612a
CY
3132012-04-20 Chong Yidong <cyd@gnu.org>
314
c07a4c0b 315 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
316 (gdb-inferior-io--init-proc): New function.
317 (gdb-init-1): Use it.
318 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
319 responsible for allocating a new pty and hooking it to gdb when
320 the old pty gets an EIO due to process exit.
321 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
322 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
323 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
324
2116e93c
EZ
3252012-04-20 Eli Zaretskii <eliz@gnu.org>
326
327 * window.el (window-min-size, window-sizable, window-min-delta)
328 (window-max-delta, window--resizable, window-resizable)
329 (window-total-size, window-full-height-p, window-full-width-p)
330 (window-in-direction, window--resize-mini-window, window-resize)
331 (window--resize-child-windows-normal)
332 (window--resize-child-windows, window--resize-siblings)
333 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 334 (enlarge-window, shrink-window): Doc fixes.
2116e93c 335
c07a4c0b 3362012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 337
ef24141c
SM
338 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
339 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
340 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
341 pty process (Bug#11273).
342 (gdb-update): New arg to suppress talking to the gdb process.
343 (gdb-done-or-error): Use it.
344 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
345 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
346 sentinel not being called.
347
348 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
349
d02766ab
CY
350 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
351
c07a4c0b 3522012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
353
354 * net/network-stream.el (open-network-stream): Doc fix.
355
c07a4c0b 3562012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
357
358 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
359
c07a4c0b 3602012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
361
362 Ensure searching for keywords is case sensitive.
363
364 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
365 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
366 (c-defun-name, c-mark-function, c-cpp-define-name)
367 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 368 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 369
ef24141c
SM
370 * progmodes/cc-mode.el (c-font-lock-fontify-region):
371 Bind case-fold-search to nil.
f0f6bc35 372
c07a4c0b 3732012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
374
375 * mail/sendmail.el (mail-bury): Call return action with the right
376 Rmail buffer (Bug#11242).
377
9a864fa2
CY
378 * server.el (server-process-filter): Handle corner case where both
379 tty and nowait options are present (Bug#11102).
380
539aa513
EZ
3812012-04-20 Eli Zaretskii <eliz@gnu.org>
382
383 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
384 (top level): Put into the executable the ident-style '$Id:' tag on
385 windows-nt as well.
539aa513 386
cfc7d5da
SM
3872012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * electric.el (electric-indent-post-self-insert-function): Check that
390 electric-indent-mode is enabled in current buffer.
391
5b01685c
JB
3922012-04-19 Juanma Barranquero <lekktu@gmail.com>
393
394 * imenu.el (imenu-progress-message): Restore; it is "used" in
395 erc/erc-imenu.el and net/snmp-mode.el.
396
4d6769e1
JB
3972012-04-19 Juanma Barranquero <lekktu@gmail.com>
398
399 * avoid.el (mouse-avoidance-mode): Mark unused arg.
400 (mouse-avoidance-nudge-mouse): Remove unused binding.
401
402 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
403
404 * descr-text.el (describe-char):
405 * progmodes/python.el (python-describe-symbol):
406 Don't call `toggle-read-only', set `buffer-read-only'.
407
408 * imenu.el (imenu-default-goto-function): Mark unused args.
409 (imenu-progress-message): Remove obsolete macro; all callers changed.
410
411 * subr.el (keymap-canonicalize): Remove unused binding.
412 (read-passwd): Mark unused arg.
413
414 * tutorial.el (tutorial--display-changes): Remove unused binding.
415 (tutorial--save-tutorial-to): Remove unused variable.
416
417 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
418 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
419 (package-generate-autoloads, package-menu--generate)
420 (package-menu--find-upgrades): Remove unused bindings.
421
422 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
423 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
424 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
425 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
426 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
427 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
428 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
429 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
430 (cua-delete-char-rectangle): Mark unused args.
431 (cua-align-rectangle): Remove unused binding.
432
433 * mail/rmail.el (compilation--message->loc)
434 (epa--find-coding-system-for-mime-charset): Declare.
435
436 * net/dbus.el (dbus-register-service): Declare.
437 (dbus-name-owner-changed-handler): Remove unused binding.
438
439 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
440 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
441 (nxml-scan-backward-within): Mark unused arg.
442 (nxml-dynamic-markup-word): Remove unused binding.
443
444 * mouse.el (mouse-menu-major-mode-map):
445 * emacs-lisp/authors.el (authors-scan-change-log)
446 (authors-add-to-author-list):
447 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
448 * emacs-lisp/smie.el (smie-auto-fill):
449 * mail/sendmail.el (mail-bury):
450 * mail/unrmail.el (unrmail):
451 * net/tls.el (open-tls-stream):
452 * textmodes/picture.el (picture-mouse-set-point):
453 Remove unused bindings.
454
8c8fc5df
MA
4552012-04-19 Michael Albinus <michael.albinus@gmx.de>
456
457 * net/tramp.el (tramp-action-password): Let-bind
458 `enable-recursive-minibuffers' to t.
459
a77b0ac9
SS
4602012-04-18 Sam Steingold <sds@gnu.org>
461
462 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
463 instead of 'string to accommodate values like [f11].
464 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
465 * progmodes/gdb-mi.el: Likewise.
466
12a106a9
LL
4672012-04-18 Leo Liu <sdl.web@gmail.com>
468
469 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
470 current buffer.
471 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
472 LOCAL is nil.
473
bc6494ef
CY
4742012-04-18 Chong Yidong <cyd@gnu.org>
475
476 * simple.el (line-move): Use forward-line if in batch mode
477 (Bug#11053).
478
c09c46b2
CS
4792012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
480
481 * files.el (after-find-file): Do not try to add a final newline if
482 the buffer is read-only (Bug#11156).
483
5f6530ea
RS
4842012-04-17 Richard Stallman <rms@gnu.org>
485
486 * mail/rmail.el (rmail-start-mail):
487 Pass (rmail-mail-return...) for the return-action.
488 Pass (rmail-yank-current-message...) for the yank-action.
489 (rmail-yank-current-message): New function.
490 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
491 (rmail-reply): Likewise.
492 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
493
494 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 495 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
496 buffer, not newbuf.
497
197b6f3c
JB
4982012-04-17 Juanma Barranquero <lekktu@gmail.com>
499
500 * server.el (server-ensure-safe-dir): Simplify.
501
2311d8e5 5022012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 503
2311d8e5
GM
504 * emacs-lisp/smie.el: Provide smarter auto-filling.
505 (smie-auto-fill): New function.
506 (smie-setup): Use it.
98fb480e 507
2311d8e5
GM
508 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
509
5102012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
511
512 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
513 (comment-indent): Use it.
514
2311d8e5 5152012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
516
517 * ses.el: The overall change is to add cell renaming, that is
518 setting fancy names for cell symbols other than name matching
519 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 520 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 521 (ses-create-cell-variable): New defun.
2311d8e5 522 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
523 (ses-relocate-formula): Relocate formulas only for cells the
524 symbols of which are not renamed, i.e. symbols whose names do not
525 match regexp "\\`[A-Z]+[0-9]+\\'".
526 (ses-relocate-all): Relocate values only for cells the symbols of
527 which are not renamed.
528 (ses-load): Create cells variables as the (ses-cell ...) are read,
529 in order to check row col consistency with cell symbol name only
530 for cells that are not renamed.
531 (ses-replace-name-in-formula): New defun.
532 (ses-rename-cell): New defun.
4bdf2ad2 533
fc72b15c
PO
5342012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
535
536 * progmodes/perl-mode.el (perl-indent-parens-as-block):
537 New option (bug#11118).
538 (perl-calculate-indent): Respect it.
539
12e10e61
GM
5402012-04-17 Glenn Morris <rgm@gnu.org>
541
542 * dired-aux.el (dired-mark-read-string): Doc fix.
543
30009afd
DA
5442012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
545
546 * dired-aux.el (dired-mark-read-string): Offer optional completion.
547 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
548
41f03f4d
GM
5492012-04-17 Glenn Morris <rgm@gnu.org>
550
551 * mouse.el (mouse-drag-track):
552 * speedbar.el (speedbar-frame-mode):
553 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
554
f45f90f3
LL
5552012-04-16 Leo Liu <sdl.web@gmail.com>
556
557 * progmodes/python.el: Trivial cleanup.
558
94ee8db5
GM
5592012-04-16 Glenn Morris <rgm@gnu.org>
560
121b8917
GM
561 * vc/vc.el (vc-string-prefix-p):
562 * vc/pcvs-util.el (cvs-string-prefix-p):
563 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
564 * mpc.el (mpc-string-prefix-p):
565 Make all of these into obsolete aliases for string-prefix-p.
566 Update callers.
567 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
568
1197ecfa
GM
569 * textmodes/two-column.el: Move custom options to the start.
570 (frame-width): Remove compat definition.
571 (2C-associate-buffer, 2C-dissociate):
572 Use with-current-buffer rather than save-excursion.
573 (2C-dissociate): Force a mode-line update.
574 (2C-autoscroll): Use ignore-errors.
575
099e7202
GM
576 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
577 Autoload trivia.
578
bf350d6a
GM
579 * emacs-lisp/cl-extra.el (*random-state*):
580 Remove unnecessary declaration.
581
0e829eab
GM
582 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
583
e3ad7552
GM
584 * play/cookie1.el (cookie-snarf):
585 Give an explicit error if input file cannot be read.
586
68892d27
GM
587 * play/yow.el (yow-file): Use expand-file-name rather than concat.
588
20f0c46d
GM
589 * progmodes/perl-mode.el (c-macro-expand):
590 Remove unnecessary autoload (it is in loaddefs.el).
591
5a0978ce
GM
592 * textmodes/picture.el (picture-desired-column)
593 (picture-update-desired-column): Convert comments to doc-strings.
594 (picture-substitute): Remove function.
595 (picture-mode-map): Initialize in the defvar.
596
6b955486
GM
597 * woman.el: Remove eval-after-load for tar-mode.
598 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
599 (woman-tar-extract-file): Autoload it.
600
94ee8db5
GM
601 * frame.el (automatic-hscrolling): Make this alias obsolete.
602
177eca34
AM
6032012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
604
605 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 606 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
607 (ispell-dictionary-base-alist): Revert to original XEmacs
608 friendly version for default. [:alpha:] will be added in
609 `ispell-set-spellchecker-params' if needed
177eca34 610
c505aaeb
CY
6112012-04-16 Chong Yidong <cyd@gnu.org>
612
613 * image.el (imagemagick--extension-regexp): New variable.
614 (imagemagick-register-types): Use it.
615 (imagemagick-types-inhibit): Add :set function. Allow new value
616 of t to inhibit all types.
617
618 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
619 so we can preload it.
620
621 * loadup.el (fboundp): Preload regexp-opt, needed by
622 imagemagick-register-types.
623
60efac0f
CY
6242012-04-15 Chong Yidong <cyd@gnu.org>
625
626 * frame.el (scrolling): Remove nearly unused customization group.
627
628 * scroll-all.el (scroll-all-mode): Move to windows group.
629
5dd1713e
CY
6302012-04-15 Chong Yidong <cyd@gnu.org>
631
632 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
633
e6fd457e
CY
6342012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 637 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 638
e153c136
GM
6392012-04-15 Glenn Morris <rgm@gnu.org>
640
641 * simple.el (process-file-side-effects): Doc fix.
642
e6fd457e 6432012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
644
645 * international/mule-cmds.el (set-language-environment): Doc fix.
646
3603c3b1
JB
6472012-04-14 Juanma Barranquero <lekktu@gmail.com>
648
649 * server.el (server-auth-key, server-generate-key): Doc fixes.
650 (server-get-auth-key): Doc fix. Use `string-match-p'.
651 (server-start): Reflow docstring.
652
e6de100c
LI
6532012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
654
655 * server.el (server-generate-key): `called-interactively-p'
656 requires a parameter.
657
29734c21
MN
6582012-04-14 Michal Nazarewicz <mina86@mina86.com>
659
660 * server.el (server-auth-key): New variable.
75f1671a 661 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
662 (server-start): Use the new variable and functions to allow
663 setting a permanent server key (bug#9423).
664
d65c9521
LL
6652012-04-14 Leo Liu <sdl.web@gmail.com>
666
667 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
668
5ae255c7
PE
6692012-04-14 Paul Eggert <eggert@cs.ucla.edu>
670
671 Spelling fixes.
672 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
673 Emacs uses American spelling.
674
d5e6342e
JB
6752012-04-14 Juanma Barranquero <lekktu@gmail.com>
676
677 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
678 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
679 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
680 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
681
ab036cd7
SM
6822012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * progmodes/which-func.el (which-func-modes): Change default.
685
35dc09a1 6862012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
687
688 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
689 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
690
35dc09a1 6912012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
692
693 * custom.el (custom-theme-set-variables): Doc fix.
694
35dc09a1 6952012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
696
697 * international/mule.el (set-auto-coding-for-load): Doc fix.
698
35dc09a1 6992012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 700
35dc09a1
GM
701 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
702 imenu work again for Objective C Mode. Correct the *-index values,
703 these having been disturbed by a previous change in 2011-08.
57f845ee 704
0de3da9f
AM
705 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
706 Correct two search limits.
707
35dc09a1 7082012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
709
710 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
711
35dc09a1 7122012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
713
714 * international/characters.el: Fix sorting.
715
35dc09a1 7162012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
717
718 * international/characters.el: Add more missing Latin case pairs.
719
35dc09a1 7202012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
721
722 * files.el (dir-locals-set-class-variables): Doc fix.
723
35dc09a1 7242012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 725
3f1b5bf8
EZ
726 * international/characters.el: Add set-case-syntax-pair call for
727 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
728 counterpart. (Bug#11209)
729
9f847f41
EZ
730 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
731
35dc09a1 7322012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
733
734 * calendar/holidays.el (calendar-check-holidays): Doc fix.
735
35dc09a1 7362012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 737
35dc09a1
GM
738 * textmodes/ispell.el (ispell-dictionary-base-alist):
739 Add data for Hebrew.
e2627d21 740
35dc09a1 7412012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 742
35dc09a1
GM
743 * net/rcirc.el (rcirc-cmd-quit):
744 Revert 2012-03-18 change (Bug#11192).
5c14e333 745
35dc09a1 7462012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
747
748 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
749
35dc09a1 7502012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 751
4517fe3a
SM
752 * minibuffer.el (completion-in-region-mode-map):
753 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 754
b472a594
VD
7552012-04-13 Vivek Dasmohapatra <vivek@etla.org>
756
757 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
758
09b95ce3
MY
7592012-04-13 Masatake YAMATO <yamato@redhat.com>
760
761 * minibuffer.el (minibuffer-local-filename-syntax): New variable
762 to allow `C-M-f' and `C-M-b' to move to the nearest path
763 separator (bug#9511).
764
4b63a9ca
LI
7652012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
766
767 * avoid.el: Require cl when compiling. And also move the
768 `provide' to the end.
769
7b55b8bf
TV
7702012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
771
772 * avoid.el (mouse-avoidance-banish-position): New variable.
773 (mouse-avoidance-banish-destination): Use it (bug#10165).
774
adedaa1f
LL
7752012-04-13 Leo Liu <sdl.web@gmail.com>
776
777 * progmodes/which-func.el (which-func-modes): Add objc-mode.
778
70e74021
KB
7792012-04-13 Ken Brown <kbrown@cornell.edu>
780
781 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 782 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
783 (browse-url-filename-alist): For the same reason, don't modify
784 file:// URLs on Cygwin.
785
e75e89ba
SM
7862012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
787
788 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
789 the region on shift if the binding is already shifted (bug#11221).
790
82f289a4
GM
7912012-04-12 Glenn Morris <rgm@gnu.org>
792
793 * mail/mailpost.el: Move to obsolete/.
794
d333dc4c
DA
7952012-04-12 Drew Adams <drew.adams@oracle.com>
796
797 * imenu.el (imenu--generic-function): Ignore invisible definitions
798 (bug#10123).
799
0d15b5ba
VD
8002012-04-12 Vivek Dasmohapatra <vivek@etla.org>
801
802 * hexl.el (hexl-bits): New variable.
803 (hexl-options): Mention the variable in the doc string.
75f1671a 804 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 805 (hexl-mode): Mention the new variable.
75f1671a
JB
806 (hexl-mode, hexl-current-address, hexl-current-address):
807 Use the displen.
0d15b5ba
VD
808 (hexl-ascii-start-column): New function.
809 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
810 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
811
64a440db
AM
8122012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
813
814 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
815 '("-i" ENCODING), in 2 separate command-line arguments, to specify
816 the encoding, as expected by hunspell.
817
6decb6c2
SM
8182012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * battery.el (battery--linux-sysfs-regexp): New const.
821 (battery-status-function): Use it. Remove yeeloong special case.
822 (battery-yeeloong-sysfs): Remove.
823 (battery-echo-area-format): Remove yeeloong special case.
824
088be6fb
SM
8252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
826
6622e416
SM
827 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
828 Reported by Noah Friedman.
829
088be6fb
SM
830 * subr.el (read-passwd): Use read-string.
831
b49f886e
LMI
8322012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
833
834 * vcursor.el (vcursor-move): Increase the priority of the overlay
835 (bug#9663).
836
a63067fc
DD
8372012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
838
839 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
840 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
841
ac3cf14a
WS
8422012-04-11 William Stevenson <yhvh2000@gmail.com>
843
844 * textmodes/artist.el (artist-mode): Convert artist-mode to use
845 define-minor-mode (bug#10760).
846
c4fc691b 8472012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 848
4d6769e1 849 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
850 that directories matching `grep-find-ignored-files' won't be
851 pruned (bug#10351).
852
af23e2e5
CY
8532012-04-11 Chong Yidong <cyd@gnu.org>
854
855 * startup.el (command-line): Remove support for long-obsolete
856 variable font-lock-face-attributes.
857
ab7ce8c1
GM
8582012-04-11 Glenn Morris <rgm@gnu.org>
859
860 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
861
de8c03dc
SM
8622012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 * window.el (window--state-get-1): Obey window-point-insertion-type.
865
050cc68b
LB
8662012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
867
868 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
869 to previous function when point is on the first character of a
75f1671a 870 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 871
a38c310c
GM
8722012-04-11 Glenn Morris <rgm@gnu.org>
873
effed0c2
GM
874 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
875 not just file-errors.
876
a38c310c
GM
877 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
878 (vc-bzr-sha1): Use internal sha1.
879
0221e323
SM
8802012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
883
43956923
SG
8842012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
885
886 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
887 that start in the middle of the line (bug#10496).
888
6a8c9eaf
DN
8892012-04-10 Dan Nicolaescu <dann@gnu.org>
890
891 * battery.el (battery-linux-proc-acpi): Only one battery is
892 discharged at a time, but that seems to confuse battery.el when
893 computing `rate-type' for the battery not being discharged
894 (bug#10332).
895
1930bf5d
SM
8962012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
897
2a718f6f
SM
898 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
899
599430d0
SM
900 * international/quail.el: Use dolist and simplify.
901 (quail-define-package, quail-update-keyboard-layout)
902 (quail-define-rules): Use dolist.
903 (quail-insert-kbd-layout, quail-get-translation): CSE.
904
a2754b6c
SM
905 * tmm.el: Use dolist, remove left over hook.
906 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
907 Use dolist.
908 (calendar-load-hook): Don't mess with it.
909
1930bf5d
SM
910 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
911 Use derived-mode-p. Run the diff asynchronously.
912
9f67961c
LMI
9132012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
914
915 * obsolete/mouse-sel.el: Add an Obsolete-since header.
916
2a8ce227
JB
9172012-04-10 Juanma Barranquero <lekktu@gmail.com>
918
919 * misc.el: Display absolute path of loaded DLLs (bug#10424).
920 (list-dynamic-libraries--loaded): New function.
921 (list-dynamic-libraries--refresh): Use it.
922
8f33b5f8
NW
9232012-04-10 Nathan Weizenbaum <nweiz@google.com>
924
1930bf5d
SM
925 * progmodes/python.el (python-fill-paragraph):
926 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
927 disabled (bug#7018).
928
b12f0439
L
9292012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
930
1930bf5d 931 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
932 DOS/MS Windows for the Baltic languages. There are still plenty
933 of texts written in this encoding/codepage (bug#6519).
b12f0439 934
57c3bd01
GM
9352012-04-10 Glenn Morris <rgm@gnu.org>
936
937 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
938 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
939
6c3eab30
FA
9402012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
941
1930bf5d 942 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
943 next-line "n" and previous-line "p" in order to make recentf more
944 consistent with ibuffer, dired or org-mode (bug#9387).
945
24d78a88
LMI
9462012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
947
bc72b5d9
LMI
948 * image.el (put-image): Return the overlay created instead of the
949 optional input string (bug#7834). Note that this may break code
950 that is (for some reason or other) depending on `put-image'
951 returning the string.
952
bd2dba5a
LMI
953 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
954
74beb59f
LMI
955 * simple.el (zap-to-char): Allow zapping using input methods
956 (bug#1580).
957
24d78a88
LMI
958 * textmodes/fill.el (fill-region): Leave point and mark where they
959 were before filling (bug#5399).
960
263f20cd
GM
9612012-04-09 Glenn Morris <rgm@gnu.org>
962
963 * version.el (emacs-bzr-get-version):
964 Handle lightweight checkouts of local branches.
965
58d1f797
AS
9662012-04-09 Andreas Schwab <schwab@linux-m68k.org>
967
263f20cd 968 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 969
b4d3bc10
CY
9702012-04-09 Chong Yidong <cyd@gnu.org>
971
972 * custom.el (custom-variable-p): Return nil for non-symbol
973 arguments instead of signaling an error.
974 (user-variable-p): Obsolete alias for custom-variable-p.
975
976 * apropos.el (apropos-variable):
977 * files-x.el (read-file-local-variable):
978 * simple.el (set-variable):
979 * woman.el (woman-mini-help):
980 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
981
fd06db5d
GM
9822012-04-09 Glenn Morris <rgm@gnu.org>
983
e5fcdb5e
GM
984 * startup.el (normal-top-level): Don't look for leim-list.el
985 in places where it will not be found. (Bug#910)
986
fd06db5d
GM
987 * international/mule-cmds.el (set-default-coding-systems):
988 * files.el (normal-mode):
989 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
990 This function was removed with ucs-tables.el in 2008.
991
b39bb7e1
EZ
9922012-04-08 Eli Zaretskii <eliz@gnu.org>
993
994 * textmodes/ispell.el (ispell-check-version): For hunspell, set
995 ispell-encoding8-command to "-i", without a trailing space.
996 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
997 separate command-line arguments, to specify the encoding, since
998 that's how hunspell expects it.
999
5c5b8e23
GM
10002012-04-08 Glenn Morris <rgm@gnu.org>
1001
1002 * loadup.el: Load bindings before cus-start.
1003 This reduces somewhat the number of "rogue" settings in emacs -Q.
1004
a1ed8b05
GM
10052012-04-07 Glenn Morris <rgm@gnu.org>
1006
1007 * version.el (emacs-bzr-get-version): New function.
dfae128a 1008 (emacs-bzr-version): New variable.
a1ed8b05
GM
1009 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1010 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1011
b142f158
EZ
10122012-04-07 Eli Zaretskii <eliz@gnu.org>
1013
dfae128a
GM
1014 * international/uni-bidi.el, international/uni-category.el:
1015 * international/uni-combining.el, international/uni-decimal.el:
1016 * international/uni-decomposition.el, international/uni-digit.el:
1017 * international/uni-lowercase.el, international/uni-mirrored.el:
1018 * international/uni-name.el, international/uni-numeric.el:
1019 * international/uni-titlecase.el, international/uni-uppercase.el:
1020 Update for Unicode 6.1.
b142f158 1021
9078ead6
EZ
10222012-04-07 Eli Zaretskii <eliz@gnu.org>
1023
1024 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1025
f23d2c7d
LMI
10262012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1027
1028 * window.el (shrink-window): Mention the `window-min-height'
1029 variable in the doc string.
1030
0a0a3573
BG
10312012-04-05 Bastien Guerry <bzg@altern.org>
1032
1033 * color.el (color-lighten-name): Fix typo.
1034
e5248ac9
SM
10352012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * server.el (server--on-display-p): New function.
1038 (server--on-display-p): Use it.
1039
b4243e22
GV
10402012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1041
1042 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1043 (bug#11145).
1044
305d9f44
SM
10452012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * comint.el (comint--common-quoted-suffix): Check string boundary
1048 before comparing (bug#11158).
1049 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1050
3d439cd1
CY
10512012-04-04 Chong Yidong <cyd@gnu.org>
1052
321cc491
CY
1053 * minibuffer.el (completion-extra-properties): Doc fix.
1054
3d439cd1
CY
1055 * subr.el (delayed-warnings-hook): Doc fix.
1056
2d562c0f
DU
10572012-04-04 Daiki Ueno <ueno@unixuser.org>
1058
1059 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1060 selection (Bug#11159).
1061 (epa-insert-keys): Inform that the default public key will be
1062 exported if no key is selected.
1063
4443f204
RS
10642012-04-04 Richard Stallman <rms@gnu.org>
1065
1066 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1067
529c06b6
CY
10682012-04-03 Chong Yidong <cyd@gnu.org>
1069
1070 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1071 mail-insert-file, not its obsolete alias mail-attach-file.
1072
66b907dc
MA
10732012-04-03 Michael Albinus <michael.albinus@gmx.de>
1074
1075 * notifications.el (notifications-notify): Fix docstring.
1076
c0ea195d
GM
10772012-04-02 Glenn Morris <rgm@gnu.org>
1078
1079 * emacs-lisp/authors.el (authors-aliases): Another addition.
1080
5ca64e00
MA
10812012-04-02 Michael Albinus <michael.albinus@gmx.de>
1082
1083 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1084 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1085 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1086
42ee526b
CY
10872012-04-01 Chong Yidong <cyd@gnu.org>
1088
1089 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1090 Handle root directory properly.
1091 (copy-directory): Caller changed.
1092
1093 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1094 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1095
0b021094
GM
10962012-03-31 Glenn Morris <rgm@gnu.org>
1097
40f86458
GM
1098 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1099
7019c177
GM
1100 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1101
a1daddd6
GM
1102 * calendar/calendar.el (calendar-window-list)
1103 (calendar-hide-window): Restore. (Bug#11140)
1104 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1105
0b021094
GM
1106 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1107
40311efc
TV
11082012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1109
1110 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1111 Check if file is a symlink (Bug#10489).
1112
1113 * files.el (copy-directory): Likewise.
1114
5319014e
CY
11152012-03-30 Chong Yidong <cyd@gnu.org>
1116
1117 * image.el (imagemagick-types-inhibit)
1118 (imagemagick-register-types): Doc fix.
1119
935d1290
AM
11202012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1121
ef24141c
SM
1122 * ispell.el (ispell-get-extended-character-mode):
1123 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1124 and treats ~word as ordinary words in pipe mode.
935d1290 1125
61c6e8fd
GM
11262012-03-30 Glenn Morris <rgm@gnu.org>
1127
1128 * tutorial.el (help-with-tutorial): Ensure local variables don't
1129 happen to make the buffer read-only. (Bug#11127)
1130
81fdff00
SM
11312012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1134 (perl-calculate-indent): Return `noindent' in strings.
1135
6e7a6ec0
SS
11362012-03-28 Sam Steingold <sds@gnu.org>
1137
1138 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1139 instead of the broken adhockery which does not prevent calendar
1140 buffers from being displayed at random after exit.
1141 (calendar-window-list, calendar-hide-window): Remove the broken
1142 adhockery.
1143
fee88ca0
GM
11442012-03-28 Glenn Morris <rgm@gnu.org>
1145
1146 * replace.el (query-replace-map): Doc fix.
1147
38de3354
AS
11482012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1149
1150 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1151 contents. (Bug#11109)
1152
b973155e
SM
11532012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1156 (bug#11077).
1157 (avl-tree--check, avl-tree--check-node): New funs.
1158
dcb6e7b3
MR
11592012-03-27 Martin Rudalics <rudalics@gmx.at>
1160
1161 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1162 (switch-to-prev-buffer, switch-to-next-buffer):
1163 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1164 showing a buffer already is done on the same frame.
1165
b4fa35fa
GM
11662012-03-27 Glenn Morris <rgm@gnu.org>
1167
1168 * startup.el (mail-host-address): Doc fix.
1169
f9210e18
SM
11702012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1173 than 197 variables.
1174
c0bf7753
AF
11752012-03-26 Ami Fischman <ami@fischman.org>
1176
1177 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1178
33da7b16
GM
11792012-03-26 Glenn Morris <rgm@gnu.org>
1180
02243d9d
GM
1181 * files.el (save-buffers-kill-emacs): Doc fix.
1182
33da7b16
GM
1183 * startup.el (normal-top-level, command-line, command-line-1):
1184 Give them doc strings.
1185
e5a69fd0
EZ
11862012-03-25 Eli Zaretskii <eliz@gnu.org>
1187
1188 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1189 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1190
9a69676a
CY
11912012-03-25 Chong Yidong <cyd@gnu.org>
1192
4125cb8b
CY
1193 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1194 theme if it was previously enabled before (Bug#11031).
1195
dd470960
CY
1196 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1197 spec with custom-face-get-current-spec if its :shown-value is not
1198 determined yet (Bug#9337).
4125cb8b 1199 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1200
9a69676a
CY
1201 * button.el (button-at): Minor addition to docstring.
1202
6e7e90fa
SL
12032012-03-24 Simon Leinen <simon.leinen@gmail.com>
1204
1205 * vc/vc.el (vc-merge): Fix a prompt.
1206
f06e2758
CY
12072012-03-24 Chong Yidong <cyd@gnu.org>
1208
1209 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1210 point (Bug#9623).
1211
6e7e90fa
SL
1212 * button.el (button-at): Minor addition to docstring.
1213
b9d0879b
SM
12142012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * newcomment.el (comment-choose-indent): No space after BOL.
1217
e71cebb3
SS
12182012-03-22 Sam Steingold <sds@gnu.org>
1219
1220 * window.el (switch-to-prev-buffer): Revert last patch because the
1221 bug turned out to be an advertised feature (Elisp manual 28.14).
1222
335aff35
GM
12232012-03-22 Glenn Morris <rgm@gnu.org>
1224
1225 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1226 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1227
c676576a
LMI
12282012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1229
1230 * net/network-stream.el (network-stream-open-starttls): Make error
1231 message under Windows be less misleading.
1232
126f3d39
LW
12332012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1234
1235 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1236 understands (bug#9942).
1237
64fee311
CY
12382012-03-22 Chong Yidong <cyd@gnu.org>
1239
1240 * simple.el (end-of-visible-line): Handle return value of
1241 next-single-property-change properly (Bug#9371).
1242
a640d29a
KH
12432012-03-22 Kenichi Handa <handa@m17n.org>
1244
1245 * international/quail.el (quail-insert-kbd-layout): Fix previous
1246 change. To avoid unwanted bidi reordering, use
1247 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1248
39675016
DG
12492012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1250
1251 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1252 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1253 (ruby-beginning-of-indent): Be more careful with the difference
1254 between word-boundary and symbol boundary.
1255 (ruby-mode-syntax-table): Make : a symbol constituent.
1256
0a6934fc 12572012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1258
3d008e4f
SM
1259 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1260
0a6934fc
SM
12612012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1262
af67c9d7
SM
1263 * progmodes/etags.el (tags-completion-at-point-function):
1264 Improve last fix.
1265
1acad97c
SM
1266 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1267
e298b5da
SS
12682012-03-21 Sam Steingold <sds@gnu.org>
1269
1270 * progmodes/etags.el (tags-completion-at-point-function):
1271 Avoid the error when point is inside the pattern.
1272
91d82a70
JY
12732012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1274
1275 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1276 line (Bug#10855).
1277
69188b79
CY
12782012-03-21 Drew Adams <drew.adams@oracle.com>
1279
1280 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1281
99fc91fe
AK
12822012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1283
1284 * ido.el (ido-set-current-directory, ido-read-internal)
1285 (ido-choose-completion-string, ido-completion-help): Handle nil
1286 value of ido-completion-buffer (Bug#11008).
1287
087bbb4c
SS
12882012-03-21 Sam Steingold <sds@gnu.org>
1289
1290 * window.el (switch-to-prev-buffer): Do not switch to a visible
1291 window previous buffer, just like with the frame previous buffers.
1292
fb5b8aca
CY
12932012-03-21 Chong Yidong <cyd@gnu.org>
1294
1295 * faces.el (make-face, make-empty-face, copy-face):
1296 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1297 Doc fixes.
1298
dc9924b8
SM
12992012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1302 (widget-complete): Remove broken use of it.
1303
f0bcceb9
CY
13042012-03-20 Chong Yidong <cyd@gnu.org>
1305
dc9924b8
SM
1306 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1307 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1308 characters.
1309
ee52ebf3
TH
13102012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1311
1312 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1313 to draw rectangles, not squares. (Regression introduced by revno
1314 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1315
4c5779ab
CY
13162012-03-18 Chong Yidong <cyd@gnu.org>
1317
1318 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1319 it is not yet defined (for temacs).
1320
15360934
LL
13212012-03-18 Leo Liu <sdl.web@gmail.com>
1322
dc9924b8 1323 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1324
d9a8eb66
EZ
13252012-03-17 Eli Zaretskii <eliz@gnu.org>
1326
1327 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1328 (ispell-choices-win-default-height, ispell-silently-savep)
1329 (ispell-dictionary-alist, ispell-encoding8-command)
1330 (ispell-check-version, ispell-aspell-find-dictionary)
1331 (ispell-valid-dictionary-list, ispell-words-keyword)
1332 (ispell-get-word, ispell-internal-change-dictionary)
1333 (ispell-region, ispell-skip-region-list)
1334 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1335 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1336 (ispell-message-text-end, ispell-message)
1337 (ispell-buffer-local-parsing): Doc fix.
1338
f02ff80d
J
13392012-03-13 Jambunathan K <kjambunathan@gmail.com>
1340
1341 * htmlfontify.el: Add support for code block fontification for ODT
1342 export (Bug #9914).
1343 (hfy-optimisations): Define new option
1344 `body-text-only'
1345 (hfy-fontify-buffer): Honor above setting.
1346 (hfy-begin-span, hfy-end-span): New routines factored out form
1347 `hfy-fontify-buffer'.
1348 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1349 that permit insertion of custom tags.
1350 (hfy-fontify-buffer): Use above handlers.
1351 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1352 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1353 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1354 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1355 bind a special variable `hfy-user-sheet-assoc'.
1356 (htmlfontify-string): New defun.
1357 (hfy-compile-face-map): Make sure that the last char in the
1358 buffer is correctly fontified.
1359 (hfy-face-resolve-face): Whitespace only change.
1360
9ac7a13f
EZ
13612012-03-17 Eli Zaretskii <eliz@gnu.org>
1362
1363 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1364 message more clear.
1365
e2b5bdd7
LL
13662012-03-16 Leo Liu <sdl.web@gmail.com>
1367
1368 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1369
2e492df3
AM
13702012-03-16 Alan Mackenzie <acm@muc.de>
1371
1372 Further optimise the handling of large macros.
1373
1374 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1375 limit to a call of `c-literal-limits'.
1376 (c-determine-+ve-limit): New function.
dc9924b8
SM
1377 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1378 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1379 In CASE 5B, restrict a search limit to 500.
1380 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1381
1382 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1383 Restrict macro bounds to +-500 from after-change's BEG END.
1384
50e94f0c
LL
13852012-03-16 Leo Liu <sdl.web@gmail.com>
1386
1387 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1388
6f09f6ed
AH
13892012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1390
1391 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1392 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1393
c7e73d51
GM
13942012-03-16 Glenn Morris <rgm@gnu.org>
1395
da986230
GM
1396 * view.el (view-buffer, view-buffer-other-window)
1397 (view-buffer-other-frame): Doc fixes re special mode-class.
1398
0835f01e
GM
1399 * subr.el (eval-after-load): If named feature is provided not from
1400 a file, run after-load forms. (Bug#10946)
1401
c7e73d51
GM
1402 * calendar/calendar.el (calendar-insert-at-column):
1403 Handle non-unit-width characters a bit better. (Bug#10978)
1404
3f2eafd1
CY
14052012-03-15 Chong Yidong <cyd@gnu.org>
1406
1407 * emacs-lisp/ring.el (ring-extend): New function.
1408 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1409
1410 * comint.el (comint-read-input-ring)
1411 (comint-add-to-input-history): Grow comint-input-ring lazily.
1412
103af3fe
SM
14132012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1414
663b1677
SM
1415 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1416 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1417
103af3fe
SM
1418 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1419 (imenu-add-to-menubar): Don't add a redundant index.
1420 (imenu-update-menubar): Handle a dynamically composed keymap.
1421
899cb7cb
KY
14222012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1423
1424 * mail/sendmail.el (mail-encode-header):
1425 Bind rfc2047-encode-encoded-words to nil.
1426
3809f91d
GM
14272012-03-13 Glenn Morris <rgm@gnu.org>
1428
1429 * calendar/calendar.el (calendar-string-spread):
1430 Handle non-unit-width characters a bit better. (Bug#10978)
1431
9e345a01
LL
14322012-03-13 Leo Liu <sdl.web@gmail.com>
1433
1434 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1435 directory and file as argument (Bug#10822).
1436
4a07df36
KS
14372012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1438
1439 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1440 For dynamically generated code, follow $PC.
1441 (gdb-disassembly-handler-custom): Handle no function name case.
1442
4aaa9356
TL
14432012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1444
1445 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1446 * emulation/ws-mode.el (ws-query-replace):
1447 * sort.el (sort-regexp-fields):
1448 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1449
225979da
SM
14502012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1451
1452 * dabbrev.el: Fix cycle completion order (bug#10963).
1453 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1454 (dabbrev-completion): Don't use an obarray; provide
1455 a cycle-sort-function.
1456
e2f1fdab
LL
14572012-03-12 Leo Liu <sdl.web@gmail.com>
1458
dc9924b8 1459 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1460 (kill-do-not-save-duplicates): Doc fix.
1461
b19490ed
SM
14622012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 * dabbrev.el: Fix cycle completion (bug#10963).
1465 Use lexical binding and wrap to 80 columns.
1466 (dabbrev-completion): Delay computing the list of completions.
1467
4b05d722
KH
14682012-03-12 Kenichi Handa <handa@m17n.org>
1469
1470 * international/quail.el (quail-insert-kbd-layout): Surround each
1471 row by LRO and PDF instead of inserting many LRMs. Pad the left
1472 and right of each non-spacing marks. Insert invisible space
1473 between lower and upper characters to prevent composition.
1474
dbbc2e69
SM
14752012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * minibuffer.el (minibuffer-complete): Don't get confused when the
1478 function is run twice via different commands (bug#10958).
1479 (complete-with-action): Fix docstring.
1480
292112ed
CY
14812012-03-12 Chong Yidong <cyd@gnu.org>
1482
5d1ac394
CY
1483 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1484 (nxml-completion-at-point-function): New function.
1485 (nxml-mode): Use it.
1486 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1487
292112ed
CY
1488 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1489 Load generated autoloads file before byte compiling (Bug#10970).
1490 (package--make-autoloads-and-compile): New helper fun.
1491
4098f8f7
CS
14922012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1493
1494 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1495
8f754691
MA
14962012-03-11 Michael Albinus <michael.albinus@gmx.de>
1497
1498 * autorevert.el (auto-revert-handler): Ensure, that
1499 file-readable-p is applied only for local files or in
1500 auto-revert-tail-mode.
1501
e29ab36b
AS
15022012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1503
dbbc2e69
SM
1504 * server.el (server-eval-at): Handle non-tcp connections.
1505 Decode result string.
ad0bf5b6 1506
e29ab36b
AS
1507 * server.el (server-msg-size): New constant.
1508 (server-reply-print): New function.
1509 (server-eval-and-print): Use it.
1510 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1511 Handle -print-nonl.
1512
de5939ba
CS
15132012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1514
1515 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1516 (Bug#10987).
1517
0c93eabf
CY
15182012-03-11 Chong Yidong <cyd@gnu.org>
1519
397a688f
CY
1520 * simple.el (goto-line): Doc fix (Bug#9938).
1521
2cc775f9
CY
1522 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1523
0c93eabf
CY
1524 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1525 when finished (Bug#10963).
1526
c491fa41
MR
15272012-03-11 Martin Rudalics <rudalics@gmx.at>
1528
1529 * window.el (split-window-below): Fix bug in case where
1530 split-window-keep-point is nil (Bug#10971).
1531
300e8fa5
JL
15322012-03-11 Juri Linkov <juri@jurta.org>
1533
1534 * replace.el (replace-highlight): Set isearch-word to nil
1535 unconditionally. (Bug#10887)
1536
dbf6c5a1
EZ
15372012-03-10 Eli Zaretskii <eliz@gnu.org>
1538
1539 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1540 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1541 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1542 (mairix-widget-create-query): Add usage information about mairix
1543 search forms: negating words, searching for substrings, etc.
1544
b9e501de
JP
15452012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1546
1547 * international/fontset.el (font-encoding-alist): Add an entry for
1548 ksx1001 (Bug#5667).
1549
92795c91
RS
15502012-03-10 Richard Stallman <rms@gnu.org>
1551
1694e6c1
RS
1552 * mail/sendmail.el (mail-encode-header):
1553 Set rfc2047-encode-encoded-words.
1554
607e8555
RS
1555 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1556
de3bc99a
RS
1557 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1558 view buffer means not swapped.
1559 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1560 (rmail-write-region-annotate): Error if real text has disappeared.
1561
92795c91
RS
1562 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1563
699bd04e
CY
15642012-03-10 Chong Yidong <cyd@gnu.org>
1565
1566 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1567 * emulation/cua-base.el (cua--init-keymaps):
1568 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1569
570a1714
MR
15702012-03-10 Martin Rudalics <rudalics@gmx.at>
1571
dbbc2e69
SM
1572 * speedbar.el (speedbar-unhighlight-one-tag-line):
1573 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1574
82dcf4e4
CY
15752012-03-10 Chong Yidong <cyd@gnu.org>
1576
7a2c7ca7
CY
1577 * minibuffer.el (completion-in-region, completion-help-at-point):
1578 Give the completion field overlay a high priority (Bug#6830).
1579
82dcf4e4
CY
1580 * dired.el (dired-goto-file): Recognize absolute file name
1581 listings (Bug#7126).
1582 (dired-goto-file-1): New helper function.
1583 (dired-toggle-read-only): Inhibit warnings.
1584
052e28ac
MA
15852012-03-09 Michael Albinus <michael.albinus@gmx.de>
1586
75f1671a 1587 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1588 there are no properties.
1589
95d5e396
LL
15902012-03-09 Leo Liu <sdl.web@gmail.com>
1591
1592 * savehist.el (savehist-printable): Stricter check for string
1593 value (Bug#10937).
1594
3f018d6d
EZ
15952012-03-09 Eli Zaretskii <eliz@gnu.org>
1596
dbbc2e69
SM
1597 * mail/smtpmail.el (smtpmail-send-it):
1598 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1599 valid mbox format.
1600
f7fd3d79
GM
16012012-03-09 Glenn Morris <rgm@gnu.org>
1602
1603 * files.el (dir-locals-find-file):
1604 Don't check result is regular, readable.
1605 (dir-locals-read-from-file): Demote errors.
1606
6ff6e72f
EZ
16072012-03-08 Eli Zaretskii <eliz@gnu.org>
1608
dbbc2e69
SM
1609 * international/quail.el (quail-insert-kbd-layout):
1610 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1611 layout cell, to prevent their reordering by bidi display engine.
1612 For details, see the discussion in
1613 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1614
9cec7834
AM
16152012-03-08 Alan Mackenzie <acm@muc.de>
1616
1617 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1618 the starting position; make it extend the marked region when
1619 invoked repeatedly - all under appropriate circumstances.
1620 Fixes bugs #5525, #10906.
1621
9a40b8d4
GM
16222012-03-08 Glenn Morris <rgm@gnu.org>
1623
1624 * files.el (locate-dominating-file, dir-locals-find-file):
1625 Undo 2012-03-06 change.
1626
7a08ed35
EZ
16272012-03-07 Eli Zaretskii <eliz@gnu.org>
1628
dbbc2e69
SM
1629 * international/quail.el (quail-help):
1630 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1631 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1632 for the reason.
1633
5aca4f71 16342012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1635
1636 Avoid superfluous registering of signals. (Bug#10807)
1637
1638 * notifications.el (notifications-on-action-object)
1639 (notifications-on-close-object): New defvars.
1640 (notifications-on-action-signal, notifications-on-closed-signal):
1641 Unregister the signal if not needed any longer.
1642 (notifications-notify): Register `notifications-action-signal' or
1643 `notifications-closed-signal', if :on-action or :on-close has been
1644 passed as argument.
1645
78e8b10a
CY
16462012-03-07 Chong Yidong <cyd@gnu.org>
1647
1648 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1649 non-X platforms.
1650
69481eb8
GM
16512012-03-06 Glenn Morris <rgm@gnu.org>
1652
1653 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1654 (x-disown-selection-internal, x-get-selection-internal):
1655 Doc fix (add arglist signatures). (Bug#10783)
1656
133b8e11
KS
16572012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1658
1659 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1660 Handle breakpoints with no "type".
1661
99a83064
GM
16622012-03-06 Glenn Morris <rgm@gnu.org>
1663
1664 * files.el (locate-dominating-file): Add optional predicate argument.
1665 (dir-locals-find-file): Make use of above change.
1666
17798e78
TTN
16672012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1668
1669 * info.el (Info-insert-dir): Also try "dir.gz".
1670
eb182446
GM
16712012-03-06 Glenn Morris <rgm@gnu.org>
1672
8f2114ee
GM
1673 * files.el (dir-locals-find-file):
1674 Ignore non-readable or non-regular files. (Bug#10928)
1675
eb182446
GM
1676 * files.el (locate-dominating-file): Doc fix.
1677
24679323
AS
16782012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1679
1680 * calendar/calendar.el (calendar-set-mode-line):
1681 `getenv' returns a string. (Bug#10951)
1682
01d972a9
LL
16832012-03-05 Leo Liu <sdl.web@gmail.com>
1684
109aa8a9
LL
1685 * simple.el (backward-delete-char-untabify): Constrain point to
1686 field (Bug#10939).
1687
01d972a9
LL
1688 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1689
10607bea
CY
16902012-03-05 Chong Yidong <cyd@gnu.org>
1691
1692 * simple.el (count-words): If called from Lisp, return the word
1693 count, for symmetry with `count-lines'. Arglist changed.
1694 (count-words--message): Args changed. Consolidate counting code
1695 from count-words and count-words-region.
1696 (count-words-region): Caller changed.
1697 (count-lines-region): Make it an obsolete alias.
1698
5dd11cfe
TH
16992012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1700
1701 * saveplace.el (save-place-to-alist)
1702 (save-place-ignore-files-regexp): Allow value nil to disable this
1703 feature.
1704
c349f4e6
CY
17052012-03-04 Chong Yidong <cyd@gnu.org>
1706
1707 * faces.el (face-spec-reset-face): For the default face, reset the
1708 attributes to default values (Bug#10748).
1709
e627be4c
LMI
17102012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1711
1712 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1713 previous patch: Check `message-send-mail-function', and not the
1714 default function (bug#10897).
1715
ebeabff4
MA
17162012-03-04 Michael Albinus <michael.albinus@gmx.de>
1717
a41a6cf4
MA
1718 * notifications.el (notifications-on-action-signal)
1719 (notifications-on-closed-signal): Check for unique service name of
1720 incoming event. Fix error in removing entry.
ebeabff4 1721 (top): Register for signals with wildcard service name.
a41a6cf4 1722 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1723
c1ca42b4
CY
17242012-03-04 Chong Yidong <cyd@gnu.org>
1725
dc9924b8 1726 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1727
ea16568d
GM
17282012-03-04 Glenn Morris <rgm@gnu.org>
1729
1730 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1731 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1732 (expand-abbrev, define-abbrev-table): Doc fixes.
1733
fbae4637
LMI
17342012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1735
1736 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1737 `message-default-send-mail-function' and not `send-mail-function'
1738 when doing the prompting for `sendmail-query-once' before sending
1739 in Message buffers (bug#10897).
1740
a1e7225c
LMI
1741 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1742 This is inconsistent with all the other stream functions, which leave
1743 the setting up to the higher levels (if so wanted) (bug#10931).
1744
56d093a9
AM
17452012-03-02 Alan Mackenzie <acm@muc.de>
1746
1747 Depessimize the handling of very large macros.
1748
1749 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1750 (c-macro-cache-syntactic): New variables to implement a one
1751 element macro cache.
1752 (c-invalidate-macro-cache): New function.
1753 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1754 Adapt to use the new cache.
1755 (c-state-safe-place): Use better the cache of safe positions.
1756 (c-state-semi-nonlit-pos-cache)
1757 (c-state-semi-nonlit-pos-cache-limit):
1758 New variables for...
1759 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1760 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1761 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1762 Use c-state-semi-safe-place.
56d093a9 1763
dbbc2e69
SM
1764 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1765 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1766
817e5c3d
MA
17672012-03-02 Michael Albinus <michael.albinus@gmx.de>
1768
dbbc2e69
SM
1769 * jka-compr.el (jka-compr-call-process):
1770 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1771 not remote.
1772
a032a702
MA
17732012-03-01 Michael Albinus <michael.albinus@gmx.de>
1774
1775 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1776 access of FILE2, if FILE1 does not exist.
1777
99a54f21
MA
1778 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1779 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1780
1781 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1782 Add "PAGER=" to `process-environment'.
1783
f6561e1f
MM
17842012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1785
1786 * progmodes/sql.el: Bug fix
1787 (sql-get-login-ext): Save login values in globals.
1788 (sql-get-login): Use new version of `sql-get-login-ext'.
1789 (sql-interactive-mode): Set global `sql-connection' to nil.
1790 (sql-connect): Set global values for connection.
1791 (sql-product-interactive): Save global values as buffer local.
1792
2d44d9cc
LL
17932012-02-29 Leo Liu <sdl.web@gmail.com>
1794
1795 * abbrev.el (define-abbrevs): Reset sys to nil.
1796
96b49301 17972012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1798
bf7f9bc5
JB
1799 * files.el (file-equal-p): Rename from `files-equal-p'.
1800 Return nil when one or both files don't exist.
96b49301 1801 (file-subdir-of-p): Now only top directory must exists,
1802 return nil if it doesn't.
bf7f9bc5
JB
1803 (copy-directory): No need to test with `file-subdir-of-p' after
1804 creating dir.
1805 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1806 to `file-equal-p'.
96b49301 1807
44e97401
GM
18082012-02-28 Glenn Morris <rgm@gnu.org>
1809
1810 * shell.el (shell-mode):
1811 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1812 * play/landmark.el (landmark-font-lock-face-O):
1813 * play/handwrite.el (handwrite):
1814 * play/gomoku.el (gomoku-O):
1815 * net/browse-url.el (browse-url-browser-display):
1816 * international/mule.el (define-charset):
1817 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1818 * filesets.el (filesets-find-file-delay):
1819 * eshell/em-xtra.el (eshell-xtra):
1820 * eshell/em-unix.el (eshell-grep):
1821 * emulation/viper.el (viper-mode):
1822 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1823 * emacs-lisp/easymenu.el (easy-menu-define):
1824 * calendar/timeclock.el (timeclock-use-display-time):
1825 * bs.el (bs-mode):
1826 * bookmark.el (bookmark-save-flag):
1827 Doc fix (standardize possessive apostrophe usage).
1828
c98c6276
CY
18292012-02-27 Chong Yidong <cyd@gnu.org>
1830
bf7f9bc5
JB
1831 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1832 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1833
c98c6276
CY
1834 * font-lock.el (font-lock-specified-p): Rename from
1835 font-lock-spec-present. Callers changed.
1836
9c62cd04 18372012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1838
bf7f9bc5
JB
1839 * emacs-lisp/package.el (package-compute-transaction):
1840 Handle holding a package version to t in package-load-list.
8ac9e529 1841
530739c9
MA
18422012-02-26 Michael Albinus <michael.albinus@gmx.de>
1843
1844 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1845 (tramp-get-inode, tramp-get-device): Use cached values.
1846
487915d7
AM
18472012-02-26 Alan Mackenzie <acm@muc.de>
1848
1849 Check there is a font-lock specification before doing initial
1850 fontification.
1851
1852 * font-core.el (font-lock-mode): Move the conditional from
1853 :after-hook to font-lock-initial-fontify.
1854 (font-lock-default-function): Move the check for a specification
1855 to font-lock-spec-present.
1856
dc9924b8 1857 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1858 (font-lock-spec-present): New function.
1859
4fd96557
JB
18602012-02-26 Jim Blandy <jimb@red-bean.com>
1861
1862 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1863 (gdb-send): Apply it to the operand of the '-interpreter-exec
1864 console' command, so that we can pass arguments with (say) quotes
1865 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1866
9a4888c0
CY
18672012-02-26 Chong Yidong <cyd@gnu.org>
1868
07498861
CY
1869 * help-fns.el (describe-function-1): Clarify description of
1870 remapping (Bug#10844).
1871
9a4888c0
CY
1872 * files.el (files-equal-p): Doc fix.
1873 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1874 and quit the loop once a mismatch is found.
1875
ea8fb88d
JB
18762012-02-25 Juanma Barranquero <lekktu@gmail.com>
1877
1878 * bs.el (bs--show-with-configuration): Don't throw an error
1879 if the window cannot be split; otherwise, subsequent calls to
1880 bs-show fail, restoring a stale window config. (Bug#10882)
1881
525795c1
JD
18822012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1883
1884 * term/ns-win.el (global-map): Bind ns-drag-file to
1885 ns-find-file (Bug#5855, Bug#10050).
1886
f008086f
AS
18872012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1888
1889 * calendar/parse-time.el (parse-time-string): Allow extractor to
1890 return nil.
1891
a3fcfa99
MA
18922012-02-25 Michael Albinus <michael.albinus@gmx.de>
1893
91027d08
JB
1894 * net/tramp.el (tramp-file-name-for-operation):
1895 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1896
1897 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1898 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1899 Add COPY-CONTENTS argument.
a3fcfa99 1900
67b0de11
CY
19012012-02-25 Chong Yidong <cyd@gnu.org>
1902
1903 Add custom groups for VC backends, for consistency with vc-bzr.
1904
1905 * vc/vc-arch.el (vc-arch):
1906 * vc/vc-cvs.el (vc-cvs):
1907 * vc/vc-git.el (vc-git):
1908 * vc/vc-hg.el (vc-hg):
1909 * vc/vc-mtn.el (vc-mtn):
1910 * vc/vc-rcs.el (vc-rcs):
1911 * vc/vc-sccs.el (vc-sccs):
1912 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1913 All relevant defcustoms reassigned.
1914
3c9dfce6
CY
19152012-02-25 Chong Yidong <cyd@gnu.org>
1916
1339bf43
CY
1917 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1918
3c9dfce6
CY
1919 * term/x-win.el (x-initialize-window-system): Reduce default for
1920 x-selection-timeout to 5 seconds (Bug#8869).
1921
25b2e303 19222012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1923
ec70a47d
GM
1924 * files.el (files-equal-p, file-subdir-of-p): New functions.
1925 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1926 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1927 * dired-aux.el (dired-copy-file-recursive): Same.
1928 (dired-create-files): Modify destination when source is equal to
1929 dest when copying files.
53a46cd0 1930 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1931
914260cd
MA
19322012-02-24 Michael Albinus <michael.albinus@gmx.de>
1933
1934 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1935 (Bug#10874)
1936
2cb228f7
AM
19372012-02-23 Alan Mackenzie <acm@muc.de>
1938
1939 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1940 parameter "after-hook:" to allow the expansion to run code after
1941 the execution of the mode hooks.
1942
1943 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1944 from font-lock-mode-internal.
2cb228f7 1945
91027d08 1946 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1947 :after-hook.
1948
8f0fde21
SM
19492012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1950
3e88618b
SM
1951 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1952 (completion--cache-all-sorted-completions): New function.
1953 (completion-all-sorted-completions): Use it.
1954 (completion--do-completion, minibuffer-force-complete):
1955 Use it to re-instate the flush hook.
1956
8f0fde21
SM
1957 * icomplete.el (icomplete-completions): Replace last fix with a better
1958 one (bug#10850).
1959
8e911f6f
DG
19602012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1961
1962 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1963 when it might call us back infinitely (bug#10797).
1964
49fe4321
GM
19652012-02-23 Glenn Morris <rgm@gnu.org>
1966
1967 * minibuffer.el (completion-category-overrides): Doc fix.
1968
b291b572
SM
19692012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1972 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1973
31a9ef2e
GM
19742012-02-23 Glenn Morris <rgm@gnu.org>
1975
5e6e6794 1976 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1977 (authors-obsolete-files-regexps, authors-ignored-files)
1978 (authors-ambiguous-files, authors-renamed-files-alist):
1979 Add more entries.
1980
0bd1e074
JL
19812012-02-23 Juri Linkov <juri@jurta.org>
1982
1983 * isearch.el (isearch-occur): Sync interactive spec with occur's
1984 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1985
b617673c
JL
1986 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1987
19e9789e
JL
19882012-02-22 Juri Linkov <juri@jurta.org>
1989
1990 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1991 (ucs-insert): Doc fix. Check for hex digits in the string.
1992 Don't display `nil' in the error message. (Bug#10857)
1993
f41ce09d
AM
19942012-02-22 Alan Mackenzie <acm@muc.de>
1995
7a71b18d 1996 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1997
ac2eceee
GM
19982012-02-22 Glenn Morris <rgm@gnu.org>
1999
2000 * ffap.el (ffap-c-path):
2001 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
2002
abd1f678
CY
20032012-02-22 Chong Yidong <cyd@gnu.org>
2004
2005 * custom.el (load-theme): Doc fix.
2006
f25aef2e
GM
20072012-02-22 Glenn Morris <rgm@gnu.org>
2008
2009 * dired-x.el (dired-guess-shell-alist-default):
2010 Remove escape sequences from nroff output. (Bug#172)
2011
5f8dc2ca
GM
20122012-02-21 Glenn Morris <rgm@gnu.org>
2013
6ff86ec4
GM
2014 * vc/emerge.el (emerge-defvar-local):
2015 Set `permanent-local' property rather than unused `preserved'.
2016
be3223a3 2017 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2018 (picture-mode-map): Use it. (Bug#10860)
2019 (picture-mode): Doc fix.
2020
3fe58f4f
JB
20212012-02-21 Juanma Barranquero <lekktu@gmail.com>
2022
2023 * newcomment.el (uncomment-region-default): Remove unused binding.
2024
f9a998c3
GM
20252012-02-21 Glenn Morris <rgm@gnu.org>
2026
2027 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2028 (picture-self-insert, picture-tab-chars): Doc fix.
2029 (picture-mode-map): Fix C-a, C-e.
2030
c6029348
GM
20312012-02-20 Glenn Morris <rgm@gnu.org>
2032
2033 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2034
ab1ce9d7
LL
20352012-02-20 Leo Liu <sdl.web@gmail.com>
2036
2037 * icomplete.el (icomplete-completions): Check FROM arg before
2038 passing to substring (Bug#10850).
2039
0fd40f89
CY
20402012-02-19 Chong Yidong <cyd@gnu.org>
2041
2042 * comint.el: Require ansi-color.
2043 (comint-output-filter-functions): Add ansi-color-process-output.
2044
2045 * ansi-color.el: Don't set comint-output-filter-functions; it is
2046 now in the initial value defined in comint.el.
2047 (ansi-color-apply-face-function): New variable.
2048 (ansi-color-apply-on-region): Use it.
2049 (ansi-color-apply-overlay-face): New function.
2050
2051 * shell.el (shell): No need to require ansi-color.
2052 (shell-mode): Use ansi-color-apply-face-function to highlight
2053 color escapes using font-lock-face property (Bug#10835).
2054
20af2394
CY
20552012-02-19 Chong Yidong <cyd@gnu.org>
2056
2057 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2058 mode-line formats (Bug#10839).
2059
e23a3fbe
GM
20602012-02-18 Glenn Morris <rgm@gnu.org>
2061
b474519e
GM
2062 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2063
2064 * mail/undigest.el (unforward-rmail-message): Doc fix.
2065
e23a3fbe
GM
2066 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2067
57939ff4
EZ
20682012-02-18 Eli Zaretskii <eliz@gnu.org>
2069
2070 * international/characters.el (script-list): Sync with the latest
2071 Unicode Character Database.
2072
0c23686e
AS
20732012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2074
2075 * international/titdic-cnv.el: Remove duplicate coding tag.
2076 * language/cham.el: Likewise.
2077 * language/tai-viet.el: Likewise.
2078
6818b449
GM
20792012-02-18 Glenn Morris <rgm@gnu.org>
2080
2081 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2082 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2083 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2084 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2085 * calendar/holidays.el (holiday-bahai-holidays)
2086 (calendar-holidays, list-holidays):
2087 Use utf-8 Bahá'í in doc-strings, menus, etc.
2088
0311a3fc
TH
20892012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2090
2091 * saveplace.el (save-place-ignore-files-regexp): New variable
2092 allowing for excluding files from saving their location of point.
2093 The default value matches the temporary commit message editing
2094 files from Git, SVN, Bazaar, and Mercurial.
2095 (save-place-to-alist): Use it.
2096
eb864a71
LM
20972012-02-17 Lawrence Mitchell <wence@gmx.li>
2098 Stefan Monnier <monnier@iro.umontreal.ca>
2099
2100 * newcomment.el (uncomment-region-default): Don't leave extra space
2101 when an arg is provided (bug#8150).
2102
ee0ce425
TZ
21032012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2104
eb864a71 2105 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2106
95ddf442
GM
21072012-02-17 Glenn Morris <rgm@gnu.org>
2108
2109 * net/socks.el: Require network-stream. (Bug#10599)
2110
48dd1e39 21112012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2112
2113 * international/charprop.el:
2114 * international/uni-name.el:
2115 * international/uni-old-name.el:
2116 * international/uni-comment.el: Regenerate.
2117
d68cd087
GM
21182012-02-16 Glenn Morris <rgm@gnu.org>
2119
2120 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2121 Interactively in calendar buffer, give an error if not on a date.
2122
13932042
GM
21232012-02-15 Glenn Morris <rgm@gnu.org>
2124
2125 * shell.el (shell-delimiter-argument-list):
2126 Revert 2011-02-17 change. (Bug#8027)
2127
c3a70e2b
CY
21282012-02-15 Chong Yidong <cyd@gnu.org>
2129
60236b0d
CY
2130 * minibuffer.el (completion-at-point-functions): Doc fix.
2131
c3a70e2b
CY
2132 * custom.el (defcustom): Doc fix; note use of defvar.
2133
9f26dc24
GM
21342012-02-15 Glenn Morris <rgm@gnu.org>
2135
2136 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2137 Doc fixes.
2138
6546b134
GM
21392012-02-14 Glenn Morris <rgm@gnu.org>
2140
2141 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2142
d29b2b4c
LI
21432012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2144
2145 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2146 way the ports list is computed.
835bdcba
LI
2147 (smtpmail-query-smtp-server): Prompt the user for a port number if
2148 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2149
08dcdbc9
TZ
21502012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2151
2152 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2153
2605051a
GM
21542012-02-13 Glenn Morris <rgm@gnu.org>
2155
2156 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2157
7ee99f32
TZ
21582012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2159
2160 * net/gnutls.el (gnutls-trustfiles): New variable.
2161 (gnutls-negotiate): Use it.
2162
5f0af64f
LI
21632012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2164
2165 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2166 does its stuff if Gnus is running.
2167
c14fcc95
AM
21682012-02-13 Alan Mackenzie <acm@muc.de>
2169
2170 Fix a loop in c-set-fl-decl-start.
2171
7a71b18d 2172 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2173 c-backward-syntactic-ws actually moves backwards.
2174
142b4d90
LL
21752012-02-13 Leo Liu <sdl.web@gmail.com>
2176
2177 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2178 beginning so that all \C-o chars are removed.
2179
fa9958a6
TZ
21802012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2181
dc9924b8 2182 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2183
0bc5886a
AM
21842012-02-12 Alan Mackenzie <acm@muc.de>
2185
2186 Fix infinite loop with long macros.
4d6769e1 2187 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2188
d4bd55e7
CY
21892012-02-12 Chong Yidong <cyd@gnu.org>
2190
2191 * window.el (display-buffer): Doc fix (Bug#10785).
2192
66f3fe22
GM
21932012-02-12 Glenn Morris <rgm@gnu.org>
2194
bd7da63e
GM
2195 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2196 (x-disown-selection-internal, x-get-selection-internal):
2197 Sync docs with the xselect.c versions.
2198
66f3fe22
GM
2199 * allout-widgets.el: Add missing license notice.
2200
3e0d2fa7
GM
22012012-02-11 Glenn Morris <rgm@gnu.org>
2202
cfecdf09
GM
2203 * select.el (x-get-selection-internal, x-own-selection-internal)
2204 (x-disown-selection-internal):
2205 * x-dnd.el (x-get-selection-internal): Update declarations.
2206
6d216d7f
GM
2207 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2208
2bed3f04
GM
2209 * window.el (window-sides-slots):
2210 * tool-bar.el (tool-bar-position):
2211 * term/xterm.el (xterm-extra-capabilities):
2212 * ses.el (ses-self-reference-early-detection):
2213 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2214 (verilog-auto-wire-type)
2215 (verilog-auto-delete-trailing-whitespace)
2216 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2217 (verilog-auto-tieoff-declaration):
2218 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2219 (sql-oracle-statement-starters, sql-oracle-scan-on):
2220 * progmodes/prolog.el (prolog-align-comments-flag)
2221 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2222 (prolog-left-indent-regexp, prolog-paren-indent-p)
2223 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2224 (prolog-types, prolog-mode-specificators)
2225 (prolog-determinism-specificators, prolog-directives)
2226 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2227 (prolog-electric-dot-flag)
2228 (prolog-electric-dot-full-predicate-template)
2229 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2230 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2231 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2232 (prolog-program-switches, prolog-prompt-regexp)
2233 (prolog-debug-on-string, prolog-debug-off-string)
2234 (prolog-trace-on-string, prolog-trace-off-string)
2235 (prolog-zip-on-string, prolog-zip-off-string)
2236 (prolog-use-standard-consult-compile-method-flag)
2237 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2238 (prolog-imenu-max-lines, prolog-info-predicate-index)
2239 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2240 (prolog-char-quote-workaround):
2241 * progmodes/cc-vars.el (c-defun-tactic):
2242 * net/tramp.el (tramp-encoding-command-interactive)
2243 (tramp-local-end-of-line):
2244 * net/soap-client.el (soap-client):
2245 * net/netrc.el (netrc-file):
2246 * net/gnutls.el (gnutls):
2247 * minibuffer.el (completion-category-overrides)
2248 (completion-cycle-threshold)
2249 (completion-pcm-complete-word-inserts-delimiters):
2250 * man.el (Man-name-local-regexp):
2251 * mail/feedmail.el (feedmail-display-full-frame):
2252 * international/characters.el (glyphless-char-display-control):
2253 * eshell/em-ls.el (eshell-ls-date-format):
2254 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2255 (lisp-lambda-list-keyword-parameter-indentation)
2256 (lisp-lambda-list-keyword-parameter-alignment):
2257 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2258 * dired-x.el (dired-omit-verbose):
2259 * cus-theme.el (custom-theme-allow-multiple-selections):
2260 * calc/calc.el (calc-highlight-selections-with-faces)
2261 (calc-lu-field-reference, calc-lu-power-reference)
2262 (calc-note-threshold):
2263 * battery.el (battery-mode-line-limit):
2264 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2265 (archive-7z-update):
2266 * allout.el (allout-prefixed-keybindings)
2267 (allout-unprefixed-keybindings)
2268 (allout-inhibit-auto-fill-on-headline)
2269 (allout-flattened-numbering-abbreviation):
2270 * allout-widgets.el (allout-widgets-auto-activation)
2271 (allout-widgets-icons-dark-subdir)
2272 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2273 (allout-widgets-theme-dark-background)
2274 (allout-widgets-theme-light-background)
2275 (allout-widgets-item-image-properties-emacs)
2276 (allout-widgets-item-image-properties-xemacs)
2277 (allout-widgets-run-unit-tests-on-load)
2278 (allout-widgets-time-decoration-activity)
2279 (allout-widgets-hook-error-post-time)
2280 (allout-widgets-track-decoration):
2281 Add missing :version tags to new defcustoms and defgroups.
2282
5fec1b8e
GM
2283 * progmodes/sql.el (sql-ansi-statement-starters)
2284 (sql-oracle-statement-starters): Add custom type.
2285
3e0d2fa7
GM
2286 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2287 (prolog-system-version): Give it a type.
2288
90b671e2
EZ
22892012-02-11 Eli Zaretskii <eliz@gnu.org>
2290
2291 * term/pc-win.el (x-select-text, x-selection-owner-p)
2292 (x-own-selection-internal, x-disown-selection-internal)
2293 (x-get-selection-internal): Sync doc strings and argument lists
2294 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2295
5eac0c02
LL
22962012-02-11 Leo Liu <sdl.web@gmail.com>
2297
2298 * progmodes/python.el (python-end-of-statement): Fix infinite
2299 loop. (Bug#10788)
2300
f82cb659
GM
23012012-02-10 Glenn Morris <rgm@gnu.org>
2302
2303 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2304 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2305
cc26d239
LI
23062012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2307
2308 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2309 about SMTP before checking the From header.
2310
91027d08 2311 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2312 into own function for reuse by emacsbug.el.
2313
1be3ca5a
LL
23142012-02-10 Leo Liu <sdl.web@gmail.com>
2315
2316 * subr.el (condition-case-unless-debug): Rename from
2317 condition-case-no-debug. All callers changed.
2318 (with-demoted-errors): Fix caller.
2319
2320 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2321 * nxml/rng-valid.el (rng-do-some-validation):
2322 * emacs-lisp/package.el (package-refresh-contents)
2323 (package-menu-execute):
2324 * desktop.el (desktop-create-buffer):
91027d08 2325 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2326
b011fbfe
GM
23272012-02-10 Glenn Morris <rgm@gnu.org>
2328
b2096d72
GM
2329 * textmodes/bibtex.el:
2330 Add missing :version tags for new/changed defcustoms.
2331
b011fbfe
GM
2332 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2333
4c7e65bf
LI
23342012-02-09 Lars Ingebrigtsen <larsi@rusty>
2335
2336 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2337 (smtpmail-via-smtp): Use it, or fall back on the From address.
2338 (smtpmail-send-it): Ditto.
2339
f3934f6f
SM
23402012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2343 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2344 (byte-compile-tmp-var): New const.
2345 (byte-compile-defvar): Use it to minimize .elc size.
2346 Just use `defvar' rather than simulate it (bug#10761).
2347
a075a2c5
GM
23482012-02-09 Glenn Morris <rgm@gnu.org>
2349
cf3aa21b
GM
2350 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2351
354998cd
GM
2352 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2353 Add :version tags.
2354
dc9924b8
SM
2355 * progmodes/compile.el (compilation-error-screen-columns)
2356 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2357
dab3703d
GM
2358 * vc/log-view.el (log-view-toggle-entry-display):
2359 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2360
3f88cd72
GM
2361 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2362 (report-emacs-bug-can-use-xdg-email):
2363 (report-emacs-bug-insert-to-mailer): Doc fixes.
2364 (report-emacs-bug): Message fix.
2365
d95b247d
GM
2366 * net/browse-url.el (browse-url-can-use-xdg-open)
2367 (browse-url-xdg-open): Doc fixes.
2368
a075a2c5
GM
2369 * electric.el (electric-indent-mode, electric-pair-mode)
2370 (electric-layout-rules, electric-layout-mode): Doc fixes.
2371 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2372
ffb6157e
MR
23732012-02-08 Martin Rudalics <rudalics@gmx.at>
2374
2375 * server.el (server-unselect-display): Don't inadvertently kill
2376 the current buffer. (Bug#10729)
2377
e1ac4066
GM
23782012-02-08 Glenn Morris <rgm@gnu.org>
2379
34e8a2da
GM
2380 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2381 (sql-list-table): Doc fixes.
2382
b4ac6e8c
GM
2383 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2384 Comment out (does nothing).
2385
e1ac4066
GM
2386 * completion.el (dynamic-completion-mode):
2387 * dirtrack.el (dirtrack-debug-mode):
2388 * electric.el (electric-layout-mode):
2389 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2390 * face-remap.el (text-scale-mode, buffer-face-mode):
2391 * iimage.el (iimage-mode):
2392 * image-mode.el (image-transform-mode):
2393 * minibuffer.el (completion-in-region-mode):
2394 * scroll-lock.el (scroll-lock-mode):
2395 * simple.el (next-error-follow-minor-mode):
2396 * tar-mode.el (tar-subfile-mode):
2397 * tooltip.el (tooltip-mode):
2398 * vcursor.el (vcursor-use-vcursor-map):
2399 * wid-browse.el (widget-minor-mode):
2400 * emulation/tpu-edt.el (tpu-edt-mode):
2401 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2402 * international/iso-ascii.el (iso-ascii-mode):
2403 * language/thai-util.el (thai-word-mode):
2404 * mail/supercite.el (sc-minor-mode):
2405 * net/goto-addr.el (goto-address-mode):
2406 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2407 * progmodes/cwarn.el (cwarn-mode):
2408 * progmodes/flymake.el (flymake-mode):
2409 * progmodes/glasses.el (glasses-mode):
2410 * progmodes/hideshow.el (hs-minor-mode):
2411 * progmodes/pascal.el (pascal-outline-mode):
2412 * textmodes/enriched.el (enriched-mode):
2413 * vc/smerge-mode.el (smerge-mode):
2414 Doc fixes (minor mode argument).
2415
5e0d957f
EZ
24162012-02-07 Eli Zaretskii <eliz@gnu.org>
2417
2418 * ls-lisp.el (ls-lisp-sanitize): New function.
2419 (ls-lisp-insert-directory): Use it to fix or remove any elements
2420 in file-alist with missing attributes. (Bug#4673)
2421
98d7371e
AM
24222012-02-07 Alan Mackenzie <acm@muc.de>
2423
2424 Fix spurious recognition of c-in-knr-argdecl.
2425
2426 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2427 putative K&R region.
2428
667ced3a
AM
24292012-02-07 Alan Mackenzie <acm@muc.de>
2430
eb864a71
LM
2431 * progmodes/cc-engine.el (c-forward-objc-directive):
2432 Prevent looping in "#pragma mark @implementation".
667ced3a 2433
5b77774d
MA
24342012-02-07 Michael Albinus <michael.albinus@gmx.de>
2435
2436 * notifications.el (notifications-on-closed-signal): Make `reason'
2437 optional. (Bug#10744)
2438
af008560
GM
24392012-02-07 Glenn Morris <rgm@gnu.org>
2440
60d47423
GM
2441 * emacs-lisp/easy-mmode.el (define-minor-mode):
2442 Doc fixes for the macro and the mode it defines.
2443
dd605cc4
GM
2444 * image.el (imagemagick-types-inhibit): Doc fix.
2445
af008560
GM
2446 * cus-start.el (imagemagick-render-type): Add it.
2447
5cc59a37
LI
24482012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2449
4d6769e1
JB
2450 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2451 Set the default at load time, too, so that `font-lock-fontify-buffer'
2452 can be called without setting up the entire mode first. This fixes
2453 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2454
9a6dd747
CY
24552012-02-06 Chong Yidong <cyd@gnu.org>
2456
2d16b285
CY
2457 * simple.el (list-processes--refresh): Delete exited processes
2458 (Bug#8094).
2459
171e9b6e
CY
2460 * comint.el (comint-next-prompt): next-single-char-property-change
2461 and prev-single-char-property-change never return nil (Bug#8657).
2462
9a6dd747
CY
2463 * custom.el (defcustom): Doc fix (Bug#9711).
2464
aa4589a7
CY
24652012-02-05 Chong Yidong <cyd@gnu.org>
2466
5c2a252f
CY
2467 * cus-edit.el (custom-variable-reset-backup): Quote the value
2468 before storing it in the customized-value property (Bug#6712).
4aab9006 2469 (custom-display): Add a customization type tag.
983b9602 2470 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2471
aa4589a7
CY
2472 * wid-edit.el (widget-field-value-get): New optional arg to
2473 suppress trailing whitespace truncation.
2474 (character): Use it (Bug#2689).
2475
1ff980ae
AS
24762012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2477
2478 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2479 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2480
03988c98
CY
24812012-02-05 Chong Yidong <cyd@gnu.org>
2482
eeb6cc88
CY
2483 * cus-edit.el (custom-variable-value-create): For mismatched
2484 types, show the current value (Bug#7600).
2485
03988c98
CY
2486 * custom.el (defcustom): Doc fix.
2487
f8cdeef0
GM
24882012-02-05 Glenn Morris <rgm@gnu.org>
2489
2490 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2491
0696d255
JB
24922012-02-05 Juanma Barranquero <lekktu@gmail.com>
2493
2494 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2495 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2496 (pp-last-sexp): Use `looking-at-p'.
2497
34c99998
GM
24982012-02-04 Glenn Morris <rgm@gnu.org>
2499
8f05da42
GM
2500 * files.el (revert-buffer):
2501 Doc fix (mention revert-buffer-in-progress-p).
2502
f160676e
GM
2503 * emacs-lisp/ert-x.el (ert-simulate-command):
2504 Check deferred-action-list (which is obsolete) is bound.
2505
c7291ad9
GM
2506 * subr.el (with-wrapper-hook): Doc fixes.
2507
34c99998
GM
2508 * simple.el (filter-buffer-substring-functions)
2509 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2510
6283a7d3
LL
25112012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2512
2513 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2514 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2515
e96e3013
LL
25162012-02-04 Leo Liu <sdl.web@gmail.com>
2517
2518 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2519
8ded50f2
GM
25202012-02-04 Glenn Morris <rgm@gnu.org>
2521
82ff1d13
GM
2522 * image.el (image-extension-data): Add obsolete alias.
2523
987a0a16
GM
2524 * isearch.el (isearch-update): Doc fix.
2525
ea32ef46
GM
2526 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2527
8ded50f2
GM
2528 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2529
eea14f31
GM
25302012-02-03 Glenn Morris <rgm@gnu.org>
2531
2532 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2533 (image-animate-timeout): Doc fix.
2534
2535 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2536
12f381b7
GM
25372012-02-02 Glenn Morris <rgm@gnu.org>
2538
953cebf5
GM
2539 * server.el (server-auth-dir): Doc fix.
2540 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2541
12f381b7
GM
2542 * subr.el (run-mode-hooks): Doc fix.
2543
953a8c3b
JL
25442012-02-02 Juri Linkov <juri@jurta.org>
2545
2546 * image-mode.el (image-toggle-display-image): Remove tautological
2547 `major-mode' from the `derived-mode-p' test.
2548
c5d3843c
KH
25492012-02-02 Kenichi Handa <handa@m17n.org>
2550
9f6e692e 2551 * composite.el (compose-region): Cancel previous change.
c5d3843c 2552
159462d4 25532012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2554
2555 * composite.el (compose-region, compose-string): Signal error for
2556 a null string component (Bug#6988).
2557
9f562668
CY
25582012-02-01 Chong Yidong <cyd@gnu.org>
2559
e2cef717
CY
2560 * view.el (view-buffer-other-window, view-buffer-other-frame):
2561 Handle special modes like view-buffer (Bug#10650).
2562 (view-buffer): Simplify.
2563
9f562668
CY
2564 * frame.el (set-frame-font): Tweak meaning of third argument.
2565
9f6e692e
JB
2566 * dynamic-setting.el (font-setting-change-default-font):
2567 Use set-frame-font (Bug#9982).
9f562668 2568
781acb9f
GM
25692012-02-01 Glenn Morris <rgm@gnu.org>
2570
6035be52
GM
2571 * progmodes/compile.el (compilation-internal-error-properties):
2572 Respect compilation-first-column in the "*compilation*" buffer.
2573
781acb9f
GM
2574 * emacs-lisp/easy-mmode.el (define-minor-mode):
2575 Relax :variable's test for a named function.
2576
abbceb00
AM
25772012-01-31 Alan Mackenzie <acm@muc.de>
2578
2579 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2580 off by one error.
2581
fce3fdeb
CY
25822012-01-31 Chong Yidong <cyd@gnu.org>
2583
2584 * frame.el (set-frame-font): New arg ALL-FRAMES.
2585
2586 * menu-bar.el (menu-set-font): Use set-frame-font.
2587
2588 * faces.el (face-spec-reset-face): Don't apply unspecified
2589 attribute values to the default face.
2590
47893581
JB
25912012-01-31 Juanma Barranquero <lekktu@gmail.com>
2592
2593 * progmodes/cwarn.el (cwarn): Remove dead link.
2594 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2595 Remove * from defcustom docstrings.
2596 (turn-on-cwarn-mode): Make obsolete.
2597 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2598 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2599
e58e988a
GM
26002012-01-31 Glenn Morris <rgm@gnu.org>
2601
60dc2671 2602 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2603 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2604 Allow named functions to be used as the cdr of :variable.
e58e988a 2605
7a3f511d
GM
26062012-01-30 Glenn Morris <rgm@gnu.org>
2607
2608 * emacs-lisp/authors.el (authors-fixed-entries):
2609 Remove reference to deleted file rnewspost.el.
2610
cb882333
JB
26112012-01-29 Juanma Barranquero <lekktu@gmail.com>
2612
2613 * window.el (window-with-parameter): Remove unused variable `windows'.
2614 (window--side-check): Remove unused variable `code'.
2615 (window--resize-siblings): Remove unused variable `first'.
2616 (adjust-window-trailing-edge): Remove unused variable `failed'.
2617 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2618 Use `let', not `let*'.
2619 (balance-windows-2): Remove unused variable `found'.
2620 (window--state-put-2): Remove unused variable `splits'.
2621 (window-state-put): Remove unused variable `selected'.
2622 (same-window-p): Use `string-match-p'.
2623 (display-buffer-assq-regexp): Remove unused variable `value'.
2624 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2625 Mark argument ALIST as ignored.
2626 (pop-to-buffer): Remove unused variable `old-window'.
2627
907201af
EZ
26282012-01-29 Eli Zaretskii <eliz@gnu.org>
2629
2630 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2631 and .lzma compressed files.
2632
ea162670
CY
26332012-01-29 Chong Yidong <cyd@gnu.org>
2634
5b95ee8a
CY
2635 * frame.el (window-system-default-frame-alist): Doc fix.
2636
ea162670
CY
2637 * dynamic-setting.el (font-setting-change-default-font): Don't
2638 change the default face if SET-FONT argument is non-nil (Bug#9982).
2639
d6e6f4b1
SB
26402012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2641
2642 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2643
0f29fa41 26442012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2645
2646 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2647 breakpoints in files outside current directory (Bug#6098).
2648
db174434
CY
26492012-01-29 Chong Yidong <cyd@gnu.org>
2650
6b25e4e2
SE
2651 * progmodes/python.el: Require ansi-color at top-level.
2652
6df6ae42
JB
2653 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2654 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2655 (lisp-mode-abbrev-table): Add doc.
2656 (lisp-mode-variables): Don't set local-abbrev-table.
2657 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2658
e70ee681
RW
26592012-01-28 Roland Winkler <winkler@gnu.org>
2660
2661 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2662
ace88aa2
RW
26632012-01-28 Roland Winkler <winkler@gnu.org>
2664
2665 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2666 (bibtex-set-dialect): Use it. Either set global values of
2667 dialect-dependent variables or bind these variables buffer-locally
2668 (Bug#10254).
2669 (bibtex-mode): Call bibtex-set-dialect via
2670 hack-local-variables-hook.
eb864a71
LM
2671 (bibtex-dialect): Update docstring.
2672 Add safe-local-variable predicate.
ace88aa2
RW
2673 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2674 bibtex-set-dialect.
2675 (bibtex-mode-map): Define menu for each dialect.
2676 (bibtex-entry): Fix docstring.
2677
93376c5b
CY
26782012-01-28 Chong Yidong <cyd@gnu.org>
2679
2680 * eshell/esh-arg.el (eshell-quote-argument): New function.
2681
2682 * eshell/esh-ext.el (eshell-invoke-batch-file):
2683 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2684 first arg to eshell-parse-command (Bug#10523).
2685
4372494f
DA
26862012-01-28 Drew Adams <drew.adams@oracle.com>
2687
2688 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2689 `default-directory' is non-nil.
2690
4d4ec1f8
EZ
26912012-01-28 Eli Zaretskii <eliz@gnu.org>
2692
2693 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2694 line that displays system-configuration-options. (Bug#9924)
2695
7c188927
DA
26962012-01-28 Drew Adams <drew.adams@oracle.com>
2697
2698 * descr-text.el (describe-char): Show information about POS, in
2699 addition to information about the character at POS. Improve and
2700 update the doc string. Change "code point" to "code point in
2701 charset", to avoid confusion with the character's Unicode code
2702 point shown above that. (Bug#10129)
2703
e0da685a
EZ
27042012-01-28 Eli Zaretskii <eliz@gnu.org>
2705
2706 * descr-text.el (describe-char): Show the raw character, not only
2707 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2708 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2709 for the reasons.
2710
70550acf
PH
27112012-01-28 Phil Hagelberg <phil@hagelb.org>
2712
eb864a71
LM
2713 * emacs-lisp/package.el (package-install):
2714 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2715
0ce8e868
CY
27162012-01-28 Chong Yidong <cyd@gnu.org>
2717
cb882333
JB
2718 * emacs-lisp/package.el (package-maybe-load-descriptor):
2719 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2720 (package-maybe-load-descriptor): Use it.
2721 (package-download-transaction): Fully load required packages
2722 inside the loop, so that `require' calls work (Bug#10593).
2723 (package-install): No need to call package-initialize now.
2724
2e7f3bea
CY
27252012-01-28 Chong Yidong <cyd@gnu.org>
2726
6e9bad14
CY
2727 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2728
f823b8ca
CY
2729 * tooltip.el (tooltip-mode): Doc fix.
2730 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2731
2680c309
CY
2732 * frame.el (set-cursor-color): Doc fix (Bug#352).
2733
d7a9e63b
CY
2734 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2735 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2736
2e7f3bea
CY
2737 * cus-edit.el (custom-buffer-create-internal): Fix search button
2738 action (Bug#10542).
2ae01800 2739 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2740
fc4f7a23
EW
27412012-01-27 Eduard Wiebe <usenet@pusto.de>
2742
2743 * dired.el (dired-mark-files-regexp):
2744 Include any subdirectory components. (Bug#10445)
2745
7dd37071
ML
27462012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2747
2748 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2749 Handle [host]:port syntax. (Bug#10533)
2750
a268160b
AH
27512012-01-27 Alex Harsanyi <harsanyi@mac.com>
2752
2753 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2754
e43273ef
GM
27552012-01-26 Glenn Morris <rgm@gnu.org>
2756
2757 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2758 * term.el (term-raw-escape-map): Use Control-X-prefix.
2759 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2760
1edf595d
MR
27612012-01-25 Martin Rudalics <rudalics@gmx.at>
2762
2763 * window.el (window-state-get, window--state-get-1): Don't deal
2764 with fixed-sizeness of windows. Simplify code.
2765
fa8eafef
JC
27662012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2767
6df6ae42
JB
2768 * window.el (window--state-get-1, window--state-put-2):
2769 Don't save and restore the mark.
fa8eafef 2770
0b21c100
CY
27712012-01-25 Chong Yidong <cyd@gnu.org>
2772
2773 * custom.el (custom-variable-p): Doc fix.
2774
5ae1a6c8
GM
27752012-01-25 Glenn Morris <rgm@gnu.org>
2776
40047858
GM
2777 * dired.el (dired-goto-file): Handle some of the more common
2778 characters that `ls -b' escapes. (Bug#10596)
2779
5ddce96c
GM
2780 * progmodes/compile.el (compilation-next-error-function):
2781 Respect compilation-first-column in the "*compilation*" buffer.
2782 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2783
5ae1a6c8
GM
2784 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2785
b559f1a9
GM
27862012-01-24 Glenn Morris <rgm@gnu.org>
2787
2788 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2789
6725d21a
JD
27902012-01-24 Julien Danjou <julien@danjou.info>
2791
2792 * color.el (color-rgb-to-hsl): Fix value computing.
2793 (color-hue-to-rgb): New function.
2794 (color-hsl-to-rgb): New function.
2795 (color-clamp, color-saturate-hsl, color-saturate-name)
2796 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2797 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2798
70df4bbe
GM
27992012-01-24 Glenn Morris <rgm@gnu.org>
2800
2801 * vc/vc-rcs.el (vc-rcs-create-tag):
2802 * vc/vc-sccs.el (vc-sccs-create-tag):
2803 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2804
802a2ae2
ML
28052012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2806
2807 * eshell/esh-util.el (eshell-read-hosts-file):
2808 Skip comment lines. (Bug#10549)
2809
d7128bb1
ML
2810 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2811
d1a5c3b4
JB
28122012-01-23 Juanma Barranquero <lekktu@gmail.com>
2813
2724d9c7
JB
2814 * subr.el (display-delayed-warnings): Doc fix.
2815 (collapse-delayed-warnings): New function to collapse identical
2816 adjacent warnings.
2817 (delayed-warnings-hook): Add it.
d1a5c3b4 2818
a5509865
MA
28192012-01-22 Michael Albinus <michael.albinus@gmx.de>
2820
2821 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2822
2823 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2824 properties, when "login-as" is set.
2825
2826 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2827 (tramp-default-user-alist): Don't add "pscp".
2828 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2829 property "login-as", if set. (Bug#10530)
2830
cc6d5805
MA
28312012-01-21 Michael Albinus <michael.albinus@gmx.de>
2832
2833 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2834 "plink1" and "psftp". (Bug#10530)
2835
28362012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2837
2838 * international/mule-cmds.el (prefer-coding-system): Show a
2839 warning message if the default value of file-name-coding-system
2840 was not changed.
2841
f0960428
JC
28422012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2843
cb882333
JB
2844 * windmove.el (windmove-reference-loc):
2845 Fix windmove-reference-loc miscalculation.
f0960428 2846
dd6f2a63
JB
28472012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2848
2849 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2850 default unit.
2851
7b447e9b
GM
28522012-01-21 Glenn Morris <rgm@gnu.org>
2853
117a9ea1
GM
2854 * international/mule.el (auto-coding-alist): Add .tbz.
2855
7b447e9b
GM
2856 * files.el (local-enable-local-variables): Doc fix.
2857 (inhibit-local-variables-regexps): Rename from
2858 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2859 Doc fix. Add some extensions from auto-coding-alist.
2860 (inhibit-local-variables-suffixes):
2861 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2862 (inhibit-local-variables-p):
2863 New function, extracted from set-auto-mode-1.
2864 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2865 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2866 (hack-local-variables): Doc fix. Make the mode-only case
2867 respect enable-local-variables and friends.
2868 Respect inhibit-local-variables-regexps for file-locals, but
2869 not for directory-locals.
2870 (set-visited-file-name):
2871 Take account of inhibit-local-variables-regexps.
2872 Whether it applies may change as the file name is changed.
2873 * jka-cmpr-hook.el (jka-compr-install):
2874 * jka-compr.el (jka-compr-uninstall):
2875 Update for inhibit-first-line-modes-suffixes name change.
2876
dd6e3cdd
MR
28772012-01-20 Martin Rudalics <rudalics@gmx.at>
2878
2879 * help-macro.el (make-help-screen): Temporarily restore original
2880 binding for minor-mode-map-alist (Bug#10454).
2881
0d0deb38
JD
28822012-01-19 Julien Danjou <julien@danjou.info>
2883
2884 * color.el (color-name-to-rgb): Use the white color to find the max
2885 color component value and return correctly computed values.
2886 (color-name-to-rgb): Add missing float conversion for max value.
2887
34a02f46
MR
28882012-01-19 Martin Rudalics <rudalics@gmx.at>
2889
2890 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2891 special state value for window-persistent-parameters.
2892 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2893 (window--state-put-2): Reset all window parameters to nil before
2894 assigning values of persistent parameters.
2895
606c44c4
AM
28962012-01-18 Alan Mackenzie <acm@muc.de>
2897
2898 Eliminate sluggishness and hangs in fontification of "semicolon
2899 deserts".
2900
cb882333
JB
2901 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2902 Change value 10000 -> 3000.
606c44c4
AM
2903 (c-state-safe-place): Reformulate so it doesn't stack up an
2904 infinite number of wrong entries in c-state-nonlit-pos-cache.
2905 (c-determine-limit-get-base, c-determine-limit): New functions to
2906 determine backward search limits disregarding literals.
2907 (c-find-decl-spots): Amend commenting.
2908 (c-cheap-inside-bracelist-p): New function which detects "={".
2909
2910 * progmodes/cc-fonts.el
2911 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2912 backward search.
2913 (c-font-lock-declarations): Fix an occurrence of point being
2914 undefined. Check additionally for point being in a bracelist or
2915 near a macro invocation without a semicolon so as to avoid a
2916 fruitless time consuming search for a declarator. Give a more
2917 precise search limit for declarators using the new
2918 c-determine-limit.
2919
f3860cea
GM
29202012-01-18 Glenn Morris <rgm@gnu.org>
2921
2922 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2923 (set-auto-mode): Doc fixes.
2924
1db03b16
GM
29252012-01-17 Glenn Morris <rgm@gnu.org>
2926
0e6038be
GM
2927 * isearch.el (search-nonincremental-instead): Fix doc typo.
2928
1db03b16
GM
2929 * dired.el (dired-insert-directory): Handle newlines in directory name.
2930 (dired-build-subdir-alist): Unescape newlines in directory name.
2931
4cb0aa75
MA
29322012-01-17 Michael Albinus <michael.albinus@gmx.de>
2933
2934 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2935 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2936 (tramp-action-terminal): Use it. (Bug#10530)
2937
1d00653d
SM
29382012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2941
6a6ee00d
MR
29422012-01-16 Martin Rudalics <rudalics@gmx.at>
2943
2944 * window.el (window-state-ignored-parameters): Remove variable.
2945 (window--state-get-1): Rename argument MARKERS to IGNORE.
2946 Handle persistent window parameters. Make copy of clone-of
2947 parameter only if requested. (Bug#10348)
2948 (window--state-put-2): Install a window parameter only if it has
2949 a non-nil value or an existing parameter shall be overwritten.
2950
97912def
MA
29512012-01-15 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2954
688070a5
EZ
29552012-01-14 Eli Zaretskii <eliz@gnu.org>
2956
2957 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2958 don't pass the (nil) value of `upnode' to string-match.
2959
301afadc
CY
29602012-01-14 Chong Yidong <cyd@gnu.org>
2961
2962 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2963 Fix values recognized by the cursorBlink resource.
301afadc 2964
9e5788aa
PE
29652012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2966
2967 * epg.el (epg--make-temp-file): Avoid permission race condition
2968 when running on old Emacs versions (bug#10403).
2969
3cdb7f5a
GM
29702012-01-14 Glenn Morris <rgm@gnu.org>
2971
2972 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2973
8c82b1b4
AM
29742012-01-13 Alan Mackenzie <acm@muc.de>
2975
2976 Fix filling for when filladapt mode is enabled.
2977
2978 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2979 c-mask-paragraph, pass in `fill-paragraph' rather than
2980 `fill-region-as-paragraph'. (This is a reversion of a previous
2981 change.)
eb864a71
LM
2982 * progmodes/cc-mode.el (c-basic-common-init):
2983 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2984
e517eda4
GM
29852012-01-13 Glenn Morris <rgm@gnu.org>
2986
1498536e
GM
2987 * dired.el (dired-switches-escape-p): New function.
2988 (dired-insert-directory): Use dired-switches-escape-p.
2989 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2990
e517eda4
GM
2991 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2992
328f984d
GM
29932012-01-12 Glenn Morris <rgm@gnu.org>
2994
2995 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2996 changes in adaptive-fill-regexp. (Bug#10276)
2997
2cc769a8
AM
29982012-01-11 Alan Mackenzie <acm@muc.de>
2999
3000 Fix Emacs bug #10463 - put `widen's around the critical spots.
3001
1d00653d 3002 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
3003 widen around each invocation of c-state-pp-to-literal. Remove an
3004 unused let variable.
3005
e52c37fa
GM
30062012-01-11 Glenn Morris <rgm@gnu.org>
3007
3008 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3009 Doc fix.
e52c37fa 3010
96f8741e
CY
30112012-01-10 Chong Yidong <cyd@gnu.org>
3012
1d00653d
SM
3013 * net/network-stream.el (network-stream-open-starttls):
3014 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3015 response to the capability command.
3016
b09a806e
GM
30172012-01-10 Glenn Morris <rgm@gnu.org>
3018
3019 * mail/unrmail.el (unrmail): Tweak previous change.
3020
7655cb66
CY
30212012-01-09 Chong Yidong <cyd@gnu.org>
3022
3023 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3024
9d5a8f0b
AM
30252012-01-08 Alan Mackenzie <acm@muc.de>
3026
3027 Optimise font locking in long enum definitions.
3028
3029 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3030 arm to a cond form to handle enums.
3031 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3032 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3033
9a0115ab 30342012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3035
3036 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3037 (Bug#10401)
6bb72cbd 3038
f186bb95
LMI
30392012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3040
29232a68
LMI
3041 * faces.el (set-face-attribute): Clarify the meaning of the nil
3042 frame (bug#10294).
3043
4e5d086d
LMI
3044 * subr.el (with-selected-frame): Mention that the selected frame
3045 is restored (bug#9980).
3046
8e66aebe
LMI
3047 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3048 (bug#9759).
3049
cd394be1 3050 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3051 (password-read): Don't autoload unused function.
3052
adf4e762
JB
30532012-01-07 Juanma Barranquero <lekktu@gmail.com>
3054
3055 * progmodes/which-func.el (which-func-mode): Turn into a
3056 non-interactive function and mark as obsolete (bug#10428).
3057
89bd9ccd
CY
30582012-01-06 Chong Yidong <cyd@gnu.org>
3059
3060 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3061 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3062 functions, along with 1 and -1.
3063
4afee9d5
EZ
30642012-01-06 Eli Zaretskii <eliz@gnu.org>
3065
3066 * time.el (display-time-load-average)
3067 (display-time-default-load-average): Doc fixes. See the thread
3068 starting at
3069 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3070 for the details.
3071
536aea70
GM
30722012-01-06 Glenn Morris <rgm@gnu.org>
3073
665ae865
GM
3074 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3075 has no messages. (Bug#10377)
3076
c869783d
GM
3077 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3078 than Info-edit. (Bug#10385)
3079
2bb4227e
GM
3080 * time.el (display-time-load-average, display-time-next-load-average):
3081 Doc fixes.
3082
7d5944b9
GM
3083 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3084 local setting of buffer-read-only to the input buffer. (Bug#10419)
3085
536aea70
GM
3086 * calendar/calendar.el (calendar-mode):
3087 Locally set scroll-margin to 0. (Bug#10379)
3088
7dccca16
UM
30892012-01-06 Ulrich Mueller <ulm@gentoo.org>
3090
3091 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3092
afbb7930
GM
30932012-01-05 Glenn Morris <rgm@gnu.org>
3094
3095 * eshell/em-unix.el (diff-no-select): Autoload it.
3096 (eshell/diff): Use diff-no-select. (Bug#10420)
3097
04482335
CY
30982012-01-05 Chong Yidong <cyd@gnu.org>
3099
7baca3bc
CY
3100 * shell.el (shell-dynamic-complete-functions): Revert last change.
3101 (shell-command-completion-function): New function.
3102 (shell-completion-vars): Use it to implement
3103 shell-completion-execonly (Bug#10417).
3104
04482335
CY
3105 * custom.el (enable-theme): Don't set custom-safe-themes.
3106
1d00653d
SM
3107 * cus-theme.el (custom-theme-merge-theme):
3108 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3109
bb5aa5d6
MM
31102012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3111
3112 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3113 first prompt in `sql-interacive-mode'.
3114 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3115 keywords.
6df6ae42 3116 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3117 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3118 context of original buffer. Invoke `sql-login-hook'.
3119
a7183d7c
EZ
31202012-01-04 Eli Zaretskii <eliz@gnu.org>
3121
3122 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3123 letters in cite-prefix.
3124
a1eacd1e
LMI
31252012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3126
3127 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3128
787cdb34
CY
31292012-01-03 Chong Yidong <cyd@gnu.org>
3130
1d00653d
SM
3131 * shell.el (shell-dynamic-complete-functions):
3132 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3133 comint-filename-completion first (Bug#10417).
3134
30710442
RS
31352012-01-02 Richard Stallman <rms@gnu.org>
3136
3137 * battery.el (battery-status-function):
3138 Detect when to use battery-yeeloong-sysfs.
3139 (battery-echo-area-format): Add string for Yeeloong.
3140 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3141 (battery-yeeloong-sysfs): New function.
3142
f75bfc33
CY
31432012-01-02 Chong Yidong <cyd@gnu.org>
3144
3145 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3146 (dirtrack): Merge code for handling relative filenames in prompt
3147 from shell-dir-cookie-watcher.
3148 (dirtrack-debug-message): New arg to avoid excess format calls.
3149
3150 * shell.el (shell-dir-cookie-re): Variable deleted.
3151 (shell-dir-cookie-watcher): Function deleted.
3152 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3153 with dirtrack-mode.
3154
651e947e
EZ
31552012-01-01 Eli Zaretskii <eliz@gnu.org>
3156
1d00653d
SM
3157 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3158 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3159 libgnutls-26.dll.
3160
94d4c7dc
AS
31612011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3162
3163 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3164
8d43f3cd
EZ
31652011-12-31 Eli Zaretskii <eliz@gnu.org>
3166
3167 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3168 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3169
98c8795a
MA
31702011-12-29 Michael Albinus <michael.albinus@gmx.de>
3171
3172 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3173 also for alternative shells.
3174 (tramp-open-connection-setup-interactive-shell): Check, whether
3175 the shell is a busybox.
3176 (tramp-send-command): Don't suppress multiple prompts for
3177 busyboxes, it hurts.
3178
51281b32
CY
31792011-12-28 Chong Yidong <cyd@gnu.org>
3180
3181 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3182 (gdb-get-source-file): Move mode line update to
3183 gdb-get-source-file (Bug#10087).
3184
2170cb53
CY
31852011-12-25 Chong Yidong <cyd@gnu.org>
3186
3187 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3188 gud-gdb-marker-filter without taking it as an argument.
3189 (gud-gdb-run-command-fetch-lines): Caller changed.
3190 (gud-gdb-completion-function): New variable.
3191 (gud-gdb-completion-at-point): Use it.
3192 (gud-gdb-completions-1): Split from gud-gdb-completions.
3193
3194 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3195 function as separate arguments.
3196 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3197 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3198 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3199 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3200 (gdb-stopped, def-gdb-auto-update-trigger)
3201 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3202 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3203 Callers changed.
2170cb53
CY
3204 (gud-gdbmi-completions): New function.
3205 (gdb): Use it for generating the completion table.
3206
be8b11bb
AM
32072011-12-24 Alan Mackenzie <acm@muc.de>
3208
3209 Introduce a mechanism to widen the region used in context font
1d00653d 3210 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3211
1d00653d
SM
3212 * progmodes/cc-langs.el (c-before-font-lock-functions):
3213 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3214 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3215 functions to be run just before context (etc.) font locking.
3216
3217 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3218 New, functionality extracted from
be8b11bb 3219 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3220 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3221 (c-after-change): Set c-in-after-change-fontification.
3222 (c-set-fl-decl-start): Rejig its interface, so it can be called
3223 from both after-change and context fontifying.
b81d40f0
JB
3224 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3225 New functions.
3226 (c-standard-font-lock-fontify-region-function): New variable.
3227 (c-font-lock-fontify-region): New function.
be8b11bb 3228
341cf6ac
JL
32292011-12-24 Juri Linkov <juri@jurta.org>
3230
3231 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3232 (Bug#10348)
3233
bffcee0a
MA
32342011-12-23 Michael Albinus <michael.albinus@gmx.de>
3235
3236 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3237 existence of source file. (Bug#10325)
3238
cb5e207c
AM
32392011-12-23 Alan Mackenzie <acm@muc.de>
3240
3241 Fix unstable fontification inside templates.
3242
b81d40f0
JB
3243 * progmodes/cc-langs.el (c-before-font-lock-functions):
3244 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3245 additionally has c-set-fl-decl-start. The other languages (apart
3246 from AWK) have that as a single entry.
3247
b81d40f0
JB
3248 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3249 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3250 c-set-fl-decl-start.
3251
b81d40f0
JB
3252 * progmodes/cc-mode.el (c-common-init, c-after-change):
3253 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3254 (c-set-fl-decl-start): New function, extracted from
3255 c-font-lock-enclosing-decls and enhanced.
3256
60ff536c
JB
32572011-12-23 Juanma Barranquero <lekktu@gmail.com>
3258
3259 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3260
1c4757d6
JL
32612011-12-22 Juri Linkov <juri@jurta.org>
3262
3263 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3264
d031f2c7
CY
32652011-12-22 Chong Yidong <cyd@gnu.org>
3266
3267 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3268
bace743a
DA
32692011-12-21 Drew Adams <drew.adams@oracle.com>
3270
3271 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3272
728a1f2b
JC
32732011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3274
3275 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3276
0d373f73
TZ
32772011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3278
fec0aaa4
TZ
3279 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3280 highlighting and support. Fix up comments for capitalization.
3281 (cfengine-mode-debug): New var.
3282 (cfengine3-mode): Change the modeline indicator to "CFE3".
3283 (cfengine3-font-lock-keywords): Improve defun highlighting.
3284 (cfengine2-actions): Rename from `cfengine-actions'.
3285 (cfengine2-font-lock-keywords): Rename from
3286 `cfengine-font-lock-keywords'.
3287 (cfengine2-imenu-expression): Rename from
3288 `cfengine-imenu-expression'.
3289 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3290 (cfengine2-beginning-of-defun): Rename from
3291 `cfengine-beginning-of-defun'.
3292 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3293 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3294 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3295 modeline indicator to "CFE2".
3296 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3297 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3298
bc86f573
CY
32992011-12-21 Chong Yidong <cyd@gnu.org>
3300
3301 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3302 filename argument.
3303
d45ba96b
MR
33042011-12-20 Martin Rudalics <rudalics@gmx.at>
3305
3306 * window.el (window-normalize-buffer-to-display): Remove.
3307 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3308
a6198c90
CY
33092011-12-19 Chong Yidong <cyd@gnu.org>
3310
3311 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3312 Don't signal an error in a predicate function; return non-nil.
3313 (vc-dir-mark-file): Move the error here.
3314 (vc-dir-mark-unmark): If acting on the region, keep going if one
3315 of the entries cannot be marked/unmarked.
3316 (vc-dir-mark-all-files): If current entry is a directory, mark
3317 only child files, as documented.
3318
34c5fb55
VB
33192011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3320
3321 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3322 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3323 addition.
3324
c803b2b7
JD
33252011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3326
3327 * term/ns-win.el (ns-get-selection-internal)
3328 (ns-store-selection-internal): Declare.
1154d12e
JB
3329 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3330 Declare as obsolete.
3331 (ns-get-pasteboard, ns-paste-secondary):
3332 Use ns-get-selection-internal.
3333 (ns-set-pasteboard, ns-copy-including-secondary):
3334 Use ns-store-selection-internal.
c803b2b7 3335
9cff91f8 33362011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3337
3338 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3339 (vc-deduce-fileset): Doc fix.
99a289d9 3340
f16c898a
AS
33412011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3342
3343 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3344
763237c4
SS
33452011-12-13 Sam Steingold <sds@gnu.org>
3346
3347 * man.el (Man-getpage-in-background): When running under a
3348 window-system, ignore $MANWIDTH and $COLUMNS.
3349
5fc1c122
KH
33502011-12-15 Kenichi Handa <handa@m17n.org>
3351
3352 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3353 (setup-ethiopic-environment-internal): Comment out key-binding for
3354 ethio-toggle-punctuation.
3355
13d49cbb
AM
33562011-12-13 Alan Mackenzie <acm@muc.de>
3357
898169a2
AM
3358 Add the switch statement to AWK Mode.
3359
7a71b18d 3360 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3361 "default" to the keywords regexp.
3362
7a71b18d 3363 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3364 expression as the rest.
1d00653d
SM
3365 (c-nonlabel-token-key): Allow string literals for AWK.
3366 Refactor for the other modes.
898169a2 3367
13d49cbb 3368 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3369 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3370 routines. Limit backward searching in c-font-lock-enclosing.decl.
3371
3372 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3373 pp-state and literal type in addition to the limits.
1d00653d 3374 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3375 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3376 (c-slow-in-literal, c-fast-in-literal): Remove.
3377 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3378
3379 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3380 being in a literal. Add a limit for backward searching.
3381
3382 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3383 c-slow-in-literal.
3384
15e0efc7
SM
33852011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3388
454592a6
MR
33892011-12-13 Martin Rudalics <rudalics@gmx.at>
3390
3391 * window.el (delete-other-windows): Use correct frame in call to
3392 window-with-parameter.
3393
87393f26
DP
33942011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3395
3396 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3397 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3398 (makefile-gmake-statements, makefile-makepp-statements):
3399 Use it and add new makepp keywords.
3400 (makefile-makepp-font-lock-keywords): Add new patterns.
3401 (makefile-match-function-end): Match new [...] and [[...]].
3402
11636b22
JB
34032011-12-11 Juanma Barranquero <lekktu@gmail.com>
3404
3405 * ses.el (ses-call-printer-return, ses-cell-property-get)
3406 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3407 (ses-create-cell-variable, ses-reset-header-string)
3408 (ses-cell-set-formula, ses-repair-cell-reference-all)
3409 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3410 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3411 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3412 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3413 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3414 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3415 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3416 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3417 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3418 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3419 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3420 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3421
cf018193
VB
34222011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3423
3424 * ses.el: The overall change is to add cell renaming, that is
3425 setting fancy names for cell symbols other than name matching
3426 "\\`[A-Z]+[0-9]+\\'" regexp .
3427 (ses-create-cell-variable): New defun.
3428 (ses-relocate-formula): Relocate formulas only for cells the
3429 symbols of which are not renamed, i.e. symbols whose names do not
3430 match regexp "\\`[A-Z]+[0-9]+\\'".
3431 (ses-relocate-all): Relocate values only for cells the symbols of
3432 which are not renamed.
3433 (ses-load): Create cells variables as the (ses-cell ...) are read,
3434 in order to check row col consistency with cell symbol name only
3435 for cells that are not renamed.
3436 (ses-replace-name-in-formula): New defun.
3437 (ses-rename-cell): New defun.
3438
ee957461
CY
34392011-12-11 Chong Yidong <cyd@gnu.org>
3440
3441 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3442 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3443
9a9e9ef0
MR
34442011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3445
3446 * window.el (other-window): Fix docstring.
3447
92a8eba5
EZ
34482011-12-10 Eli Zaretskii <eliz@gnu.org>
3449
3450 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3451 `from' or `to' address before taking its substring.
3452 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3453 encoded name is chopped in the middle of the encoded string, and
3454 thus displayed encoded.
3455
e152e577
JB
34562011-12-10 Juanma Barranquero <lekktu@gmail.com>
3457
3458 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3459
e5d84bfe
EZ
34602011-12-10 Eli Zaretskii <eliz@gnu.org>
3461
3462 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3463 to use texinfo-update-node and commands that call it if the
3464 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3465 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3466 (texinfo-all-menus-update, texinfo-master-menu)
3467 (texinfo-update-node, texinfo-every-node-update)
3468 (texinfo-multiple-files-update): Doc fix. Warn against updating
3469 all the @node lines.
3470 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3471 argument is numeric. Explain better in the doc string what the
3472 function really does.
3473 (texinfo-insert-master-menu-list): Improve the error message
3474 displayed if there's no menu in the Top node.
3475 (Bug#2975) See also this thread:
e5d84bfe
EZ
3476 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3477
1d84e9bb
MG
34782011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3479
3480 * speedbar.el (speedbar-supported-extension-expressions):
3481 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3482
382c953b
JB
34832011-12-09 Juanma Barranquero <lekktu@gmail.com>
3484
3485 * printing.el (pr-mode-alist):
3486 * simple.el (filter-buffer-substring-functions)
3487 (completion-list-insert-choice-function):
3488 * window.el (window-with-parameter, window-atom-root)
3489 (window-sides-slots, window-size-fixed, window-min-delta)
3490 (window-max-delta, window--resize-mini-window)
3491 (window--resize-child-windows-normal, window-tree)
3492 (delete-other-windows, quit-window, split-window)
3493 (display-buffer-record-window, special-display-buffer-names)
3494 (special-display-regexps, special-display-popup-frame)
3495 (same-window-p, split-window-sensibly)
3496 (display-buffer-overriding-action, display-buffer-alist)
3497 (display-buffer-base-action, display-buffer, switch-to-buffer)
3498 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3499 (fit-window-to-buffer, recenter-positions)
3500 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3501 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3502 and remove unneeded backslashes in docstrings.
3503
39c9faef
SM
35042011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3505
98449af8
SM
3506 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3507
39c9faef
SM
3508 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3509 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3510 end in ".mk".
3511 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3512 when reading the makefile (bug#10116).
3513
86ed9fdc
SM
35142011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3517 (bug#10116).
3518
5580f89d
GM
35192011-12-06 Glenn Morris <rgm@gnu.org>
3520
3521 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3522
28d3917c
CY
35232011-12-06 Chong Yidong <cyd@gnu.org>
3524
3525 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3526
a98edce9
JB
35272011-12-06 Juanma Barranquero <lekktu@gmail.com>
3528
3529 * textmodes/table.el (table-shorten-cell): Fix typo.
3530
e65adfac
CG
35312011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3532
3533 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3534
71cc0b74
EZ
35352011-12-05 Eli Zaretskii <eliz@gnu.org>
3536
3537 * descr-text.el (describe-char): Fix display of strong
3538 right-to-left characters and directional embeddings and overrides.
3539
3540 * simple.el (what-cursor-position): Fix display of codepoints of
3541 strong right-to-left characters.
3542
315bc30d
CY
35432011-12-05 Chong Yidong <cyd@gnu.org>
3544
3545 * faces.el (read-color): Doc fix.
3546
58a70b94
GM
35472011-12-05 Glenn Morris <rgm@gnu.org>
3548
3549 * align.el (align--set-marker): Add doc-string.
3550 Don't try to move something that is not a marker. (Bug#10216)
3551
5158face
GM
35522011-12-04 Glenn Morris <rgm@gnu.org>
3553
3554 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3555 overly zealous deletion of trailing whitespace.
3556
520fca41
JB
35572011-12-04 Juanma Barranquero <lekktu@gmail.com>
3558
3559 * server.el (server-delete-client): On Windows, do not try to delete
3560 the only terminal.
3561 (server-process-filter): On Windows, treat requests for a tty frame as
3562 if they were for a GUI frame if the running server is in GUI mode.
3563
5e605a2e
GM
35642011-12-03 Glenn Morris <rgm@gnu.org>
3565
3566 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3567
5c3fe83f
SM
35682011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3569
6f5e57e7
SM
3570 * electric.el: Streamline electric-indent's hook.
3571 (electric-indent-chars): Revert to simple list.
3572 (electric-indent-functions): New var.
3573 (electric-indent-post-self-insert-function): Use it.
3574
5c3fe83f
SM
3575 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3576 there's no inferior buffer (bug#10196).
3577 (prolog-consult-compile): Don't use toggle-read-only.
3578
6bdac736
MA
35792011-12-02 Michael Albinus <michael.albinus@gmx.de>
3580
3581 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3582 interrupt. (Bug#10187)
3583
6131ba7f
SM
35842011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3585
99c79fee
SM
3586 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3587 (bug#9160).
3588
6131ba7f
SM
3589 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3590 (bug#10191).
3591
cb0a02ea
JL
35922011-12-02 Juri Linkov <juri@jurta.org>
3593
3594 * info.el (Info-search): Display "end of manual" when Isearch
3595 reaches the end of single-file Info manual. (Bug#9918)
3596
66e0570c
EZ
35972011-12-02 Eli Zaretskii <eliz@gnu.org>
3598
3599 * isearch.el (isearch-message-prefix): Run the input method part
3600 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3601
02b16839
JL
36022011-12-02 Juri Linkov <juri@jurta.org>
3603
3604 * isearch.el (isearch-occur): Use `word-search-regexp' for
3605 `isearch-word'.
3606 (isearch-search-and-update): Add condition for `isearch-word' and
3607 call `word-search-regexp'. (Bug#10145)
3608
0b950688
GM
36092011-12-01 Glenn Morris <rgm@gnu.org>
3610
3611 * eshell/em-hist.el (eshell-hist-initialize):
3612 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3613 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3614
9505c3c7
SM
36152011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3618
1bbe96b2 36192011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3620
a1beca85
SM
3621 * progmodes/verilog-mode.el (verilog-pretty-expr):
3622 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3623 verilog, such as += *= and the like.
3624 (verilog-assignment-operator-re): Regular expression to find the
3625 assigment operator in a verilog assignment.
3626 (verilog-assignment-operation-re): Regular expression to find an
3627 assignment statement for pretty-expr.
3628 (verilog-in-attribute-p): Query returns true if point is in an
3629 attribute context; used to skip these for expression line up from
3630 pretty-expr.
3631 (verilog-in-parameter-p): Query returns true if point is in an
3632 parameter definition context; used to skip these for expression
3633 line up from pretty-expr.
3634 (verilog-in-parenthesis-p): Query returns true if point is in a
3635 parenthetical expression, specifically ( ) but not [ ] or { };
3636 used by pretty-expr.
3637 (verilog-just-one-space): If there is no space, don't add one.
3638 (verilog-get-lineup-indent-2): Specifically skip just attribute
3639 contexts for expression lineup, rather than skipping all
3640 parenthetical expressions.
3641 (verilog-calculate-indent): Fix comment, and fix indent.
3642 (verilog-do-indent): Indent declarations in lists (suggested by
3643 Joachim Lechner).
3644 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3645 skeleton items.
3646 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3647 by Alain Mellan).
3648
1bbe96b2 36492011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3650
3651 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3652 parameters with embedded comments. Reported by Ray Stevens.
3653 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3654 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3655 Reported by Tim Holt.
3656 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3657 instantiated by upper module causing wrong expansion until AUTOed a
3658 second time. Reported by K C Buckenmaier.
3659 (verilog-diff-auto): Fix showing .* as a difference when
3660 `verilog-auto-star-save' off. Reported by Dan Dever.
3661 (verilog-auto-reset, verilog-read-always-signals)
3662 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3663 temporary signals in reset list if
3664 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3665 style to each signal's assignment type, bug381.
3666 Reported by Thomas Esposito.
6288f0ca
WS
3667 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3668 (verilog-uvm-statement-re): Support UVM indentation and
3669 highlighting, with old OVM keywords only.
a1beca85 3670 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3671 Support AUTOTIEOFF creating non-wire data types.
3672 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3673 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3674 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3675 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3676 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3677 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3678 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3679 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3680 non-numeric vector width. Reported by Alex Reed.
3681 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3682 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3683 (verilog-auto-delete-trailing-whitespace):
3684 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3685 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3686 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3687 Fix verilog-scan-cache corruption when running user AUTO expansion
3688 hooks that call indentation routines.
3689 (verilog-simplify-range-expression): Fix typo ignoring lower case
3690 identifiers.
3691 (verilog-delete-auto): Fix delete-autos to also remove user created
3692 automatics, as long as they start with AUTO.
3693 (verilog-batch-diff-auto, verilog-diff-auto)
3694 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3695 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3696 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3697 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3698 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3699 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3700 is disabled and its cache will get corrupt, causing AUTOS not to
3701 expand. Instead use only -quick functions.
3702 (verilog-scan-region): Fix scanning over escaped quotes.
3703 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3704 (verilog-re-search-backward-quick)
3705 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3706 related functions now ignore strings, to fix misparsing of strings
3707 with magic comments embedded in them.
a1beca85
SM
3708 (verilog-read-auto-template):
3709 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3710 Reported by Brad Dobbie.
3711 (verilog-read-auto-template):
3712 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3713 Reported by Brad Dobbie.
6288f0ca
WS
3714 (verilog-auto-inst, verilog-auto-inst-param)
3715 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3716 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3717 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3718 debugging templates without merge conflicts, bug357.
3719 Reported by Brad Dobbie.
3720 (verilog-read-auto-template):
3721 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3722 Reported by Brad Dobbie.
3723 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3724 abbrevs so user won't be asked to save.
3725 (verilog-read-auto-lisp-present): Fix to start at beginning of
3726 buffer in case called outside of verilog-auto.
3727 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3728 to "X-2". Reported by Matthew Myers.
3729 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3730 all inputs from module templates. Reported by Leith Johnson.
3731 (verilog-module-inside-filename-p): Fix locating programs as with
3732 modules.
3733 (verilog-auto-inst-port): Fix vl-width expressions when using
3734 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3735 (verilog-decls-get-regs, verilog-decls-get-signals,
3736 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3737 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3738 verilog-read-decls): Combine reg and wire structures into one var
3739 structure to represent SystemVerilog concepts.
3740 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3741 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3742 (verilog-auto-wire-type, verilog-insert-definition):
3743 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3744 SystemVerilog "logic" keyword instead of "wire"/"reg".
3745 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3746 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3747 ifdef or generate if so there's not a driver conflict).
3748 Reported by Matthew Myers.
3749 (verilog-auto-declare-nettype, verilog-insert-definition):
3750 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3751 `default_nettype none. Reported by Julian Gorfajn.
3752 (verilog-read-always-signals-recurse, verilog-read-decls)
3753 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3754 malformed end statement, bug325. Reported by Joshua Wise and
3755 Andrew Drake.
3756 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3757 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3758 when expanding .* in interfaces, bug320.
3759 Reported by Pierre-David Pfister.
6288f0ca 3760 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3761 name and open parenthesis, bug317.
3762 Reported by Pierre-David Pfister.
6288f0ca
WS
3763 (verilog-simplify-range-expression): Fix simplification of
3764 multiplications inside AUTOWIRE connections, bug303.
3765 (verilog-auto-inst-port): Support parameter expansion in
3766 multidimensional arrays.
3767 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3768 after "assert property". Reported by Julian Gorfajn.
3769 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3770 with multiplication, bug303.
3771 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3772 Reported by Jan Frode Lonnum.
3773
1bbe96b2
GM
37742011-11-30 Juanma Barranquero <lekktu@gmail.com>
3775
3776 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3777 (hfy-shell-file-name, hfy-shell):
3778 * international/fontset.el (x-decompose-font-name): Fix typos.
3779
37802011-11-29 Ken Brown <kbrown@cornell.edu>
3781
3782 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3783 (gdb-version): Remove defvar.
3784 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3785 (gdb-gud-context-command, gdb-non-stop-handler)
3786 (gdb-current-context-command, gdb-stopped): Use it.
3787 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3788 (gdb-non-stop-handler): Don't enable pretty-printing here.
3789 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3790 non-stop mode. Use the following.
3791 (gdb-check-target-async): New defun.
3792 (gud-watch, gdb-stopped): Fix whitespace.
3793 (gdb-get-source-file): Don't try to display the source file if
3794 `gdb-main-file' is nil.
3795
37962011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * align.el: Try to generate fewer markers (bug#10047).
3799 (align--set-marker): New macro.
3800 (align-region): Use it.
3801
c935221f
SM
38022011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3805
e70b5064
CY
38062011-11-29 Chong Yidong <cyd@gnu.org>
3807
3808 * indent.el (indent-for-tab-command, indent-according-to-mode):
3809 Doc fix.
3810 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3811
f3af92b7
MA
38122011-11-29 Michael Albinus <michael.albinus@gmx.de>
3813
3814 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3815 aware of remote file names. (Bug#10124)
3816
ed472be9
CY
38172011-11-29 Chong Yidong <cyd@gnu.org>
3818
3819 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3820
24510c22
SM
38212011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3822
3823 * files.el (find-file): Don't use force-same-window (bug#10144).
3824 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3825 use pop-to-buffer if the selected window can't be used.
3826 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3827
c60c3703
EZ
38282011-11-28 Eli Zaretskii <eliz@gnu.org>
3829
3830 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3831 special-mode-map.
3832
e95def75
CY
38332011-11-28 Chong Yidong <cyd@gnu.org>
3834
3835 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3836
c3f1c606
NR
38372011-11-27 Nick Roberts <nickrob@snap.net.nz>
3838
3839 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3840 gdb-get-source-file-list on gdb-create-source-file-list.
3841
00db469c
EZ
38422011-11-26 Eli Zaretskii <eliz@gnu.org>
3843
3844 * whitespace.el (whitespace-newline): Use a different foreground
3845 color for 16-color light-background displays.
3846
4ad3bc2a
CY
38472011-11-24 Chong Yidong <cyd@gnu.org>
3848
3849 * window.el (display-buffer--special-action): Doc fix.
3850
e9fce1ac
JB
38512011-11-25 Juanma Barranquero <lekktu@gmail.com>
3852
3853 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3854 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3855 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3856 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3857 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3858 (avl-tree-stack-first):
3859 * emacs-lisp/cconv.el (cconv--analyse-use):
3860 * net/gnutls.el (gnutls-negotiate): Fix typos.
3861
cb825e5d
GM
38622011-11-24 Glenn Morris <rgm@gnu.org>
3863
3adbe224
GM
3864 * lpr.el (lpr-windows-system, lpr-lp-system):
3865 * mail/binhex.el (binhex-begin-line):
3866 * progmodes/grep.el (grep-history, grep-find-history):
3867 * textmodes/flyspell.el:
3868 * vc/pcvs-defs.el (cvs-global-menu):
3869 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3870 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3871 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3872
321decc8
GM
3873 * net/tls.el: Fix case of "GnuTLS".
3874
420b63ad
GM
3875 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3876
cb825e5d
GM
3877 * version.el (emacs-build-system): Give it a doc-string.
3878
a0649f08
JL
38792011-11-24 Juri Linkov <juri@jurta.org>
3880
3881 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3882
c0bc0fd4
GM
38832011-11-24 Glenn Morris <rgm@gnu.org>
3884
3885 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3886 if called on a non-mime message just toggle the headers. (Bug#8006)
3887
20db1522
JB
38882011-11-24 Juanma Barranquero <lekktu@gmail.com>
3889
3890 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3891 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3892 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3893 (allout-rebullet-heading, allout-open-sibtopic)
3894 (allout-toggle-current-subtree-encryption)
3895 (allout-toggle-subtree-encryption, allout-encrypt-string)
3896 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3897 (allout-distinctive-bullets-string, allout-auto-activation):
3898 * window.el (window-normalize-buffer-to-display):
3899 * progmodes/verilog-mode.el (verilog-batch-indent):
3900 * textmodes/bibtex.el (bibtex-field-braces-opt)
3901 (bibtex-field-strings-opt):
3902 * vc/cvs-status.el (cvs-tree-merge):
3903 Fix typos.
3904
7262a87c
MA
39052011-11-23 Michael Albinus <michael.albinus@gmx.de>
3906
3907 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3908 `non-essential' to t, in order to avoid remote connections.
3909
283430a1
EZ
39102011-11-23 Eli Zaretskii <eliz@gnu.org>
3911
a1beca85
SM
3912 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3913 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3914 case-insensitively.
3915
d2992a38
ML
39162011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3917
3918 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3919
50419064
GM
39202011-11-23 Glenn Morris <rgm@gnu.org>
3921
da94eca1
GM
3922 * paths.el (rmail-file-name): Reformat the doc-string so that it
3923 is picked up.
3924
9aac4de2
GM
3925 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3926 (rmail-auto-file): Ignore case in the "special" field names,
3927 as mail-fetch-field does for all others.
3928
8038d2d2
GM
3929 * mail/rmail.el (rmail-forward):
3930 * mail/rmailkwd.el (rmail-set-label):
3931 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3932 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3933
f3fe222a
GM
3934 * mail/rmail.el (rmail-current-message): Doc fix.
3935
50419064
GM
3936 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3937
28109f49
SM
39382011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3939
3940 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3941
394c65f1
GM
39422011-11-22 Glenn Morris <rgm@gnu.org>
3943
3944 * mail/rmailmm.el (test-rmail-mime-handler)
3945 (test-rmail-mime-bulk-handler)
3946 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3947
f2a0aa3a
JL
39482011-11-21 Juri Linkov <juri@jurta.org>
3949
1154d12e
JB
3950 * calc/calc.el (calc-read-key-sequence):
3951 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3952
9c34a344
LMI
39532011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3954
3955 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3956 Tell the caller that the next line needs recomputation, even
3957 though it doesn't start a sexp (bug#10094).
3958
f04a3be9
SM
39592011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3962
7978747f
SM
39632011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3964
f04a3be9
SM
3965 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3966 Use force-same-window.
7978747f 3967
fe7a3057
JB
39682011-11-20 Juanma Barranquero <lekktu@gmail.com>
3969
3970 * descr-text.el (describe-char-unicode-data):
3971 * json.el (json-string-escape):
3972 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3973 (Footnote-unicode, Footnote-style-p):
3974 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3975
24901d61
CY
39762011-11-20 Chong Yidong <cyd@gnu.org>
3977
3978 * window.el (replace-buffer-in-windows): Restore interactive spec.
3979
bac7ff22
SM
39802011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3981
24f3d7b9
SM
3982 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3983
bac7ff22
SM
3984 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3985 (byte-compile-global-not-obsolete-vars): New var.
3986 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3987 Use it.
3988 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3989
cd1181db
JB
39902011-11-20 Juanma Barranquero <lekktu@gmail.com>
3991
3992 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3993 * progmodes/pascal.el (electric-pascal-equal):
3994 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3995 * xml.el (xml-substitute-special): Fix typos.
3996
7fb18e9e
GM
39972011-11-20 Glenn Morris <rgm@gnu.org>
3998
3999 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
4000 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
4001 Doc fixes.
4002 (rmail-decode-mime-charset): Mark as obsolete.
4003
4004 * mail/rmailsum.el (rmail-message-regexp-p-1):
4005 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4006 Before using mime functions, check they are set. (Bug#10077)
4007
d5a6b3ba
JL
40082011-11-19 Juri Linkov <juri@jurta.org>
4009
4010 * info.el (Info-finder-find-node): Use `package--builtins' instead
4011 of `package-alist'. Use node names formed by the pattern "Keyword "
4012 and the keyword name.
4013
e981b61f
AS
40142011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4015
1d00653d 4016 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4017
3ffbc301
JL
40182011-11-19 Juri Linkov <juri@jurta.org>
4019
4020 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4021 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4022 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4023 `old-history', `old-history-forward'. Add let-binding
4024 `window-selected'. Remove calls to `kill-buffer',
4025 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4026 before calling `Info-find-node', so `Info-find-node-2' will reread
4027 the Info file. Restore window positions only when `window-selected'
4028 is non-nil.
4029
30c62133
JL
40302011-11-19 Juri Linkov <juri@jurta.org>
4031
4032 * isearch.el (isearch-lazy-highlight-new-loop):
4033 Remove condition `(not isearch-error)'. (Bug#9918)
4034
4035 * misearch.el (multi-isearch-search-fun): Add condition
4036 `(not bound)' to ignore lazy-highlighting search.
4037 Add the search-failed message "end of multi" when the end of
4038 multi-sequence is reached. Uncapitalize the search-failed
4039 message "Repeat for next buffer".
4040
4041 * info.el (Info-search): Add the search-failed message
4042 "end of the manual" when the end of the manual is reached
4043 in Isearch mode.
4044
645ca9cf
JL
40452011-11-19 Juri Linkov <juri@jurta.org>
4046
4047 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4048 Use non-destructive `remove' instead of `delete' because
4049 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4050 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4051
df754f66
JL
40522011-11-19 Juri Linkov <juri@jurta.org>
4053
4054 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4055 to nil instead of binding `search-ring' and `regexp-search-ring'.
4056 (Bug#9185)
4057
0e23d96a
EZ
40582011-11-19 Eli Zaretskii <eliz@gnu.org>
4059
4060 * simple.el (line-move): Force movement by logical lines for any
4061 hscrolled window, not only when auto-hscroll-mode is on.
4062 (line-move-visual): Update doc string to that effect. (Bug#10076)
4063
8a6ccb66
AS
40642011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4065
4066 * language/european.el (macintosh): Define as alias for mac-roman.
4067
49ae5b39
EZ
40682011-11-19 Eli Zaretskii <eliz@gnu.org>
4069
4070 * mail/rmailmm.el (rmail-mime-display-header)
4071 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4072 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4073 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4074 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4075 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4076 of a raw aref.
4077 (rmail-mime-entity-segment): To get past the tagline, move forward
4078 2 more lines, to account for the 2 empty lines that precede and
4079 follow the line with the buttons.
4080 (rmail-mime-update-tagline): Move one more line, to get past the
4081 empty line that follows the buttons in the tagline. (Bug#9520)
4082
c56cad4a
MR
40832011-11-19 Martin Rudalics <rudalics@gmx.at>
4084
4085 * window.el (window-max-delta-1, window-min-delta-1)
4086 (window-min-size-1, window-state-get-1, window-state-put-1)
4087 (window-state-put-2): Use "window--" prefix.
4088
cbe71af3
SM
40892011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4090
2ad52c60
SM
4091 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4092 (smie-warning-count): New var.
4093 (smie-set-prec2tab): Use it.
4094 (smie-bnf->prec2): Improve warnings. Add docstring.
4095 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4096 (smie-bnf--set-class): New function.
4097 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4098 corner case.
4099
6944dbc1
SM
4100 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4101 (compilation-error-properties, compilation-move-to-column):
4102 Handle compilation-first-column while in the target buffer.
4103
c400c4d7
SM
4104 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4105 Don't hardcode point-min==1.
4106
6dbe3e96
SM
4107 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4108 (eshell-rewrite-for-command): Remove workaround.
4109 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4110 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4111 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4112
cbe71af3
SM
4113 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4114
a8e1496d
GM
41152011-11-17 Glenn Morris <rgm@gnu.org>
4116
4117 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4118 Ignore buffer-local generated-autoload-file if it is the same
4119 as the global value. (Bug#10049)
4120
df85d315
JB
41212011-11-17 Juanma Barranquero <lekktu@gmail.com>
4122
4123 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4124 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4125 (reftex-toc-previous-heading, reftex-toc-max-level)
4126 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4127 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4128 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4129 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4130 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4131 (reftex-toc-rename-label, reftex-toc-visit-location)
4132 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4133 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4134 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4135 leaving "*toc*" only for references to the buffer.
4136
a0c2d0ae
MR
41372011-11-17 Martin Rudalics <rudalics@gmx.at>
4138
4139 * window.el (window-resize, delete-window, split-window):
4140 Replace window-splits by window-combination-resize.
1d00653d 4141 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4142
35c0bac8
GM
41432011-11-17 Glenn Morris <rgm@gnu.org>
4144
4145 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4146 Make bash entry derive from sh entry, not shell entry.
4147
d0c8fc8a
MA
41482011-11-16 Michael Albinus <michael.albinus@gmx.de>
4149
d0c8fc8a
MA
4150 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4151 properties of linked files. (Bug#9879)
4152
7262a87c
MA
4153 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4154 local file name.
4155
7877f373
JB
41562011-11-16 Juanma Barranquero <lekktu@gmail.com>
4157
4158 * menu-bar.el (menu-bar-file-menu):
4159 * printing.el (pr-ps-utility):
4160 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4161 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4162 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4163 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4164 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4165 (icalendar--convert-cyclic-to-ical)
4166 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4167 (icalendar--convert-ical-to-diary)
4168 (icalendar--convert-recurring-to-diary)
4169 (icalendar--convert-non-recurring-all-day-to-diary)
4170 (icalendar-import-format-sample):
4171 * progmodes/idlw-shell.el (idlwave-shell-mode):
4172 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4173 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4174 (vhdl-ps-print-init): Fix typos.
4175
10649b82
KM
41762011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4177
9d0cfcd6
GM
4178 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4179 FSF and collapse date sequence, obscure author/maintainer email address
4180 better, remove extra version line, track relocation of author's webpage.
10649b82 4181
9d0cfcd6
GM
4182 * progmodes/python.el (python-pdbtrack-input-prompt)
4183 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4184 regular python pdb prompts. Adjustments shamelessly taken exactly as
4185 suggested in EmacsWiki page (tiny change):
4186 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4187
58179cce
JB
41882011-11-16 Juanma Barranquero <lekktu@gmail.com>
4189
4190 * expand.el (expand-pos, expand-index, expand-point):
4191 Remove redundant info from docstring.
4192 (expand-add-abbrevs): Doc fix.
4193 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4194 (expand-sample-perl-mode-expand-list): Fix typos.
4195
4196 * net/dbus.el (dbus-event-member-name):
4197 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4198 * term/pc-win.el (msdos-create-frame-with-faces):
4199 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4200
b6f67890
MR
42012011-11-16 Martin Rudalics <rudalics@gmx.at>
4202
4203 * window.el (split-window, window-state-get-1)
4204 (window-state-put-1, window-state-put-2): Rename occurrences of
4205 window-nest to window-combination-limit.
1d00653d 4206 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4207
ce7ddba0
CY
42082011-11-16 Chong Yidong <cyd@gnu.org>
4209
4210 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4211 regexp (Bug#10033).
4212
3ae704f4
SM
42132011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4216 `completing-read' will remove *Completions* and will preserve
4217 current-buffer for us.
4218 (tmm-add-prompt): Users of *Completions* will always (re)set its
4219 major mode.
4220 (tmm-old-comp-map): Remove.
4221
6ad1cdde
GM
42222011-11-16 Glenn Morris <rgm@gnu.org>
4223
4224 * mail/rmailedit.el: Require rmailmm when compiling.
4225 (rmail-old-mime-state): New declaration.
4226 (rmail-edit-current-message): If editing a mime message,
4227 edit the "raw" message from the mbox buffer.
4228 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4229
d20faa20
GM
42302011-11-15 Glenn Morris <rgm@gnu.org>
4231
4232 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4233 which wasn't being used. Add optional arg to force given state.
4234 (rmail-mime): Add optional arg to force given state.
4235
c7015153
JB
42362011-11-15 Juanma Barranquero <lekktu@gmail.com>
4237
4238 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4239 * frame.el (display-mm-dimensions-alist):
4240 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4241 (outline-move-subtree-down):
4242 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4243 (newsticker--treeview-do-get-node):
4244 * net/quickurl.el (quickurl-list-buffer-name):
4245 * progmodes/dcl-mode.el (dcl-mode):
4246 * progmodes/gdb-mi.el (gdb-mapcar*):
4247 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4248
45261b50
GM
42492011-11-15 Glenn Morris <rgm@gnu.org>
4250
4251 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4252 in a boolean sense, so just make it a boolean, and fix the doc.
4253 (rmail-show-mime-function, rmail-mime-feature)
4254 (rmail-require-mime-maybe): Doc fixes.
4255 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4256
4257 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4258
0d26e0b6
JB
42592011-11-15 Juanma Barranquero <lekktu@gmail.com>
4260
4261 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4262 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4263 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4264 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4265
447f30f6
GM
42662011-11-15 Glenn Morris <rgm@gnu.org>
4267
672b871d
GM
4268 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4269 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4270 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4271 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4272 (rmail-mime, rmail-show-mime): Doc fixes.
4273
f6aa5bb1
GM
4274 * term/ns-win.el (mode-line-frame-identification):
4275 Leave it alone. (Bug#10051)
4276
947cd66b
GM
4277 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4278
447f30f6
GM
4279 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4280 Handle empty buffers. (Bug#9978)
4281
0b381c7e
JB
42822011-11-14 Juanma Barranquero <lekktu@gmail.com>
4283
4284 * international/mule.el (define-charset):
4285 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4286 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4287 * progmodes/verilog-mode.el (verilog-backward-token):
4288 * textmodes/ispell.el (lookup-words):
4289 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4290
71e027ac
GM
42912011-11-14 Glenn Morris <rgm@gnu.org>
4292
56632ce4
GM
4293 * progmodes/executable.el
4294 (executable-make-buffer-file-executable-if-script-p):
4295 Handle file-modes returning nil.
4296
40500957
GM
4297 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4298 message - not necessary, and causes problems. (Bug#9831)
4299
071c2340
GM
4300 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4301
d3cfca60
GM
4302 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4303
71e027ac
GM
4304 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4305 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4306 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4307
89d61221
MR
43082011-11-12 Martin Rudalics <rudalics@gmx.at>
4309
4310 * window.el (window-resize, delete-window): Use window-splits
4311 variable instead of function.
4312 (window-state-get-1, window-state-put-2, window-state-put):
4313 Don't deal with windows' splits status.
4314
98282f6f
GM
43152011-11-12 Glenn Morris <rgm@gnu.org>
4316
4317 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4318 (apropos-documentation): Doc fixes.
4319
40a8bdf6
JB
43202011-11-11 Juanma Barranquero <lekktu@gmail.com>
4321
4322 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4323 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4324
65bd19ff
SM
43252011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4326
4327 * electric.el (electric-indent-post-self-insert-function): Make it
4328 possible for a char to only indent in some circumstances.
4329 (electric-indent-mode): Simplify.
4330
54f9154c
MR
43312011-11-11 Martin Rudalics <rudalics@gmx.at>
4332
4333 * window.el (windows-with-parameter): Remove unused function.
4334 (windows-at-side): Rename to window-at-side-list.
4335 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4336 (window-side-check, window-size-ignore, window-size-fixed-1)
4337 (window-in-direction-2): Prefix with "window--".
4338 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4339
68cbc58b
GM
43402011-11-11 Glenn Morris <rgm@gnu.org>
4341
4342 * subr.el (eval-after-load): If FILE is already loaded,
4343 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4344
b2621720
GM
43452011-11-10 Glenn Morris <rgm@gnu.org>
4346
9a4de110
GM
4347 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4348 Call svn via vc-svn-command rather than vc-do-command.
4349 (vc-svn-command): Add --non-interactive. (Bug#9993)
4350 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4351
b2621720
GM
4352 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4353 Add toggle-read-only. (Bug#7292)
4354 * files.el (toggle-read-only): Mention that it should only
4355 be used interactively. (Bug#10006)
4356
1dce7193
SM
43572011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4358
d9ac1a1e
SM
4359 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4360 Adjust regexp for OCaml warnings.
4361
0c325082
SM
4362 * electric.el (electric-pair-post-self-insert-function): Let user
4363 turn it off buffer-locally (bug#9932).
4364
90132c14
SM
4365 * progmodes/python.el (python-beginning-of-statement):
4366 Rewrite (bug#2703).
4367
1dce7193
SM
4368 * progmodes/compile.el: Better handle TABs (bug#9749).
4369 (compilation-internal-error-properties)
4370 (compilation-next-error-function): Obey the target buffer's
4371 compilation-error-screen-columns.
4372
c4e7c63a
JB
43732011-11-09 Juanma Barranquero <lekktu@gmail.com>
4374
4375 * progmodes/meta-mode.el: Remove obsolete comments.
4376 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4377 Fix typos in docstrings.
4378
2cffd681
MR
43792011-11-09 Martin Rudalics <rudalics@gmx.at>
4380
4381 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4382 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4383 (window--resizable): New function. Make all callers of
4384 window-resizable call window--resizable instead.
4385 (window-resizable): Rewrite in terms of window--resizable.
4386
0edcba87
GM
43872011-11-08 Glenn Morris <rgm@gnu.org>
4388
4389 * progmodes/delphi.el (delphi-mode-syntax-table):
4390 Let define-derived-mode define a proper syntax table. (Bug#9994)
4391
4b0d61e3
SM
43922011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4393
4394 * window.el: Stay away from defsubst.
4395 (window-list-no-nils): Remove.
4396 (window-state-get-1, window-state-get): Use backquote instead.
4397
cd394be1 43982011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4399
4b0d61e3 4400 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4401 Fix incorrect use of default argument in `completing-read'.
4402
e1c2c6f2
MR
44032011-11-08 Martin Rudalics <rudalics@gmx.at>
4404
4405 * window.el (display-buffer-function, special-display-function):
4406 Mention display-buffer-record-window but do not mention
4407 help-setup parameter in doc-strings.
b3f4a882 4408 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4409
105216ed
CY
44102011-11-08 Chong Yidong <cyd@gnu.org>
4411
4412 * window.el (window-total-height, window-total-width): Doc fix.
4413 (window-body-size): Move from C.
4414 (window-body-height, window-body-width): Move to C.
4415
0a9f9ab5
SM
44162011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * window.el: Make special-display like display-buffer-alist (bug#9532).
4419 (display-buffer--special-action): New function, morphed
4420 from display-buffer--special.
4421 (display-buffer): Use it to handle special-display-buffers at higher
4422 priority (just after display-buffer-alist).
4423 (display-buffer-fallback-action, display-buffer--other-frame-action)
4424 (pop-to-buffer-same-window): Remove display-buffer--special.
4425
a769dd15
GM
44262011-11-07 Glenn Morris <rgm@gnu.org>
4427
4428 * calendar/cal-menu.el (cal-menu-set-date-title):
4429 Do nothing if not in a calendar. (Bug#9976)
4430
05a61ee3
SM
44312011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * files.el (find-file): Always use selected-window.
4434
be7f5545
MR
44352011-11-07 Martin Rudalics <rudalics@gmx.at>
4436
4437 * window.el (window-combinations): Make WINDOW argument
4438 mandatory. Rewrite doc-string.
4439 (walk-window-subtree, window-atom-check, window-min-delta)
4440 (window-max-delta, window--resize-this-window)
4441 (window--resize-root-window-vertically, window-tree)
4442 (balance-windows, window-state-put): Rewrite doc-strings as to
4443 not mention the term "subwindow".
4444 (window--resize-subwindows-skip-p): Rename to
4445 window--resize-child-windows-skip-p.
4446 (window--resize-subwindows-normal): Rename to
4447 window--resize-child-windows-normal.
4448 (window--resize-subwindows): Rename to
4449 window--resize-child-windows.
4450 (window-or-subwindow-p): Rename to window--in-subtree-p.
4451
3c6702ef
ML
44522011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4453
4454 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4455 Ensure that mbox format messages end in two newlines (Bug#9974).
4456
49745b39
CY
44572011-11-06 Chong Yidong <cyd@gnu.org>
4458
4459 * window.el (window-combination-p): Function deleted; its
4460 side-effect is not used in any existing code.
4461 (window-combinations, window-combined-p): Call window-*-child
4462 directly.
4463
24300f5f
CY
44642011-11-05 Chong Yidong <cyd@gnu.org>
4465
4466 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4467 (window-size-ignore, window-state-get): Callers changed.
4468 (window-normalize-window): Rename from window-normalize-any-window.
4469 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4470 (window-normalize-live-window): Delete.
447f16b8
CY
4471 (window-combination-p, window-combined-p, window-combinations)
4472 (walk-window-subtree, window-atom-root, window-min-size)
4473 (window-sizable, window-sizable-p, window-size-fixed-p)
4474 (window-min-delta, window-max-delta, window-resizable)
4475 (window-resizable-p, window-full-height-p, window-full-width-p)
4476 (window-current-scroll-bars, window-point-1, set-window-point-1)
4477 (window-at-side-p, window-in-direction, window-resize)
4478 (adjust-window-trailing-edge, maximize-window, minimize-window)
4479 (window-deletable-p, delete-window, delete-other-windows)
4480 (record-window-buffer, unrecord-window-buffer)
4481 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4482 (quit-window, split-window, window-state-put)
4483 (set-window-text-height, fit-window-to-buffer)
4484 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4485
89bd5ee1
EZ
44862011-11-04 Eli Zaretskii <eliz@gnu.org>
4487
53479029
EZ
4488 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4489 rfc2047-decode-string.
4490 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4491 warnings.
4492
89bd5ee1
EZ
4493 * window.el (window-body-height, window-body-width): Mention in
4494 the doc string that the return values are in frame's canonical
4495 units. (Bug#9949)
4496
bd17fdee
AM
44972011-11-03 Alan Mackenzie <acm@muc.de>
4498
4499 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4500 change in cc-engine.el.
4501
acc825c5
SM
45022011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4505
1885e5b8
MR
45062011-11-02 Martin Rudalics <rudalics@gmx.at>
4507
4508 * window.el (quit-window): Call unrecord-window-buffer after
4509 showing another buffer in the window. (Bug#9937)
acc825c5 4510 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4511
ebe06da9
JB
45122011-11-02 Juanma Barranquero <lekktu@gmail.com>
4513
4514 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4515 Accept status with more than 9 shelves. (Bug#9935)
4516 Reported by Colin D Bennett <colin@gibibit.com>.
4517
4ee88440
MR
45182011-11-01 Martin Rudalics <rudalics@gmx.at>
4519
4520 * help.el (with-help-window): Don't reference
4521 temp-buffer-show-specifiers in doc-string.
4522
08e1d82c
AS
45232011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4524
4525 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4526 menu-item.
4527
84bd6e9e
VJL
45282011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4529
4530 * whitespace.el: New version 13.2.2.
4531 (whitespace-newline-mode): Disable properly. Reported by Sarah
4532 <EmacsWiki>.
4533
dba0634a
UJ
45342011-10-30 Ulf Jasper <ulf.jasper@web.de>
4535
4536 * net/newst-treeview.el: Remove "Time-stamp".
4537 (newsticker--group-manage-orphan-feeds): Do not call
4538 newsticker--treeview-tree-update.
db22a3c2
JB
4539 (newsticker-treeview-update, newsticker-treeview):
4540 Call newsticker--treeview-tree-update if necessary.
dba0634a 4541
3d8daefe
MR
45422011-10-30 Martin Rudalics <rudalics@gmx.at>
4543
4544 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4545 (window-iso-combinations): Remove "iso-" infix.
4546 Suggested by Chong Yidong.
3d8daefe
MR
4547 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4548 (window-max-delta-1, window-resize, window--resize-siblings)
4549 (window--resize-this-window, adjust-window-trailing-edge)
4550 (split-window, balance-windows-1)
4551 (shrink-window-if-larger-than-buffer):
4552 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4553 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4554
1bc4c3ae
SM
45552011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4558 in place (bug#9907).
4559 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4560 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4561 (eshell-structure-basic-command, eshell-rewrite-while-command)
4562 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4563 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4564 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4565 (eshell-do-pipelines-synchronously, eshell-eval-command):
4566 Use backquotes and prefer setq to set.
4567 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4568 (eshell-macrop): Use functionp.
c1e2f5fa 4569 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4570
30b65d9c
CY
45712011-10-30 Chong Yidong <cyd@gnu.org>
4572
4573 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4574 instead of set-mark (Bug#9810).
4575
2d197ffb
CY
45762011-10-30 Chong Yidong <cyd@gnu.org>
4577
4578 * window.el (split-window-below, split-window-right): Rename from
4579 split-window-above-each-other and split-window-side-by-side
4580 respectively. All callers changed.
4581 (split-window-sensibly, split-window-sensibly): Use them.
4582 (split-window-keep-point): Doc fix.
4583
4584 * isearch.el: Add isearch-scroll property to split-window-below
4585 and split-window-right.
4586
4587 * follow.el (follow-mode):
4588 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4589 * progmodes/ada-xref.el (ada-gdb-application):
4590 * emulation/vip.el (vip-buffer-in-two-windows):
4591 * image-dired.el (image-dired-dired-with-window-configuration):
4592 * dired-x.el (dired-do-find-marked-files):
4593 * dired.el (dired-pop-to-buffer):
4594 * bs.el (bs--show-with-configuration):
4595 * vc/emerge.el (emerge-setup-windows):
4596 * textmodes/two-column.el (2C-two-columns):
4597 * textmodes/reftex-toc.el (reftex-toc):
4598 * progmodes/gdb-mi.el (gdb-setup-windows):
4599 * progmodes/fortran.el (fortran-window-create):
4600 * net/newst-treeview.el (newsticker--treeview-window-init):
4601 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4602 * emulation/tpu-edt.el (tpu-gold-map):
4603 * emulation/crisp.el (crisp-mode-map):
4604 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4605
38bb2ca8
CY
46062011-10-29 Chong Yidong <cyd@gnu.org>
4607
aa4de341
CY
4608 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4609
e1eb5385
CY
4610 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4611
5d2ece3c
CY
4612 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4613 forged Ispell output (Bug#7904).
4614
38bb2ca8
CY
4615 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4616
d0af9f77
SM
46172011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4618
4619 * doc-view.el: Avoid ugly errors about not finding nil.
4620 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4621 (doc-view-dvipdf-program, doc-view-unoconv-program)
4622 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4623 Avoid nil or absolute file name as default value.
4624 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4625
52bedd34
AM
46262011-10-28 Alan Mackenzie <acm@muc.de>
4627
db22a3c2 4628 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4629
7e43cfa5
AM
46302011-10-28 Alan Mackenzie <acm@muc.de>
4631
4632 Amend the handling of c-beginning/end-of-defun in nested declaration
4633 scopes.
4634
52bedd34
AM
4635 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4636 cc-langs.el. Change it to a defcustom.
7e43cfa5 4637
52bedd34
AM
4638 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4639 cc-vars.el.
7e43cfa5 4640
d0af9f77
SM
4641 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4642 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4643
52bedd34 4644 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4645 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4646 (c-widen-to-enclosing-decl-scope): New function.
4647 (c-while-widening-to-decl-block): New macro.
4648 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4649 outward for defun boundaries, and correspondingly change symbol
4650 `respect-enclosure' to `go-outward'.
4651 (c-declaration-limits): Change algorithm to report only the "innermost"
4652 defun's boundaries.
4653
1a2ce9ee
DD
46542011-10-28 Deniz Dogan <deniz@dogan.se>
4655
4656 * net/rcirc.el (rcirc-mode): Use hard newlines.
4657
bc97a826
AM
46582011-10-28 Alan Mackenzie <acm@muc.de>
4659
4660 Amend to indent and fontify macros "which include their own semicolon"
4661 correctly, using the "virtual semicolon" mechanism.
4662
52bedd34 4663 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4664
d0af9f77 4665 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4666 Recode to scan one line at a time rather than having \n and \r
58179cce 4667 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4668 (c-forward-label): Amend for virtual semicolons.
58179cce 4669 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4670
52bedd34
AM
4671 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4672 of the new C macros.
bc97a826 4673
52bedd34 4674 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4675 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4676 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4677 (c-opt-cpp-macro-define): Make into a full language variable.
4678 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4679 AWK Mode (including \n, \r) removed, no longer needed.
4680
d0af9f77
SM
4681 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4682 Invoke c-make-macro-with-semi-re.
bc97a826 4683
52bedd34
AM
4684 * progmodes/cc-vars.el (c-macro-with-semi-re):
4685 (c-macro-names-with-semicolon): New variables.
58179cce 4686 (c-make-macro-with-semi-re): New function.
bc97a826 4687
7a6c0941
SM
46882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * vc/log-edit.el: Fill empty field rather than adding new one.
4691 (log-edit-add-field): New function.
4692 (log-edit-insert-changelog): Use it.
4693
b0c4cdcf
ML
46942011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4695
4696 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4697
ee1f1da9
SM
46982011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4699
4700 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4701 (gdb--check-interpreter): New function.
4702 (gdb): Use it.
4703
51bc5f8b
GM
47042011-10-27 Glenn Morris <rgm@gnu.org>
4705
416a2c45
GM
4706 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4707 (least-positive-float, least-negative-float)
4708 (least-positive-normalized-float, least-negative-normalized-float)
4709 (float-epsilon, float-negative-epsilon):
4710 Remove unnecessary declarations.
4711
4712 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4713 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4714 (least-positive-float, least-negative-float)
4715 (least-positive-normalized-float, least-negative-normalized-float)
4716 (float-epsilon, float-negative-epsilon): Add doc-strings,
4717 based on those in cl.texi.
4718
51bc5f8b
GM
4719 * files.el (set-visited-file-name): If the major-mode changed,
4720 reload the local variables. (Bug#9796)
4721
15de15c6
CY
47222011-10-27 Chong Yidong <cyd@gnu.org>
4723
4724 * subr.el (change-major-mode-after-body-hook): New hook.
4725 (run-mode-hooks): Run it.
4726
ee1f1da9
SM
4727 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4728 Use change-major-mode-before-body-hook.
15de15c6
CY
4729
4730 * simple.el (fundamental-mode):
4731 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4732 change introducing fundamental-mode-hook.
4733
5430d399
JB
47342011-10-26 Juanma Barranquero <lekktu@gmail.com>
4735
acc825c5 4736 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4737
ad74a69e
MA
47382011-10-26 Michael Albinus <michael.albinus@gmx.de>
4739
4740 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4741 tramp.el explicitly. (Bug#7583)
ad74a69e 4742
71d4c2a5
SM
47432011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4744
4745 * progmodes/octave-mod.el:
4746 * progmodes/octave-inf.el: Update maintainer.
4747
b1f6fa26
CY
47482011-10-26 Chong Yidong <cyd@gnu.org>
4749
4750 * subr.el (with-wrapper-hook): Rewrite doc.
4751
3f04efd6
MA
47522011-10-25 Michael Albinus <michael.albinus@gmx.de>
4753
4754 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4755 filenames "/method:foo:". (Bug#9793)
3f04efd6 4756
410488d3
SM
47572011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4760 (bug#9865).
4761
c1ebb47e
GM
47622011-10-24 Glenn Morris <rgm@gnu.org>
4763
4764 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4765
7f5c46c7
MA
47662011-10-24 Michael Albinus <michael.albinus@gmx.de>
4767
4768 * notifications.el: Add the requirement of a running D-Bus session
4769 bus to the Commentary.
4770
db2440b6
JL
47712011-10-24 Juri Linkov <juri@jurta.org>
4772
4773 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4774 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4775 (Bug#9364)
4776
feecf435
JL
47772011-10-24 Juri Linkov <juri@jurta.org>
4778
4779 * info.el (Info-following-node-name-re): Add newline to the list
4780 of allowed characters for leading space. (Bug#9824)
4781
a3839de2
SM
47822011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4783
acc825c5
SM
4784 * progmodes/octave-inf.el (inferior-octave-mode-map):
4785 Fix C-c C-h binding.
a3839de2
SM
4786 * progmodes/octave-mod.el (octave-help): Remove.
4787
09388e76
MA
47882011-10-23 Michael Albinus <michael.albinus@gmx.de>
4789
4790 Sync with Tramp 2.2.3.
4791
4792 * net/tramp-cache.el (top): Pacify byte-compiler using
4793 `init-file-user' and `site-run-file'.
4794
4795 * net/trampver.el: Update release number.
4796
86c60681
CY
47972011-10-23 Chong Yidong <cyd@gnu.org>
4798
4799 * files.el (toggle-read-only): Remove obsolete comment about
4800 version control.
4801
4802 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4803 for toggle-read-only. Note that this hasn't called vc-next-action
4804 since 2008-05-02, though it wasn't documented at the time.
4805
a3839de2
SM
4806 * vc/ediff-init.el (ediff-toggle-read-only-function):
4807 Use toggle-read-only.
86c60681 4808
cd5495ff
AM
48092011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4810
4811 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4812 of c-parse-state.
4813
00b77525 4814 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4815 correct faulty logical expression.
cd5495ff
AM
4816 (c-parse-state-state, c-record-parse-state-state):
4817 (c-replay-parse-state-state): New defvar/defuns.
4818 (c-debug-parse-state): Use new functions.
4819
42ee24ed
MR
48202011-10-22 Martin Rudalics <rudalics@gmx.at>
4821
4822 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4823 last fix. Use window-in-direction correctly.
42ee24ed 4824
a7dee7e7
CY
48252011-10-21 Chong Yidong <cyd@gnu.org>
4826
4827 * progmodes/idlwave.el (idlwave-mode):
4828 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4829 require-final-newline; that's done in prog-mode.
4830 Suggested by Stefan Monnier.
a7dee7e7 4831
e07b9a6d
MR
48322011-10-21 Martin Rudalics <rudalics@gmx.at>
4833
4834 * mouse.el (mouse-drag-window-above)
4835 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4836 (mouse-drag-mode-line-1, mouse-drag-header-line)
4837 (mouse-drag-vertical-line-rightward-window): Remove.
4838 (mouse-drag-line): New function.
4839 (mouse-drag-mode-line, mouse-drag-header-line)
4840 (mouse-drag-vertical-line): Call mouse-drag-line.
4841 * window.el (window-at-side-p, windows-at-side): New functions.
4842
7e1361d9
UM
48432011-10-21 Ulrich Mueller <ulm@gentoo.org>
4844
4845 * tar-mode.el (tar-grind-file-mode):
4846 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4847
30fcaf3a
CY
48482011-10-21 Chong Yidong <cyd@gnu.org>
4849
4850 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4851 * progmodes/vera-mode.el (vera-mode):
4852 Use mode-require-final-newline.
30fcaf3a 4853
516eddb0
GM
48542011-10-20 Glenn Morris <rgm@gnu.org>
4855
db22a3c2 4856 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4857
10d5f513
CS
48582011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4859
4860 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4861
ac6c8639
CY
48622011-10-20 Chong Yidong <cyd@gnu.org>
4863
4864 * emulation/cua-base.el (cua-mode):
4865 * mail/footnote.el (footnote-mode):
4866 * mail/mailabbrev.el (mail-abbrevs-mode):
4867 * net/xesam.el (xesam-minor-mode):
4868 * progmodes/bug-reference.el (bug-reference-mode):
4869 * progmodes/cap-words.el (capitalized-words-mode):
4870 * progmodes/compile.el (compilation-minor-mode)
4871 (compilation-shell-minor-mode):
4872 * progmodes/gud.el (gud-tooltip-mode):
4873 * progmodes/hideif.el (hide-ifdef-mode):
4874 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4875 * progmodes/subword.el (subword-mode):
4876 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4877 * progmodes/which-func.el (which-function-mode):
4878 * term/tvi970.el (tvi970-set-keypad-mode):
4879 * term/vt100.el (vt100-wide-mode):
4880 * textmodes/flyspell.el (flyspell-mode):
4881 * textmodes/ispell.el (ispell-minor-mode):
4882 * textmodes/nroff-mode.el (nroff-electric-mode):
4883 * textmodes/paragraphs.el (use-hard-newlines):
4884 * textmodes/refill.el (refill-mode):
4885 * textmodes/reftex.el (reftex-mode):
4886 * textmodes/rst.el (rst-minor-mode):
4887 * textmodes/sgml-mode.el (html-autoview-mode)
4888 (sgml-electric-tag-pair-mode):
4889 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4890 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4891 * emulation/crisp.el (crisp-mode):
4892 * emacs-lisp/eldoc.el (eldoc-mode):
4893 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4894 minor mode behavior.
4895
aa42ab43
JL
48962011-10-19 Juri Linkov <juri@jurta.org>
4897
4898 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4899 the list of hard-coded chars with escape-glyph face.
4900
89400f1d
SM
49012011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4904
305c07f6
MA
49052011-10-19 Michael Albinus <michael.albinus@gmx.de>
4906
4907 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4908 running process.
4909
13754b54
GM
49102011-10-19 Glenn Morris <rgm@gnu.org>
4911
4912 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4913 Ignore ignored files. (Bug#9726)
4914
06e21633
CY
49152011-10-19 Chong Yidong <cyd@gnu.org>
4916
4917 Doc fix for minor modes, stating that an omitted argument enables
4918 the mode unconditionally when called from Lisp.
4919
4920 * abbrev.el (abbrev-mode):
4921 * allout.el (allout-mode):
4922 * autoinsert.el (auto-insert-mode):
4923 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4924 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4925 (global-auto-revert-mode):
4926 * battery.el (display-battery-mode):
4927 * composite.el (global-auto-composition-mode)
4928 (auto-composition-mode):
4929 * delsel.el (delete-selection-mode):
4930 * desktop.el (desktop-save-mode):
4931 * dired-x.el (dired-omit-mode):
4932 * dirtrack.el (dirtrack-mode):
4933 * doc-view.el (doc-view-minor-mode):
4934 * double.el (double-mode):
4935 * electric.el (electric-indent-mode, electric-pair-mode):
4936 * emacs-lock.el (emacs-lock-mode):
4937 * epa-hook.el (auto-encryption-mode):
4938 * follow.el (follow-mode):
4939 * font-core.el (font-lock-mode):
4940 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4941 * help.el (temp-buffer-resize-mode):
4942 * hilit-chg.el (highlight-changes-mode)
4943 (highlight-changes-visible-mode):
4944 * hi-lock.el (hi-lock-mode):
4945 * hl-line.el (hl-line-mode, global-hl-line-mode):
4946 * icomplete.el (icomplete-mode):
4947 * ido.el (ido-everywhere):
4948 * image-file.el (auto-image-file-mode):
4949 * image-mode.el (image-minor-mode):
4950 * iswitchb.el (iswitchb-mode):
4951 * jka-cmpr-hook.el (auto-compression-mode):
4952 * linum.el (linum-mode):
4953 * longlines.el (longlines-mode):
4954 * master.el (master-mode):
4955 * mb-depth.el (minibuffer-depth-indicate-mode):
4956 * menu-bar.el (menu-bar-mode):
4957 * minibuf-eldef.el (minibuffer-electric-default-mode):
4958 * mouse-sel.el (mouse-sel-mode):
4959 * msb.el (msb-mode):
4960 * mwheel.el (mouse-wheel-mode):
4961 * outline.el (outline-minor-mode):
4962 * paren.el (show-paren-mode):
4963 * recentf.el (recentf-mode):
4964 * reveal.el (reveal-mode, global-reveal-mode):
4965 * rfn-eshadow.el (file-name-shadow-mode):
4966 * ruler-mode.el (ruler-mode):
4967 * savehist.el (savehist-mode):
4968 * scroll-all.el (scroll-all-mode):
4969 * scroll-bar.el (scroll-bar-mode):
4970 * server.el (server-mode):
4971 * shell.el (shell-dirtrack-mode):
4972 * simple.el (auto-fill-mode, transient-mark-mode)
4973 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4974 (line-number-mode, column-number-mode, size-indication-mode)
4975 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4976 * strokes.el (strokes-mode):
4977 * time.el (display-time-mode):
4978 * t-mouse.el (gpm-mouse-mode):
4979 * tool-bar.el (tool-bar-mode):
4980 * tooltip.el (tooltip-mode):
4981 * type-break.el (type-break-mode-line-message-mode)
4982 (type-break-query-mode):
4983 * view.el (view-mode):
4984 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4985 (global-whitespace-mode, global-whitespace-newline-mode):
4986 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4987
a3839de2
SM
4988 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4989 Fix autogenerated docstring.
06e21633 4990
5214e501
JL
49912011-10-19 Juri Linkov <juri@jurta.org>
4992
4993 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4994 by checking environment variables "DESKTOP_SESSION" and
4995 "XDG_CURRENT_DESKTOP". (Bug#9779)
4996
195f8db9
JL
49972011-10-19 Juri Linkov <juri@jurta.org>
4998
4999 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
5000 (browse-url-chromium-program, browse-url-chromium-arguments):
5001 New defcustoms.
5002 (browse-url-default-browser): Check for `browse-url-chromium' and
5003 call `browse-url-chromium-program'.
5004 (browse-url-chromium): New command. (Bug#9779)
5005
343a34ff
JB
50062011-10-18 Juanma Barranquero <lekktu@gmail.com>
5007
5008 * facemenu.el (list-colors-duplicates): On Windows, detect more
5009 duplicates by assuming that only colors matching "^System" are
5010 special "system colors". (Bug#9722)
5011
6978a151
SM
50122011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5015 to distinguish the author from the committer.
5016
6a80b297
MA
50172011-10-18 Michael Albinus <michael.albinus@gmx.de>
5018
5019 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5020
b31a5677
JK
50212011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5022
5023 * international/mule.el (sgml-html-meta-auto-coding-function):
5024 Add support for detecting encoding in HTML5 specified only as
5025 <meta charset="UTF-8">. Implementation just makes http-equiv and
5026 content-type parts from HTML4 encoding string optional. (Bug#9716)
5027
80c6d77f
GM
50282011-10-18 Glenn Morris <rgm@gnu.org>
5029
5030 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5031
08b0fee8
CY
50322011-10-18 Chong Yidong <cyd@gnu.org>
5033
5034 * faces.el (cursor): Doc fix.
5035
67e729a5
CY
50362011-10-17 Chong Yidong <cyd@gnu.org>
5037
5038 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5039
343a34ff 50402011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5041
5042 * dirtrack.el (dirtrack): Support shell buffers with path
5043 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5044
0bc06380
TZ
50452011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5046
5047 * json.el: Bump version to 1.3 and note change in History.
5048 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5049
8b79f3e0
SM
50502011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5a7c536b
SM
5052 * comint.el (comint-insert-input, comint-send-input)
5053 (comint-get-old-input-default, comint-backward-matching-input)
5054 (comint-next-prompt): Use nil instead of `input' for field property of
5055 past user input (bug#114).
5056
96a8a0df
SM
5057 * minibuffer.el (completion--replace): Inherit surrounding properties
5058 (bug#114).
5059 (minibuffer-complete-and-exit): Use it.
5060
8b79f3e0
SM
5061 * comint.el (comint--table-subvert): Quote the all-completions output
5062 (bug#9160).
5063
b8f7ff0d
MR
50642011-10-17 Martin Rudalics <rudalics@gmx.at>
5065
8b79f3e0 5066 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5067
b8f7ff0d 5068 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5069 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5070 entries and separate them from frame entries.
5071
c235b555
GM
50722011-10-15 Glenn Morris <rgm@gnu.org>
5073
5074 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5075 Doc fixes.
5076
6bbfa6e1
CY
50772011-10-15 Chong Yidong <cyd@stupidchicken.com>
5078
8b79f3e0
SM
5079 * net/network-stream.el (network-stream-open-starttls):
5080 Improve detection of failure due to lack of TLS support.
ec5c990d 5081
6bbfa6e1
CY
5082 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5083 putting the input text in front and in bold.
5084
98488977
SM
50852011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5086
3d1337be
SM
5087 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5088
ee0b45e4
SM
5089 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5090 empty buffer.
5091
98488977
SM
5092 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5093 unread-command-events rather than pushing yet-another event.
5094
186f4720
EZ
50952011-10-14 Eli Zaretskii <eliz@gnu.org>
5096
5097 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5098 the explanation of the possible choices. Make the options passed
5099 to completing-read shorter.
5100
8b7a997c
AM
51012011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5102
5103 * textmodes/flyspell.el (flyspell-large-region): Make sure
5104 extended character mode is used if defined (Bug#1339).
5105
12587bbb
EZ
51062011-10-13 Eli Zaretskii <eliz@gnu.org>
5107
5108 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5109 character info for LRE, LRO, RLE, and RLO characters by appending
5110 an invisible PDF.
12587bbb 5111
bad41229
SM
51122011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5115 even in case of error; add debug spec; simplify data flow.
5116 (with-timeout-handler): Remove.
5117
28dbc92f
MA
51182011-10-12 Michael Albinus <michael.albinus@gmx.de>
5119
5120 Fix Bug#6019, Bug#9315.
5121
5122 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5123 complete `buffer-file-name', the local file name part could look
5124 remotely (for example on VMS).
5125
5126 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5127 `tramp-run-real-handler'.
5128 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5129 already quoted by '"'.
5130
5131 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5132 Let `file-name-handler-alist' be nil, the local file name part
5133 could look remotely (for example on VMS).
5134
e1b0b23a
SM
51352011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5138 from here...
5139 (flyspell-post-command-hook): ...to here.
5140
a120bde9
SM
51412011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5144 if not needed.
5145 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5146 using completion. Protect against "slow" callers.
5147 Remove the "message hack".
5148
7ce7717b
JL
51492011-10-11 Juri Linkov <juri@jurta.org>
5150
5151 * isearch.el (isearch-lazy-highlight-word): New variable.
5152 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5153 Use it. (Bug#9727)
5154
c02ee9d6
GM
51552011-10-11 Glenn Morris <rgm@gnu.org>
5156
5157 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5158 like f90-previous-statement does.
5159
93e616fd 51602011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5161
1f190e73 5162 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5163 only in interactive use, to avoid error.
5164
af7b6078
SM
51652011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * minibuffer.el (completion-file-name-table): Fix last change,
5168 i.e. ignore normal errors but not the other ones.
5169
0563dae9
MR
51702011-10-10 Martin Rudalics <rudalics@gmx.at>
5171
5172 * window.el (special-display-buffer-names)
5173 (special-display-regexps): Remove some remnants of earlier
5174 changes from doc-strings.
366ca7f3
MR
5175 (quit-windows-on): New function.
5176
5177 * vc/vc.el (vc-revert, vc-rollback):
5178 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5179 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5180 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5181
49677495
MR
51822011-10-09 Martin Rudalics <rudalics@gmx.at>
5183
5184 * window.el (frame-auto-hide-function): Add version tag.
5185 (Bug#9699)
5186
56f2d1e1
MA
51872011-10-09 Michael Albinus <michael.albinus@gmx.de>
5188
5189 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5190 condition.
5191
112a6592
LL
51922011-10-09 Leo Liu <sdl.web@gmail.com>
5193
5194 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5195 (Bug#9701)
5196
0812589b
GM
51972011-10-08 Glenn Morris <rgm@gnu.org>
5198
5199 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5200 before the first code statement zero indent. (Bug#9690)
5201
b2b0776e
CY
52022011-10-08 Chong Yidong <cyd@stupidchicken.com>
5203
5204 * simple.el (count-words-region): Always count in the region.
5205 Report the number of lines and characters too.
5206 (count-words): New command, which counts in the buffer if the
5207 region is inactive, as count-words-region used to.
5208 (count-words--message): New function. Handle plurals.
5209 (count-lines-region): Make it an alias for count-words-region.
5210
5211 * bindings.el (esc-map): Replace count-lines-region with
5212 count-words-region.
5213
c557cd6b
MR
52142011-10-08 Martin Rudalics <rudalics@gmx.at>
5215
5216 * window.el (window--delete): Delete dedicated frame
5217 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5218 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5219
61a57ef4 52202011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5221
3a7d293b 5222 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5223
c3833279
CY
52242011-10-07 Chong Yidong <cyd@stupidchicken.com>
5225
5226 * bindings.el ([M-left],[M-right]): Bind to left-word and
5227 right-word respectively.
5228
21ce8245
GM
52292011-10-07 Glenn Morris <rgm@gnu.org>
5230
5231 * cus-start.el (debug-on-quit): Fix custom type.
5232
6d823bb2
LMI
52332011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5234
0181e193
LMI
5235 * subr.el (define-key-after): Clarify that the function is not
5236 useful for non-menu keymaps.
5237
6d823bb2
LMI
5238 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5239
8e3459ce 52402011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5241
21ce8245 5242 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5243 in current minibuffer (Fix bug with recursive minibuffers).
5244
a1c2d21e
CY
52452011-10-06 Chong Yidong <cyd@stupidchicken.com>
5246
5247 * progmodes/gdb-mi.el (gdb): Doc fix.
5248
5a4cf282
MR
52492011-10-05 Martin Rudalics <rudalics@gmx.at>
5250
5251 * window.el (frame-auto-hide-function): New option replacing
5252 frame-auto-delete. Suggested by Stefan Monnier.
5253 (window--delete): Call frame-auto-hide-function instead of
5254 investigating frame-auto-delete.
c96111ea
MR
5255 (window-point-1, set-window-point-1): New functions.
5256 (window-in-direction, record-window-buffer, window-state-get-1)
5257 (display-buffer-record-window): Use window-point-1 instead of
5258 window-point.
5259 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5260
9854542e
SM
52612011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5264
8943cfb0
GM
52652011-10-05 Glenn Morris <rgm@gnu.org>
5266
5267 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5268 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5269
647ab967
LL
52702011-10-05 Leo Liu <sdl.web@gmail.com>
5271
5272 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5273 works with buffer object.
5274
3ddfbced
SM
52752011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5276
5277 * mpc.el (mpc-tool-bar-map): Add labels.
5278
bdfa5dd2
GM
52792011-10-04 Glenn Morris <rgm@gnu.org>
5280
5281 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5282
0e2070b5
MR
52832011-10-04 Martin Rudalics <rudalics@gmx.at>
5284
5285 * window.el (window--delete): New function.
5286 (frame-auto-delete): Resuscitate option.
5287 (bury-buffer, replace-buffer-in-windows)
5288 (quit-window): Rewrite using window--delete.
5289 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5290 Pass display-buffer-mark-dedicated to window--display-buffer-2
5291 (Bug#9639).
5292
3dc61a09
SM
52932011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5294
915a9b64
SM
5295 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5296 returns a list (bug#9554). Add remote file name completion.
5297 * comint.el (comint--table-subvert): Curry and get quote&unquote
5298 functions as arguments.
5299 (comint--complete-file-name-data): Adjust call accordingly.
5300 * pcomplete.el (pcomplete--table-subvert): Remove.
5301 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5302
3dc61a09
SM
5303 * minibuffer.el (completion-table-case-fold): Use currying.
5304 (completion--styles-type, completion--cycling-threshold-type):
5305 New constants.
5306 (completion-styles, completion-category-overrides)
5307 (completion-cycle-threshold): Use them.
5308 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5309 completion-table-case-fold.
5310
8ea0a993
SB
53112011-10-03 Stephen Berman <stephen.berman@gmx.net>
5312
5313 * minibuffer.el (completion-category-overrides): Fix type of styles
5314 and add more user friendly tags (bug#9660).
5315
8c24b7f6
SM
53162011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5319 (mule-input-method-string): New widget.
5320 (default-input-method, language-info-custom-alist): Use it.
5321
428fe61a
SM
53222011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5323
32c1fffd
SM
5324 * pcomplete.el: Require comint.
5325 (pcomplete--common-suffix): Remove.
5326 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5327 (pcomplete--table-subvert): Sync with comint--table-subvert.
5328 (pcomplete--entries): Use comint-completion-file-name-table.
5329 * comint.el (comint-unquote-filename): Simplify.
5330 (comint-completion-file-name-table): New function (bug#9616).
5331 (comint--complete-file-name-data): Use it.
5332
428fe61a
SM
5333 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5334 (pcmpl-gnu-tar-buffer): Remove.
5335 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5336 around. Make sure pcomplete-suffix-list is only changed temporarily.
5337 Don't look inside the tar's file if it's too large.
428fe61a 5338
04c52e2f
CY
53392011-10-01 Chong Yidong <cyd@stupidchicken.com>
5340
ce3cefcc
CY
5341 * cus-edit.el (custom-mode-map):
5342 * epa.el (epa-key-list-mode-map):
5343 * man.el (Man-mode-map):
5344 * startup.el (splash-screen-keymap):
5345 * simple.el (special-mode-map): Use scroll-up-command and
5346 scroll-down-command.
5347
5348 * progmodes/idlw-help.el (idlwave-help-mode-map):
5349 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5350 * net/newst-plainview.el (newsticker-mode-map):
5351 * emulation/ws-mode.el (wordstar-mode-map):
5352 * emulation/vi.el (vi-com-map):
5353 * calc/calc-graph.el (calc-graph-show-dumb):
5354 * term/sun.el (terminal-init-sun):
5355 * term/ns-win.el (global-map):
5356 * progmodes/grep.el (grep-mode-map):
5357 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5358 * mail/rmail.el (rmail-mode-map):
5359 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5360
04c52e2f
CY
5361 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5362 custom-safe-themes as special.
5363
79adf8c8
JD
53642011-10-01 Julien Danjou <julien@danjou.info>
5365
5366 * notifications.el (notifications-notify): Fix docstring.
5367
63bd50d3
PS
53682011-10-01 Per Starbäck <per@starback.se>
5369
5370 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5371
199e4c7e
MR
53722011-09-30 Martin Rudalics <rudalics@gmx.at>
5373
5374 * startup.el (command-line-1): Fix last fix by inserting
5375 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5376 (Bug#9605) and (Bug#9636)
199e4c7e 5377
fe5f08dd
EZ
53782011-09-29 Eli Zaretskii <eliz@gnu.org>
5379
5380 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5381 window is hscrolled, move by logical lines. (Bug#9607)
5382 (line-move-visual): Update the doc string to the above effect.
5383
b5516bbd
MR
53842011-09-29 Martin Rudalics <rudalics@gmx.at>
5385
ccee00c0
MR
5386 * window.el (display-buffer-record-window): When WINDOW is the
5387 selected window use `point' instead of `window-point'. (Bug#9626)
5388
b5516bbd
MR
5389 * startup.el (command-line-1): Use insert-before-markers when
5390 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5391
b5516bbd
MR
5392 * help.el (help-window): Remove variable.
5393
52aa0014
GM
53942011-09-29 Glenn Morris <rgm@gnu.org>
5395
5396 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5397
df9a7357
JB
53982011-09-29 Juanma Barranquero <lekktu@gmail.com>
5399
5400 * descr-text.el (describe-char-categories): Accept category
5401 descriptions more than one line long.
5402
a8406c20
SM
54032011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5404
88d9610c
SM
5405 * simple.el (delete-trailing-whitespace): Fix last change.
5406
a5daf810
SM
5407 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5408 Don't confuse "y => 3" as the beginning of a `y' operation.
5409
a8406c20
SM
5410 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5411 object has more than 4 slots (bug#9613).
5412
a239d4e9
JB
54132011-09-28 Juanma Barranquero <lekktu@gmail.com>
5414
5415 * subr.el (with-output-to-temp-buffer):
5416 * net/quickurl.el (quickurl, quickurl-browse-url):
5417 Fix typos in docstrings.
5418
693fbdb6
EZ
54192011-09-27 Eli Zaretskii <eliz@gnu.org>
5420
5421 * minibuffer.el (completion-styles)
5422 (completion-category-overrides): Cross reference each other in doc
5423 strings.
5424
8b457e28
GM
54252011-09-27 Glenn Morris <rgm@gnu.org>
5426
5427 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5428 to split-string. (Bug#9606)
5429
85a16208
LMI
54302011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5431
5432 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5433 (bug#9615).
5434
502f9ebd
CY
54352011-09-27 Chong Yidong <cyd@stupidchicken.com>
5436
5437 * emacs-lisp/package.el (list-packages): Fix echo area message.
5438
7690bdea
LL
54392011-09-27 Leo Liu <sdl.web@gmail.com>
5440
5441 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5442
e2ee6f30
MA
54432011-09-25 Michael Albinus <michael.albinus@gmx.de>
5444
5445 * net/dbus.el (dbus-unregister-object): Don't release services for
5446 registered signals. (Bug#9581)
5447
f3f98342
TZ
54482011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5449
5450 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5451 function that picks between cfengine 2 and 3 support
5452 automatically. Update docs accordingly.
5453
dd7aa8dd
KH
54542011-09-22 Kenichi Handa <handa@m17n.org>
5455
5456 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5457 ZERO.
5458 (indian-itrans-v5-table-for-tamil): New variable.
5459 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5460
3f2b07f8
KM
54612011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5462
5463 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5464 that's true if the current command involved collapsing of text.
5465 It's reset to false at the beginning of the next command.
5466 (allout-post-command-business): Move the cursor to the beginning
5467 of entry if the cursor is hidden and collapsing activity just
5468 happened.
5469
371d6a61
CY
54702011-09-24 Chong Yidong <cyd@stupidchicken.com>
5471
5472 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5473 tracking (Bug#9541).
5474
2ac2721a
UJ
54752011-09-24 Ulf Jasper <ulf.jasper@web.de>
5476
5477 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5478 (newsticker-show-news): Automatically load html rendering package
5479 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5480 because w3m-fill-column is let-bound" and the error "Symbol's value
5481 as variable is void: w3m-fill-column".
2ac2721a 5482
fac7ae53
MA
54832011-09-24 Michael Albinus <michael.albinus@gmx.de>
5484
5485 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5486 Release services only if they are defined. (Bug#9581)
5487
e08b633b
RS
54882011-09-23 Richard Stallman <rms@gnu.org>
5489
e488d29c
RS
5490 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5491 distinguish start of paragraph from start of its text.
5492
19c38752
RS
5493 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5494
e08b633b
RS
5495 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5496 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5497 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5498
0a39f27e
AS
54992011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5500
5501 * international/mule-diag.el (mule-diag): Insert a newline after
5502 each fontset description.
5503
db4e950d
SM
55042011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * simple.el (delete-trailing-whitespace):
5507 Document last change; simplify.
5508
eca3f3ea
PW
55092011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5510
d68e189a
PW
5511 * simple.el (delete-trailing-whitespace): Also delete
5512 extra newlines at the end of the buffer.
5513
eca3f3ea
PW
5514 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5515 (picture-newline): Use forward-line so as to ignore fields.
5516
01c157cc
SM
55172011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * subr.el (with-wrapper-hook): Fix edebug spec.
5520
022de23e
LMI
55212011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5522
5523 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5524 (bug#4538).
5525
91683089
MA
55262011-09-23 Michael Albinus <michael.albinus@gmx.de>
5527
eca3f3ea
PW
5528 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5529 Fix nasty bug using wrong cached values.
91683089 5530
5bdd6fa4
AM
55312011-09-23 Alan Mackenzie <acm@muc.de>
5532
5533 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5534
97adfb97
CY
55352011-09-23 Chong Yidong <cyd@stupidchicken.com>
5536
5537 * window.el (pop-to-buffer): Ensure right window is selected if we
5538 chose another frame.
5539
d4ef2b50
EZ
55402011-09-22 Eli Zaretskii <eliz@gnu.org>
5541
5542 * simple.el (what-cursor-position): Use get-char-property-change
5543 and next-single-char-property-change, to be able to show display
5544 properties that come from overlays as well as text properties.
5545
72258fe5
CY
55462011-09-22 Chong Yidong <cyd@stupidchicken.com>
5547
5548 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5549
5550 * cmuscheme.el (run-scheme, switch-to-scheme):
5551 * cus-edit.el (customize-group, custom-buffer-create)
5552 (customize-browse):
5553 * info.el (info):
5554 * shell.el (shell):
5555 * mail/sendmail.el (mail):
5556 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5557
8f098516
RS
55582011-09-22 Richard Stallman <rms@gnu.org>
5559
5560 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5561 move back only to line beg, don't move back over blank lines.
5562
e74f1bb6
MA
55632011-09-22 Michael Albinus <michael.albinus@gmx.de>
5564
5565 * files.el (copy-directory): Set directory attributes only in case
5566 they could be retrieved from the source directory. (Bug#9565)
5567
bfeef8b6
DK
55682011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5569
5570 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5571 (hs-find-block-beginning, hs-hide-level-recursive):
5572 Ignore strings as well as comments. (Bug#9502)
5573
7e423bb8
AS
55742011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5575
5576 * progmodes/sql.el (sql-comint-postgres):
5577 Convert port number to a string. (Bug#9566)
5578
b4d72fcf
MR
55792011-09-22 Martin Rudalics <rudalics@gmx.at>
5580
5581 * window.el (quit-window): Undedicate window when switching to
5582 previous buffer. Reported by Thierry Volpiatto
5583 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5584 (special-display-popup-frame): When popping up a new frame reset
5585 its previous buffers to nil. Simplify code.
b4d72fcf 5586
a7b88dc6
MA
55872011-09-21 Michael Albinus <michael.albinus@gmx.de>
5588
5589 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5590 and process filter, as done also in `shell-command'.
5591
cf4eacfd
MR
55922011-09-21 Martin Rudalics <rudalics@gmx.at>
5593
eca3f3ea 5594 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5595 Call set-window-start with NOFORCE argument t.
5596 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5597 (quit-window): Reword doc-string. Handle new format of
5598 quit-restore parameter. Don't delete window if it has a
5599 previous buffer we can show instead of the present one.
5600 (display-buffer-record-window): Rewrite using a new format for
5601 the quit-restore window parameter
5602 (special-display-popup-frame, display-buffer-same-window)
5603 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5604 (display-buffer-pop-up-window, display-buffer-use-some-window):
5605 Adapt symbol passed to display-buffer-record-window.
5606 * help.el (help-window-setup): Handle new format of quit-restore
5607 parameter.
5608
8d28cb95
SM
56092011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5610
94ab793f
SM
5611 * faces.el (face-list): Fix docstring (bug#9564).
5612
8d28cb95
SM
5613 * window.el (display-buffer--action-function-custom-type):
5614 Don't include internal functions in the Custom interface.
5615
3820edeb
JL
56162011-09-20 Juri Linkov <juri@jurta.org>
5617
5618 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5619 (Info-forward-node, Info-backward-node, Info-next-preorder)
5620 (Info-last-preorder): Use it. (Bug#9528)
5621
5147931d
JL
56222011-09-20 Juri Linkov <juri@jurta.org>
5623
5624 * info.el (Info-last-preorder): Visit last menu item only when
5625 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5626
cf499a1a
JD
56272011-09-20 Julien Danjou <julien@danjou.info>
5628
5629 * password-cache.el (password-cache-remove): Remove entries even if the
5630 value is nil, so that password with a nil value (negative caching) is
5631 possible to invalidate.
5632
f84e2fe2
LM
56332011-09-20 Lawrence Mitchell <wence@gmx.li>
5634
5635 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5636 all whitespace around breakpoint. (Bug#9553)
5637 (f90-find-breakpoint): Only break at whitespace inside a comment.
5638
78054a46
SM
56392011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 * minibuffer.el (completion-file-name-table): Keep track of errors.
5642 (completion-table-with-predicate): Handle the case where pred1 is nil.
5643 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5644
345083b2
SM
56452011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5646
e24e27be
SM
5647 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5648 (debugger-return-value): Signal an error if the debugging context does
5649 not await any return value.
5650
345083b2
SM
5651 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5652 * image-mode.el (image-toggle-display-text)
5653 (image-toggle-display-image): Stay away from evil `intangible'.
5654
08d355e3
LL
56552011-09-19 Leo Liu <sdl.web@gmail.com>
5656
5657 * replace.el (occur-revert-arguments): Make it permanent-local.
5658 (occur-mode): Don't call font-lock-defontify.
5659
f01da43f
CY
56602011-09-19 Chong Yidong <cyd@stupidchicken.com>
5661
5662 * net/ldap.el (ldap-search-internal): Don't push empty search
5663 result (Bug#9508).
5664
b6072fa6
SM
56652011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5668
443d6696
MA
56692011-09-19 Michael Albinus <michael.albinus@gmx.de>
5670
5671 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5672 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5673
7cc6e154
JL
56742011-09-18 Juri Linkov <juri@jurta.org>
5675
5676 * buff-menu.el (Buffer-menu-mode-map):
5677 * dired.el (dired-mode-map):
5678 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5679 (lisp-interaction-mode-map):
5680 * emacs-lisp/package.el (package-menu-mode-map):
5681 * epa.el (epa-key-list-mode-map):
5682 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5683 (menu-bar-options-menu):
5684 * outline.el (outline-mode-menu-bar-map):
5685 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5686 * vc/vc-dir.el (vc-dir-menu-map):
5687 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5688 Capitalize non-function content words in menu item strings.
5689
5690 * dired.el (dired-mode-map): Add menu item for
5691 `image-dired-dired-toggle-marked-thumbs'.
5692
80302a81
JL
56932011-09-18 Juri Linkov <juri@jurta.org>
5694
5695 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5696 to `isearch-case-fold-search' and restore its original value
5697 after the `isearch-mode' call.
5698
46c5cf66
JL
56992011-09-18 Juri Linkov <juri@jurta.org>
5700
5701 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5702 because `zgrep' returns 1 for successful matches (bug#9226).
5703
d18b513b
JL
57042011-09-18 Juri Linkov <juri@jurta.org>
5705
5706 * info.el (Info-extract-menu-node-name): Check the second match
5707 for empty string (second test-case of bug#9528).
5708 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5709 intermediate nodes to the history (first test-case of bug#9528).
5710
72753f87
JL
57112011-09-18 Juri Linkov <juri@jurta.org>
5712
5713 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5714 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5715
c9384295
JL
57162011-09-18 Juri Linkov <juri@jurta.org>
5717
1154d12e
JB
5718 * info.el (Info-file-supports-index-cookies):
5719 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5720 outputs one more line for long file names (bug#4142).
c9384295 5721
d473dce8
CY
57222011-09-18 Chong Yidong <cyd@stupidchicken.com>
5723
5724 * newcomment.el (comment-normalize-vars): If prompting for
5725 comment-start, set comment-start-skip too (Bug#8424).
5726
2176854d
JB
57272011-09-18 Johan Bockgård <bojohan@gnu.org>
5728
5729 * icomplete.el: Fix previous fix of Bug#5849.
5730 (icomplete-mode): Don't set completion-show-inline-help.
5731 (icomplete-minibuffer-setup): Set completion-show-inline-help
5732 locally during icompletion.
5733
3aace4e4
CY
57342011-09-18 Chong Yidong <cyd@stupidchicken.com>
5735
c940224f
CY
5736 * woman.el (woman2-process-escapes): Don't delete unrecognized
5737 escapes (Bug#7843).
5738
3aace4e4
CY
5739 * files.el (inhibit-first-line-modes-regexps): Add image files.
5740 (hack-local-variables-prop-line): Return nil for malformed
5741 prop-lines (Bug#9044).
5742
710dec63
MA
57432011-09-18 Michael Albinus <michael.albinus@gmx.de>
5744
5745 * net/tramp.el (top): Don't require 'shell.
5746 (tramp-methods): Fix docstring.
5747 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5748 Return complete remote file name. Handle "smb" case.
5749 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5750 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5751
5752 * net/tramp-compat.el (top): Require 'shell.
5753
5754 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5755 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5756 `tramp-current-host'.
5757 (tramp-get-remote-tmpdir): Remove.
5758
5759 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5760 `tramp-tmpdir' entries.
5761 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5762 (tramp-smb-handle-file-attributes): Ignore errors.
5763 (tramp-smb-wait-for-output): Check also for process end.
5764
5d5ac8ec
LMI
57652011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5766
5767 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5768 when sending QUIT (bug#9312).
5769
8c0f49f0
CY
57702011-09-17 Chong Yidong <cyd@stupidchicken.com>
5771
5772 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5773 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5774 occur-mode-display-occurrence.
5775 (occur-edit-mode): Add usage message.
5776 (occur-cease-edit): New command.
5777 (occur-after-change-function): Use text properties to find the
5778 position of the prefix text.
5779 (occur-engine): Set stickiness of prefix text properties.
5780
8f1383f7
GM
57812011-09-17 Glenn Morris <rgm@gnu.org>
5782
5783 * progmodes/etags.el (complete-tag):
5784 Fix call to completion-in-region. (Bug#9526)
5785
744ba0e3
JL
57862011-09-17 Juri Linkov <juri@jurta.org>
5787
5788 * textmodes/ispell.el (ispell-word): Add to the error message
5789 the word, ispell program name and current dictionary (bug#9121).
5790 (ispell-tex-arg-end): Capitalize "error" in the error message.
5791
d9bbf400
AS
57922011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5793
5794 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5795 check. (Bug#4251)
5796
8da11505
JL
57972011-09-17 Juri Linkov <juri@jurta.org>
5798
5799 * window.el (window-safe-min-height, window-safe-min-width):
5800 Fix typos (followup to bug#9522).
5801
a91adc7e
SJ
58022011-09-17 Sven Joachim <svenjoac@gmx.de>
5803
5804 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5805
064f328a
EZ
58062011-09-16 Eli Zaretskii <eliz@gnu.org>
5807
5808 * simple.el (line-move): If goal-column is set, move by logical
5809 lines, not by display lines. (Bug#971)
5810 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5811 to reflect the above change.
5812
e69df516
SM
58132011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * image.el (imagemagick-register-types): Use regexp-opt.
5816
cbb0f9ab
CY
58172011-09-15 Chong Yidong <cyd@stupidchicken.com>
5818
5819 * window.el (display-buffer-base-action): Rename from
5820 display-buffer-default-action. Make default value empty.
5821 (display-buffer-overriding-action): Convert to defvar.
5822 (display-buffer-fallback-action): New var.
5823
25322144
CY
58242011-09-15 Chong Yidong <cyd@stupidchicken.com>
5825
5826 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5827 declaration.
5828 (package--add-to-archive-contents): If there is a duplicate entry
5829 with an older version, remove it.
5830 (package-menu-mark-delete, package-menu-mark-install)
5831 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5832 (package-menu-mark-obsolete-for-deletion):
5833 Use package-menu-get-status instead of a regexp search.
25322144
CY
5834 (package-menu-get-status): Use tabulated-list-entry.
5835 (package-menu-mark-upgrades): New command.
d770725a 5836 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5837 (package-menu-execute): Do installation before deletion.
5838 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5839 instead of checking major-mode.
5840 (package-menu--find-upgrades): New function.
5841
7520339c
LMI
58422011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5843
5844 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5845 passwords in the log buffer.
65a046c4
LMI
5846 (smtpmail-process-filter): Update the process marker so that the
5847 "broken by peer" status message is inserted in the right place.
7520339c 5848
d3c30954
SM
58492011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5850
3fe48822
SM
5851 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5852 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5853 bibtex-completion-at-point-function.
5854 (bibtex-completion-at-point-function): Use them.
5855
1b8b3954
SM
5856 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5857
d3c30954
SM
5858 * mpc.el (mpc-constraints-tag-lookup): New function.
5859 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5860 also to browser "album|playlist".
5861
72779976
JL
58622011-09-14 Juri Linkov <juri@jurta.org>
5863
5864 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5865 (isearch-edit-string): Use length of `isearch-string' when
5866 `isearch-fail-pos' returns nil.
5867 (isearch-message): Remove duplicate code and call
5868 `isearch-fail-pos' with arg `t'.
5869
a0bf2bcd
CY
58702011-09-14 Chong Yidong <cyd@stupidchicken.com>
5871
17bb0a2d
CY
5872 * replace.el (occur-mode-goto-occurrence): Don't force using other
5873 window (Bug#9499).
5874
a0bf2bcd
CY
5875 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5876
f678e0b6
MR
58772011-09-14 Martin Rudalics <rudalics@gmx.at>
5878
5879 * window.el (display-buffer-window): Remove.
5880 (display-buffer-record-window): Use help-setup window parameter
5881 instead of variable display-buffer-window.
5882 (display-buffer-function, special-display-buffer-names)
5883 (special-display-function): Mention help-setup parameter instead
5884 of display-buffer-window in doc-string.
d3c30954
SM
5885 * help.el (help-window-setup): New argument help-window.
5886 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5887 Reword some messages.
5888 (with-help-window): Pass window used for displaying the buffer
5889 to help-window-setup. Don't set display-buffer-window.
5890
8e39b2e8
GM
58912011-09-13 Glenn Morris <rgm@gnu.org>
5892
5893 * emacs-lisp/debug.el (debugger-make-xrefs):
5894 Preserve point. (Bug#9462)
5895
85e9c04b
CY
58962011-09-13 Chong Yidong <cyd@stupidchicken.com>
5897
5898 * window.el (window-deletable-p): Use next-frame.
5899
1b36ed6a
MR
59002011-09-13 Martin Rudalics <rudalics@gmx.at>
5901
5902 * window.el (window-auto-delete): Remove.
5903 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5904 dedication and previous buffers.
1b36ed6a
MR
5905 (switch-to-prev-buffer): Don't delete window.
5906 (delete-windows-on): Delete a window's frame if and only if the
5907 window is dedicated.
5908 (replace-buffer-in-windows): Delete buffer's window or frame if
5909 and only if window is dedicated.
5910 (quit-window): Handle quit-restore as before last change.
4d61f28d 5911 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5912
ef8ef9fb
CY
59132011-09-13 Chong Yidong <cyd@stupidchicken.com>
5914
5915 * window.el (window-deletable-p): Never delete the last frame on a
5916 given terminal.
5917
b2cba41e
GM
59182011-09-13 Glenn Morris <rgm@gnu.org>
5919
5920 * help.el (describe-key-briefly): Copy previous standard-output change.
5921
51553db6 59222011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5923
5924 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5925
b7556719
GM
59262011-09-13 Glenn Morris <rgm@gnu.org>
5927
5928 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5929 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5930
64b51947
CY
59312011-09-12 Chong Yidong <cyd@stupidchicken.com>
5932
5933 * dired-aux.el (dired-mark-read-string): Don't return default
5934 value on empty input (Bug#9361).
5935 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5936 Omit initial minibuffer contents.
5937 (dired-do-chmod): Signal an error on empty input.
5938 (dired-mark-read-string): Don't return default on empty input.
5939
5940 * files.el (file-modes-symbolic-to-number): Doc fix.
5941
393a301e
SM
59422011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * international/mule-cmds.el (ucs-completions): Remove.
5945 (read-char-by-name): Use complete-with-action instead; add metadata.
5946
fa5660f9
CY
59472011-09-11 Chong Yidong <cyd@stupidchicken.com>
5948
5949 * window.el (display-buffer--action-function-custom-type)
5950 (display-buffer--action-custom-type): New vars.
5951 (display-buffer-alist, display-buffer-default-action)
5952 (display-buffer-overriding-action): Add defcustom types.
5953
4a592f66
CY
5954 * frame.el (delete-other-frames): Doc fix (Bug#276).
5955
73d56dbd
LMI
59562011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5957
5958 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5959
37ac18a3
CY
59602011-09-11 Chong Yidong <cyd@stupidchicken.com>
5961
5962 Change modes that used same-window-* vars to use switch-to-buffer.
5963
5964 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5965 Use switch-to-buffer.
5966
5967 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5968 (customize-browse, custom-buffer-create-other-window):
5969 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5970
5971 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5972 (Info-prev, Info-up, Info-speedbar-goto-node)
5973 (info-display-manual): Use switch-to-buffer.
5974 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5975
5976 * mail/sendmail.el (mail): Use switch-to-buffer.
5977 (mail-recover): Use switch-to-buffer-other-window.
5978
5979 * cmuscheme.el (run-scheme, switch-to-scheme):
5980 * ielm.el (ielm):
5981 * shell.el (shell):
5982 * net/rlogin.el (rlogin):
5983 * net/telnet.el (telnet, rsh):
5984 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5985
10195bd6
AS
59862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5987
5988 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5989
b322f63a
LMI
59902011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5991
39d7fed6
LMI
5992 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5993 so don't mention it (bug#9301).
ba5a81f1 5994 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5995
ee0e9f11
LMI
5996 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5997 match `x', `w32' and `ns', like the manual says (bug#9029).
5998
0b1c89c1 5999 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
6000 (process-kill-buffer-query-function): Mention the buffer name in
6001 the query.
0b1c89c1 6002
77549ea8
LMI
6003 * image-mode.el (image-next-line): The line parameter is mandatory
6004 (bug#9258).
6005
803ef892
LMI
6006 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6007 which can be useful (bug#9301).
6008
12980837
LMI
6009 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6010
91054f8f
LMI
6011 * subr.el (match-string): Mention that the current buffer should
6012 be the same as the search was done in (bug#9282).
6013
b322f63a
LMI
6014 * facemenu.el: Disable the remove-* commands if the mark isn't
6015 active (bug#9162).
6016
3199b96f
CY
60172011-09-10 Chong Yidong <cyd@stupidchicken.com>
6018
6019 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6020 of display-buffer.
6021 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6022
6023 * replace.el (occur-mode-goto-occurrence)
6024 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6025 and display-buffer.
6026
6027 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6028 display-buffer.
6029
6030 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6031 special-display and same-window variables.
6032 (mail-other-window): Use switch-to-buffer-other-window.
6033 (mail-other-frame): USe switch-to-buffer-other-frame.
6034
393a301e
SM
6035 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6036 Use display-buffer-other-frame.
3199b96f
CY
6037 (gdb-display-gdb-buffer): Use pop-to-buffer.
6038
6039 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6040
6041 * progmodes/python.el: Don't set same-window-buffer-names.
6042
6043 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6044
6045 * window.el (display-buffer-alist): Add *Python*.
6046
8319e0bf
CY
60472011-09-10 Chong Yidong <cyd@stupidchicken.com>
6048
6049 * window.el (display-buffer-alist): Add entry for buffers
6050 previously handled same-window-*.
6051 (display-buffer-alist, display-buffer-default-action)
6052 (display-buffer-overriding-action): Mark as risky.
6053 (display-buffer-alist): Document action function changes.
6054 (display-buffer--same-window-action)
6055 (display-buffer--other-frame-action): New variables.
6056 (switch-to-buffer, display-buffer-other-frame): Use them.
6057 (display-buffer): Rename reuse-frame entry to reusable-frames.
6058 (display-buffer-reuse-selected-window): Function deleted.
6059 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6060 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6061 (display-buffer-special): New function.
6062 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6063 display-buffer-reuse-or-pop-window. Split off special-display
6064 part into display-buffer-special.
6065 (display-buffer-use-some-window): Don't perform any special
6066 pop-up-frames handling.
6067 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6068 (display-buffer--maybe-same-window): Rename from
0d3ff375 6069 display-buffer-maybe-same-window.
8319e0bf 6070
919a69aa
CY
6071 * info.el: Don't set same-window-regexps.
6072 (info-setup): New function.
6073 (info-other-window, info): Call it.
6074
6075 * cus-edit.el: Don't set same-window-regexps.
6076 (customize-group): New argument.
6077 (customize-group-other-window): Use it.
6078 (customize-face, customize-face-other-window): Likewise.
6079 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6080
8319e0bf
CY
6081 * net/rlogin.el:
6082 * net/telnet.el:
6083 * progmodes/gud.el: Don't set same-window-regexps.
6084
6085 * cmuscheme.el:
6086 * ielm.el:
6087 * shell.el:
6088 * mail/sendmail.el:
6089 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6090
25173000
JL
60912011-09-10 Juri Linkov <juri@jurta.org>
6092
6093 * isearch.el (isearch-edit-string): Remove obsolete mention of
6094 `C-w' (`isearch-yank-word-or-char') from docstring.
6095 (isearch-query-replace): Fix typo in docstring (bug#9466).
6096
056e44ef
JL
60972011-09-10 Juri Linkov <juri@jurta.org>
6098
6099 * paren.el (show-paren-function): Don't show escaped parens.
6100 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6101
c3760c17
EZ
61022011-09-10 Eli Zaretskii <eliz@gnu.org>
6103
6104 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6105 (mm-default-file-encoding): Remove autoload forms, they are
6106 replaced with autoload cookies in mml.el and mm-encode.el.
6107 (mail-add-attachment): New command.
6108 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6109 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6110 the doc string.
6111 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6112
fece895e
RT
61132011-09-10 Reuben Thomas <rrt@sc3d.org>
6114
e69df516
SM
6115 * simple.el (count-words-region): Use buffer if there's no region
6116 (bug#9429).
fece895e 6117
5e68ce4a
JL
61182011-09-09 Juri Linkov <juri@jurta.org>
6119
6120 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6121 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6122 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6123
0a6b9622
AM
61242011-09-09 Alan Mackenzie <acm@muc.de>
6125
6126 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6127 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6128
14a29deb
EZ
61292011-09-09 Eli Zaretskii <eliz@gnu.org>
6130
6131 Fix for Savannah bug#9392.
6132 * simple.el (mail-encode-mml): New defvar.
6133
6134 * mail/rmail.el (mail-encode-mml): Add a defvar.
6135 (rmail-enable-mime-composing): Default to t.
6136 (rmail-forward): Use MIME method of forwarding only if both
6137 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6138 Set mail-encode-mml non-nil if the MIME method was used.
6139
6140 * mail/sendmail.el (mml-to-mime): Add autoload form.
6141 (mail-encode-mml): Add a defvar.
6142 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6143 to nil.
6144 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6145 message through mml-to-mime, and reset mail-encode-mml to nil.
6146
28c45130
GM
61472011-09-09 Glenn Morris <rgm@gnu.org>
6148
6149 * woman.el (woman-if-body): When processing an .el block,
6150 do not delete the next .el block as well. (Bug#9447)
69f4b618 6151 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6152
9b1c252e
MR
61532011-09-08 Martin Rudalics <rudalics@gmx.at>
6154
6155 * window.el (window-deletable-p): Make sure window is live before
6156 invoking window-prev-buffers.
6157
567457e3
LL
61582011-09-08 Leo Liu <sdl.web@gmail.com>
6159
6160 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6161
97f05794
JL
61622011-09-08 Juri Linkov <juri@jurta.org>
6163
6164 * progmodes/compile.el (compilation-environment): Make it
6165 a defcustom (bug#8340).
6166
8b0874b5
MR
61672011-09-08 Martin Rudalics <rudalics@gmx.at>
6168
6169 * window.el (frame-auto-delete): Rename to window-auto-delete.
6170 Make it control auto-deletion of windows and/or frames.
6171 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6172 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6173 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6174 Rewrite handling of case when window/frame can be deleted.
6175 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6176 argument t. (Bug#9456)
8b0874b5 6177
4feb6e73
CY
61782011-09-07 Chong Yidong <cyd@stupidchicken.com>
6179
6180 * help-mode.el (help-mode): Restore autoload.
6181
91ab9c13
JL
61822011-09-07 Juri Linkov <juri@jurta.org>
6183
6184 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6185 `compilation-environment'. Set buffer-local
6186 `compilation-environment' to `thisenv' later after (funcall mode).
6187 (Bug#8340)
6188
6189 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6190 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6191 instead of replacing its value. (Bug#8340)
6192
0527e251
JL
61932011-09-07 Juri Linkov <juri@jurta.org>
6194
6195 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6196 based on text properties put by `grep-filter' instead of matching
6197 escape sequences.
6198 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6199 to the value of `grep-error-screen-columns' (bug#9438).
6200
249f792c
JL
62012011-09-07 Juri Linkov <juri@jurta.org>
6202
6203 * simple.el (next-error-highlight, next-error-highlight-no-select):
6204 Doc fix (bug#9432).
6205
ff7271b9
OT
62062011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6207
6208 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6209 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6210
183fc730
LL
62112011-09-07 Leo Liu <sdl.web@gmail.com>
6212
6213 * net/rcirc.el (rcirc-mode): Conditionally initialize
6214 rcirc-input-ring.
6215
77694924
SM
62162011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * emacs-lisp/find-func.el (find-function-C-source): Only set
6219 find-function-C-source-directory after checking that we found a source
6220 file there (bug#9440).
6221
d809b8eb
AM
62222011-09-06 Alan Mackenzie <acm@muc.de>
6223
6224 * isearch.el (isearch-other-meta-char): Wherever a key list is
6225 unread, "unread" the prefix arg, too. This fixes bug #8901.
6226
453de99f
OG
62272011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6228
6229 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6230
90439906
JL
62312011-09-05 Juri Linkov <juri@jurta.org>
6232
6233 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6234
f62bd846
JL
62352011-09-05 Juri Linkov <juri@jurta.org>
6236
6237 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6238 keeping point where processing of grep matches begins, and
6239 continue to delete remaining escape sequences from the same point.
6240 (grep-filter): Make leading zero optional in "0?1;31m" because
6241 git-grep emits "\033[1;31m" escape sequences unlike expected
6242 "\033[01;31m" as GNU Grep does (bug#9408).
6243 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6244
045820ec
JL
62452011-09-05 Juri Linkov <juri@jurta.org>
6246
6247 * subr.el (y-or-n-p): Capitalize "yes".
6248
f5e29b9b
MA
62492011-09-04 Michael Albinus <michael.albinus@gmx.de>
6250
6251 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6252 `tramp-cache-unload-hook' where appropriate.
6253 (tramp-methods): Rename `tramp-remote-sh' to
6254 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6255 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6256
6257 * net/tramp-sh.el (top): Don't require 'shell.
6258 (tramp-methods): Add `tramp-remote-shell' and
6259 `tramp-remote-shell-args' entries.
6260 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6261 (tramp-sh-handle-shell-command): Remove.
6262 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6263 Use `tramp-remote-shell'.
6264
2784c434
CY
62652011-09-03 Chong Yidong <cyd@stupidchicken.com>
6266
393a301e 6267 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6268 (sendmail-query-once): Save directly to send-mail-function.
6269 Update message-send-mail-function too.
6270
6271 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6272
464cdf56
CS
62732011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6274
6275 * progmodes/python.el (python-mode-map): Use correct function to
6276 start python interpreter from menu-bar (as reported by Geert
6277 Kloosterman).
6278 (inferior-python-mode-map): Fix typo.
393a301e 6279 (python-shell-map): Remove.
464cdf56 6280
d37e5c87
DD
62812011-09-03 Deniz Dogan <deniz@dogan.se>
6282
6283 * net/rcirc.el (rcirc-print): Simplify code for
6284 rcirc-scroll-show-maximum-output. There is no need to walk
6285 through all windows to find the right one.
6286
f3ada0ee
CS
62872011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6288
6289 * help.el (help-return-method): Doc fix.
6290
1f3c99ca
MR
62912011-09-03 Martin Rudalics <rudalics@gmx.at>
6292
6293 * window.el (window-deletable-p): Don't return a non-nil value
6294 when there's a buffer that was shown in the window before.
6295 (Bug#9419)
393a301e
SM
6296 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6297 Set window's previous buffers to nil.
1f3c99ca 6298
a3cf097f
EZ
62992011-09-03 Eli Zaretskii <eliz@gnu.org>
6300
6301 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6302 newline before and after the tag line, so it doesn't interfere
6303 with determining the paragraph direction of bidirectional text.
6304
3d03de90
LL
63052011-09-03 Leo Liu <sdl.web@gmail.com>
6306
6307 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6308
c3313451
CY
63092011-09-02 Chong Yidong <cyd@stupidchicken.com>
6310
393a301e 6311 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6312 (pop-to-buffer): Change interactive spec. Pass second argument
6313 directly to display-buffer.
6314 (display-buffer): Fix interactive spec. Use functionp to
6315 distinguish between a function and a list of functions.
6316
6317 * abbrev.el (edit-abbrevs):
6318 * arc-mode.el (archive-extract):
6319 * autoinsert.el (auto-insert):
6320 * bookmark.el (bookmark-bmenu-list):
6321 * files.el (find-file):
6322 * view.el (view-buffer):
6323 * progmodes/compile.el (compilation-goto-locus):
6324 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6325
89894cd8
CY
63262011-09-02 Chong Yidong <cyd@stupidchicken.com>
6327
6328 * window.el (display-buffer-alist): Doc fix.
6329 (display-buffer): Add docstring. Don't treat
6330 display-buffer-default specially.
6331 (display-buffer-reuse-selected-window)
6332 (display-buffer-same-window, display-buffer-maybe-same-window)
6333 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6334 (display-buffer-pop-up-window)
6335 (display-buffer-reuse-or-pop-window)
6336 (display-buffer-use-some-window): New functions.
6337 (display-buffer-default-action): Use them.
393a301e 6338 (display-buffer-default): Delete.
89894cd8
CY
6339 (pop-to-buffer-1): Fix choice of actions.
6340
ae0bc9fb
SM
63412011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * minibuffer.el (completion--insert-strings): Don't get confused by
6344 completion entries that end with an LF char.
6345
e9d90883
EZ
63462011-09-01 Eli Zaretskii <eliz@gnu.org>
6347
6348 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6349
437014c8
CY
63502011-09-01 Chong Yidong <cyd@stupidchicken.com>
6351
6352 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6353 (display-buffer-same-window, display-buffer-other-window):
6354 New functions.
437014c8
CY
6355 (pop-to-buffer-1): New function. Use the above.
6356 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6357 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6358
6359 * view.el (view-buffer-other-window, view-buffer-other-frame):
6360 Just use pop-to-buffer.
6361
a5e063d5
TV
63622011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6363
6364 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6365
793d32bb
WH
63662011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6367
6368 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6369
d65e4c15
RS
63702011-08-31 Richard Stallman <rms@gnu.org>
6371
6372 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6373 of the separation of rmail-view-buffer from rmail-buffer.
6374 If you say no to "replace original", the decrypt is in the
6375 view buffer. If you say yes, the decrypt goes into the
6376 rmail buffer also.
6377
f818cd2a
MR
63782011-08-31 Martin Rudalics <rudalics@gmx.at>
6379
6380 * window.el (display-buffer-window): Rewrite doc-string.
6381 (display-buffer-record-window): New function.
6382 (display-buffer-macro-specifiers)
6383 (display-buffer-even-window-sizes, display-buffer-set-height)
6384 (display-buffer-set-width, display-buffer-in-window)
6385 (display-buffer-reuse-window, display-buffer-split-specifiers)
6386 (display-buffer-side-specifiers, display-buffer-split-window-1)
6387 (display-buffer-split-window, display-buffer-split-atom-window)
6388 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6389 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6390 (display-buffer-other-window-means-other-frame)
6391 (display-buffer-normalize-special)
6392 (display-buffer-normalize-default)
6393 (display-buffer-normalize-argument)
6394 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6395 (display-buffer-normalize-specifiers, display-buffer-frame)
6396 (display-buffer-same-window, display-buffer-same-frame)
6397 (display-buffer-other-window)
6398 (display-buffer-same-frame-other-window)
6399 (display-buffer-other-frame, pop-to-buffer-same-window)
6400 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6401 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6402 (switch-to-buffer-same-frame)
6403 (switch-to-buffer-other-window-same-frame)
6404 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6405 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6406 (display-buffer-alist-set): Remove.
6407 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6408 (special-display-regexps, special-display-function):
6409 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6410 parameter.
6411 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6412 (special-display-frame-alist, special-display-popup-frame)
6413 (same-window-buffer-names, same-window-regexps, same-window-p)
6414 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6415 (split-window-preferred-function, split-height-threshold)
6416 (split-width-threshold, window-splittable-p)
6417 (split-window-sensibly, window--try-to-split-window)
6418 (window--frame-usable-p, even-window-heights)
6419 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6420 (window--display-buffer-2, display-buffer-other-frame):
6421 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6422 (display-buffer-default, display-buffer-assq-regexp): New functions.
6423 (display-buffer-alist): Rewrite doc-string.
6424 (display-buffer-default-action)
6425 (display-buffer-overriding-action): New variables.
6426 (display-buffer, switch-to-buffer): Rewrite.
6427 (pop-to-buffer): Restore Emacs 23 behavior but use
6428 window-normalize-buffer-to-display.
6429 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6430 Restore Emacs 23 behavior but use
6431 window-normalize-buffer-to-switch-to.
6432 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6433 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6434 Rewrite using Emacs 23 options.
f818cd2a 6435
5bc3b51d
MA
64362011-08-31 Michael Albinus <michael.albinus@gmx.de>
6437
6438 * net/tramp.el (tramp-root-regexp): Remove.
6439 (tramp-completion-file-name-regexp-unified)
6440 (tramp-completion-file-name-regexp-separate)
6441 (tramp-completion-file-name-regexp-url): Don't use leading volume
6442 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6443 (tramp-drop-volume-letter): Simplify definition.
6444 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6445
b1a4f8e1
SM
64462011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6449 (bug#9356).
6450
5664fa7b
RT
64512011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6452
b1a4f8e1 6453 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6454
9a45d6c3
JL
64552011-08-29 Juri Linkov <juri@jurta.org>
6456
6457 * isearch.el (isearch-done): Don't display message "Mark saved"
6458 when arg `edit' is non-nil to prevent its flicker in the echo area.
6459
fb87e0fb
CY
64602011-08-28 Chong Yidong <cyd@stupidchicken.com>
6461
6462 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6463 obsolete packages for deletion.
6464
09ac1c2a
CS
64652011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6466
6467 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6468 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6469 view-mode from help-mode.
6470 (help-xref-override-view-map): Remove.
6471 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6472 view-mode is not used anymore.
6473
7a1ff57f
CY
64742011-08-28 Chong Yidong <cyd@stupidchicken.com>
6475
6476 * server.el (server-port): Doc fix.
6477
b9696605
CY
6478 * cus-theme.el (custom-theme-choose-mode): Inherit from
6479 special-mode (Bug#9124).
6480 (custom-theme-choose-mode-map): Add special-mode to parent.
6481
ef8cdf8c
AM
64822011-08-28 Alan Mackenzie <acm@muc.de>
6483
6484 * progmodes/cc-fonts.el
6485 (c-make-font-lock-BO-decl-search-function): New function.
6486 (c-basic-matchers-after - "Fontify the clauses after various
6487 keywords"): Extract the three keyword lists for the 3 erroneous
6488 constructs from the list of four, and use the new function above
6489 in place of an old one.
6490
27de4e20
DD
64912011-08-28 Deniz Dogan <deniz@dogan.se>
6492
6493 * net/rcirc.el (rcirc-insert-prev-input)
6494 (rcirc-insert-next-input): Remove unused argument.
6495
356a3681
SM
64962011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6499
3fc9b218
AM
65002011-08-27 Alan Mackenzie <acm@muc.de>
6501
6502 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6503 handle function pointer parameters properly.
6504
538a061c
MR
65052011-08-27 Martin Rudalics <rudalics@gmx.at>
6506
6507 * window.el (display-buffer-reuse-window): Fix case where
6508 selected window was reused with non-nil OTHER-WINDOW argument.
6509 (Bug#9381)
6510
35b1c40c
DD
65112011-08-27 Deniz Dogan <deniz@dogan.se>
6512
6513 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6514 oftc's NickServ messages.
6515
2f6a3e79
GM
65162011-08-27 Glenn Morris <rgm@gnu.org>
6517
6518 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6519
7254299e
CY
65202011-08-26 Chong Yidong <cyd@stupidchicken.com>
6521
6522 * emacs-lisp/package.el (package-install): Call package-initialize
6523 if called interactively.
6524
f8ccf167
LL
65252011-08-26 Leo Liu <sdl.web@gmail.com>
6526
6527 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6528
3e8cd5ce
JL
65292011-08-25 Juri Linkov <juri@jurta.org>
6530
6531 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6532 `search-whitespace-regexp' (bug#9364).
6533
93eb7113
JL
65342011-08-25 Juri Linkov <juri@jurta.org>
6535
6536 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6537 `regexp-search-ring' to their global values to protect from
6538 updating by `read-from-minibuffer' (bug#9185).
6539
f65d1611
JL
65402011-08-25 Juri Linkov <juri@jurta.org>
6541
6542 * textmodes/ispell.el (ispell-command-loop): Add newline
6543 at the end of the "Use option `i'..." line.
6544
f1cf7a31
JL
65452011-08-25 Juri Linkov <juri@jurta.org>
6546
6547 * battery.el (display-battery-mode): If `battery-status-function'
6548 or `battery-mode-line-format' is nil, display the message and set
6549 `display-battery-mode' to nil (bug#9363).
6550
0c95fcf7
EZ
65512011-08-25 Eli Zaretskii <eliz@gnu.org>
6552
6553 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6554 bidi-string-mark-left-to-right; they are unnecessary now.
6555
a2ebe600
DD
65562011-08-25 Deniz Dogan <deniz@dogan.se>
6557
6558 * net/quickurl.el: Documentation typo fixes.
6559
e4ed06f1
CY
65602011-08-25 Chong Yidong <cyd@stupidchicken.com>
6561
6562 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6563
e5f1c99e
GM
65642011-08-25 Glenn Morris <rgm@gnu.org>
6565
b2948976
GM
6566 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6567
e5f1c99e
GM
6568 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6569 (smtpmail-via-smtp): Handle nil response from smtp.
6570
f22f4808
JL
65712011-08-24 Juri Linkov <juri@jurta.org>
6572
6573 * proced.el (proced-marked): Inherit from `error' instead of
6574 `font-lock-warning-face'.
6575
6576 * ibuffer.el (ibuffer-marked-face): Change default face from
6577 `font-lock-warning-face' to `warning'.
6578 (ibuffer-deletion-face): Change default face from
6579 `font-lock-type-face' to `error'.
6580
6581 * battery.el (battery-update): Use the face `error' instead of
6582 `font-lock-warning-face' (bug#6117).
6583
6a93965e
JL
65842011-08-24 Juri Linkov <juri@jurta.org>
6585
6586 * faces.el (success): Change face color from "Green3" to
6587 "ForestGreen" on light background (bug#9353).
6588
1ed43b09
CY
65892011-08-24 Chong Yidong <cyd@stupidchicken.com>
6590
5664fa7b
RT
6591 * window.el (quit-window): Rename from quit-restore-window.
6592 Use same arglist as old quit-window.
1ed43b09
CY
6593 (frame-auto-delete): Doc fix.
6594
6595 * view.el (view-mode-exit): Use quit-window.
6596
11dcdbb2
JL
65972011-08-24 Juri Linkov <juri@jurta.org>
6598
6599 * isearch.el (isearch-ring-adjust1): Start visiting previous
6600 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6601 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6602 for empty search string (when the last search string is reused
6603 automatically) to adjust the isearch ring to the last element and
6604 prepare the correct index for further M-p commands (bug#9185).
6605
de62b4df
KH
66062011-08-24 Kenichi Handa <handa@m17n.org>
6607
6608 * international/ucs-normalize.el: If decomposition property of
6609 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6610 nil.
6611 (nfd, nfkd): Likewise.
6612
963b492b
SM
66132011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6614
6615 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6616 from process filters aren't reliably transmitted to the surrounding
6617 accept-process-output.
6618 (mpc-proc-check): New function.
6619 (mpc-proc-sync): Use it (bug#8293)
6620
93b6b5e1
SM
66212011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6624 Add compatibility functions (bug#9313).
6625
bca633fb
EZ
66262011-08-23 Eli Zaretskii <eliz@gnu.org>
6627
b177498a
EZ
6628 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6629
6df6ae42 6630 * international/uni-bidi.el: Regenerate.
bca633fb 6631
0902a04e
KH
66322011-08-23 Kenichi Handa <handa@m17n.org>
6633
6634 * international/charprop.el:
6635 * international/uni-bidi.el:
6636 * international/uni-category.el:
6637 * international/uni-combining.el:
6638 * international/uni-comment.el:
6639 * international/uni-decimal.el:
6640 * international/uni-decomposition.el:
6641 * international/uni-digit.el:
6642 * international/uni-lowercase.el:
6643 * international/uni-mirrored.el:
6644 * international/uni-name.el:
6645 * international/uni-numeric.el:
6646 * international/uni-old-name.el:
6647 * international/uni-titlecase.el:
6648 * international/uni-uppercase.el: Regenerate.
6649
3bbf23bc
MR
66502011-08-23 Martin Rudalics <rudalics@gmx.at>
6651
6652 * help.el (help-window-setup): Fix message displayed when other
6653 window is reused. (Bug#9341)
6654
b3fd59bd
SM
66552011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6656
1802e444
SM
6657 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6658 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6659
b3fd59bd
SM
6660 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6661 Mark obsolete.
6662 * shell.el (shell-parse-pcomplete-arguments): New function.
6663 (shell-completion-vars): Use it instead (bug#9160).
6664
4eb61348
SM
66652011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6666
867cab74
SM
6667 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6668 strings and comments (bug#9333).
6669
4eb61348
SM
6670 * emacs-lisp/debug.el (debug-arglist): New function.
6671 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6672 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6673
262a1439
JL
66742011-08-22 Juri Linkov <juri@jurta.org>
6675
56ee679c
JL
6676 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6677 Revert regexp that highlights output switches to its old
6678 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6679
262a1439
JL
6680 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6681 to check for empty output (bug#9226).
6682
f13f86fb
CY
66832011-08-22 Chong Yidong <cyd@stupidchicken.com>
6684
6685 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6686 symbol-constituent as the default, as that stops font-lock from
6687 working properly (Bug#8843).
6688
c65c9622
LMI
66892011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6690
6691 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6692 `coding-system-for-*' around the process open call to avoid
6693 auth-source side effects.
e7f2c178 6694 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6695 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6696 probe hangs.
c65c9622 6697
23a8a5ab
CY
66982011-08-21 Chong Yidong <cyd@stupidchicken.com>
6699
ff98b2dd
CY
6700 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6701
23a8a5ab
CY
6702 * emacs-lisp/find-func.el (find-function-noselect): New arg
6703 lisp-only.
6704
6705 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6706 signal an error for built-in functions (Bug#6664).
6707
f5e3c598
LMI
67082011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6709
6710 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6711 (smtpmail-try-auth-methods): Use it.
6712
a3f2468a
CY
67132011-08-21 Chong Yidong <cyd@stupidchicken.com>
6714
2c34e8da
CY
6715 * font-lock.el (font-lock-fontify-region)
6716 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6717 (font-lock-default-unfontify-buffer)
6718 (font-lock-default-fontify-region)
6719 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6720
b3fd59bd
SM
6721 * progmodes/compile.el (compilation-error-properties):
6722 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6723 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6724 `ant' regexp.
ee31aabc 6725
a3f2468a
CY
6726 * net/browse-url.el (browse-url-firefox): Don't call
6727 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6728
8e999f70
GM
67292011-08-20 Glenn Morris <rgm@gnu.org>
6730
c21a496a
GM
6731 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6732
59ee0542
GM
6733 * tutorial.el (tutorial--default-keys): Update some default bindings.
6734
8e999f70
GM
6735 * files.el (hack-local-variables): Fully ignore case for "mode:".
6736
e3715033
AM
67372011-08-20 Alan Mackenzie <acm@muc.de>
6738
6739 Resolve invalid use of a regexp in regexp-opt.
6740
4d61f28d
JB
6741 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6742 detection for a java annotation.
e3715033 6743
4d61f28d 6744 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6745 detection for a java annotation.
6746
4d61f28d
JB
6747 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6748 handling for java.
e3715033
AM
6749 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6750
04ed2e9c
CY
67512011-08-20 Chong Yidong <cyd@stupidchicken.com>
6752
6753 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6754 (Bug#9274).
6755
826cee64
AM
67562011-08-20 Alan Mackenzie <acm@muc.de>
6757
58179cce 6758 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6759 such a construct. Mainly for when jit-lock etc. starts a chunk
6760 here.
6761
58179cce 6762 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6763 variable.
58179cce 6764 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6765 c-make-font-lock-search-function.
6766 (c-make-font-lock-search-function): Use the above function.
6767 (c-make-font-lock-context-search-function): New function.
6768 (c-cpp-matchers): Enhance the preprocessor expression case with
6769 the above function
6770 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6771 which takes an expression.
6772
6773 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6774
13009bd8
MR
67752011-08-20 Martin Rudalics <rudalics@gmx.at>
6776
6777 * window.el (display-buffer-reuse-window)
6778 (display-buffer-pop-up-window): Don't reuse or split a side
6779 window.
6780
9234ff7f
GM
67812011-08-19 Glenn Morris <rgm@gnu.org>
6782
6783 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6784 Downcase "Mode:". (Bug#9331)
9234ff7f 6785
f635daa1
CY
67862011-08-18 Chong Yidong <cyd@stupidchicken.com>
6787
6788 * international/characters.el: Add L and R categories.
6789
6790 * subr.el (bidi-string-mark-left-to-right): Rename from
6791 string-mark-left-to-right. Use category search.
6792
6793 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6794
bc987f8b
JL
67952011-08-18 Juri Linkov <juri@jurta.org>
6796
6797 * faces.el (error, warning, success): New faces with definitions
6798 copied from old default values of `font-lock-warning-face',
6799 `compilation-warning', `compilation-info' (bug#6117).
6800
6801 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6802
6803 * progmodes/compile.el (compilation-error): Inherit from `error'.
6804 (compilation-warning): Inherit from `warning'.
6805 (compilation-info): Inherit from `success'.
6806
6807 * dired.el (dired-marked): Inherit from `warning'.
6808 (dired-flagged): Inherit from `error'.
6809
57173b96
LMI
68102011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6811
3e79eb87
LMI
6812 * mail/smtpmail.el (auth-source): Require to avoid problems with
6813 binding variables (bug#9298). Also clean up some unused
6814 autoloads.
6815
b3fd59bd
SM
6816 * net/network-stream.el (network-stream-open-starttls):
6817 Support using starttls.el without using gnutls-cli.
57173b96 6818
02b404de
JL
68192011-08-17 Juri Linkov <juri@jurta.org>
6820
6821 * progmodes/grep.el (rgrep): Handle the case when
6822 `grep-find-command' is a cons cell (bug#9278).
6823
8c9177f2
MR
68242011-08-17 Martin Rudalics <rudalics@gmx.at>
6825
6826 * window.el (display-buffer-pop-up-frame): Run frame creation
6827 function with BUFFER current (as special-display-popup-frame
6828 does). Reported by Drew Adams.
6829
3644a0ab
DU
68302011-08-17 Daiki Ueno <ueno@unixuser.org>
6831
6832 * epa-mail.el: Simplify GnuPG group expansion using
6833 epg-expand-group.
6834 (epa-mail-group-alist, epa-mail-group-modtime)
6835 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6836 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6837 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6838 Remove.
6839
5e617bc2 68402011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6841
6842 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6843
9c4aeabf
AM
68442011-08-16 Alan Mackenzie <acm@muc.de>
6845
6846 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6847 Correct, to avoid the inside of macros.
6848
3a99bf64
RS
68492011-08-16 Richard Stallman <rms@gnu.org>
6850
04963aa8
RS
6851 * epa-mail.el: Handle GnuPG group definitions.
6852 (epa-mail-group-alist, epa-mail-group-modtime)
6853 (epa-mail-gnupg-conf-file): New variables.
6854 (epa-mail-parse-groups, epa-mail-sync-groups)
6855 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6856 (epa-mail-expand-recipients): New functions.
6857 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6858
177549d0
RS
6859 * mail/rmail.el (rmail-epa-decrypt): New command.
6860
fe38beef
RS
6861 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6862 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6863 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6864 (epa-decrypt-armor-in-region): Make error message clearer.
6865
934eacb9
SM
68662011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6867
6868 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6869 and "a2b" to "ab" for `prefix'.
6870
d024fb4e
CY
68712011-08-14 Chong Yidong <cyd@stupidchicken.com>
6872
6873 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6874 filter groups.
de148fee
CY
6875 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6876 Fourquet (Bug#8804).
d024fb4e 6877
62f1ca49
JB
68782011-08-12 Juanma Barranquero <lekktu@gmail.com>
6879
6880 * startup.el (argi): Declare as global variable (bug#9275).
6881
9ccaaa4b
CY
68822011-08-12 Chong Yidong <cyd@stupidchicken.com>
6883
6884 * subr.el (string-mark-left-to-right): Search the entire string
6885 for RTL script, not just the terminating character. Doc fix.
6886
a3dae87a
SM
68872011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6cd18349
SM
6889 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6890 New function.
6891 (js--regexp-literal, js-syntax-propertize-function): Remove.
6892 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6893 (js-mode-map): Don't rebind electric keys.
6894 (js-insert-and-indent): Remove.
6895 (js-mode): Setup electric-layout and electric-indent instead.
6896
a3dae87a
SM
6897 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6898
9d5cb631
DU
68992011-08-12 Daiki Ueno <ueno@unixuser.org>
6900
6901 * epa.el (epa-progress-callback-function): Fix the logic of
6902 displaying progress.
6903 * epa-file.el (epa-file-insert-file-contents): Make progress
6904 display more user-friendly.
6905 (epa-file-write-region): Ditto.
6906
3e26a4a2
CY
69072011-08-10 Chong Yidong <cyd@stupidchicken.com>
6908
6909 * subr.el (string-mark-left-to-right): New function.
6910
6911 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6912 Use string-mark-left-to-right.
6913 (list-buffers-noselect): Caller changed.
6914
a3dae87a
SM
6915 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6916 Use string-mark-left-to-right.
3e26a4a2
CY
6917 (tabulated-list-print): Recenter after moving point.
6918
ac8cf6e6
JL
69192011-08-10 Juri Linkov <juri@jurta.org>
6920
6921 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6922 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6923 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6924
8d96c9a4
CY
69252011-08-09 Chong Yidong <cyd@stupidchicken.com>
6926
6927 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6928 (Bug#7554).
6929
7be1c708 69302011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6931
6932 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6933 character. (Bug#6594)
6934
37e11a63
CY
69352011-08-08 Chong Yidong <cyd@stupidchicken.com>
6936
839dde57
CY
6937 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6938 (image-dired--with-db-file): New macro.
6939 (image-dired-write-tags, image-dired-remove-tag)
6940 (image-dired-create-gallery-lists, image-dired-write-comments)
6941 (image-dired-get-comment, image-dired-mark-tagged-files)
6942 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6943 (image-dired-gallery-generate): Use insert-file-contents.
6944
37e11a63
CY
6945 * time.el (display-time-world-list, display-time-world-display):
6946 * time-stamp.el (time-stamp-string):
6947 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6948 set-time-zone-rule (Bug#7337).
6949
0b4946c4
DU
69502011-08-08 Daiki Ueno <ueno@unixuser.org>
6951
6952 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6953 (epg-error-to-string, epg-errors-to-string): New function.
6954 (epg-wait-for-completion): Reverse errors list.
6955 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6956 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6957 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6958 (epg-sign-keys, epg-generate-key-from-file)
6959 (epg-generate-key-from-string): Format errors by using
6960 epg-errors-to-string (bug#9255).
6961 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6962
75bfc667
JL
69632011-08-07 Juri Linkov <juri@jurta.org>
6964
6965 * faces.el (list-faces-display): Remove extra angle bracket
6966 from `help-mode-map'.
6967
6968 * info.el (Info-history-toc-nodes): Doc fix.
6969
6970 * longlines.el (longlines-mode): Doc fix.
6971
673e08bb
SM
69722011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6973
4640dd88
SM
6974 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6975 of statements and in a few more cases (bug#9183).
6976
673e08bb
SM
6977 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6978 New functions.
6979 (cl-transform-lambda): Use them (bug#9239).
6980
89b3f019
MR
69812011-08-05 Martin Rudalics <rudalics@gmx.at>
6982
6983 * window.el (display-buffer-same-window)
6984 (display-buffer-same-frame, display-buffer-other-window)
6985 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6986 (pop-to-buffer-other-window)
6987 (pop-to-buffer-same-frame-other-window)
6988 (pop-to-buffer-other-frame): Make them defuns.
6989 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6990
640c8776
SM
69912011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6992
6993 * subr.el (make-composed-keymap): Move from C. Change calling
6994 convention, and improve docstring to bring attention to a subtle point.
6995 * minibuffer.el (completing-read-default): Adjust accordingly.
6996
63648a95
MA
69972011-08-03 Michael Albinus <michael.albinus@gmx.de>
6998
6999 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7000 (tramp-open-shell): Use `tramp-shell-quote-argument'.
7001
7002 * net/trampver.el: Update release number.
7003
b796c9b7
SM
70042011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7007 "in" (bug#9190).
7008
2239d7d5
LMI
70092011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7010
e07dd7c3
LMI
7011 * mail/sendmail.el (sendmail-query-once): Restore the current
7012 buffer after querying (bug#9074).
7013
0e6a2bd7
LMI
7014 * dired.el (dired-flagged): Use different faces for marked and
7015 flagged files (bug#6117).
7016
ce887515
LMI
7017 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7018 (bug#4433).
7019
92f2affc
LMI
7020 * ido.el (ido-mode): Switch off the message if called
7021 non-interactively.
7022
57d5aff0
LMI
7023 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7024 before 587, since it appears that that's more likely to work for
7025 more people.
7026
98cd6c18 7027 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7028 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7029 exist.
7030
b96dec83
LMI
7031 * info.el: Remove the `Info-beginning-of-buffer' function
7032 (bug#8325).
7033
b796c9b7
SM
7034 * net/network-stream.el (network-stream-open-starttls):
7035 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7036
d90e2ea0
MR
70372011-08-01 Martin Rudalics <rudalics@gmx.at>
7038
7039 * window.el (display-buffer-in-window): Don't set dedicated status
7040 of window here (Bug#9215).
7041 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7042 (display-buffer-pop-up-side-window)
b796c9b7 7043 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7044
cca09170
SM
70452011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7048 before binding generated-autoload-file.
7049
027b979c
DD
70502011-08-01 Deniz Dogan <deniz@dogan.se>
7051
7052 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7053
3c7ee4f3
MA
70542011-07-30 Michael Albinus <michael.albinus@gmx.de>
7055
7056 Sync with Tramp 2.2.2.
7057
7058 * net/trampver.el: Update release number.
7059
2cc8e51a
JL
70602011-07-30 Juri Linkov <juri@jurta.org>
7061
7062 * dired-aux.el (dired-touch-initial): Remove function.
7063 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7064 current time, and `default' to the last modification time of the
7065 current marked file (bug#6887).
7066
a514d856
JM
70672011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7068
7069 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7070 numeric argument to read-number (bug#9163).
a514d856 7071
8a7eddd7
MA
70722011-07-27 Michael Albinus <michael.albinus@gmx.de>
7073
7074 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7075 connection process, it could be nil.
7076
1ddd96f5
LL
70772011-07-27 Leo Liu <sdl.web@gmail.com>
7078
7079 Simplify url handling in rcirc-mode.
7080
7081 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7082 (rcirc-browse-url-at-mouse): Remove.
7083 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7084
b248a85d
AM
70852011-07-26 Alan Mackenzie <acm@muc.de>
7086
7087 Fontify bitfield declarations properly.
7088
7089 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7090 (c-symbol-chars): Now exported as a lang variable.
7091 (c-not-primitive-type-keywords): New lang variable.
7092
7093 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7094 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7095 parsed as a bitfield declaration.
b248a85d 7096
b796c9b7
SM
7097 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7098 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7099 (c-punctuation-in): New function.
7100 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7101 declarations properly.
7102
68575ab0
UJ
71032011-07-26 Ulf Jasper <ulf.jasper@web.de>
7104
7105 * calendar/icalendar.el (icalendar--all-events): Take care of
7106 multiple vcalendars in a single file.
b796c9b7 7107 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7108
0f0a88b9
DD
71092011-07-25 Deniz Dogan <deniz@dogan.se>
7110
7111 * image.el (insert-image): Clarifying docstring.
7112
0b3f36df
MA
71132011-07-24 Michael Albinus <michael.albinus@gmx.de>
7114
7115 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7116 `tramp-send-command-and-check' if there is no error.
7117 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7118
a9901f61
AM
71192011-07-22 Alan Mackenzie <acm@muc.de>
7120
7121 Prevent cc-langs.elc being loaded at run time.
7122
7123 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7124 cc-langs.
7125
4d61f28d 7126 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7127 "(require 'cc-langs)". Quote a form so it will evaluate at
7128 (cc-mode's) compilation time.
7129
11d074b2
MA
71302011-07-22 Michael Albinus <michael.albinus@gmx.de>
7131
7132 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7133 loading. (Bug#9114)
7134
938b94c8
MR
71352011-07-21 Martin Rudalics <rudalics@gmx.at>
7136
7137 * window.el (display-buffer-pop-up-window)
7138 (display-buffer-pop-up-side-window)
7139 (display-buffer-in-side-window): Call display-buffer-set-height
7140 and display-buffer-set-width after setting the new window's
b796c9b7 7141 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7142
bfa4f190
SS
71432011-07-20 Sam Steingold <sds@gnu.org>
7144
7145 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7146 (etags-tags-included-tables): Call `convert-standard-filename' on
7147 the file names contained in TAGS so that windows Emacs can handle
7148 TAGS files created by cygwin ctags.
7149
8ca42262
LMI
71502011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7151
7152 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7153 which apparently didn't work.
7154
5db2afd2 71552011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7156
5db2afd2
RW
7157 * proced.el (proced-send-signal): For *Marked Processes* buffer
7158 put point at beginning of buffer.
7159
92e15d10
SB
71602011-07-19 Stephen Berman <stephen.berman@gmx.net>
7161
7162 * proced.el (proced-format): Make header lines align with the text
7163 (bug#1779).
7164
1bfd59e5
LMI
71652011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7166
7167 * view.el (view-buffer): Allow running in `special' modes if we're
7168 visiting a file (bug#8615).
7169
f5aae37c
MR
71702011-07-19 Martin Rudalics <rudalics@gmx.at>
7171
7172 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7173 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7174 New functions.
f5aae37c
MR
7175 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7176 more accurately.
7177
bf2c1571
AM
71782011-07-18 Alan Mackenzie <acm@muc.de>
7179
7180 Fontify declarators properly when, e.g., a jit-lock chunk begins
7181 inside a declaration.
7182
7183 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7184
b796c9b7
SM
7185 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7186 New function.
bf2c1571
AM
7187 (c-complex-decl-matchers): Insert reference to
7188 c-font-lock-enclosing-decls.
7189
7190 * progmodes/cc-engine.el (c-backward-single-comment):
7191 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7192 to nil around calls to (forward-comment -1).
7193
4e190b80
LMI
71942011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7195
12dc863d
LMI
7196 * image.el (put-image): Doc typo fix.
7197
a762e966
LMI
7198 * progmodes/etags.el (tags-search): Doc typo fix.
7199
4e190b80
LMI
7200 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7201 password if we get errors 550 to 554.
7202
f019fb21
LMI
72032011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7204
b796c9b7 7205 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7206
81746738
LMI
7207 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7208 indentation character (bug#6380).
7209
3ee3a1b5
LMI
7210 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7211
c82f64de
LMI
7212 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7213 to clarify what the problem is (bug#4291).
7214
f019fb21
LMI
7215 * simple.el (current-kill): Clarify what
7216 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7217 (auto-fill-mode): Document `auto-fill-function' in relation to
7218 `auto-fill-mode' (bug#2470).
f019fb21 7219
0794775d
LM
72202011-07-16 Lawrence Mitchell <wence@gmx.li>
7221
7222 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7223 method if slot is read-only (bug#9035).
7224
be39b8cc
MR
72252011-07-16 Martin Rudalics <rudalics@gmx.at>
7226
b796c9b7 7227 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7228 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7229 selected before, see discussion of (Bug#8615), (Bug#6954).
7230 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7231
6ccf7859
GM
72322011-07-15 Glenn Morris <rgm@gnu.org>
7233
7234 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7235 Respect help-form.
6ccf7859 7236
87e86684
LM
72372011-07-09 Lawrence Mitchell <wence@gmx.li>
7238
7239 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7240 (gnutls-negotiate): Use it.
7241
d6066239
LMI
72422011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7243
b796c9b7
SM
7244 * net/gnutls.el (gnutls-negotiate):
7245 Upcase `gnutls-algorithm-priority'.
d6066239 7246
bd23ebc0
GM
72472011-07-15 Glenn Morris <rgm@gnu.org>
7248
c65bca65
GM
7249 * jka-compr.el (jka-compr-verbose): Move from here...
7250 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7251 Add missing :version tag.
7252 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7253
478615cc
LMI
72542011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7255
7b41decb
LMI
7256 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7257 (gnutls-negotiate): Use it.
7258
dbc44fcd
LMI
7259 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7260
06789f97
LMI
7261 * info.el (Info-beginning-of-buffer): New command.
7262 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7263 announcing `b' as the key (bug#8325).
ab896c37 7264 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7265
c39da690
LMI
7266 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7267
3aa5f34b
LMI
7268 * international/mule-cmds.el
7269 (describe-specified-language-support): Make the error message
7270 clearer (bug#8905).
7271
4bf0979f
LMI
7272 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7273
478615cc
LMI
7274 * isearch.el (isearch-barrier): Add a doc string, since it's
7275 mentioned in a function doc string (bug#8678).
7276
75c68aa1
MR
72772011-07-15 Martin Rudalics <rudalics@gmx.at>
7278
7279 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7280 buffer argument (Bug#9083) and self-identifying label argument.
7281
a7c33da2
GM
72822011-07-15 Glenn Morris <rgm@gnu.org>
7283
7284 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7285
2f5c6024
LMI
72862011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7287
7288 * man.el (Man-fontify-manpage): Fix message when formatting the
7289 man page (bug#7929).
7290
0bb23927 72912011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7292
7293 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7294 argument LRM; if non-nil, append an invisible LRM character to the
7295 buffer name.
7296 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7297 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7298 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7299 paragraph direction.
cce4b0a7 7300
621ef9ab
LMI
73012011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7302
d1583c48
LMI
7303 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7304 the man page name (bug#7929).
7305
6a57fb5f
LMI
7306 * image.el (put-image): Mention the `put-image' overlay property
7307 (bug#7834).
7308
d7956b14
LMI
7309 * scroll-bar.el (set-scroll-bar-mode): Mention that
7310 `scroll-bar-mode' lists the values (bug#7772).
7311
5b2d4a66
LMI
7312 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7313 command (bug#7729).
7314
7509a874
LMI
7315 * rect.el (apply-on-rectangle): Return the point after the last
7316 operation.
7317 (string-rectangle): Go to the point after the last operation
7318 (bug#7522).
7319
4fe74b19
LMI
7320 * printing.el (pr-toggle-region): Clarify the documentation
7321 slightly (bug#7493).
7322
b796c9b7
SM
7323 * time.el (display-time-update):
7324 Allow `display-time-mail-function' to return nil (bug#7158).
7325 Fix suggested by Detlev Zundel.
ab283561 7326
fc233c9d
LMI
7327 * vc/diff.el (diff): Clarify the order the file names are read
7328 (bug#7111).
7329
43f5740b
LMI
7330 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7331 the doc string (bug#7015).
7332
f2182a76
LMI
7333 * font-lock.el (font-lock-maximum-decoration): Mention what
7334 numeric levels mean (bug#6935).
7335
621ef9ab
LMI
7336 * startup.el (initial-buffer-choice): Don't mention the `none'
7337 selection, which is against policy.
7338
adc47434
MR
73392011-07-14 Martin Rudalics <rudalics@gmx.at>
7340
b796c9b7
SM
7341 * window.el (display-buffer-normalize-special):
7342 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7343
7e5bfb8f
EZ
73442011-07-14 Eli Zaretskii <eliz@gnu.org>
7345
7346 * subr.el (version<, version<=, version=): Mention "-CVS" and
7347 "-12345" alpha version numbers.
7348
27fa387a
CY
73492011-07-14 Chong Yidong <cyd@stupidchicken.com>
7350
7351 * bindings.el: Add advertised binding for set-mark-command
7352 (Bug#5772).
7353
8bdfa064
CY
73542011-07-14 Chong Yidong <cyd@stupidchicken.com>
7355
7356 * bindings.el (mode-line-other-buffer):
7357 * bookmark.el (bookmark-bmenu-2-window):
7358 * bs.el (bs-cycle-next, bs-cycle-previous):
7359 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7360 switch-to-buffer.
7361
7362 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7363 Delete.
8bdfa064 7364
5eba16a3
JB
73652011-07-14 Juanma Barranquero <lekktu@gmail.com>
7366
7367 * follow.el (follow-debug-message, follow-redisplay):
7368 * jka-cmpr-hook.el (with-auto-compression-mode):
7369 Fix typos in docstrings.
7370
15853710
LMI
73712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7372
a28e4607
LMI
7373 * subr.el (with-silent-modifications): Clarify somewhat what the
7374 macro inhibits (bug#6525).
7375
15853710
LMI
7376 * simple.el (eval-expression): Note what it does if called
7377 interactively (bug#6495).
7378
bee0fcef
CY
73792011-07-13 Chong Yidong <cyd@stupidchicken.com>
7380
b796c9b7
SM
7381 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7382 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7383
7384 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7385 Remove switch-to-buffer.
7386
58274504
LMI
73872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7388
bd2fcc8d
LMI
7389 * files.el (make-directory): Clarify that an error will be raised
7390 if there's an error (bug#6397).
7391
0f04b32c
LMI
7392 * startup.el (initial-buffer-choice): Add `none' as a choice
7393 (bug#6234).
7394
465c5fc8
LMI
7395 * subr.el (add-hook): Clarify section about buffer-local hooks
7396 (bug#6218).
7397
58274504
LMI
7398 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7399
bead9a43
JB
74002011-07-13 Juanma Barranquero <lekktu@gmail.com>
7401
7402 * tabify.el (untabify): Preserve the current column so that point
7403 doesn't move (bug#6032).
7404
3af98a7b
LMI
74052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7406
b796c9b7
SM
7407 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7408 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7409
6240145a
GM
74102011-07-13 Glenn Morris <rgm@gnu.org>
7411
7412 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7413 (dired-insert-directory): Give a message the first time
7414 if ls is found not to support --dired.
7415
1d8c2ccc
LMI
74162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7417
7418 * simple.el (toggle-truncate-lines): Clarify what is toggled
7419 (bug#5580). Text by Drew Adams.
7420
5fc4038e
CY
74212011-07-13 Chong Yidong <cyd@stupidchicken.com>
7422
7423 * simple.el (blink-matching-open): Make the error message from the
7424 last change less verbose.
7425
bf6012e5
DN
74262011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7427
7428 * font-lock.el (font-lock-comment-face): Use the high contrast
7429 "yellow" color for font-lock-comment-face on low color terminals
7430 using a dark background color (bug#4221).
7431
343c3b5a
LMI
74322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7433
7e9505c5
LMI
7434 * dired.el (dired-insert-set-properties): Make the doc string
7435 reflect what it does now (bug#5325).
7436
c26fdcf5
LMI
7437 * simple.el (blink-matching-open): Say that we were unable to find
7438 the match within the limit, if we're limited (bug#5122).
7439
bb388cc5
LMI
7440 * international/mule-cmds.el (prefer-coding-system): Add an
7441 example (bug#4869).
7442
343c3b5a
LMI
7443 * progmodes/etags.el (tags-search): Document `file-list-form'
7444 (bug#4731).
7445
2a517d45
LM
74462011-07-13 Lawrence Mitchell <wence@gmx.li>
7447
7448 * net/browse-url.el (browse-url-default-browser)
7449 (browse-url-browser-function): Make the default browser choice a
7450 bit more logical (bug#4300). Also clean up the doc string.
7451
b6c78ef2
JB
74522011-07-13 Juanma Barranquero <lekktu@gmail.com>
7453
7454 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7455 binary endings (bug#4440).
7456
1c4dd947
LMI
74572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7458
a2014063
LMI
7459 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7460 which can be pretty annoying (bug#8971).
7461
9c9c2d88
LMI
7462 * jka-compr.el (jka-compr-verbose): New variable, and use
7463 throughout (bug#8971).
7464
1c4dd947
LMI
7465 * info.el (Info-find-file): Fall back on the installation
7466 directory if we can't find the info node anywhere else.
7467
a1c9f41b
SO
74682011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7469
7470 * vc/vc.el (vc-revert-file):
7471 Don't set file time-stamp in the past. (Bug#5181)
7472
536f3d36
LMI
74732011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7474
7152b011
LMI
7475 * files.el (after-find-file): Give a better error message when
7476 trying to find a symlink that points to a file that doesn't exist
7477 (bug#4398).
7478
536f3d36
LMI
7479 * progmodes/cc-vars.el: Remove (probably) misleading comment
7480 (bug#4396).
7481
460c0fba
JB
74822011-07-12 Johan Bockgård <bojohan@gnu.org>
7483
7484 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7485
7a6bda45
CY
74862011-07-12 Chong Yidong <cyd@stupidchicken.com>
7487
7488 * mouse-sel.el: Hack restoring functionality, while keeping
7489 compatibility with 2010-07-03 changes to mouse selection.
7490 (mouse-sel-primary-overlay): New var.
7491 (mouse-sel-selection-alist): Use it.
7492 (mouse-sel-mode): Doc fix; remove points that are default features
7493 of mouse.el.
7494
c79598ef
JB
74952011-07-12 Johan Bockgård <bojohan@gnu.org>
7496
7497 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7498 Fix previous fix (bug#2490).
7499
ff8be6ef
RW
75002011-07-12 Roland Winkler <winkler@gnu.org>
7501
b796c9b7
SM
7502 * textmodes/bibtex.el (bibtex-initialize):
7503 Use pop-to-buffer-same-window.
ff8be6ef
RW
7504 (bibtex-search-entries): Fix interactive call.
7505
296ba3ee
LMI
75062011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7507
f5242a02 7508 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7509 Fontise bytecomp Error lines more correctly (bug#2490).
7510 Fix suggested by Johan Bockgård.
f5242a02 7511
296ba3ee
LMI
7512 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7513
7514 * dired-x.el (dired-guess-default): Use `delete-dups'.
7515
f69fd0d2
CY
75162011-07-12 Chong Yidong <cyd@stupidchicken.com>
7517
7518 * dired.el (dired-mark-prompt):
7519 * dired-aux.el (dired-read-shell-command): Doc fix.
7520
eab5dc07
LMI
75212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7522
b796c9b7
SM
7523 * mail/sendmail.el (sendmail-query-once):
7524 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7525 emacs -Q.
7526
7527 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7528
eab5dc07
LMI
7529 * cus-edit.el (custom-file): Take an optional no-error variable.
7530 (customize-save-variable): Set the variable, and give a warning if
7531 running under "emacs -q".
7532
a1e65d42
JB
75332011-07-11 Juanma Barranquero <lekktu@gmail.com>
7534
7535 * loadhist.el (unload-feature-special-hooks):
7536 Add `auto-coding-functions', `fill-nobreak-predicate' and
7537 `find-directory-functions' (bug#5327).
7538
1d52da10
LMI
75392011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7540
be958f1d
LMI
7541 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7542
5bedb26c
LMI
7543 * cus-edit.el (custom-guess-name-alist): -alist variables should
7544 use the `alist' type (bug#3120). Suggested by Drew Adams.
7545
1d52da10
LMI
7546 * printing.el: Add documentation to all the `pr-toggle-' commands.
7547
cd394be1 75482011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7549
7550 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7551 backends where it makes sense (bug#2623).
7552
dcc88d8a
LMI
75532011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7554
c3de9feb
LMI
7555 * dired-x.el (dired-guess-default): Remove duplicate shell command
7556 entries (bug#2028).
8a93078b 7557 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7558 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7559
dcc88d8a
LMI
7560 * subr.el (remove-duplicates): New conveniency function.
7561
505e3645
LMI
75622011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7563
7564 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7565 (bug#1526).
7566
75672011-07-10 Martin Rudalics <rudalics@gmx.at>
7568
7569 * window.el (display-buffer-normalize-default): Don't invert
7570 meaning of even-window-heights. Reported by Eli Zaretskii
7571 <eliz@gnu.org>.
7572
455e4fa1
BR
75732011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7574
7575 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7576
8e0bc3e9
CY
75772011-07-10 Chong Yidong <cyd@stupidchicken.com>
7578
7579 * window.el (display-buffer): Fix arguments to
7580 display-buffer-reuse-window in last change.
7581
fa7c3228
CY
7582 * faces.el (link): Use a less saturated blue on light backgrounds.
7583
7584 * startup.el (fancy-startup-text, fancy-about-text)
7585 (fancy-startup-tail): Use font-lock faces, for background safety.
7586
c0a7f300
BN
75872011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7588
b796c9b7
SM
7589 * emulation/viper-cmd.el (viper-change-state-to-vi):
7590 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7591
4dc2a129
MR
75922011-07-09 Martin Rudalics <rudalics@gmx.at>
7593
7594 * window.el (display-buffer-default-specifiers): Remove.
7595 (display-buffer-macro-specifiers): Remove default specifiers.
7596 (display-buffer-alist): Default to nil.
b796c9b7 7597 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7598 (display-buffer-pop-up-window): Allow splitting internal
7599 windows. Check whether a live window was created.
7600 (display-buffer-other-window-means-other-frame)
7601 (display-buffer-normalize-arguments): Rename to
7602 display-buffer-normalize-argument and rewrite. Set the
7603 other-window specifier.
7604 (display-buffer-normalize-special): New function.
7605 (display-buffer-normalize-options): Rename to
7606 display-buffer-normalize-default and rewrite.
7607 (display-buffer-normalize-options-inhibit): Remove.
7608 (display-buffer-normalize-specifiers): Rewrite.
7609 (display-buffer): Process other-window specifier and call
7610 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7611 more faithfully.
b796c9b7 7612 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7613 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7614 (display-buffer-in-window, display-buffer-alist-set):
7615 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7616 <tassilo@member.fsf.org>.
7617
2d43b8c9
LL
76182011-07-09 Leo Liu <sdl.web@gmail.com>
7619
7620 * register.el (insert-register): Restore accidental change on
7621 2011-06-26. (Bug#9028)
7622
7f9b7c53
GM
76232011-07-09 Glenn Morris <rgm@gnu.org>
7624
7625 * subr.el (remq): Handle the empty list. (Bug#9024)
7626
f042cfd8
AS
76272011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7628
7629 * mail/sendmail.el (send-mail-function): No longer delay custom
7630 initialization.
7631 * custom.el (custom-initialize-delay): Doc fix.
7632
856b2f11
SM
76332011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7636
afae1d68
MA
76372011-07-08 Michael Albinus <michael.albinus@gmx.de>
7638
7639 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7640 human-friendly prompt.
7641
0757af94
SM
76422011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7643
7644 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7645 provided by a particular plugin.
7646
d760b731
LMI
76472011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7648
7649 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7650 save customizations (with "emacs -Q"), just set the variable
7651 instead of erroring out.
7652
7653 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7654
cd79ce90
JL
76552011-07-08 Juri Linkov <juri@jurta.org>
7656
7657 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7658 (archive-zip-update-case): Use 7z if found by `executable-find'.
7659 The order of searching the available programs is the same as in
7660 `archive-zip-extract' (bug#8968).
7661
14cc04aa
CY
76622011-07-07 Chong Yidong <cyd@stupidchicken.com>
7663
7664 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7665 (menu-bar-options-menu): Tweak descriptions.
7666
0a1848ec
LMI
76672011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7668
7669 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7670 menu items into verb phrases (bug#1421). Also refill to fit under
7671 80 columns.
7672
f5bd0689
CY
76732011-07-07 Chong Yidong <cyd@stupidchicken.com>
7674
538e85c6
CY
7675 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7676 (Info-read-node-name): Doc fix (Bug#1084).
7677
f5bd0689
CY
7678 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7679 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7680 (end-of-sexp, beginning-of-sexp)
7681 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7682 (forward-symbol, forward-same-syntax, word-at-point)
7683 (sentence-at-point): Doc fix (Bug#1144).
7684
56ec5115
LMI
76852011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7686
f3f8e37f
LMI
7687 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7688 should cover it (bug#1281).
7689
0757af94 7690 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7691
e9fce1ac 7692 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7693 negotiation fails, then possibly try again with a non-encrypted
7694 connection (bug#9017).
7695
56ec5115
LMI
7696 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7697 be used.
7698
c2f9aec8
RS
76992011-07-07 Richard Stallman <rms@gnu.org>
7700
7701 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7702 property, and handle its changed format.
7703 Look for the correct line number.
7704 Use file's line contents (but not past first =) to find
7705 correct line in message.
7706
ef7b981d 77072011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7708
7709 * international/characters.el (build-unicode-category-table):
7710 Delete it.
0757af94 7711 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7712
0757af94 7713 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7714 to src/chartab.c.
7715 (get-char-code-property): Call unicode-property-table-internal to
7716 load a file. Call get-unicode-property-internal where necessary.
7717 (put-char-code-property): Call unicode-property-table-internal to
7718 load a file. Call put-unicode-property-internal where necessary.
7719 put-unicode-property-internal where necessary.
0757af94
SM
7720 (char-code-property-description):
7721 Call unicode-property-table-internal to load a file.
c805dec0
KH
7722
7723 * international/charprop.el:
7724 * international/uni-bidi.el:
7725 * international/uni-category.el:
7726 * international/uni-combining.el:
7727 * international/uni-comment.el:
7728 * international/uni-decimal.el:
7729 * international/uni-decomposition.el:
7730 * international/uni-digit.el:
7731 * international/uni-lowercase.el:
7732 * international/uni-mirrored.el:
7733 * international/uni-name.el:
7734 * international/uni-numeric.el:
7735 * international/uni-old-name.el:
7736 * international/uni-titlecase.el:
7737 * international/uni-uppercase.el: Regenerate.
7738
7739 * loadup.el: Load international/charprop.el before
7740 international/characters.
7741
e14b388a
CY
77422011-07-07 Chong Yidong <cyd@stupidchicken.com>
7743
7744 * window.el (next-buffer, previous-buffer): Signal an error if
7745 called from a minibuffer window.
7746
7747 * bindings.el: Revert 2011-07-04 change.
7748
354cf0ba
RS
77492011-07-06 Richard Stallman <rms@gnu.org>
7750
7751 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7752 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7753 Treat markers like ints.
7754 (rmail-mime-entity): Doc fix.
7755
a48868a7
LMI
77562011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7757
4906cd3d
LMI
7758 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7759 defcustom again for backwards compatibility.
7760
e0457abe
LMI
7761 * simple.el (shell-command-on-region): Fill.
7762
d67f7e1f
LMI
7763 * dired-aux.el (dired-kill-line): Add a doc string.
7764
fe204702
LMI
7765 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7766 to "\\sw\\|\\s_" (bug#358).
7767
a48868a7
LMI
7768 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7769 (dired-unmark-backward): Ditto.
7770 (dired-flag-backup-files): Ditto.
7771
7772 * dired-x.el (dired-mark-sexp): Ditto.
7773
aa8a705c
RS
77742011-07-06 Richard Stallman <rms@gnu.org>
7775
7776 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7777 (rmail-mime-entity): New arg TRUNCATED.
7778 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7779 New functions.
7780 (rmail-mime-save): Warn if entity is truncated.
7781 (rmail-mime-toggle-hidden): Likewise, for showing.
7782 (rmail-mime-process-multipart): Record when an entity is truncated.
7783
a9a936b9
RS
7784 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7785 if ENTITY is a string.
7786
1f2b92cb
LMI
77872011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7788
f4f73198 7789 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7790 of faces when `M-C-x'-ing their definitions (bug#8378).
7791 Also clean up the code slightly.
f4f73198 7792
12b16734 7793 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7794 because that makes the colors go away.
12b16734 7795
f0691d22
LMI
7796 * mail/sendmail.el (send-mail-function): Change the default to
7797 `sendmail-query-once'.
9e87df06 7798 (sendmail-query-once): Add an autoload cookie.
f0691d22 7799
1f2b92cb
LMI
7800 * net/network-stream.el (network-stream-open-starttls): Try using
7801 a plain connection even if the server offered STARTTLS, and we
7802 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7803 capability. This should make smtpmail.el work in slightly more
7804 configurations.
7805
1cdd2a1b
MA
78062011-07-06 Michael Albinus <michael.albinus@gmx.de>
7807
7808 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7809 New defun.
7810 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7811
fbcc67e2
MM
78122011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7813
7814 * progmodes/sql.el: Version 3.0
0757af94 7815 (sql-product-alist): Add product :completion-object,
fbcc67e2 7816 :completion-column, and :statement attributes.
0757af94 7817 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7818 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7819 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7820 ansi keywords.
7821 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7822 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7823 (sql-oracle-show-reserved-words): New function for development.
7824 (sql-product-font-lock): Simplify for source code buffers.
7825 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7826 New functions.
7827 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7828 (sql-mode-map): Add statement movement functions.
7829 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7830 New variable.
fbcc67e2
MM
7831 (sql-statement-regexp, sql-beginning-of-statement)
7832 (sql-end-of-statement, sql-signum): New functions.
0757af94 7833 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7834 (sql-show-sqli-buffer): Bug fix.
7835 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7836 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7837 with sql-interactive-mode.
7838 (sql-save-connection): Save buffer local settings.
0757af94 7839 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7840 (sql-product-interactive): Bug fix.
7841 (sql-preoutput-hold): New variable.
7842 (sql-interactive-remove-continuation-prompt): Bug fixes.
7843 (sql-debug-redirect): New variable.
7844 (sql-str-literal): New function.
7845 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7846 Redesign.
fbcc67e2
MM
7847 (sql-oracle-save-settings, sql-oracle-restore-settings)
7848 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7849 (sql-completion-object, sql-completion-column)
7850 (sql-completion-sqlbuf): New variables.
7851 (sql-build-completions-1, sql-build-completions)
7852 (sql-try-completion): New functions.
7853 (sql-read-table-name): Use them.
7854 (sql-contains-names): New buffer local variable.
7855 (sql-list-all, sql-list-table): Use it.
7856 (sql-oracle-completion-types): New variable.
7857 (sql-oracle-completion-object, sql-sqlite-completion-object)
7858 (sql-postgres-completion-object): New functions.
7859
d4eaeab1
GM
78602011-07-06 Glenn Morris <rgm@gnu.org>
7861
7862 * window.el (pop-to-buffer): Doc fix.
7863
322b7dab 78642011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7865
7866 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7867
322b7dab 78682011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7869
322b7dab 7870 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7871
322b7dab 7872 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7873
605dd5bf
CY
78742011-07-05 Chong Yidong <cyd@stupidchicken.com>
7875
7876 * button.el (button): Inherit from link face. Suggested by Dan
7877 Nicolaescu.
7878
7dbfa719
SM
78792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7880
3db614b0
SM
7881 * progmodes/gdb-mi.el: Fit in 80 columns.
7882 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7883 switch-to-buffer.
7884
7dbfa719
SM
7885 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7886 if imenu is simply not configured (bug#8941).
7887
919d884a
KM
78882011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7889
7890 * allout.el (allout-post-undo-hook): New allout outline-change
7891 event hook to signal undo activity.
7892 (allout-post-command-business): Run allout-post-undo-hook if an
7893 undo just occurred.
7dbfa719
SM
7894 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7895 * allout-widgets.el (allout-widgets-after-undo-function):
7896 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7897 in the vicinity of an undo.
7898 (allout-widgets-mode): Include allout-widgets-after-undo-function
7899 on the new allout-post-undo-hook.
7900
450a0f09
SM
79012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7902
7903 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7904 Let define-derived-mode define it.
7905 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7906 cycles of abbrev-table inheritance (bug#8998).
7907
2de69e00
RW
79082011-07-05 Roland Winkler <winkler@gnu.org>
7909
7910 * textmodes/bibtex.el: Add support for biblatex.
7911 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7912 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7913 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7914 (bibtex-entry-alist, bibtex-field-alist): New variables.
7915 (bibtex-entry-field-alist): Obsolete alias for
7916 bibtex-BibTeX-entry-alist.
7917 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7918 (bibtex-set-dialect): New command.
7919 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7920 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7921 Bind via bibtex-set-dialect.
2de69e00
RW
7922 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7923 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7924 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7925 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7926 Define via bibtex-set-dialect.
450a0f09
SM
7927 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7928 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7929 (bibtex-vec-push, bibtex-vec-incr): New functions.
7930 (bibtex-format-entry, bibtex-field-list)
7931 (bibtex-print-help-message, bibtex-validate)
7932 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7933
2dcdbdd9
SM
79342011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * progmodes/compile.el (compilation-goto-locus):
7937 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7938 * bs.el (bs-cycle-next, bs-cycle-previous):
7939 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7940 * bindings.el (mode-line-other-buffer):
7941 * autoinsert.el (auto-insert):
7942 * arc-mode.el (archive-extract):
7943 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7944
b27640fe
JB
79452011-07-05 Juanma Barranquero <lekktu@gmail.com>
7946
7947 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7948 Fix check of `emacs-lock-unlockable-modes'.
7949 Coerce true values of `emacs-lock--try-unlocking' to t.
7950
53bbe3ad
JB
79512011-07-05 Juanma Barranquero <lekktu@gmail.com>
7952
7953 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7954 * emacs-lock.el: New file.
7955
1d3cdbc7
JD
79562011-07-05 Julien Danjou <julien@danjou.info>
7957
7958 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7959 than `boundp' to check if face is set.
7960
9173deec
JB
79612011-07-05 Juanma Barranquero <lekktu@gmail.com>
7962
7963 * register.el (registerv-make):
7964 * window.el (window-min-height): Fix typos in docstrings.
7965
869795d6
JD
79662011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7967
9173deec 7968 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7969 Update doc string.
7970
b768cdcd
JB
79712011-07-04 Juanma Barranquero <lekktu@gmail.com>
7972
7973 * server.el (server-execute): Catch quit and call
7974 `server-return-error' to pass the error back to emacsclient and
7975 close the connection (bug#8942).
7976
13aa217b
KM
79772011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7978
7979 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7980 insecure exception for current topic. Also note that auto-saves
7981 are handled differently.
7982
7983 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7984 State variables for tracking auto-save inhibition situation.
7985
7986 (allout-write-contents-hook-handler): Rename from
7987 'allout-write-file-hook-handler', and describe how it depends on
7988 write-contents-functions sensitivity to non-nil value to prevent
7989 file write.
7990
7991 (allout-auto-save-hook-handler): Remove. auto-save does not check
7992 this in individual buffers, only in the starting buffer, so this
7993 is not the right way for us to inhibit auto-save in a buffer
7994 according to its condition.
7995
7996 (allout-mode): Use new allout-write-contents-hook-handler, and
7997 only with write-contents-functions. Remove auto-save provisions -
7998 they're implemented elsewhere.
7999
8000 (allout-before-change-handler): If undo is in progress, note that
8001 for attention of allout-post-command-business.
8002
8003 (allout-post-command-business): If the command we're following was
8004 an undo, check for change in the status of encrypted items and
8005 adjust auto-save inhibitions accordingly.
8006
8007 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8008 according to whether there are or aren't any plain-text topics
8009 pending encryption.
8010
2dcdbdd9 8011 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8012 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8013 if there are plain-text topics pending encryption.
13aa217b
KM
8014
8015 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8016 buffer-saved-size and some allout state to not inhibit auto-saves
8017 if there are no longer any plain-text topics pending encryption.
8018
0757af94
SM
8019 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8020 No longer provide for exemption of the current topic.
13aa217b 8021
ac89b32c
JL
80222011-07-04 Juri Linkov <juri@jurta.org>
8023
8024 Add 7z operations to delete and save changed members (bug#8968).
8025 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8026 New defcustoms.
8027 (archive-7z-write-file-member): New function.
8028 (archive-7z-summarize): Fix the number of dashes in the
8029 listing output.
8030
8fa39615
SM
80312011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8032
8033 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8034 (bug#8958).
8035
2f11b3f1
CY
80362011-07-04 Chong Yidong <cyd@stupidchicken.com>
8037
d66fef2b
CY
8038 * bindings.el: Ignore next-buffer and previous-buffer in
8039 minibuffer-local-map.
8040
2f11b3f1
CY
8041 * font-lock.el (font-lock-builtin-face): Change light background
8042 color to dark slate blue (Bug#6693).
8043
f932a347
WD
80442011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8045
8046 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8047
c8af70e1
SM
80482011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8049
8050 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8051 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8052 Add switch-to-buffer.
8053
f158badc
LMI
80542011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8055
8056 * isearch.el (isearch-search-fun-function): Clarify further the
8057 meaning of the function returned.
8058
6d95bd46
MA
80592011-07-04 Michael Albinus <michael.albinus@gmx.de>
8060
8061 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8062
8063 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8064 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8065 Use it.
8066 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8067 `tramp-default-remote-path' does not exist.
8068 (tramp-send-command-and-read): New optional argument NOERROR.
8069 (tramp-open-connection-setup-interactive-shell)
8070 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8071 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8072 (tramp-process-sentinel): Flush also process' connection property.
8073 (tramp-sh-handle-start-file-process): Do not set process
8074 sentinel. It is done now ...
8075 (tramp-maybe-open-connection): ... here. (Bug#8929)
8076
909e6b67
MK
80772011-07-04 MON KEY <monkey@sandpframing.com>
8078
8079 * play/animate.el (animate-string): Doc fixes and allow changing
8080 the buffer name (bug#5417).
8081
80822011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8083
c8af70e1 8084 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8085
f34755dc
PE
80862011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8087
396cec72
PE
8088 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8089 This is simpler and helps future-proof the code.
8090 (timer-until): Use time-subtract and float-time.
08235028 8091 (timer--time-less-p): Use time-less-p.
f34755dc 8092
56e6cc31
JB
80932011-07-04 Juanma Barranquero <lekktu@gmail.com>
8094
3abb79e5
JB
8095 * type-break.el (timep): Use the value of `float-time' to avoid a
8096 byte-compiler warning.
8097
56e6cc31
JB
8098 * server.el (server-eval-and-print): Return any result, even nil.
8099
7b9430b4
PE
81002011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8101
8102 * type-break.el: Accept time formats that the builtins accept.
8103 (timep, type-break-time-difference): Accept any format that
8104 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8105 This is simpler and helps future-proof the code.
8106 (type-break-time-difference): Round rather than ignoring
8107 subseconds components.
8108
3034e9e7
LMI
81092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8110
8111 * info.el (Info-apropos-matches): Make non-interactive, since it
8112 doesn't seem to do anything useful as a command (bug#8829).
8113
1485f4c0
CY
81142011-07-03 Chong Yidong <cyd@stupidchicken.com>
8115
8116 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8117 Move from faces.el.
1485f4c0
CY
8118 (frame-default-terminal-background): New function.
8119
8120 * custom.el (custom-push-theme): Don't record faces in `changed'
8121 theme; this doesn't work correctly for per-frame face settings.
8122 (disable-theme): Use face-set-after-frame-default to reset faces.
8123 (custom--frame-color-default): New function.
8124
9fa3dd45
LMI
81252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8126
c8af70e1 8127 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8128 (bug#8769).
8129
6cbbc20c
KR
81302011-03-29 Kevin Ryde <user42@zip.com.au>
8131
8132 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8133 `perl-Test2' extend to match possible "fail #N" rep count
8134 (bug#8377).
8135
c7f98048
LMI
81362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8137
65676592
LMI
8138 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8139 `smtpmail-via-smtp' now returns the error instead of nil.
8140
c7f98048
LMI
8141 * isearch.el (isearch-search-fun-function): Clarify the doc string
8142 (bug#8101).
8143
56e6cc31 81442011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8145
8146 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8147 unnecessary spaces (bug#8987).
8148
2b216704
LMI
81492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8150
8151 * net/network-stream.el (open-network-stream): Use the
8152 :end-of-capability command thoughout.
8153
81542011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8155
8156 * net/network-stream.el (open-network-stream): Add the
8157 :end-of-capability command parameter, used by pop3.el.
8158
36adf6ce
LMI
81592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8160
1ca0da0e
LMI
8161 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8162
fc00f69c
LMI
8163 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8164 for list)" (bug#6475).
8165
28fd8759 8166 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8167 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8168 an error (bug#6297).
8169
0dd8b6da
LMI
8170 * man.el (Man-reference-regexp): Allow matching possible
8171 word-wrapped references (bug#6289).
8172
ce1438d6
LMI
8173 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8174 for consistency with the other vc buffers (bug#6197).
8175 (vc-checkin): Ditto.
8176
8177 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8178
36adf6ce
LMI
8179 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8180
e83cc1f7
LMI
81812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8182
8a20ca4c
LMI
8183 * custom.el (defcustom): Clarify that :set is only used in the
8184 Customize user interface (bug#6089).
8185
83319045
LMI
8186 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8187 associated with a file, refuse to run instead of erroring out
8188 (bug#6084).
8189
a8392169
LMI
8190 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8191 the doc string, since it appears that using `fill-column' always
8192 controls the width (bug#7845).
8193
e83cc1f7
LMI
8194 * simple.el (shell-command-on-region): Say where the error output
8195 went if `shell-command-default-error-buffer' is set (bug#6857).
8196
e47ca23b
KM
81972011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8198
8199 * allout.el (allout-yank-processing): Adjust cursor position for
8200 backwards-deleted space.
8201
8202 (allout-rebullet-heading): Register changes with
8203 allout-exposure-changed-hook, so the modified topic is properly
8204 decorated.
8205
5cf56143
LMI
82062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8207
08549772
LMI
8208 * minibuffer.el (completion-in-region): Document PREDICATE
8209 (bug#7136).
8210
48e96771
LMI
8211 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8212 of keyword/argument pairs (bug#6904).
8213
c8af70e1
SM
8214 * replace.el (multi-occur):
8215 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8216
e17d05e2
LMI
82172011-07-02 Drew Adams <drew.adams@oracle.com>
8218
8219 * dired.el (dired-mark-if): Make the message about whether it's
8220 marking or unmarking clearer (bug#8523).
8221
063b0e45
LMI
82222011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8223
8224 * disp-table.el (display-table-print-array): New function.
8225 (describe-display-table): Use it to print the vectors more pretty
8226 (Bug#8859).
8227
28545e04
MR
82282011-07-02 Martin Rudalics <rudalics@gmx.at>
8229
8230 * window.el (window-state-get-1): Don't assign clone numbers.
8231 Add clone-of item to list of window parameters.
8232 (window-state-put-2): Don't process clone numbers.
8233 (display-buffer-alist): Fix doc-string.
8234
3349e122
SM
82352011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8236
8237 * subr.el (remq): Don't allocate if it's not needed.
8238 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8239 (keymap--merge-bindings): New functions.
8240 (keymap-canonicalize): Use them to refine the canonicalization.
8241 * minibuffer.el (minibuffer-local-completion-map)
8242 (minibuffer-local-must-match-map): Move initialization from C.
8243 (minibuffer-local-filename-completion-map): Move initialization from C;
8244 don't inherit from anything here.
8245 (minibuffer-local-filename-must-match-map): Make obsolete.
8246 (completing-read-default): Use make-composed-keymap to combine
8247 minibuffer-local-filename-completion-map with either
8248 minibuffer-local-must-match-map or
8249 minibuffer-local-filename-completion-map.
8250
d224ac83
GM
82512011-07-01 Glenn Morris <rgm@gnu.org>
8252
3de63bf8
GM
8253 * type-break.el (type-break-time-sum): Use dolist.
8254
d224ac83
GM
8255 * textmodes/flyspell.el (flyspell-word-search-backward):
8256 Replace CL function.
8257
1a1e3f32
SM
82582011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8259
fe3f64d5
SM
8260 * mouse.el (mouse--strip-first-event): New function.
8261 (function-key-map): Use it to map fringe clicks to normal clicks
8262 by default.
8263
eb604e34
SM
8264 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8265 (vc-bzr-revision-completion-table): Add support for annotate and date.
8266
1a1e3f32
SM
8267 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8268 inherit from parent.
8269
5bd35902
LMI
82702011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8271
ace6c69c 8272 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8273 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8274
191e2bed
LMI
8275 * dired.el (dired-mode): Fix up the doc string as suggested by
8276 Drew Adams (bug#8817).
8277
5bd35902
LMI
8278 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8279 cookie, since the manual says that it should be possible to add
8280 this function to `find-file-hook' (bug#8709).
8281
eee8207a
TZ
82822011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8283
8284 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8285 here. Noted Ted Zlatanov as the maintainer.
8286 (cfengine-common-settings, cfengine-common-syntax): New functions
8287 to set up common things between `cfengine-mode' and
8288 `cfengine3-mode'.
8289 (cfengine3-mode): New mode.
8290 (cfengine3-defuns cfengine3-defuns-regex
8291 (cfengine3-class-selector-regex cfengine3-category-regex)
8292 (cfengine3-vartypes cfengine3-font-lock-keywords)
8293 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8294 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8295
36b148cf
MA
82962011-07-01 Michael Albinus <michael.albinus@gmx.de>
8297
8298 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8299
8300 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8301
0bf4ba9a
MR
83022011-07-01 Martin Rudalics <rudalics@gmx.at>
8303
8304 * window.el (same-window-buffer-names, same-window-regexps)
8305 (same-window-p, special-display-frame-alist)
8306 (special-display-popup-frame, special-display-function)
8307 (special-display-buffer-names, special-display-regexps)
8308 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8309 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8310 (split-window-preferred-function, split-height-threshold)
8311 (split-width-threshold, even-window-heights)
8312 (display-buffer-mark-dedicated, window-splittable-p)
8313 (split-window-sensibly, window-safely-shrinkable-p):
8314 Un-obsolete.
8315 (display-buffer): Don't spread args with function specifier
8316 because special-display-popup-frame won't like it.
8317
35837f51
PE
83182011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8319
d0672f86
PE
8320 Time-stamp simplifications and fixes.
8321 These improve accuracy slightly, and future-proof the code
8322 against some potential changes to current-time format.
8323
b9444d97
PE
8324 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8325 by using time-since and float-time.
8326
0ef923dc
PE
8327 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8328 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8329 + NNN microseconds".
8330
2f81380d
PE
8331 * type-break.el (type-break-time-sum): Rewrite using time-add.
8332
845b5c3e
PE
8333 * play/hanoi.el (hanoi-current-time-float): Remove.
8334 All uses replaced by float-time.
8335
ee6f1be0
PE
8336 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8337 This yields a more-accurate answer.
8338 (rng-time-to-float): Remove; no longer needed.
8339
fe955043
PE
8340 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8341
5777162a
PE
8342 * calendar/timeclock.el (timeclock-seconds-to-time):
8343 Defalias to seconds-to-time, since they're the same thing.
8344
3103f8b6 8345 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8346 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8347 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8348
0e61a35f
SM
83492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * window.el (bury-buffer): Don't iconify the only frame.
8352 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8353 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8354
ddd63a1e
CY
83552011-07-01 Chong Yidong <cyd@stupidchicken.com>
8356
0e61a35f
SM
8357 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8358 Add mouse-yank-primary.
ddd63a1e 8359
055f4923
TZ
83602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8361
8362 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8363
6a2fb145
SM
83642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8365
8366 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8367 (find-library-name): Use it to find relative load names when provided
8368 absolute file name (bug#8803).
8369
fd4983f2
LMI
83702011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8371
887d14ad
LMI
8372 * textmodes/flyspell.el (flyspell-word): Consider words that
8373 differ only in case as potential doublons (bug#5687).
8374
c53dc7fc
LMI
8375 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8376 Remove two rather uninteresting debugging-like messages to make
8377 debbugs.el more silent.
8378
fd4983f2
LMI
8379 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8380 a password-like phrase.
8381
7a71b18d 83822011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8383
8384 * progmodes/cc-guess.el: New file.
8385
6a2fb145 8386 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8387
8388 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8389 derived from `c-basic-common-init'.
8390
8391 * progmodes/cc-mode.el (top-level): Require cc-guess.
8392 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8393
1fa280a3
LM
83942011-06-30 Lawrence Mitchell <wence@gmx.li>
8395
8396 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8397
e6597158
AM
83982011-06-30 Alan Mackenzie <acm@muc.de>
8399
1fa280a3
LM
8400 * progmodes/cc-engine.el (c-guess-continued-construct):
8401 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8402 lock is disabled. Name this case as "CASE G".
8403
68ba37fb
KM
84042011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8405
8406 * allout.el (allout-yank-processing): Fix injection of extra space
8407 between bullet and non-whitespace character in first topic when
8408 pasting, ensuring that the actual spacing in the pasted topic
8409 following the bullet char is preserved. This extra space was
8410 causing pasted encrypted topics to get a decrypted status even
8411 when the content was actually still encrypted. Now the decryption
8412 status from before the paste is preserved.
8413
8414 (allout-flag-region): Set all allout overlays so they evaporate
8415 when reduced to zero length (evanescent), to prevent overlay
8416 leakage.
8417
887a0b34
GM
84182011-06-30 Glenn Morris <rgm@gnu.org>
8419
94b9acce
GM
8420 * w32-fns.el (w32-charset-info-alist): Declare.
8421
1d9b46d4
GM
8422 * find-dired.el (find-grep-options): Simplify.
8423
cc232200
GM
8424 * term/ns-win.el (ns-set-resource): Declare.
8425
28e77c46
GM
8426 * ses.el (row, col): Declare dynamic variables honestly.
8427
887a0b34
GM
8428 * textmodes/reftex-parse.el (index-tags): Declare.
8429
658d8eb8
CY
84302011-06-30 Chong Yidong <cyd@stupidchicken.com>
8431
8432 * cus-edit.el (customize-push-and-save): New function.
8433
8434 * files.el (hack-local-variables-confirm): Use it.
8435
1fa280a3
LM
8436 * custom.el (load-theme): New arg NO-CONFIRM.
8437 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8438 (custom-enabled-themes): Doc fix.
8439
8440 * cus-theme.el (customize-create-theme)
8441 (custom-theme-merge-theme): Callers to load-theme changed.
8442
bb617717
LMI
84432011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8444
d61bdd5d
LMI
8445 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8446 short URLs have at least one dot in them (bug #7614).
8447
bb617717
LMI
8448 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8449 nil, because using a pty is apparently too slow (bug #895).
8450
2f31f37a
LMI
84512011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8452
8453 * mail/sendmail.el (sendmail-query-once): New function.
8454 (sendmail-query-once-function): New variable.
8455
3076b24e
GM
84562011-06-29 Glenn Morris <rgm@gnu.org>
8457
faf2a174
GM
8458 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8459
3076b24e
GM
8460 * ses.el (top-level): Require cl when compiling.
8461 (ses-set-localvars): Fix error statement.
8462 Call it at compile time to silence a storm of warnings.
8463
5386012d
MR
84642011-06-29 Martin Rudalics <rudalics@gmx.at>
8465
8466 * window.el (normalize-live-buffer): Rename to
8467 window-normalize-buffer.
8468 (normalize-live-frame): Rename to window-normalize-frame.
8469 (normalize-any-window): Rename to window-normalize-any-window.
8470 (normalize-live-window): Rename to window-normalize-live-window.
8471 (make-window-atom): Rename to window-make-atom.
8472 (window-resize-reset): Rename to window--resize-reset.
8473 (window-resize-reset-1): Rename to window--resize-reset-1.
8474 (resize-mini-window): Rename to window--resize-mini-window.
8475 (resize-subwindows-skip-p): Rename to
8476 window--resize-subwindows-skip-p.
8477 (resize-subwindows-normal): Rename to
8478 window--resize-subwindows-normal.
8479 (resize-subwindows): Rename to window--resize-subwindows.
8480 (resize-other-windows): Rename to window--resize-siblings.
8481 (resize-this-window): Rename to window--resize-this-window.
8482 (resize-root-window): Rename to window--resize-root-window.
8483 (resize-root-window-vertically): Rename to
8484 window--resize-root-window-vertically.
8485 (normalize-buffer-to-display): Rename to
8486 window-normalize-buffer-to-display.
8487 (normalize-buffer-to-switch-to): Rename to
8488 window-normalize-buffer-to-switch-to.
8489 Correspondingly update all callers of the functions listed
8490 above.
8491 (display-buffer-alist, display-buffer-normalize-arguments)
8492 (display-buffer-normalize-options, display-buffer)
8493 (display-buffer-alist-set): Use "function" instead of
8494 "fun-with-args".
8495
1176868d
CY
84962011-06-28 Chong Yidong <cyd@stupidchicken.com>
8497
8498 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8499 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8500 debbugs.gnu.org. Mention acknowledgment email.
8501
20a7a65f
LMI
85022011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8503
8504 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8505 buffer multibyteness, since it shouldn't matter.
8506
5f45cca5
MR
85072011-06-28 Martin Rudalics <rudalics@gmx.at>
8508
8509 * window.el (display-buffer-in-side-window): Handle dedicated
8510 windows as in display-buffer-reuse-window.
8511 (display-buffer-normalize-alist): Use value of override
8512 specifier.
8513 (display-buffer-normalize-specifiers): Use value of
8514 other-window-means-other-frame specifier.
8515 (display-buffer-alist): Rewrite some texts in widgets.
8516 (display-buffer): Spread arguments when calling function
8517 specified by fun-with-args.
8518
ad85fe1f
DD
85192011-06-28 Deniz Dogan <deniz@dogan.se>
8520
1fa280a3
LM
8521 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8522 Unnest `let'.
da68c4c8 8523
ad85fe1f
DD
8524 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8525 selectors (Bug#5732).
ec49bd31 8526 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8527
a08cc025
JA
85282011-06-27 Jari Aalto <jari.aalto@cante.net>
8529
8530 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8531 (eshell-ls-date-format): New defcustom.
8532 (eshell-ls-file): Use it.
8533
e2b551c5
SM
85342011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8537
8982b231
KY
85382011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8539
8540 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8541 (ange-ftp-make-tmp-name): New arg.
8542 (ange-ftp-file-local-copy): Use it.
8543
36c9fa27
J
85442011-06-27 Jambunathan K <kjambunathan@gmail.com>
8545
8546 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8547 no-conversion (Bug#8870).
8548
d68443dc
MR
85492011-06-27 Martin Rudalics <rudalics@gmx.at>
8550
8551 * window.el (window-right, window-left, window-child)
8552 (window-child-count, window-last-child)
8553 (window-iso-combination-p, walk-window-tree-1)
8554 (window-atom-check-1, window-tree-1, delete-window)
8555 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8556 new naming conventions - window-vchild, window-hchild,
8557 window-next and window-prev are now called window-top-child,
8558 window-left-child, window-next-sibling and window-prev-sibling
8559 respectively.
d615d6d2
MR
8560 (resize-window-reset): Rename to window-resize-reset.
8561 (resize-window-reset-1): Rename to window-resize-reset-1.
8562 (resize-window): Rename to window-resize.
8563 (window-min-height, window-min-width)
8564 (resize-mini-window, resize-this-window, resize-root-window)
8565 (resize-root-window-vertically, adjust-window-trailing-edge)
8566 (enlarge-window, shrink-window, maximize-window)
8567 (minimize-window, delete-window, quit-restore-window)
8568 (split-window, balance-windows, balance-windows-area-adjust)
8569 (balance-windows-area, window-state-put-2)
8570 (display-buffer-even-window-sizes, display-buffer-set-height)
8571 (display-buffer-set-width, set-window-text-height)
8572 (fit-window-to-buffer): Rename all "resize-window" prefixed
8573 calls to use the "window-resize" prefix convention.
8574 (display-buffer-alist): Fix symbol for label specifier.
8575 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8576 corresponding specifier.
8577 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8578
b6458526
VB
85792011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8580
8581 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8582 convention.
8583 (ses-call-printer): Does not pass an empty string to formatter when the
8584 cell is empty to keep from barking printer Calc math-format-value.
8585
d31fd9ac
RS
85862011-06-27 Richard Stallman <rms@gnu.org>
8587
43d5bf84
RS
8588 * battery.el (battery-mode-line-limit): New variable.
8589 (battery-update): Handle it.
8590
d31fd9ac
RS
8591 * mail/rmailmm.el (rmail-mime-process-multipart):
8592 Handle truncated messages.
8593
819a6054
GM
85942011-06-27 Glenn Morris <rgm@gnu.org>
8595
8596 * progmodes/flymake.el (flymake-err-line-patterns):
8597 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8598
cedc73f2
VB
85992011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8600
819a6054 8601 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8602 (ses--clean-!, ses--clean-_): New functions.
8603 (ses-range): Add configurability of readout order, and conversion
8604 to Calc vector.
8605
5e5d49b6
VB
8606 * ses.el (ses-repair-cell-reference-all): New function.
8607 (ses-cell-symbol): Set macro as safe, so that it can be used in
8608 formulas.
8609
56e6cc31 8610 * ses.el: Update cycle detection algorithm.
90ca8b49 8611 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8612 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8613 (ses-set-localvars): New function.
8614 (ses-make-cell): Add property-list as a cell element.
8615 (ses-cell-property-get-fun, ses-cell-property-get)
8616 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8617 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8618 New functions.
90ca8b49
VB
8619 (ses-cell-property-set, ses-cell-property-pop)
8620 (ses-cell-property-get-handle): New macro.
8621 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8622 New aliases, used for code readability.
8623 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8624 cycle detection.
8625 (ses-self-reference-early-detection): New defcustom.
fac916bf 8626 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8627 (ses-mode): Use ses-set-localvars.
8628 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8629 before lauching the update processing.
8630 (ses-initialize-Dijkstra-attempt): New function.
8631 (ses-recalculate-cell): Update for cycle detection based on
8632 Dijkstra algorithm.
8633
2bb63e81
VB
8634 * ses.el: Fix commenting and indenting convention.
8635
c9d29fb8
SM
86362011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 * bs.el (bs-cycle-next): Complete last change.
8639
d8e4b68b
JB
86402011-06-27 Drew Adams <drew.adams@oracle.com>
8641
8642 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8643
40098786
LMI
86442011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8645
c9d29fb8
SM
8646 * net/network-stream.el (network-stream-open-starttls):
8647 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8648 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8649
40098786
LMI
8650 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8651 to binary to possibly avoid line encoding issues on Windows (among
8652 other things).
8653
468d09d4
LMI
86542011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8655
8656 * net/network-stream.el (open-network-stream): Return an :error
8657 saying what the problem was, if possible.
8658
8659 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8660 server.
8661
8662 * net/network-stream.el (network-stream-open-starttls): If we
8663 wanted to use STARTTLS, and the server offered it, but we weren't
8664 able to because we had no STARTTLS support, then close the connection.
8665 (open-network-stream): Return an :error element, if present.
8666
16f07dd7
CY
86672011-06-26 Chong Yidong <cyd@stupidchicken.com>
8668
88821ca0
CY
8669 * hl-line.el (hl-line-sticky-flag): Doc fix.
8670 (global-hl-line-sticky-flag): New option (Bug#8323).
8671 (global-hl-line-highlight): Obey it.
8672
16f07dd7
CY
8673 * vc/vc.el (vc-revert-show-diff): Default to t.
8674
6b5ccddf
KM
86752011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8676
c9d29fb8
SM
8677 * allout-widgets.el (allout-widgets-post-command-business):
8678 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8679 undecorated when an isearch is continued past, and isearch
8680 automatically collapses them. This leads to "widget leaks", where
8681 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8682 hidden widgets can slow down cursor travel, substantially.
8683 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8684 so we're doing without this nicety.
8685
8686 (allout-widgets-tally-string): Don't try to do a hash-table-count
8687 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8688 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8689 *Messages* when allout-widgets-maintain-tally is t.
8690
355f2e07
MR
86912011-06-26 Martin Rudalics <rudalics@gmx.at>
8692
8693 * window.el (display-buffer-normalize-argument): Rename to
8694 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8695 LABEL argument. Respect special-display-function when popping up
8696 a new frame. Fix code searching for a window showing the buffer
8697 on another frame.
c9d29fb8
SM
8698 (display-buffer-normalize-specifiers):
8699 Call display-buffer-normalize-arguments.
355f2e07
MR
8700 (display-buffer-in-window): Don't undedicate the window if its
8701 buffer remains the same.
8702 Reported by Drew Adams <drew.adams@oracle.com>.
8703 (display-buffer-alist): Add choice for same-window macro
8704 specfier.
8705 (display-buffer): Mention special meaning of LABEL argument in
8706 doc-string. Fix quoting. Don't pop up a new frame even as
8707 fallback.
8708
7ca8fc42
JB
87092011-06-26 Juanma Barranquero <lekktu@gmail.com>
8710
8711 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8712 avoid deleting the current window in some cases (bug#8911).
8713
bc312254
AS
87142011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8715
8716 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8717 (Bug#8934)
8718
2db18f3f
LMI
87192011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8720
c9d29fb8
SM
8721 * net/network-stream.el (network-stream-open-starttls):
8722 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8723 (network-stream-open-tls): Ditto.
8724
6302e0d3
LL
87252011-06-26 Leo Liu <sdl.web@gmail.com>
8726
8727 * register.el (registerv): New struct.
8728 (registerv-make): New function.
c9d29fb8
SM
8729 (jump-to-register, describe-register-1, insert-register):
8730 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8731 struct. (Bug#8415)
8732
5fdd4046
CY
87332011-06-26 Chong Yidong <cyd@stupidchicken.com>
8734
2afef60a
CY
8735 * vc/vc.el (vc-revert-show-diff): New defcustom.
8736 (vc-diff-internal): New arg specifying diff buffer.
8737 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8738 reuse an existing *vc-diff* buffer (Bug#8927).
8739
5fdd4046
CY
8740 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8741
e93db24a
GM
87422011-06-26 Glenn Morris <rgm@gnu.org>
8743
8744 * progmodes/f90.el (f90-critical-indent): New option.
8745 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8746 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8747 (f90-mode): Doc fix.
8748 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8749 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8750 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8751 (f90-match-end): Handle block, critical.
8752
eefff499
GM
87532011-06-25 Glenn Morris <rgm@gnu.org>
8754
f6ba4cc9
GM
8755 * calendar/diary-lib.el (diary-included-files): Doc fix.
8756 (diary-include-files): New function, extracted from
8757 diary-include-other-diary-files and diary-mark-included-diary-files.
8758 (diary-include-other-diary-files, diary-mark-included-diary-files):
8759 Just call diary-include-files.
8760 (diary-mark-entries): Reset diary-included-files on first call.
8761
16712304
GM
8762 * calendar/diary-lib.el (diary-mark-entries)
8763 (diary-mark-included-diary-files):
8764 Visit included diary-files in temp buffers.
8765
5d8e0d43
GM
8766 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8767 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8768 (f90-start-block-re, f90-imenu-generic-expression)
8769 (f90-looking-at-program-block-start, f90-no-block-limit):
8770 Add support for submodules.
8771
ccf7a5d5
GM
8772 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8773 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8774
11fdef7d 87752011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8776
8777 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8778 buffer-file-type before setting its value, to avoid disastrous
eefff499 8779 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8780
74f53697
JB
87812011-06-25 Juanma Barranquero <lekktu@gmail.com>
8782
8783 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8784
8785 * ses.el (ses-unload-function):
8786 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8787
8788 * proced.el (proced-unload-function):
8789 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8790
18a4ce5e
AR
87912011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8792
8793 * server.el (server-create-window-system-frame): Add parameters arg.
8794 (server-process-filter): Doc fix. Handle frame-parameters.
8795
519d22cc
JB
87962011-06-25 Juanma Barranquero <lekktu@gmail.com>
8797
8798 Fix bug#8730, bug#8781.
8799
8800 * loadhist.el (unload--set-major-mode): New function.
8801 (unload-feature): Use it.
8802
8803 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8804 (python-unload-function): New function.
8805
c206f5b0
SM
88062011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8809
f9ad64f3
GS
88102011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8811
8812 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8813 the candidates list.
8814
7d0da90e
JB
88152011-06-24 Juanma Barranquero <lekktu@gmail.com>
8816
8817 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8818
14b4e83d
RS
88192011-06-23 Richard Stallman <rms@gnu.org>
8820
8821 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8822 (rmail-variables): Set next-error-move-function.
8823 (rmail-what-message): Take argument POS.
8824 (rmail-next-error-move): New function.
8825
273d2baf
SM
88262011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8829 messages for adjacent non-terminals.
8830
56c2cc9a
RS
88312011-06-23 Richard Stallman <rms@gnu.org>
8832
8833 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8834 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8835 (rmail-start-mail): Don't specify use of rmail-mail-return;
8836 that's done by mail-bury now.
8837 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8838
d59eb518
MA
88392011-06-23 Michael Albinus <michael.albinus@gmx.de>
8840
8841 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8842 SIZE is a number.
8843
02cfc6d6
MR
88442011-06-23 Martin Rudalics <rudalics@gmx.at>
8845
8846 * window.el (get-lru-window, get-mru-window)
8847 (get-largest-window): Never return a minibuffer window.
8848 (display-buffer-pop-up-window): Fix a bug that could lead to
8849 reusing the minibuffer window.
8850 (display-buffer): Pass original specifier argument to
8851 display-buffer-function instead of the normalized one.
8852 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8853
4e323265
LL
88542011-06-22 Leo Liu <sdl.web@gmail.com>
8855
8856 * minibuffer.el (completing-read-function)
8857 (completing-read-default): Move from minibuf.c
8858
7a70468f
RS
88592011-06-22 Richard Stallman <rms@gnu.org>
8860
50718fc2
RS
8861 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8862 to Rmail even if not started by a special Rmail command.
8863
7a70468f
RS
8864 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8865 Copy the buffer currently showing just one message.
8866
297dde5a
RW
88672011-06-22 Roland Winkler <winkler@gnu.org>
8868
8869 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8870 (bibtex-clean-entry): First delete the old key so that a
8871 customized algorithm for generating the new key does not get
8872 confused by the old key.
8873 (bibtex-url): Obey regexp of first step.
8874 (bibtex-search-entries): Do not use add-to-list with local
8875 list-var.
8876
97bb1093
LMI
88772011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8878
8879 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8880 stored a user name, then query for the password first, instead of
8881 waiting for SMTP to give an error message and the trying again.
8882
1c0f1a19
JD
88832011-06-22 Lawrence Mitchell <wence@gmx.li>
8884
8885 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8886 BUFFER in call-process.
8887
396f7c9d
LMI
88882011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8889
8890 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8891 QUIT twice.
ddb7ffee
LMI
8892 (smtpmail-try-auth-methods): Require user name and password from
8893 auth-source.
396f7c9d 8894
8998d1b3
MR
88952011-06-22 Martin Rudalics <rudalics@gmx.at>
8896
8897 * window.el (display-buffer-default-specifiers)
8898 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8899 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8900 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8901
8902 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8903 (special-display-frame-alist, special-display-popup-frame):
8904 Remove duplicate declarations. These are now in window.el.
8905
4ea31e07
LMI
89062011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8907
c9d29fb8
SM
8908 * mail/smtpmail.el (smtpmail-via-smtp):
8909 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8910 server supports it. SMTP servers that support STARTTLS commonly
8911 require it.
8912
8913 * net/network-stream.el (network-stream-open-starttls): Support
8914 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8915 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8916
95f41d9a
LMI
8917 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8918 upgrades with `open-network-stream', and rely solely on
8919 auth-source for all credentials. Big changes throughout the file,
8920 but in particular:
c9d29fb8
SM
8921 (smtpmail-auth-credentials): Remove.
8922 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8923 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8924 MAIL FROM, too.
95f41d9a 8925
c9d29fb8
SM
8926 * net/network-stream.el (network-stream-open-starttls):
8927 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8928 STARTTLS.
8929 (auth-source): Require.
8930 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8931 (network-stream-certificate): Change cert-cert to cert and
8932 cert-key to key.
4ea31e07 8933
065ec2c7
MA
89342011-06-21 Michael Albinus <michael.albinus@gmx.de>
8935
8936 * net/tramp-cache.el (top): Don't load the persistency file when
8937 "emacs -Q" has been called.
8938
cd93b359
DR
89392011-06-21 Tim Harper <timcharper@gmail.com>
8940
d8e4b68b
JB
8941 * term/ns-win.el (ns-initialize-window-system):
8942 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8943 resource to NO as it is not yet supported by the NS port.
8944
ae9c0411
JB
89452011-06-21 Juanma Barranquero <lekktu@gmail.com>
8946
8947 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8948 (list-dynamic-libraries): ...not here.
8949
7f3f739f
LL
89502011-06-21 Leo Liu <sdl.web@gmail.com>
8951
8952 * subr.el (sha1): Implement sha1 using secure-hash.
8953
327c8fb1
MR
89542011-06-21 Martin Rudalics <rudalics@gmx.at>
8955
8956 * window.el (display-buffer-alist): In default value do not
8957 enforce searching a window on any but the selected frame.
8958 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8959 (display-buffer-select-window): Remove function.
8960 (display-buffer-in-window): When a window on another frame gets
8961 reused, do not select it any more but just raise its frame if
8962 necessary (Bug#8851) and (Bug#8856).
8963 (display-buffer-normalize-options): Handle pop-up-frames related
8964 options more faithfully.
8965 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8966 window if it is on another frame.
c9d29fb8
SM
8967 (display-buffer-alist, display-buffer-default-specifiers):
8968 Don't make new frame unsplittable by default.
9e9de014
MR
8969 (display-buffer-normalize-argument): Fix doc-string typo and use
8970 'same-frame-other-window instead of 'other-window when associating
8971 with display-buffer-macro-specifiers.
327c8fb1 8972
7cf3f556
VB
89732011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8974
8975 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8976 New functions.
8977 (5x5-mode-map, 5x5-mode-menu): Bind them.
8978 (5x5-draw-grid): Tweak the solver's rendering.
8979
60a406cf
SM
89802011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8983 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8984
d8e4b68b 89852011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8986
8987 * menu-bar.el: Use function variable instead of switch-to-buffer.
8988 (menu-bar-select-buffer-function): New variable.
60a406cf 8989 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8990
478d6f95
SM
89912011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8994 variable's status.
8995
ca530739
JD
89962011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8997
8998 * x-dnd.el (x-dnd-version-from-flags)
8999 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
9000 and long as number (Bug#8899).
9001 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
9002
bcd70d97
SM
90032011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9004
60a406cf 9005 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9006 (completion-try-completion, completion-all-completions): Compute the
9007 metadata argument if it's missing; make it optional (bug#8795).
9008
60a406cf 9009 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9010 (widget-complete): Use new :completion-function property.
9011 (widget-completions-at-point): New function.
9012 (default): Use :completion-function instead of :complete.
60a406cf
SM
9013 (widget-default-completions): Rename from widget-default-complete;
9014 Rewrite.
bcd70d97
SM
9015 (widget-string-complete, widget-file-complete, widget-color-complete):
9016 Remove functions.
9017 (file, symbol, function, variable, coding-system, color):
9018 * international/mule-cmds.el (default-input-method, charset)
9019 (language-info-custom-alist):
9020 * cus-edit.el (face): Use new property :completions.
9021
9022 * progmodes/pascal.el (pascal-completions-at-point): New function.
9023 (pascal-mode): Use it.
9024 (pascal-mode-map): Use completion-at-point.
9025 (pascal-toggle-completions): Make obsolete.
9026 (pascal-complete-word, pascal-show-completions):
9027 * progmodes/octave-mod.el (octave-complete-symbol):
9028 Redefine as obsolete alias.
9029 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9030 Signal absence of completion info for old Octave,
9031 (inferior-octave-complete): Redefine as obsolete alias.
9032 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9033 (meta-completions-at-point): Rename from meta-complete-symbol and
9034 adapt it for use on completion-at-point-functions.
9035 (meta-common-mode): Use it.
9036 (meta-looking-at-backward, meta-match-buffer): Remove.
9037 (meta-complete-symbol): Redefine as obsolete alias.
9038 (meta-common-mode-map): Use completion-at-point.
9039 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9040 (makefile-mode-map): Use completion-at-point.
9041 (makefile-completions-at-point): Rename from makefile-complete and
9042 adapt it for use on completion-at-point-functions.
9043 (makefile-mode): Use it.
9044 (makefile-complete): Redefine as obsolete alias.
9045
aebf69c8
DD
90462011-06-20 Deniz Dogan <deniz@dogan.se>
9047
9048 * net/rcirc.el: Delete trailing whitespaces once and for all.
9049
bfbbb27d
DC
90502011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9051
9052 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9053
d264a46b
CY
90542011-06-19 Chong Yidong <cyd@stupidchicken.com>
9055
4ca009e5
CY
9056 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9057
d264a46b
CY
9058 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9059
fbf5b3ce
MR
90602011-06-19 Martin Rudalics <rudalics@gmx.at>
9061
9062 * window.el (display-buffer-other-window-means-other-frame):
9063 Call display-buffer-normalize-alist.
9064 (display-buffer-normalize-specifiers-1): Rename to
9065 display-buffer-normalize-argument. New argument other-frame.
9066 Rewrite.
9067 (display-buffer-normalize-specifiers-2): Rename to
9068 display-buffer-normalize-options.
9069 (display-buffer-normalize-alist-1): New function.
9070 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9071 display-buffer-normalize-alist.
9072 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9073 (display-buffer-normalize-options-inhibit): New variable.
9074 (display-buffer-normalize-specifiers): Rewrite calling
9075 display-buffer-normalize-alist,
9076 display-buffer-normalize-argument, and
9077 display-buffer-normalize-options. Don't call the latter if
9078 display-buffer-normalize-options-inhibit is non-nil.
9079 (frame-auto-delete): New option.
9080 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9081 (window-list-no-nils, window-state-ignored-parameters)
9082 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9083 (window-state-put-1, window-state-put-2, window-state-put):
9084 New functions.
9a028c23
MR
9085 (display-buffer-normalize-options): Move special-display-p group
9086 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9087
6d10d800
CY
90882011-06-18 Chong Yidong <cyd@stupidchicken.com>
9089
6420d28b
CY
9090 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9091 groups (Bug#8776).
9092 (rx-submatch-n): New function.
9093 (rx): Document it.
9094
ddb8b596
CY
9095 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9096 (Bug#8768).
9097
9098 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9099
77080289
CY
9100 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9101
61dfb316
CY
9102 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9103 anytime existing face settings are present (Bug#8889).
9104
6d10d800
CY
9105 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9106 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9107 Remove unused argument.
9108
be3fb2b8
MR
91092011-06-18 Martin Rudalics <rudalics@gmx.at>
9110
bcd70d97
SM
9111 * window.el (display-buffer-default-specifiers):
9112 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9113 pop-up-window-min-width, and another reuse-window specifier
9114 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9115 (display-buffer-normalize-specifiers-2):
9116 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9117 pop-up-windows is unset. Add a reuse-window specifier for the
9118 case popping up a new window fails.
9119 (special-display-popup-frame): Remove double quoting.
28dec25a 9120 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9121
1c6d8c76
SM
91222011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9123
9124 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9125 according to comint-completion-addsuffix.
9126
9127 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9128 (pcomplete-suffix-list): Mark as obsolete.
9129 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9130 pcomplete-seen in the closure.
9131 (pcomplete-comint-setup): Setup completion-at-point as well.
9132 (pcomplete--entries): New function.
9133 (pcomplete--env-regexp): New var.
9134 (pcomplete-entries): Rewrite to work with partial-completion and
9135 without relying on pcomplete-suffix-list.
9136 (pcomplete-pare-list): Remove, unused.
9137
25aef8b8
MR
91382011-06-17 Martin Rudalics <rudalics@gmx.at>
9139
9140 * window.el (display-buffer-alist): Set pop-up-window-min-height
9141 and pop-up-window-min-width in default value. Reported by
9142 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9143 other-window-means-other-frame.
9144 (display-buffer-macro-specifiers): Comment out entry for
9145 other-window specifier.
9146 (display-buffer-other-window-means-other-frame): New function.
9147 (display-buffer-normalize-specifiers-1): New arguments
9148 buffer-name and label. Treat other-window case specially.
9149 (display-buffer-normalize-specifiers-2): Treat other-window case
9150 specially.
9151 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9152 (display-buffer-normalize-specifiers):
9153 Call display-buffer-normalize-specifiers-3.
25aef8b8 9154
dbad4f69
MR
91552011-06-17 Martin Rudalics <rudalics@gmx.at>
9156
9157 * window.el (same-window-p): Fix two typos introduced when
9158 adding with-no-warnings.
d1067961
MR
9159 (display-buffer-normalize-specifiers-1): Don't check
9160 pop-up-frames for 'unset initialization.
9161 (display-buffer-normalize-specifiers-2): Major rewrite using
9162 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9163 (pop-up-frames, display-buffer-reuse-frames)
9164 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9165 Suggested by David Engster <deng@randomsample.de>.
9166 (even-window-heights): Initialize to 'unset.
9167 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9168 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9169 other window case.
dbad4f69 9170
9b9c9e3a
MR
91712011-06-16 Martin Rudalics <rudalics@gmx.at>
9172
bcd70d97
SM
9173 * window.el (display-buffer-normalize-specifiers-1):
9174 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9175 second argument of display-buffer (Bug#8865).
981d5c09
MR
9176 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9177 (switch-to-buffer-other-window-same-frame)
9178 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9179 Adams (Bug#8875).
9c2755e9
MR
9180 (display-buffer): Don't check noninteractive when calling
9181 display-buffer-pop-up-frame.
9182 (display-buffer-pop-up-frame): Never pop up a frame in
9183 noninteractive mode (Bug#8857).
67222e1d
MR
9184 (enlarge-window, shrink-window): Don't report an error when the
9185 window can't be resized as requested (Bug#8862).
9b9c9e3a 9186
2b75be67
SM
91872011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9ffdd3ba
SM
9189 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9190
cb581a67
SM
9191 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9192
2b75be67
SM
9193 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9194
8c0e3589
AM
91952011-06-15 Alan Mackenzie <acm@muc.de>
9196
cb581a67
SM
9197 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9198 for declarators, disable knr checking to speed up for normal files.
9199 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9200
b96e6cde
LMI
92012011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9202
4bba86e6
LMI
9203 * net/network-stream.el (open-network-stream): Add the keyword
9204 :always-query-capabilities for the case where you want to force a
9205 `plain' network connection, but the protocol still requires the
9206 capabilitiy command (i.e., SMTP and EHLO).
9207
2b75be67 9208 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9209 consistency with other `-live-p' functions.
9210
efdcdbf8
SM
92112011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * window.el (same-window-buffer-names, same-window-regexps)
9214 (special-display-frame-alist, special-display-popup-frame)
9215 (special-display-function, special-display-buffer-names)
9216 (special-display-regexps, pop-up-frame-alist)
9217 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9218 (pop-up-windows, split-window-preferred-function)
9219 (split-height-threshold, split-width-threshold, even-window-heights)
9220 (display-buffer-mark-dedicated): Don't encourage the use of
9221 display-buffer-alist from Elisp code.
9222
c5cde042
DN
92232011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9224
9225 * progmodes/python.el (python-mode): Derive from prog-mode.
9226 * progmodes/ps-mode.el (ps-mode):
9227 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9228 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9229 * progmodes/ld-script.el (ld-script-mode): Likewise.
9230
baa1c9ab
MR
92312011-06-15 Martin Rudalics <rudalics@gmx.at>
9232
9233 * window.el (display-buffer-alist): Trim default value to avoid
9234 popping up a new frame (Bug#8857) or reusing an arbitrary window
9235 on another frame.
9236 (display-buffer): Do not fall back on popping up a new frame in
9237 batch mode (Bug#8857).
9238
c5dd5a51
CY
92392011-06-14 Chong Yidong <cyd@stupidchicken.com>
9240
9241 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9242 (custom-theme-summary): New function.
9243 (customize-themes): Use it.
9244
d647b7c4
GM
92452011-06-13 Glenn Morris <rgm@gnu.org>
9246
9247 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9248
9481c002
MR
92492011-06-13 Martin Rudalics <rudalics@gmx.at>
9250
357f93d2
MR
9251 * help.el (help-window): Remove variable.
9252 (help-window-point-marker, temp-buffer-max-height)
9253 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9254 (help-print-return-message): Don't set help-window.
9255 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9256 (help-window-setup-finish): Remove.
9257 (help-window-display-message, help-window-setup)
9258 (with-help-window): Major rewrite based on new
9259 display-buffer-window variable.
9260
9261 * help-mode.el (help-mode-finish): Remove help-window related
9262 code.
9263
9264 * view.el (view-exits-all-viewing-windows): Remove reference to
9265 view-return-to-alist in doc-string.
9266 (view-return-to-alist): Make obsolete.
9267 (view-buffer): Call pop-to-buffer-same-window and remove
9268 undo-window code.
9269 (view-buffer-other-window): Call pop-to-buffer-other-window and
9270 simplify code. Ignore second argument.
9271 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9272 simplify code. Ignore second argument.
9273 (view-return-to-alist-update): Make obsolete.
9274 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9275 Rewrite using quit-restore window parameters.
2b75be67
SM
9276 (view-mode-exit): Rename second argument to EXIT-ONLY.
9277 Rewrite using quit-restore-window.
357f93d2
MR
9278 (View-exit, View-exit-and-edit, View-leave, View-quit)
9279 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9280 appropriate arguments.
9281 (view-end-message): Use quit-restore window parameter.
9282
9481c002
MR
9283 * window.el (display-buffer-function): Rewrite doc-string.
9284 (display-buffer-window, display-buffer-alist): New variables.
9285 (display-buffer-split-specifiers)
9286 (display-buffer-side-specifiers)
9287 (display-buffer-macro-specifiers): New constants.
9288 (display-buffer-even-window-sizes, display-buffer-set-height)
9289 (display-buffer-set-width, display-buffer-select-window)
9290 (display-buffer-in-window, display-buffer-reuse-window)
9291 (display-buffer-split-window-1, display-buffer-split-window)
9292 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9293 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9294 (display-buffer-in-side-window, normalize-buffer-to-display)
9295 (display-buffer-normalize-specifiers-1)
9296 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9297 (display-buffer-normalize-specifiers, display-buffer-frame):
9298 New functions.
9481c002
MR
9299 (display-buffer): Major rewrite.
9300 (display-buffer-other-window, display-buffer-other-frame)
9301 (pop-to-buffer, switch-to-buffer-other-window)
9302 (switch-to-buffer-other-frame): Rewrite.
9303 (display-buffer-same-window, display-buffer-same-frame)
9304 (display-buffer-same-frame-other-window)
9305 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9306 (pop-to-buffer-other-window)
9307 (pop-to-buffer-same-frame-other-window)
9308 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9309 (switch-to-buffer-other-window-same-frame): New functions.
9310 (same-window-p, special-display-p): Rewrite disabling warnings.
9311 Make obsolete.
9312 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9313 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9314 Make obsolete
9315 (same-window-buffer-names, same-window-regexps)
9316 (special-display-frame-alist, special-display-popup-frame)
9317 (special-display-function, special-display-buffer-names)
9318 (special-display-regexps, pop-up-frame-alist)
9319 (pop-up-frame-function, split-window-preferred-function)
9320 (split-height-threshold, split-width-threshold)
9321 (even-window-heights): Make obsolete.
9322
9db51aca
GM
93232011-06-12 Glenn Morris <rgm@gnu.org>
9324
9325 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9326 Misc simplifications.
9db51aca 9327
39cffb44
MR
93282011-06-12 Martin Rudalics <rudalics@gmx.at>
9329
9330 * window.el (window-safely-shrinkable-p): Restore function which
9331 was inadvertently removed in change from 2011-06-11. Declare as
9332 obsolete.
9333
2b75be67
SM
9334 * calendar/calendar.el (calendar-generate-window):
9335 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9336 window-safely-shrinkable-p.
9337
a8955be7
GM
93382011-06-12 Glenn Morris <rgm@gnu.org>
9339
9340 * progmodes/fortran.el (fortran-mode-syntax-table):
9341 * progmodes/f90.el (f90-mode-syntax-table):
9342 Set % to punctuation. (Bug#8820)
9343 (f90-find-tag-default): Remove, no longer needed.
9344
f0d4059d
DC
93452011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9346
9347 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9348
1100a63c
CY
93492011-06-11 Chong Yidong <cyd@stupidchicken.com>
9350
9351 * image.el (image-animated-p): Return animation delay in seconds.
9352 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9353 (image-animate-timeout): Remove DELAY argument. Don't assume
9354 every subimage has the same delay; get it from image-animated-p.
9355 (image-animate): Caller changed.
9356
def722bf
MA
93572011-06-11 Michael Albinus <michael.albinus@gmx.de>
9358
9359 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9360 to ignored backtrace functions.
9361
0a2bb1a9
GM
93622011-06-11 Glenn Morris <rgm@gnu.org>
9363
9364 * calendar/appt.el (appt-disp-window-function): Doc fix.
9365 (appt-check): Handle overlapping appointments. (Bug#8337)
9366
6198ccd0
MR
93672011-06-11 Martin Rudalics <rudalics@gmx.at>
9368
9369 * window.el (window-tree-1, window-tree): New functions, moving
9370 the latter to window.el.
9371 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9372 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9373 (bw-refresh-edges): Remove.
9374 (balance-windows-1, balance-windows-2): New functions.
9375 (balance-windows): Rewrite in terms of window tree functions,
9376 balance-windows-1 and balance-windows-2.
9377 (bw-adjust-window): Remove.
9378 (balance-windows-area-adjust): New function with functionality of
9379 bw-adjust-window but using resize-window.
2b75be67
SM
9380 (set-window-text-height): Rewrite doc-string.
9381 Use normalize-live-window and resize-window.
9382 (enlarge-window-horizontally, shrink-window-horizontally):
9383 Rename argument to DELTA.
6198ccd0
MR
9384 (window-buffer-height): New function.
9385 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9386 Rewrite using new window resize routines.
2b75be67
SM
9387 (kill-buffer-and-window, mouse-autoselect-window-select):
9388 Use ignore-errors instead of condition-case.
6198ccd0
MR
9389 (quit-window): Call delete-frame instead of delete-windows-on
9390 for the only buffer on frame.
9391
9397e56f
MR
93922011-06-10 Martin Rudalics <rudalics@gmx.at>
9393
9394 * loadup.el (top-level): Load window before files for the sake
9395 of replace-buffer-in-windows.
9396
9397 * files.el (read-buffer-to-switch)
9398 (switch-to-buffer-other-window)
2b75be67
SM
9399 (switch-to-buffer-other-frame, display-buffer-other-frame):
9400 Move to window.el.
9397e56f
MR
9401
9402 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9403 (previous-buffer): Move to window.el.
9404
9405 * bindings.el (unbury-buffer): Move to window.el.
9406
9407 * window.el (delete-other-windows-vertically): Move after
9408 definition of delete-other-windows.
9409 (other-window, delete-windows-on, replace-buffer-in-windows):
9410 Move here from window.c.
9411 (record-window-buffer, unrecord-window-buffer)
9412 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9413 (switch-to-next-buffer): New functions.
9414 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9415 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9416 (previous-buffer): Move here from simple.el.
9417 Call switch-to-prev-buffer.
9397e56f
MR
9418 (bury-buffer): Move here from buffer.c. Switch to previous
9419 buffer when window cannot be deleted.
9420 (unbury-buffer): Move here from bindings.el.
9421 (ctl-x-map): Move binding for other-window from window.c to
9422 here.
9423 (read-buffer-to-switch, switch-to-buffer-other-window)
9424 (switch-to-buffer-other-frame): Move here from files.el.
9425 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9426 (switch-to-buffer): Move here from buffer.c.
9427 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9428
562dd5e9
MR
94292011-06-10 Martin Rudalics <rudalics@gmx.at>
9430
9431 * window.el (window-min-height, window-min-width): Move here
9432 from window.c. Add defcustoms and rewrite doc-strings.
9433 (resize-mini-window, resize-window): New functions.
9434 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9435 Move here from window.c.
9436 (maximize-window, minimize-window): New functions.
9437 (delete-window, delete-other-windows, split-window): Move here
9438 from window.c.
9439 (window-split-min-size): New function.
9440 (split-window-keep-point): Mention split-window-above-each-other
9441 instead of split-window-vertically.
2b75be67 9442 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9443 Rename split-window-vertically to split-window-above-each-other
9444 and provide defalias for old definition.
9445 (split-window-side-by-side, split-window-horizontally):
9446 Rename split-window-horizontally to split-window-side-by-side
9447 and provide defalias for the old definition.
562dd5e9
MR
9448 (ctl-x-map): Move bindings for delete-window,
9449 delete-other-windows and enlarge-window here from window.c.
9450 Replace bindings for split-window-vertically and
9451 split-window-horizontally by bindings for
9452 split-window-above-each-other and split-window-side-by-side.
9453
9454 * cus-start.el (all): Remove entries for window-min-height and
9455 window-min-width. Add entries for window-splits and
9456 window-nest.
9457
f0da764a
GM
94582011-06-09 Glenn Morris <rgm@gnu.org>
9459
80675c21
GM
9460 * calendar/appt.el (appt-mode-line): New function.
9461 (appt-check, appt-disp-window): Use it.
9462
f0da764a
GM
9463 * files.el (hack-one-local-variable-eval-safep):
9464 Allow minor-modes with explicit +/-1 arguments.
9465
59f623b7
TZ
94662011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9467
9468 * term/xterm.el (xterm): Add defgroup.
9469 (xterm-extra-capabilities): Add defcustom to supply known xterm
9470 capabilities, skip querying them, or query them (default).
9471 (terminal-init-xterm): Use it.
9472 (terminal-init-xterm-modify-other-keys): New function to set up
9473 modifyOtherKeys support to simplify `terminal-init-xterm'.
9474
9aab8e0d
MR
94752011-06-09 Martin Rudalics <rudalics@gmx.at>
9476
9477 * window.el (resize-window-reset, resize-window-reset-1)
9478 (resize-subwindows-skip-p, resize-subwindows-normal)
9479 (resize-subwindows, resize-other-windows, resize-this-window)
9480 (resize-root-window, resize-root-window-vertically)
9481 (window-deletable-p, window-or-subwindow-p)
9482 (frame-root-window-p): New functions.
9483
e8b08aee
GM
94842011-06-09 Glenn Morris <rgm@gnu.org>
9485
9486 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9487 (ange-ftp-get-files): Use it.
9488
254c37a5
AK
94892011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9490
9491 * mail/sendmail.el (mail-recover-1, mail-recover):
9492 * files.el (recover-file, recover-session):
9493 Handle dired-listing-switches not being just a single short option.
9494
35d7dbd3
GM
94952011-06-09 Glenn Morris <rgm@gnu.org>
9496
9497 * calendar/appt.el (appt-display-message, appt-disp-window):
9498 Handle lists of appointments.
9499
387522b2
MR
95002011-06-08 Martin Rudalics <rudalics@gmx.at>
9501
2b75be67
SM
9502 * window.el (one-window-p): Move down in code.
9503 Rewrite doc-string.
9504 (window-current-scroll-bars): Rewrite doc-string.
9505 Normalize live window argument.
387522b2
MR
9506 (walk-windows, get-window-with-predicate, count-windows):
9507 Rewrite doc-string. Use window-list-1.
9508 (window-in-direction-2, window-in-direction, get-mru-window):
9509 New functions.
9510
d8e4b68b 95112011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9512
9513 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9514 Doc fix (Bug#8713).
9515
95162011-06-08 Chong Yidong <cyd@stupidchicken.com>
9517
9518 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9519
95202011-06-08 Juanma Barranquero <lekktu@gmail.com>
9521
9522 * loadhist.el (unload-feature-special-hooks):
9523 Add `comint-output-filter-functions'.
9524
0de12c52
IK
95252011-06-08 Ivan Kanis <gnu@kanis.fr>
9526
9527 * calendar/appt.el (appt-check): Move some initializations into the let.
9528
f3d1777e
MR
95292011-06-08 Martin Rudalics <rudalics@gmx.at>
9530
9531 * window.el (window-height): Defalias to window-total-height.
9532 (window-width): Defalias to window-body-width.
9533
18af70d0
CY
95342011-06-07 Chong Yidong <cyd@stupidchicken.com>
9535
9536 * image-mode.el (image-toggle-animation): New command.
9537 (image-mode-map): Bind it to RET.
9538 (image-mode): Update message.
9539 (image-toggle-display-image): Avoid a spurious cache flush.
9540 (image-transform-rotation): Doc fix.
9541 (image-transform-properties): Return quickly in the normal case.
9542 (image-animate-loop): Rename from image-animate-max-time.
9543
2b75be67 9544 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9545 (create-animated-image): Remove unnecessary function.
9546 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9547 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9548 (image-animate-timer): Use car-safe.
9549 (image-animate-timeout): Rename argument.
9550
190b47e6
MR
95512011-06-07 Martin Rudalics <rudalics@gmx.at>
9552
9553 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9554 window.c. Rename first argument to ALL-FRAMES.
9555 Rephrase doc-strings.
9556 (get-buffer-window-list): Rewrite using window-list-1.
9557 Rephrase doc-string.
a1511caf
MR
9558 (window-safe-min-height, window-safe-min-width): New constants.
9559 (window-size-ignore, window-min-size, window-min-size-1)
9560 (window-sizable, window-sizable-p, window-size-fixed-1)
9561 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9562 (window-max-delta-1, window-max-delta, window-resizable)
9563 (window-resizable-p, window-total-height, window-total-width)
9564 (window-body-width): New functions.
9565 (window-full-height-p, window-full-width-p): Rewrite using
9566 window-total-size.
9567 (window-body-height): Rewrite using window-body-size.
190b47e6 9568
85cc1f11
MR
95692011-06-06 Martin Rudalics <rudalics@gmx.at>
9570
9571 * window.el (window-right, window-left, window-child)
9572 (window-child-count, window-last-child, window-any-p)
9573 (normalize-live-buffer, normalize-live-frame)
9574 (normalize-any-window, normalize-live-window)
9575 (window-iso-combination-p, window-iso-combined-p)
9576 (window-iso-combinations)
9577 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9578 (windows-with-parameter, window-with-parameter)
9579 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9580 (window-atom-check, window-side-check, window-check):
9581 New functions.
85cc1f11
MR
9582 (ignore-window-parameters, window-sides, window-sides-vertical)
9583 (window-sides-slots): New variables.
9584 (window-size-fixed): Move down in code. Minor doc-string fix.
9585
e7156492
AS
95862011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9587
9588 * comint.el (comint-dynamic-complete-as-filename)
9589 (comint-dynamic-complete-filename): Correctly call
9590 completion-in-region.
9591
7e821d0d
DD
95922011-06-05 Deniz Dogan <deniz@dogan.se>
9593
9594 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9595 in last change.
9596
ac09b8a1
DD
95972011-06-05 Deniz Dogan <deniz@dogan.se>
9598
9599 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9600 (rcirc): Use it to prompt for encryption.
9601
34699b85
RW
96022011-06-05 Roland Winkler <winkler@gnu.org>
9603
9604 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9605 (bibtex-search-entries): New command bound to C-c C-a.
9606 (bibtex-display-entries): New function.
9607
004dedd3
RW
96082011-06-05 Roland Winkler <winkler@gnu.org>
9609
9610 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9611 (bibtex-insert-kill): After yanking insert newline if necessary.
9612 (bibtex-initialize): Call bibtex-string-files-init only once.
9613 (bibtex-mode): Do not call easy-menu-add.
9614 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9615 (bibtex-yank): Set arg properly if nil.
9616
022fe7ce
RW
96172011-06-05 Roland Winkler <winkler@gnu.org>
9618
2b75be67
SM
9619 * textmodes/bibtex.el (bibtex-search-entry-globally):
9620 New variable.
022fe7ce
RW
9621 (bibtex-search-entry): Use it.
9622
b7c3692a
RW
96232011-06-05 Roland Winkler <winkler@gnu.org>
9624
9625 * textmodes/bibtex.el (bibtex-entry-format): New option
9626 sort-fields.
9627 (bibtex-format-entry, bibtex-reformat): Honor this option.
9628 (bibtex-parse-entry): Return fields in proper order.
9629
8eda563d
JB
96302011-06-05 Juanma Barranquero <lekktu@gmail.com>
9631
9632 * doc-view.el (doc-view-remove-if): Move computation of result out
9633 of `dolist' to silence misleading lexical-binding warning.
9634
7dbe3dbc
CY
96352011-06-04 Chong Yidong <cyd@stupidchicken.com>
9636
9637 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9638 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9639
0c33dd17
MA
96402011-06-04 Michael Albinus <michael.albinus@gmx.de>
9641
9642 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9643 "SunOS 5.10".
9644
f8f91c2b
MA
96452011-06-04 Michael Albinus <michael.albinus@gmx.de>
9646
9647 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9648 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9649 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9650 (tramp-parse-putty):
9651 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9652 (tramp-completion-function-alist-ssh)
9653 (tramp-completion-function-alist-telnet)
9654 (tramp-completion-function-alist-su)
9655 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9656 cookie.
9657
9658 * net/tramp-ftp.el:
9659 * net/tramp-sh.el:
9660 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9661 load "tramp.el" `tramp-set-completion-function'.
9662
e17d9003
SM
96632011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * shell.el: Require and use pcomplete.
9666 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9667 (shell-completion-vars): Set pcomplete-default-completion-function.
9668
6c4cab03
DD
96692011-06-04 Deniz Dogan <deniz@dogan.se>
9670
9671 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9672 `memq' (Bug#8799).
9673
ea9fafe0
SM
96742011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9677
b3e945d3
JB
96782011-06-02 Juanma Barranquero <lekktu@gmail.com>
9679
9680 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9681 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9682 * vc/log-view.el (log-view-beginning-of-defun):
9683 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9684 (smerge-refine-forward, smerge-refine-chopup-region):
9685 Silence warning for unused `dotimes' counter variables.
9686
7d520089
SM
96872011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 * net/tramp.el (tramp-with-progress-reporter): Rename from
9690 with-progress-reporter. Use `declare'.
9691 * net/tramp-smb.el:
9692 * net/tramp-sh.el:
9693 * net/tramp-gvfs.el: Update all uses.
9694
a1c2400f
JB
96952011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9696
9697 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9698 buffer isn't killed before making it current.
9699
2403c841
SM
97002011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9701
9702 Silence various byte-compiler warnings.
9703 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9704 `access-type' and new obsolescence format.
9705 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9706 new format.
9707 (byte-compile-check-variable): New `access-type' argument.
9708 Only warn if the access-type is obsolete.
9709 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9710 (byte-compile-variable-set): Adjust callers.
9711 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9712 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9713 setting it as obsolete.
9714 * simple.el (minibuffer-completing-symbol):
9715 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9716 access as obsolete.
9717 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9718 obsolete yet.
9719 * international/quail.el (quail-mouse-choose-completion): Remove unused
9720 code referring to obsolete var.
9721 (quail-choose-completion-string): Remove.
9722 * server.el (server-clients-with, server-kill-buffer-query-function)
9723 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9724 * proced.el (proced-send-signal):
9725 * emacs-lisp/lisp.el (lisp-complete-symbol):
9726 Replace completion-annotate-function with completion-extra-properties.
9727
2462470b
SM
97282011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9729
fb5b2591
SM
9730 * simple.el (goto-line): Use read-number.
9731 (overriding-map-is-bound): Remove.
9732 (saved-overriding-map): Change default.
9733 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9734 Take the map as argument.
9735 (universal-argument, negative-argument, digit-argument): Use it.
9736 (restore-overriding-map): Adjust.
9737 (do-auto-fill): Use fill-forward-paragraph.
9738 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9739
fd6fa53f
SM
9740 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9741 (minibuffer-inactive-mode): New major mode.
9742 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9743 the *Messages* buffer" hack.
9744 (mouse-popup-menubar): Don't burp if the event is a normal key.
9745
2462470b
SM
9746 Miscellaneous tweaks.
9747 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9748 lexical scoping as in subr.el's dolist and dotimes.
9749 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9750 Silence compiler warning.
9751 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9752 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9753 * international/ccl.el (ccl-compile): Trivial simplification.
9754 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9755 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9756 `printflag' argument.
9757 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9758 Purecopy the whole obsolescence data.
9759
108bf785
LL
97602011-06-01 Leo Liu <sdl.web@gmail.com>
9761
9762 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9763 improve doc-string as suggested by Marco Pessotto
9764 <melmothx@gmail.com>.
9765 (rcirc-print): Fix last change.
9766
30a23501
SM
97672011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * minibuffer.el (complete-with-action): Return nil for the metadata and
9770 boundaries of non-functional tables.
9771 (completion-table-dynamic): Return nil for the metadata.
9772 (completion-table-with-terminator): Add default case, using
9773 complete-with-action.
9774 (completion--metadata): New function.
9775 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9776 to try and avoid pathological performance problems.
9777 (completion--embedded-envvar-table): Return `category' metadata.
9778
bcd54f83
LMI
97792011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9780
9781 * subr.el (process-alive-p): New tiny convenience function.
9782
e227544d
SM
97832011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9784
9785 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9786 content but also its previous major mode.
9787
e8296fdc
HE
97882011-05-31 Helmut Eller <eller.helmut@gmail.com>
9789
4d61f28d 9790 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9791 *Backtrace* buffer when we exit with C-M-c.
9792
620c53a6
SM
97932011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * minibuffer.el: Add metadata method to completion tables.
9796 (completion-category-overrides): New defcustom.
9797 (completion-metadata, completion--field-metadata)
9798 (completion-metadata-get, completion--styles)
9799 (completion--cycle-threshold): New functions.
9800 (completion-try-completion, completion-all-completions):
9801 Add `metadata' argument to choose completion-styles.
9802 (completion--do-completion): Use metadata to choose cycling.
9803 (completion-all-sorted-completions): Use metadata for sorting.
9804 Remove :completion-cycle-penalty which is not needed any more.
9805 (completion--try-word-completion): Add `metadata' argument.
9806 (minibuffer-completion-help): Check metadata for annotation function
9807 and sorting.
9808 (completion-file-name-table): Return `category' metadata.
9809 (minibuffer-completing-file-name): Make obsolete.
9810 * simple.el (minibuffer-completing-symbol): Make obsolete.
9811 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9812 completion-try-completion.
9813
1257e755
SM
98142011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9817
3767e706
LL
98182011-05-30 Leo Liu <sdl.web@gmail.com>
9819
9820 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9821 (rcirc-print): Decode all incoming messages (bug#8744).
9822 (rcirc-decode-coding-system): Allow value nil for automatic coding
9823 system detection.
3767e706 9824
d1a5d56a
GM
98252011-06-01 Glenn Morris <rgm@gnu.org>
9826
9827 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9828
e8cbec34
CY
98292011-05-29 Chong Yidong <cyd@stupidchicken.com>
9830
9831 * image.el (image-animate-max-time): Allow nil and t values.
9832 Default to nil.
9833 (create-animated-image): Doc fix.
9834 (image-animate-start): Remove second arg; just use
9835 image-animate-max-time.
9836 (image-animate-timeout): Doc fix. Args changed.
9837
9838 * image-mode.el (image-toggle-display-image): Ensure that the
9839 image spec passed to the animate timer is the same object as in
58179cce 9840 the buffer's display property (Bug#6981).
e8cbec34
CY
9841 (image-transform-properties): Doc fix.
9842
9843 * image.el (image-animate-max-time): Default to nil.
9844
159daf87
MR
98452011-05-29 Martin Rudalics <rudalics@gmx.at>
9846
9847 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9848 entire buffer list (Bug#8184).
9849
d66c4c7c
CY
98502011-05-29 Chong Yidong <cyd@stupidchicken.com>
9851
9852 * image.el (imagemagick-types-inhibit)
9853 (imagemagick-register-types): Doc fix.
9854
80aec780
DD
98552011-05-29 Deniz Dogan <deniz@dogan.se>
9856
9857 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9858 default.
9859
1dd3c2d9
CY
98602011-05-29 Chong Yidong <cyd@stupidchicken.com>
9861
9862 * select.el: Don't perform clipboard-manager saving in hooks;
9863 leave the hooks empty.
9864
60e56523
LL
98652011-05-28 Leo Liu <sdl.web@gmail.com>
9866
9867 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9868 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9869 (occur-edit-mode): New major mode (Bug#8463).
9870 (occur-after-change-function): New function.
9871 (occur-engine): Give Occur tags a read-only property.
9872
2b1e1a22
KR
98732011-05-28 Kevin Ryde <user42@zip.com.au>
9874
9875 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9876
5d344e88
CY
98772011-05-28 Chong Yidong <cyd@stupidchicken.com>
9878
8e6ca83d
CY
9879 * bindings.el (help-echo): Make the initial non-indicator dash
9880 empty on graphical terminals (Bug#7295).
9881
5d344e88
CY
9882 * files.el (auto-mode-alist): Move config rule after the
9883 in-stripping one (Bug#8547).
9884
bfbbace7
CY
9885 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9886
fbeba6e2
CY
9887 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9888 setting (Bug#8740).
9889
60ed8c72
AA
98902011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9891
4ac619f0
AA
9892 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9893 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9894 (Bug#8539).
60ed8c72 9895
23db196e
CY
98962011-05-28 Chong Yidong <cyd@stupidchicken.com>
9897
9898 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9899
5012f24c
DK
99002011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9901
9902 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9903 (hs-hide-block-at-point, hs-find-block-beginning)
9904 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9905 (Bug#8279).
9906
6a639b16
GM
99072011-05-28 Glenn Morris <rgm@gnu.org>
9908
9909 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9910
d43eaf2c
CY
99112011-05-28 Chong Yidong <cyd@stupidchicken.com>
9912
5199bde1
CY
9913 * help-fns.el (describe-function-1): If the function is a derived
9914 major mode, print the parent mode.
9915
d43eaf2c
CY
9916 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9917 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9918
423428a8
SM
99192011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9920
0ff8e1ba 9921 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9922 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9923 * progmodes/etags.el (tags-completion-at-point-function):
9924 * info-look.el (info-lookup-completions-at-point): Mark as
9925 non-exclusive.
9926 (info-complete): Adjust accordingly.
9927
423428a8
SM
9928 * info-look.el: Convert to lexical-binding and completion-at-point.
9929 (info-lookup-completions-at-point): New function.
9930 (info-complete): Use it and completion-in-region.
9931
b74aa22b
DA
99322011-05-28 Drew Adams <drew.adams@oracle.com>
9933
9934 * isearch.el: Let M-e start with point at the first mismatched char.
9935 (isearch-fail-pos): New function.
9936 (isearch-edit-string): Use it.
9937
66e2e71d
DK
99382011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9939
9940 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9941
b1890b0f 99422011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9943
9944 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9945 traversal functions for avl-trees.
9946 (avl-tree--stack): New struct.
9947 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9948 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9949 (avl-tree--do-enter): Add optional `updatefun' arg.
9950 Change return value.
eb95d01d 9951 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9952 (avl-tree--do-delete): Add `test' and `nilflag' args.
9953 Change return value.
eb95d01d
TC
9954 (avl-tree-member): Add optional `nilflag'
9955 (avl-tree-member-p): New function.
9956 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9957 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9958 (avl-tree-stack-empty-p): New functions.
9959
3769ddcf
TC
9960 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9961 avl-tree--del-balance1 and make it work both ways.
9962 (avl-tree--del-balance2): Remove.
9963 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9964 make it work both ways.
9965 (avl-tree--enter-balance2): Remove.
9966 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9967 New macros.
9968 (avl-tree--mapc, avl-tree-map): Add direction argument.
9969
eb95d01d 99702011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9971
9972 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9973
a9f737ee
CY
99742011-05-27 Chong Yidong <cyd@stupidchicken.com>
9975
9976 * select.el: Support clipboard managers with built-in function
9977 x-clipboard-manager-save, via delete-frame-functions and
9978 kill-emacs-hook.
9979 (xselect-convert-to-targets): Add MULTIPLE target to list.
9980 (xselect-convert-to-save-targets): New function.
9981
c92a1e54
KH
99822011-05-27 Kenichi Handa <handa@m17n.org>
9983
9984 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9985 let-binding rfc2047-encode-encoded-words to nil.
9986
e145f188
GM
99872011-05-27 Glenn Morris <rgm@gnu.org>
9988
5ec8a862
GM
9989 * mail/emacsbug.el: Don't require url-util.
9990
4b29d9fb
GM
9991 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9992
e145f188
GM
9993 * files.el (set-auto-mode):
9994 Also respect mode: entries at the end of the file. (Bug#8586)
9995
7d15102b
GM
99962011-05-26 Glenn Morris <rgm@gnu.org>
9997
98f593b8
GM
9998 * files.el (hack-local-variables-prop-line, hack-local-variables):
9999 Downcase mode names, as seems to be traditional.
27b48e63 10000 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 10001
7d15102b
GM
10002 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
10003 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
10004
51d5b4ec
JD
100052011-05-25 Julien Danjou <julien@danjou.info>
10006
10007 * textmodes/rst.el (rst-define-level-faces): Do not define face
10008 symbol if it is already defined.
10009
91513f63
VB
100102011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10011
10012 * play/5x5.el (5x5-new-game, 5x5-randomize):
10013 Reset 5x5-solver-output to nil when a new grid is cast.
10014 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10015 these debugging traces, as defmacro breaks the compiled code.
10016
4d90d6d0
DK
100172011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10018
10019 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10020
e1b90ef6
LL
100212011-05-24 Leo Liu <sdl.web@gmail.com>
10022
10023 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10024 (vc-bzr-sha1): Adapt.
10025
d8e4b68b 10026 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10027
10028 * bindings.el: Provide sha1 feature.
10029
db0406bb 100302011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10031
10032 * mail/sendmail.el: Require `rfc2047'.
10033 (mail-insert-from-field): Do not perform RFC2047 encoding.
10034 (mail-encode-header): New function.
10035 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10036 buffer to the return value of select-message-coding-system.
10037 Call mail-encode-header.
b8d747b9
KH
10038
10039 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10040
db0406bb 100412011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10042
4d90d6d0
DK
10043 * mail/supercite.el (sc-default-cite-frame):
10044 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10045
eb8a5e9b
GM
100462011-05-24 Glenn Morris <rgm@gnu.org>
10047
f8630703
GM
10048 * progmodes/python.el (brm-menu): Declare.
10049
8831bbed
GM
10050 * emulation/viper.el (viper-set-hooks): Declare.
10051
eb8a5e9b
GM
10052 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10053 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10054 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10055 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10056 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10057 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10058
a2a25d24
SM
100592011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10060
10061 Add an :exit-function for completion-at-point.
10062
10063 * minibuffer.el (completion--done): New fun.
10064 (completion--do-completion): Use it. New arg `expect-exact'.
10065 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10066 since completion--do-completion does it for us now.
10067 (minibuffer-force-complete): Use completion--done and
10068 completion--replace. Handle sole-completion case with more care.
10069 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10070 (completion-extra-properties): New var.
10071 (completion-annotate-function): Make obsolete.
10072 (minibuffer-completion-help): Adjust accordingly.
10073 Use completion-list-insert-choice-function.
10074 (completion-at-point, completion-help-at-point):
10075 Bind completion-extra-properties.
10076 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10077 * simple.el (completion-list-insert-choice-function): New var.
10078 (completion-setup-function): Preserve it.
10079 (choose-completion): Pay attention to it, shuffle the code a bit.
10080 (choose-completion-string): New arg `insert-function'.
10081
10082 * textmodes/bibtex.el: Convert to lexical binding.
10083 (bibtex-mode-map): Use completion-at-point.
10084 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10085 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10086 (bibtex-complete): Define as obsolete alias.
10087 (bibtex-complete-internal): Remove.
10088 (bibtex-format-entry): Remove unused sub-group in regexp.
10089 * shell.el (shell--command-completion-data)
10090 (shell-environment-variable-completion):
10091 * pcomplete.el (pcomplete-completions-at-point):
10092 * comint.el (comint--complete-file-name-data): Use :exit-function
10093 instead of completion-table-with-terminator so it also works for
10094 choose-completion.
10095
e44e373d
SM
100962011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10097
4f91a816
SM
10098 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10099
782fc819
SM
10100 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10101 (bug#8710).
10102
e44e373d
SM
10103 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10104
381987c3
KM
101052011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10106
10107 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10108 customization variable and implement: If non-nil, auto-fill will
10109 be inhibited while on topic's header line.
10110
b776bc70
VB
101112011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10112
10113 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10114 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10115 always have a solution in grid size = 5 cases.
10116 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10117 (5x5-solver-output, 5x5-log-buffer): New vars.
10118 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10119 Make these variables buffer local to achieve 5x5 multi-session-ness.
10120 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10121 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10122 (5x5-solve-suggest): New funs.
10123 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10124 randomize a grid so that we ensure that there is always a solution.
10125 (5x5-make-random-grid): Allow other movement than flipping.
10126
7de88b6e
KR
101272011-05-23 Kevin Ryde <user42@zip.com.au>
10128
10129 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10130 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10131 advice and passes PREDICATE.
10132
b1ef1257
SM
101332011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10134
bbca48fe
SM
10135 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10136 byte-compile-lambda if it's actually a lambda.
10137
b1ef1257
SM
10138 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10139 Fix function quoting. Use backquote better.
10140
92a9cc65
YS
101412011-05-22 Yuanle Song <sylecn@gmail.com>
10142
10143 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10144 matching (Bug#8516).
10145
f0fb8059
JA
101462011-01-22 Jari Aalto <jari.aalto@cante.net>
10147
10148 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10149 different face (Bug#8178).
10150
d5b44c93
CY
101512011-05-22 Chong Yidong <cyd@stupidchicken.com>
10152
10153 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10154 defface (Bug#8144).
10155
79106a44
SM
101562011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10157
9c848d8a
SM
10158 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10159 funcall as well (bug#8712). Warn when performing those conversions.
10160 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10161
79106a44
SM
10162 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10163
88dfa756
GM
101642011-05-22 Glenn Morris <rgm@gnu.org>
10165
10166 * files.el (hack-local-variables-prop-line): Small simplifications.
10167 (hack-local-variables, hack-local-variables-prop-line):
10168 If MODE-ONLY, return the mode, rather than just `t'.
10169
b7cf2c79
SM
101702011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10171
10172 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10173
3f1a8558
GM
101742011-05-21 Glenn Morris <rgm@gnu.org>
10175
7e4ccca3
GM
10176 * files.el (hack-local-variables-prop-line, hack-local-variables):
10177 If only interested in the mode, don't bother doing the other stuff.
10178
637d46ca
GM
10179 * image-mode.el (image-after-revert-hook):
10180 Redraw all frames on which the image is visible. (Bug#8567)
10181
973d955b
GM
10182 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10183
3f1a8558
GM
10184 * wid-edit.el (widget-checklist-match-inline):
10185 Fix 2011-04-19 change. (Bug#8649)
10186
96479927
SM
101872011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10188
1dcf791f
SM
10189 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10190 Also allow singlespace after single-letter capitals followed by a dot.
10191
96479927
SM
10192 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10193 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10194
35fd0881
N
101952011-05-20 Nix <nix@esperi.org.uk>
10196
10197 * files.el (basic-save-buffer-2):
10198 Fix handling of break-hardlink-on-save with non-existent files.
10199
82745640
DD
102002011-05-19 Deniz Dogan <deniz@dogan.se>
10201
10202 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10203 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10204
4a720484
GM
102052011-05-19 Glenn Morris <rgm@gnu.org>
10206
d1f21341
GM
10207 * progmodes/f90.el (f90-type-def-re):
10208 Handle "type, bind(c)". (Bug#8691)
10209
4a720484
GM
10210 * emacs-lisp/autoload.el (batch-update-autoloads):
10211 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10212
2fb0a219
MA
102132011-05-18 Michael Albinus <michael.albinus@gmx.de>
10214
10215 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10216 property for the correct connection in case of multihops.
10217
e565dd37
GM
102182011-05-18 Glenn Morris <rgm@gnu.org>
10219
c2571358 10220 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10221 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10222
e565dd37
GM
10223 Rationalize calendar handling of day and month abbrev-arrays.
10224 * calendar/calendar.el (calendar-customized-p): New function.
10225 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10226 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10227 Add :set function.
10228 (calendar-abbrev-length, calendar-day-abbrev-array)
10229 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10230 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10231 Elements may no longer be nil.
10232 (calendar-day-name, calendar-month-name):
10233 Update for changed nature of abbrev arrays.
10234 * calendar/diary-lib.el (diary-name-pattern):
10235 Update for changed nature of abbrev arrays.
10236 (diary-mark-entries-1): Update calendar-make-alist calls.
10237 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10238 * calendar/cal-html.el (cal-html-day-abbrev-array):
10239 Simply inherit from calendar-day-abbrev-array.
10240
1d99a745
SM
102412011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10242
10243 * progmodes/grep.el (grep-mode): Disable default
10244 compilation-directory-matcher setting (bug#8684).
10245
7c1d9aa0
MA
102462011-05-17 Michael Albinus <michael.albinus@gmx.de>
10247
10248 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10249 instead of "head" and "tail". There were problems with SunOS 5.9,
10250 and it performs better.
10251
3952e9d8
GM
102522011-05-17 Glenn Morris <rgm@gnu.org>
10253
2dd12e7f
GM
10254 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10255
e4157b9c
GM
10256 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10257 Replace obsolete function.
10258
8e249bbd
GM
10259 * shell.el (pcomplete-parse-arguments-function): Declare.
10260
3952e9d8
GM
10261 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10262 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10263 (appt-check): Doc fixes.
10264 (appt-disp-window-function, appt-delete-window-function):
10265 Remove needless special case in custom :type.
10266 (appt-display-count): Default to 0, not nil.
10267 (appt-check): Reset appt-display-count to 0, not nil.
10268
c71a0d48 102692011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10270
c71a0d48
GM
10271 * progmodes/python.el (python-font-lock-keywords):
10272 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10273
31d55be9
SM
102742011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10275
10276 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10277
3bfacb2f
KR
102782011-05-16 Kevin Ryde <user42@zip.com.au>
10279
10280 * info-look.el (makefile-automake-mode): New setups, looking in
10281 automake manual, then makefile-mode.
10282 (makefile-mode): Remove automake manual, have it just in
10283 makefile-automake-mode since there's various things different or
10284 not relevant to plain make.
10285 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10286 believe a hypothetical automake-mode would go to makefile-mode,
10287 not the other way around.
10288
c8e83751
CY
102892011-05-15 Chong Yidong <cyd@stupidchicken.com>
10290
5e9e35cd
CY
10291 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10292 hunk-end tags (Bug#8672).
10293
c8e83751
CY
10294 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10295 vc-annotate-show-diff-revision-at-line (Bug#8671).
10296
50b23e5a
GM
102972011-05-14 Glenn Morris <rgm@gnu.org>
10298
7210a739
GM
10299 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10300 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10301 (change-log-font-lock-keywords): Also handle multiple author lines
10302 with leading tabs. (Bug#8644)
7210a739 10303
4691905a
GM
10304 * calendar/appt.el (appt-check): Rename some local variables.
10305 Some simplification/reordering.
10306
50b23e5a
GM
10307 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10308 (feedmail-sendmail-f-doesnt-sell-me-out)
10309 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10310 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10311 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10312 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10313 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10314 (feedmail-binmail-gnulinuxish-template):
10315 Rename from feedmail-binmail-linuxish-template.
10316 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10317 Use insert-buffer-substring.
10318
215cda7c
BC
103192011-05-14 Bill Carpenter <bill@carpenter.org>
10320
10321 * mail/feedmail.el (feedmail-patch-level): Increase.
10322 (feedmail-debug): New custom group.
10323 (feedmail-confirm-outgoing-timeout)
10324 (feedmail-sendmail-f-doesnt-sell-me-out)
10325 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10326 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10327 (feedmail-sender-line, feedmail-from-line)
10328 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10329 (feedmail-spray-this-address)
215cda7c
BC
10330 (feedmail-spray-address-fiddle-plex-list)
10331 (feedmail-queue-use-send-time-for-date)
10332 (feedmail-queue-use-send-time-for-message-id)
10333 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10334 (feedmail-buffer-eating-function):
10335 Doc fixes.
10336 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10337 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10338 (feedmail-message-action-scroll-down): New functions.
10339 (feedmail-queue-directory, feedmail-queue-draft-directory):
10340 Use expand-file-name.
10341 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10342 Remove C-v help entry.
10343 (feedmail-queue-buffer-file-name): New variable.
10344 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10345 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10346 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10347 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10348 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10349 (feedmail-message-action-toggle-spray)
10350 (feedmail-run-the-queue-no-prompts)
10351 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10352 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10353 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10354 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10355 (feedmail-envelope-deducer, feedmail-fiddle-from)
10356 (feedmail-fiddle-sender, feedmail-default-date-generator)
10357 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10358 (feedmail-fiddle-spray-address)
10359 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10360 (feedmail-fiddle-list-of-fiddle-plexes)
10361 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10362 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10363 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10364 Change default. Doc fix.
10365 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10366 (feedmail-binmail-linuxish-template): New constant.
10367 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10368 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10369 (feedmail-send-it): Add debug call.
10370 Use feedmail-queue-buffer-file-name, and
10371 feedmail-send-it-immediately-wrapper.
10372 (feedmail-message-action-send): Add debug call.
10373 Use feedmail-send-it-immediately-wrapper.
10374 (feedmail-queue-express-to-queue): Add debug call.
10375 Run feedmail-queue-express-hook.
10376 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10377 (feedmail-message-action-help-blat):
10378 Rename from feedmail-queue-send-edit-prompt-help-first.
10379 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10380 Check line-endings. Handle errors better.
10381 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10382 Doc fix. Add debug call.
10383 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10384 Use feedmail-queue-send-edit-prompt-inner.
10385 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10386 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10387 from feedmail-queue-send-edit-prompt.
10388 (feedmail-queue-send-edit-prompt-help)
10389 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10390 (feedmail-tidy-up-slug): Add debug call.
10391 Respect feedmail-queue-slug-suspect-regexp.
10392 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10393 (feedmail-dump-message-to-queue): Add debug call.
10394 Expand queue-directory.
10395 (feedmail-dump-message-to-queue): Change message slightly.
10396 Use feedmail-say-chatter.
10397 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10398 (feedmail-send-it-immediately-wrapper): New function.
10399 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10400 Insert empty string rather than newline. Handle full-frame case.
10401 Use catch/throw. Use feedmail-say-chatter.
10402 (feedmail-fiddle-from): Try mail-host-address.
10403 (feedmail-default-message-id-generator): Doc fix.
10404 Bind system-time-locale. Handle missing end.
10405 (feedmail-fiddle-x-mailer): Add debug call.
10406 Handle feedmail-x-mailer-line being nil.
10407 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10408 Add debug call. Use buffer-substring-no-properties.
10409 (feedmail-say-debug, feedmail-say-chatter): New functions.
10410 (feedmail-find-eoh): Give an explicit error.
10411
42c7e61e
UJ
104122011-05-13 Ulf Jasper <ulf.jasper@web.de>
10413
c2571358 10414 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10415 family from helvetica to sans.
c2571358 10416 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10417 etc/images/newsticker.
10418
c2571358 10419 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10420 family from helvetica to sans.
10421
10422 * net/newst-plainview.el (newsticker-new-item-face)
10423 (newsticker-old-item-face, newsticker-immortal-item-face)
10424 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10425 (newsticker-statistics-face): Change default family from
42c7e61e 10426 helvetica to sans.
c2571358 10427 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10428 etc/images/newsticker.
10429
10430 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10431 (newsticker--process-auto-mark-filter-match): : Tell user about
10432 auto-marking.
10433
8497a297
DV
104342011-05-13 Didier Verna <didier@xemacs.org>
10435
10436 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10437 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10438 TODO entries.
8497a297
DV
10439 (lisp-lambda-list-keyword-parameter-indentation)
10440 (lisp-lambda-list-keyword-parameter-alignment)
10441 (lisp-lambda-list-keyword-alignment): New customizable user options.
10442 (lisp-indent-defun-method): Improve docstring.
10443 (extended-loop-p): Fix comment.
10444 (lisp-indent-lambda-list-keywords-regexp): New variable.
10445 (lisp-indent-lambda-list): New function.
10446 (lisp-indent-259): Use it.
10447 (lisp-indent-defmethod): Support for more than one
10448 method qualifier and properly indent methods lambda-lists.
10449 (defgeneric): Provide a missing common-lisp-indent-function property.
10450
f278f87f
SM
104512011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10454 bounds for the empty string (bug#8667).
10455
5233edd7
GM
104562011-05-13 Glenn Morris <rgm@gnu.org>
10457
5237a44f
GM
10458 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10459
8340026c 10460 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10461 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10462
5233edd7 10463 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10464 (appt-time-msg-list): Doc fix.
a5464014 10465 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10466
92d10796
AS
104672011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10468
10469 * progmodes/ld-script.el (ld-script-keywords)
10470 (ld-script-builtins): Update keywords list.
10471
914a0ae1
SM
104722011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10473
c89be45f
SM
10474 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10475
914a0ae1
SM
10476 * shell.el (shell-completion-vars): New function.
10477 (shell-mode):
10478 * simple.el (read-shell-command): Use it.
10479 (blink-matching-open): No need for " [...]" in minibuffer-message.
10480
98dc3df3
GM
104812011-05-12 Glenn Morris <rgm@gnu.org>
10482
10483 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10484 (appt-check): Simplify.
10485
d2fc7e3d 104862011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10487
4d61f28d 10488 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10489 literal "/dev/null".
10490
d2fc7e3d 104912011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10492
10493 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10494 Fix typo.
10495
d2fc7e3d 104962011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10497
3f254caa
SM
10498 * progmodes/which-func.el (which-function):
10499 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10500 which might not be defined (Bug#8260).
10501
d45885f7
GM
105022011-05-12 Glenn Morris <rgm@gnu.org>
10503
10504 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10505 Let byte-compile-initial-macro-environment always take precedence.
10506
488086f4
SM
105072011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * net/rcirc.el: Add support for SSL/TLS connections.
10510 (rcirc-server-alist): New field `encryption'.
10511 (rcirc): Check `encryption' settings.
10512 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10513 Merge make-local-variable into `set'.
10514 (rcirc--connection-open-p): New function.
10515 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10516 the process is not a network process (e.g. running gnutls-cli).
10517 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10518 Make rcirc-(en|de)code-coding-system local here.
10519 (rcirc-mode): Merge make-local-variable into `set'.
10520 (rcirc-parent-buffer): Make permanent buffer-local.
10521 (rcirc-multiline-minor-mode): Don't do it here.
10522 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10523 there's no server buffer.
10524
7d3b9d44
GM
105252011-05-11 Glenn Morris <rgm@gnu.org>
10526
f64049c6
GM
10527 * newcomment.el (comment-kill): Prefix "unused" local.
10528
93c9df73
GM
10529 * term/w32console.el (get-screen-color): Declare.
10530
7d3b9d44
GM
10531 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10532 Handle symbol elements of byte-compile-initial-macro-environment.
10533
9e2dd53f
LL
105342011-05-10 Leo Liu <sdl.web@gmail.com>
10535
488086f4
SM
10536 * bookmark.el (bookmark-bmenu-mode-map):
10537 Bind bookmark-bmenu-search to `/'.
8b340240 10538
9e2dd53f 10539 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10540 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10541 (Footnote-unicode): New function.
10542 (footnote-style-alist): Add unicode style to the list.
10543 (footnote-style): Doc fix.
9e2dd53f 10544
79b70037
GM
105452011-05-10 Jim Meyering <meyering@redhat.com>
10546
10547 Fix doubled-word typos.
10548 * international/quail.el (quail-insert-kbd-layout): and and -> and
10549 * kermit.el: and and -> and
10550 * net/ldap.el (ldap-search-internal): to to -> to
10551 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10552 * progmodes/js.el (js-mode): and and -> and
10553 * textmodes/artist.el (artist-move-to-xy): at at -> at
10554 (artist-draw-region-trim-line-endings): if if -> if
10555 And Safetyc -> Safety.
10556 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10557
b8f82dc1 105582011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10559 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10560
10561 * files.el (hack-one-local-variable-eval-safep):
10562 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10563
4f99f44b
GM
105642011-05-10 Glenn Morris <rgm@gnu.org>
10565
10566 * calendar/diary-lib.el (diary-list-entries-hook)
10567 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10568 (diary-nongregorian-marking-hook, diary-list-entries)
10569 (diary-include-other-diary-files, diary-mark-entries)
10570 (diary-mark-included-diary-files): Doc fixes.
10571
84f29e6b
JB
105722011-05-09 Juanma Barranquero <lekktu@gmail.com>
10573
10574 * misc.el: Require tabulated-list.el during compilation.
10575
9bedd73a
CY
105762011-05-09 Chong Yidong <cyd@stupidchicken.com>
10577
488086f4
SM
10578 * progmodes/compile.el (compilation-start):
10579 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10580 (compilation-filter-hook): Doc fix.
10581
797c735c
DD
105822011-05-09 Deniz Dogan <deniz@dogan.se>
10583
10584 * wdired.el: Remove outdated installation comment. Fix usage
10585 comment.
10586
5f4b1dfe
JB
105872011-05-09 Juanma Barranquero <lekktu@gmail.com>
10588
10589 * misc.el: Implement new command `list-dynamic-libraries'.
10590 (list-dynamic-libraries--loaded-only-p): New variable.
10591 (list-dynamic-libraries--refresh): New function.
10592 (list-dynamic-libraries): New command.
10593
4c44026c
CY
105942011-05-09 Chong Yidong <cyd@stupidchicken.com>
10595
488086f4
SM
10596 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10597 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10598 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10599 higher priority to avoid clobbering by gnu.
10600
027f966d
CY
106012011-05-08 Chong Yidong <cyd@stupidchicken.com>
10602
10603 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10604 if the face has existing theme settings (Bug#8454).
10605
085f5d7d
CY
106062011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10607
488086f4
SM
10608 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10609 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10610
2a86a00c
RS
10611 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10612 special file names `.' and `..' (Bug#8259).
10613
d9c54a06
CY
106142011-05-08 Chong Yidong <cyd@stupidchicken.com>
10615
488086f4
SM
10616 * progmodes/grep.el (grep-mode-font-lock-keywords):
10617 Remove buffer-changing entries.
d9c54a06
CY
10618 (grep-filter): New function.
10619 (grep-mode): Add it to compilation-filter-hook.
10620
10621 * progmodes/compile.el (compilation-filter-hook)
10622 (compilation-filter-start): New defvars.
10623 (compilation-filter): Call compilation-filter-hook prior to
10624 updating the process mark.
10625
c4662635
SM
106262011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10627
10628 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10629
b0512a1d
EZ
106302011-05-07 Eli Zaretskii <eliz@gnu.org>
10631
605c9376
EZ
10632 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10633 mailclient-send-it even if window-system is nil. (Bug#8595)
10634
c4662635
SM
10635 * term/w32console.el (terminal-init-w32console):
10636 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10637 background-mode. (Bug#8597)
10638
d1dc2cc2
SM
106392011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10640
10641 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10642 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10643 New functions.
10644 (defgeneric, eieio--defmethod): Use them.
10645 (eieio-defgeneric): Remove.
10646 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10647
915d1300
GM
106482011-05-07 Glenn Morris <rgm@gnu.org>
10649
a3961c3e
GM
10650 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10651 Use let rather than let*.
10652 (timeclock-find-discrep): Remove unused local.
10653
314347b9
GM
10654 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10655
915d1300
GM
10656 * calendar/appt.el (appt-time-msg-list): Doc fix.
10657
275b59b0
NF
106582011-05-06 Noah Friedman <friedman@splode.com>
10659
10660 * apropos.el (apropos-print-doc): Only use
10661 emacs-lisp-docstring-fill-column when it is bound to an integer,
10662 per that variable's documentation.
10663
6c19f744
SM
106642011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10667 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10668
60f884b2
GM
106692011-05-06 Glenn Morris <rgm@gnu.org>
10670
5006e634
GM
10671 * calendar/appt.el (appt-message-warning-time): Doc fix.
10672 (appt-warning-time-regexp): New option.
10673 (appt-make-list): Respect appt-message-warning-time.
10674
548d0a63
GM
10675 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10676 New options.
10677 (diary-add-to-list): Strip comments from the displayed string.
10678 (diary-mode): Set comment-start and comment-end.
10679
60f884b2
GM
10680 * vc/diff-mode.el (smerge-refine-subst): Declare.
10681 (diff-refine-hunk): Don't require smerge-mode when compiling.
10682
989681bb
JB
106832011-05-06 Juanma Barranquero <lekktu@gmail.com>
10684
10685 * simple.el (list-processes): Return nil as the docstring says.
10686
a6bc05e1
MA
106872011-05-05 Michael Albinus <michael.albinus@gmx.de>
10688
10689 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10690 to "".
10691 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10692 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10693 determining of binary transfer. (Bug#7383)
10694
23c22e9a
MA
106952011-05-05 Michael Albinus <michael.albinus@gmx.de>
10696
c4662635
SM
10697 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10698 Fix port computation bug. (Bug#8618)
23c22e9a 10699
0bff894f
GM
107002011-05-05 Glenn Morris <rgm@gnu.org>
10701
b8296902
GM
10702 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10703
1f522ce8
GM
10704 * simple.el (shell-dynamic-complete-functions)
10705 (comint-dynamic-complete-functions): Declare.
10706
cf5bee67
GM
10707 * net/network-stream.el (gnutls-negotiate):
10708 * simple.el (tabulated-list-print): Fix declarations.
10709
10710 * progmodes/gud.el (syntax-symbol, syntax-point):
10711 Remove unnecessary and incorrect declarations.
10712
0bff894f
GM
10713 * emacs-lisp/check-declare.el (check-declare-scan):
10714 Handle byte-compile-initial-macro-environment in bytecomp.el
10715
9869b3ae
SM
107162011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10717
10718 Fix earlier half-done eieio-defmethod change (bug#8338).
10719 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10720 Streamline and change calling convention.
10721 (defmethod): Adjust accordingly and simplify.
10722 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10723 new eieio--defmethod.
10724 (slot-boundp): Minor CSE simplification.
10725
9c1d5ac5
MZ
107262011-05-05 Milan Zamazal <pdm@zamazal.org>
10727
10728 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10729 (glasses-make-readable): Use glasses-separate-capital-groups.
10730
455c834e
JB
107312011-05-05 Juanma Barranquero <lekktu@gmail.com>
10732
10733 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10734 (warning-series): Doc fix.
10735 (display-warning): Don't try to create the buffer if we just found it.
10736
9ed7c8cb
CY
107372011-05-04 Chong Yidong <cyd@stupidchicken.com>
10738
10739 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10740 (autoload-find-generated-file): New function.
10741 (generate-file-autoloads): Bind generated-autoload-file to
10742 buffer-file-name.
9869b3ae
SM
10743 (update-file-autoloads, update-directory-autoloads):
10744 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10745 output file (Bug#7989).
10746 (batch-update-autoloads): Doc fix.
10747
0898ca10
JB
107482011-05-04 Juanma Barranquero <lekktu@gmail.com>
10749
10750 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10751
31dfb76c
GM
107522011-05-04 Glenn Morris <rgm@gnu.org>
10753
f330b642
GM
10754 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10755 function, so it follows changes in calendar-date-style.
10756 (diary-fancy-date-matcher): New function.
10757 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10758 (diary-fancy-font-lock-fontify-region-function):
10759 Use diary-fancy-date-pattern as a function.
10760
31dfb76c
GM
10761 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10762 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10763
48e79d6a
TZ
107642011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10765
10766 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10767 instead of positional arguments. Allow :keylist and :crlfiles
10768 arguments.
10769 (open-gnutls-stream): Call it.
10770
10771 * net/network-stream.el (network-stream-open-starttls): Adjust to
10772 call `gnutls-negotiate' with :process and :hostname arguments.
10773
dd5a5ee0
SM
107742011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10775
ef80fc09
SM
10776 * minibuffer.el (completion--message): New function.
10777 (completion--do-completion, minibuffer-complete)
10778 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10779 (completion--do-completion): Don't ignore completion-auto-help when in
10780 icomplete-mode.
10781
dd5a5ee0
SM
10782 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10783 internal encoding (e.g. tibetan zero is not whitespace).
10784 (global-whitespace-mode): Prefer save-current-buffer.
10785 (whitespace-trailing-regexp): Remove useless save-match-data.
10786 (whitespace-empty-at-bob-regexp): Minor simplification.
10787
b7d22a83
CY
107882011-05-03 Chong Yidong <cyd@stupidchicken.com>
10789
10790 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10791
5192af46
AM
107922011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10793
10794 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10795 Use `concat' to create string for insertion.
5192af46 10796
5767d190
SM
107972011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10800 Avoid open-line which runs post-self-insert-hook.
10801 (bibtex-fill-entry): Remove unused `end' var.
10802
bf242939
AM
108032011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10804
5767d190
SM
10805 * textmodes/ispell.el (ispell-add-per-file-word-list):
10806 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10807
25666126
LL
108082011-05-03 Leo Liu <sdl.web@gmail.com>
10809
10810 * isearch.el (isearch-yank-pop): New command.
5767d190 10811 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10812 (isearch-forward): Mention it.
10813
52d3c2d0
SM
108142011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10815
1bcace58
SM
10816 * simple.el (minibuffer-complete-shell-command): Remove.
10817 (minibuffer-local-shell-command-map): Use completion-at-point.
10818 (read-shell-command): Setup completion vars here instead.
10819 (read-expression-map): Bind TAB to symbol completion.
10820
52d3c2d0
SM
10821 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10822 error directly rather via storing it into `results'.
10823
35813471
LL
108242011-05-02 Leo Liu <sdl.web@gmail.com>
10825
10826 * vc/diff.el: Fix description.
10827
e793a940
LMI
108282011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10829
10830 * server.el (server-eval-at): New function.
10831
8de66e05
LMI
108322011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10833
10834 * net/network-stream.el (open-network-stream): Take a :nowait
10835 parameter and pass it on to `make-network-process'.
10836 (network-stream-open-plain): Ditto.
10837
dcb79f20
AS
108382011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10839
10840 * faces.el (face-spec-set-match-display): Don't match toolkit
10841 options on terminal frames.
10842
14a7fbd8
SM
108432011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10844
7eabc1be
SM
10845 * progmodes/pascal.el: Use lexical binding.
10846 (pascal-mode-map): Remove author preferences.
10847
14a7fbd8
SM
10848 * pcomplete.el (pcomplete-std-complete): Don't abuse
10849 completion-at-point.
10850
50f84510
JB
108512011-04-28 Juanma Barranquero <lekktu@gmail.com>
10852
6e087a44
JB
10853 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10854 removing code that has been dead since 1991 or so.
10855
50f84510
JB
10856 * startup.el (command-line): When warning about "_emacs", use a
10857 delayed warning to allow the user to filter it out.
10858
0ba690bd
DD
108592011-04-28 Deniz Dogan <deniz@dogan.se>
10860
10861 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10862 user has not joined.
10863
08abfaad
SM
108642011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10867 aren't any completions at point.
10868
638f053a
JB
108692011-04-28 Juanma Barranquero <lekktu@gmail.com>
10870
10871 * subr.el (display-delayed-warnings): New function.
10872 (delayed-warnings-hook): New variable.
10873
8fff8daa
SM
108742011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10875
08abfaad
SM
10876 * minibuffer.el (completion-at-point, completion-help-at-point):
10877 Don't presume that a given completion-at-point-function will always
10878 use the same calling convention.
10879
8fff8daa
SM
10880 * pcomplete.el (pcomplete-completions-at-point):
10881 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10882 pcomplete-seen is non-nil.
10883 (pcomplete-comint-setup): Also recognize the new comint/shell
10884 completion functions.
10885 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10886 pcomplete-seen is non-nil.
10887
841a1577 108882011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10889
841a1577 10890 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10891 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10892 the first character in the entry. This allows for code to add its
211ec907
UJ
10893 own uid to the entry.
10894 (icalendar--convert-float-to-ical): Add export of
10895 `diary-float'-entries save for those with the optional DAY
10896 argument.
10897
2a782793
DC
108982011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10899
10900 * subr.el (shell-quote-argument): Use alternate escaping strategy
10901 when we spot a variable reference in a string.
10902
0438ce91
DC
109032011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10904
10905 * cus-start.el (all): Define customization for debug-on-event.
10906
841a1577 109072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10908
10909 * subr.el (shell-quote-argument): Escape correctly under Windows.
10910
d090ed6c
SM
109112011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10914
bfd31217
MA
109152011-04-25 Michael Albinus <michael.albinus@gmx.de>
10916
d090ed6c
SM
10917 * net/tramp.el (tramp-process-actions): Add POS argument.
10918 Delete region between POS and (pos).
bfd31217 10919
d090ed6c
SM
10920 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10921 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10922 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10923
10924 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10925 position in `tramp-process-actions' call.
10926
10927 * net/trampver.el: Update release number.
10928
e92f3bd3
SM
109292011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10930
850256b5
SM
10931 * custom.el (defcustom): Obey lexical-binding.
10932
e92f3bd3
SM
10933 Fix octave-inf completion problems reported by Alexander Klimov.
10934 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10935 Inherit from octave-mode-syntax-table.
10936 (inferior-octave-mode): Set info-lookup-mode.
10937 (inferior-octave-completion-at-point): New function.
10938 (inferior-octave-complete): Use it and completion-in-region.
10939 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10940 comint-filename-completion.
10941 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10942 symbol elements which shouldn't be word elements.
10943 (octave-font-lock-keywords, octave-beginning-of-defun)
10944 (octave-function-header-regexp): Adjust regexps accordingly.
10945 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10946
cd22b309
JB
109472011-04-25 Juanma Barranquero <lekktu@gmail.com>
10948
10949 * net/gnutls.el (gnutls-errorp): Declare before first use.
10950
8b492194
TZ
109512011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10952
10953 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10954 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10955 default trustfile exists before going to use it. Add missing
5a5fa834 10956 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10957 Reported by Claudio Bley <claudio.bley@gmail.com>.
10958 (open-gnutls-stream): Add usage example.
10959
10960 * net/network-stream.el (network-stream-open-starttls): Give host
10961 parameter to `gnutls-negotiate'.
10962 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10963 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10964
841a1577 109652011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10966
cd22b309
JB
10967 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10968 Use correct match group (bug#8438).
05842630 10969
3ba7869c
CY
109702011-04-24 Chong Yidong <cyd@stupidchicken.com>
10971
512e3ae1
CY
10972 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10973 (package-menu--generate): New arg specifying packages to show.
10974 (package-menu-refresh, package-menu-execute, list-packages):
10975 Callers changed.
10976 (package-show-package-list): New function, replacing deleted
10977 package--list-packages (renamed because it is non-internal).
10978
10979 * finder.el (finder-list-matches): Use package-show-package-list
10980 instead of deleted package--list-packages.
10981
e92f3bd3
SM
10982 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10983 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10984 (vc-annotate-mode-map): Bind it to RET.
10985
7031be6d
UR
109862011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10987
10988 * progmodes/etags.el (next-file): Don't use set-buffer to change
10989 buffers (Bug#8478).
10990
4ef177aa
CY
109912011-04-24 Chong Yidong <cyd@stupidchicken.com>
10992
c8d173eb
CY
10993 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10994
4ef177aa
CY
10995 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10996 (apropos-accumulator): Doc fix.
10997 (apropos-function, apropos-macro, apropos-command)
10998 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10999 (apropos-plist): Add face property.
11000 (apropos-symbols-internal): Fix indentation.
11001 (apropos-print): Simplify help, and recognize apropos-multi-type.
11002 (apropos-print-doc): Use button-type-get to extract the button's
11003 face property. Fill docstring (Bug#8352).
11004
4ffd0d6b 110052011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11006
11007 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11008
c6c32125 11009 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11010 (mpuz-mode-map): Use mapc.
c6c32125
JB
11011 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11012 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11013 Fix typos in docstrings.
11014
58d468b4
JB
11015 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11016 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11017
6470c3c6
JB
11018 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11019
4ffd0d6b 110202011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11021
11022 * minibuffer.el (completion--do-completion): Avoid the "Next char
11023 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11024
3ad8bad0
CY
11025 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11026 mouse-2 into unread-command-events, it is interpreted correctly.
11027
71d73c9c 11028 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11029 (image-toggle-display): Doc fix.
71d73c9c 11030
841a1577 110312011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11032
4ffd0d6b
GM
11033 * textmodes/page.el (what-page): Use line-number-at-pos to
11034 calculate line number (Bug#6825).
6e1dbaa9 11035
c2fb1b60
JB
110362011-04-22 Juanma Barranquero <lekktu@gmail.com>
11037
11038 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11039 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11040 Pass argument NO-DEFAULT to `find-tag-interactive'.
11041
e02f48d7
JB
110422011-04-22 Juanma Barranquero <lekktu@gmail.com>
11043
11044 Lexical-binding cleanup.
11045
11046 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11047 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11048 * progmodes/ada-prj.el (ada-prj-initialize-values)
11049 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11050 (ada-prj-show-value):
11051 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11052 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11053 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11054 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11055 * progmodes/bug-reference.el (bug-reference-push-button):
11056 * progmodes/fortran.el (fortran-line-length):
11057 * progmodes/glasses.el (glasses-change):
11058 * progmodes/octave-mod.el (octave-fill-paragraph):
11059 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11060 (python-pdbtrack-grub-for-buffer, python-sentinel):
11061 * progmodes/sql.el (sql-save-connection):
11062 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11063 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11064 Mark unused parameters.
11065
11066 * progmodes/compile.el (compilation--flush-directory-cache)
11067 (compilation--flush-parse, compile-internal): Mark unused parameters.
11068 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11069 (compilation-next-error-function): Remove unused variable `timestamp'.
11070
11071 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11072 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11073
11074 * progmodes/dcl-mode.el (dcl-end-of-command):
11075 Remove unused variable `start'.
11076 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11077 (dcl-option-value-basic, dcl-option-value-offset)
11078 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11079 Mark unused parameters.
11080 (dcl-save-local-variable): Remove unused variable `val'.
11081 (mode): Declare.
11082
11083 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11084 Mark unused parameters.
11085 (delphi-ignore-changes): Move before first use.
11086 (delphi-charset-token-at): Remove unused variable `start'.
11087 (delphi-else-start): Remove unused variable `if-count'.
11088 (delphi-comment-block-start, delphi-comment-block-end):
11089 Remove unused variable `kind'.
11090 (delphi-indent-line): Remove unused variable `new-point'.
11091
11092 * progmodes/ebrowse.el (ebrowse-files-list)
11093 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11094 Mark unused parameters. Don't quote `lambda'.
11095 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11096 Don't quote `lambda'.
11097 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11098 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11099 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11100 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11101 Use `ignore-errors'.
11102 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11103 (ebrowse-view/find-file-and-search-pattern)
11104 (ebrowse-view/find-member-declaration/definition):
11105 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11106 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11107 Rename parameter PREFIX-ARG to PREFIX.
11108 (ebrowse-tags-read-name): Remove unused variables `start' and
11109 `member-info'.
11110 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11111 to `tags-file'.
11112
11113 * progmodes/etags.el (local-find-tag-hook): Declare.
11114 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11115 Mark unused parameters.
11116
11117 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11118 (executable-interpret): Mark unused parameter.
11119
11120 * progmodes/flymake.el (flymake-process-sentinel)
11121 (flymake-after-change-function)
11122 (flymake-create-temp-with-folder-structure)
11123 (flymake-get-include-dirs-dot): Mark unused parameters.
11124 (flymake-safe-delete-directory): Remove unused variable `err'.
11125
11126 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11127 (speedbar-timer-fn, speedbar-line-text)
11128 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11129 (speedbar-center-buffer-smartly): Declare functions.
11130 (gdb-find-watch-expression): Remove unused variable `array'.
11131 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11132 (gdb-starting): Mark unused parameters.
11133 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11134 (gdb-table-string): Remove unused variable `res'.
11135 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11136 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11137 (gdb-display-buffer): Remove unused variable `cur-size'.
11138
11139 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11140 allow lexical-binding compilation.
11141 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11142 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11143 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11144 Mark unused parameters.
11145 (gud-gdb-marker-filter): Remove unused variable `match'.
11146 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11147 lambda expressions and funcall them, instead of using `fset'.
11148
11149 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11150 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11151
11152 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11153 variable `header-beg'; use `let'.
11154
11155 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11156 `restart', `last-sexp' and `at-do'.
11157
11158 * progmodes/js.el (js--debug): Mark unused parameter.
11159 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11160 (js--splice-into-items): Remove unused variable `item'.
11161 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11162
11163 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11164 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11165 (makefile-complete): Remove unused variable `try'.
11166 (makefile-fill-paragraph, makefile-match-function-end):
11167 Mark unused parameters.
11168
11169 * progmodes/octave-inf.el (inferior-octave-complete):
11170 Remove unused variable `proc'.
11171 (inferior-octave-output-digest): Mark unused parameter.
11172
11173 * progmodes/perl-mode.el (perl-calculate-indent):
11174 Remove unused variable `err'.
11175
11176 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11177 (prolog-indent-line): Mark unused parameters.
11178 (prolog-indent-line): Remove unused variable `beg'.
11179
11180 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11181 (reporter-dont-compact-list): Declare.
11182
11183 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11184 Remove unused variable `char'.
11185 (sh-debug): Mark unused parameter.
11186 (sh-get-indent-info): Remove unused variable `start'.
11187 (sh-calculate-indent): Remove unused variable `var'.
11188
11189 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11190 (simula-electric-keyword): Remove unused variable `null'.
11191 (simula-search-backward, simula-search-forward): Remove unused
11192 variables `begin' and `end'.
11193
11194 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11195 Remove unused variable `pos'.
11196 (vera-electric-tab, vera-comment-uncomment-region):
11197 Mark unused parameters.
11198 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11199
7ede3b65
CY
112002011-04-22 Chong Yidong <cyd@stupidchicken.com>
11201
11202 * emacs-lisp/package.el (package--builtins, package-alist)
11203 (package-load-descriptor, package-built-in-p, package-activate)
11204 (define-package, package-installed-p)
11205 (package-compute-transaction, package-buffer-info)
11206 (package--push): Doc fix. Distinguish more clearly between
11207 version strings and version lists.
11208
121656e9
JB
112092011-04-21 Juanma Barranquero <lekktu@gmail.com>
11210
11211 Lexical-binding cleanup.
11212
11213 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11214 (5x5-make-mutate-best):
11215 * play/fortune.el (fortune-in-buffer):
11216 * play/gomoku.el (gomoku-init-display):
11217 * play/solitaire.el (solitaire, solitaire-do-check):
11218 * play/tetris.el (tetris-default-update-speed-function):
11219 Mark unused parameters.
11220
11221 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11222 (bubbles--shift): Remove unused variable `char-org'.
11223 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11224 (bubbles--show-images): Remove unused variable `char'.
11225
11226 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11227 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11228 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11229 (decipher-analyze-buffer): Use ?\s.
11230 (decipher-make-checkpoint): Remove unused variable `mapping'.
11231
11232 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11233
11234 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11235 Remove unused variable `result'; use `let'.
11236
11237 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11238 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11239 (gametree-children-shown-p, gametree-compute-reduced-score):
11240 Use `ignore-errors'.
11241
11242 * play/handwrite.el (ps-lpr-switches): Declare.
11243 (handwrite): Remove unused variables `pmin' and `lastp'.
11244
11245 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11246
11247 * play/landmark.el (landmark-init-display)
11248 (landmark-update-naught-weights): Mark unused parameters.
11249 (landmark-y): Remove unused variable `noise'. Simplify.
11250 (landmark-human-plays): Remove unused variable `score'.
11251
11252 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11253 (mpuz-try-proposal): Remove unused variable `game'.
11254
11255 * play/zone.el (life-patterns): Declare.
11256
80f499c7
JB
112572011-04-20 Juanma Barranquero <lekktu@gmail.com>
11258
11259 * vc/vc.el (ediff-vc-internal): Declare function.
11260
024ff170
SM
112612011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11262
c0a193ea
SM
11263 * shell.el: Use lexical-binding and std completion UI.
11264 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11265 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11266 comint-preoutput-filter-functions rather than on
11267 comint-output-filter-functions.
11268 (shell-command-completion, shell--command-completion-data)
11269 (shell-filename-completion, shell-environment-variable-completion)
11270 (shell-c-a-p-replace-by-expanded-directory): New functions.
11271 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11272 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11273 (shell-dynamic-complete-environment-variable): Use them.
11274 (shell-dynamic-complete-as-environment-variable)
11275 (shell-dynamic-complete-as-command): Remove.
11276 (shell-match-partial-variable): Match past point.
11277 * comint.el: Clean up use of completion-at-point-functions.
11278 (comint-completion-at-point): New function.
11279 (comint-mode): Use it completion-at-point-functions.
11280 (comint-dynamic-complete): Make it obsolete.
11281 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11282 (comint-c-a-p-replace-by-expanded-history): New function.
11283 (comint-dynamic-complete-functions)
11284 (comint-replace-by-expanded-history): Use it.
11285 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11286 termination strings. Try harder to avoid second try-completion.
11287 (completion-in-region-mode-map): Disable bindings that don't work yet.
11288
2dbaa080
SM
11289 * comint.el: Use lexical-binding. Require CL.
11290 (comint-dynamic-complete-functions): Use comint-filename-completion.
11291 (comint-completion-addsuffix): Tweak custom type.
11292 (comint-filename-completion, comint--common-suffix)
11293 (comint--common-quoted-suffix, comint--table-subvert)
11294 (comint--complete-file-name-data): New functions.
11295 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11296 (comint-dynamic-list-filename-completions): Use them.
11297 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11298
2dbaa080
SM
11299 * minibuffer.el (completion-in-region-mode):
11300 Keep completion-in-region-mode--predicate global.
11301 (completion-in-region--postch):
11302 Assume completion-in-region-mode--predicate is not null.
11303
c79a6f38
SM
11304 * progmodes/flymake.el (flymake-start-syntax-check-process):
11305 Obey `dir'. Simplify.
11306
024ff170
SM
11307 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11308 we're in VC after all.
11309
1c6c854e
CS
113102011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11311
11312 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11313 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11314 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11315
bed7f140
SM
113162011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11317
332e62ab
SM
11318 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11319 add sanity check.
11320
bed7f140
SM
11321 * obsolete/erc-hecomplete.el: Make obsolete.
11322 * obsolete/: Standardize obsolescence info in the header.
11323
f195c582
GM
113242011-04-20 Glenn Morris <rgm@gnu.org>
11325
11326 * calendar/solar.el (solar-horizontal-coordinates):
11327 Use the longitude argument rather than `calendar-longitude'.
11328 (solar-date-next-longitude): Remove unused locals.
11329
cb79b8c0
VJL
113302011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11331
11332 * whitespace.el: New version 13.2.1.
11333
113342011-04-20 felix <EmacsWiki> (tiny change)
11335
d8e4b68b 11336 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11337 switching between major modes on a file.
11338
602ea69d
SM
113392011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11342 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11343 multi-line comments as well.
11344
06b60517
JB
113452011-04-19 Juanma Barranquero <lekktu@gmail.com>
11346
11347 Lexical-binding cleanup.
11348
11349 * arc-mode.el (archive-mode-revert):
11350 * cmuscheme.el (scheme-interactively-start-process):
11351 * custom.el (custom-initialize-delay):
11352 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11353 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11354 * emacs-lock.el (emacs-lock-clear-sentinel):
11355 * ezimage.el (defezimage):
11356 * follow.el (follow-avoid-tail-recenter):
11357 * fringe.el (set-fringe-mode-1):
11358 * generic-x.el (bat-generic-mode-compile):
11359 * help-mode.el (help-info-variable, help-do-xref)
11360 (help-mode-revert-buffer):
11361 * help.el (view-emacs-todo):
11362 * iswitchb.el (iswitchb-completion-help):
11363 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11364 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11365 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11366 * locate.el (locate-update):
11367 * longlines.el (longlines-encode-region)
11368 (longlines-after-change-function):
11369 * outline.el (outline-isearch-open-invisible):
11370 * ps-def.el (declare-function, charset-dimension, char-width)
11371 (encode-char):
11372 * ps-mule.el (ps-mule-plot-string):
11373 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11374 (recentf-edit-list-select, recentf-edit-list-validate)
11375 (recentf-open-files-action):
11376 * rect.el (delete-whitespace-rectangle-line)
11377 (rectangle-number-line-callback):
11378 * register.el (window-configuration-to-register)
11379 (frame-configuration-to-register):
11380 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11381 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11382 (xselect-convert-to-targets, xselect-convert-to-delete)
11383 (xselect-convert-to-filename, xselect-convert-to-charpos)
11384 (xselect-convert-to-lineno, xselect-convert-to-colno)
11385 (xselect-convert-to-os, xselect-convert-to-host)
11386 (xselect-convert-to-user, xselect-convert-to-class)
11387 (xselect-convert-to-name, xselect-convert-to-integer)
11388 (xselect-convert-to-atom, xselect-convert-to-identity):
11389 * subr.el (declare, ignore, process-kill-without-query)
11390 (text-clone-maintain):
11391 * terminal.el (te-get-char, te-tic-sentinel):
11392 * tool-bar.el (tool-bar-make-keymap):
11393 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11394 * type-break.el (type-break-mode, type-break-noninteractive-query):
11395 * view.el (View-back-to-mark):
11396 * wid-browse.el (widget-browse-action, widget-browse-widget)
11397 (widget-browse-widgets, widget-browse-sexp):
11398 * widget.el (define-widget-keywords):
11399 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11400 Mark unused parameters.
11401
11402 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11403 (align-areas): Remove unused variable `look'.
11404 (align-region): Remove unused variables `real-end' and `pos-list'.
11405
11406 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11407
11408 * bindings.el (mode-line-modified, mode-line-remote):
11409 Mark unused parameters.
11410 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11411
11412 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11413 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11414
11415 * comint.el (comint-history-isearch-pop-state)
11416 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11417 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11418 (comint-substitute-in-file-name): Doc fix.
11419
11420 * completion.el (cmpl-statistics-block): Mark unused parameter.
11421 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11422 (save-completions-to-file, load-completions-from-file):
11423 Remove unused local variable `e'.
11424
11425 * composite.el (compose-chars): Remove unused variable `len'.
11426 (lgstring-insert-glyph): Remove unused variable `g'.
11427 (compose-glyph-string): Remove unused variables `ascent',
11428 `descent', `lbearing' and `rbearing'.
11429 (compose-glyph-string-relative): Remove unused variables
11430 `lbearing', `rbearing' and `wadjust'.
11431 (compose-gstring-for-graphic): Remove unused variables `header',
11432 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11433 (compose-gstring-for-terminal): Remove unused variables `header'
11434 and `nchars'. Use `let', not `let*'.
11435
11436 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11437 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11438 (Custom-buffer-done, custom-buffer-create-internal)
11439 (custom-browse-visibility-action, custom-browse-group-tag-action)
11440 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11441 (widget-magic-mouse-down-action, custom-toggle-parent)
11442 (custom-add-parent-links, custom-toggle-hide-variable)
11443 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11444 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11445 (custom-face-menu-create, custom-variable-menu-create, get)
11446 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11447 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11448 (customize-apropos): Remove unused variable `tests'.
11449 (custom-group-value-create): Remove unused variable `hidden-p'.
11450 (sort-fold-case): Declare.
11451
11452 * cus-theme.el (custom-reset-standard-faces-list)
11453 (custom-reset-standard-variables-list): Declare.
11454 (customize-create-theme, custom-theme-revert, custom-theme-write)
11455 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11456 Mark unused parameters.
11457
11458 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11459
11460 * delim-col.el (delimit-columns-max): Move defvar before first use.
11461
11462 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11463 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11464
11465 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11466 (auto-insert): Declare.
11467 (desktop-restore-file-buffer): Rename desktop-* parameters;
11468 mark unused ones.
11469 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11470 (desktop-buffer): Rename desktop-* parameters.
11471
11472 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11473 (dframe-reposition-frame-xemacs, dframe-help-echo)
11474 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11475 Mark unused parameters.
11476
11477 * dired-aux.el (backup-extract-version-start, overwrite-query)
11478 (overwrite-backup-query, rename-regexp-query)
11479 (rename-non-directory-query): Declare.
11480 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11481 (dired-add-entry): Remove unused variable `orig-file-name'.
11482 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11483 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11484 `dired-copy-preserve-time' directly.
11485 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11486 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11487
11488 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11489 (dired-virtual-revert, dired-make-relative-symlink):
11490 Mark unused parameters.
11491 (manual-program): Declare.
11492 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11493 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11494 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11495
11496 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11497
11498 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11499
11500 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11501 Declare.
11502
11503 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11504
11505 * electric.el (Electric-command-loop): Rename parameter
11506 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11507
11508 * expand.el (expand-in-literal): Remove unused variable `here'.
11509
11510 * facemenu.el (facemenu-add-new-color):
11511 Remove unused variable `docstring'.
11512
11513 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11514 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11515 (face-attr-construct): Mark unused parameter. Doc fix.
11516 (read-color): Remove unused variable `hex-string'.
11517
11518 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11519 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11520 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11521 (display-buffer-other-frame): Remove unused variable `old-window'.
11522 (kill-buffer-hook): Declare.
11523 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11524 Mark unused parameters.
11525 (after-find-file): Pass 1 to `auto-save-mode', not t.
11526
11527 * files-x.el (auto-insert): Declare.
11528 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11529
11530 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11531 variable `buf'. Mark unused parameter.
06b60517
JB
11532 (find-lisp-insert-directory): Mark unused parameter.
11533
11534 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11535 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11536 (format-common-tail): Remove, unused.
11537 (format-deannotate-region): Remove unused variable `loc'.
11538 (format-annotate-region): Remove unused variable `p'.
11539 (format-annotate-single-property-change): Remove unused variables
11540 `default' and `tail'.
11541
11542 * forms.el (read-file-filter): Declare.
11543 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11544
11545 * frame.el (frame-creation-function-alist): Mark unused parameter.
11546 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11547
11548 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11549 Remove unused parameters.
11550 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11551 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11552
11553 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11554 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11555 (hfy-prepare-tag-map): Mark unused parameters.
11556 (htmlfontify-buffer): Use `called-interactively-p'.
11557
11558 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11559 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11560 (ibuffer-do-occur): Mark unused parameters.
11561 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11562 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11563
11564 * ibuffer.el: Don't quote `lambda'.
11565 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11566 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11567 Mark unused parameters.
11568
11569 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11570 (ido-completing-read): Mark unused parameters.
11571 (ido-copy-current-word): Mark unused parameters;
11572 remove unused variable `name'.
11573 (ido-sort-merged-list): Remove unused parameter `dirs'.
11574
11575 * ielm.el (ielm-input-sender): Mark unused parameter.
11576 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11577 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11578 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11579 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11580 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11581
11582 * image-dired.el (image-dired-display-thumbs): Remove unused
11583 variables `curr-file' and `count'.
11584 (image-dired-remove-tag): Remove unused variable `start'.
11585 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11586 variable `curr-file'
11587 (image-dired-rotate-original): Remove unused variable `temp-file'.
11588 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11589 Remove unused variable `file'.
11590 (image-dired-gallery-generate): Remove unused variable `curr'.
11591 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11592
11593 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11594
11595 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11596
11597 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11598
11599 * isearch.el (minibuffer-history-symbol): Declare.
11600 (isearch-edit-string): Remove unused variable `err'.
11601 (isearch-message-prefix, isearch-message-suffix):
11602 Mark unused parameters.
11603
11604 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11605
11606 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11607
11608 * makesum.el (double-column): Remove unused variable `cnt'.
11609
11610 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11611 (ido-ignore-item-temp-list): Declare.
11612
11613 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11614 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11615 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11616 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11617 `mouse-col-delta'.
11618
11619 * mouse-sel.el (mouse-extend-internal):
11620 Remove unused variable `orig-window-frame'.
11621
11622 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11623 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11624 Move declarations before first use.
11625 (pcomplete-opt): Mark unused parameters; doc fix.
11626
11627 * proced.el (proced-revert): Mark unused parameter.
11628 (proced-send-signal): Remove unused variable `err'.
11629
11630 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11631 Rename parameter PREFIX-ARG to ARG.
11632 (ps-basic-plot-string, ps-basic-plot-whitespace):
11633 Mark unused parameters.
11634
11635 * replace.el (replace-count): Define.
11636 (occur-revert-function): Mark unused parameters.
11637 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11638 (isearch-case-fold-search, isearch-string): Declare.
11639 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11640 bind `case-fold-search'. Remove unused variables `beg' and `end',
11641 and simplify.
11642 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11643 COUNT and bind `replace-count'.
11644 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11645 to COUNT.
11646
11647 * savehist.el (print-readably, print-string-length): Declare.
11648
11649 * shadowfile.el (shadow-expand-cluster-in-file-name):
11650 Remove unused variable `cluster'.
11651 (shadow-copy-file): Remove unused variable `i'.
11652 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11653 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11654 (shadow-define-literal-group, shadow-define-regexp-group)
11655 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11656
11657 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11658 (shell): Use `called-interactively-p'.
11659 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11660
11661 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11662 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11663 (delete-backward-char): Remove unused variable `ocol'.
11664 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11665 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11666 (event-apply-hyper-modifier, event-apply-shift-modifier)
11667 (event-apply-control-modifier, event-apply-meta-modifier):
11668 Mark unused parameters.
11669 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11670 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11671
11672 * speedbar.el (speedbar-ignored-directory-expressions)
11673 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11674 (speedbar-find-file, speedbar-dir-follow)
11675 (speedbar-directory-buttons-follow, speedbar-tag-find)
11676 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11677 (speedbar-buffers-line-directory, speedbar-buffer-click):
11678 Mark unused parameters.
11679 (speedbar-tag-file): Remove unused variable `mode'.
11680 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11681
11682 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11683
11684 * talk.el (talk): Remove unused variable `display'.
11685
11686 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11687 (tar-write-region-annotate): Mark unused parameter.
11688
11689 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11690 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11691 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11692 warning by another.
11693
11694 * time-stamp.el (time-stamp-string-preprocess):
11695 Remove unused variable `require-padding'.
11696
11697 * tree-widget.el (widget-glyph-enable): Declare.
11698 (tree-widget-action): Mark unused parameter.
11699
11700 * w32-fns.el (x-get-selection): Mark unused parameter.
11701 (autoload-make-program, generated-autoload-file): Declare.
11702
11703 * wdired.el (wdired-revert): Mark unused parameters.
11704 (wdired-xcase-word): Remove unused variable `err'.
11705
11706 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11707 (whitespace-help-scroll): Remove unused variable `data-help'.
11708
11709 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11710 (widget-image-insert, widget-after-change, default)
11711 (widget-default-format-handler, widget-default-notify)
11712 (widget-default-prompt-value, widget-info-link-action)
11713 (widget-url-link-action, widget-function-link-action)
11714 (widget-variable-link-action, widget-file-link-action)
11715 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11716 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11717 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11718 (widget-insert-button-action, widget-delete-button-action, visibility)
11719 (widget-documentation-link-action, widget-documentation-string-action)
11720 (widget-const-prompt-value, widget-regexp-match, symbol)
11721 (widget-coding-system-prompt-value)
11722 (widget-key-sequence-value-to-external, sexp)
11723 (widget-sexp-value-to-internal, character, vector, cons)
11724 (widget-choice-prompt-value, widget-boolean-prompt-value)
11725 (widget-color--choose-action): Mark unused parameters.
11726 (widget-item-match-inline, widget-choice-match-inline)
11727 (widget-checklist-match, widget-checklist-match-inline)
11728 (widget-group-match): Rename parameter VALUES to VALS.
11729 (widget-field-value-set): Remove unused variable `size'.
11730 (widget-color-action): Remove unused variables `value' and `start'.
11731
11732 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11733 variable `dir'. Doc fix.
06b60517
JB
11734 (windmove-find-other-window): Don't pass it.
11735
11736 * window.el (count-windows): Mark unused parameter.
11737 (bw-adjust-window): Remove unused variable `err'.
11738
11739 * woman.el (woman-file-name): Remove unused variable `default'.
11740 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11741 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11742 (global-font-lock-mode): Declare.
11743 (woman-decode-region): Mark unused parameter.
11744 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11745
11746 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11747 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11748 (x-dnd-handle-moz-url): Remove unused variable `title'.
11749 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11750
11751 * xml.el (xml-parse-tag, xml-parse-attlist):
11752 Remove unused variable `pos'.
11753
bc4f7f3d
GM
117542011-04-19 Glenn Morris <rgm@gnu.org>
11755
11756 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11757 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11758 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11759 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11760 * calendar/cal-html.el (cal-html-insert-minical):
11761 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11762 (calendar-mark-date-pattern):
11763 Prefix "unused" locals.
11764
11765 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11766 optional argument `style'.
11767
11768 * calendar/appt.el (appt-make-list):
11769 * calendar/cal-china.el (calendar-chinese-date-string):
11770 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11771 (diary-hebrew-yahrzeit):
11772 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11773 * calendar/calendar.el (calendar-generate-window):
11774 * calendar/time-date.el (time-to-days):
11775 Remove unused local variables.
11776
16a43933
CY
117772011-04-18 Chong Yidong <cyd@stupidchicken.com>
11778
11779 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11780 glyphless-char-display table.
11781 (tabulated-list-glyphless-char-display): New var.
11782
7eed1860
SS
117832011-04-18 Sam Steingold <sds@gnu.org>
11784
11785 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11786 to acknowledgments.
11787
4d2d1ccd
GM
117882011-04-17 Glenn Morris <rgm@gnu.org>
11789
11790 * calendar/diary-lib.el (diary-sexp-entry):
11791 * calendar/holidays.el (holiday-sexp):
11792 Set debug-on-error rather than the removed stack-trace-on-error.
11793
239da61d
GM
117942011-04-16 Glenn Morris <rgm@gnu.org>
11795
11796 * progmodes/f90.el: Use lexical-binding.
11797 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11798
8b05752a
SM
117992011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11800
daca8ba5
SM
11801 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11802 (mail-mode): Setup mailalias completion here instead.
11803 * mail/mailalias.el: Use lexical-binding.
11804 (pattern, mailalias-done): Declare dynamic.
11805 (mail-completion-at-point-function): New function, from mail-complete.
11806 (mail-complete): Use it.
11807 (mail-completion-expand): New function.
11808 (mail-get-names): Use it.
11809 (mail-directory, mail-directory-process, mail-directory-stream):
11810 Don't use `pattern' for lexically bound arg.
11811
6f542485
SM
11812 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11813
037e7c3f
SM
11814 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11815 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11816 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11817
8b05752a
SM
11818 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11819 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11820 (byte-interactive-p): Define them again, for use when inlining
11821 old code.
11822
49093f60
JB
118232011-04-15 Juanma Barranquero <lekktu@gmail.com>
11824
11825 * loadup.el: Use `string-to-number', not `string-to-int'.
11826
b5b8e7de
SM
118272011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11828
11829 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11830 gud-gdb-complete-command.
11831 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11832 (gud-gdb-completion-at-point): New function.
11833 (gud-gdb-completions): Remove.
11834
f42efeb5
MA
118352011-04-14 Michael Albinus <michael.albinus@gmx.de>
11836
49093f60
JB
11837 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11838 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11839 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11840 whether `executable-find' is bound.
f42efeb5
MA
11841
11842 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11843
e240cc21
SM
118442011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * minibuffer.el (completion-in-region-mode-predicate)
11847 (completion-in-region-mode--predicate): New vars.
11848 (completion-in-region, completion-in-region--postch)
11849 (completion-in-region-mode): Use them.
11850 (completion--capf-wrapper): Also return the hook function.
11851 (completion-at-point, completion-help-at-point):
11852 Adjust and provide a predicate.
c2bd2ab0
SM
11853
11854 Preserve arg names for advice of subr and lexical functions (bug#8457).
11855 * help-fns.el (help-function-arglist): Consolidate the subr and
11856 new-byte-code cases. Add argument `preserve-names' to extract names
11857 from the docstring when needed.
11858 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11859 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11860 (ad-arglist): Use help-function-arglist's new arg.
11861 (ad-definition-type): Use cond.
11862
c183f693
JB
118632011-04-13 Juanma Barranquero <lekktu@gmail.com>
11864
06641a47
JB
11865 * autorevert.el (auto-revert-handler):
11866 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11867 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11868 Don't quote lambda.
11869
c183f693
JB
11870 * image-mode.el (image-transform-set-scale):
11871 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11872
1e3b6001
G
118732011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11874
11875 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11876 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11877 Upgrades via gnutls-cli are too slow to be done opportunistically.
11878
2d6af8dd
JB
118792011-04-12 Juanma Barranquero <lekktu@gmail.com>
11880
11881 * dframe.el (dframe-current-frame): Remove spurious quote.
11882
c0749a51
GM
118832011-04-12 Glenn Morris <rgm@gnu.org>
11884
088d0d61
GM
11885 * calendar/cal-tex.el (cal-tex-end-document):
11886 Try to automatically use latin1 input if needed.
11887
c0749a51
GM
11888 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11889 Don't try to cons a mark onto an empty element.
11890
5c90fde0
LL
118912011-04-11 Leo Liu <sdl.web@gmail.com>
11892
11893 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11894 buffers.
11895 (ido-kill-buffer-at-head): Support killing virtual buffers.
11896
369e974d
CY
118972011-04-10 Chong Yidong <cyd@stupidchicken.com>
11898
11899 * minibuffer.el (completion-show-inline-help): New var.
11900 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11901 (minibuffer-force-complete, minibuffer-complete-word):
11902 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11903
11904 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11905 to avoid interference from inline help (Bug#5849).
11906
37f1c930
LL
119072011-04-10 Leo Liu <sdl.web@gmail.com>
11908
099c39a4
JB
11909 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11910 Fix typo.
37f1c930 11911
a32d4040
CY
119122011-04-09 Chong Yidong <cyd@stupidchicken.com>
11913
11914 * image-mode.el (image-toggle-display-image): Signal an error if
11915 not in Image mode.
11916 (image-transform-mode, image-transform-resize)
11917 (image-transform-set-rotation): Doc fix.
daca8ba5 11918 (image-transform-set-resize): Delete.
a32d4040
CY
11919 (image-transform-set-scale, image-transform-fit-to-height)
11920 (image-transform-fit-to-width): Handle image-toggle-display-image
11921 and image-transform-resize directly.
11922
099c39a4 119232011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11924
11925 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11926 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11927 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11928 (doc-view-mode-map): Add bindings for the new functions.
11929
099c39a4 119302011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11931
4d61f28d 11932 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11933 Fix typo in docstring.
11934
3726838a
EZ
119352011-04-08 Eli Zaretskii <eliz@gnu.org>
11936
04f33f1e
EZ
11937 * files.el (file-size-human-readable): Produce one digit after
11938 decimal, like "ls -lh" does.
11939
11940 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11941 the file size representation.
11942
3726838a
EZ
11943 * simple.el (list-processes): If async subprocesses are not
11944 available, error out with a clear error message.
11945
cbb59342
CY
119462011-04-08 Chong Yidong <cyd@stupidchicken.com>
11947
11948 * help.el (help-form-show): New function, to be called from C.
11949 Put help-form output in a buffer named differently than *Help*.
11950
e3971c44
EZ
119512011-04-08 Eli Zaretskii <eliz@gnu.org>
11952
11953 * files.el (file-size-human-readable): New function.
11954
11955 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11956 computing the representation inline. Don't require `cl'.
11957
12544bbe
GM
119582011-04-08 Glenn Morris <rgm@gnu.org>
11959
a1de6c6a
GM
11960 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11961
3c4671f4
GM
11962 * net/browse-url.el (browse-url-firefox):
11963 Test system-type, not system-configuration.
11964
b605679c
GM
11965 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11966 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11967 Use log-edit-empty-buffer-p. (Bug#7598)
11968
56442f0c
GM
11969 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11970 (rlogin-mode-map): Initialize in the defvar.
11971 (rlogin): Use ignore-errors.
11972
12544bbe
GM
11973 * replace.el (occur-mode-map): Some fixes for menu items.
11974
eb237b0f
AH
119752011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11976
11977 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11978
7d668f2c
CY
119792011-04-06 Chong Yidong <cyd@stupidchicken.com>
11980
e67a13ab
CY
11981 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11982 issuing unused warnings.
11983
11984 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11985 macro directly.
11986
7d668f2c
CY
11987 * simple.el: Lisp reimplement of list-processes. Based on an
11988 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11989 (process-menu-mode): New major mode.
11990 (list-processes--refresh, list-processes):
11991 (process-menu-visit-buffer): New functions.
11992
11993 * files.el (save-buffers-kill-emacs): Don't assume any return
11994 value of list-processes, which is undocumented anyway.
11995
a83ec3c9
CY
119962011-04-06 Chong Yidong <cyd@stupidchicken.com>
11997
11998 * emacs-lisp/tabulated-list.el: New file.
11999
e91a96fe
CY
12000 * emacs-lisp/package.el: Use Tabulated List mode.
12001 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
12002 (package-menu-mode): Derive from tabulated-list-mode. Set up the
12003 table format using Tabulated List mode variables.
12004 (package--push): New macro, replacing package-list-maybe-add.
12005 (package-menu--generate): Use package--push. Renamed from
12006 package--generate-package-list.
12007 (package-menu-refresh, list-packages): Use it.
daca8ba5 12008 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12009 Return insertion data instead of inserting it directly.
099c39a4
JB
12010 (package-menu-describe-package, package-menu-execute):
12011 Use tabulated-list-get-id.
e91a96fe
CY
12012 (package-menu-mark-delete, package-menu-mark-install)
12013 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12014 (package-menu-mark-obsolete-for-deletion):
12015 Use tabulated-list-put-tag.
e91a96fe
CY
12016 (package--list-packages, package-menu-revert)
12017 (package-menu-get-package, package-menu-get-version)
12018 (package-menu-sort-by-column): Functions deleted.
12019 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12020 (package-menu--status-predicate, package-menu--version-predicate)
12021 (package-menu--name-predicate)
12022 (package-menu--description-predicate): Handle arguments in the
12023 Tabulated List format.
12024 (package-list-packages-no-fetch): Call list-packages.
12025
3e214b50
JB
120262011-04-06 Juanma Barranquero <lekktu@gmail.com>
12027
12028 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12029 (after-find-file): Don't bind it.
3e214b50
JB
12030 (revert-buffer-in-progress-p): New variable.
12031 (revert-buffer): Bind it.
12032 Pass nil for `after-find-file-from-revert-buffer'.
12033
12034 * saveplace.el (save-place-find-file-hook): Use new variable
12035 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12036
3f0f1700
GM
120372011-04-06 Glenn Morris <rgm@gnu.org>
12038
c0274801
GM
12039 * Makefile.in (AUTOGEN_VCS): New variable.
12040 (autoloads): Use $AUTOGEN_VCS.
12041
3f0f1700
GM
12042 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12043 * calendar/calendar.el (calendar-mode-map):
12044 Check for toolkit scroll bars. (Bug#8305)
12045
41ea9e48
CY
120462011-04-05 Chong Yidong <cyd@stupidchicken.com>
12047
12048 * minibuffer.el (completion-in-region--postch)
12049 (completion-in-region-mode): Remove unnecessary messages.
12050
6194c800
JB
120512011-04-05 Juanma Barranquero <lekktu@gmail.com>
12052
33256f14
JB
12053 * font-lock.el (font-lock-refresh-defaults):
12054 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12055 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12056
6194c800
JB
12057 * info.el (Info-directory-list, Info-read-node-name-2)
12058 (Info-split-parameter-string): Doc fixes.
12059 (Info-virtual-nodes): Reflow docstring.
12060 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12061 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12062 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12063 Fix typos in docstrings.
12064 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12065 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12066 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12067 (Info-restore-desktop-buffer): Mark unused parameters.
12068 (Info-directory-find-file, Info-directory-find-node)
12069 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12070 (Info-virtual-index-find-node, Info-apropos-find-file)
12071 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12072 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12073 (Info-virtual-index): Remove unused local variable `nodename'.
12074
b87a8200 120752011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12076
b87a8200
DD
12077 * net/rcirc.el: Update my e-mail address.
12078 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12079
3b2ff876
CY
120802011-04-05 Chong Yidong <cyd@stupidchicken.com>
12081
12082 * startup.el (command-line): Save the cursor's theme-face
12083 directly, instead of using face-override-spec.
12084
12085 * custom.el (load-theme): Minor optimization in assigning faces.
12086
8d17e7ca
JB
120872011-04-04 Juanma Barranquero <lekktu@gmail.com>
12088
12089 * help-fns.el (describe-variable): Complete all variables having
12090 documentation, including keywords.
12091 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12092
2fbc1934
JB
120932011-04-04 Juanma Barranquero <lekktu@gmail.com>
12094
12095 Convert to lexical-binding.
12096
12097 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12098 (bs--get-marked-string, bs--get-modified-string)
12099 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12100 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12101 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12102
12103 * ehelp.el (electric-help-execute-extended)
12104 (electric-help-ctrl-x-prefix):
12105 * hexl.el (hexl-revert-buffer-function):
12106 * linum.el (linum-after-change, linum-after-scroll):
12107 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12108
12109 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12110
74f50695
DU
121112011-04-04 Daiki Ueno <ueno@unixuser.org>
12112
12113 * epa-dired.el:
12114 * epa-mail.el:
12115 * epa-hook.el:
12116 * epa-file.el:
12117 * epa.el:
12118 * epg.el: Use lexical binding.
12119
c11325f7
CY
121202011-04-03 Chong Yidong <cyd@stupidchicken.com>
12121
0d9e9a12
CY
12122 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12123
c11325f7 12124 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12125 dictionary case for flyspell-mark-duplications-exceptions.
12126 Use regexp matching for languages.
c11325f7
CY
12127 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12128 default dictionary (Bug#7926).
12129
da91b5f2
CY
121302011-04-02 Chong Yidong <cyd@stupidchicken.com>
12131
099c39a4
JB
12132 * emacs-lisp/package.el (package--with-work-buffer):
12133 Recognize https URLs.
da91b5f2 12134
099c39a4
JB
12135 * net/network-stream.el: Move from gnus/proto-stream.el.
12136 Change prefix to network-stream throughout.
da91b5f2
CY
12137 (open-protocol-stream): Merge into open-network-stream, leaving
12138 open-protocol-stream as an alias. Handle nil BUFFER args.
12139
12140 * subr.el (open-network-stream): Move to net/network-stream.el.
12141
afa8e9f6
GM
121422011-04-02 Glenn Morris <rgm@gnu.org>
12143
1d2e369d
GM
12144 * find-dired.el (find-exec-terminator): New option.
12145 (find-ls-option): Test for -ls support.
12146 (find-ls-subdir-switches): Test for -b in find-ls-option.
12147 (find-dired, find-grep-dired): Doc fixes.
12148 (find-dired): Use find-exec-terminator.
12149
8abb7da8 12150 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12151 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12152 (find-name-arg): Remove purecopy.
8abb7da8 12153
f3ca7378
GM
12154 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12155 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12156 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12157 accordingly. Don't add the null-device if not needed.
12158
afa8e9f6
GM
12159 * files.el (save-some-buffers): Doc fix.
12160
35eae264
EZ
121612011-04-02 Eli Zaretskii <eliz@gnu.org>
12162
12163 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12164
26b51db5
JB
121652011-04-01 Juanma Barranquero <lekktu@gmail.com>
12166
12167 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12168 Use `dolist' rather than `mapcar'.
12169
7200d79c
SM
121702011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12171
03408648 12172 Add lexical binding.
7200d79c 12173
03408648
SM
12174 * subr.el (apply-partially): Use new closures rather than CL.
12175 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12176 (dolist, dotimes): Use slightly different expansion for lexical code.
12177 (functionp): Move to C.
12178 (letrec): New macro.
12179 (with-wrapper-hook): Use it and apply-partially instead of CL.
12180 (eval-after-load): Preserve lexical-binding.
12181 (save-window-excursion, with-output-to-temp-buffer): Turn them
12182 into macros.
7200d79c 12183
03408648
SM
12184 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12185
12186 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12187 than the arglist.
12188 (help-add-fundoc-usage): Don't add `Not documented'.
12189 (help-function-arglist): Handle closures, subroutines, and new
12190 byte-code-functions.
12191 (help-make-usage): Remove leading underscores.
12192 (describe-function-1): Handle closures.
12193 (describe-variable): Use special-variable-p for completion.
12194
12195 * files.el (lexical-binding): Declare safe.
f488fb65 12196
03408648
SM
12197 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12198 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12199 (pcase): Add `let' pattern.
12200 Change memoization so it actually works.
12201 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12202 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12203 <let>: New case.
f488fb65 12204
03408648
SM
12205 * emacs-lisp/macroexp.el: Use lexical binding.
12206 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12207 Don't convert ' to #' without checking that it's indeed quoting
12208 a lambda.
12209
12210 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12211 Use eval-sexp-add-defvars.
03408648
SM
12212 (eval-sexp-add-defvars): New fun.
12213
12214 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12215
12216 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12217 Don't autoload.
12218 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12219 than the internal `byte-compile-lambda'.
12220 (defmethod): Don't hide code under quotes.
12221 (eieio-defmethod): New `code' argument.
12222
12223 * emacs-lisp/eieio-comp.el: Remove.
12224
12225 * emacs-lisp/edebug.el (edebug-eval-defun)
12226 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12227 (edebug-toggle): Avoid `eval'.
12228
12229 * emacs-lisp/disass.el (disassemble-internal): Handle new
12230 `closure' objects.
12231 (disassemble-1): Handle new byte codes.
12232
12233 * emacs-lisp/cl.el (pushnew): Silence warning.
12234
12235 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12236 (cl-byte-compile-throw): Remove.
12237 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12238
12239 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12240 closures.
12241
12242 * emacs-lisp/cconv.el: New file.
12243
12244 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12245 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12246 (byte-compile-initial-macro-environment):
12247 Handle declare-function here.
12248 (byte-compile--lexical-environment): New var.
12249 (byte-stack-ref, byte-stack-set, byte-discardN)
12250 (byte-discardN-preserve-tos): New lap codes.
12251 (byte-interactive-p): Don't use any more.
12252 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12253 New macros.
12254 (byte-compile-lapcode): Use them and handle new lap codes.
12255 (byte-compile-obsolete): Remove.
12256 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12257 (byte-compile-arglist-warn): Check late def of inlinable funs.
12258 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12259 since they should have been expanded by now.
12260 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12261 (byte-compile-from-buffer): Remove unused second arg.
12262 (byte-compile-preprocess): New function.
12263 (byte-compile-toplevel-file-form): New function to distinguish
12264 file-form calls from outside from file-form calls from hunk-handlers.
12265 (byte-compile-file-form): Simplify.
12266 (byte-compile-file-form-defsubst): Remove.
12267 (byte-compile-file-form-defmumble): Simplify now that
12268 byte-compile-lambda always returns a byte-code-function.
12269 (byte-compile): Preprocess.
12270 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12271 Remove, not used any more.
12272 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12273 (byte-compile-make-args-desc): New funs.
12274 (byte-compile-lambda): Handle lexical functions. Always return
12275 a byte-code-function.
12276 (byte-compile-reserved-constants): New var, to make up room for
12277 closed-over variables.
12278 (byte-compile-constants-vector): Obey it.
12279 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12280 (byte-compile-macroexpand-declare-function): New function.
12281 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12282 byte-code-functions.
12283 (byte-compile-form): Check obsolescence here.
12284 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12285 (byte-compile-variable-ref): Remove.
12286 (byte-compile-dynamic-variable-op): New fun.
12287 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12288 (byte-compile-variable-set): New funs.
12289 (byte-compile-discard): Add 2 args.
12290 (byte-compile-stack-ref, byte-compile-stack-set)
12291 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12292 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12293 macroexpand-all instead.
12294 (byte-compile-quote-form): Remove.
12295 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12296 (byte-compile-bind, byte-compile-unbind): New funs.
12297 (byte-compile-let): Handle let* and lexical binding.
12298 (byte-compile-let*): Remove.
12299 (byte-compile-catch, byte-compile-unwind-protect)
12300 (byte-compile-track-mouse, byte-compile-condition-case):
12301 Handle a new :fun-body form, used for lexical scoping.
12302 (byte-compile-save-window-excursion)
12303 (byte-compile-with-output-to-temp-buffer): Remove.
12304 (byte-compile-defun): Simplify.
12305 (byte-compile-stack-adjustment): New fun.
12306 (byte-compile-out): Use it.
12307 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12308
12309 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12310 handler any more.
12311
12312 * emacs-lisp/byte-opt.el: Use lexical binding.
12313 (byte-inline-lapcode): Remove (to bytecomp).
12314 (byte-compile-inline-expand): Pay attention to inlining to/from
12315 lexically bound code.
12316 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12317 any more.
12318 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12319 any more and don't call compiler-macros.
12320 (byte-compile-splice-in-already-compiled-code): Remove.
12321 (byte-code): Don't inline any more.
12322 (disassemble-offset): Receive `bytes' as argument rather than via
12323 dynamic scoping.
12324 (byte-compile-tag-number): Declare before first use.
12325 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12326 `return' even if make-spliceable.
12327 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12328 obsolete interactive-p.
12329 (byte-optimize-lapcode): Optimize new lap-codes.
12330 Don't trip up on new form of `byte-constant' lap code.
12331
12332 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12333
12334 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12335
12336 * custom.el (custom-initialize-default, custom-declare-variable):
12337 Use `defvar'.
12338
12339 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12340 New variables.
12341 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12342 (COMPILE_FIRST): Add macroexp and cconv.
12343 * makefile.w32-in: Mirror changes in Makefile.in.
12344
12345 * vc/cvs-status.el:
12346 * vc/diff-mode.el:
12347 * vc/log-edit.el:
12348 * vc/log-view.el:
12349 * vc/smerge-mode.el:
12350 * textmodes/bibtex-style.el:
12351 * textmodes/css.el:
12352 * startup.el:
12353 * uniquify.el:
da91b5f2
CY
12354 * minibuffer.el:
12355 * newcomment.el:
12356 * reveal.el:
12357 * server.el:
12358 * mpc.el:
12359 * emacs-lisp/smie.el:
12360 * doc-view.el:
12361 * dired.el:
03408648
SM
12362 * abbrev.el: Use lexical binding.
12363
0f0c1f27
EZ
123642011-04-01 Eli Zaretskii <eliz@gnu.org>
12365
12366 * info.el (info-display-manual): New function.
12367
c82b2579
SM
123682011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12371
221ddf68
TH
123722011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12373
12374 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12375 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12376
cba6e77e
GM
123772011-03-31 Glenn Morris <rgm@gnu.org>
12378
e040639f
GM
12379 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12380
cba6e77e
GM
12381 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12382
6d0f1c9e
CS
123832011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12384
12385 * progmodes/python.el (python-default-interpreter)
12386 (python-python-command-args, python-jython-command-args)
12387 (python-which-shell, python-which-args, python-which-bufname)
12388 (python-file-queue, python-comint-output-filter-function)
12389 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12390 variables and functions.
12391
3e2d70fd
SM
123922011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12395 (completion-in-region-mode): New minor mode.
12396 (completion-in-region): Use it.
12397 (completion-in-region--data, completion-in-region-mode-map): New vars.
12398 (completion-in-region--postch): New function.
12399 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12400 New vars.
12401 (completion--capf-wrapper): New function.
12402 (completion-at-point): Use it to track well-behavedness of
12403 hook functions.
12404 (completion-help-at-point): New command.
12405
f3e4086c
JM
124062011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12407
12408 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12409 syntax class to search for whitespace on a single line
12410 (Message-ID: <4D938140.4030905@redhat.com>).
12411
eb7ffc14
LL
124122011-03-30 Leo Liu <sdl.web@gmail.com>
12413
12414 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12415 New commands.
12416 (edit-abbrevs-map): Bind them here.
12417 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12418
d806ab68
KM
124192011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12420
12421 * allout.el (allout-hide-by-annotation, allout-flag-region):
12422 Reduce possibility of overlay leakage by making them volatile.
12423
12424 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12425 hash is not shared between buffers. Mode initialization is
12426 responsible for giving it a useful starting value.
12427 (allout-item-span): Reduce possibility of overlay leakage by
12428 making them volatile.
12429 (allout-widgets-count-buttons-in-region): Add diagnostic function
12430 for tracking down button overlay leaks.
12431
ea622834
LL
124322011-03-29 Leo Liu <sdl.web@gmail.com>
12433
12434 * ido.el (ido-read-internal): Use the default history var
12435 minibuffer-history if no HISTORY is specified.
12436
b62f8267
G
124372011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12438
03408648
SM
12439 * net/imap.el (imap-shell-open, imap-process-connection-type):
12440 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12441 Kerberos, SSL, other subprocesses.
12442
947b6566
LL
124432011-03-28 Leo Liu <sdl.web@gmail.com>
12444
12445 * abbrev.el (abbrev-table-empty-p): New function.
12446 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12447 nonempty ones. (Bug#5937)
12448
5ffb62aa
JD
124492011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12450
12451 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12452
7a097943
LL
124532011-03-27 Leo Liu <sdl.web@gmail.com>
12454
12455 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12456 for foreground and background colors.
12457 (ansi-color-make-color-map): Adapt.
12458
c5b40130
LL
124592011-03-25 Leo Liu <sdl.web@gmail.com>
12460
1f48f7d2
LL
12461 * midnight.el (midnight-time-float): Remove. Note it calculates
12462 the microsecond component incorrectly and seconds-to-time does the
12463 same job.
625897ec 12464 Remove redundant (require 'timer).
1f48f7d2 12465
c5b40130
LL
12466 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12467 (ido-completions): Remove unused arguments. (Bug#8329)
12468
d86d2721
SM
124692011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 * minibuffer.el (completion--flush-all-sorted-completions):
12472 Remove itself from hook.
12473 (completion-at-point): Let the functions perform the completion
12474 immediately and return nil or t.
12475 * comint.el (comint-dynamic-complete-functions): Now identical to
12476 completion-at-point-functions.
12477 (comint-dynamic-list-input-ring): Remove unused var `index'.
12478 (comint--match-partial-filename, comint--unquote&expand-filename):
12479 New funs, split from comint-match-partial-filename.
12480 (comint-dynamic-complete): Use completion-at-point.
12481 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12482
e8974c48
DA
124832011-03-24 Drew Adams <drew.adams@oracle.com>
12484
12485 * thingatpt.el: Support `defun'.
12486
def71b5e
LL
124872011-03-23 Leo Liu <sdl.web@gmail.com>
12488
cb5af48e
LL
12489 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12490
def71b5e
LL
12491 * help-mode.el (help-mode-finish): Tweak regexp.
12492
927c53e7
GM
124932011-03-23 Glenn Morris <rgm@gnu.org>
12494
18d05bed
GM
12495 * eshell/esh-opt.el (eshell-eval-using-options):
12496 Do not bind unused local variable `eshell-option-stub'.
12497
927c53e7
GM
12498 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12499
9d0da923
JB
125002011-03-22 Juanma Barranquero <lekktu@gmail.com>
12501
12502 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12503 keymap variable in `with-no-warnings' to avoid a warning when the
12504 keymap has been already `defconst'ed.
12505
4b978a67
LL
125062011-03-22 Leo Liu <sdl.web@gmail.com>
12507
12508 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12509 encode all chars in abbrevs; otherwise use emacs-mule or
12510 utf-8-emacs. (Bug#8308)
12511
5fd62452
JB
125122011-03-22 Juanma Barranquero <lekktu@gmail.com>
12513
0b1596c6
JB
12514 * simple.el (backward-delete-char-untabify):
12515 Avoid warning about using `delete-backward-char'.
12516
5fd62452
JB
12517 * image.el (image-type-file-name-regexps): Make it variable.
12518 `imagemagick-register-types' modifies it, and the user may want
12519 to add new extensions for known image types.
12520 (imagemagick-register-types): Throw error if not using ImageMagick.
12521
0b4e93f1
LL
125222011-03-22 Leo Liu <sdl.web@gmail.com>
12523
12524 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12525 located before rcirc-prompt-end-marker.
12526 (rcirc-complete): Error if point is not after rcirc prompt.
12527 Handle the case when table is nil.
9882e214 12528 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12529
fccee4ab
CY
125302011-03-22 Chong Yidong <cyd@stupidchicken.com>
12531
12532 * custom.el (custom--inhibit-theme-enable): Make it affect only
12533 custom-theme-set-variables and custom-theme-set-faces.
12534 (provide-theme): Ignore custom--inhibit-theme-enable.
12535 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12536 (custom-enabling-themes): Delete variable.
d86d2721
SM
12537 (enable-theme): Accept only loaded themes as arguments.
12538 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12539 (custom-enabled-themes): Forbid themes from setting this.
12540 Eliminate use of custom-enabling-themes.
12541 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12542
af896da6
LL
125432011-03-21 Leo Liu <sdl.web@gmail.com>
12544
12545 * ido.el (ido-read-internal): Add ido-selected to history instead
12546 of user input.
12547
78f64af0
SM
125482011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12549
12550 * subr.el (deferred-action-list, deferred-action-function):
12551 Mark obsolete.
12552
b16ac1ec
LL
125532011-03-21 Leo Liu <sdl.web@gmail.com>
12554
810f7698
LL
12555 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12556 change on 2011-02-13 (bug#8309).
12557
b16ac1ec
LL
12558 * minibuffer.el (read-file-name-function): Change default value.
12559 (read-file-name--defaults): Rename from read-file-name-defaults.
12560 (read-file-name-default): Rename from read-file-name.
12561 (read-file-name): Call read-file-name-function.
12562
4e05e67e
GM
125632011-03-21 Glenn Morris <rgm@gnu.org>
12564
12565 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12566 Doc fixes.
12567
4359915b
CY
125682011-03-21 Chong Yidong <cyd@stupidchicken.com>
12569
12570 * cus-theme.el: Add missing provide statement.
12571 (customize-create-theme): Extract theme value correctly.
12572 (custom-theme-visit-theme): Autoload.
12573 (customize-create-theme): Prompt before inserting default faces.
12574
1fe275ee
JB
125752011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12576
12577 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12578 units and musical notes.
12579
cd394be1 125802011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12581
12582 * ido.el (ido-read-internal): Use completing-read-default.
12583 (ido-completing-read): Fix compatibility with completing-read.
12584
7d476bde
CO
125852011-03-20 Christian Ohler <ohler@gnu.org>
12586
12587 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12588 (ert-delete-all-tests): Use `called-interactively-p' rather than
12589 `interactive-p'.
12590 (ert--make-xrefs-region): Respect END.
12591
fe0fb33e
CY
125922011-03-19 Chong Yidong <cyd@stupidchicken.com>
12593
ff854b0b
CY
12594 * dired-aux.el (dired-create-directory): Signal an error if the
12595 directory already exists (Bug#8246).
12596
fe0fb33e
CY
12597 * facemenu.el (list-colors-display): Call list-faces-display
12598 inside with-help-window.
12599 (list-colors-print): Use display property to align the final
12600 column, instead of checking window-width.
12601
576bce32
EZ
126022011-03-19 Eli Zaretskii <eliz@gnu.org>
12603
4d61f28d 12604 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12605 windows-nt systems.
12606 (emerge-protect-metachars): Quote correctly for ms-dos and
12607 windows-nt systems.
12608
89c41d68 126092011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12610
12611 * info.el (info-initialize): Replace all uses of `:' with
12612 path-separator for compatibility with non-Unix systems.
12613 Cache quoting of path-separator. (Bug#8258)
12614
b14e3e21 126152011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12616
12617 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12618 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12619 (mouse-avoidance-mode): Fix typos in docstrings.
12620
4525ce3e
CY
126212011-03-19 Chong Yidong <cyd@stupidchicken.com>
12622
12623 * startup.el (package-subdirectory-regexp): Move from package.el.
12624 Omit \\` and \\', and let callers add them.
12625
12626 * emacs-lisp/package.el (package-strip-version)
12627 (package-load-all-descriptors): Add \\` and \\' to
12628 package-subdirectory-regexp before using it.
12629 (package-untar-buffer): New arg DIR; ensure that file untars only
12630 into this expected directory. Remove superfluous delete-region.
12631 (package-unpack): Caller changed.
12632 (package-tar-file-info): Use package-subdirectory-regexp.
12633
a904a09a 126342011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12635
a904a09a
SM
12636 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12637 diff-mode-shared-map (bug#8284).
12638 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12639
126402011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12641
12642 * calendar/time-date.el (format-seconds): Use assoc instead of
12643 assoc-string, since assoc-string doesn't exist in XEmacs.
12644
171fc304
JB
126452011-03-17 Juanma Barranquero <lekktu@gmail.com>
12646
12647 * custom.el (custom-known-themes): Reflow docstring.
12648 (custom-theme-load-path): Fix typo in docstring.
12649 (load-theme): Fix typo in error message.
12650 (custom-available-themes, custom-variable-theme-value):
12651 Use `let', not `let*'.
12652
d71990a1
JB
126532011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12654
12655 * calc/README: Mention inclusion of musical notes.
12656
12657 * calc/calc-units.el (calc-lu-quant): Rename from
12658 `calc-logunits-quantity'.
12659 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12660 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12661 (calc-db): Rename from `calc-dblevel'.
12662 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12663 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12664 (calc-np): Rename from `calc-nplevel'.
12665 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12666 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12667 (calc-lu-plus): Rename from `calc-logunits-add'.
12668 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12669 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12670 (calc-lu-minus): Rename from `calc-logunits-sub'.
12671 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12672 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12673 (calc-lu-times): Rename from `calc-logunits-mul'.
12674 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12675 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12676 (calc-lu-divide): Rename from `calc-logunits-div'.
12677 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12678 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12679
12680 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12681 functions being autoloaded.
12682
12683 * calc/calc.el (calc-lu-power-reference): Rename from
12684 `calc-logunits-power-reference'.
12685 (calc-lu-field-reference): Rename from
12686 `calc-logunits-field-reference'.
12687
7a71b18d
GM
12688 * calc/calc-help.el (calc-l-prefix-help):
12689 Mention musical note functions.
d71990a1 12690
40c2934b
SM
126912011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12692
12693 * minibuffer.el (completion-all-sorted-completions):
12694 Use :completion-cycle-penalty text property if present.
12695
b0911414
KM
126962011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12697
12698 * allout.el (allout-yank-processing): Adjust for new rebulleting
12699 regime so bullet being yanked is used without prompting the user
12700 for a choice.
12701
8a05b668
JB
127022011-03-16 Juanma Barranquero <lekktu@gmail.com>
12703
12704 * startup.el (command-line): Warn the user that _emacs is deprecated.
12705
5ba5fb81
JB
127062011-03-16 Juanma Barranquero <lekktu@gmail.com>
12707
12708 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12709 (delphi-verbose, delphi-comment-face, delphi-string-face)
12710 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12711 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12712 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12713 (delphi-new-comment-line, delphi-font-lock-defaults)
12714 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12715 Fix typos in docstrings.
12716
2dab465b
KM
127172011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12718
5ba5fb81 12719 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12720 Invert the roles of character and string values for INSTEAD, so a
12721 string is used for the more common case of a defaulting prompt.
12722
0adf5618
SM
127232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12724
12725 * progmodes/ruby-mode.el (ruby-backward-sexp):
12726 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12727 * play/gamegrid.el (gamegrid-make-face):
12728 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12729 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12730 * notifications.el (notifications-notify):
12731 * net/xesam.el (xesam-search-engines):
12732 * net/quickurl.el (quickurl-list-insert):
12733 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12734
d72700e5
CY
127352011-03-15 Chong Yidong <cyd@stupidchicken.com>
12736
12737 * startup.el (command-line): Update package subdirectory regexp.
12738
49c5410a
SM
127392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12740
c6eee9aa
SM
12741 * allout.el (allout-abbreviate-flattened-numbering)
12742 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12743
49c5410a
SM
12744 * subr.el (read-char-choice): Only show the cursor after the prompt,
12745 not after the answer.
12746
047b2bb9
KR
127472011-03-15 Kevin Ryde <user42@zip.com.au>
12748
12749 * help-fns.el (variable-at-point): Skip leading quotes, if any
12750 (bug#8253).
12751
0a57d256
SM
127522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12753
12754 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12755 warning message.
12756
77c992bc
MA
127572011-03-14 Michael Albinus <michael.albinus@gmx.de>
12758
12759 * shell.el (shell): When called interactively, offer to change the
12760 shell file name on remote hosts.
12761
eebc475d
TZ
127622011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12763
12764 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12765 integration for LDAP parameters. The host, base, user or binddn,
12766 and secret tokens can be specified in a netrc file, for instance.
12767 This is optional because an `auth-source' parameter must be
12768 specified in the search attributes.
12769
9d05d1ba
JB
127702011-03-13 Juanma Barranquero <lekktu@gmail.com>
12771
12772 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12773
09d9db2c
GM
127742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12775
12776 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12777 into declaration. Remove redundant and harmful binding.
12778
127792011-03-12 Eli Zaretskii <eliz@gnu.org>
12780
12781 * files.el (file-ownership-preserved-p): Pass `integer' as an
12782 explicit 2nd argument to `file-attributes'. If the file's owner
12783 is the Administrators group on Windows, and the current user is
12784 Administrator, consider that a match.
12785
12786 * server.el (server-ensure-safe-dir): Consider server directory
12787 safe on MS-Windows if its owner is the Administrators group while
12788 the current Emacs user is Administrator. Use `=' to compare
12789 numerical UIDs, since they could be integers or floats.
12790
219bd536
JB
127912011-03-12 Juanma Barranquero <lekktu@gmail.com>
12792
12793 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12794
f3afd36b
MA
127952011-03-12 Michael Albinus <michael.albinus@gmx.de>
12796
12797 Sync with Tramp 2.2.1.
12798
12799 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12800
12801 * net/trampver.el: Update release number.
12802
3aaaa6f1
SM
128032011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12804
94642599
SM
12805 * progmodes/compile.el (compilation--previous-directory): Fix up
12806 various nil/dead-marker mismatches (bug#8014).
12807 (compilation-directory-properties, compilation-error-properties):
12808 Don't call it at a position past the one we're about to change.
12809
3aaaa6f1
SM
12810 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12811 Disable obsolescence warnings in the file that declares it.
12812
14239447
KM
128132011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12814
099c39a4
JB
12815 * allout-widgets.el (allout-widgets-tally):
12816 Initialize allout-widgets-tally as a hash table rather than nil to
12817 prevent mode-line redisplay warnings. Also, clarify the module
12818 description and fix a comment typo.
14239447 12819
135e287c
JB
128202011-03-11 Juanma Barranquero <lekktu@gmail.com>
12821
12822 * help-fns.el (describe-variable): Don't complete keywords.
12823 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12824
ffbf300e
CY
128252011-03-10 Chong Yidong <cyd@stupidchicken.com>
12826
ba08b241
CY
12827 * emacs-lisp/package.el (package-version-join): Impose a standard
12828 string representation for pre/alpha/beta version lists.
12829 (package-unpack-single): Standardize the directory name by passing
12830 it through package-version-join.
12831 (package-strip-rcs-id): Accept any version string that does not
12832 signal an error in version-to-list.
ffbf300e 12833
f346fd6b
MA
128342011-03-10 Michael Albinus <michael.albinus@gmx.de>
12835
12836 * simple.el (delete-trailing-whitespace): Return nil for the
12837 benefit of `write-file-functions'.
12838
ccb55d27
GM
128392011-03-10 Glenn Morris <rgm@gnu.org>
12840
5ceaac0c
GM
12841 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12842
02da65ff
GM
12843 * vc/vc-git.el (vc-git-program): New option.
12844 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12845 (vc-git--call): Use it.
12846
b2f603cc
GM
12847 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12848
5772caab
GM
12849 * cus-edit.el (Custom-newline): If no button at point, look
12850 for a subgroup button at start-of-line. (Bug#2298)
12851
ccb55d27
GM
12852 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12853
ec6ecaed
JD
128542011-03-10 Julien Danjou <julien@danjou.info>
12855
12856 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12857 `cursor-type' is nil.
12858
9d5aa01d
JB
128592011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12860
12861 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12862
b6a5875b
KM
128632011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12864
7a71b18d 12865 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12866 preserves the existing header prefix, rebulleting it if necessary,
12867 rather than replacing it. This is necessary for proper operation
12868 of cooperative addons like allout-widgets.
1154d12e
JB
12869 (allout-make-topic-prefix, allout-rebullet-heading):
12870 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12871 value as alternate bullet to be used, instead of prompting the user
12872 for a bullet character.
b6a5875b 12873
ee545c35
MA
128742011-03-09 Michael Albinus <michael.albinus@gmx.de>
12875
d86d2721
SM
12876 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12877 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12878 `tramp-default-port'.
12879
c47971d7
DD
128802011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12881
12882 * net/rcirc.el (rcirc-handler-001): Remove useless
12883 with-rcirc-process-buffer.
12884 (rcirc-check-auth-status): Swap arguments to string-match.
12885
13522cb4
GM
128862011-03-09 Glenn Morris <rgm@gnu.org>
12887
0be6f4f1
GM
12888 * shell.el (shell-mode):
12889 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12890
13522cb4
GM
12891 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12892 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12893
515de2e3
CY
128942011-03-08 Chong Yidong <cyd@stupidchicken.com>
12895
12896 * emacs-lisp/package.el (package-refresh-contents)
12897 (package-menu-execute): Use condition-case-no-debug.
12898
b511b994
MA
128992011-03-08 Michael Albinus <michael.albinus@gmx.de>
12900
12901 * simple.el (shell-command-to-string): Use `process-file'.
12902
12903 * emacs-lisp/package.el (package-tar-file-info): Handle also
12904 remote files.
12905
d86d2721
SM
12906 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12907 Use `equal' for upload base check.
b511b994 12908
25bbfb31
AM
129092011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12910
12911 * textmodes/texinfo.el (texinfo-environments):
12912 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12913
be996521
GM
129142011-03-08 Glenn Morris <rgm@gnu.org>
12915
e9c8529f
GM
12916 * cus-start.el (cursor-in-non-selected-windows):
12917 Fix :set quoting oddness. (Bug#8192)
12918
be996521
GM
12919 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12920 in some setf expressions. (Bug#2159)
12921
2bb5649e
CY
129222011-03-08 Chong Yidong <cyd@stupidchicken.com>
12923
12924 * custom.el (custom-available-themes): Return themes in
12925 alphabetical order.
12926
33383987 12927See ChangeLog.15 for earlier changes.
e3d51b27
MR
12928
12929;; Local Variables:
12930;; coding: utf-8
e3d51b27
MR
12931;; End:
12932
acaf905b 12933 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12934
12935 This file is part of GNU Emacs.
12936
12937 GNU Emacs is free software: you can redistribute it and/or modify
12938 it under the terms of the GNU General Public License as published by
12939 the Free Software Foundation, either version 3 of the License, or
12940 (at your option) any later version.
12941
12942 GNU Emacs is distributed in the hope that it will be useful,
12943 but WITHOUT ANY WARRANTY; without even the implied warranty of
12944 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12945 GNU General Public License for more details.
12946
12947 You should have received a copy of the GNU General Public License
12948 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.