* lisp/minibuffer.el: Add support for completion of quoted/escaped data.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ef24141c
SM
12012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * minibuffer.el: Add support for completion of quoted/escaped data.
4 (completion-table-with-quoting, completion-table-subvert): New funs.
5 (completion--twq-try, completion--twq-all): New functions.
6 (completion--nth-completion): New function.
7 (completion-try-completion, completion-all-completions): Use it.
8
07875ee7
CY
92012-04-25 Chong Yidong <cyd@gnu.org>
10
11 * vc/diff-mode.el (diff-setup-whitespace): New function.
12 (diff-mode): Use it.
13
14 * vc/diff.el (diff-sentinel):
15 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
16 Whitespace mode variables based on diff style (Bug#8612).
17
5055880d
LL
182012-04-25 Leo Liu <sdl.web@gmail.com>
19
daf75653
LL
20 * progmodes/python.el (python-send-region): Add suffix .py to the
21 temp file.
22
5055880d
LL
23 * files.el (auto-mode-alist): Use javascript-mode instead.
24
db9b177b
AH
252012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
26
ef24141c 27 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
28
29 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 30 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 31 references, see Bug#9.
ef24141c 32 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 33 when receiving a fault reply.
ef24141c 34 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
35
36 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 37 (soap-inspect-simple-type): New function.
db9b177b 38
ef24141c 39 * soap-client.el (soap-simple-type): New struct.
db9b177b 40 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
41 (soap-decode-basic-type, soap-encode-basic-type):
42 support unsignedInt and double basic types.
db9b177b 43 (soap-resolve-references-for-simple-type)
ef24141c
SM
44 (soap-parse-simple-type, soap-encode-simple-type): New function.
45 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
46
47 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
48 (soap-default-soapenc-types): Add integer, byte and anyURI types.
49 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
50 the local name of "soapenc:Array".
51 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
52 decoding integer, byte and anyURI xsd types.
53
1fc6097b
CY
542012-04-25 Chong Yidong <cyd@gnu.org>
55
56 * cus-edit.el (custom-buffer-create-internal): Update header text.
57
afc6df87
EZ
582012-04-25 Eli Zaretskii <eliz@gnu.org>
59
60 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
61 settings on 'system-type', not on 'window-system'. On MS-Windows,
62 set interactive-mode on in GDB.
63
dfbd787f
SM
642012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
67 (ruby-syntax-propertize-regexp): Remove.
68 (ruby-syntax-propertize-function): Split regexp into chunks.
69 Match following code directly.
70
85222d44
DG
712012-04-24 Dmitry Gutov <dgutov@yandex.ru>
72
51a8ea2a
DG
73 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
74 (ruby-syntax-propertize-regexp): New function.
75 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
76 by a special keyword.
77
85222d44
DG
78 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
79 (ruby-syntax-general-delimiters-goto-beg)
80 (ruby-syntax-propertize-general-delimiters): New functions.
81 (ruby-syntax-propertize-function): Use them to handle GDL.
82 (ruby-font-lock-keywords): Move old handling of GDL...
83 (ruby-font-lock-syntactic-keywords): .. to here.
84 (ruby-calculate-indent): Adjust indentation for GDL.
85
b613912b
MA
862012-04-24 Michael Albinus <michael.albinus@gmx.de>
87
b5380639
MA
88 * notifications.el (top): Remove unneeded declarations.
89 (notifications-specification-version): Change to "1.2".
e43042fe 90 (notifications-interface, notifications-notify-method)
b613912b
MA
91 (notifications-close-notification-method): Fix docstring.
92 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
93 (notifications-notify): Add :action-items, :resident and
94 :transient hints. Change "image_data" to "image-data" and
95 "image_path" to "image-path".
b613912b
MA
96 (notifications-get-capabilities): New defun.
97
257440aa
LL
982012-04-24 Leo Liu <sdl.web@gmail.com>
99
100 * progmodes/python.el: Move hideshow setup to the end.
101
b1bac16e
MR
1022012-04-24 Martin Rudalics <rudalics@gmx.at>
103
104 * window.el (handle-select-window): Clear echo area since this is
105 no more done by read_char (Bug#11304).
106
d81bd059
SM
1072012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
110 and `/ M' to filter-derived-mode.
111 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
112 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
113 (ibuffer-mark-by-mode): Use default rather than initial-input.
114 (ibuffer-filter-by-derived-mode): Autoload and require-match.
115
c4cf6d91
IA
1162012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
117
118 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
119 (ibuffer-filter-by-derived-mode): New filter.
120 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
121
7511ded8
CY
1222012-04-23 Andreas Politz <politza@fh-trier.de>
123
124 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
125
775c916b
CY
1262012-04-23 Chong Yidong <cyd@gnu.org>
127
128 * cus-edit.el (customize-apropos, customize-apropos-options):
129 Disable matching of non-option variables (Bug#11176).
130 (customize-option, customize-option-other-window)
131 (customize-changed-options): Doc fix.
132 (customize-apropos-options, customize-apropos-faces)
133 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
134
135 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 136 Fix word list splitting (Bug#11132).
46c71e23
CY
137 (apropos-symbol, apropos-keybinding, apropos-label)
138 (apropos-property, apropos-function-button)
139 (apropos-variable-button, apropos-misc-button): New faces.
140 (apropos-symbol-face, apropos-keybinding-face)
141 (apropos-label-face, apropos-property-face, apropos-match-face):
142 Variables removed (Bug#8396).
143 (apropos-library-button, apropos-format-plist, apropos-print)
144 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 145
2df41f9c
MA
1462012-04-23 Michael Albinus <michael.albinus@gmx.de>
147
148 * net/xesam.el (xesam-mode-map): Use let-bound map in
149 initialization. (Bug#11292)
150
da00640a
AM
1512012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
152
153 Preserve ispell session localwords when switching back to
154 original buffer.
155
156 * ispell.el (ispell-buffer-session-localwords): New buffer-local
157 variable to hold buffer session localwords.
158 (ispell-kill-ispell): add option 'clear to delete session
159 localwords.
160 (ispell-command-loop, ispell-change-dictionary)
161 (ispell-buffer-local-words): Preserve session localwords when
162 needed.
163
164 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
165 Preserve session localwords when needed.
166
f621ccf5
AM
1672012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
168
169 * ispell.el (ispell-insert-word) Remove unneeded function using
170 obsolete `translation-table-for-input'.
ef24141c
SM
171 (ispell-word, ispell-process-line, ispell-complete-word):
172 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 173
c2d1019e
CY
1742012-04-22 Chong Yidong <cyd@gnu.org>
175
176 * cus-edit.el (custom-variable-menu)
177 (custom-variable-reset-saved, custom-face-menu)
178 (custom-face-reset-saved): If there is no saved value, make the
179 "reset-saved" operation bring back the default (Bug#9509).
180 (custom-face-state): Properly detect themed faces.
181
eeddc531
CY
182 * faces.el (face-spec-set): Stop supporting deprecated form of
183 third arg.
184
dcbf5805
MA
1852012-04-22 Michael Albinus <michael.albinus@gmx.de>
186
187 Move functions from C to Lisp. Make non-blocking method calls
188 the default. Implement further D-Bus standard interfaces.
189
ef24141c
SM
190 * net/dbus.el (dbus-message-internal): Declare function.
191 Remove unneeded function declarations.
dcbf5805
MA
192 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
193 (dbus-message-type-method-return, dbus-message-type-error)
194 (dbus-message-type-signal): Declare variables. Remove local
195 definitions.
196 (dbus-interface-dbus, dbus-interface-peer)
197 (dbus-interface-introspectable, dbus-interface-properties)
198 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
199 Adapt docstring.
200 (dbus-interface-objectmanager): New defconst.
201 (dbus-call-method, dbus-call-method-asynchronously)
202 (dbus-send-signal, dbus-method-return-internal)
203 (dbus-method-error-internal, dbus-register-service)
204 (dbus-register-signal, dbus-register-method): New defuns, moved
205 from dbusbind.c
206 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
207 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
208 New defuns.
dcbf5805
MA
209 (dbus-call-method-non-blocking): Make it an obsolete function.
210 (dbus-unregister-object, dbus-unregister-service)
211 (dbus-handle-event, dbus-register-property)
212 (dbus-property-handler): Obey the new structure of
213 `bus-registered-objects'.
214 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
215 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
216 Use `dbus-call-method'.
217
cf20dee0
CY
2182012-04-22 Chong Yidong <cyd@gnu.org>
219
220 * cus-edit.el (custom-commands, custom-reset-menu)
221 (Custom-reset-standard): Tweak labels.
222 (custom-reset-button-menu): Change default to t.
223 (custom-buffer-create-internal): For the custom-reset-button-menu
224 case, put the revert button first.
225 (custom-group-subtitle): New face.
226 (custom-group-value-create): Align docstring to a specific column.
227
228 * wid-edit.el (widget-documentation-link-add): Don't handle
229 indentation in this function.
230 (widget-documentation-string-indent-to): New function.
231 (widget-documentation-string-value-create): Use it.
232
233 * autorevert.el (auto-revert):
234 * epg-config.el (epg):
235 * ibuffer.el (ibuffer):
236 * mpc.el (mpc):
237 * ses.el (ses):
238 * eshell/eshell.el (eshell):
239 * net/ange-ftp.el (ange-ftp):
240 * progmodes/ebnf2ps.el (postscript):
241 * progmodes/flymake.el (flymake):
242 * progmodes/prolog.el (prolog):
243 * progmodes/verilog-mode.el (verilog-mode):
244 * progmodes/which-func.el (which-func):
245 * term/xterm.el (xterm):
246 * textmodes/picture.el (picture):
247 * textmodes/tildify.el (tildify):
248 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
249 customization buffers.
250
583e23bd
AM
2512012-04-22 Alan Mackenzie <acm@muc.de>
252
253 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
254 Adding a ) can hide the resulting (..) from searches. Fix it.
255 Bound the backward search to the position of the existing (.
256
7dd51bf1
JB
2572012-04-21 Juanma Barranquero <lekktu@gmail.com>
258
259 * progmodes/verilog-mode.el (verilog-mode): Check whether
260 which-func-modes is t before adding verilog-mode.
261 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
262
d64a438f
LL
2632012-04-21 Leo Liu <sdl.web@gmail.com>
264
7dd51bf1 265 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 266
081e8d65
MV
2672012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
268
269 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
270 filling of the last column of a table (Bug#5635).
271 (woman-find-next-control-line): New arg, specifying an additional
272 regexp component for the control line.
273 (woman2-roff-buffer): Use it.
274 (woman-break-table): New function.
275 (woman2-TS): Use it.
276
2772012-04-21 Chong Yidong <cyd@gnu.org>
278
279 * woman.el (woman-set-buffer-display-table, woman-decode-region)
280 (woman-horizontal-escapes, woman-negative-vertical-space)
281 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
282 (WoMan-warn-ignored): Use ?\s instead of ?\ .
283
ed571ccb
SM
2842012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * minibuffer.el (completion-file-name-table): Complete user names.
287
39773899
LL
2882012-04-20 Leo Liu <sdl.web@gmail.com>
289
290 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
291 and pcase-let*.
292
de6ff46d
CY
2932012-04-20 Chong Yidong <cyd@gnu.org>
294
295 * server.el (server-execute): Respect initial-buffer-choice if it
296 is a string and there are no files to open (Bug#2825).
297 (server-create-window-system-frame, server-create-tty-frame):
298 Don't switch buffers here.
2d0e8e61
CY
299 (server-process-filter): Only try to open a window system frame if
300 compiled with graphical support (Bug#8314).
de6ff46d 301
54071013
DN
3022012-04-20 Dan Nicolaescu <dann@gnu.org>
303
304 * battery.el (battery-echo-area-format): Display remaining time
305 for sysfs backend too (Bug#11269).
306 (battery-linux-sysfs): Fix conditional for the charge.
307
f30d612a
CY
3082012-04-20 Chong Yidong <cyd@gnu.org>
309
c07a4c0b 310 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
311 (gdb-inferior-io--init-proc): New function.
312 (gdb-init-1): Use it.
313 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
314 responsible for allocating a new pty and hooking it to gdb when
315 the old pty gets an EIO due to process exit.
316 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
317 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
318 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
319
2116e93c
EZ
3202012-04-20 Eli Zaretskii <eliz@gnu.org>
321
322 * window.el (window-min-size, window-sizable, window-min-delta)
323 (window-max-delta, window--resizable, window-resizable)
324 (window-total-size, window-full-height-p, window-full-width-p)
325 (window-in-direction, window--resize-mini-window, window-resize)
326 (window--resize-child-windows-normal)
327 (window--resize-child-windows, window--resize-siblings)
328 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 329 (enlarge-window, shrink-window): Doc fixes.
2116e93c 330
c07a4c0b 3312012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 332
ef24141c
SM
333 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
334 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
335 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
336 pty process (Bug#11273).
337 (gdb-update): New arg to suppress talking to the gdb process.
338 (gdb-done-or-error): Use it.
339 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
340 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
341 sentinel not being called.
342
343 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
344
d02766ab
CY
345 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
346
c07a4c0b 3472012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
348
349 * net/network-stream.el (open-network-stream): Doc fix.
350
c07a4c0b 3512012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
352
353 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
354
c07a4c0b 3552012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
356
357 Ensure searching for keywords is case sensitive.
358
359 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
360 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
361 (c-defun-name, c-mark-function, c-cpp-define-name)
362 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 363 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 364
ef24141c
SM
365 * progmodes/cc-mode.el (c-font-lock-fontify-region):
366 Bind case-fold-search to nil.
f0f6bc35 367
c07a4c0b 3682012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
369
370 * mail/sendmail.el (mail-bury): Call return action with the right
371 Rmail buffer (Bug#11242).
372
9a864fa2
CY
373 * server.el (server-process-filter): Handle corner case where both
374 tty and nowait options are present (Bug#11102).
375
539aa513
EZ
3762012-04-20 Eli Zaretskii <eliz@gnu.org>
377
378 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
379 (top level): Put into the executable the ident-style '$Id:' tag on
380 windows-nt as well.
539aa513 381
cfc7d5da
SM
3822012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * electric.el (electric-indent-post-self-insert-function): Check that
385 electric-indent-mode is enabled in current buffer.
386
5b01685c
JB
3872012-04-19 Juanma Barranquero <lekktu@gmail.com>
388
389 * imenu.el (imenu-progress-message): Restore; it is "used" in
390 erc/erc-imenu.el and net/snmp-mode.el.
391
4d6769e1
JB
3922012-04-19 Juanma Barranquero <lekktu@gmail.com>
393
394 * avoid.el (mouse-avoidance-mode): Mark unused arg.
395 (mouse-avoidance-nudge-mouse): Remove unused binding.
396
397 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
398
399 * descr-text.el (describe-char):
400 * progmodes/python.el (python-describe-symbol):
401 Don't call `toggle-read-only', set `buffer-read-only'.
402
403 * imenu.el (imenu-default-goto-function): Mark unused args.
404 (imenu-progress-message): Remove obsolete macro; all callers changed.
405
406 * subr.el (keymap-canonicalize): Remove unused binding.
407 (read-passwd): Mark unused arg.
408
409 * tutorial.el (tutorial--display-changes): Remove unused binding.
410 (tutorial--save-tutorial-to): Remove unused variable.
411
412 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
413 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
414 (package-generate-autoloads, package-menu--generate)
415 (package-menu--find-upgrades): Remove unused bindings.
416
417 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
418 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
419 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
420 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
421 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
422 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
423 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
424 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
425 (cua-delete-char-rectangle): Mark unused args.
426 (cua-align-rectangle): Remove unused binding.
427
428 * mail/rmail.el (compilation--message->loc)
429 (epa--find-coding-system-for-mime-charset): Declare.
430
431 * net/dbus.el (dbus-register-service): Declare.
432 (dbus-name-owner-changed-handler): Remove unused binding.
433
434 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
435 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
436 (nxml-scan-backward-within): Mark unused arg.
437 (nxml-dynamic-markup-word): Remove unused binding.
438
439 * mouse.el (mouse-menu-major-mode-map):
440 * emacs-lisp/authors.el (authors-scan-change-log)
441 (authors-add-to-author-list):
442 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
443 * emacs-lisp/smie.el (smie-auto-fill):
444 * mail/sendmail.el (mail-bury):
445 * mail/unrmail.el (unrmail):
446 * net/tls.el (open-tls-stream):
447 * textmodes/picture.el (picture-mouse-set-point):
448 Remove unused bindings.
449
8c8fc5df
MA
4502012-04-19 Michael Albinus <michael.albinus@gmx.de>
451
452 * net/tramp.el (tramp-action-password): Let-bind
453 `enable-recursive-minibuffers' to t.
454
a77b0ac9
SS
4552012-04-18 Sam Steingold <sds@gnu.org>
456
457 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
458 instead of 'string to accommodate values like [f11].
459 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
460 * progmodes/gdb-mi.el: Likewise.
461
12a106a9
LL
4622012-04-18 Leo Liu <sdl.web@gmail.com>
463
464 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
465 current buffer.
466 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
467 LOCAL is nil.
468
bc6494ef
CY
4692012-04-18 Chong Yidong <cyd@gnu.org>
470
471 * simple.el (line-move): Use forward-line if in batch mode
472 (Bug#11053).
473
c09c46b2
CS
4742012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
475
476 * files.el (after-find-file): Do not try to add a final newline if
477 the buffer is read-only (Bug#11156).
478
5f6530ea
RS
4792012-04-17 Richard Stallman <rms@gnu.org>
480
481 * mail/rmail.el (rmail-start-mail):
482 Pass (rmail-mail-return...) for the return-action.
483 Pass (rmail-yank-current-message...) for the yank-action.
484 (rmail-yank-current-message): New function.
485 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
486 (rmail-reply): Likewise.
487 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
488
489 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 490 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
491 buffer, not newbuf.
492
197b6f3c
JB
4932012-04-17 Juanma Barranquero <lekktu@gmail.com>
494
495 * server.el (server-ensure-safe-dir): Simplify.
496
2311d8e5 4972012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 498
2311d8e5
GM
499 * emacs-lisp/smie.el: Provide smarter auto-filling.
500 (smie-auto-fill): New function.
501 (smie-setup): Use it.
98fb480e 502
2311d8e5
GM
503 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
504
5052012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
506
507 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
508 (comment-indent): Use it.
509
2311d8e5 5102012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
511
512 * ses.el: The overall change is to add cell renaming, that is
513 setting fancy names for cell symbols other than name matching
514 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 515 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 516 (ses-create-cell-variable): New defun.
2311d8e5 517 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
518 (ses-relocate-formula): Relocate formulas only for cells the
519 symbols of which are not renamed, i.e. symbols whose names do not
520 match regexp "\\`[A-Z]+[0-9]+\\'".
521 (ses-relocate-all): Relocate values only for cells the symbols of
522 which are not renamed.
523 (ses-load): Create cells variables as the (ses-cell ...) are read,
524 in order to check row col consistency with cell symbol name only
525 for cells that are not renamed.
526 (ses-replace-name-in-formula): New defun.
527 (ses-rename-cell): New defun.
4bdf2ad2 528
fc72b15c
PO
5292012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
530
531 * progmodes/perl-mode.el (perl-indent-parens-as-block):
532 New option (bug#11118).
533 (perl-calculate-indent): Respect it.
534
12e10e61
GM
5352012-04-17 Glenn Morris <rgm@gnu.org>
536
537 * dired-aux.el (dired-mark-read-string): Doc fix.
538
30009afd
DA
5392012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
540
541 * dired-aux.el (dired-mark-read-string): Offer optional completion.
542 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
543
41f03f4d
GM
5442012-04-17 Glenn Morris <rgm@gnu.org>
545
546 * mouse.el (mouse-drag-track):
547 * speedbar.el (speedbar-frame-mode):
548 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
549
f45f90f3
LL
5502012-04-16 Leo Liu <sdl.web@gmail.com>
551
552 * progmodes/python.el: Trivial cleanup.
553
94ee8db5
GM
5542012-04-16 Glenn Morris <rgm@gnu.org>
555
121b8917
GM
556 * vc/vc.el (vc-string-prefix-p):
557 * vc/pcvs-util.el (cvs-string-prefix-p):
558 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
559 * mpc.el (mpc-string-prefix-p):
560 Make all of these into obsolete aliases for string-prefix-p.
561 Update callers.
562 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
563
1197ecfa
GM
564 * textmodes/two-column.el: Move custom options to the start.
565 (frame-width): Remove compat definition.
566 (2C-associate-buffer, 2C-dissociate):
567 Use with-current-buffer rather than save-excursion.
568 (2C-dissociate): Force a mode-line update.
569 (2C-autoscroll): Use ignore-errors.
570
099e7202
GM
571 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
572 Autoload trivia.
573
bf350d6a
GM
574 * emacs-lisp/cl-extra.el (*random-state*):
575 Remove unnecessary declaration.
576
0e829eab
GM
577 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
578
e3ad7552
GM
579 * play/cookie1.el (cookie-snarf):
580 Give an explicit error if input file cannot be read.
581
68892d27
GM
582 * play/yow.el (yow-file): Use expand-file-name rather than concat.
583
20f0c46d
GM
584 * progmodes/perl-mode.el (c-macro-expand):
585 Remove unnecessary autoload (it is in loaddefs.el).
586
5a0978ce
GM
587 * textmodes/picture.el (picture-desired-column)
588 (picture-update-desired-column): Convert comments to doc-strings.
589 (picture-substitute): Remove function.
590 (picture-mode-map): Initialize in the defvar.
591
6b955486
GM
592 * woman.el: Remove eval-after-load for tar-mode.
593 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
594 (woman-tar-extract-file): Autoload it.
595
94ee8db5
GM
596 * frame.el (automatic-hscrolling): Make this alias obsolete.
597
177eca34
AM
5982012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
599
600 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 601 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
602 (ispell-dictionary-base-alist): Revert to original XEmacs
603 friendly version for default. [:alpha:] will be added in
604 `ispell-set-spellchecker-params' if needed
177eca34 605
c505aaeb
CY
6062012-04-16 Chong Yidong <cyd@gnu.org>
607
608 * image.el (imagemagick--extension-regexp): New variable.
609 (imagemagick-register-types): Use it.
610 (imagemagick-types-inhibit): Add :set function. Allow new value
611 of t to inhibit all types.
612
613 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
614 so we can preload it.
615
616 * loadup.el (fboundp): Preload regexp-opt, needed by
617 imagemagick-register-types.
618
60efac0f
CY
6192012-04-15 Chong Yidong <cyd@gnu.org>
620
621 * frame.el (scrolling): Remove nearly unused customization group.
622
623 * scroll-all.el (scroll-all-mode): Move to windows group.
624
5dd1713e
CY
6252012-04-15 Chong Yidong <cyd@gnu.org>
626
627 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
628
e6fd457e
CY
6292012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 632 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 633
e153c136
GM
6342012-04-15 Glenn Morris <rgm@gnu.org>
635
636 * simple.el (process-file-side-effects): Doc fix.
637
e6fd457e 6382012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
639
640 * international/mule-cmds.el (set-language-environment): Doc fix.
641
3603c3b1
JB
6422012-04-14 Juanma Barranquero <lekktu@gmail.com>
643
644 * server.el (server-auth-key, server-generate-key): Doc fixes.
645 (server-get-auth-key): Doc fix. Use `string-match-p'.
646 (server-start): Reflow docstring.
647
e6de100c
LI
6482012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
649
650 * server.el (server-generate-key): `called-interactively-p'
651 requires a parameter.
652
29734c21
MN
6532012-04-14 Michal Nazarewicz <mina86@mina86.com>
654
655 * server.el (server-auth-key): New variable.
75f1671a 656 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
657 (server-start): Use the new variable and functions to allow
658 setting a permanent server key (bug#9423).
659
d65c9521
LL
6602012-04-14 Leo Liu <sdl.web@gmail.com>
661
662 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
663
5ae255c7
PE
6642012-04-14 Paul Eggert <eggert@cs.ucla.edu>
665
666 Spelling fixes.
667 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
668 Emacs uses American spelling.
669
d5e6342e
JB
6702012-04-14 Juanma Barranquero <lekktu@gmail.com>
671
672 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
673 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
674 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
675 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
676
ab036cd7
SM
6772012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * progmodes/which-func.el (which-func-modes): Change default.
680
35dc09a1 6812012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
682
683 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
684 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
685
35dc09a1 6862012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
687
688 * custom.el (custom-theme-set-variables): Doc fix.
689
35dc09a1 6902012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
691
692 * international/mule.el (set-auto-coding-for-load): Doc fix.
693
35dc09a1 6942012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 695
35dc09a1
GM
696 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
697 imenu work again for Objective C Mode. Correct the *-index values,
698 these having been disturbed by a previous change in 2011-08.
57f845ee 699
0de3da9f
AM
700 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
701 Correct two search limits.
702
35dc09a1 7032012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
704
705 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
706
35dc09a1 7072012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
708
709 * international/characters.el: Fix sorting.
710
35dc09a1 7112012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
712
713 * international/characters.el: Add more missing Latin case pairs.
714
35dc09a1 7152012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
716
717 * files.el (dir-locals-set-class-variables): Doc fix.
718
35dc09a1 7192012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 720
3f1b5bf8
EZ
721 * international/characters.el: Add set-case-syntax-pair call for
722 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
723 counterpart. (Bug#11209)
724
9f847f41
EZ
725 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
726
35dc09a1 7272012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
728
729 * calendar/holidays.el (calendar-check-holidays): Doc fix.
730
35dc09a1 7312012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 732
35dc09a1
GM
733 * textmodes/ispell.el (ispell-dictionary-base-alist):
734 Add data for Hebrew.
e2627d21 735
35dc09a1 7362012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 737
35dc09a1
GM
738 * net/rcirc.el (rcirc-cmd-quit):
739 Revert 2012-03-18 change (Bug#11192).
5c14e333 740
35dc09a1 7412012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
742
743 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
744
35dc09a1 7452012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 746
4517fe3a
SM
747 * minibuffer.el (completion-in-region-mode-map):
748 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 749
b472a594
VD
7502012-04-13 Vivek Dasmohapatra <vivek@etla.org>
751
752 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
753
09b95ce3
MY
7542012-04-13 Masatake YAMATO <yamato@redhat.com>
755
756 * minibuffer.el (minibuffer-local-filename-syntax): New variable
757 to allow `C-M-f' and `C-M-b' to move to the nearest path
758 separator (bug#9511).
759
4b63a9ca
LI
7602012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
761
762 * avoid.el: Require cl when compiling. And also move the
763 `provide' to the end.
764
7b55b8bf
TV
7652012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
766
767 * avoid.el (mouse-avoidance-banish-position): New variable.
768 (mouse-avoidance-banish-destination): Use it (bug#10165).
769
adedaa1f
LL
7702012-04-13 Leo Liu <sdl.web@gmail.com>
771
772 * progmodes/which-func.el (which-func-modes): Add objc-mode.
773
70e74021
KB
7742012-04-13 Ken Brown <kbrown@cornell.edu>
775
776 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 777 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
778 (browse-url-filename-alist): For the same reason, don't modify
779 file:// URLs on Cygwin.
780
e75e89ba
SM
7812012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
784 the region on shift if the binding is already shifted (bug#11221).
785
82f289a4
GM
7862012-04-12 Glenn Morris <rgm@gnu.org>
787
788 * mail/mailpost.el: Move to obsolete/.
789
d333dc4c
DA
7902012-04-12 Drew Adams <drew.adams@oracle.com>
791
792 * imenu.el (imenu--generic-function): Ignore invisible definitions
793 (bug#10123).
794
0d15b5ba
VD
7952012-04-12 Vivek Dasmohapatra <vivek@etla.org>
796
797 * hexl.el (hexl-bits): New variable.
798 (hexl-options): Mention the variable in the doc string.
75f1671a 799 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 800 (hexl-mode): Mention the new variable.
75f1671a
JB
801 (hexl-mode, hexl-current-address, hexl-current-address):
802 Use the displen.
0d15b5ba
VD
803 (hexl-ascii-start-column): New function.
804 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
805 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
806
64a440db
AM
8072012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
808
809 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
810 '("-i" ENCODING), in 2 separate command-line arguments, to specify
811 the encoding, as expected by hunspell.
812
6decb6c2
SM
8132012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * battery.el (battery--linux-sysfs-regexp): New const.
816 (battery-status-function): Use it. Remove yeeloong special case.
817 (battery-yeeloong-sysfs): Remove.
818 (battery-echo-area-format): Remove yeeloong special case.
819
088be6fb
SM
8202012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
821
6622e416
SM
822 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
823 Reported by Noah Friedman.
824
088be6fb
SM
825 * subr.el (read-passwd): Use read-string.
826
b49f886e
LMI
8272012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
828
829 * vcursor.el (vcursor-move): Increase the priority of the overlay
830 (bug#9663).
831
a63067fc
DD
8322012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
833
834 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
835 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
836
ac3cf14a
WS
8372012-04-11 William Stevenson <yhvh2000@gmail.com>
838
839 * textmodes/artist.el (artist-mode): Convert artist-mode to use
840 define-minor-mode (bug#10760).
841
c4fc691b 8422012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 843
4d6769e1 844 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
845 that directories matching `grep-find-ignored-files' won't be
846 pruned (bug#10351).
847
af23e2e5
CY
8482012-04-11 Chong Yidong <cyd@gnu.org>
849
850 * startup.el (command-line): Remove support for long-obsolete
851 variable font-lock-face-attributes.
852
ab7ce8c1
GM
8532012-04-11 Glenn Morris <rgm@gnu.org>
854
855 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
856
de8c03dc
SM
8572012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * window.el (window--state-get-1): Obey window-point-insertion-type.
860
050cc68b
LB
8612012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
862
863 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
864 to previous function when point is on the first character of a
75f1671a 865 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 866
a38c310c
GM
8672012-04-11 Glenn Morris <rgm@gnu.org>
868
effed0c2
GM
869 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
870 not just file-errors.
871
a38c310c
GM
872 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
873 (vc-bzr-sha1): Use internal sha1.
874
0221e323
SM
8752012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
878
43956923
SG
8792012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
880
881 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
882 that start in the middle of the line (bug#10496).
883
6a8c9eaf
DN
8842012-04-10 Dan Nicolaescu <dann@gnu.org>
885
886 * battery.el (battery-linux-proc-acpi): Only one battery is
887 discharged at a time, but that seems to confuse battery.el when
888 computing `rate-type' for the battery not being discharged
889 (bug#10332).
890
1930bf5d
SM
8912012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
892
2a718f6f
SM
893 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
894
599430d0
SM
895 * international/quail.el: Use dolist and simplify.
896 (quail-define-package, quail-update-keyboard-layout)
897 (quail-define-rules): Use dolist.
898 (quail-insert-kbd-layout, quail-get-translation): CSE.
899
a2754b6c
SM
900 * tmm.el: Use dolist, remove left over hook.
901 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
902 Use dolist.
903 (calendar-load-hook): Don't mess with it.
904
1930bf5d
SM
905 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
906 Use derived-mode-p. Run the diff asynchronously.
907
9f67961c
LMI
9082012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
909
910 * obsolete/mouse-sel.el: Add an Obsolete-since header.
911
2a8ce227
JB
9122012-04-10 Juanma Barranquero <lekktu@gmail.com>
913
914 * misc.el: Display absolute path of loaded DLLs (bug#10424).
915 (list-dynamic-libraries--loaded): New function.
916 (list-dynamic-libraries--refresh): Use it.
917
8f33b5f8
NW
9182012-04-10 Nathan Weizenbaum <nweiz@google.com>
919
1930bf5d
SM
920 * progmodes/python.el (python-fill-paragraph):
921 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
922 disabled (bug#7018).
923
b12f0439
L
9242012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
925
1930bf5d 926 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
927 DOS/MS Windows for the Baltic languages. There are still plenty
928 of texts written in this encoding/codepage (bug#6519).
b12f0439 929
57c3bd01
GM
9302012-04-10 Glenn Morris <rgm@gnu.org>
931
932 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
933 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
934
6c3eab30
FA
9352012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
936
1930bf5d 937 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
938 next-line "n" and previous-line "p" in order to make recentf more
939 consistent with ibuffer, dired or org-mode (bug#9387).
940
24d78a88
LMI
9412012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
942
bc72b5d9
LMI
943 * image.el (put-image): Return the overlay created instead of the
944 optional input string (bug#7834). Note that this may break code
945 that is (for some reason or other) depending on `put-image'
946 returning the string.
947
bd2dba5a
LMI
948 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
949
74beb59f
LMI
950 * simple.el (zap-to-char): Allow zapping using input methods
951 (bug#1580).
952
24d78a88
LMI
953 * textmodes/fill.el (fill-region): Leave point and mark where they
954 were before filling (bug#5399).
955
263f20cd
GM
9562012-04-09 Glenn Morris <rgm@gnu.org>
957
958 * version.el (emacs-bzr-get-version):
959 Handle lightweight checkouts of local branches.
960
58d1f797
AS
9612012-04-09 Andreas Schwab <schwab@linux-m68k.org>
962
263f20cd 963 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 964
b4d3bc10
CY
9652012-04-09 Chong Yidong <cyd@gnu.org>
966
967 * custom.el (custom-variable-p): Return nil for non-symbol
968 arguments instead of signaling an error.
969 (user-variable-p): Obsolete alias for custom-variable-p.
970
971 * apropos.el (apropos-variable):
972 * files-x.el (read-file-local-variable):
973 * simple.el (set-variable):
974 * woman.el (woman-mini-help):
975 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
976
fd06db5d
GM
9772012-04-09 Glenn Morris <rgm@gnu.org>
978
e5fcdb5e
GM
979 * startup.el (normal-top-level): Don't look for leim-list.el
980 in places where it will not be found. (Bug#910)
981
fd06db5d
GM
982 * international/mule-cmds.el (set-default-coding-systems):
983 * files.el (normal-mode):
984 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
985 This function was removed with ucs-tables.el in 2008.
986
b39bb7e1
EZ
9872012-04-08 Eli Zaretskii <eliz@gnu.org>
988
989 * textmodes/ispell.el (ispell-check-version): For hunspell, set
990 ispell-encoding8-command to "-i", without a trailing space.
991 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
992 separate command-line arguments, to specify the encoding, since
993 that's how hunspell expects it.
994
5c5b8e23
GM
9952012-04-08 Glenn Morris <rgm@gnu.org>
996
997 * loadup.el: Load bindings before cus-start.
998 This reduces somewhat the number of "rogue" settings in emacs -Q.
999
a1ed8b05
GM
10002012-04-07 Glenn Morris <rgm@gnu.org>
1001
1002 * version.el (emacs-bzr-get-version): New function.
dfae128a 1003 (emacs-bzr-version): New variable.
a1ed8b05
GM
1004 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
1005 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
1006
b142f158
EZ
10072012-04-07 Eli Zaretskii <eliz@gnu.org>
1008
dfae128a
GM
1009 * international/uni-bidi.el, international/uni-category.el:
1010 * international/uni-combining.el, international/uni-decimal.el:
1011 * international/uni-decomposition.el, international/uni-digit.el:
1012 * international/uni-lowercase.el, international/uni-mirrored.el:
1013 * international/uni-name.el, international/uni-numeric.el:
1014 * international/uni-titlecase.el, international/uni-uppercase.el:
1015 Update for Unicode 6.1.
b142f158 1016
9078ead6
EZ
10172012-04-07 Eli Zaretskii <eliz@gnu.org>
1018
1019 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
1020
f23d2c7d
LMI
10212012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1022
1023 * window.el (shrink-window): Mention the `window-min-height'
1024 variable in the doc string.
1025
0a0a3573
BG
10262012-04-05 Bastien Guerry <bzg@altern.org>
1027
1028 * color.el (color-lighten-name): Fix typo.
1029
e5248ac9
SM
10302012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * server.el (server--on-display-p): New function.
1033 (server--on-display-p): Use it.
1034
b4243e22
GV
10352012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
1036
1037 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
1038 (bug#11145).
1039
305d9f44
SM
10402012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * comint.el (comint--common-quoted-suffix): Check string boundary
1043 before comparing (bug#11158).
1044 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
1045
3d439cd1
CY
10462012-04-04 Chong Yidong <cyd@gnu.org>
1047
321cc491
CY
1048 * minibuffer.el (completion-extra-properties): Doc fix.
1049
3d439cd1
CY
1050 * subr.el (delayed-warnings-hook): Doc fix.
1051
2d562c0f
DU
10522012-04-04 Daiki Ueno <ueno@unixuser.org>
1053
1054 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
1055 selection (Bug#11159).
1056 (epa-insert-keys): Inform that the default public key will be
1057 exported if no key is selected.
1058
4443f204
RS
10592012-04-04 Richard Stallman <rms@gnu.org>
1060
1061 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
1062
529c06b6
CY
10632012-04-03 Chong Yidong <cyd@gnu.org>
1064
1065 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
1066 mail-insert-file, not its obsolete alias mail-attach-file.
1067
66b907dc
MA
10682012-04-03 Michael Albinus <michael.albinus@gmx.de>
1069
1070 * notifications.el (notifications-notify): Fix docstring.
1071
c0ea195d
GM
10722012-04-02 Glenn Morris <rgm@gnu.org>
1073
1074 * emacs-lisp/authors.el (authors-aliases): Another addition.
1075
5ca64e00
MA
10762012-04-02 Michael Albinus <michael.albinus@gmx.de>
1077
1078 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
1079 `tramp-compat-call-process' instead of `tramp-local-call-process'.
1080 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
1081
42ee526b
CY
10822012-04-01 Chong Yidong <cyd@gnu.org>
1083
1084 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
1085 Handle root directory properly.
1086 (copy-directory): Caller changed.
1087
1088 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1089 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
1090
0b021094
GM
10912012-03-31 Glenn Morris <rgm@gnu.org>
1092
40f86458
GM
1093 * term/xterm.el (xterm-extra-capabilities): Doc fix.
1094
7019c177
GM
1095 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
1096
a1daddd6
GM
1097 * calendar/calendar.el (calendar-window-list)
1098 (calendar-hide-window): Restore. (Bug#11140)
1099 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
1100
0b021094
GM
1101 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
1102
40311efc
TV
11032012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1104
1105 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
1106 Check if file is a symlink (Bug#10489).
1107
1108 * files.el (copy-directory): Likewise.
1109
5319014e
CY
11102012-03-30 Chong Yidong <cyd@gnu.org>
1111
1112 * image.el (imagemagick-types-inhibit)
1113 (imagemagick-register-types): Doc fix.
1114
935d1290
AM
11152012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1116
ef24141c
SM
1117 * ispell.el (ispell-get-extended-character-mode):
1118 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 1119 and treats ~word as ordinary words in pipe mode.
935d1290 1120
61c6e8fd
GM
11212012-03-30 Glenn Morris <rgm@gnu.org>
1122
1123 * tutorial.el (help-with-tutorial): Ensure local variables don't
1124 happen to make the buffer read-only. (Bug#11127)
1125
81fdff00
SM
11262012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
1127
1128 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
1129 (perl-calculate-indent): Return `noindent' in strings.
1130
6e7a6ec0
SS
11312012-03-28 Sam Steingold <sds@gnu.org>
1132
1133 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
1134 instead of the broken adhockery which does not prevent calendar
1135 buffers from being displayed at random after exit.
1136 (calendar-window-list, calendar-hide-window): Remove the broken
1137 adhockery.
1138
fee88ca0
GM
11392012-03-28 Glenn Morris <rgm@gnu.org>
1140
1141 * replace.el (query-replace-map): Doc fix.
1142
38de3354
AS
11432012-03-28 Andreas Schwab <schwab@linux-m68k.org>
1144
1145 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
1146 contents. (Bug#11109)
1147
b973155e
SM
11482012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
1151 (bug#11077).
1152 (avl-tree--check, avl-tree--check-node): New funs.
1153
dcb6e7b3
MR
11542012-03-27 Martin Rudalics <rudalics@gmx.at>
1155
1156 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
1157 (switch-to-prev-buffer, switch-to-next-buffer):
1158 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
1159 showing a buffer already is done on the same frame.
1160
b4fa35fa
GM
11612012-03-27 Glenn Morris <rgm@gnu.org>
1162
1163 * startup.el (mail-host-address): Doc fix.
1164
f9210e18
SM
11652012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
1168 than 197 variables.
1169
c0bf7753
AF
11702012-03-26 Ami Fischman <ami@fischman.org>
1171
1172 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
1173
33da7b16
GM
11742012-03-26 Glenn Morris <rgm@gnu.org>
1175
02243d9d
GM
1176 * files.el (save-buffers-kill-emacs): Doc fix.
1177
33da7b16
GM
1178 * startup.el (normal-top-level, command-line, command-line-1):
1179 Give them doc strings.
1180
e5a69fd0
EZ
11812012-03-25 Eli Zaretskii <eliz@gnu.org>
1182
1183 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 1184 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 1185
9a69676a
CY
11862012-03-25 Chong Yidong <cyd@gnu.org>
1187
4125cb8b
CY
1188 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
1189 theme if it was previously enabled before (Bug#11031).
1190
dd470960
CY
1191 * cus-theme.el (custom-theme-write-faces): Retrieve current face
1192 spec with custom-face-get-current-spec if its :shown-value is not
1193 determined yet (Bug#9337).
4125cb8b 1194 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 1195
9a69676a
CY
1196 * button.el (button-at): Minor addition to docstring.
1197
6e7e90fa
SL
11982012-03-24 Simon Leinen <simon.leinen@gmail.com>
1199
1200 * vc/vc.el (vc-merge): Fix a prompt.
1201
f06e2758
CY
12022012-03-24 Chong Yidong <cyd@gnu.org>
1203
1204 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
1205 point (Bug#9623).
1206
6e7e90fa
SL
1207 * button.el (button-at): Minor addition to docstring.
1208
b9d0879b
SM
12092012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1210
1211 * newcomment.el (comment-choose-indent): No space after BOL.
1212
e71cebb3
SS
12132012-03-22 Sam Steingold <sds@gnu.org>
1214
1215 * window.el (switch-to-prev-buffer): Revert last patch because the
1216 bug turned out to be an advertised feature (Elisp manual 28.14).
1217
335aff35
GM
12182012-03-22 Glenn Morris <rgm@gnu.org>
1219
1220 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
1221 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
1222
c676576a
LMI
12232012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1224
1225 * net/network-stream.el (network-stream-open-starttls): Make error
1226 message under Windows be less misleading.
1227
126f3d39
LW
12282012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
1229
1230 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
1231 understands (bug#9942).
1232
64fee311
CY
12332012-03-22 Chong Yidong <cyd@gnu.org>
1234
1235 * simple.el (end-of-visible-line): Handle return value of
1236 next-single-property-change properly (Bug#9371).
1237
a640d29a
KH
12382012-03-22 Kenichi Handa <handa@m17n.org>
1239
1240 * international/quail.el (quail-insert-kbd-layout): Fix previous
1241 change. To avoid unwanted bidi reordering, use
1242 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
1243
39675016
DG
12442012-03-21 Dmitry Gutov <dgutov@yandex.ru>
1245
1246 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
1247 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
1248 (ruby-beginning-of-indent): Be more careful with the difference
1249 between word-boundary and symbol boundary.
1250 (ruby-mode-syntax-table): Make : a symbol constituent.
1251
0a6934fc 12522012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 1253
3d008e4f
SM
1254 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
1255
0a6934fc
SM
12562012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1257
af67c9d7
SM
1258 * progmodes/etags.el (tags-completion-at-point-function):
1259 Improve last fix.
1260
1acad97c
SM
1261 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
1262
e298b5da
SS
12632012-03-21 Sam Steingold <sds@gnu.org>
1264
1265 * progmodes/etags.el (tags-completion-at-point-function):
1266 Avoid the error when point is inside the pattern.
1267
91d82a70
JY
12682012-03-21 John Yates <john@yates-sheets.org> (tiny change)
1269
1270 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
1271 line (Bug#10855).
1272
69188b79
CY
12732012-03-21 Drew Adams <drew.adams@oracle.com>
1274
1275 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
1276
99fc91fe
AK
12772012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
1278
1279 * ido.el (ido-set-current-directory, ido-read-internal)
1280 (ido-choose-completion-string, ido-completion-help): Handle nil
1281 value of ido-completion-buffer (Bug#11008).
1282
087bbb4c
SS
12832012-03-21 Sam Steingold <sds@gnu.org>
1284
1285 * window.el (switch-to-prev-buffer): Do not switch to a visible
1286 window previous buffer, just like with the frame previous buffers.
1287
fb5b8aca
CY
12882012-03-21 Chong Yidong <cyd@gnu.org>
1289
1290 * faces.el (make-face, make-empty-face, copy-face):
1291 * face-remap.el (face-remap-add-relative, face-remap-set-base):
1292 Doc fixes.
1293
dc9924b8
SM
12942012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * wid-edit.el (widget-complete-field): Remove (bug#11051).
1297 (widget-complete): Remove broken use of it.
1298
f0bcceb9
CY
12992012-03-20 Chong Yidong <cyd@gnu.org>
1300
dc9924b8
SM
1301 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1302 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
1303 characters.
1304
ee52ebf3
TH
13052012-03-20 Tassilo Horn <tassilo@member.fsf.org>
1306
1307 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
1308 to draw rectangles, not squares. (Regression introduced by revno
1309 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
1310
4c5779ab
CY
13112012-03-18 Chong Yidong <cyd@gnu.org>
1312
1313 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
1314 it is not yet defined (for temacs).
1315
15360934
LL
13162012-03-18 Leo Liu <sdl.web@gmail.com>
1317
dc9924b8 1318 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 1319
d9a8eb66
EZ
13202012-03-17 Eli Zaretskii <eliz@gnu.org>
1321
1322 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
1323 (ispell-choices-win-default-height, ispell-silently-savep)
1324 (ispell-dictionary-alist, ispell-encoding8-command)
1325 (ispell-check-version, ispell-aspell-find-dictionary)
1326 (ispell-valid-dictionary-list, ispell-words-keyword)
1327 (ispell-get-word, ispell-internal-change-dictionary)
1328 (ispell-region, ispell-skip-region-list)
1329 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
1330 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
1331 (ispell-message-text-end, ispell-message)
1332 (ispell-buffer-local-parsing): Doc fix.
1333
f02ff80d
J
13342012-03-13 Jambunathan K <kjambunathan@gmail.com>
1335
1336 * htmlfontify.el: Add support for code block fontification for ODT
1337 export (Bug #9914).
1338 (hfy-optimisations): Define new option
1339 `body-text-only'
1340 (hfy-fontify-buffer): Honor above setting.
1341 (hfy-begin-span, hfy-end-span): New routines factored out form
1342 `hfy-fontify-buffer'.
1343 (hfy-begin-span-handler, hfy-end-span-handler): New variables
1344 that permit insertion of custom tags.
1345 (hfy-fontify-buffer): Use above handlers.
1346 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
1347 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 1348 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 1349 over multiple runs. This is made possible by having the caller let
f02ff80d
J
1350 bind a special variable `hfy-user-sheet-assoc'.
1351 (htmlfontify-string): New defun.
1352 (hfy-compile-face-map): Make sure that the last char in the
1353 buffer is correctly fontified.
1354 (hfy-face-resolve-face): Whitespace only change.
1355
9ac7a13f
EZ
13562012-03-17 Eli Zaretskii <eliz@gnu.org>
1357
1358 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
1359 message more clear.
1360
e2b5bdd7
LL
13612012-03-16 Leo Liu <sdl.web@gmail.com>
1362
1363 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
1364
2e492df3
AM
13652012-03-16 Alan Mackenzie <acm@muc.de>
1366
1367 Further optimise the handling of large macros.
1368
1369 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
1370 limit to a call of `c-literal-limits'.
1371 (c-determine-+ve-limit): New function.
dc9924b8
SM
1372 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
1373 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
1374 In CASE 5B, restrict a search limit to 500.
1375 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
1376
1377 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1378 Restrict macro bounds to +-500 from after-change's BEG END.
1379
50e94f0c
LL
13802012-03-16 Leo Liu <sdl.web@gmail.com>
1381
1382 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
1383
6f09f6ed
AH
13842012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
1385
1386 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 1387 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 1388
c7e73d51
GM
13892012-03-16 Glenn Morris <rgm@gnu.org>
1390
da986230
GM
1391 * view.el (view-buffer, view-buffer-other-window)
1392 (view-buffer-other-frame): Doc fixes re special mode-class.
1393
0835f01e
GM
1394 * subr.el (eval-after-load): If named feature is provided not from
1395 a file, run after-load forms. (Bug#10946)
1396
c7e73d51
GM
1397 * calendar/calendar.el (calendar-insert-at-column):
1398 Handle non-unit-width characters a bit better. (Bug#10978)
1399
3f2eafd1
CY
14002012-03-15 Chong Yidong <cyd@gnu.org>
1401
1402 * emacs-lisp/ring.el (ring-extend): New function.
1403 (ring-insert+extend): Extend the ring correctly (Bug#11019).
1404
1405 * comint.el (comint-read-input-ring)
1406 (comint-add-to-input-history): Grow comint-input-ring lazily.
1407
103af3fe
SM
14082012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
1409
663b1677
SM
1410 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
1411 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
1412
103af3fe
SM
1413 * imenu.el: Fix multiple inheritance breakage (bug#9199).
1414 (imenu-add-to-menubar): Don't add a redundant index.
1415 (imenu-update-menubar): Handle a dynamically composed keymap.
1416
899cb7cb
KY
14172012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
1418
1419 * mail/sendmail.el (mail-encode-header):
1420 Bind rfc2047-encode-encoded-words to nil.
1421
3809f91d
GM
14222012-03-13 Glenn Morris <rgm@gnu.org>
1423
1424 * calendar/calendar.el (calendar-string-spread):
1425 Handle non-unit-width characters a bit better. (Bug#10978)
1426
9e345a01
LL
14272012-03-13 Leo Liu <sdl.web@gmail.com>
1428
1429 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
1430 directory and file as argument (Bug#10822).
1431
4a07df36
KS
14322012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1433
1434 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
1435 For dynamically generated code, follow $PC.
1436 (gdb-disassembly-handler-custom): Handle no function name case.
1437
4aaa9356
TL
14382012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
1439
1440 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
1441 * emulation/ws-mode.el (ws-query-replace):
1442 * sort.el (sort-regexp-fields):
1443 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
1444
225979da
SM
14452012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1446
1447 * dabbrev.el: Fix cycle completion order (bug#10963).
1448 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
1449 (dabbrev-completion): Don't use an obarray; provide
1450 a cycle-sort-function.
1451
e2f1fdab
LL
14522012-03-12 Leo Liu <sdl.web@gmail.com>
1453
dc9924b8 1454 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
1455 (kill-do-not-save-duplicates): Doc fix.
1456
b19490ed
SM
14572012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * dabbrev.el: Fix cycle completion (bug#10963).
1460 Use lexical binding and wrap to 80 columns.
1461 (dabbrev-completion): Delay computing the list of completions.
1462
4b05d722
KH
14632012-03-12 Kenichi Handa <handa@m17n.org>
1464
1465 * international/quail.el (quail-insert-kbd-layout): Surround each
1466 row by LRO and PDF instead of inserting many LRMs. Pad the left
1467 and right of each non-spacing marks. Insert invisible space
1468 between lower and upper characters to prevent composition.
1469
dbbc2e69
SM
14702012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * minibuffer.el (minibuffer-complete): Don't get confused when the
1473 function is run twice via different commands (bug#10958).
1474 (complete-with-action): Fix docstring.
1475
292112ed
CY
14762012-03-12 Chong Yidong <cyd@gnu.org>
1477
5d1ac394
CY
1478 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
1479 (nxml-completion-at-point-function): New function.
1480 (nxml-mode): Use it.
1481 (nxml-bind-meta-tab-to-complete-flag): Default to t.
1482
292112ed
CY
1483 * emacs-lisp/package.el (package-unpack, package-unpack-single):
1484 Load generated autoloads file before byte compiling (Bug#10970).
1485 (package--make-autoloads-and-compile): New helper fun.
1486
4098f8f7
CS
14872012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
1488
1489 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
1490
8f754691
MA
14912012-03-11 Michael Albinus <michael.albinus@gmx.de>
1492
1493 * autorevert.el (auto-revert-handler): Ensure, that
1494 file-readable-p is applied only for local files or in
1495 auto-revert-tail-mode.
1496
e29ab36b
AS
14972012-03-11 Andreas Schwab <schwab@linux-m68k.org>
1498
dbbc2e69
SM
1499 * server.el (server-eval-at): Handle non-tcp connections.
1500 Decode result string.
ad0bf5b6 1501
e29ab36b
AS
1502 * server.el (server-msg-size): New constant.
1503 (server-reply-print): New function.
1504 (server-eval-and-print): Use it.
1505 (server-eval-at): Use server-quote-arg and server-unquote-arg.
1506 Handle -print-nonl.
1507
de5939ba
CS
15082012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
1509
1510 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
1511 (Bug#10987).
1512
0c93eabf
CY
15132012-03-11 Chong Yidong <cyd@gnu.org>
1514
397a688f
CY
1515 * simple.el (goto-line): Doc fix (Bug#9938).
1516
2cc775f9
CY
1517 * subr.el (save-window-excursion): Doc fix (Bug#9979).
1518
0c93eabf
CY
1519 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
1520 when finished (Bug#10963).
1521
c491fa41
MR
15222012-03-11 Martin Rudalics <rudalics@gmx.at>
1523
1524 * window.el (split-window-below): Fix bug in case where
1525 split-window-keep-point is nil (Bug#10971).
1526
300e8fa5
JL
15272012-03-11 Juri Linkov <juri@jurta.org>
1528
1529 * replace.el (replace-highlight): Set isearch-word to nil
1530 unconditionally. (Bug#10887)
1531
dbf6c5a1
EZ
15322012-03-10 Eli Zaretskii <eliz@gnu.org>
1533
1534 * net/mairix.el (mairix-replace-invalid-chars): Rename from
1535 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 1536 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
1537 (mairix-widget-create-query): Add usage information about mairix
1538 search forms: negating words, searching for substrings, etc.
1539
b9e501de
JP
15402012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
1541
1542 * international/fontset.el (font-encoding-alist): Add an entry for
1543 ksx1001 (Bug#5667).
1544
92795c91
RS
15452012-03-10 Richard Stallman <rms@gnu.org>
1546
1694e6c1
RS
1547 * mail/sendmail.el (mail-encode-header):
1548 Set rfc2047-encode-encoded-words.
1549
607e8555
RS
1550 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
1551
de3bc99a
RS
1552 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
1553 view buffer means not swapped.
1554 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
1555 (rmail-write-region-annotate): Error if real text has disappeared.
1556
92795c91
RS
1557 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
1558
699bd04e
CY
15592012-03-10 Chong Yidong <cyd@gnu.org>
1560
1561 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
1562 * emulation/cua-base.el (cua--init-keymaps):
1563 Add delete-forward-char to remappings (Bug#9666).
699bd04e 1564
570a1714
MR
15652012-03-10 Martin Rudalics <rudalics@gmx.at>
1566
dbbc2e69
SM
1567 * speedbar.el (speedbar-unhighlight-one-tag-line):
1568 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 1569
82dcf4e4
CY
15702012-03-10 Chong Yidong <cyd@gnu.org>
1571
7a2c7ca7
CY
1572 * minibuffer.el (completion-in-region, completion-help-at-point):
1573 Give the completion field overlay a high priority (Bug#6830).
1574
82dcf4e4
CY
1575 * dired.el (dired-goto-file): Recognize absolute file name
1576 listings (Bug#7126).
1577 (dired-goto-file-1): New helper function.
1578 (dired-toggle-read-only): Inhibit warnings.
1579
052e28ac
MA
15802012-03-09 Michael Albinus <michael.albinus@gmx.de>
1581
75f1671a 1582 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
1583 there are no properties.
1584
95d5e396
LL
15852012-03-09 Leo Liu <sdl.web@gmail.com>
1586
1587 * savehist.el (savehist-printable): Stricter check for string
1588 value (Bug#10937).
1589
3f018d6d
EZ
15902012-03-09 Eli Zaretskii <eliz@gnu.org>
1591
dbbc2e69
SM
1592 * mail/smtpmail.el (smtpmail-send-it):
1593 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
1594 valid mbox format.
1595
f7fd3d79
GM
15962012-03-09 Glenn Morris <rgm@gnu.org>
1597
1598 * files.el (dir-locals-find-file):
1599 Don't check result is regular, readable.
1600 (dir-locals-read-from-file): Demote errors.
1601
6ff6e72f
EZ
16022012-03-08 Eli Zaretskii <eliz@gnu.org>
1603
dbbc2e69
SM
1604 * international/quail.el (quail-insert-kbd-layout):
1605 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
1606 layout cell, to prevent their reordering by bidi display engine.
1607 For details, see the discussion in
1608 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
1609
9cec7834
AM
16102012-03-08 Alan Mackenzie <acm@muc.de>
1611
1612 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
1613 the starting position; make it extend the marked region when
1614 invoked repeatedly - all under appropriate circumstances.
1615 Fixes bugs #5525, #10906.
1616
9a40b8d4
GM
16172012-03-08 Glenn Morris <rgm@gnu.org>
1618
1619 * files.el (locate-dominating-file, dir-locals-find-file):
1620 Undo 2012-03-06 change.
1621
7a08ed35
EZ
16222012-03-07 Eli Zaretskii <eliz@gnu.org>
1623
dbbc2e69
SM
1624 * international/quail.el (quail-help):
1625 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
1626 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
1627 for the reason.
1628
5aca4f71 16292012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
1630
1631 Avoid superfluous registering of signals. (Bug#10807)
1632
1633 * notifications.el (notifications-on-action-object)
1634 (notifications-on-close-object): New defvars.
1635 (notifications-on-action-signal, notifications-on-closed-signal):
1636 Unregister the signal if not needed any longer.
1637 (notifications-notify): Register `notifications-action-signal' or
1638 `notifications-closed-signal', if :on-action or :on-close has been
1639 passed as argument.
1640
78e8b10a
CY
16412012-03-07 Chong Yidong <cyd@gnu.org>
1642
1643 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
1644 non-X platforms.
1645
69481eb8
GM
16462012-03-06 Glenn Morris <rgm@gnu.org>
1647
1648 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
1649 (x-disown-selection-internal, x-get-selection-internal):
1650 Doc fix (add arglist signatures). (Bug#10783)
1651
133b8e11
KS
16522012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
1653
1654 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1655 Handle breakpoints with no "type".
1656
99a83064
GM
16572012-03-06 Glenn Morris <rgm@gnu.org>
1658
1659 * files.el (locate-dominating-file): Add optional predicate argument.
1660 (dir-locals-find-file): Make use of above change.
1661
17798e78
TTN
16622012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
1663
1664 * info.el (Info-insert-dir): Also try "dir.gz".
1665
eb182446
GM
16662012-03-06 Glenn Morris <rgm@gnu.org>
1667
8f2114ee
GM
1668 * files.el (dir-locals-find-file):
1669 Ignore non-readable or non-regular files. (Bug#10928)
1670
eb182446
GM
1671 * files.el (locate-dominating-file): Doc fix.
1672
24679323
AS
16732012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
1674
1675 * calendar/calendar.el (calendar-set-mode-line):
1676 `getenv' returns a string. (Bug#10951)
1677
01d972a9
LL
16782012-03-05 Leo Liu <sdl.web@gmail.com>
1679
109aa8a9
LL
1680 * simple.el (backward-delete-char-untabify): Constrain point to
1681 field (Bug#10939).
1682
01d972a9
LL
1683 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
1684
10607bea
CY
16852012-03-05 Chong Yidong <cyd@gnu.org>
1686
1687 * simple.el (count-words): If called from Lisp, return the word
1688 count, for symmetry with `count-lines'. Arglist changed.
1689 (count-words--message): Args changed. Consolidate counting code
1690 from count-words and count-words-region.
1691 (count-words-region): Caller changed.
1692 (count-lines-region): Make it an obsolete alias.
1693
5dd11cfe
TH
16942012-03-04 Tassilo Horn <tassilo@member.fsf.org>
1695
1696 * saveplace.el (save-place-to-alist)
1697 (save-place-ignore-files-regexp): Allow value nil to disable this
1698 feature.
1699
c349f4e6
CY
17002012-03-04 Chong Yidong <cyd@gnu.org>
1701
1702 * faces.el (face-spec-reset-face): For the default face, reset the
1703 attributes to default values (Bug#10748).
1704
e627be4c
LMI
17052012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1706
1707 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
1708 previous patch: Check `message-send-mail-function', and not the
1709 default function (bug#10897).
1710
ebeabff4
MA
17112012-03-04 Michael Albinus <michael.albinus@gmx.de>
1712
a41a6cf4
MA
1713 * notifications.el (notifications-on-action-signal)
1714 (notifications-on-closed-signal): Check for unique service name of
1715 incoming event. Fix error in removing entry.
ebeabff4 1716 (top): Register for signals with wildcard service name.
a41a6cf4 1717 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 1718
c1ca42b4
CY
17192012-03-04 Chong Yidong <cyd@gnu.org>
1720
dc9924b8 1721 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 1722
ea16568d
GM
17232012-03-04 Glenn Morris <rgm@gnu.org>
1724
1725 * abbrev.el (copy-abbrev-table, abbrev-table-p)
1726 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
1727 (expand-abbrev, define-abbrev-table): Doc fixes.
1728
fbae4637
LMI
17292012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1730
1731 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
1732 `message-default-send-mail-function' and not `send-mail-function'
1733 when doing the prompting for `sendmail-query-once' before sending
1734 in Message buffers (bug#10897).
1735
a1e7225c
LMI
1736 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
1737 This is inconsistent with all the other stream functions, which leave
1738 the setting up to the higher levels (if so wanted) (bug#10931).
1739
56d093a9
AM
17402012-03-02 Alan Mackenzie <acm@muc.de>
1741
1742 Depessimize the handling of very large macros.
1743
1744 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
1745 (c-macro-cache-syntactic): New variables to implement a one
1746 element macro cache.
1747 (c-invalidate-macro-cache): New function.
1748 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
1749 Adapt to use the new cache.
1750 (c-state-safe-place): Use better the cache of safe positions.
1751 (c-state-semi-nonlit-pos-cache)
1752 (c-state-semi-nonlit-pos-cache-limit):
1753 New variables for...
1754 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
1755 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
1756 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
1757 Use c-state-semi-safe-place.
56d093a9 1758
dbbc2e69
SM
1759 * progmodes/cc-langs.el (c-get-state-before-change-functions):
1760 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 1761
817e5c3d
MA
17622012-03-02 Michael Albinus <michael.albinus@gmx.de>
1763
dbbc2e69
SM
1764 * jka-compr.el (jka-compr-call-process):
1765 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
1766 not remote.
1767
a032a702
MA
17682012-03-01 Michael Albinus <michael.albinus@gmx.de>
1769
1770 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
1771 access of FILE2, if FILE1 does not exist.
1772
99a54f21
MA
1773 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
1774 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
1775
1776 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
1777 Add "PAGER=" to `process-environment'.
1778
f6561e1f
MM
17792012-03-01 Michael R. Mauger <mmaug@yahoo.com>
1780
1781 * progmodes/sql.el: Bug fix
1782 (sql-get-login-ext): Save login values in globals.
1783 (sql-get-login): Use new version of `sql-get-login-ext'.
1784 (sql-interactive-mode): Set global `sql-connection' to nil.
1785 (sql-connect): Set global values for connection.
1786 (sql-product-interactive): Save global values as buffer local.
1787
2d44d9cc
LL
17882012-02-29 Leo Liu <sdl.web@gmail.com>
1789
1790 * abbrev.el (define-abbrevs): Reset sys to nil.
1791
96b49301 17922012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1793
bf7f9bc5
JB
1794 * files.el (file-equal-p): Rename from `files-equal-p'.
1795 Return nil when one or both files don't exist.
96b49301 1796 (file-subdir-of-p): Now only top directory must exists,
1797 return nil if it doesn't.
bf7f9bc5
JB
1798 (copy-directory): No need to test with `file-subdir-of-p' after
1799 creating dir.
1800 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
1801 to `file-equal-p'.
96b49301 1802
44e97401
GM
18032012-02-28 Glenn Morris <rgm@gnu.org>
1804
1805 * shell.el (shell-mode):
1806 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
1807 * play/landmark.el (landmark-font-lock-face-O):
1808 * play/handwrite.el (handwrite):
1809 * play/gomoku.el (gomoku-O):
1810 * net/browse-url.el (browse-url-browser-display):
1811 * international/mule.el (define-charset):
1812 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
1813 * filesets.el (filesets-find-file-delay):
1814 * eshell/em-xtra.el (eshell-xtra):
1815 * eshell/em-unix.el (eshell-grep):
1816 * emulation/viper.el (viper-mode):
1817 * emacs-lisp/regexp-opt.el (regexp-opt-group):
1818 * emacs-lisp/easymenu.el (easy-menu-define):
1819 * calendar/timeclock.el (timeclock-use-display-time):
1820 * bs.el (bs-mode):
1821 * bookmark.el (bookmark-save-flag):
1822 Doc fix (standardize possessive apostrophe usage).
1823
c98c6276
CY
18242012-02-27 Chong Yidong <cyd@gnu.org>
1825
bf7f9bc5
JB
1826 * emulation/viper-cmd.el (viper-intercept-ESC-key):
1827 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 1828
c98c6276
CY
1829 * font-lock.el (font-lock-specified-p): Rename from
1830 font-lock-spec-present. Callers changed.
1831
9c62cd04 18322012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 1833
bf7f9bc5
JB
1834 * emacs-lisp/package.el (package-compute-transaction):
1835 Handle holding a package version to t in package-load-list.
8ac9e529 1836
530739c9
MA
18372012-02-26 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
1840 (tramp-get-inode, tramp-get-device): Use cached values.
1841
487915d7
AM
18422012-02-26 Alan Mackenzie <acm@muc.de>
1843
1844 Check there is a font-lock specification before doing initial
1845 fontification.
1846
1847 * font-core.el (font-lock-mode): Move the conditional from
1848 :after-hook to font-lock-initial-fontify.
1849 (font-lock-default-function): Move the check for a specification
1850 to font-lock-spec-present.
1851
dc9924b8 1852 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
1853 (font-lock-spec-present): New function.
1854
4fd96557
JB
18552012-02-26 Jim Blandy <jimb@red-bean.com>
1856
1857 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
1858 (gdb-send): Apply it to the operand of the '-interpreter-exec
1859 console' command, so that we can pass arguments with (say) quotes
1860 in them. Store exact string sent in gdb-debug-log (Bug#10765).
1861
9a4888c0
CY
18622012-02-26 Chong Yidong <cyd@gnu.org>
1863
07498861
CY
1864 * help-fns.el (describe-function-1): Clarify description of
1865 remapping (Bug#10844).
1866
9a4888c0
CY
1867 * files.el (files-equal-p): Doc fix.
1868 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
1869 and quit the loop once a mismatch is found.
1870
ea8fb88d
JB
18712012-02-25 Juanma Barranquero <lekktu@gmail.com>
1872
1873 * bs.el (bs--show-with-configuration): Don't throw an error
1874 if the window cannot be split; otherwise, subsequent calls to
1875 bs-show fail, restoring a stale window config. (Bug#10882)
1876
525795c1
JD
18772012-02-25 Jan Djärv <jan.h.d@swipnet.se>
1878
1879 * term/ns-win.el (global-map): Bind ns-drag-file to
1880 ns-find-file (Bug#5855, Bug#10050).
1881
f008086f
AS
18822012-02-25 Andreas Schwab <schwab@linux-m68k.org>
1883
1884 * calendar/parse-time.el (parse-time-string): Allow extractor to
1885 return nil.
1886
a3fcfa99
MA
18872012-02-25 Michael Albinus <michael.albinus@gmx.de>
1888
91027d08
JB
1889 * net/tramp.el (tramp-file-name-for-operation):
1890 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
1891
1892 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
1893 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1894 Add COPY-CONTENTS argument.
a3fcfa99 1895
67b0de11
CY
18962012-02-25 Chong Yidong <cyd@gnu.org>
1897
1898 Add custom groups for VC backends, for consistency with vc-bzr.
1899
1900 * vc/vc-arch.el (vc-arch):
1901 * vc/vc-cvs.el (vc-cvs):
1902 * vc/vc-git.el (vc-git):
1903 * vc/vc-hg.el (vc-hg):
1904 * vc/vc-mtn.el (vc-mtn):
1905 * vc/vc-rcs.el (vc-rcs):
1906 * vc/vc-sccs.el (vc-sccs):
1907 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
1908 All relevant defcustoms reassigned.
1909
3c9dfce6
CY
19102012-02-25 Chong Yidong <cyd@gnu.org>
1911
1339bf43
CY
1912 * newcomment.el (comment-styles): Add autoload (Bug#10868).
1913
3c9dfce6
CY
1914 * term/x-win.el (x-initialize-window-system): Reduce default for
1915 x-selection-timeout to 5 seconds (Bug#8869).
1916
25b2e303 19172012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1918
ec70a47d
GM
1919 * files.el (files-equal-p, file-subdir-of-p): New functions.
1920 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 1921 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
1922 * dired-aux.el (dired-copy-file-recursive): Same.
1923 (dired-create-files): Modify destination when source is equal to
1924 dest when copying files.
53a46cd0 1925 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 1926
914260cd
MA
19272012-02-24 Michael Albinus <michael.albinus@gmx.de>
1928
1929 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
1930 (Bug#10874)
1931
2cb228f7
AM
19322012-02-23 Alan Mackenzie <acm@muc.de>
1933
1934 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
1935 parameter "after-hook:" to allow the expansion to run code after
1936 the execution of the mode hooks.
1937
1938 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 1939 from font-lock-mode-internal.
2cb228f7 1940
91027d08 1941 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
1942 :after-hook.
1943
8f0fde21
SM
19442012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1945
3e88618b
SM
1946 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
1947 (completion--cache-all-sorted-completions): New function.
1948 (completion-all-sorted-completions): Use it.
1949 (completion--do-completion, minibuffer-force-complete):
1950 Use it to re-instate the flush hook.
1951
8f0fde21
SM
1952 * icomplete.el (icomplete-completions): Replace last fix with a better
1953 one (bug#10850).
1954
8e911f6f
DG
19552012-02-23 Dmitry Gutov <dgutov@yandex.ru>
1956
1957 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
1958 when it might call us back infinitely (bug#10797).
1959
49fe4321
GM
19602012-02-23 Glenn Morris <rgm@gnu.org>
1961
1962 * minibuffer.el (completion-category-overrides): Doc fix.
1963
b291b572
SM
19642012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * minibuffer.el (completion-table-with-context): Fix inf-loop.
1967 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
1968
31a9ef2e
GM
19692012-02-23 Glenn Morris <rgm@gnu.org>
1970
5e6e6794 1971 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
1972 (authors-obsolete-files-regexps, authors-ignored-files)
1973 (authors-ambiguous-files, authors-renamed-files-alist):
1974 Add more entries.
1975
0bd1e074
JL
19762012-02-23 Juri Linkov <juri@jurta.org>
1977
1978 * isearch.el (isearch-occur): Sync interactive spec with occur's
1979 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
1980
b617673c
JL
1981 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
1982
19e9789e
JL
19832012-02-22 Juri Linkov <juri@jurta.org>
1984
1985 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
1986 (ucs-insert): Doc fix. Check for hex digits in the string.
1987 Don't display `nil' in the error message. (Bug#10857)
1988
f41ce09d
AM
19892012-02-22 Alan Mackenzie <acm@muc.de>
1990
7a71b18d 1991 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 1992
ac2eceee
GM
19932012-02-22 Glenn Morris <rgm@gnu.org>
1994
1995 * ffap.el (ffap-c-path):
1996 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
1997
abd1f678
CY
19982012-02-22 Chong Yidong <cyd@gnu.org>
1999
2000 * custom.el (load-theme): Doc fix.
2001
f25aef2e
GM
20022012-02-22 Glenn Morris <rgm@gnu.org>
2003
2004 * dired-x.el (dired-guess-shell-alist-default):
2005 Remove escape sequences from nroff output. (Bug#172)
2006
5f8dc2ca
GM
20072012-02-21 Glenn Morris <rgm@gnu.org>
2008
6ff86ec4
GM
2009 * vc/emerge.el (emerge-defvar-local):
2010 Set `permanent-local' property rather than unused `preserved'.
2011
be3223a3 2012 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
2013 (picture-mode-map): Use it. (Bug#10860)
2014 (picture-mode): Doc fix.
2015
3fe58f4f
JB
20162012-02-21 Juanma Barranquero <lekktu@gmail.com>
2017
2018 * newcomment.el (uncomment-region-default): Remove unused binding.
2019
f9a998c3
GM
20202012-02-21 Glenn Morris <rgm@gnu.org>
2021
2022 * textmodes/picture.el (picture-motion, picture-motion-reverse)
2023 (picture-self-insert, picture-tab-chars): Doc fix.
2024 (picture-mode-map): Fix C-a, C-e.
2025
c6029348
GM
20262012-02-20 Glenn Morris <rgm@gnu.org>
2027
2028 * emacs-lisp/authors.el (authors-aliases): Add another entry.
2029
ab1ce9d7
LL
20302012-02-20 Leo Liu <sdl.web@gmail.com>
2031
2032 * icomplete.el (icomplete-completions): Check FROM arg before
2033 passing to substring (Bug#10850).
2034
0fd40f89
CY
20352012-02-19 Chong Yidong <cyd@gnu.org>
2036
2037 * comint.el: Require ansi-color.
2038 (comint-output-filter-functions): Add ansi-color-process-output.
2039
2040 * ansi-color.el: Don't set comint-output-filter-functions; it is
2041 now in the initial value defined in comint.el.
2042 (ansi-color-apply-face-function): New variable.
2043 (ansi-color-apply-on-region): Use it.
2044 (ansi-color-apply-overlay-face): New function.
2045
2046 * shell.el (shell): No need to require ansi-color.
2047 (shell-mode): Use ansi-color-apply-face-function to highlight
2048 color escapes using font-lock-face property (Bug#10835).
2049
20af2394
CY
20502012-02-19 Chong Yidong <cyd@gnu.org>
2051
2052 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
2053 mode-line formats (Bug#10839).
2054
e23a3fbe
GM
20552012-02-18 Glenn Morris <rgm@gnu.org>
2056
b474519e
GM
2057 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
2058
2059 * mail/undigest.el (unforward-rmail-message): Doc fix.
2060
e23a3fbe
GM
2061 * saveplace.el (save-place-ignore-files-regexp): Add :version.
2062
57939ff4
EZ
20632012-02-18 Eli Zaretskii <eliz@gnu.org>
2064
2065 * international/characters.el (script-list): Sync with the latest
2066 Unicode Character Database.
2067
0c23686e
AS
20682012-02-18 Andreas Schwab <schwab@linux-m68k.org>
2069
2070 * international/titdic-cnv.el: Remove duplicate coding tag.
2071 * language/cham.el: Likewise.
2072 * language/tai-viet.el: Likewise.
2073
6818b449
GM
20742012-02-18 Glenn Morris <rgm@gnu.org>
2075
2076 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
2077 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
2078 (calendar-bahai-all-holidays-flag, calendar-other-dates):
2079 * calendar/diary-lib.el (diary-abbreviated-year-flag):
2080 * calendar/holidays.el (holiday-bahai-holidays)
2081 (calendar-holidays, list-holidays):
2082 Use utf-8 Bahá'í in doc-strings, menus, etc.
2083
0311a3fc
TH
20842012-02-17 Tassilo Horn <tassilo@member.fsf.org>
2085
2086 * saveplace.el (save-place-ignore-files-regexp): New variable
2087 allowing for excluding files from saving their location of point.
2088 The default value matches the temporary commit message editing
2089 files from Git, SVN, Bazaar, and Mercurial.
2090 (save-place-to-alist): Use it.
2091
eb864a71
LM
20922012-02-17 Lawrence Mitchell <wence@gmx.li>
2093 Stefan Monnier <monnier@iro.umontreal.ca>
2094
2095 * newcomment.el (uncomment-region-default): Don't leave extra space
2096 when an arg is provided (bug#8150).
2097
ee0ce425
TZ
20982012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
2099
eb864a71 2100 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 2101
95ddf442
GM
21022012-02-17 Glenn Morris <rgm@gnu.org>
2103
2104 * net/socks.el: Require network-stream. (Bug#10599)
2105
48dd1e39 21062012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
2107
2108 * international/charprop.el:
2109 * international/uni-name.el:
2110 * international/uni-old-name.el:
2111 * international/uni-comment.el: Regenerate.
2112
d68cd087
GM
21132012-02-16 Glenn Morris <rgm@gnu.org>
2114
2115 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
2116 Interactively in calendar buffer, give an error if not on a date.
2117
13932042
GM
21182012-02-15 Glenn Morris <rgm@gnu.org>
2119
2120 * shell.el (shell-delimiter-argument-list):
2121 Revert 2011-02-17 change. (Bug#8027)
2122
c3a70e2b
CY
21232012-02-15 Chong Yidong <cyd@gnu.org>
2124
60236b0d
CY
2125 * minibuffer.el (completion-at-point-functions): Doc fix.
2126
c3a70e2b
CY
2127 * custom.el (defcustom): Doc fix; note use of defvar.
2128
9f26dc24
GM
21292012-02-15 Glenn Morris <rgm@gnu.org>
2130
2131 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
2132 Doc fixes.
2133
6546b134
GM
21342012-02-14 Glenn Morris <rgm@gnu.org>
2135
2136 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
2137
d29b2b4c
LI
21382012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
2139
2140 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
2141 way the ports list is computed.
835bdcba
LI
2142 (smtpmail-query-smtp-server): Prompt the user for a port number if
2143 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 2144
08dcdbc9
TZ
21452012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
2146
2147 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
2148
2605051a
GM
21492012-02-13 Glenn Morris <rgm@gnu.org>
2150
2151 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
2152
7ee99f32
TZ
21532012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
2154
2155 * net/gnutls.el (gnutls-trustfiles): New variable.
2156 (gnutls-negotiate): Use it.
2157
5f0af64f
LI
21582012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2159
2160 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
2161 does its stuff if Gnus is running.
2162
c14fcc95
AM
21632012-02-13 Alan Mackenzie <acm@muc.de>
2164
2165 Fix a loop in c-set-fl-decl-start.
2166
7a71b18d 2167 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
2168 c-backward-syntactic-ws actually moves backwards.
2169
142b4d90
LL
21702012-02-13 Leo Liu <sdl.web@gmail.com>
2171
2172 * net/rcirc.el (rcirc-markup-attributes): Move point to the
2173 beginning so that all \C-o chars are removed.
2174
fa9958a6
TZ
21752012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
2176
dc9924b8 2177 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 2178
0bc5886a
AM
21792012-02-12 Alan Mackenzie <acm@muc.de>
2180
2181 Fix infinite loop with long macros.
4d6769e1 2182 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 2183
d4bd55e7
CY
21842012-02-12 Chong Yidong <cyd@gnu.org>
2185
2186 * window.el (display-buffer): Doc fix (Bug#10785).
2187
66f3fe22
GM
21882012-02-12 Glenn Morris <rgm@gnu.org>
2189
bd7da63e
GM
2190 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2191 (x-disown-selection-internal, x-get-selection-internal):
2192 Sync docs with the xselect.c versions.
2193
66f3fe22
GM
2194 * allout-widgets.el: Add missing license notice.
2195
3e0d2fa7
GM
21962012-02-11 Glenn Morris <rgm@gnu.org>
2197
cfecdf09
GM
2198 * select.el (x-get-selection-internal, x-own-selection-internal)
2199 (x-disown-selection-internal):
2200 * x-dnd.el (x-get-selection-internal): Update declarations.
2201
6d216d7f
GM
2202 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
2203
2bed3f04
GM
2204 * window.el (window-sides-slots):
2205 * tool-bar.el (tool-bar-position):
2206 * term/xterm.el (xterm-extra-capabilities):
2207 * ses.el (ses-self-reference-early-detection):
2208 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
2209 (verilog-auto-wire-type)
2210 (verilog-auto-delete-trailing-whitespace)
2211 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
2212 (verilog-auto-tieoff-declaration):
2213 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
2214 (sql-oracle-statement-starters, sql-oracle-scan-on):
2215 * progmodes/prolog.el (prolog-align-comments-flag)
2216 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
2217 (prolog-left-indent-regexp, prolog-paren-indent-p)
2218 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
2219 (prolog-types, prolog-mode-specificators)
2220 (prolog-determinism-specificators, prolog-directives)
2221 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
2222 (prolog-electric-dot-flag)
2223 (prolog-electric-dot-full-predicate-template)
2224 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
2225 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
2226 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
2227 (prolog-program-switches, prolog-prompt-regexp)
2228 (prolog-debug-on-string, prolog-debug-off-string)
2229 (prolog-trace-on-string, prolog-trace-off-string)
2230 (prolog-zip-on-string, prolog-zip-off-string)
2231 (prolog-use-standard-consult-compile-method-flag)
2232 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
2233 (prolog-imenu-max-lines, prolog-info-predicate-index)
2234 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
2235 (prolog-char-quote-workaround):
2236 * progmodes/cc-vars.el (c-defun-tactic):
2237 * net/tramp.el (tramp-encoding-command-interactive)
2238 (tramp-local-end-of-line):
2239 * net/soap-client.el (soap-client):
2240 * net/netrc.el (netrc-file):
2241 * net/gnutls.el (gnutls):
2242 * minibuffer.el (completion-category-overrides)
2243 (completion-cycle-threshold)
2244 (completion-pcm-complete-word-inserts-delimiters):
2245 * man.el (Man-name-local-regexp):
2246 * mail/feedmail.el (feedmail-display-full-frame):
2247 * international/characters.el (glyphless-char-display-control):
2248 * eshell/em-ls.el (eshell-ls-date-format):
2249 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
2250 (lisp-lambda-list-keyword-parameter-indentation)
2251 (lisp-lambda-list-keyword-parameter-alignment):
2252 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
2253 * dired-x.el (dired-omit-verbose):
2254 * cus-theme.el (custom-theme-allow-multiple-selections):
2255 * calc/calc.el (calc-highlight-selections-with-faces)
2256 (calc-lu-field-reference, calc-lu-power-reference)
2257 (calc-note-threshold):
2258 * battery.el (battery-mode-line-limit):
2259 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2260 (archive-7z-update):
2261 * allout.el (allout-prefixed-keybindings)
2262 (allout-unprefixed-keybindings)
2263 (allout-inhibit-auto-fill-on-headline)
2264 (allout-flattened-numbering-abbreviation):
2265 * allout-widgets.el (allout-widgets-auto-activation)
2266 (allout-widgets-icons-dark-subdir)
2267 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
2268 (allout-widgets-theme-dark-background)
2269 (allout-widgets-theme-light-background)
2270 (allout-widgets-item-image-properties-emacs)
2271 (allout-widgets-item-image-properties-xemacs)
2272 (allout-widgets-run-unit-tests-on-load)
2273 (allout-widgets-time-decoration-activity)
2274 (allout-widgets-hook-error-post-time)
2275 (allout-widgets-track-decoration):
2276 Add missing :version tags to new defcustoms and defgroups.
2277
5fec1b8e
GM
2278 * progmodes/sql.el (sql-ansi-statement-starters)
2279 (sql-oracle-statement-starters): Add custom type.
2280
3e0d2fa7
GM
2281 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
2282 (prolog-system-version): Give it a type.
2283
90b671e2
EZ
22842012-02-11 Eli Zaretskii <eliz@gnu.org>
2285
2286 * term/pc-win.el (x-select-text, x-selection-owner-p)
2287 (x-own-selection-internal, x-disown-selection-internal)
2288 (x-get-selection-internal): Sync doc strings and argument lists
2289 with xselect.c, common-win.el and x-win.el. (Bug#10783)
2290
5eac0c02
LL
22912012-02-11 Leo Liu <sdl.web@gmail.com>
2292
2293 * progmodes/python.el (python-end-of-statement): Fix infinite
2294 loop. (Bug#10788)
2295
f82cb659
GM
22962012-02-10 Glenn Morris <rgm@gnu.org>
2297
2298 * international/mule-cmds.el (unify-8859-on-encoding-mode)
2299 (unify-8859-on-decoding-mode): Properly mark as obsolete.
2300
cc26d239
LI
23012012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2302
2303 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
2304 about SMTP before checking the From header.
2305
91027d08 2306 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
2307 into own function for reuse by emacsbug.el.
2308
1be3ca5a
LL
23092012-02-10 Leo Liu <sdl.web@gmail.com>
2310
2311 * subr.el (condition-case-unless-debug): Rename from
2312 condition-case-no-debug. All callers changed.
2313 (with-demoted-errors): Fix caller.
2314
2315 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
2316 * nxml/rng-valid.el (rng-do-some-validation):
2317 * emacs-lisp/package.el (package-refresh-contents)
2318 (package-menu-execute):
2319 * desktop.el (desktop-create-buffer):
91027d08 2320 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 2321
b011fbfe
GM
23222012-02-10 Glenn Morris <rgm@gnu.org>
2323
b2096d72
GM
2324 * textmodes/bibtex.el:
2325 Add missing :version tags for new/changed defcustoms.
2326
b011fbfe
GM
2327 * files.el (remote-file-name-inhibit-cache): Doc fixes.
2328
4c7e65bf
LI
23292012-02-09 Lars Ingebrigtsen <larsi@rusty>
2330
2331 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
2332 (smtpmail-via-smtp): Use it, or fall back on the From address.
2333 (smtpmail-send-it): Ditto.
2334
f3934f6f
SM
23352012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2338 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
2339 (byte-compile-tmp-var): New const.
2340 (byte-compile-defvar): Use it to minimize .elc size.
2341 Just use `defvar' rather than simulate it (bug#10761).
2342
a075a2c5
GM
23432012-02-09 Glenn Morris <rgm@gnu.org>
2344
cf3aa21b
GM
2345 * files.el (rename-uniquely): Doc fix. (Bug#3806)
2346
354998cd
GM
2347 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
2348 Add :version tags.
2349
dc9924b8
SM
2350 * progmodes/compile.el (compilation-error-screen-columns)
2351 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 2352
dab3703d
GM
2353 * vc/log-view.el (log-view-toggle-entry-display):
2354 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
2355
3f88cd72
GM
2356 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
2357 (report-emacs-bug-can-use-xdg-email):
2358 (report-emacs-bug-insert-to-mailer): Doc fixes.
2359 (report-emacs-bug): Message fix.
2360
d95b247d
GM
2361 * net/browse-url.el (browse-url-can-use-xdg-open)
2362 (browse-url-xdg-open): Doc fixes.
2363
a075a2c5
GM
2364 * electric.el (electric-indent-mode, electric-pair-mode)
2365 (electric-layout-rules, electric-layout-mode): Doc fixes.
2366 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
2367
ffb6157e
MR
23682012-02-08 Martin Rudalics <rudalics@gmx.at>
2369
2370 * server.el (server-unselect-display): Don't inadvertently kill
2371 the current buffer. (Bug#10729)
2372
e1ac4066
GM
23732012-02-08 Glenn Morris <rgm@gnu.org>
2374
34e8a2da
GM
2375 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
2376 (sql-list-table): Doc fixes.
2377
b4ac6e8c
GM
2378 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
2379 Comment out (does nothing).
2380
e1ac4066
GM
2381 * completion.el (dynamic-completion-mode):
2382 * dirtrack.el (dirtrack-debug-mode):
2383 * electric.el (electric-layout-mode):
2384 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
2385 * face-remap.el (text-scale-mode, buffer-face-mode):
2386 * iimage.el (iimage-mode):
2387 * image-mode.el (image-transform-mode):
2388 * minibuffer.el (completion-in-region-mode):
2389 * scroll-lock.el (scroll-lock-mode):
2390 * simple.el (next-error-follow-minor-mode):
2391 * tar-mode.el (tar-subfile-mode):
2392 * tooltip.el (tooltip-mode):
2393 * vcursor.el (vcursor-use-vcursor-map):
2394 * wid-browse.el (widget-minor-mode):
2395 * emulation/tpu-edt.el (tpu-edt-mode):
2396 * emulation/tpu-extras.el (tpu-cursor-free-mode):
2397 * international/iso-ascii.el (iso-ascii-mode):
2398 * language/thai-util.el (thai-word-mode):
2399 * mail/supercite.el (sc-minor-mode):
2400 * net/goto-addr.el (goto-address-mode):
2401 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
2402 * progmodes/cwarn.el (cwarn-mode):
2403 * progmodes/flymake.el (flymake-mode):
2404 * progmodes/glasses.el (glasses-mode):
2405 * progmodes/hideshow.el (hs-minor-mode):
2406 * progmodes/pascal.el (pascal-outline-mode):
2407 * textmodes/enriched.el (enriched-mode):
2408 * vc/smerge-mode.el (smerge-mode):
2409 Doc fixes (minor mode argument).
2410
5e0d957f
EZ
24112012-02-07 Eli Zaretskii <eliz@gnu.org>
2412
2413 * ls-lisp.el (ls-lisp-sanitize): New function.
2414 (ls-lisp-insert-directory): Use it to fix or remove any elements
2415 in file-alist with missing attributes. (Bug#4673)
2416
98d7371e
AM
24172012-02-07 Alan Mackenzie <acm@muc.de>
2418
2419 Fix spurious recognition of c-in-knr-argdecl.
2420
2421 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
2422 putative K&R region.
2423
667ced3a
AM
24242012-02-07 Alan Mackenzie <acm@muc.de>
2425
eb864a71
LM
2426 * progmodes/cc-engine.el (c-forward-objc-directive):
2427 Prevent looping in "#pragma mark @implementation".
667ced3a 2428
5b77774d
MA
24292012-02-07 Michael Albinus <michael.albinus@gmx.de>
2430
2431 * notifications.el (notifications-on-closed-signal): Make `reason'
2432 optional. (Bug#10744)
2433
af008560
GM
24342012-02-07 Glenn Morris <rgm@gnu.org>
2435
60d47423
GM
2436 * emacs-lisp/easy-mmode.el (define-minor-mode):
2437 Doc fixes for the macro and the mode it defines.
2438
dd605cc4
GM
2439 * image.el (imagemagick-types-inhibit): Doc fix.
2440
af008560
GM
2441 * cus-start.el (imagemagick-render-type): Add it.
2442
5cc59a37
LI
24432012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
2444
4d6769e1
JB
2445 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
2446 Set the default at load time, too, so that `font-lock-fontify-buffer'
2447 can be called without setting up the entire mode first. This fixes
2448 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 2449
9a6dd747
CY
24502012-02-06 Chong Yidong <cyd@gnu.org>
2451
2d16b285
CY
2452 * simple.el (list-processes--refresh): Delete exited processes
2453 (Bug#8094).
2454
171e9b6e
CY
2455 * comint.el (comint-next-prompt): next-single-char-property-change
2456 and prev-single-char-property-change never return nil (Bug#8657).
2457
9a6dd747
CY
2458 * custom.el (defcustom): Doc fix (Bug#9711).
2459
aa4589a7
CY
24602012-02-05 Chong Yidong <cyd@gnu.org>
2461
5c2a252f
CY
2462 * cus-edit.el (custom-variable-reset-backup): Quote the value
2463 before storing it in the customized-value property (Bug#6712).
4aab9006 2464 (custom-display): Add a customization type tag.
983b9602 2465 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 2466
aa4589a7
CY
2467 * wid-edit.el (widget-field-value-get): New optional arg to
2468 suppress trailing whitespace truncation.
2469 (character): Use it (Bug#2689).
2470
1ff980ae
AS
24712012-02-05 Andreas Schwab <schwab@linux-m68k.org>
2472
2473 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
2474 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2475
03988c98
CY
24762012-02-05 Chong Yidong <cyd@gnu.org>
2477
eeb6cc88
CY
2478 * cus-edit.el (custom-variable-value-create): For mismatched
2479 types, show the current value (Bug#7600).
2480
03988c98
CY
2481 * custom.el (defcustom): Doc fix.
2482
f8cdeef0
GM
24832012-02-05 Glenn Morris <rgm@gnu.org>
2484
2485 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2486
0696d255
JB
24872012-02-05 Juanma Barranquero <lekktu@gmail.com>
2488
2489 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
2490 (pp-buffer): Use `ignore-errors', `looking-at-p'.
2491 (pp-last-sexp): Use `looking-at-p'.
2492
34c99998
GM
24932012-02-04 Glenn Morris <rgm@gnu.org>
2494
8f05da42
GM
2495 * files.el (revert-buffer):
2496 Doc fix (mention revert-buffer-in-progress-p).
2497
f160676e
GM
2498 * emacs-lisp/ert-x.el (ert-simulate-command):
2499 Check deferred-action-list (which is obsolete) is bound.
2500
c7291ad9
GM
2501 * subr.el (with-wrapper-hook): Doc fixes.
2502
34c99998
GM
2503 * simple.el (filter-buffer-substring-functions)
2504 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
2505
6283a7d3
LL
25062012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
2507
2508 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
2509 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2510
e96e3013
LL
25112012-02-04 Leo Liu <sdl.web@gmail.com>
2512
2513 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
2514
8ded50f2
GM
25152012-02-04 Glenn Morris <rgm@gnu.org>
2516
82ff1d13
GM
2517 * image.el (image-extension-data): Add obsolete alias.
2518
987a0a16
GM
2519 * isearch.el (isearch-update): Doc fix.
2520
ea32ef46
GM
2521 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2522
8ded50f2
GM
2523 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2524
eea14f31
GM
25252012-02-03 Glenn Morris <rgm@gnu.org>
2526
2527 * image.el (image-animated-p): Doc fix. Use image-animated-types.
2528 (image-animate-timeout): Doc fix.
2529
2530 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
2531
12f381b7
GM
25322012-02-02 Glenn Morris <rgm@gnu.org>
2533
953cebf5
GM
2534 * server.el (server-auth-dir): Doc fix.
2535 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
2536
12f381b7
GM
2537 * subr.el (run-mode-hooks): Doc fix.
2538
953a8c3b
JL
25392012-02-02 Juri Linkov <juri@jurta.org>
2540
2541 * image-mode.el (image-toggle-display-image): Remove tautological
2542 `major-mode' from the `derived-mode-p' test.
2543
c5d3843c
KH
25442012-02-02 Kenichi Handa <handa@m17n.org>
2545
9f6e692e 2546 * composite.el (compose-region): Cancel previous change.
c5d3843c 2547
159462d4 25482012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
2549
2550 * composite.el (compose-region, compose-string): Signal error for
2551 a null string component (Bug#6988).
2552
9f562668
CY
25532012-02-01 Chong Yidong <cyd@gnu.org>
2554
e2cef717
CY
2555 * view.el (view-buffer-other-window, view-buffer-other-frame):
2556 Handle special modes like view-buffer (Bug#10650).
2557 (view-buffer): Simplify.
2558
9f562668
CY
2559 * frame.el (set-frame-font): Tweak meaning of third argument.
2560
9f6e692e
JB
2561 * dynamic-setting.el (font-setting-change-default-font):
2562 Use set-frame-font (Bug#9982).
9f562668 2563
781acb9f
GM
25642012-02-01 Glenn Morris <rgm@gnu.org>
2565
6035be52
GM
2566 * progmodes/compile.el (compilation-internal-error-properties):
2567 Respect compilation-first-column in the "*compilation*" buffer.
2568
781acb9f
GM
2569 * emacs-lisp/easy-mmode.el (define-minor-mode):
2570 Relax :variable's test for a named function.
2571
abbceb00
AM
25722012-01-31 Alan Mackenzie <acm@muc.de>
2573
2574 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
2575 off by one error.
2576
fce3fdeb
CY
25772012-01-31 Chong Yidong <cyd@gnu.org>
2578
2579 * frame.el (set-frame-font): New arg ALL-FRAMES.
2580
2581 * menu-bar.el (menu-set-font): Use set-frame-font.
2582
2583 * faces.el (face-spec-reset-face): Don't apply unspecified
2584 attribute values to the default face.
2585
47893581
JB
25862012-01-31 Juanma Barranquero <lekktu@gmail.com>
2587
2588 * progmodes/cwarn.el (cwarn): Remove dead link.
2589 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
2590 Remove * from defcustom docstrings.
2591 (turn-on-cwarn-mode): Make obsolete.
2592 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
2593 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2594
e58e988a
GM
25952012-01-31 Glenn Morris <rgm@gnu.org>
2596
60dc2671 2597 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 2598 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 2599 Allow named functions to be used as the cdr of :variable.
e58e988a 2600
7a3f511d
GM
26012012-01-30 Glenn Morris <rgm@gnu.org>
2602
2603 * emacs-lisp/authors.el (authors-fixed-entries):
2604 Remove reference to deleted file rnewspost.el.
2605
cb882333
JB
26062012-01-29 Juanma Barranquero <lekktu@gmail.com>
2607
2608 * window.el (window-with-parameter): Remove unused variable `windows'.
2609 (window--side-check): Remove unused variable `code'.
2610 (window--resize-siblings): Remove unused variable `first'.
2611 (adjust-window-trailing-edge): Remove unused variable `failed'.
2612 (window-deletable-p, window--delete): Remove unused variable `buffer'.
2613 Use `let', not `let*'.
2614 (balance-windows-2): Remove unused variable `found'.
2615 (window--state-put-2): Remove unused variable `splits'.
2616 (window-state-put): Remove unused variable `selected'.
2617 (same-window-p): Use `string-match-p'.
2618 (display-buffer-assq-regexp): Remove unused variable `value'.
2619 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2620 Mark argument ALIST as ignored.
2621 (pop-to-buffer): Remove unused variable `old-window'.
2622
907201af
EZ
26232012-01-29 Eli Zaretskii <eliz@gnu.org>
2624
2625 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
2626 and .lzma compressed files.
2627
ea162670
CY
26282012-01-29 Chong Yidong <cyd@gnu.org>
2629
5b95ee8a
CY
2630 * frame.el (window-system-default-frame-alist): Doc fix.
2631
ea162670
CY
2632 * dynamic-setting.el (font-setting-change-default-font): Don't
2633 change the default face if SET-FONT argument is non-nil (Bug#9982).
2634
d6e6f4b1
SB
26352012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
2636
2637 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2638
0f29fa41 26392012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
2640
2641 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
2642 breakpoints in files outside current directory (Bug#6098).
2643
db174434
CY
26442012-01-29 Chong Yidong <cyd@gnu.org>
2645
6b25e4e2
SE
2646 * progmodes/python.el: Require ansi-color at top-level.
2647
6df6ae42
JB
2648 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
2649 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
2650 (lisp-mode-abbrev-table): Add doc.
2651 (lisp-mode-variables): Don't set local-abbrev-table.
2652 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
2653
e70ee681
RW
26542012-01-28 Roland Winkler <winkler@gnu.org>
2655
2656 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2657
ace88aa2
RW
26582012-01-28 Roland Winkler <winkler@gnu.org>
2659
2660 * textmodes/bibtex.el (bibtex-entry-alist): New function.
2661 (bibtex-set-dialect): Use it. Either set global values of
2662 dialect-dependent variables or bind these variables buffer-locally
2663 (Bug#10254).
2664 (bibtex-mode): Call bibtex-set-dialect via
2665 hack-local-variables-hook.
eb864a71
LM
2666 (bibtex-dialect): Update docstring.
2667 Add safe-local-variable predicate.
ace88aa2
RW
2668 (bibtex-entry-alist, bibtex-field-alist): Initialize via
2669 bibtex-set-dialect.
2670 (bibtex-mode-map): Define menu for each dialect.
2671 (bibtex-entry): Fix docstring.
2672
93376c5b
CY
26732012-01-28 Chong Yidong <cyd@gnu.org>
2674
2675 * eshell/esh-arg.el (eshell-quote-argument): New function.
2676
2677 * eshell/esh-ext.el (eshell-invoke-batch-file):
2678 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
2679 first arg to eshell-parse-command (Bug#10523).
2680
4372494f
DA
26812012-01-28 Drew Adams <drew.adams@oracle.com>
2682
2683 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
2684 `default-directory' is non-nil.
2685
4d4ec1f8
EZ
26862012-01-28 Eli Zaretskii <eliz@gnu.org>
2687
2688 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
2689 line that displays system-configuration-options. (Bug#9924)
2690
7c188927
DA
26912012-01-28 Drew Adams <drew.adams@oracle.com>
2692
2693 * descr-text.el (describe-char): Show information about POS, in
2694 addition to information about the character at POS. Improve and
2695 update the doc string. Change "code point" to "code point in
2696 charset", to avoid confusion with the character's Unicode code
2697 point shown above that. (Bug#10129)
2698
e0da685a
EZ
26992012-01-28 Eli Zaretskii <eliz@gnu.org>
2700
2701 * descr-text.el (describe-char): Show the raw character, not only
2702 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
2703 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
2704 for the reasons.
2705
70550acf
PH
27062012-01-28 Phil Hagelberg <phil@hagelb.org>
2707
eb864a71
LM
2708 * emacs-lisp/package.el (package-install):
2709 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 2710
0ce8e868
CY
27112012-01-28 Chong Yidong <cyd@gnu.org>
2712
cb882333
JB
2713 * emacs-lisp/package.el (package-maybe-load-descriptor):
2714 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
2715 (package-maybe-load-descriptor): Use it.
2716 (package-download-transaction): Fully load required packages
2717 inside the loop, so that `require' calls work (Bug#10593).
2718 (package-install): No need to call package-initialize now.
2719
2e7f3bea
CY
27202012-01-28 Chong Yidong <cyd@gnu.org>
2721
6e9bad14
CY
2722 * simple.el (deactivate-mark): Doc fix (Bug#8614).
2723
f823b8ca
CY
2724 * tooltip.el (tooltip-mode): Doc fix.
2725 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
2726
2680c309
CY
2727 * frame.el (set-cursor-color): Doc fix (Bug#352).
2728
d7a9e63b
CY
2729 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
2730 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
2731
2e7f3bea
CY
2732 * cus-edit.el (custom-buffer-create-internal): Fix search button
2733 action (Bug#10542).
2ae01800 2734 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 2735
fc4f7a23
EW
27362012-01-27 Eduard Wiebe <usenet@pusto.de>
2737
2738 * dired.el (dired-mark-files-regexp):
2739 Include any subdirectory components. (Bug#10445)
2740
7dd37071
ML
27412012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
2742
2743 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
2744 Handle [host]:port syntax. (Bug#10533)
2745
a268160b
AH
27462012-01-27 Alex Harsanyi <harsanyi@mac.com>
2747
2748 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
2749
e43273ef
GM
27502012-01-26 Glenn Morris <rgm@gnu.org>
2751
2752 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
2753 * term.el (term-raw-escape-map): Use Control-X-prefix.
2754 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
2755
1edf595d
MR
27562012-01-25 Martin Rudalics <rudalics@gmx.at>
2757
2758 * window.el (window-state-get, window--state-get-1): Don't deal
2759 with fixed-sizeness of windows. Simplify code.
2760
fa8eafef
JC
27612012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
2762
6df6ae42
JB
2763 * window.el (window--state-get-1, window--state-put-2):
2764 Don't save and restore the mark.
fa8eafef 2765
0b21c100
CY
27662012-01-25 Chong Yidong <cyd@gnu.org>
2767
2768 * custom.el (custom-variable-p): Doc fix.
2769
5ae1a6c8
GM
27702012-01-25 Glenn Morris <rgm@gnu.org>
2771
40047858
GM
2772 * dired.el (dired-goto-file): Handle some of the more common
2773 characters that `ls -b' escapes. (Bug#10596)
2774
5ddce96c
GM
2775 * progmodes/compile.el (compilation-next-error-function):
2776 Respect compilation-first-column in the "*compilation*" buffer.
2777 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
2778
5ae1a6c8
GM
2779 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
2780
b559f1a9
GM
27812012-01-24 Glenn Morris <rgm@gnu.org>
2782
2783 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
2784
6725d21a
JD
27852012-01-24 Julien Danjou <julien@danjou.info>
2786
2787 * color.el (color-rgb-to-hsl): Fix value computing.
2788 (color-hue-to-rgb): New function.
2789 (color-hsl-to-rgb): New function.
2790 (color-clamp, color-saturate-hsl, color-saturate-name)
2791 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2792 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
2793
70df4bbe
GM
27942012-01-24 Glenn Morris <rgm@gnu.org>
2795
2796 * vc/vc-rcs.el (vc-rcs-create-tag):
2797 * vc/vc-sccs.el (vc-sccs-create-tag):
2798 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
2799
802a2ae2
ML
28002012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
2801
2802 * eshell/esh-util.el (eshell-read-hosts-file):
2803 Skip comment lines. (Bug#10549)
2804
d7128bb1
ML
2805 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
2806
d1a5c3b4
JB
28072012-01-23 Juanma Barranquero <lekktu@gmail.com>
2808
2724d9c7
JB
2809 * subr.el (display-delayed-warnings): Doc fix.
2810 (collapse-delayed-warnings): New function to collapse identical
2811 adjacent warnings.
2812 (delayed-warnings-hook): Add it.
d1a5c3b4 2813
a5509865
MA
28142012-01-22 Michael Albinus <michael.albinus@gmx.de>
2815
2816 * net/tramp.el (tramp-action-login): Set connection property "login-as".
2817
2818 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
2819 properties, when "login-as" is set.
2820
2821 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
2822 (tramp-default-user-alist): Don't add "pscp".
2823 (tramp-do-copy-or-rename-file-out-of-band): Use connection
2824 property "login-as", if set. (Bug#10530)
2825
cc6d5805
MA
28262012-01-21 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
2829 "plink1" and "psftp". (Bug#10530)
2830
28312012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
2832
2833 * international/mule-cmds.el (prefer-coding-system): Show a
2834 warning message if the default value of file-name-coding-system
2835 was not changed.
2836
f0960428
JC
28372012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
2838
cb882333
JB
2839 * windmove.el (windmove-reference-loc):
2840 Fix windmove-reference-loc miscalculation.
f0960428 2841
dd6f2a63
JB
28422012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2843
2844 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
2845 default unit.
2846
7b447e9b
GM
28472012-01-21 Glenn Morris <rgm@gnu.org>
2848
117a9ea1
GM
2849 * international/mule.el (auto-coding-alist): Add .tbz.
2850
7b447e9b
GM
2851 * files.el (local-enable-local-variables): Doc fix.
2852 (inhibit-local-variables-regexps): Rename from
2853 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
2854 Doc fix. Add some extensions from auto-coding-alist.
2855 (inhibit-local-variables-suffixes):
2856 Rename from inhibit-first-line-modes-suffixes. Doc fix.
2857 (inhibit-local-variables-p):
2858 New function, extracted from set-auto-mode-1.
2859 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
2860 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
2861 (hack-local-variables): Doc fix. Make the mode-only case
2862 respect enable-local-variables and friends.
2863 Respect inhibit-local-variables-regexps for file-locals, but
2864 not for directory-locals.
2865 (set-visited-file-name):
2866 Take account of inhibit-local-variables-regexps.
2867 Whether it applies may change as the file name is changed.
2868 * jka-cmpr-hook.el (jka-compr-install):
2869 * jka-compr.el (jka-compr-uninstall):
2870 Update for inhibit-first-line-modes-suffixes name change.
2871
dd6e3cdd
MR
28722012-01-20 Martin Rudalics <rudalics@gmx.at>
2873
2874 * help-macro.el (make-help-screen): Temporarily restore original
2875 binding for minor-mode-map-alist (Bug#10454).
2876
0d0deb38
JD
28772012-01-19 Julien Danjou <julien@danjou.info>
2878
2879 * color.el (color-name-to-rgb): Use the white color to find the max
2880 color component value and return correctly computed values.
2881 (color-name-to-rgb): Add missing float conversion for max value.
2882
34a02f46
MR
28832012-01-19 Martin Rudalics <rudalics@gmx.at>
2884
2885 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
2886 special state value for window-persistent-parameters.
2887 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
2888 (window--state-put-2): Reset all window parameters to nil before
2889 assigning values of persistent parameters.
2890
606c44c4
AM
28912012-01-18 Alan Mackenzie <acm@muc.de>
2892
2893 Eliminate sluggishness and hangs in fontification of "semicolon
2894 deserts".
2895
cb882333
JB
2896 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
2897 Change value 10000 -> 3000.
606c44c4
AM
2898 (c-state-safe-place): Reformulate so it doesn't stack up an
2899 infinite number of wrong entries in c-state-nonlit-pos-cache.
2900 (c-determine-limit-get-base, c-determine-limit): New functions to
2901 determine backward search limits disregarding literals.
2902 (c-find-decl-spots): Amend commenting.
2903 (c-cheap-inside-bracelist-p): New function which detects "={".
2904
2905 * progmodes/cc-fonts.el
2906 (c-make-font-lock-BO-decl-search-function): Give a limit to a
2907 backward search.
2908 (c-font-lock-declarations): Fix an occurrence of point being
2909 undefined. Check additionally for point being in a bracelist or
2910 near a macro invocation without a semicolon so as to avoid a
2911 fruitless time consuming search for a declarator. Give a more
2912 precise search limit for declarators using the new
2913 c-determine-limit.
2914
f3860cea
GM
29152012-01-18 Glenn Morris <rgm@gnu.org>
2916
2917 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
2918 (set-auto-mode): Doc fixes.
2919
1db03b16
GM
29202012-01-17 Glenn Morris <rgm@gnu.org>
2921
0e6038be
GM
2922 * isearch.el (search-nonincremental-instead): Fix doc typo.
2923
1db03b16
GM
2924 * dired.el (dired-insert-directory): Handle newlines in directory name.
2925 (dired-build-subdir-alist): Unescape newlines in directory name.
2926
4cb0aa75
MA
29272012-01-17 Michael Albinus <michael.albinus@gmx.de>
2928
2929 * net/tramp.el (tramp-local-end-of-line): New defcustom.
2930 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
2931 (tramp-action-terminal): Use it. (Bug#10530)
2932
1d00653d
SM
29332012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2934
2935 * minibuffer.el (completion--replace): Strip properties (bug#10062).
2936
6a6ee00d
MR
29372012-01-16 Martin Rudalics <rudalics@gmx.at>
2938
2939 * window.el (window-state-ignored-parameters): Remove variable.
2940 (window--state-get-1): Rename argument MARKERS to IGNORE.
2941 Handle persistent window parameters. Make copy of clone-of
2942 parameter only if requested. (Bug#10348)
2943 (window--state-put-2): Install a window parameter only if it has
2944 a non-nil value or an existing parameter shall be overwritten.
2945
97912def
MA
29462012-01-15 Michael Albinus <michael.albinus@gmx.de>
2947
2948 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
2949
688070a5
EZ
29502012-01-14 Eli Zaretskii <eliz@gnu.org>
2951
2952 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
2953 don't pass the (nil) value of `upnode' to string-match.
2954
301afadc
CY
29552012-01-14 Chong Yidong <cyd@gnu.org>
2956
2957 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 2958 Fix values recognized by the cursorBlink resource.
301afadc 2959
9e5788aa
PE
29602012-01-14 Paul Eggert <eggert@cs.ucla.edu>
2961
2962 * epg.el (epg--make-temp-file): Avoid permission race condition
2963 when running on old Emacs versions (bug#10403).
2964
3cdb7f5a
GM
29652012-01-14 Glenn Morris <rgm@gnu.org>
2966
2967 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
2968
8c82b1b4
AM
29692012-01-13 Alan Mackenzie <acm@muc.de>
2970
2971 Fix filling for when filladapt mode is enabled.
2972
2973 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
2974 c-mask-paragraph, pass in `fill-paragraph' rather than
2975 `fill-region-as-paragraph'. (This is a reversion of a previous
2976 change.)
eb864a71
LM
2977 * progmodes/cc-mode.el (c-basic-common-init):
2978 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 2979
e517eda4
GM
29802012-01-13 Glenn Morris <rgm@gnu.org>
2981
1498536e
GM
2982 * dired.el (dired-switches-escape-p): New function.
2983 (dired-insert-directory): Use dired-switches-escape-p.
2984 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
2985
e517eda4
GM
2986 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
2987
328f984d
GM
29882012-01-12 Glenn Morris <rgm@gnu.org>
2989
2990 * mail/sendmail.el (mail-mode): Update paragraph-separate for
2991 changes in adaptive-fill-regexp. (Bug#10276)
2992
2cc769a8
AM
29932012-01-11 Alan Mackenzie <acm@muc.de>
2994
2995 Fix Emacs bug #10463 - put `widen's around the critical spots.
2996
1d00653d 2997 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
2998 widen around each invocation of c-state-pp-to-literal. Remove an
2999 unused let variable.
3000
e52c37fa
GM
30012012-01-11 Glenn Morris <rgm@gnu.org>
3002
3003 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 3004 Doc fix.
e52c37fa 3005
96f8741e
CY
30062012-01-10 Chong Yidong <cyd@gnu.org>
3007
1d00653d
SM
3008 * net/network-stream.el (network-stream-open-starttls):
3009 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
3010 response to the capability command.
3011
b09a806e
GM
30122012-01-10 Glenn Morris <rgm@gnu.org>
3013
3014 * mail/unrmail.el (unrmail): Tweak previous change.
3015
7655cb66
CY
30162012-01-09 Chong Yidong <cyd@gnu.org>
3017
3018 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
3019
9d5a8f0b
AM
30202012-01-08 Alan Mackenzie <acm@muc.de>
3021
3022 Optimise font locking in long enum definitions.
3023
3024 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
3025 arm to a cond form to handle enums.
3026 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
3027 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
3028
9a0115ab 30292012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
3030
3031 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 3032 (Bug#10401)
6bb72cbd 3033
f186bb95
LMI
30342012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3035
29232a68
LMI
3036 * faces.el (set-face-attribute): Clarify the meaning of the nil
3037 frame (bug#10294).
3038
4e5d086d
LMI
3039 * subr.el (with-selected-frame): Mention that the selected frame
3040 is restored (bug#9980).
3041
8e66aebe
LMI
3042 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
3043 (bug#9759).
3044
cd394be1 3045 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
3046 (password-read): Don't autoload unused function.
3047
adf4e762
JB
30482012-01-07 Juanma Barranquero <lekktu@gmail.com>
3049
3050 * progmodes/which-func.el (which-func-mode): Turn into a
3051 non-interactive function and mark as obsolete (bug#10428).
3052
89bd9ccd
CY
30532012-01-06 Chong Yidong <cyd@gnu.org>
3054
3055 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
3056 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
3057 functions, along with 1 and -1.
3058
4afee9d5
EZ
30592012-01-06 Eli Zaretskii <eliz@gnu.org>
3060
3061 * time.el (display-time-load-average)
3062 (display-time-default-load-average): Doc fixes. See the thread
3063 starting at
3064 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
3065 for the details.
3066
536aea70
GM
30672012-01-06 Glenn Morris <rgm@gnu.org>
3068
665ae865
GM
3069 * mail/unrmail.el (unrmail): Give an explicit error if the input file
3070 has no messages. (Bug#10377)
3071
c869783d
GM
3072 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
3073 than Info-edit. (Bug#10385)
3074
2bb4227e
GM
3075 * time.el (display-time-load-average, display-time-next-load-average):
3076 Doc fixes.
3077
7d5944b9
GM
3078 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
3079 local setting of buffer-read-only to the input buffer. (Bug#10419)
3080
536aea70
GM
3081 * calendar/calendar.el (calendar-mode):
3082 Locally set scroll-margin to 0. (Bug#10379)
3083
7dccca16
UM
30842012-01-06 Ulrich Mueller <ulm@gentoo.org>
3085
3086 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
3087
afbb7930
GM
30882012-01-05 Glenn Morris <rgm@gnu.org>
3089
3090 * eshell/em-unix.el (diff-no-select): Autoload it.
3091 (eshell/diff): Use diff-no-select. (Bug#10420)
3092
04482335
CY
30932012-01-05 Chong Yidong <cyd@gnu.org>
3094
7baca3bc
CY
3095 * shell.el (shell-dynamic-complete-functions): Revert last change.
3096 (shell-command-completion-function): New function.
3097 (shell-completion-vars): Use it to implement
3098 shell-completion-execonly (Bug#10417).
3099
04482335
CY
3100 * custom.el (enable-theme): Don't set custom-safe-themes.
3101
1d00653d
SM
3102 * cus-theme.el (custom-theme-merge-theme):
3103 Ignore custom-enabled-themes and custom-safe-themes.
04482335 3104
bb5aa5d6
MM
31052012-01-05 Michael R. Mauger <mmaug@yahoo.com>
3106
3107 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
3108 first prompt in `sql-interacive-mode'.
3109 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 3110 keywords.
6df6ae42 3111 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
3112 (sql-product-interactive): Bug fix: Set `sql-buffer' in
3113 context of original buffer. Invoke `sql-login-hook'.
3114
a7183d7c
EZ
31152012-01-04 Eli Zaretskii <eliz@gnu.org>
3116
3117 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
3118 letters in cite-prefix.
3119
a1eacd1e
LMI
31202012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3121
3122 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
3123
787cdb34
CY
31242012-01-03 Chong Yidong <cyd@gnu.org>
3125
1d00653d
SM
3126 * shell.el (shell-dynamic-complete-functions):
3127 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
3128 comint-filename-completion first (Bug#10417).
3129
30710442
RS
31302012-01-02 Richard Stallman <rms@gnu.org>
3131
3132 * battery.el (battery-status-function):
3133 Detect when to use battery-yeeloong-sysfs.
3134 (battery-echo-area-format): Add string for Yeeloong.
3135 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
3136 (battery-yeeloong-sysfs): New function.
3137
f75bfc33
CY
31382012-01-02 Chong Yidong <cyd@gnu.org>
3139
3140 * dirtrack.el (dirtrack-list): Eliminate unused third element.
3141 (dirtrack): Merge code for handling relative filenames in prompt
3142 from shell-dir-cookie-watcher.
3143 (dirtrack-debug-message): New arg to avoid excess format calls.
3144
3145 * shell.el (shell-dir-cookie-re): Variable deleted.
3146 (shell-dir-cookie-watcher): Function deleted.
3147 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
3148 with dirtrack-mode.
3149
651e947e
EZ
31502012-01-01 Eli Zaretskii <eliz@gnu.org>
3151
1d00653d
SM
3152 * term/w32-win.el (dynamic-library-alist) <gnutls>:
3153 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
3154 libgnutls-26.dll.
3155
94d4c7dc
AS
31562011-12-31 Andreas Schwab <schwab@linux-m68k.org>
3157
3158 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
3159
8d43f3cd
EZ
31602011-12-31 Eli Zaretskii <eliz@gnu.org>
3161
3162 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
3163 headers of non-MIME messages, when rmail-enable-mime is non-nil.
3164
98c8795a
MA
31652011-12-29 Michael Albinus <michael.albinus@gmx.de>
3166
3167 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
3168 also for alternative shells.
3169 (tramp-open-connection-setup-interactive-shell): Check, whether
3170 the shell is a busybox.
3171 (tramp-send-command): Don't suppress multiple prompts for
3172 busyboxes, it hurts.
3173
51281b32
CY
31742011-12-28 Chong Yidong <cyd@gnu.org>
3175
3176 * progmodes/gdb-mi.el (gdb-get-source-file-list)
3177 (gdb-get-source-file): Move mode line update to
3178 gdb-get-source-file (Bug#10087).
3179
2170cb53
CY
31802011-12-25 Chong Yidong <cyd@gnu.org>
3181
3182 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
3183 gud-gdb-marker-filter without taking it as an argument.
3184 (gud-gdb-run-command-fetch-lines): Caller changed.
3185 (gud-gdb-completion-function): New variable.
3186 (gud-gdb-completion-at-point): Use it.
3187 (gud-gdb-completions-1): Split from gud-gdb-completions.
3188
3189 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
3190 function as separate arguments.
3191 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
3192 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
3193 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
3194 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
3195 (gdb-stopped, def-gdb-auto-update-trigger)
3196 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
3197 (gdb-get-changed-registers, gdb-get-main-selected-frame):
3198 Callers changed.
2170cb53
CY
3199 (gud-gdbmi-completions): New function.
3200 (gdb): Use it for generating the completion table.
3201
be8b11bb
AM
32022011-12-24 Alan Mackenzie <acm@muc.de>
3203
3204 Introduce a mechanism to widen the region used in context font
1d00653d 3205 locking. Use this to protect declarations from losing their contexts.
be8b11bb 3206
1d00653d
SM
3207 * progmodes/cc-langs.el (c-before-font-lock-functions):
3208 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 3209 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
3210 functions to be run just before context (etc.) font locking.
3211
3212 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 3213 New, functionality extracted from
be8b11bb 3214 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 3215 (c-in-after-change-fontification): New variable.
be8b11bb
AM
3216 (c-after-change): Set c-in-after-change-fontification.
3217 (c-set-fl-decl-start): Rejig its interface, so it can be called
3218 from both after-change and context fontifying.
b81d40f0
JB
3219 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
3220 New functions.
3221 (c-standard-font-lock-fontify-region-function): New variable.
3222 (c-font-lock-fontify-region): New function.
be8b11bb 3223
341cf6ac
JL
32242011-12-24 Juri Linkov <juri@jurta.org>
3225
3226 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
3227 (Bug#10348)
3228
bffcee0a
MA
32292011-12-23 Michael Albinus <michael.albinus@gmx.de>
3230
3231 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
3232 existence of source file. (Bug#10325)
3233
cb5e207c
AM
32342011-12-23 Alan Mackenzie <acm@muc.de>
3235
3236 Fix unstable fontification inside templates.
3237
b81d40f0
JB
3238 * progmodes/cc-langs.el (c-before-font-lock-functions):
3239 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
3240 additionally has c-set-fl-decl-start. The other languages (apart
3241 from AWK) have that as a single entry.
3242
b81d40f0
JB
3243 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
3244 The functionality for "local" declarations has been extracted to
cb5e207c
AM
3245 c-set-fl-decl-start.
3246
b81d40f0
JB
3247 * progmodes/cc-mode.el (c-common-init, c-after-change):
3248 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
3249 (c-set-fl-decl-start): New function, extracted from
3250 c-font-lock-enclosing-decls and enhanced.
3251
60ff536c
JB
32522011-12-23 Juanma Barranquero <lekktu@gmail.com>
3253
3254 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
3255
1c4757d6
JL
32562011-12-22 Juri Linkov <juri@jurta.org>
3257
3258 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
3259
d031f2c7
CY
32602011-12-22 Chong Yidong <cyd@gnu.org>
3261
3262 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
3263
bace743a
DA
32642011-12-21 Drew Adams <drew.adams@oracle.com>
3265
3266 * files.el (file-remote-p): Fix docstring. (Bug#10319)
3267
728a1f2b
JC
32682011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
3269
3270 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
3271
0d373f73
TZ
32722011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
3273
fec0aaa4
TZ
3274 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
3275 highlighting and support. Fix up comments for capitalization.
3276 (cfengine-mode-debug): New var.
3277 (cfengine3-mode): Change the modeline indicator to "CFE3".
3278 (cfengine3-font-lock-keywords): Improve defun highlighting.
3279 (cfengine2-actions): Rename from `cfengine-actions'.
3280 (cfengine2-font-lock-keywords): Rename from
3281 `cfengine-font-lock-keywords'.
3282 (cfengine2-imenu-expression): Rename from
3283 `cfengine-imenu-expression'.
3284 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
3285 (cfengine2-beginning-of-defun): Rename from
3286 `cfengine-beginning-of-defun'.
3287 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
3288 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
3289 (cfengine2-mode): Rename from `cfengine-mode'. Change the
3290 modeline indicator to "CFE2".
3291 (cfengine-mode): Defalias to `cfengine-auto-mode'.
3292 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 3293
bc86f573
CY
32942011-12-21 Chong Yidong <cyd@gnu.org>
3295
3296 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
3297 filename argument.
3298
d45ba96b
MR
32992011-12-20 Martin Rudalics <rudalics@gmx.at>
3300
3301 * window.el (window-normalize-buffer-to-display): Remove.
3302 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
3303
a6198c90
CY
33042011-12-19 Chong Yidong <cyd@gnu.org>
3305
3306 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
3307 Don't signal an error in a predicate function; return non-nil.
3308 (vc-dir-mark-file): Move the error here.
3309 (vc-dir-mark-unmark): If acting on the region, keep going if one
3310 of the entries cannot be marked/unmarked.
3311 (vc-dir-mark-all-files): If current entry is a directory, mark
3312 only child files, as documented.
3313
34c5fb55
VB
33142011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
3315
3316 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
3317 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
3318 addition.
3319
c803b2b7
JD
33202011-12-18 Jan Djärv <jan.h.d@swipnet.se>
3321
3322 * term/ns-win.el (ns-get-selection-internal)
3323 (ns-store-selection-internal): Declare.
1154d12e
JB
3324 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
3325 Declare as obsolete.
3326 (ns-get-pasteboard, ns-paste-secondary):
3327 Use ns-get-selection-internal.
3328 (ns-set-pasteboard, ns-copy-including-secondary):
3329 Use ns-store-selection-internal.
c803b2b7 3330
9cff91f8 33312011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
3332
3333 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 3334 (vc-deduce-fileset): Doc fix.
99a289d9 3335
f16c898a
AS
33362011-12-16 Andreas Schwab <schwab@linux-m68k.org>
3337
3338 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
3339
763237c4
SS
33402011-12-13 Sam Steingold <sds@gnu.org>
3341
3342 * man.el (Man-getpage-in-background): When running under a
3343 window-system, ignore $MANWIDTH and $COLUMNS.
3344
5fc1c122
KH
33452011-12-15 Kenichi Handa <handa@m17n.org>
3346
3347 * language/ethio-util.el: Change coding tag to utf-8-emacs.
3348 (setup-ethiopic-environment-internal): Comment out key-binding for
3349 ethio-toggle-punctuation.
3350
13d49cbb
AM
33512011-12-13 Alan Mackenzie <acm@muc.de>
3352
898169a2
AM
3353 Add the switch statement to AWK Mode.
3354
7a71b18d 3355 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
3356 "default" to the keywords regexp.
3357
7a71b18d 3358 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 3359 expression as the rest.
1d00653d
SM
3360 (c-nonlabel-token-key): Allow string literals for AWK.
3361 Refactor for the other modes.
898169a2 3362
13d49cbb 3363 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 3364 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
3365 routines. Limit backward searching in c-font-lock-enclosing.decl.
3366
3367 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
3368 pp-state and literal type in addition to the limits.
1d00653d 3369 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 3370 (c-state-literal-at): Use the above new defun.
1d00653d
SM
3371 (c-slow-in-literal, c-fast-in-literal): Remove.
3372 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
3373
3374 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
3375 being in a literal. Add a limit for backward searching.
3376
3377 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
3378 c-slow-in-literal.
3379
15e0efc7
SM
33802011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
3383
454592a6
MR
33842011-12-13 Martin Rudalics <rudalics@gmx.at>
3385
3386 * window.el (delete-other-windows): Use correct frame in call to
3387 window-with-parameter.
3388
87393f26
DP
33892011-12-12 Daniel Pfeiffer <occitan@t-online.de>
3390
3391 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
3392 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
3393 (makefile-gmake-statements, makefile-makepp-statements):
3394 Use it and add new makepp keywords.
3395 (makefile-makepp-font-lock-keywords): Add new patterns.
3396 (makefile-match-function-end): Match new [...] and [[...]].
3397
11636b22
JB
33982011-12-11 Juanma Barranquero <lekktu@gmail.com>
3399
3400 * ses.el (ses-call-printer-return, ses-cell-property-get)
3401 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
3402 (ses-create-cell-variable, ses-reset-header-string)
3403 (ses-cell-set-formula, ses-repair-cell-reference-all)
3404 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
3405 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
3406 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
3407 (ses-aset-with-undo, ses-load, ses-truncate-cell)
3408 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
3409 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
3410 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
3411 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
3412 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
3413 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
3414 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
3415 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
3416
cf018193
VB
34172011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
3418
3419 * ses.el: The overall change is to add cell renaming, that is
3420 setting fancy names for cell symbols other than name matching
3421 "\\`[A-Z]+[0-9]+\\'" regexp .
3422 (ses-create-cell-variable): New defun.
3423 (ses-relocate-formula): Relocate formulas only for cells the
3424 symbols of which are not renamed, i.e. symbols whose names do not
3425 match regexp "\\`[A-Z]+[0-9]+\\'".
3426 (ses-relocate-all): Relocate values only for cells the symbols of
3427 which are not renamed.
3428 (ses-load): Create cells variables as the (ses-cell ...) are read,
3429 in order to check row col consistency with cell symbol name only
3430 for cells that are not renamed.
3431 (ses-replace-name-in-formula): New defun.
3432 (ses-rename-cell): New defun.
3433
ee957461
CY
34342011-12-11 Chong Yidong <cyd@gnu.org>
3435
3436 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
3437 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
3438
9a9e9ef0
MR
34392011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
3440
3441 * window.el (other-window): Fix docstring.
3442
92a8eba5
EZ
34432011-12-10 Eli Zaretskii <eliz@gnu.org>
3444
3445 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
3446 `from' or `to' address before taking its substring.
3447 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
3448 encoded name is chopped in the middle of the encoded string, and
3449 thus displayed encoded.
3450
e152e577
JB
34512011-12-10 Juanma Barranquero <lekktu@gmail.com>
3452
3453 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
3454
e5d84bfe
EZ
34552011-12-10 Eli Zaretskii <eliz@gnu.org>
3456
3457 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
3458 to use texinfo-update-node and commands that call it if the
3459 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 3460 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
3461 (texinfo-all-menus-update, texinfo-master-menu)
3462 (texinfo-update-node, texinfo-every-node-update)
3463 (texinfo-multiple-files-update): Doc fix. Warn against updating
3464 all the @node lines.
3465 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
3466 argument is numeric. Explain better in the doc string what the
3467 function really does.
3468 (texinfo-insert-master-menu-list): Improve the error message
3469 displayed if there's no menu in the Top node.
3470 (Bug#2975) See also this thread:
e5d84bfe
EZ
3471 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
3472
1d84e9bb
MG
34732011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
3474
3475 * speedbar.el (speedbar-supported-extension-expressions):
3476 Add .adb and .ads, commonly used for Ada source code (bug#10256).
3477
382c953b
JB
34782011-12-09 Juanma Barranquero <lekktu@gmail.com>
3479
3480 * printing.el (pr-mode-alist):
3481 * simple.el (filter-buffer-substring-functions)
3482 (completion-list-insert-choice-function):
3483 * window.el (window-with-parameter, window-atom-root)
3484 (window-sides-slots, window-size-fixed, window-min-delta)
3485 (window-max-delta, window--resize-mini-window)
3486 (window--resize-child-windows-normal, window-tree)
3487 (delete-other-windows, quit-window, split-window)
3488 (display-buffer-record-window, special-display-buffer-names)
3489 (special-display-regexps, special-display-popup-frame)
3490 (same-window-p, split-window-sensibly)
3491 (display-buffer-overriding-action, display-buffer-alist)
3492 (display-buffer-base-action, display-buffer, switch-to-buffer)
3493 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
3494 (fit-window-to-buffer, recenter-positions)
3495 (mouse-autoselect-window-state, mouse-autoselect-window-select):
3496 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
3497 and remove unneeded backslashes in docstrings.
3498
39c9faef
SM
34992011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3500
98449af8
SM
3501 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
3502
39c9faef
SM
3503 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
3504 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
3505 end in ".mk".
3506 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
3507 when reading the makefile (bug#10116).
3508
86ed9fdc
SM
35092011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
3512 (bug#10116).
3513
5580f89d
GM
35142011-12-06 Glenn Morris <rgm@gnu.org>
3515
3516 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
3517
28d3917c
CY
35182011-12-06 Chong Yidong <cyd@gnu.org>
3519
3520 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
3521
a98edce9
JB
35222011-12-06 Juanma Barranquero <lekktu@gmail.com>
3523
3524 * textmodes/table.el (table-shorten-cell): Fix typo.
3525
e65adfac
CG
35262011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
3527
3528 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
3529
71cc0b74
EZ
35302011-12-05 Eli Zaretskii <eliz@gnu.org>
3531
3532 * descr-text.el (describe-char): Fix display of strong
3533 right-to-left characters and directional embeddings and overrides.
3534
3535 * simple.el (what-cursor-position): Fix display of codepoints of
3536 strong right-to-left characters.
3537
315bc30d
CY
35382011-12-05 Chong Yidong <cyd@gnu.org>
3539
3540 * faces.el (read-color): Doc fix.
3541
58a70b94
GM
35422011-12-05 Glenn Morris <rgm@gnu.org>
3543
3544 * align.el (align--set-marker): Add doc-string.
3545 Don't try to move something that is not a marker. (Bug#10216)
3546
5158face
GM
35472011-12-04 Glenn Morris <rgm@gnu.org>
3548
3549 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
3550 overly zealous deletion of trailing whitespace.
3551
520fca41
JB
35522011-12-04 Juanma Barranquero <lekktu@gmail.com>
3553
3554 * server.el (server-delete-client): On Windows, do not try to delete
3555 the only terminal.
3556 (server-process-filter): On Windows, treat requests for a tty frame as
3557 if they were for a GUI frame if the running server is in GUI mode.
3558
5e605a2e
GM
35592011-12-03 Glenn Morris <rgm@gnu.org>
3560
3561 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
3562
5c3fe83f
SM
35632011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3564
6f5e57e7
SM
3565 * electric.el: Streamline electric-indent's hook.
3566 (electric-indent-chars): Revert to simple list.
3567 (electric-indent-functions): New var.
3568 (electric-indent-post-self-insert-function): Use it.
3569
5c3fe83f
SM
3570 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
3571 there's no inferior buffer (bug#10196).
3572 (prolog-consult-compile): Don't use toggle-read-only.
3573
6bdac736
MA
35742011-12-02 Michael Albinus <michael.albinus@gmx.de>
3575
3576 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
3577 interrupt. (Bug#10187)
3578
6131ba7f
SM
35792011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3580
99c79fee
SM
3581 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
3582 (bug#9160).
3583
6131ba7f
SM
3584 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
3585 (bug#10191).
3586
cb0a02ea
JL
35872011-12-02 Juri Linkov <juri@jurta.org>
3588
3589 * info.el (Info-search): Display "end of manual" when Isearch
3590 reaches the end of single-file Info manual. (Bug#9918)
3591
66e0570c
EZ
35922011-12-02 Eli Zaretskii <eliz@gnu.org>
3593
3594 * isearch.el (isearch-message-prefix): Run the input method part
3595 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
3596
02b16839
JL
35972011-12-02 Juri Linkov <juri@jurta.org>
3598
3599 * isearch.el (isearch-occur): Use `word-search-regexp' for
3600 `isearch-word'.
3601 (isearch-search-and-update): Add condition for `isearch-word' and
3602 call `word-search-regexp'. (Bug#10145)
3603
0b950688
GM
36042011-12-01 Glenn Morris <rgm@gnu.org>
3605
3606 * eshell/em-hist.el (eshell-hist-initialize):
3607 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 3608 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 3609
9505c3c7
SM
36102011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3611
3612 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
3613
1bbe96b2 36142011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 3615
a1beca85
SM
3616 * progmodes/verilog-mode.el (verilog-pretty-expr):
3617 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
3618 verilog, such as += *= and the like.
3619 (verilog-assignment-operator-re): Regular expression to find the
3620 assigment operator in a verilog assignment.
3621 (verilog-assignment-operation-re): Regular expression to find an
3622 assignment statement for pretty-expr.
3623 (verilog-in-attribute-p): Query returns true if point is in an
3624 attribute context; used to skip these for expression line up from
3625 pretty-expr.
3626 (verilog-in-parameter-p): Query returns true if point is in an
3627 parameter definition context; used to skip these for expression
3628 line up from pretty-expr.
3629 (verilog-in-parenthesis-p): Query returns true if point is in a
3630 parenthetical expression, specifically ( ) but not [ ] or { };
3631 used by pretty-expr.
3632 (verilog-just-one-space): If there is no space, don't add one.
3633 (verilog-get-lineup-indent-2): Specifically skip just attribute
3634 contexts for expression lineup, rather than skipping all
3635 parenthetical expressions.
3636 (verilog-calculate-indent): Fix comment, and fix indent.
3637 (verilog-do-indent): Indent declarations in lists (suggested by
3638 Joachim Lechner).
3639 (verilog-mode-abbrev-table): Populate abbrev mode with the various
3640 skeleton items.
3641 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
3642 by Alain Mellan).
3643
1bbe96b2 36442011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
3645
3646 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
3647 parameters with embedded comments. Reported by Ray Stevens.
3648 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
3649 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
3650 Reported by Tim Holt.
3651 (verilog-auto): Fix AUTOing a upper module then AUTOing module
3652 instantiated by upper module causing wrong expansion until AUTOed a
3653 second time. Reported by K C Buckenmaier.
3654 (verilog-diff-auto): Fix showing .* as a difference when
3655 `verilog-auto-star-save' off. Reported by Dan Dever.
3656 (verilog-auto-reset, verilog-read-always-signals)
3657 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
3658 temporary signals in reset list if
3659 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
3660 style to each signal's assignment type, bug381.
3661 Reported by Thomas Esposito.
6288f0ca
WS
3662 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
3663 (verilog-uvm-statement-re): Support UVM indentation and
3664 highlighting, with old OVM keywords only.
a1beca85 3665 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
3666 Support AUTOTIEOFF creating non-wire data types.
3667 Suggested by Jonathan Greenlaw.
6288f0ca
WS
3668 (verilog-auto-insert-lisp, verilog-delete-to-paren)
3669 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
3670 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
3671 (verilog-read-sub-decls, verilog-read-sub-decls-line):
3672 Fix mismatching parenthesis inside commented out code when deleting
382c953b 3673 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
3674 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
3675 non-numeric vector width. Reported by Alex Reed.
3676 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 3677 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
3678 (verilog-auto-delete-trailing-whitespace):
3679 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
3680 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
3681 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
3682 Fix verilog-scan-cache corruption when running user AUTO expansion
3683 hooks that call indentation routines.
3684 (verilog-simplify-range-expression): Fix typo ignoring lower case
3685 identifiers.
3686 (verilog-delete-auto): Fix delete-autos to also remove user created
3687 automatics, as long as they start with AUTO.
3688 (verilog-batch-diff-auto, verilog-diff-auto)
3689 (verilog-diff-function): Add `verilog-diff-auto' and bind to
3690 "C-c?" to report differences in AUTO expansion, ignoring spaces.
3691 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
3692 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
3693 (verilog-re-search-forward-quick, verilog-syntax-ppss):
3694 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
3695 is disabled and its cache will get corrupt, causing AUTOS not to
3696 expand. Instead use only -quick functions.
3697 (verilog-scan-region): Fix scanning over escaped quotes.
3698 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
3699 (verilog-re-search-backward-quick)
3700 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
3701 related functions now ignore strings, to fix misparsing of strings
3702 with magic comments embedded in them.
a1beca85
SM
3703 (verilog-read-auto-template):
3704 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
3705 Reported by Brad Dobbie.
3706 (verilog-read-auto-template):
3707 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 3708 Reported by Brad Dobbie.
6288f0ca
WS
3709 (verilog-auto-inst, verilog-auto-inst-param)
3710 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
3711 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
3712 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
3713 debugging templates without merge conflicts, bug357.
3714 Reported by Brad Dobbie.
3715 (verilog-read-auto-template):
3716 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
3717 Reported by Brad Dobbie.
3718 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
3719 abbrevs so user won't be asked to save.
3720 (verilog-read-auto-lisp-present): Fix to start at beginning of
3721 buffer in case called outside of verilog-auto.
3722 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
3723 to "X-2". Reported by Matthew Myers.
3724 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
3725 all inputs from module templates. Reported by Leith Johnson.
3726 (verilog-module-inside-filename-p): Fix locating programs as with
3727 modules.
3728 (verilog-auto-inst-port): Fix vl-width expressions when using
3729 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
3730 (verilog-decls-get-regs, verilog-decls-get-signals,
3731 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
3732 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
3733 verilog-read-decls): Combine reg and wire structures into one var
3734 structure to represent SystemVerilog concepts.
3735 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
3736 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
3737 (verilog-auto-wire-type, verilog-insert-definition):
3738 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
3739 SystemVerilog "logic" keyword instead of "wire"/"reg".
3740 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
3741 to declares outputs that also have assignments (presumably in an
a1beca85
SM
3742 ifdef or generate if so there's not a driver conflict).
3743 Reported by Matthew Myers.
3744 (verilog-auto-declare-nettype, verilog-insert-definition):
3745 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
3746 `default_nettype none. Reported by Julian Gorfajn.
3747 (verilog-read-always-signals-recurse, verilog-read-decls)
3748 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
3749 malformed end statement, bug325. Reported by Joshua Wise and
3750 Andrew Drake.
3751 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
3752 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
3753 when expanding .* in interfaces, bug320.
3754 Reported by Pierre-David Pfister.
6288f0ca 3755 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
3756 name and open parenthesis, bug317.
3757 Reported by Pierre-David Pfister.
6288f0ca
WS
3758 (verilog-simplify-range-expression): Fix simplification of
3759 multiplications inside AUTOWIRE connections, bug303.
3760 (verilog-auto-inst-port): Support parameter expansion in
3761 multidimensional arrays.
3762 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
3763 after "assert property". Reported by Julian Gorfajn.
3764 (verilog-simplify-range-expression): Fix "couldn't merge" errors
3765 with multiplication, bug303.
3766 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
3767 Reported by Jan Frode Lonnum.
3768
1bbe96b2
GM
37692011-11-30 Juanma Barranquero <lekktu@gmail.com>
3770
3771 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
3772 (hfy-shell-file-name, hfy-shell):
3773 * international/fontset.el (x-decompose-font-name): Fix typos.
3774
37752011-11-29 Ken Brown <kbrown@cornell.edu>
3776
3777 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
3778 (gdb-version): Remove defvar.
3779 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
3780 (gdb-gud-context-command, gdb-non-stop-handler)
3781 (gdb-current-context-command, gdb-stopped): Use it.
3782 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
3783 (gdb-non-stop-handler): Don't enable pretty-printing here.
3784 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
3785 non-stop mode. Use the following.
3786 (gdb-check-target-async): New defun.
3787 (gud-watch, gdb-stopped): Fix whitespace.
3788 (gdb-get-source-file): Don't try to display the source file if
3789 `gdb-main-file' is nil.
3790
37912011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * align.el: Try to generate fewer markers (bug#10047).
3794 (align--set-marker): New macro.
3795 (align-region): Use it.
3796
c935221f
SM
37972011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
3800
e70b5064
CY
38012011-11-29 Chong Yidong <cyd@gnu.org>
3802
3803 * indent.el (indent-for-tab-command, indent-according-to-mode):
3804 Doc fix.
3805 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
3806
f3af92b7
MA
38072011-11-29 Michael Albinus <michael.albinus@gmx.de>
3808
3809 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
3810 aware of remote file names. (Bug#10124)
3811
ed472be9
CY
38122011-11-29 Chong Yidong <cyd@gnu.org>
3813
3814 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
3815
24510c22
SM
38162011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3817
3818 * files.el (find-file): Don't use force-same-window (bug#10144).
3819 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
3820 use pop-to-buffer if the selected window can't be used.
3821 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
3822
c60c3703
EZ
38232011-11-28 Eli Zaretskii <eliz@gnu.org>
3824
3825 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
3826 special-mode-map.
3827
e95def75
CY
38282011-11-28 Chong Yidong <cyd@gnu.org>
3829
3830 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
3831
c3f1c606
NR
38322011-11-27 Nick Roberts <nickrob@snap.net.nz>
3833
3834 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
3835 gdb-get-source-file-list on gdb-create-source-file-list.
3836
00db469c
EZ
38372011-11-26 Eli Zaretskii <eliz@gnu.org>
3838
3839 * whitespace.el (whitespace-newline): Use a different foreground
3840 color for 16-color light-background displays.
3841
4ad3bc2a
CY
38422011-11-24 Chong Yidong <cyd@gnu.org>
3843
3844 * window.el (display-buffer--special-action): Doc fix.
3845
e9fce1ac
JB
38462011-11-25 Juanma Barranquero <lekktu@gmail.com>
3847
3848 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
3849 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
3850 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
3851 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
3852 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
3853 (avl-tree-stack-first):
3854 * emacs-lisp/cconv.el (cconv--analyse-use):
3855 * net/gnutls.el (gnutls-negotiate): Fix typos.
3856
cb825e5d
GM
38572011-11-24 Glenn Morris <rgm@gnu.org>
3858
3adbe224
GM
3859 * lpr.el (lpr-windows-system, lpr-lp-system):
3860 * mail/binhex.el (binhex-begin-line):
3861 * progmodes/grep.el (grep-history, grep-find-history):
3862 * textmodes/flyspell.el:
3863 * vc/pcvs-defs.el (cvs-global-menu):
3864 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
3865 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
3866 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
3867
321decc8
GM
3868 * net/tls.el: Fix case of "GnuTLS".
3869
420b63ad
GM
3870 * paths.el (rmail-file-name): Format doc-string for make-docfile.
3871
cb825e5d
GM
3872 * version.el (emacs-build-system): Give it a doc-string.
3873
a0649f08
JL
38742011-11-24 Juri Linkov <juri@jurta.org>
3875
3876 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
3877
c0bc0fd4
GM
38782011-11-24 Glenn Morris <rgm@gnu.org>
3879
3880 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
3881 if called on a non-mime message just toggle the headers. (Bug#8006)
3882
20db1522
JB
38832011-11-24 Juanma Barranquero <lekktu@gmail.com>
3884
3885 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
3886 (allout-lead-with-comment-string, allout-structure-deleted-hook)
3887 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
3888 (allout-rebullet-heading, allout-open-sibtopic)
3889 (allout-toggle-current-subtree-encryption)
3890 (allout-toggle-subtree-encryption, allout-encrypt-string)
3891 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
3892 (allout-distinctive-bullets-string, allout-auto-activation):
3893 * window.el (window-normalize-buffer-to-display):
3894 * progmodes/verilog-mode.el (verilog-batch-indent):
3895 * textmodes/bibtex.el (bibtex-field-braces-opt)
3896 (bibtex-field-strings-opt):
3897 * vc/cvs-status.el (cvs-tree-merge):
3898 Fix typos.
3899
7262a87c
MA
39002011-11-23 Michael Albinus <michael.albinus@gmx.de>
3901
3902 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
3903 `non-essential' to t, in order to avoid remote connections.
3904
283430a1
EZ
39052011-11-23 Eli Zaretskii <eliz@gnu.org>
3906
a1beca85
SM
3907 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3908 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
3909 case-insensitively.
3910
d2992a38
ML
39112011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3912
3913 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
3914
50419064
GM
39152011-11-23 Glenn Morris <rgm@gnu.org>
3916
da94eca1
GM
3917 * paths.el (rmail-file-name): Reformat the doc-string so that it
3918 is picked up.
3919
9aac4de2
GM
3920 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
3921 (rmail-auto-file): Ignore case in the "special" field names,
3922 as mail-fetch-field does for all others.
3923
8038d2d2
GM
3924 * mail/rmail.el (rmail-forward):
3925 * mail/rmailkwd.el (rmail-set-label):
3926 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
3927 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
3928
f3fe222a
GM
3929 * mail/rmail.el (rmail-current-message): Doc fix.
3930
50419064
GM
3931 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
3932
28109f49
SM
39332011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * server.el (server-eval-and-print): Allow C-g (bug#6585).
3936
394c65f1
GM
39372011-11-22 Glenn Morris <rgm@gnu.org>
3938
3939 * mail/rmailmm.el (test-rmail-mime-handler)
3940 (test-rmail-mime-bulk-handler)
3941 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
3942
f2a0aa3a
JL
39432011-11-21 Juri Linkov <juri@jurta.org>
3944
1154d12e
JB
3945 * calc/calc.el (calc-read-key-sequence):
3946 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 3947
9c34a344
LMI
39482011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3949
3950 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
3951 Tell the caller that the next line needs recomputation, even
3952 though it doesn't start a sexp (bug#10094).
3953
f04a3be9
SM
39542011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3955
3956 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
3957
7978747f
SM
39582011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3959
f04a3be9
SM
3960 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
3961 Use force-same-window.
7978747f 3962
fe7a3057
JB
39632011-11-20 Juanma Barranquero <lekktu@gmail.com>
3964
3965 * descr-text.el (describe-char-unicode-data):
3966 * json.el (json-string-escape):
3967 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
3968 (Footnote-unicode, Footnote-style-p):
3969 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
3970
24901d61
CY
39712011-11-20 Chong Yidong <cyd@gnu.org>
3972
3973 * window.el (replace-buffer-in-windows): Restore interactive spec.
3974
bac7ff22
SM
39752011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3976
24f3d7b9
SM
3977 * electric.el (electric-indent-mode): Fix last change (too optimistic).
3978
bac7ff22
SM
3979 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
3980 (byte-compile-global-not-obsolete-vars): New var.
3981 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
3982 Use it.
3983 (byte-compile-warn-obsolete): Align text with the one in *Help*.
3984
cd1181db
JB
39852011-11-20 Juanma Barranquero <lekktu@gmail.com>
3986
3987 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
3988 * progmodes/pascal.el (electric-pascal-equal):
3989 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
3990 * xml.el (xml-substitute-special): Fix typos.
3991
7fb18e9e
GM
39922011-11-20 Glenn Morris <rgm@gnu.org>
3993
3994 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
3995 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
3996 Doc fixes.
3997 (rmail-decode-mime-charset): Mark as obsolete.
3998
3999 * mail/rmailsum.el (rmail-message-regexp-p-1):
4000 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
4001 Before using mime functions, check they are set. (Bug#10077)
4002
d5a6b3ba
JL
40032011-11-19 Juri Linkov <juri@jurta.org>
4004
4005 * info.el (Info-finder-find-node): Use `package--builtins' instead
4006 of `package-alist'. Use node names formed by the pattern "Keyword "
4007 and the keyword name.
4008
e981b61f
AS
40092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4010
1d00653d 4011 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 4012
3ffbc301
JL
40132011-11-19 Juri Linkov <juri@jurta.org>
4014
4015 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
4016 that calls `revert-buffer' on all Info buffers. (Bug#9915)
4017 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
4018 `old-history', `old-history-forward'. Add let-binding
4019 `window-selected'. Remove calls to `kill-buffer',
4020 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
4021 before calling `Info-find-node', so `Info-find-node-2' will reread
4022 the Info file. Restore window positions only when `window-selected'
4023 is non-nil.
4024
30c62133
JL
40252011-11-19 Juri Linkov <juri@jurta.org>
4026
4027 * isearch.el (isearch-lazy-highlight-new-loop):
4028 Remove condition `(not isearch-error)'. (Bug#9918)
4029
4030 * misearch.el (multi-isearch-search-fun): Add condition
4031 `(not bound)' to ignore lazy-highlighting search.
4032 Add the search-failed message "end of multi" when the end of
4033 multi-sequence is reached. Uncapitalize the search-failed
4034 message "Repeat for next buffer".
4035
4036 * info.el (Info-search): Add the search-failed message
4037 "end of the manual" when the end of the manual is reached
4038 in Isearch mode.
4039
645ca9cf
JL
40402011-11-19 Juri Linkov <juri@jurta.org>
4041
4042 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
4043 Use non-destructive `remove' instead of `delete' because
4044 `Info-history-list' stored to `Info-isearch-initial-history-list' in
4045 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
4046
df754f66
JL
40472011-11-19 Juri Linkov <juri@jurta.org>
4048
4049 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
4050 to nil instead of binding `search-ring' and `regexp-search-ring'.
4051 (Bug#9185)
4052
0e23d96a
EZ
40532011-11-19 Eli Zaretskii <eliz@gnu.org>
4054
4055 * simple.el (line-move): Force movement by logical lines for any
4056 hscrolled window, not only when auto-hscroll-mode is on.
4057 (line-move-visual): Update doc string to that effect. (Bug#10076)
4058
8a6ccb66
AS
40592011-11-19 Andreas Schwab <schwab@linux-m68k.org>
4060
4061 * language/european.el (macintosh): Define as alias for mac-roman.
4062
49ae5b39
EZ
40632011-11-19 Eli Zaretskii <eliz@gnu.org>
4064
4065 * mail/rmailmm.el (rmail-mime-display-header)
4066 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
4067 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
4068 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
4069 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
4070 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
4071 of a raw aref.
4072 (rmail-mime-entity-segment): To get past the tagline, move forward
4073 2 more lines, to account for the 2 empty lines that precede and
4074 follow the line with the buttons.
4075 (rmail-mime-update-tagline): Move one more line, to get past the
4076 empty line that follows the buttons in the tagline. (Bug#9520)
4077
c56cad4a
MR
40782011-11-19 Martin Rudalics <rudalics@gmx.at>
4079
4080 * window.el (window-max-delta-1, window-min-delta-1)
4081 (window-min-size-1, window-state-get-1, window-state-put-1)
4082 (window-state-put-2): Use "window--" prefix.
4083
cbe71af3
SM
40842011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4085
2ad52c60
SM
4086 * emacs-lisp/smie.el: Improve warnings and conflict detection.
4087 (smie-warning-count): New var.
4088 (smie-set-prec2tab): Use it.
4089 (smie-bnf->prec2): Improve warnings. Add docstring.
4090 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
4091 (smie-bnf--set-class): New function.
4092 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
4093 corner case.
4094
6944dbc1
SM
4095 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
4096 (compilation-error-properties, compilation-move-to-column):
4097 Handle compilation-first-column while in the target buffer.
4098
c400c4d7
SM
4099 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
4100 Don't hardcode point-min==1.
4101
6dbe3e96
SM
4102 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
4103 (eshell-rewrite-for-command): Remove workaround.
4104 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
4105 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
4106 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
4107
cbe71af3
SM
4108 * files-x.el (modify-file-local-variable): Obey commenting conventions.
4109
a8e1496d
GM
41102011-11-17 Glenn Morris <rgm@gnu.org>
4111
4112 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4113 Ignore buffer-local generated-autoload-file if it is the same
4114 as the global value. (Bug#10049)
4115
df85d315
JB
41162011-11-17 Juanma Barranquero <lekktu@gmail.com>
4117
4118 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
4119 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
4120 (reftex-toc-previous-heading, reftex-toc-max-level)
4121 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
4122 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
4123 (reftex-toc-do-promote, reftex-toc-promote-prepare)
4124 (reftex-toc-promote-action, reftex-toc-extract-section-number)
4125 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
4126 (reftex-toc-rename-label, reftex-toc-visit-location)
4127 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
4128 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
4129 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
4130 leaving "*toc*" only for references to the buffer.
4131
a0c2d0ae
MR
41322011-11-17 Martin Rudalics <rudalics@gmx.at>
4133
4134 * window.el (window-resize, delete-window, split-window):
4135 Replace window-splits by window-combination-resize.
1d00653d 4136 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 4137
35c0bac8
GM
41382011-11-17 Glenn Morris <rgm@gnu.org>
4139
4140 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4141 Make bash entry derive from sh entry, not shell entry.
4142
d0c8fc8a
MA
41432011-11-16 Michael Albinus <michael.albinus@gmx.de>
4144
d0c8fc8a
MA
4145 * net/tramp-cache.el (tramp-flush-file-property): Flush also
4146 properties of linked files. (Bug#9879)
4147
7262a87c
MA
4148 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
4149 local file name.
4150
7877f373
JB
41512011-11-16 Juanma Barranquero <lekktu@gmail.com>
4152
4153 * menu-bar.el (menu-bar-file-menu):
4154 * printing.el (pr-ps-utility):
4155 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
4156 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
4157 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
4158 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
4159 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
4160 (icalendar--convert-cyclic-to-ical)
4161 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
4162 (icalendar--convert-ical-to-diary)
4163 (icalendar--convert-recurring-to-diary)
4164 (icalendar--convert-non-recurring-all-day-to-diary)
4165 (icalendar-import-format-sample):
4166 * progmodes/idlw-shell.el (idlwave-shell-mode):
4167 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
4168 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
4169 (vhdl-ps-print-init): Fix typos.
4170
10649b82
KM
41712011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
4172
9d0cfcd6
GM
4173 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
4174 FSF and collapse date sequence, obscure author/maintainer email address
4175 better, remove extra version line, track relocation of author's webpage.
10649b82 4176
9d0cfcd6
GM
4177 * progmodes/python.el (python-pdbtrack-input-prompt)
4178 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
4179 regular python pdb prompts. Adjustments shamelessly taken exactly as
4180 suggested in EmacsWiki page (tiny change):
4181 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 4182
58179cce
JB
41832011-11-16 Juanma Barranquero <lekktu@gmail.com>
4184
4185 * expand.el (expand-pos, expand-index, expand-point):
4186 Remove redundant info from docstring.
4187 (expand-add-abbrevs): Doc fix.
4188 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
4189 (expand-sample-perl-mode-expand-list): Fix typos.
4190
4191 * net/dbus.el (dbus-event-member-name):
4192 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
4193 * term/pc-win.el (msdos-create-frame-with-faces):
4194 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
4195
b6f67890
MR
41962011-11-16 Martin Rudalics <rudalics@gmx.at>
4197
4198 * window.el (split-window, window-state-get-1)
4199 (window-state-put-1, window-state-put-2): Rename occurrences of
4200 window-nest to window-combination-limit.
1d00653d 4201 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 4202
ce7ddba0
CY
42032011-11-16 Chong Yidong <cyd@gnu.org>
4204
4205 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
4206 regexp (Bug#10033).
4207
3ae704f4
SM
42082011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
4211 `completing-read' will remove *Completions* and will preserve
4212 current-buffer for us.
4213 (tmm-add-prompt): Users of *Completions* will always (re)set its
4214 major mode.
4215 (tmm-old-comp-map): Remove.
4216
6ad1cdde
GM
42172011-11-16 Glenn Morris <rgm@gnu.org>
4218
4219 * mail/rmailedit.el: Require rmailmm when compiling.
4220 (rmail-old-mime-state): New declaration.
4221 (rmail-edit-current-message): If editing a mime message,
4222 edit the "raw" message from the mbox buffer.
4223 (rmail-cease-edit): Handle mime messages. (Bug#9840)
4224
d20faa20
GM
42252011-11-15 Glenn Morris <rgm@gnu.org>
4226
4227 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
4228 which wasn't being used. Add optional arg to force given state.
4229 (rmail-mime): Add optional arg to force given state.
4230
c7015153
JB
42312011-11-15 Juanma Barranquero <lekktu@gmail.com>
4232
4233 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4234 * frame.el (display-mm-dimensions-alist):
4235 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
4236 (outline-move-subtree-down):
4237 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
4238 (newsticker--treeview-do-get-node):
4239 * net/quickurl.el (quickurl-list-buffer-name):
4240 * progmodes/dcl-mode.el (dcl-mode):
4241 * progmodes/gdb-mi.el (gdb-mapcar*):
4242 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
4243
45261b50
GM
42442011-11-15 Glenn Morris <rgm@gnu.org>
4245
4246 * mail/rmail.el (rmail-file-coding-system): It's only ever used
4247 in a boolean sense, so just make it a boolean, and fix the doc.
4248 (rmail-show-mime-function, rmail-mime-feature)
4249 (rmail-require-mime-maybe): Doc fixes.
4250 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
4251
4252 * mail/rmailmm.el (rmail-show-mime): Doc fix.
4253
0d26e0b6
JB
42542011-11-15 Juanma Barranquero <lekktu@gmail.com>
4255
4256 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
4257 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
4258 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
4259 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
4260
447f30f6
GM
42612011-11-15 Glenn Morris <rgm@gnu.org>
4262
672b871d
GM
4263 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
4264 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
4265 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
4266 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
4267 (rmail-mime, rmail-show-mime): Doc fixes.
4268
f6aa5bb1
GM
4269 * term/ns-win.el (mode-line-frame-identification):
4270 Leave it alone. (Bug#10051)
4271
947cd66b
GM
4272 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
4273
447f30f6
GM
4274 * mail/rmailout.el (rmail-output-to-rmail-buffer):
4275 Handle empty buffers. (Bug#9978)
4276
0b381c7e
JB
42772011-11-14 Juanma Barranquero <lekktu@gmail.com>
4278
4279 * international/mule.el (define-charset):
4280 * mail/rmailmm.el (rmail-mime-find-header-encoding):
4281 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
4282 * progmodes/verilog-mode.el (verilog-backward-token):
4283 * textmodes/ispell.el (lookup-words):
4284 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
4285
71e027ac
GM
42862011-11-14 Glenn Morris <rgm@gnu.org>
4287
56632ce4
GM
4288 * progmodes/executable.el
4289 (executable-make-buffer-file-executable-if-script-p):
4290 Handle file-modes returning nil.
4291
40500957
GM
4292 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
4293 message - not necessary, and causes problems. (Bug#9831)
4294
071c2340
GM
4295 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
4296
d3cfca60
GM
4297 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
4298
71e027ac
GM
4299 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
4300 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
4301 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
4302
89d61221
MR
43032011-11-12 Martin Rudalics <rudalics@gmx.at>
4304
4305 * window.el (window-resize, delete-window): Use window-splits
4306 variable instead of function.
4307 (window-state-get-1, window-state-put-2, window-state-put):
4308 Don't deal with windows' splits status.
4309
98282f6f
GM
43102011-11-12 Glenn Morris <rgm@gnu.org>
4311
4312 * apropos.el (apropos-do-all, apropos-library, apropos-value)
4313 (apropos-documentation): Doc fixes.
4314
40a8bdf6
JB
43152011-11-11 Juanma Barranquero <lekktu@gmail.com>
4316
4317 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
4318 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
4319
65bd19ff
SM
43202011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * electric.el (electric-indent-post-self-insert-function): Make it
4323 possible for a char to only indent in some circumstances.
4324 (electric-indent-mode): Simplify.
4325
54f9154c
MR
43262011-11-11 Martin Rudalics <rudalics@gmx.at>
4327
4328 * window.el (windows-with-parameter): Remove unused function.
4329 (windows-at-side): Rename to window-at-side-list.
4330 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
4331 (window-side-check, window-size-ignore, window-size-fixed-1)
4332 (window-in-direction-2): Prefix with "window--".
4333 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 4334
68cbc58b
GM
43352011-11-11 Glenn Morris <rgm@gnu.org>
4336
4337 * subr.el (eval-after-load): If FILE is already loaded,
4338 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
4339
b2621720
GM
43402011-11-10 Glenn Morris <rgm@gnu.org>
4341
9a4de110
GM
4342 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
4343 Call svn via vc-svn-command rather than vc-do-command.
4344 (vc-svn-command): Add --non-interactive. (Bug#9993)
4345 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
4346
b2621720
GM
4347 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4348 Add toggle-read-only. (Bug#7292)
4349 * files.el (toggle-read-only): Mention that it should only
4350 be used interactively. (Bug#10006)
4351
1dce7193
SM
43522011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4353
d9ac1a1e
SM
4354 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4355 Adjust regexp for OCaml warnings.
4356
0c325082
SM
4357 * electric.el (electric-pair-post-self-insert-function): Let user
4358 turn it off buffer-locally (bug#9932).
4359
90132c14
SM
4360 * progmodes/python.el (python-beginning-of-statement):
4361 Rewrite (bug#2703).
4362
1dce7193
SM
4363 * progmodes/compile.el: Better handle TABs (bug#9749).
4364 (compilation-internal-error-properties)
4365 (compilation-next-error-function): Obey the target buffer's
4366 compilation-error-screen-columns.
4367
c4e7c63a
JB
43682011-11-09 Juanma Barranquero <lekktu@gmail.com>
4369
4370 * progmodes/meta-mode.el: Remove obsolete comments.
4371 (meta-right-comment-regexp, meta-ignore-comment-regexp):
4372 Fix typos in docstrings.
4373
2cffd681
MR
43742011-11-09 Martin Rudalics <rudalics@gmx.at>
4375
4376 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 4377 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
4378 (window--resizable): New function. Make all callers of
4379 window-resizable call window--resizable instead.
4380 (window-resizable): Rewrite in terms of window--resizable.
4381
0edcba87
GM
43822011-11-08 Glenn Morris <rgm@gnu.org>
4383
4384 * progmodes/delphi.el (delphi-mode-syntax-table):
4385 Let define-derived-mode define a proper syntax table. (Bug#9994)
4386
4b0d61e3
SM
43872011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * window.el: Stay away from defsubst.
4390 (window-list-no-nils): Remove.
4391 (window-state-get-1, window-state-get): Use backquote instead.
4392
cd394be1 43932011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 4394
4b0d61e3 4395 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 4396 Fix incorrect use of default argument in `completing-read'.
4397
e1c2c6f2
MR
43982011-11-08 Martin Rudalics <rudalics@gmx.at>
4399
4400 * window.el (display-buffer-function, special-display-function):
4401 Mention display-buffer-record-window but do not mention
4402 help-setup parameter in doc-strings.
b3f4a882 4403 (window-min-delta): Fix doc-string typo.
e1c2c6f2 4404
105216ed
CY
44052011-11-08 Chong Yidong <cyd@gnu.org>
4406
4407 * window.el (window-total-height, window-total-width): Doc fix.
4408 (window-body-size): Move from C.
4409 (window-body-height, window-body-width): Move to C.
4410
0a9f9ab5
SM
44112011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * window.el: Make special-display like display-buffer-alist (bug#9532).
4414 (display-buffer--special-action): New function, morphed
4415 from display-buffer--special.
4416 (display-buffer): Use it to handle special-display-buffers at higher
4417 priority (just after display-buffer-alist).
4418 (display-buffer-fallback-action, display-buffer--other-frame-action)
4419 (pop-to-buffer-same-window): Remove display-buffer--special.
4420
a769dd15
GM
44212011-11-07 Glenn Morris <rgm@gnu.org>
4422
4423 * calendar/cal-menu.el (cal-menu-set-date-title):
4424 Do nothing if not in a calendar. (Bug#9976)
4425
05a61ee3
SM
44262011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * files.el (find-file): Always use selected-window.
4429
be7f5545
MR
44302011-11-07 Martin Rudalics <rudalics@gmx.at>
4431
4432 * window.el (window-combinations): Make WINDOW argument
4433 mandatory. Rewrite doc-string.
4434 (walk-window-subtree, window-atom-check, window-min-delta)
4435 (window-max-delta, window--resize-this-window)
4436 (window--resize-root-window-vertically, window-tree)
4437 (balance-windows, window-state-put): Rewrite doc-strings as to
4438 not mention the term "subwindow".
4439 (window--resize-subwindows-skip-p): Rename to
4440 window--resize-child-windows-skip-p.
4441 (window--resize-subwindows-normal): Rename to
4442 window--resize-child-windows-normal.
4443 (window--resize-subwindows): Rename to
4444 window--resize-child-windows.
4445 (window-or-subwindow-p): Rename to window--in-subtree-p.
4446
3c6702ef
ML
44472011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4448
4449 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
4450 Ensure that mbox format messages end in two newlines (Bug#9974).
4451
49745b39
CY
44522011-11-06 Chong Yidong <cyd@gnu.org>
4453
4454 * window.el (window-combination-p): Function deleted; its
4455 side-effect is not used in any existing code.
4456 (window-combinations, window-combined-p): Call window-*-child
4457 directly.
4458
24300f5f
CY
44592011-11-05 Chong Yidong <cyd@gnu.org>
4460
4461 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
4462 (window-size-ignore, window-state-get): Callers changed.
4463 (window-normalize-window): Rename from window-normalize-any-window.
4464 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 4465 (window-normalize-live-window): Delete.
447f16b8
CY
4466 (window-combination-p, window-combined-p, window-combinations)
4467 (walk-window-subtree, window-atom-root, window-min-size)
4468 (window-sizable, window-sizable-p, window-size-fixed-p)
4469 (window-min-delta, window-max-delta, window-resizable)
4470 (window-resizable-p, window-full-height-p, window-full-width-p)
4471 (window-current-scroll-bars, window-point-1, set-window-point-1)
4472 (window-at-side-p, window-in-direction, window-resize)
4473 (adjust-window-trailing-edge, maximize-window, minimize-window)
4474 (window-deletable-p, delete-window, delete-other-windows)
4475 (record-window-buffer, unrecord-window-buffer)
4476 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
4477 (quit-window, split-window, window-state-put)
4478 (set-window-text-height, fit-window-to-buffer)
4479 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 4480
89bd5ee1
EZ
44812011-11-04 Eli Zaretskii <eliz@gnu.org>
4482
53479029
EZ
4483 * mail/rmail.el (rmail-simplified-subject): Decode subject with
4484 rfc2047-decode-string.
4485 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
4486 warnings.
4487
89bd5ee1
EZ
4488 * window.el (window-body-height, window-body-width): Mention in
4489 the doc string that the return values are in frame's canonical
4490 units. (Bug#9949)
4491
bd17fdee
AM
44922011-11-03 Alan Mackenzie <acm@muc.de>
4493
4494 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
4495 change in cc-engine.el.
4496
acc825c5
SM
44972011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4500
1885e5b8
MR
45012011-11-02 Martin Rudalics <rudalics@gmx.at>
4502
4503 * window.el (quit-window): Call unrecord-window-buffer after
4504 showing another buffer in the window. (Bug#9937)
acc825c5 4505 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 4506
ebe06da9
JB
45072011-11-02 Juanma Barranquero <lekktu@gmail.com>
4508
4509 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4510 Accept status with more than 9 shelves. (Bug#9935)
4511 Reported by Colin D Bennett <colin@gibibit.com>.
4512
4ee88440
MR
45132011-11-01 Martin Rudalics <rudalics@gmx.at>
4514
4515 * help.el (with-help-window): Don't reference
4516 temp-buffer-show-specifiers in doc-string.
4517
08e1d82c
AS
45182011-10-31 Andreas Schwab <schwab@linux-m68k.org>
4519
4520 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
4521 menu-item.
4522
84bd6e9e
VJL
45232011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4524
4525 * whitespace.el: New version 13.2.2.
4526 (whitespace-newline-mode): Disable properly. Reported by Sarah
4527 <EmacsWiki>.
4528
dba0634a
UJ
45292011-10-30 Ulf Jasper <ulf.jasper@web.de>
4530
4531 * net/newst-treeview.el: Remove "Time-stamp".
4532 (newsticker--group-manage-orphan-feeds): Do not call
4533 newsticker--treeview-tree-update.
db22a3c2
JB
4534 (newsticker-treeview-update, newsticker-treeview):
4535 Call newsticker--treeview-tree-update if necessary.
dba0634a 4536
3d8daefe
MR
45372011-10-30 Martin Rudalics <rudalics@gmx.at>
4538
4539 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
4540 (window-iso-combinations): Remove "iso-" infix.
4541 Suggested by Chong Yidong.
3d8daefe
MR
4542 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
4543 (window-max-delta-1, window-resize, window--resize-siblings)
4544 (window--resize-this-window, adjust-window-trailing-edge)
4545 (split-window, balance-windows-1)
4546 (shrink-window-if-larger-than-buffer):
4547 * calendar/calendar.el (calendar-generate-window):
db22a3c2 4548 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 4549
1bc4c3ae
SM
45502011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4553 in place (bug#9907).
4554 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
4555 (eshell-rewrite-if-command, eshell-rewrite-for-command)
4556 (eshell-structure-basic-command, eshell-rewrite-while-command)
4557 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
4558 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
4559 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
4560 (eshell-do-pipelines-synchronously, eshell-eval-command):
4561 Use backquotes and prefer setq to set.
4562 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
4563 (eshell-macrop): Use functionp.
c1e2f5fa 4564 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 4565
30b65d9c
CY
45662011-10-30 Chong Yidong <cyd@gnu.org>
4567
4568 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
4569 instead of set-mark (Bug#9810).
4570
2d197ffb
CY
45712011-10-30 Chong Yidong <cyd@gnu.org>
4572
4573 * window.el (split-window-below, split-window-right): Rename from
4574 split-window-above-each-other and split-window-side-by-side
4575 respectively. All callers changed.
4576 (split-window-sensibly, split-window-sensibly): Use them.
4577 (split-window-keep-point): Doc fix.
4578
4579 * isearch.el: Add isearch-scroll property to split-window-below
4580 and split-window-right.
4581
4582 * follow.el (follow-mode):
4583 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
4584 * progmodes/ada-xref.el (ada-gdb-application):
4585 * emulation/vip.el (vip-buffer-in-two-windows):
4586 * image-dired.el (image-dired-dired-with-window-configuration):
4587 * dired-x.el (dired-do-find-marked-files):
4588 * dired.el (dired-pop-to-buffer):
4589 * bs.el (bs--show-with-configuration):
4590 * vc/emerge.el (emerge-setup-windows):
4591 * textmodes/two-column.el (2C-two-columns):
4592 * textmodes/reftex-toc.el (reftex-toc):
4593 * progmodes/gdb-mi.el (gdb-setup-windows):
4594 * progmodes/fortran.el (fortran-window-create):
4595 * net/newst-treeview.el (newsticker--treeview-window-init):
4596 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
4597 * emulation/tpu-edt.el (tpu-gold-map):
4598 * emulation/crisp.el (crisp-mode-map):
4599 * calendar/calendar.el (calendar-basic-setup): Callers changed.
4600
38bb2ca8
CY
46012011-10-29 Chong Yidong <cyd@gnu.org>
4602
aa4de341
CY
4603 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4604
e1eb5385
CY
4605 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
4606
5d2ece3c
CY
4607 * textmodes/flyspell.el (flyspell-word): Fix char offset for
4608 forged Ispell output (Bug#7904).
4609
38bb2ca8
CY
4610 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
4611
d0af9f77
SM
46122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * doc-view.el: Avoid ugly errors about not finding nil.
4615 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
4616 (doc-view-dvipdf-program, doc-view-unoconv-program)
4617 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
4618 Avoid nil or absolute file name as default value.
4619 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
4620
52bedd34
AM
46212011-10-28 Alan Mackenzie <acm@muc.de>
4622
db22a3c2 4623 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 4624
7e43cfa5
AM
46252011-10-28 Alan Mackenzie <acm@muc.de>
4626
4627 Amend the handling of c-beginning/end-of-defun in nested declaration
4628 scopes.
4629
52bedd34
AM
4630 * progmodes/cc-vars.el (c-defun-tactic): Move here from
4631 cc-langs.el. Change it to a defcustom.
7e43cfa5 4632
52bedd34
AM
4633 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
4634 cc-vars.el.
7e43cfa5 4635
d0af9f77
SM
4636 * progmodes/cc-engine.el (c-beginning-of-statement-1):
4637 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 4638
52bedd34 4639 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 4640 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
4641 (c-widen-to-enclosing-decl-scope): New function.
4642 (c-while-widening-to-decl-block): New macro.
4643 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
4644 outward for defun boundaries, and correspondingly change symbol
4645 `respect-enclosure' to `go-outward'.
4646 (c-declaration-limits): Change algorithm to report only the "innermost"
4647 defun's boundaries.
4648
1a2ce9ee
DD
46492011-10-28 Deniz Dogan <deniz@dogan.se>
4650
4651 * net/rcirc.el (rcirc-mode): Use hard newlines.
4652
bc97a826
AM
46532011-10-28 Alan Mackenzie <acm@muc.de>
4654
4655 Amend to indent and fontify macros "which include their own semicolon"
4656 correctly, using the "virtual semicolon" mechanism.
4657
52bedd34 4658 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 4659
d0af9f77 4660 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 4661 Recode to scan one line at a time rather than having \n and \r
58179cce 4662 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 4663 (c-forward-label): Amend for virtual semicolons.
58179cce 4664 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 4665
52bedd34
AM
4666 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
4667 of the new C macros.
bc97a826 4668
52bedd34 4669 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
4670 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
4671 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
4672 (c-opt-cpp-macro-define): Make into a full language variable.
4673 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
4674 AWK Mode (including \n, \r) removed, no longer needed.
4675
d0af9f77
SM
4676 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
4677 Invoke c-make-macro-with-semi-re.
bc97a826 4678
52bedd34
AM
4679 * progmodes/cc-vars.el (c-macro-with-semi-re):
4680 (c-macro-names-with-semicolon): New variables.
58179cce 4681 (c-make-macro-with-semi-re): New function.
bc97a826 4682
7a6c0941
SM
46832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * vc/log-edit.el: Fill empty field rather than adding new one.
4686 (log-edit-add-field): New function.
4687 (log-edit-insert-changelog): Use it.
4688
b0c4cdcf
ML
46892011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
4690
4691 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
4692
ee1f1da9
SM
46932011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
4696 (gdb--check-interpreter): New function.
4697 (gdb): Use it.
4698
51bc5f8b
GM
46992011-10-27 Glenn Morris <rgm@gnu.org>
4700
416a2c45
GM
4701 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
4702 (least-positive-float, least-negative-float)
4703 (least-positive-normalized-float, least-negative-normalized-float)
4704 (float-epsilon, float-negative-epsilon):
4705 Remove unnecessary declarations.
4706
4707 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
4708 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
4709 (least-positive-float, least-negative-float)
4710 (least-positive-normalized-float, least-negative-normalized-float)
4711 (float-epsilon, float-negative-epsilon): Add doc-strings,
4712 based on those in cl.texi.
4713
51bc5f8b
GM
4714 * files.el (set-visited-file-name): If the major-mode changed,
4715 reload the local variables. (Bug#9796)
4716
15de15c6
CY
47172011-10-27 Chong Yidong <cyd@gnu.org>
4718
4719 * subr.el (change-major-mode-after-body-hook): New hook.
4720 (run-mode-hooks): Run it.
4721
ee1f1da9
SM
4722 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4723 Use change-major-mode-before-body-hook.
15de15c6
CY
4724
4725 * simple.el (fundamental-mode):
4726 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
4727 change introducing fundamental-mode-hook.
4728
5430d399
JB
47292011-10-26 Juanma Barranquero <lekktu@gmail.com>
4730
acc825c5 4731 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 4732
ad74a69e
MA
47332011-10-26 Michael Albinus <michael.albinus@gmx.de>
4734
4735 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 4736 tramp.el explicitly. (Bug#7583)
ad74a69e 4737
71d4c2a5
SM
47382011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * progmodes/octave-mod.el:
4741 * progmodes/octave-inf.el: Update maintainer.
4742
b1f6fa26
CY
47432011-10-26 Chong Yidong <cyd@gnu.org>
4744
4745 * subr.el (with-wrapper-hook): Rewrite doc.
4746
3f04efd6
MA
47472011-10-25 Michael Albinus <michael.albinus@gmx.de>
4748
4749 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 4750 filenames "/method:foo:". (Bug#9793)
3f04efd6 4751
410488d3
SM
47522011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
4755 (bug#9865).
4756
c1ebb47e
GM
47572011-10-24 Glenn Morris <rgm@gnu.org>
4758
4759 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
4760
7f5c46c7
MA
47612011-10-24 Michael Albinus <michael.albinus@gmx.de>
4762
4763 * notifications.el: Add the requirement of a running D-Bus session
4764 bus to the Commentary.
4765
db2440b6
JL
47662011-10-24 Juri Linkov <juri@jurta.org>
4767
4768 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
4769 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
4770 (Bug#9364)
4771
feecf435
JL
47722011-10-24 Juri Linkov <juri@jurta.org>
4773
4774 * info.el (Info-following-node-name-re): Add newline to the list
4775 of allowed characters for leading space. (Bug#9824)
4776
a3839de2
SM
47772011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4778
acc825c5
SM
4779 * progmodes/octave-inf.el (inferior-octave-mode-map):
4780 Fix C-c C-h binding.
a3839de2
SM
4781 * progmodes/octave-mod.el (octave-help): Remove.
4782
09388e76
MA
47832011-10-23 Michael Albinus <michael.albinus@gmx.de>
4784
4785 Sync with Tramp 2.2.3.
4786
4787 * net/tramp-cache.el (top): Pacify byte-compiler using
4788 `init-file-user' and `site-run-file'.
4789
4790 * net/trampver.el: Update release number.
4791
86c60681
CY
47922011-10-23 Chong Yidong <cyd@gnu.org>
4793
4794 * files.el (toggle-read-only): Remove obsolete comment about
4795 version control.
4796
4797 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
4798 for toggle-read-only. Note that this hasn't called vc-next-action
4799 since 2008-05-02, though it wasn't documented at the time.
4800
a3839de2
SM
4801 * vc/ediff-init.el (ediff-toggle-read-only-function):
4802 Use toggle-read-only.
86c60681 4803
cd5495ff
AM
48042011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
4805
4806 Fix bug #9560, sporadic wrong indentation; improve instrumentation
4807 of c-parse-state.
4808
00b77525 4809 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 4810 correct faulty logical expression.
cd5495ff
AM
4811 (c-parse-state-state, c-record-parse-state-state):
4812 (c-replay-parse-state-state): New defvar/defuns.
4813 (c-debug-parse-state): Use new functions.
4814
42ee24ed
MR
48152011-10-22 Martin Rudalics <rudalics@gmx.at>
4816
4817 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 4818 last fix. Use window-in-direction correctly.
42ee24ed 4819
a7dee7e7
CY
48202011-10-21 Chong Yidong <cyd@gnu.org>
4821
4822 * progmodes/idlwave.el (idlwave-mode):
4823 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
4824 require-final-newline; that's done in prog-mode.
4825 Suggested by Stefan Monnier.
a7dee7e7 4826
e07b9a6d
MR
48272011-10-21 Martin Rudalics <rudalics@gmx.at>
4828
4829 * mouse.el (mouse-drag-window-above)
4830 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
4831 (mouse-drag-mode-line-1, mouse-drag-header-line)
4832 (mouse-drag-vertical-line-rightward-window): Remove.
4833 (mouse-drag-line): New function.
4834 (mouse-drag-mode-line, mouse-drag-header-line)
4835 (mouse-drag-vertical-line): Call mouse-drag-line.
4836 * window.el (window-at-side-p, windows-at-side): New functions.
4837
7e1361d9
UM
48382011-10-21 Ulrich Mueller <ulm@gentoo.org>
4839
4840 * tar-mode.el (tar-grind-file-mode):
4841 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
4842
30fcaf3a
CY
48432011-10-21 Chong Yidong <cyd@gnu.org>
4844
4845 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
4846 * progmodes/vera-mode.el (vera-mode):
4847 Use mode-require-final-newline.
30fcaf3a 4848
516eddb0
GM
48492011-10-20 Glenn Morris <rgm@gnu.org>
4850
db22a3c2 4851 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 4852
10d5f513
CS
48532011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
4854
4855 * emulation/cua-base.el (cua-set-mark): Fix case of string.
4856
ac6c8639
CY
48572011-10-20 Chong Yidong <cyd@gnu.org>
4858
4859 * emulation/cua-base.el (cua-mode):
4860 * mail/footnote.el (footnote-mode):
4861 * mail/mailabbrev.el (mail-abbrevs-mode):
4862 * net/xesam.el (xesam-minor-mode):
4863 * progmodes/bug-reference.el (bug-reference-mode):
4864 * progmodes/cap-words.el (capitalized-words-mode):
4865 * progmodes/compile.el (compilation-minor-mode)
4866 (compilation-shell-minor-mode):
4867 * progmodes/gud.el (gud-tooltip-mode):
4868 * progmodes/hideif.el (hide-ifdef-mode):
4869 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
4870 * progmodes/subword.el (subword-mode):
4871 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4872 * progmodes/which-func.el (which-function-mode):
4873 * term/tvi970.el (tvi970-set-keypad-mode):
4874 * term/vt100.el (vt100-wide-mode):
4875 * textmodes/flyspell.el (flyspell-mode):
4876 * textmodes/ispell.el (ispell-minor-mode):
4877 * textmodes/nroff-mode.el (nroff-electric-mode):
4878 * textmodes/paragraphs.el (use-hard-newlines):
4879 * textmodes/refill.el (refill-mode):
4880 * textmodes/reftex.el (reftex-mode):
4881 * textmodes/rst.el (rst-minor-mode):
4882 * textmodes/sgml-mode.el (html-autoview-mode)
4883 (sgml-electric-tag-pair-mode):
4884 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
4885 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
4886 * emulation/crisp.el (crisp-mode):
4887 * emacs-lisp/eldoc.el (eldoc-mode):
4888 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
4889 minor mode behavior.
4890
aa42ab43
JL
48912011-10-19 Juri Linkov <juri@jurta.org>
4892
4893 * descr-text.el (describe-char): Add #x2010 and #x2011 to
4894 the list of hard-coded chars with escape-glyph face.
4895
89400f1d
SM
48962011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4897
4898 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
4899
305c07f6
MA
49002011-10-19 Michael Albinus <michael.albinus@gmx.de>
4901
4902 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
4903 running process.
4904
13754b54
GM
49052011-10-19 Glenn Morris <rgm@gnu.org>
4906
4907 * vc/vc-bzr.el (vc-bzr-after-dir-status):
4908 Ignore ignored files. (Bug#9726)
4909
06e21633
CY
49102011-10-19 Chong Yidong <cyd@gnu.org>
4911
4912 Doc fix for minor modes, stating that an omitted argument enables
4913 the mode unconditionally when called from Lisp.
4914
4915 * abbrev.el (abbrev-mode):
4916 * allout.el (allout-mode):
4917 * autoinsert.el (auto-insert-mode):
4918 * autoarg.el (autoarg-mode, autoarg-kp-mode):
4919 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
4920 (global-auto-revert-mode):
4921 * battery.el (display-battery-mode):
4922 * composite.el (global-auto-composition-mode)
4923 (auto-composition-mode):
4924 * delsel.el (delete-selection-mode):
4925 * desktop.el (desktop-save-mode):
4926 * dired-x.el (dired-omit-mode):
4927 * dirtrack.el (dirtrack-mode):
4928 * doc-view.el (doc-view-minor-mode):
4929 * double.el (double-mode):
4930 * electric.el (electric-indent-mode, electric-pair-mode):
4931 * emacs-lock.el (emacs-lock-mode):
4932 * epa-hook.el (auto-encryption-mode):
4933 * follow.el (follow-mode):
4934 * font-core.el (font-lock-mode):
4935 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
4936 * help.el (temp-buffer-resize-mode):
4937 * hilit-chg.el (highlight-changes-mode)
4938 (highlight-changes-visible-mode):
4939 * hi-lock.el (hi-lock-mode):
4940 * hl-line.el (hl-line-mode, global-hl-line-mode):
4941 * icomplete.el (icomplete-mode):
4942 * ido.el (ido-everywhere):
4943 * image-file.el (auto-image-file-mode):
4944 * image-mode.el (image-minor-mode):
4945 * iswitchb.el (iswitchb-mode):
4946 * jka-cmpr-hook.el (auto-compression-mode):
4947 * linum.el (linum-mode):
4948 * longlines.el (longlines-mode):
4949 * master.el (master-mode):
4950 * mb-depth.el (minibuffer-depth-indicate-mode):
4951 * menu-bar.el (menu-bar-mode):
4952 * minibuf-eldef.el (minibuffer-electric-default-mode):
4953 * mouse-sel.el (mouse-sel-mode):
4954 * msb.el (msb-mode):
4955 * mwheel.el (mouse-wheel-mode):
4956 * outline.el (outline-minor-mode):
4957 * paren.el (show-paren-mode):
4958 * recentf.el (recentf-mode):
4959 * reveal.el (reveal-mode, global-reveal-mode):
4960 * rfn-eshadow.el (file-name-shadow-mode):
4961 * ruler-mode.el (ruler-mode):
4962 * savehist.el (savehist-mode):
4963 * scroll-all.el (scroll-all-mode):
4964 * scroll-bar.el (scroll-bar-mode):
4965 * server.el (server-mode):
4966 * shell.el (shell-dirtrack-mode):
4967 * simple.el (auto-fill-mode, transient-mark-mode)
4968 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
4969 (line-number-mode, column-number-mode, size-indication-mode)
4970 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
4971 * strokes.el (strokes-mode):
4972 * time.el (display-time-mode):
4973 * t-mouse.el (gpm-mouse-mode):
4974 * tool-bar.el (tool-bar-mode):
4975 * tooltip.el (tooltip-mode):
4976 * type-break.el (type-break-mode-line-message-mode)
4977 (type-break-query-mode):
4978 * view.el (view-mode):
4979 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4980 (global-whitespace-mode, global-whitespace-newline-mode):
4981 * xt-mouse.el (xterm-mouse-mode): Doc fix.
4982
a3839de2
SM
4983 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4984 Fix autogenerated docstring.
06e21633 4985
5214e501
JL
49862011-10-19 Juri Linkov <juri@jurta.org>
4987
4988 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
4989 by checking environment variables "DESKTOP_SESSION" and
4990 "XDG_CURRENT_DESKTOP". (Bug#9779)
4991
195f8db9
JL
49922011-10-19 Juri Linkov <juri@jurta.org>
4993
4994 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
4995 (browse-url-chromium-program, browse-url-chromium-arguments):
4996 New defcustoms.
4997 (browse-url-default-browser): Check for `browse-url-chromium' and
4998 call `browse-url-chromium-program'.
4999 (browse-url-chromium): New command. (Bug#9779)
5000
343a34ff
JB
50012011-10-18 Juanma Barranquero <lekktu@gmail.com>
5002
5003 * facemenu.el (list-colors-duplicates): On Windows, detect more
5004 duplicates by assuming that only colors matching "^System" are
5005 special "system colors". (Bug#9722)
5006
6978a151
SM
50072011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
5010 to distinguish the author from the committer.
5011
6a80b297
MA
50122011-10-18 Michael Albinus <michael.albinus@gmx.de>
5013
5014 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
5015
b31a5677
JK
50162011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
5017
5018 * international/mule.el (sgml-html-meta-auto-coding-function):
5019 Add support for detecting encoding in HTML5 specified only as
5020 <meta charset="UTF-8">. Implementation just makes http-equiv and
5021 content-type parts from HTML4 encoding string optional. (Bug#9716)
5022
80c6d77f
GM
50232011-10-18 Glenn Morris <rgm@gnu.org>
5024
5025 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
5026
08b0fee8
CY
50272011-10-18 Chong Yidong <cyd@gnu.org>
5028
5029 * faces.el (cursor): Doc fix.
5030
67e729a5
CY
50312011-10-17 Chong Yidong <cyd@gnu.org>
5032
5033 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
5034
343a34ff 50352011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
5036
5037 * dirtrack.el (dirtrack): Support shell buffers with path
5038 prefixes, e.g. tramp-based remote shells. (Bug#9647)
5039
0bc06380
TZ
50402011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
5041
5042 * json.el: Bump version to 1.3 and note change in History.
5043 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
5044
8b79f3e0
SM
50452011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5a7c536b
SM
5047 * comint.el (comint-insert-input, comint-send-input)
5048 (comint-get-old-input-default, comint-backward-matching-input)
5049 (comint-next-prompt): Use nil instead of `input' for field property of
5050 past user input (bug#114).
5051
96a8a0df
SM
5052 * minibuffer.el (completion--replace): Inherit surrounding properties
5053 (bug#114).
5054 (minibuffer-complete-and-exit): Use it.
5055
8b79f3e0
SM
5056 * comint.el (comint--table-subvert): Quote the all-completions output
5057 (bug#9160).
5058
b8f7ff0d
MR
50592011-10-17 Martin Rudalics <rudalics@gmx.at>
5060
8b79f3e0 5061 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 5062
b8f7ff0d 5063 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 5064 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
5065 entries and separate them from frame entries.
5066
c235b555
GM
50672011-10-15 Glenn Morris <rgm@gnu.org>
5068
5069 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
5070 Doc fixes.
5071
6bbfa6e1
CY
50722011-10-15 Chong Yidong <cyd@stupidchicken.com>
5073
8b79f3e0
SM
5074 * net/network-stream.el (network-stream-open-starttls):
5075 Improve detection of failure due to lack of TLS support.
ec5c990d 5076
6bbfa6e1
CY
5077 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
5078 putting the input text in front and in bold.
5079
98488977
SM
50802011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5081
3d1337be
SM
5082 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
5083
ee0b45e4
SM
5084 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
5085 empty buffer.
5086
98488977
SM
5087 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
5088 unread-command-events rather than pushing yet-another event.
5089
186f4720
EZ
50902011-10-14 Eli Zaretskii <eliz@gnu.org>
5091
5092 * mail/sendmail.el (sendmail-query-once): Improve the wording of
5093 the explanation of the possible choices. Make the options passed
5094 to completing-read shorter.
5095
8b7a997c
AM
50962011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5097
5098 * textmodes/flyspell.el (flyspell-large-region): Make sure
5099 extended character mode is used if defined (Bug#1339).
5100
12587bbb
EZ
51012011-10-13 Eli Zaretskii <eliz@gnu.org>
5102
5103 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
5104 character info for LRE, LRO, RLE, and RLO characters by appending
5105 an invisible PDF.
12587bbb 5106
bad41229
SM
51072011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
5110 even in case of error; add debug spec; simplify data flow.
5111 (with-timeout-handler): Remove.
5112
28dbc92f
MA
51132011-10-12 Michael Albinus <michael.albinus@gmx.de>
5114
5115 Fix Bug#6019, Bug#9315.
5116
5117 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
5118 complete `buffer-file-name', the local file name part could look
5119 remotely (for example on VMS).
5120
5121 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
5122 `tramp-run-real-handler'.
5123 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
5124 already quoted by '"'.
5125
5126 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
5127 Let `file-name-handler-alist' be nil, the local file name part
5128 could look remotely (for example on VMS).
5129
e1b0b23a
SM
51302011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
5133 from here...
5134 (flyspell-post-command-hook): ...to here.
5135
a120bde9
SM
51362011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
5139 if not needed.
5140 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
5141 using completion. Protect against "slow" callers.
5142 Remove the "message hack".
5143
7ce7717b
JL
51442011-10-11 Juri Linkov <juri@jurta.org>
5145
5146 * isearch.el (isearch-lazy-highlight-word): New variable.
5147 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5148 Use it. (Bug#9727)
5149
c02ee9d6
GM
51502011-10-11 Glenn Morris <rgm@gnu.org>
5151
5152 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
5153 like f90-previous-statement does.
5154
93e616fd 51552011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5156
1f190e73 5157 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
5158 only in interactive use, to avoid error.
5159
af7b6078
SM
51602011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * minibuffer.el (completion-file-name-table): Fix last change,
5163 i.e. ignore normal errors but not the other ones.
5164
0563dae9
MR
51652011-10-10 Martin Rudalics <rudalics@gmx.at>
5166
5167 * window.el (special-display-buffer-names)
5168 (special-display-regexps): Remove some remnants of earlier
5169 changes from doc-strings.
366ca7f3
MR
5170 (quit-windows-on): New function.
5171
5172 * vc/vc.el (vc-revert, vc-rollback):
5173 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
5174 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 5175 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 5176
49677495
MR
51772011-10-09 Martin Rudalics <rudalics@gmx.at>
5178
5179 * window.el (frame-auto-hide-function): Add version tag.
5180 (Bug#9699)
5181
56f2d1e1
MA
51822011-10-09 Michael Albinus <michael.albinus@gmx.de>
5183
5184 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
5185 condition.
5186
112a6592
LL
51872011-10-09 Leo Liu <sdl.web@gmail.com>
5188
5189 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
5190 (Bug#9701)
5191
0812589b
GM
51922011-10-08 Glenn Morris <rgm@gnu.org>
5193
5194 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
5195 before the first code statement zero indent. (Bug#9690)
5196
b2b0776e
CY
51972011-10-08 Chong Yidong <cyd@stupidchicken.com>
5198
5199 * simple.el (count-words-region): Always count in the region.
5200 Report the number of lines and characters too.
5201 (count-words): New command, which counts in the buffer if the
5202 region is inactive, as count-words-region used to.
5203 (count-words--message): New function. Handle plurals.
5204 (count-lines-region): Make it an alias for count-words-region.
5205
5206 * bindings.el (esc-map): Replace count-lines-region with
5207 count-words-region.
5208
c557cd6b
MR
52092011-10-08 Martin Rudalics <rudalics@gmx.at>
5210
5211 * window.el (window--delete): Delete dedicated frame
5212 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 5213 (switch-to-buffer): Fix doc-string typo.
c557cd6b 5214
61a57ef4 52152011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5216
3a7d293b 5217 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 5218
c3833279
CY
52192011-10-07 Chong Yidong <cyd@stupidchicken.com>
5220
5221 * bindings.el ([M-left],[M-right]): Bind to left-word and
5222 right-word respectively.
5223
21ce8245
GM
52242011-10-07 Glenn Morris <rgm@gnu.org>
5225
5226 * cus-start.el (debug-on-quit): Fix custom type.
5227
6d823bb2
LMI
52282011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5229
0181e193
LMI
5230 * subr.el (define-key-after): Clarify that the function is not
5231 useful for non-menu keymaps.
5232
6d823bb2
LMI
5233 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
5234
8e3459ce 52352011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5236
21ce8245 5237 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 5238 in current minibuffer (Fix bug with recursive minibuffers).
5239
a1c2d21e
CY
52402011-10-06 Chong Yidong <cyd@stupidchicken.com>
5241
5242 * progmodes/gdb-mi.el (gdb): Doc fix.
5243
5a4cf282
MR
52442011-10-05 Martin Rudalics <rudalics@gmx.at>
5245
5246 * window.el (frame-auto-hide-function): New option replacing
5247 frame-auto-delete. Suggested by Stefan Monnier.
5248 (window--delete): Call frame-auto-hide-function instead of
5249 investigating frame-auto-delete.
c96111ea
MR
5250 (window-point-1, set-window-point-1): New functions.
5251 (window-in-direction, record-window-buffer, window-state-get-1)
5252 (display-buffer-record-window): Use window-point-1 instead of
5253 window-point.
5254 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 5255
9854542e
SM
52562011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
5259
8943cfb0
GM
52602011-10-05 Glenn Morris <rgm@gnu.org>
5261
5262 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
5263 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
5264
647ab967
LL
52652011-10-05 Leo Liu <sdl.web@gmail.com>
5266
5267 * subr.el (read-char-choice): Fix argument to buffer-live-p which
5268 works with buffer object.
5269
3ddfbced
SM
52702011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * mpc.el (mpc-tool-bar-map): Add labels.
5273
bdfa5dd2
GM
52742011-10-04 Glenn Morris <rgm@gnu.org>
5275
5276 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5277
0e2070b5
MR
52782011-10-04 Martin Rudalics <rudalics@gmx.at>
5279
5280 * window.el (window--delete): New function.
5281 (frame-auto-delete): Resuscitate option.
5282 (bury-buffer, replace-buffer-in-windows)
5283 (quit-window): Rewrite using window--delete.
5284 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5285 Pass display-buffer-mark-dedicated to window--display-buffer-2
5286 (Bug#9639).
5287
3dc61a09
SM
52882011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5289
915a9b64
SM
5290 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
5291 returns a list (bug#9554). Add remote file name completion.
5292 * comint.el (comint--table-subvert): Curry and get quote&unquote
5293 functions as arguments.
5294 (comint--complete-file-name-data): Adjust call accordingly.
5295 * pcomplete.el (pcomplete--table-subvert): Remove.
5296 (pcomplete-completions-at-point): Use comint--table-subvert instead.
5297
3dc61a09
SM
5298 * minibuffer.el (completion-table-case-fold): Use currying.
5299 (completion--styles-type, completion--cycling-threshold-type):
5300 New constants.
5301 (completion-styles, completion-category-overrides)
5302 (completion-cycle-threshold): Use them.
5303 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
5304 completion-table-case-fold.
5305
8ea0a993
SB
53062011-10-03 Stephen Berman <stephen.berman@gmx.net>
5307
5308 * minibuffer.el (completion-category-overrides): Fix type of styles
5309 and add more user friendly tags (bug#9660).
5310
8c24b7f6
SM
53112011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
5314 (mule-input-method-string): New widget.
5315 (default-input-method, language-info-custom-alist): Use it.
5316
428fe61a
SM
53172011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5318
32c1fffd
SM
5319 * pcomplete.el: Require comint.
5320 (pcomplete--common-suffix): Remove.
5321 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
5322 (pcomplete--table-subvert): Sync with comint--table-subvert.
5323 (pcomplete--entries): Use comint-completion-file-name-table.
5324 * comint.el (comint-unquote-filename): Simplify.
5325 (comint-completion-file-name-table): New function (bug#9616).
5326 (comint--complete-file-name-data): Use it.
5327
428fe61a
SM
5328 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
5329 (pcmpl-gnu-tar-buffer): Remove.
5330 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
5331 around. Make sure pcomplete-suffix-list is only changed temporarily.
5332 Don't look inside the tar's file if it's too large.
428fe61a 5333
04c52e2f
CY
53342011-10-01 Chong Yidong <cyd@stupidchicken.com>
5335
ce3cefcc
CY
5336 * cus-edit.el (custom-mode-map):
5337 * epa.el (epa-key-list-mode-map):
5338 * man.el (Man-mode-map):
5339 * startup.el (splash-screen-keymap):
5340 * simple.el (special-mode-map): Use scroll-up-command and
5341 scroll-down-command.
5342
5343 * progmodes/idlw-help.el (idlwave-help-mode-map):
5344 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
5345 * net/newst-plainview.el (newsticker-mode-map):
5346 * emulation/ws-mode.el (wordstar-mode-map):
5347 * emulation/vi.el (vi-com-map):
5348 * calc/calc-graph.el (calc-graph-show-dumb):
5349 * term/sun.el (terminal-init-sun):
5350 * term/ns-win.el (global-map):
5351 * progmodes/grep.el (grep-mode-map):
5352 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
5353 * mail/rmail.el (rmail-mode-map):
5354 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
5355
04c52e2f
CY
5356 * custom.el (custom-safe-themes, load-theme): Treat value of t for
5357 custom-safe-themes as special.
5358
79adf8c8
JD
53592011-10-01 Julien Danjou <julien@danjou.info>
5360
5361 * notifications.el (notifications-notify): Fix docstring.
5362
63bd50d3
PS
53632011-10-01 Per Starbäck <per@starback.se>
5364
5365 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
5366
199e4c7e
MR
53672011-09-30 Martin Rudalics <rudalics@gmx.at>
5368
5369 * startup.el (command-line-1): Fix last fix by inserting
5370 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 5371 (Bug#9605) and (Bug#9636)
199e4c7e 5372
fe5f08dd
EZ
53732011-09-29 Eli Zaretskii <eliz@gnu.org>
5374
5375 * simple.el (line-move): If auto-hscroll-mode is disabled and the
5376 window is hscrolled, move by logical lines. (Bug#9607)
5377 (line-move-visual): Update the doc string to the above effect.
5378
b5516bbd
MR
53792011-09-29 Martin Rudalics <rudalics@gmx.at>
5380
ccee00c0
MR
5381 * window.el (display-buffer-record-window): When WINDOW is the
5382 selected window use `point' instead of `window-point'. (Bug#9626)
5383
b5516bbd
MR
5384 * startup.el (command-line-1): Use insert-before-markers when
5385 inserting initial-scratch-message. (Bug#9605)
ccee00c0 5386
b5516bbd
MR
5387 * help.el (help-window): Remove variable.
5388
52aa0014
GM
53892011-09-29 Glenn Morris <rgm@gnu.org>
5390
5391 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
5392
df9a7357
JB
53932011-09-29 Juanma Barranquero <lekktu@gmail.com>
5394
5395 * descr-text.el (describe-char-categories): Accept category
5396 descriptions more than one line long.
5397
a8406c20
SM
53982011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5399
88d9610c
SM
5400 * simple.el (delete-trailing-whitespace): Fix last change.
5401
a5daf810
SM
5402 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5403 Don't confuse "y => 3" as the beginning of a `y' operation.
5404
a8406c20
SM
5405 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
5406 object has more than 4 slots (bug#9613).
5407
a239d4e9
JB
54082011-09-28 Juanma Barranquero <lekktu@gmail.com>
5409
5410 * subr.el (with-output-to-temp-buffer):
5411 * net/quickurl.el (quickurl, quickurl-browse-url):
5412 Fix typos in docstrings.
5413
693fbdb6
EZ
54142011-09-27 Eli Zaretskii <eliz@gnu.org>
5415
5416 * minibuffer.el (completion-styles)
5417 (completion-category-overrides): Cross reference each other in doc
5418 strings.
5419
8b457e28
GM
54202011-09-27 Glenn Morris <rgm@gnu.org>
5421
5422 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
5423 to split-string. (Bug#9606)
5424
85a16208
LMI
54252011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5426
5427 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
5428 (bug#9615).
5429
502f9ebd
CY
54302011-09-27 Chong Yidong <cyd@stupidchicken.com>
5431
5432 * emacs-lisp/package.el (list-packages): Fix echo area message.
5433
7690bdea
LL
54342011-09-27 Leo Liu <sdl.web@gmail.com>
5435
5436 * ido.el (ido-read-internal): Accept cons cell HIST arg.
5437
e2ee6f30
MA
54382011-09-25 Michael Albinus <michael.albinus@gmx.de>
5439
5440 * net/dbus.el (dbus-unregister-object): Don't release services for
5441 registered signals. (Bug#9581)
5442
f3f98342
TZ
54432011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
5444
5445 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
5446 function that picks between cfengine 2 and 3 support
5447 automatically. Update docs accordingly.
5448
dd7aa8dd
KH
54492011-09-22 Kenichi Handa <handa@m17n.org>
5450
5451 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
5452 ZERO.
5453 (indian-itrans-v5-table-for-tamil): New variable.
5454 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
5455
3f2b07f8
KM
54562011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
5457
5458 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
5459 that's true if the current command involved collapsing of text.
5460 It's reset to false at the beginning of the next command.
5461 (allout-post-command-business): Move the cursor to the beginning
5462 of entry if the cursor is hidden and collapsing activity just
5463 happened.
5464
371d6a61
CY
54652011-09-24 Chong Yidong <cyd@stupidchicken.com>
5466
5467 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
5468 tracking (Bug#9541).
5469
2ac2721a
UJ
54702011-09-24 Ulf Jasper <ulf.jasper@web.de>
5471
5472 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
5473 (newsticker-show-news): Automatically load html rendering package
5474 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
5475 because w3m-fill-column is let-bound" and the error "Symbol's value
5476 as variable is void: w3m-fill-column".
2ac2721a 5477
fac7ae53
MA
54782011-09-24 Michael Albinus <michael.albinus@gmx.de>
5479
5480 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
5481 Release services only if they are defined. (Bug#9581)
5482
e08b633b
RS
54832011-09-23 Richard Stallman <rms@gnu.org>
5484
e488d29c
RS
5485 * textmodes/paragraphs.el (forward-sentence): For backwards case,
5486 distinguish start of paragraph from start of its text.
5487
19c38752
RS
5488 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
5489
e08b633b
RS
5490 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
5491 (rmail-generate-viewer-buffer): Put that hook on view buffer.
5492 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
5493
0a39f27e
AS
54942011-09-23 Andreas Schwab <schwab@linux-m68k.org>
5495
5496 * international/mule-diag.el (mule-diag): Insert a newline after
5497 each fontset description.
5498
db4e950d
SM
54992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * simple.el (delete-trailing-whitespace):
5502 Document last change; simplify.
5503
eca3f3ea
PW
55042011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
5505
d68e189a
PW
5506 * simple.el (delete-trailing-whitespace): Also delete
5507 extra newlines at the end of the buffer.
5508
eca3f3ea
PW
5509 * textmodes/picture.el: Make motion commands obey shift-select-mode.
5510 (picture-newline): Use forward-line so as to ignore fields.
5511
01c157cc
SM
55122011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * subr.el (with-wrapper-hook): Fix edebug spec.
5515
022de23e
LMI
55162011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5517
5518 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
5519 (bug#4538).
5520
91683089
MA
55212011-09-23 Michael Albinus <michael.albinus@gmx.de>
5522
eca3f3ea
PW
5523 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
5524 Fix nasty bug using wrong cached values.
91683089 5525
5bdd6fa4
AM
55262011-09-23 Alan Mackenzie <acm@muc.de>
5527
5528 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
5529
97adfb97
CY
55302011-09-23 Chong Yidong <cyd@stupidchicken.com>
5531
5532 * window.el (pop-to-buffer): Ensure right window is selected if we
5533 chose another frame.
5534
d4ef2b50
EZ
55352011-09-22 Eli Zaretskii <eliz@gnu.org>
5536
5537 * simple.el (what-cursor-position): Use get-char-property-change
5538 and next-single-char-property-change, to be able to show display
5539 properties that come from overlays as well as text properties.
5540
72258fe5
CY
55412011-09-22 Chong Yidong <cyd@stupidchicken.com>
5542
5543 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
5544
5545 * cmuscheme.el (run-scheme, switch-to-scheme):
5546 * cus-edit.el (customize-group, custom-buffer-create)
5547 (customize-browse):
5548 * info.el (info):
5549 * shell.el (shell):
5550 * mail/sendmail.el (mail):
5551 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
5552
8f098516
RS
55532011-09-22 Richard Stallman <rms@gnu.org>
5554
5555 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
5556 move back only to line beg, don't move back over blank lines.
5557
e74f1bb6
MA
55582011-09-22 Michael Albinus <michael.albinus@gmx.de>
5559
5560 * files.el (copy-directory): Set directory attributes only in case
5561 they could be retrieved from the source directory. (Bug#9565)
5562
bfeef8b6
DK
55632011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
5564
5565 * progmodes/hideshow.el (hs-looking-at-block-start-p)
5566 (hs-find-block-beginning, hs-hide-level-recursive):
5567 Ignore strings as well as comments. (Bug#9502)
5568
7e423bb8
AS
55692011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
5570
5571 * progmodes/sql.el (sql-comint-postgres):
5572 Convert port number to a string. (Bug#9566)
5573
b4d72fcf
MR
55742011-09-22 Martin Rudalics <rudalics@gmx.at>
5575
5576 * window.el (quit-window): Undedicate window when switching to
5577 previous buffer. Reported by Thierry Volpiatto
5578 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
5579 (special-display-popup-frame): When popping up a new frame reset
5580 its previous buffers to nil. Simplify code.
b4d72fcf 5581
a7b88dc6
MA
55822011-09-21 Michael Albinus <michael.albinus@gmx.de>
5583
5584 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
5585 and process filter, as done also in `shell-command'.
5586
cf4eacfd
MR
55872011-09-21 Martin Rudalics <rudalics@gmx.at>
5588
eca3f3ea 5589 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
5590 Call set-window-start with NOFORCE argument t.
5591 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
5592 (quit-window): Reword doc-string. Handle new format of
5593 quit-restore parameter. Don't delete window if it has a
5594 previous buffer we can show instead of the present one.
5595 (display-buffer-record-window): Rewrite using a new format for
5596 the quit-restore window parameter
5597 (special-display-popup-frame, display-buffer-same-window)
5598 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5599 (display-buffer-pop-up-window, display-buffer-use-some-window):
5600 Adapt symbol passed to display-buffer-record-window.
5601 * help.el (help-window-setup): Handle new format of quit-restore
5602 parameter.
5603
8d28cb95
SM
56042011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5605
94ab793f
SM
5606 * faces.el (face-list): Fix docstring (bug#9564).
5607
8d28cb95
SM
5608 * window.el (display-buffer--action-function-custom-type):
5609 Don't include internal functions in the Custom interface.
5610
3820edeb
JL
56112011-09-20 Juri Linkov <juri@jurta.org>
5612
5613 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
5614 (Info-forward-node, Info-backward-node, Info-next-preorder)
5615 (Info-last-preorder): Use it. (Bug#9528)
5616
5147931d
JL
56172011-09-20 Juri Linkov <juri@jurta.org>
5618
5619 * info.el (Info-last-preorder): Visit last menu item only when
5620 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
5621
cf499a1a
JD
56222011-09-20 Julien Danjou <julien@danjou.info>
5623
5624 * password-cache.el (password-cache-remove): Remove entries even if the
5625 value is nil, so that password with a nil value (negative caching) is
5626 possible to invalidate.
5627
f84e2fe2
LM
56282011-09-20 Lawrence Mitchell <wence@gmx.li>
5629
5630 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
5631 all whitespace around breakpoint. (Bug#9553)
5632 (f90-find-breakpoint): Only break at whitespace inside a comment.
5633
78054a46
SM
56342011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * minibuffer.el (completion-file-name-table): Keep track of errors.
5637 (completion-table-with-predicate): Handle the case where pred1 is nil.
5638 * pcomplete.el (pcomplete-completions-at-point): Simplify.
5639
345083b2
SM
56402011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5641
e24e27be
SM
5642 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
5643 (debugger-return-value): Signal an error if the debugging context does
5644 not await any return value.
5645
345083b2
SM
5646 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
5647 * image-mode.el (image-toggle-display-text)
5648 (image-toggle-display-image): Stay away from evil `intangible'.
5649
08d355e3
LL
56502011-09-19 Leo Liu <sdl.web@gmail.com>
5651
5652 * replace.el (occur-revert-arguments): Make it permanent-local.
5653 (occur-mode): Don't call font-lock-defontify.
5654
f01da43f
CY
56552011-09-19 Chong Yidong <cyd@stupidchicken.com>
5656
5657 * net/ldap.el (ldap-search-internal): Don't push empty search
5658 result (Bug#9508).
5659
b6072fa6
SM
56602011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5661
5662 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
5663
443d6696
MA
56642011-09-19 Michael Albinus <michael.albinus@gmx.de>
5665
5666 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
5667 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
5668
7cc6e154
JL
56692011-09-18 Juri Linkov <juri@jurta.org>
5670
5671 * buff-menu.el (Buffer-menu-mode-map):
5672 * dired.el (dired-mode-map):
5673 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
5674 (lisp-interaction-mode-map):
5675 * emacs-lisp/package.el (package-menu-mode-map):
5676 * epa.el (epa-key-list-mode-map):
5677 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
5678 (menu-bar-options-menu):
5679 * outline.el (outline-mode-menu-bar-map):
5680 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
5681 * vc/vc-dir.el (vc-dir-menu-map):
5682 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
5683 Capitalize non-function content words in menu item strings.
5684
5685 * dired.el (dired-mode-map): Add menu item for
5686 `image-dired-dired-toggle-marked-thumbs'.
5687
80302a81
JL
56882011-09-18 Juri Linkov <juri@jurta.org>
5689
5690 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
5691 to `isearch-case-fold-search' and restore its original value
5692 after the `isearch-mode' call.
5693
46c5cf66
JL
56942011-09-18 Juri Linkov <juri@jurta.org>
5695
5696 * progmodes/grep.el (grep-process-setup): Don't check code for 1
5697 because `zgrep' returns 1 for successful matches (bug#9226).
5698
d18b513b
JL
56992011-09-18 Juri Linkov <juri@jurta.org>
5700
5701 * info.el (Info-extract-menu-node-name): Check the second match
5702 for empty string (second test-case of bug#9528).
5703 (Info-last-preorder): Let-bind `Info-history' to nil to not add
5704 intermediate nodes to the history (first test-case of bug#9528).
5705
72753f87
JL
57062011-09-18 Juri Linkov <juri@jurta.org>
5707
5708 * info.el (Info-mode-syntax-table): New variable.
1154d12e 5709 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 5710
c9384295
JL
57112011-09-18 Juri Linkov <juri@jurta.org>
5712
1154d12e
JB
5713 * info.el (Info-file-supports-index-cookies):
5714 Increment line-beginning-position's arg from 3 to 4 because makeinfo
5715 outputs one more line for long file names (bug#4142).
c9384295 5716
d473dce8
CY
57172011-09-18 Chong Yidong <cyd@stupidchicken.com>
5718
5719 * newcomment.el (comment-normalize-vars): If prompting for
5720 comment-start, set comment-start-skip too (Bug#8424).
5721
2176854d
JB
57222011-09-18 Johan Bockgård <bojohan@gnu.org>
5723
5724 * icomplete.el: Fix previous fix of Bug#5849.
5725 (icomplete-mode): Don't set completion-show-inline-help.
5726 (icomplete-minibuffer-setup): Set completion-show-inline-help
5727 locally during icompletion.
5728
3aace4e4
CY
57292011-09-18 Chong Yidong <cyd@stupidchicken.com>
5730
c940224f
CY
5731 * woman.el (woman2-process-escapes): Don't delete unrecognized
5732 escapes (Bug#7843).
5733
3aace4e4
CY
5734 * files.el (inhibit-first-line-modes-regexps): Add image files.
5735 (hack-local-variables-prop-line): Return nil for malformed
5736 prop-lines (Bug#9044).
5737
710dec63
MA
57382011-09-18 Michael Albinus <michael.albinus@gmx.de>
5739
5740 * net/tramp.el (top): Don't require 'shell.
5741 (tramp-methods): Fix docstring.
5742 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
5743 Return complete remote file name. Handle "smb" case.
5744 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
5745 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
5746
5747 * net/tramp-compat.el (top): Require 'shell.
5748
5749 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5750 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
5751 `tramp-current-host'.
5752 (tramp-get-remote-tmpdir): Remove.
5753
5754 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
5755 `tramp-tmpdir' entries.
5756 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
5757 (tramp-smb-handle-file-attributes): Ignore errors.
5758 (tramp-smb-wait-for-output): Check also for process end.
5759
5d5ac8ec
LMI
57602011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5761
5762 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
5763 when sending QUIT (bug#9312).
5764
8c0f49f0
CY
57652011-09-17 Chong Yidong <cyd@stupidchicken.com>
5766
5767 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
5768 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
5769 occur-mode-display-occurrence.
5770 (occur-edit-mode): Add usage message.
5771 (occur-cease-edit): New command.
5772 (occur-after-change-function): Use text properties to find the
5773 position of the prefix text.
5774 (occur-engine): Set stickiness of prefix text properties.
5775
8f1383f7
GM
57762011-09-17 Glenn Morris <rgm@gnu.org>
5777
5778 * progmodes/etags.el (complete-tag):
5779 Fix call to completion-in-region. (Bug#9526)
5780
744ba0e3
JL
57812011-09-17 Juri Linkov <juri@jurta.org>
5782
5783 * textmodes/ispell.el (ispell-word): Add to the error message
5784 the word, ispell program name and current dictionary (bug#9121).
5785 (ispell-tex-arg-end): Capitalize "error" in the error message.
5786
d9bbf400
AS
57872011-09-17 Andreas Schwab <schwab@linux-m68k.org>
5788
5789 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
5790 check. (Bug#4251)
5791
8da11505
JL
57922011-09-17 Juri Linkov <juri@jurta.org>
5793
5794 * window.el (window-safe-min-height, window-safe-min-width):
5795 Fix typos (followup to bug#9522).
5796
a91adc7e
SJ
57972011-09-17 Sven Joachim <svenjoac@gmx.de>
5798
5799 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
5800
064f328a
EZ
58012011-09-16 Eli Zaretskii <eliz@gnu.org>
5802
5803 * simple.el (line-move): If goal-column is set, move by logical
5804 lines, not by display lines. (Bug#971)
5805 (next-line, previous-line, goal-column, line-move-visual): Doc fix
5806 to reflect the above change.
5807
e69df516
SM
58082011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * image.el (imagemagick-register-types): Use regexp-opt.
5811
cbb0f9ab
CY
58122011-09-15 Chong Yidong <cyd@stupidchicken.com>
5813
5814 * window.el (display-buffer-base-action): Rename from
5815 display-buffer-default-action. Make default value empty.
5816 (display-buffer-overriding-action): Convert to defvar.
5817 (display-buffer-fallback-action): New var.
5818
25322144
CY
58192011-09-15 Chong Yidong <cyd@stupidchicken.com>
5820
5821 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
5822 declaration.
5823 (package--add-to-archive-contents): If there is a duplicate entry
5824 with an older version, remove it.
5825 (package-menu-mark-delete, package-menu-mark-install)
5826 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
5827 (package-menu-mark-obsolete-for-deletion):
5828 Use package-menu-get-status instead of a regexp search.
25322144
CY
5829 (package-menu-get-status): Use tabulated-list-entry.
5830 (package-menu-mark-upgrades): New command.
d770725a 5831 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
5832 (package-menu-execute): Do installation before deletion.
5833 (package-menu-refresh, package-menu-execute): Use derived-mode-p
5834 instead of checking major-mode.
5835 (package-menu--find-upgrades): New function.
5836
7520339c
LMI
58372011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5838
5839 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
5840 passwords in the log buffer.
65a046c4
LMI
5841 (smtpmail-process-filter): Update the process marker so that the
5842 "broken by peer" status message is inserted in the right place.
7520339c 5843
d3c30954
SM
58442011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5845
3fe48822
SM
5846 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
5847 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
5848 bibtex-completion-at-point-function.
5849 (bibtex-completion-at-point-function): Use them.
5850
1b8b3954
SM
5851 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
5852
d3c30954
SM
5853 * mpc.el (mpc-constraints-tag-lookup): New function.
5854 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
5855 also to browser "album|playlist".
5856
72779976
JL
58572011-09-14 Juri Linkov <juri@jurta.org>
5858
5859 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
5860 (isearch-edit-string): Use length of `isearch-string' when
5861 `isearch-fail-pos' returns nil.
5862 (isearch-message): Remove duplicate code and call
5863 `isearch-fail-pos' with arg `t'.
5864
a0bf2bcd
CY
58652011-09-14 Chong Yidong <cyd@stupidchicken.com>
5866
17bb0a2d
CY
5867 * replace.el (occur-mode-goto-occurrence): Don't force using other
5868 window (Bug#9499).
5869
a0bf2bcd
CY
5870 * dired-aux.el (dired-do-chmod): Don't provide initial input.
5871
f678e0b6
MR
58722011-09-14 Martin Rudalics <rudalics@gmx.at>
5873
5874 * window.el (display-buffer-window): Remove.
5875 (display-buffer-record-window): Use help-setup window parameter
5876 instead of variable display-buffer-window.
5877 (display-buffer-function, special-display-buffer-names)
5878 (special-display-function): Mention help-setup parameter instead
5879 of display-buffer-window in doc-string.
d3c30954
SM
5880 * help.el (help-window-setup): New argument help-window.
5881 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
5882 Reword some messages.
5883 (with-help-window): Pass window used for displaying the buffer
5884 to help-window-setup. Don't set display-buffer-window.
5885
8e39b2e8
GM
58862011-09-13 Glenn Morris <rgm@gnu.org>
5887
5888 * emacs-lisp/debug.el (debugger-make-xrefs):
5889 Preserve point. (Bug#9462)
5890
85e9c04b
CY
58912011-09-13 Chong Yidong <cyd@stupidchicken.com>
5892
5893 * window.el (window-deletable-p): Use next-frame.
5894
1b36ed6a
MR
58952011-09-13 Martin Rudalics <rudalics@gmx.at>
5896
5897 * window.el (window-auto-delete): Remove.
5898 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 5899 dedication and previous buffers.
1b36ed6a
MR
5900 (switch-to-prev-buffer): Don't delete window.
5901 (delete-windows-on): Delete a window's frame if and only if the
5902 window is dedicated.
5903 (replace-buffer-in-windows): Delete buffer's window or frame if
5904 and only if window is dedicated.
5905 (quit-window): Handle quit-restore as before last change.
4d61f28d 5906 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 5907
ef8ef9fb
CY
59082011-09-13 Chong Yidong <cyd@stupidchicken.com>
5909
5910 * window.el (window-deletable-p): Never delete the last frame on a
5911 given terminal.
5912
b2cba41e
GM
59132011-09-13 Glenn Morris <rgm@gnu.org>
5914
5915 * help.el (describe-key-briefly): Copy previous standard-output change.
5916
51553db6 59172011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
5918
5919 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
5920
b7556719
GM
59212011-09-13 Glenn Morris <rgm@gnu.org>
5922
5923 * emacs-lisp/lisp-mode.el (lisp-indent-function):
5924 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
5925
64b51947
CY
59262011-09-12 Chong Yidong <cyd@stupidchicken.com>
5927
5928 * dired-aux.el (dired-mark-read-string): Don't return default
5929 value on empty input (Bug#9361).
5930 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
5931 Omit initial minibuffer contents.
5932 (dired-do-chmod): Signal an error on empty input.
5933 (dired-mark-read-string): Don't return default on empty input.
5934
5935 * files.el (file-modes-symbolic-to-number): Doc fix.
5936
393a301e
SM
59372011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * international/mule-cmds.el (ucs-completions): Remove.
5940 (read-char-by-name): Use complete-with-action instead; add metadata.
5941
fa5660f9
CY
59422011-09-11 Chong Yidong <cyd@stupidchicken.com>
5943
5944 * window.el (display-buffer--action-function-custom-type)
5945 (display-buffer--action-custom-type): New vars.
5946 (display-buffer-alist, display-buffer-default-action)
5947 (display-buffer-overriding-action): Add defcustom types.
5948
4a592f66
CY
5949 * frame.el (delete-other-frames): Doc fix (Bug#276).
5950
73d56dbd
LMI
59512011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5952
5953 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
5954
37ac18a3
CY
59552011-09-11 Chong Yidong <cyd@stupidchicken.com>
5956
5957 Change modes that used same-window-* vars to use switch-to-buffer.
5958
5959 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
5960 Use switch-to-buffer.
5961
5962 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
5963 (customize-browse, custom-buffer-create-other-window):
5964 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
5965
5966 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
5967 (Info-prev, Info-up, Info-speedbar-goto-node)
5968 (info-display-manual): Use switch-to-buffer.
5969 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
5970
5971 * mail/sendmail.el (mail): Use switch-to-buffer.
5972 (mail-recover): Use switch-to-buffer-other-window.
5973
5974 * cmuscheme.el (run-scheme, switch-to-scheme):
5975 * ielm.el (ielm):
5976 * shell.el (shell):
5977 * net/rlogin.el (rlogin):
5978 * net/telnet.el (telnet, rsh):
5979 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
5980
10195bd6
AS
59812011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5982
5983 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
5984
b322f63a
LMI
59852011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5986
39d7fed6
LMI
5987 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
5988 so don't mention it (bug#9301).
ba5a81f1 5989 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 5990
ee0e9f11
LMI
5991 * faces.el (face-spec-set-match-display): Make `(type graphic)'
5992 match `x', `w32' and `ns', like the manual says (bug#9029).
5993
0b1c89c1 5994 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
5995 (process-kill-buffer-query-function): Mention the buffer name in
5996 the query.
0b1c89c1 5997
77549ea8
LMI
5998 * image-mode.el (image-next-line): The line parameter is mandatory
5999 (bug#9258).
6000
803ef892
LMI
6001 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
6002 which can be useful (bug#9301).
6003
12980837
LMI
6004 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
6005
91054f8f
LMI
6006 * subr.el (match-string): Mention that the current buffer should
6007 be the same as the search was done in (bug#9282).
6008
b322f63a
LMI
6009 * facemenu.el: Disable the remove-* commands if the mark isn't
6010 active (bug#9162).
6011
3199b96f
CY
60122011-09-10 Chong Yidong <cyd@stupidchicken.com>
6013
6014 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
6015 of display-buffer.
6016 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
6017
6018 * replace.el (occur-mode-goto-occurrence)
6019 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
6020 and display-buffer.
6021
6022 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
6023 display-buffer.
6024
6025 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
6026 special-display and same-window variables.
6027 (mail-other-window): Use switch-to-buffer-other-window.
6028 (mail-other-frame): USe switch-to-buffer-other-frame.
6029
393a301e
SM
6030 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
6031 Use display-buffer-other-frame.
3199b96f
CY
6032 (gdb-display-gdb-buffer): Use pop-to-buffer.
6033
6034 * progmodes/gud.el (gud-goto-info): Use info-other-window.
6035
6036 * progmodes/python.el: Don't set same-window-buffer-names.
6037
6038 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
6039
6040 * window.el (display-buffer-alist): Add *Python*.
6041
8319e0bf
CY
60422011-09-10 Chong Yidong <cyd@stupidchicken.com>
6043
6044 * window.el (display-buffer-alist): Add entry for buffers
6045 previously handled same-window-*.
6046 (display-buffer-alist, display-buffer-default-action)
6047 (display-buffer-overriding-action): Mark as risky.
6048 (display-buffer-alist): Document action function changes.
6049 (display-buffer--same-window-action)
6050 (display-buffer--other-frame-action): New variables.
6051 (switch-to-buffer, display-buffer-other-frame): Use them.
6052 (display-buffer): Rename reuse-frame entry to reusable-frames.
6053 (display-buffer-reuse-selected-window): Function deleted.
6054 (display-buffer-reuse-window): Handle reusable-frames alist entry.
6055 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
6056 (display-buffer-special): New function.
6057 (display-buffer--maybe-pop-up-frame-or-window): Rename from
6058 display-buffer-reuse-or-pop-window. Split off special-display
6059 part into display-buffer-special.
6060 (display-buffer-use-some-window): Don't perform any special
6061 pop-up-frames handling.
6062 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 6063 (display-buffer--maybe-same-window): Rename from
0d3ff375 6064 display-buffer-maybe-same-window.
8319e0bf 6065
919a69aa
CY
6066 * info.el: Don't set same-window-regexps.
6067 (info-setup): New function.
6068 (info-other-window, info): Call it.
6069
6070 * cus-edit.el: Don't set same-window-regexps.
6071 (customize-group): New argument.
6072 (customize-group-other-window): Use it.
6073 (customize-face, customize-face-other-window): Likewise.
6074 (custom-buffer-create-other-window): Use pop-to-buffer directly.
6075
8319e0bf
CY
6076 * net/rlogin.el:
6077 * net/telnet.el:
6078 * progmodes/gud.el: Don't set same-window-regexps.
6079
6080 * cmuscheme.el:
6081 * ielm.el:
6082 * shell.el:
6083 * mail/sendmail.el:
6084 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
6085
25173000
JL
60862011-09-10 Juri Linkov <juri@jurta.org>
6087
6088 * isearch.el (isearch-edit-string): Remove obsolete mention of
6089 `C-w' (`isearch-yank-word-or-char') from docstring.
6090 (isearch-query-replace): Fix typo in docstring (bug#9466).
6091
056e44ef
JL
60922011-09-10 Juri Linkov <juri@jurta.org>
6093
6094 * paren.el (show-paren-function): Don't show escaped parens.
6095 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
6096
c3760c17
EZ
60972011-09-10 Eli Zaretskii <eliz@gnu.org>
6098
6099 * mail/sendmail.el (mml-to-mime, mml-attach-file)
6100 (mm-default-file-encoding): Remove autoload forms, they are
6101 replaced with autoload cookies in mml.el and mm-encode.el.
6102 (mail-add-attachment): New command.
6103 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
6104 (mail-mode): Mention mail-insert-file and mail-add-attachment in
6105 the doc string.
6106 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
6107
fece895e
RT
61082011-09-10 Reuben Thomas <rrt@sc3d.org>
6109
e69df516
SM
6110 * simple.el (count-words-region): Use buffer if there's no region
6111 (bug#9429).
fece895e 6112
5e68ce4a
JL
61132011-09-09 Juri Linkov <juri@jurta.org>
6114
6115 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
6116 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
6117 (wdired-isearch-filter-read-only): New function. (Bug#6362)
6118
0a6b9622
AM
61192011-09-09 Alan Mackenzie <acm@muc.de>
6120
6121 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
6122 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
6123
14a29deb
EZ
61242011-09-09 Eli Zaretskii <eliz@gnu.org>
6125
6126 Fix for Savannah bug#9392.
6127 * simple.el (mail-encode-mml): New defvar.
6128
6129 * mail/rmail.el (mail-encode-mml): Add a defvar.
6130 (rmail-enable-mime-composing): Default to t.
6131 (rmail-forward): Use MIME method of forwarding only if both
6132 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
6133 Set mail-encode-mml non-nil if the MIME method was used.
6134
6135 * mail/sendmail.el (mml-to-mime): Add autoload form.
6136 (mail-encode-mml): Add a defvar.
6137 (mail-mode): Make mail-encode-mml buffer-local and initialize it
6138 to nil.
6139 (mail-send): If mail-encode-mml is non-nil, run the outgoing
6140 message through mml-to-mime, and reset mail-encode-mml to nil.
6141
28c45130
GM
61422011-09-09 Glenn Morris <rgm@gnu.org>
6143
6144 * woman.el (woman-if-body): When processing an .el block,
6145 do not delete the next .el block as well. (Bug#9447)
69f4b618 6146 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 6147
9b1c252e
MR
61482011-09-08 Martin Rudalics <rudalics@gmx.at>
6149
6150 * window.el (window-deletable-p): Make sure window is live before
6151 invoking window-prev-buffers.
6152
567457e3
LL
61532011-09-08 Leo Liu <sdl.web@gmail.com>
6154
6155 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
6156
97f05794
JL
61572011-09-08 Juri Linkov <juri@jurta.org>
6158
6159 * progmodes/compile.el (compilation-environment): Make it
6160 a defcustom (bug#8340).
6161
8b0874b5
MR
61622011-09-08 Martin Rudalics <rudalics@gmx.at>
6163
6164 * window.el (frame-auto-delete): Rename to window-auto-delete.
6165 Make it control auto-deletion of windows and/or frames.
6166 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 6167 for deleting window/frame. (Bug#9419)
8b0874b5
MR
6168 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
6169 Rewrite handling of case when window/frame can be deleted.
6170 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 6171 argument t. (Bug#9456)
8b0874b5 6172
4feb6e73
CY
61732011-09-07 Chong Yidong <cyd@stupidchicken.com>
6174
6175 * help-mode.el (help-mode): Restore autoload.
6176
91ab9c13
JL
61772011-09-07 Juri Linkov <juri@jurta.org>
6178
6179 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
6180 `compilation-environment'. Set buffer-local
6181 `compilation-environment' to `thisenv' later after (funcall mode).
6182 (Bug#8340)
6183
6184 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
6185 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
6186 instead of replacing its value. (Bug#8340)
6187
0527e251
JL
61882011-09-07 Juri Linkov <juri@jurta.org>
6189
6190 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
6191 based on text properties put by `grep-filter' instead of matching
6192 escape sequences.
6193 (grep-mode): Set buffer-local `compilation-error-screen-columns'
6194 to the value of `grep-error-screen-columns' (bug#9438).
6195
249f792c
JL
61962011-09-07 Juri Linkov <juri@jurta.org>
6197
6198 * simple.el (next-error-highlight, next-error-highlight-no-select):
6199 Doc fix (bug#9432).
6200
ff7271b9
OT
62012011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6202
6203 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6204 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
6205
183fc730
LL
62062011-09-07 Leo Liu <sdl.web@gmail.com>
6207
6208 * net/rcirc.el (rcirc-mode): Conditionally initialize
6209 rcirc-input-ring.
6210
77694924
SM
62112011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * emacs-lisp/find-func.el (find-function-C-source): Only set
6214 find-function-C-source-directory after checking that we found a source
6215 file there (bug#9440).
6216
d809b8eb
AM
62172011-09-06 Alan Mackenzie <acm@muc.de>
6218
6219 * isearch.el (isearch-other-meta-char): Wherever a key list is
6220 unread, "unread" the prefix arg, too. This fixes bug #8901.
6221
453de99f
OG
62222011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
6223
6224 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
6225
90439906
JL
62262011-09-05 Juri Linkov <juri@jurta.org>
6227
6228 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
6229
f62bd846
JL
62302011-09-05 Juri Linkov <juri@jurta.org>
6231
6232 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
6233 keeping point where processing of grep matches begins, and
6234 continue to delete remaining escape sequences from the same point.
6235 (grep-filter): Make leading zero optional in "0?1;31m" because
6236 git-grep emits "\033[1;31m" escape sequences unlike expected
6237 "\033[01;31m" as GNU Grep does (bug#9408).
6238 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
6239
045820ec
JL
62402011-09-05 Juri Linkov <juri@jurta.org>
6241
6242 * subr.el (y-or-n-p): Capitalize "yes".
6243
f5e29b9b
MA
62442011-09-04 Michael Albinus <michael.albinus@gmx.de>
6245
6246 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
6247 `tramp-cache-unload-hook' where appropriate.
6248 (tramp-methods): Rename `tramp-remote-sh' to
6249 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
6250 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
6251
6252 * net/tramp-sh.el (top): Don't require 'shell.
6253 (tramp-methods): Add `tramp-remote-shell' and
6254 `tramp-remote-shell-args' entries.
6255 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
6256 (tramp-sh-handle-shell-command): Remove.
6257 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6258 Use `tramp-remote-shell'.
6259
2784c434
CY
62602011-09-03 Chong Yidong <cyd@stupidchicken.com>
6261
393a301e 6262 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
6263 (sendmail-query-once): Save directly to send-mail-function.
6264 Update message-send-mail-function too.
6265
6266 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
6267
464cdf56
CS
62682011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6269
6270 * progmodes/python.el (python-mode-map): Use correct function to
6271 start python interpreter from menu-bar (as reported by Geert
6272 Kloosterman).
6273 (inferior-python-mode-map): Fix typo.
393a301e 6274 (python-shell-map): Remove.
464cdf56 6275
d37e5c87
DD
62762011-09-03 Deniz Dogan <deniz@dogan.se>
6277
6278 * net/rcirc.el (rcirc-print): Simplify code for
6279 rcirc-scroll-show-maximum-output. There is no need to walk
6280 through all windows to find the right one.
6281
f3ada0ee
CS
62822011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
6283
6284 * help.el (help-return-method): Doc fix.
6285
1f3c99ca
MR
62862011-09-03 Martin Rudalics <rudalics@gmx.at>
6287
6288 * window.el (window-deletable-p): Don't return a non-nil value
6289 when there's a buffer that was shown in the window before.
6290 (Bug#9419)
393a301e
SM
6291 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6292 Set window's previous buffers to nil.
1f3c99ca 6293
a3cf097f
EZ
62942011-09-03 Eli Zaretskii <eliz@gnu.org>
6295
6296 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
6297 newline before and after the tag line, so it doesn't interfere
6298 with determining the paragraph direction of bidirectional text.
6299
3d03de90
LL
63002011-09-03 Leo Liu <sdl.web@gmail.com>
6301
6302 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
6303
c3313451
CY
63042011-09-02 Chong Yidong <cyd@stupidchicken.com>
6305
393a301e 6306 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
6307 (pop-to-buffer): Change interactive spec. Pass second argument
6308 directly to display-buffer.
6309 (display-buffer): Fix interactive spec. Use functionp to
6310 distinguish between a function and a list of functions.
6311
6312 * abbrev.el (edit-abbrevs):
6313 * arc-mode.el (archive-extract):
6314 * autoinsert.el (auto-insert):
6315 * bookmark.el (bookmark-bmenu-list):
6316 * files.el (find-file):
6317 * view.el (view-buffer):
6318 * progmodes/compile.el (compilation-goto-locus):
6319 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
6320
89894cd8
CY
63212011-09-02 Chong Yidong <cyd@stupidchicken.com>
6322
6323 * window.el (display-buffer-alist): Doc fix.
6324 (display-buffer): Add docstring. Don't treat
6325 display-buffer-default specially.
6326 (display-buffer-reuse-selected-window)
6327 (display-buffer-same-window, display-buffer-maybe-same-window)
6328 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6329 (display-buffer-pop-up-window)
6330 (display-buffer-reuse-or-pop-window)
6331 (display-buffer-use-some-window): New functions.
6332 (display-buffer-default-action): Use them.
393a301e 6333 (display-buffer-default): Delete.
89894cd8
CY
6334 (pop-to-buffer-1): Fix choice of actions.
6335
ae0bc9fb
SM
63362011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 * minibuffer.el (completion--insert-strings): Don't get confused by
6339 completion entries that end with an LF char.
6340
e9d90883
EZ
63412011-09-01 Eli Zaretskii <eliz@gnu.org>
6342
6343 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
6344
437014c8
CY
63452011-09-01 Chong Yidong <cyd@stupidchicken.com>
6346
6347 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
6348 (display-buffer-same-window, display-buffer-other-window):
6349 New functions.
437014c8
CY
6350 (pop-to-buffer-1): New function. Use the above.
6351 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 6352 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
6353
6354 * view.el (view-buffer-other-window, view-buffer-other-frame):
6355 Just use pop-to-buffer.
6356
a5e063d5
TV
63572011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6358
6359 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
6360
793d32bb
WH
63612011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
6362
6363 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
6364
d65e4c15
RS
63652011-08-31 Richard Stallman <rms@gnu.org>
6366
6367 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
6368 of the separation of rmail-view-buffer from rmail-buffer.
6369 If you say no to "replace original", the decrypt is in the
6370 view buffer. If you say yes, the decrypt goes into the
6371 rmail buffer also.
6372
f818cd2a
MR
63732011-08-31 Martin Rudalics <rudalics@gmx.at>
6374
6375 * window.el (display-buffer-window): Rewrite doc-string.
6376 (display-buffer-record-window): New function.
6377 (display-buffer-macro-specifiers)
6378 (display-buffer-even-window-sizes, display-buffer-set-height)
6379 (display-buffer-set-width, display-buffer-in-window)
6380 (display-buffer-reuse-window, display-buffer-split-specifiers)
6381 (display-buffer-side-specifiers, display-buffer-split-window-1)
6382 (display-buffer-split-window, display-buffer-split-atom-window)
6383 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
6384 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
6385 (display-buffer-other-window-means-other-frame)
6386 (display-buffer-normalize-special)
6387 (display-buffer-normalize-default)
6388 (display-buffer-normalize-argument)
6389 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
6390 (display-buffer-normalize-specifiers, display-buffer-frame)
6391 (display-buffer-same-window, display-buffer-same-frame)
6392 (display-buffer-other-window)
6393 (display-buffer-same-frame-other-window)
6394 (display-buffer-other-frame, pop-to-buffer-same-window)
6395 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
6396 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
6397 (switch-to-buffer-same-frame)
6398 (switch-to-buffer-other-window-same-frame)
6399 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
6400 (display-buffer-alist-set-1, display-buffer-alist-set-2)
6401 (display-buffer-alist-set): Remove.
6402 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
6403 (special-display-regexps, special-display-function):
6404 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
6405 parameter.
6406 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
6407 (special-display-frame-alist, special-display-popup-frame)
6408 (same-window-buffer-names, same-window-regexps, same-window-p)
6409 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
6410 (split-window-preferred-function, split-height-threshold)
6411 (split-width-threshold, window-splittable-p)
6412 (split-window-sensibly, window--try-to-split-window)
6413 (window--frame-usable-p, even-window-heights)
6414 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
6415 (window--display-buffer-2, display-buffer-other-frame):
6416 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
6417 (display-buffer-default, display-buffer-assq-regexp): New functions.
6418 (display-buffer-alist): Rewrite doc-string.
6419 (display-buffer-default-action)
6420 (display-buffer-overriding-action): New variables.
6421 (display-buffer, switch-to-buffer): Rewrite.
6422 (pop-to-buffer): Restore Emacs 23 behavior but use
6423 window-normalize-buffer-to-display.
6424 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6425 Restore Emacs 23 behavior but use
6426 window-normalize-buffer-to-switch-to.
6427 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
6428 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
6429 Rewrite using Emacs 23 options.
f818cd2a 6430
5bc3b51d
MA
64312011-08-31 Michael Albinus <michael.albinus@gmx.de>
6432
6433 * net/tramp.el (tramp-root-regexp): Remove.
6434 (tramp-completion-file-name-regexp-unified)
6435 (tramp-completion-file-name-regexp-separate)
6436 (tramp-completion-file-name-regexp-url): Don't use leading volume
6437 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
6438 (tramp-drop-volume-letter): Simplify definition.
6439 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 6440
b1a4f8e1
SM
64412011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
6444 (bug#9356).
6445
5664fa7b
RT
64462011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
6447
b1a4f8e1 6448 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 6449
9a45d6c3
JL
64502011-08-29 Juri Linkov <juri@jurta.org>
6451
6452 * isearch.el (isearch-done): Don't display message "Mark saved"
6453 when arg `edit' is non-nil to prevent its flicker in the echo area.
6454
fb87e0fb
CY
64552011-08-28 Chong Yidong <cyd@stupidchicken.com>
6456
6457 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
6458 obsolete packages for deletion.
6459
09ac1c2a
CS
64602011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
6461
6462 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 6463 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
6464 view-mode from help-mode.
6465 (help-xref-override-view-map): Remove.
6466 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
6467 view-mode is not used anymore.
6468
7a1ff57f
CY
64692011-08-28 Chong Yidong <cyd@stupidchicken.com>
6470
6471 * server.el (server-port): Doc fix.
6472
b9696605
CY
6473 * cus-theme.el (custom-theme-choose-mode): Inherit from
6474 special-mode (Bug#9124).
6475 (custom-theme-choose-mode-map): Add special-mode to parent.
6476
ef8cdf8c
AM
64772011-08-28 Alan Mackenzie <acm@muc.de>
6478
6479 * progmodes/cc-fonts.el
6480 (c-make-font-lock-BO-decl-search-function): New function.
6481 (c-basic-matchers-after - "Fontify the clauses after various
6482 keywords"): Extract the three keyword lists for the 3 erroneous
6483 constructs from the list of four, and use the new function above
6484 in place of an old one.
6485
27de4e20
DD
64862011-08-28 Deniz Dogan <deniz@dogan.se>
6487
6488 * net/rcirc.el (rcirc-insert-prev-input)
6489 (rcirc-insert-next-input): Remove unused argument.
6490
356a3681
SM
64912011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6492
6493 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
6494
3fc9b218
AM
64952011-08-27 Alan Mackenzie <acm@muc.de>
6496
6497 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
6498 handle function pointer parameters properly.
6499
538a061c
MR
65002011-08-27 Martin Rudalics <rudalics@gmx.at>
6501
6502 * window.el (display-buffer-reuse-window): Fix case where
6503 selected window was reused with non-nil OTHER-WINDOW argument.
6504 (Bug#9381)
6505
35b1c40c
DD
65062011-08-27 Deniz Dogan <deniz@dogan.se>
6507
6508 * net/rcirc.el (rcirc-check-auth-status): Adding support for
6509 oftc's NickServ messages.
6510
2f6a3e79
GM
65112011-08-27 Glenn Morris <rgm@gnu.org>
6512
6513 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
6514
7254299e
CY
65152011-08-26 Chong Yidong <cyd@stupidchicken.com>
6516
6517 * emacs-lisp/package.el (package-install): Call package-initialize
6518 if called interactively.
6519
f8ccf167
LL
65202011-08-26 Leo Liu <sdl.web@gmail.com>
6521
6522 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
6523
3e8cd5ce
JL
65242011-08-25 Juri Linkov <juri@jurta.org>
6525
6526 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
6527 `search-whitespace-regexp' (bug#9364).
6528
93eb7113
JL
65292011-08-25 Juri Linkov <juri@jurta.org>
6530
6531 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
6532 `regexp-search-ring' to their global values to protect from
6533 updating by `read-from-minibuffer' (bug#9185).
6534
f65d1611
JL
65352011-08-25 Juri Linkov <juri@jurta.org>
6536
6537 * textmodes/ispell.el (ispell-command-loop): Add newline
6538 at the end of the "Use option `i'..." line.
6539
f1cf7a31
JL
65402011-08-25 Juri Linkov <juri@jurta.org>
6541
6542 * battery.el (display-battery-mode): If `battery-status-function'
6543 or `battery-mode-line-format' is nil, display the message and set
6544 `display-battery-mode' to nil (bug#9363).
6545
0c95fcf7
EZ
65462011-08-25 Eli Zaretskii <eliz@gnu.org>
6547
6548 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
6549 bidi-string-mark-left-to-right; they are unnecessary now.
6550
a2ebe600
DD
65512011-08-25 Deniz Dogan <deniz@dogan.se>
6552
6553 * net/quickurl.el: Documentation typo fixes.
6554
e4ed06f1
CY
65552011-08-25 Chong Yidong <cyd@stupidchicken.com>
6556
6557 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
6558
e5f1c99e
GM
65592011-08-25 Glenn Morris <rgm@gnu.org>
6560
b2948976
GM
6561 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
6562
e5f1c99e
GM
6563 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
6564 (smtpmail-via-smtp): Handle nil response from smtp.
6565
f22f4808
JL
65662011-08-24 Juri Linkov <juri@jurta.org>
6567
6568 * proced.el (proced-marked): Inherit from `error' instead of
6569 `font-lock-warning-face'.
6570
6571 * ibuffer.el (ibuffer-marked-face): Change default face from
6572 `font-lock-warning-face' to `warning'.
6573 (ibuffer-deletion-face): Change default face from
6574 `font-lock-type-face' to `error'.
6575
6576 * battery.el (battery-update): Use the face `error' instead of
6577 `font-lock-warning-face' (bug#6117).
6578
6a93965e
JL
65792011-08-24 Juri Linkov <juri@jurta.org>
6580
6581 * faces.el (success): Change face color from "Green3" to
6582 "ForestGreen" on light background (bug#9353).
6583
1ed43b09
CY
65842011-08-24 Chong Yidong <cyd@stupidchicken.com>
6585
5664fa7b
RT
6586 * window.el (quit-window): Rename from quit-restore-window.
6587 Use same arglist as old quit-window.
1ed43b09
CY
6588 (frame-auto-delete): Doc fix.
6589
6590 * view.el (view-mode-exit): Use quit-window.
6591
11dcdbb2
JL
65922011-08-24 Juri Linkov <juri@jurta.org>
6593
6594 * isearch.el (isearch-ring-adjust1): Start visiting previous
6595 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
6596 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
6597 for empty search string (when the last search string is reused
6598 automatically) to adjust the isearch ring to the last element and
6599 prepare the correct index for further M-p commands (bug#9185).
6600
de62b4df
KH
66012011-08-24 Kenichi Handa <handa@m17n.org>
6602
6603 * international/ucs-normalize.el: If decomposition property of
6604 CHAR is the default one (i.e. a list of CHAR itself), treat it as
6605 nil.
6606 (nfd, nfkd): Likewise.
6607
963b492b
SM
66082011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
6611 from process filters aren't reliably transmitted to the surrounding
6612 accept-process-output.
6613 (mpc-proc-check): New function.
6614 (mpc-proc-sync): Use it (bug#8293)
6615
93b6b5e1
SM
66162011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6617
6618 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
6619 Add compatibility functions (bug#9313).
6620
bca633fb
EZ
66212011-08-23 Eli Zaretskii <eliz@gnu.org>
6622
b177498a
EZ
6623 * cus-start.el (all): Add entry for bidi-paragraph-direction.
6624
6df6ae42 6625 * international/uni-bidi.el: Regenerate.
bca633fb 6626
0902a04e
KH
66272011-08-23 Kenichi Handa <handa@m17n.org>
6628
6629 * international/charprop.el:
6630 * international/uni-bidi.el:
6631 * international/uni-category.el:
6632 * international/uni-combining.el:
6633 * international/uni-comment.el:
6634 * international/uni-decimal.el:
6635 * international/uni-decomposition.el:
6636 * international/uni-digit.el:
6637 * international/uni-lowercase.el:
6638 * international/uni-mirrored.el:
6639 * international/uni-name.el:
6640 * international/uni-numeric.el:
6641 * international/uni-old-name.el:
6642 * international/uni-titlecase.el:
6643 * international/uni-uppercase.el: Regenerate.
6644
3bbf23bc
MR
66452011-08-23 Martin Rudalics <rudalics@gmx.at>
6646
6647 * help.el (help-window-setup): Fix message displayed when other
6648 window is reused. (Bug#9341)
6649
b3fd59bd
SM
66502011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6651
1802e444
SM
6652 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
6653 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
6654
b3fd59bd
SM
6655 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
6656 Mark obsolete.
6657 * shell.el (shell-parse-pcomplete-arguments): New function.
6658 (shell-completion-vars): Use it instead (bug#9160).
6659
4eb61348
SM
66602011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6661
867cab74
SM
6662 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
6663 strings and comments (bug#9333).
6664
4eb61348
SM
6665 * emacs-lisp/debug.el (debug-arglist): New function.
6666 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
6667 (debug-on-entry-1): Handle interpreted closures (bug#9120).
6668
262a1439
JL
66692011-08-22 Juri Linkov <juri@jurta.org>
6670
56ee679c
JL
6671 * progmodes/compile.el (compilation-mode-font-lock-keywords):
6672 Revert regexp that highlights output switches to its old
6673 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6674
262a1439
JL
6675 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
6676 to check for empty output (bug#9226).
6677
f13f86fb
CY
66782011-08-22 Chong Yidong <cyd@stupidchicken.com>
6679
6680 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
6681 symbol-constituent as the default, as that stops font-lock from
6682 working properly (Bug#8843).
6683
c65c9622
LMI
66842011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6685
6686 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
6687 `coding-system-for-*' around the process open call to avoid
6688 auth-source side effects.
e7f2c178 6689 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
6690 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
6691 probe hangs.
c65c9622 6692
23a8a5ab
CY
66932011-08-21 Chong Yidong <cyd@stupidchicken.com>
6694
ff98b2dd
CY
6695 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
6696
23a8a5ab
CY
6697 * emacs-lisp/find-func.el (find-function-noselect): New arg
6698 lisp-only.
6699
6700 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
6701 signal an error for built-in functions (Bug#6664).
6702
f5e3c598
LMI
67032011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6704
6705 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
6706 (smtpmail-try-auth-methods): Use it.
6707
a3f2468a
CY
67082011-08-21 Chong Yidong <cyd@stupidchicken.com>
6709
2c34e8da
CY
6710 * font-lock.el (font-lock-fontify-region)
6711 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
6712 (font-lock-default-unfontify-buffer)
6713 (font-lock-default-fontify-region)
6714 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
6715
b3fd59bd
SM
6716 * progmodes/compile.el (compilation-error-properties):
6717 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
6718 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
6719 `ant' regexp.
ee31aabc 6720
a3f2468a
CY
6721 * net/browse-url.el (browse-url-firefox): Don't call
6722 browse-url-firefox-sentinel unless using -remote (Bug#9328).
6723
8e999f70
GM
67242011-08-20 Glenn Morris <rgm@gnu.org>
6725
c21a496a
GM
6726 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
6727
59ee0542
GM
6728 * tutorial.el (tutorial--default-keys): Update some default bindings.
6729
8e999f70
GM
6730 * files.el (hack-local-variables): Fully ignore case for "mode:".
6731
e3715033
AM
67322011-08-20 Alan Mackenzie <acm@muc.de>
6733
6734 Resolve invalid use of a regexp in regexp-opt.
6735
4d61f28d
JB
6736 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
6737 detection for a java annotation.
e3715033 6738
4d61f28d 6739 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
6740 detection for a java annotation.
6741
4d61f28d
JB
6742 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
6743 handling for java.
e3715033
AM
6744 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
6745
04ed2e9c
CY
67462011-08-20 Chong Yidong <cyd@stupidchicken.com>
6747
6748 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
6749 (Bug#9274).
6750
826cee64
AM
67512011-08-20 Alan Mackenzie <acm@muc.de>
6752
58179cce 6753 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
6754 such a construct. Mainly for when jit-lock etc. starts a chunk
6755 here.
6756
58179cce 6757 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 6758 variable.
58179cce 6759 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
6760 c-make-font-lock-search-function.
6761 (c-make-font-lock-search-function): Use the above function.
6762 (c-make-font-lock-context-search-function): New function.
6763 (c-cpp-matchers): Enhance the preprocessor expression case with
6764 the above function
6765 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
6766 which takes an expression.
6767
6768 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
6769
13009bd8
MR
67702011-08-20 Martin Rudalics <rudalics@gmx.at>
6771
6772 * window.el (display-buffer-reuse-window)
6773 (display-buffer-pop-up-window): Don't reuse or split a side
6774 window.
6775
9234ff7f
GM
67762011-08-19 Glenn Morris <rgm@gnu.org>
6777
6778 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 6779 Downcase "Mode:". (Bug#9331)
9234ff7f 6780
f635daa1
CY
67812011-08-18 Chong Yidong <cyd@stupidchicken.com>
6782
6783 * international/characters.el: Add L and R categories.
6784
6785 * subr.el (bidi-string-mark-left-to-right): Rename from
6786 string-mark-left-to-right. Use category search.
6787
6788 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
6789
bc987f8b
JL
67902011-08-18 Juri Linkov <juri@jurta.org>
6791
6792 * faces.el (error, warning, success): New faces with definitions
6793 copied from old default values of `font-lock-warning-face',
6794 `compilation-warning', `compilation-info' (bug#6117).
6795
6796 * font-lock.el (font-lock-warning-face): Inherit from `error'.
6797
6798 * progmodes/compile.el (compilation-error): Inherit from `error'.
6799 (compilation-warning): Inherit from `warning'.
6800 (compilation-info): Inherit from `success'.
6801
6802 * dired.el (dired-marked): Inherit from `warning'.
6803 (dired-flagged): Inherit from `error'.
6804
57173b96
LMI
68052011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6806
3e79eb87
LMI
6807 * mail/smtpmail.el (auth-source): Require to avoid problems with
6808 binding variables (bug#9298). Also clean up some unused
6809 autoloads.
6810
b3fd59bd
SM
6811 * net/network-stream.el (network-stream-open-starttls):
6812 Support using starttls.el without using gnutls-cli.
57173b96 6813
02b404de
JL
68142011-08-17 Juri Linkov <juri@jurta.org>
6815
6816 * progmodes/grep.el (rgrep): Handle the case when
6817 `grep-find-command' is a cons cell (bug#9278).
6818
8c9177f2
MR
68192011-08-17 Martin Rudalics <rudalics@gmx.at>
6820
6821 * window.el (display-buffer-pop-up-frame): Run frame creation
6822 function with BUFFER current (as special-display-popup-frame
6823 does). Reported by Drew Adams.
6824
3644a0ab
DU
68252011-08-17 Daiki Ueno <ueno@unixuser.org>
6826
6827 * epa-mail.el: Simplify GnuPG group expansion using
6828 epg-expand-group.
6829 (epa-mail-group-alist, epa-mail-group-modtime)
6830 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
6831 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
6832 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
6833 Remove.
6834
5e617bc2 68352011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
6836
6837 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
6838
9c4aeabf
AM
68392011-08-16 Alan Mackenzie <acm@muc.de>
6840
6841 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
6842 Correct, to avoid the inside of macros.
6843
3a99bf64
RS
68442011-08-16 Richard Stallman <rms@gnu.org>
6845
04963aa8
RS
6846 * epa-mail.el: Handle GnuPG group definitions.
6847 (epa-mail-group-alist, epa-mail-group-modtime)
6848 (epa-mail-gnupg-conf-file): New variables.
6849 (epa-mail-parse-groups, epa-mail-sync-groups)
6850 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
6851 (epa-mail-expand-recipients): New functions.
6852 (epa-mail-encrypt): Call epa-mail-expand-recipients.
6853
177549d0
RS
6854 * mail/rmail.el (rmail-epa-decrypt): New command.
6855
fe38beef
RS
6856 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
6857 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
6858 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
6859 (epa-decrypt-armor-in-region): Make error message clearer.
6860
934eacb9
SM
68612011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6862
6863 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
6864 and "a2b" to "ab" for `prefix'.
6865
d024fb4e
CY
68662011-08-14 Chong Yidong <cyd@stupidchicken.com>
6867
6868 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
6869 filter groups.
de148fee
CY
6870 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
6871 Fourquet (Bug#8804).
d024fb4e 6872
62f1ca49
JB
68732011-08-12 Juanma Barranquero <lekktu@gmail.com>
6874
6875 * startup.el (argi): Declare as global variable (bug#9275).
6876
9ccaaa4b
CY
68772011-08-12 Chong Yidong <cyd@stupidchicken.com>
6878
6879 * subr.el (string-mark-left-to-right): Search the entire string
6880 for RTL script, not just the terminating character. Doc fix.
6881
a3dae87a
SM
68822011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6883
6cd18349
SM
6884 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
6885 New function.
6886 (js--regexp-literal, js-syntax-propertize-function): Remove.
6887 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
6888 (js-mode-map): Don't rebind electric keys.
6889 (js-insert-and-indent): Remove.
6890 (js-mode): Setup electric-layout and electric-indent instead.
6891
a3dae87a
SM
6892 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
6893
9d5cb631
DU
68942011-08-12 Daiki Ueno <ueno@unixuser.org>
6895
6896 * epa.el (epa-progress-callback-function): Fix the logic of
6897 displaying progress.
6898 * epa-file.el (epa-file-insert-file-contents): Make progress
6899 display more user-friendly.
6900 (epa-file-write-region): Ditto.
6901
3e26a4a2
CY
69022011-08-10 Chong Yidong <cyd@stupidchicken.com>
6903
6904 * subr.el (string-mark-left-to-right): New function.
6905
6906 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
6907 Use string-mark-left-to-right.
6908 (list-buffers-noselect): Caller changed.
6909
a3dae87a
SM
6910 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6911 Use string-mark-left-to-right.
3e26a4a2
CY
6912 (tabulated-list-print): Recenter after moving point.
6913
ac8cf6e6
JL
69142011-08-10 Juri Linkov <juri@jurta.org>
6915
6916 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
6917 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
6918 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
6919
8d96c9a4
CY
69202011-08-09 Chong Yidong <cyd@stupidchicken.com>
6921
6922 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
6923 (Bug#7554).
6924
7be1c708 69252011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
6926
6927 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
6928 character. (Bug#6594)
6929
37e11a63
CY
69302011-08-08 Chong Yidong <cyd@stupidchicken.com>
6931
839dde57
CY
6932 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
6933 (image-dired--with-db-file): New macro.
6934 (image-dired-write-tags, image-dired-remove-tag)
6935 (image-dired-create-gallery-lists, image-dired-write-comments)
6936 (image-dired-get-comment, image-dired-mark-tagged-files)
6937 (image-dired-list-tags, image-dired-gallery-generate): Use it.
6938 (image-dired-gallery-generate): Use insert-file-contents.
6939
37e11a63
CY
6940 * time.el (display-time-world-list, display-time-world-display):
6941 * time-stamp.el (time-stamp-string):
6942 * vc/add-log.el (add-change-log-entry): Use setenv instead of
6943 set-time-zone-rule (Bug#7337).
6944
0b4946c4
DU
69452011-08-08 Daiki Ueno <ueno@unixuser.org>
6946
6947 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
6948 (epg-error-to-string, epg-errors-to-string): New function.
6949 (epg-wait-for-completion): Reverse errors list.
6950 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
6951 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
6952 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
6953 (epg-sign-keys, epg-generate-key-from-file)
6954 (epg-generate-key-from-string): Format errors by using
6955 epg-errors-to-string (bug#9255).
6956 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
6957
75bfc667
JL
69582011-08-07 Juri Linkov <juri@jurta.org>
6959
6960 * faces.el (list-faces-display): Remove extra angle bracket
6961 from `help-mode-map'.
6962
6963 * info.el (Info-history-toc-nodes): Doc fix.
6964
6965 * longlines.el (longlines-mode): Doc fix.
6966
673e08bb
SM
69672011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6968
4640dd88
SM
6969 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
6970 of statements and in a few more cases (bug#9183).
6971
673e08bb
SM
6972 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
6973 New functions.
6974 (cl-transform-lambda): Use them (bug#9239).
6975
89b3f019
MR
69762011-08-05 Martin Rudalics <rudalics@gmx.at>
6977
6978 * window.el (display-buffer-same-window)
6979 (display-buffer-same-frame, display-buffer-other-window)
6980 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
6981 (pop-to-buffer-other-window)
6982 (pop-to-buffer-same-frame-other-window)
6983 (pop-to-buffer-other-frame): Make them defuns.
6984 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
6985
640c8776
SM
69862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * subr.el (make-composed-keymap): Move from C. Change calling
6989 convention, and improve docstring to bring attention to a subtle point.
6990 * minibuffer.el (completing-read-default): Adjust accordingly.
6991
63648a95
MA
69922011-08-03 Michael Albinus <michael.albinus@gmx.de>
6993
6994 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6995 (tramp-open-shell): Use `tramp-shell-quote-argument'.
6996
6997 * net/trampver.el: Update release number.
6998
b796c9b7
SM
69992011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7000
7001 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
7002 "in" (bug#9190).
7003
2239d7d5
LMI
70042011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
7005
e07dd7c3
LMI
7006 * mail/sendmail.el (sendmail-query-once): Restore the current
7007 buffer after querying (bug#9074).
7008
0e6a2bd7
LMI
7009 * dired.el (dired-flagged): Use different faces for marked and
7010 flagged files (bug#6117).
7011
ce887515
LMI
7012 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
7013 (bug#4433).
7014
92f2affc
LMI
7015 * ido.el (ido-mode): Switch off the message if called
7016 non-interactively.
7017
57d5aff0
LMI
7018 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
7019 before 587, since it appears that that's more likely to work for
7020 more people.
7021
98cd6c18 7022 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 7023 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
7024 exist.
7025
b96dec83
LMI
7026 * info.el: Remove the `Info-beginning-of-buffer' function
7027 (bug#8325).
7028
b796c9b7
SM
7029 * net/network-stream.el (network-stream-open-starttls):
7030 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 7031
d90e2ea0
MR
70322011-08-01 Martin Rudalics <rudalics@gmx.at>
7033
7034 * window.el (display-buffer-in-window): Don't set dedicated status
7035 of window here (Bug#9215).
7036 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7037 (display-buffer-pop-up-side-window)
b796c9b7 7038 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 7039
cca09170
SM
70402011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
7043 before binding generated-autoload-file.
7044
027b979c
DD
70452011-08-01 Deniz Dogan <deniz@dogan.se>
7046
7047 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
7048
3c7ee4f3
MA
70492011-07-30 Michael Albinus <michael.albinus@gmx.de>
7050
7051 Sync with Tramp 2.2.2.
7052
7053 * net/trampver.el: Update release number.
7054
2cc8e51a
JL
70552011-07-30 Juri Linkov <juri@jurta.org>
7056
7057 * dired-aux.el (dired-touch-initial): Remove function.
7058 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
7059 current time, and `default' to the last modification time of the
7060 current marked file (bug#6887).
7061
a514d856
JM
70622011-07-28 Jose E. Marchesi <jemarch@gnu.org>
7063
7064 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 7065 numeric argument to read-number (bug#9163).
a514d856 7066
8a7eddd7
MA
70672011-07-27 Michael Albinus <michael.albinus@gmx.de>
7068
7069 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
7070 connection process, it could be nil.
7071
1ddd96f5
LL
70722011-07-27 Leo Liu <sdl.web@gmail.com>
7073
7074 Simplify url handling in rcirc-mode.
7075
7076 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
7077 (rcirc-browse-url-at-mouse): Remove.
7078 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
7079
b248a85d
AM
70802011-07-26 Alan Mackenzie <acm@muc.de>
7081
7082 Fontify bitfield declarations properly.
7083
7084 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
7085 (c-symbol-chars): Now exported as a lang variable.
7086 (c-not-primitive-type-keywords): New lang variable.
7087
7088 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
7089 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 7090 parsed as a bitfield declaration.
b248a85d 7091
b796c9b7
SM
7092 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7093 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
7094 (c-punctuation-in): New function.
7095 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
7096 declarations properly.
7097
68575ab0
UJ
70982011-07-26 Ulf Jasper <ulf.jasper@web.de>
7099
7100 * calendar/icalendar.el (icalendar--all-events): Take care of
7101 multiple vcalendars in a single file.
b796c9b7 7102 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 7103
0f0a88b9
DD
71042011-07-25 Deniz Dogan <deniz@dogan.se>
7105
7106 * image.el (insert-image): Clarifying docstring.
7107
0b3f36df
MA
71082011-07-24 Michael Albinus <michael.albinus@gmx.de>
7109
7110 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
7111 `tramp-send-command-and-check' if there is no error.
7112 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
7113
a9901f61
AM
71142011-07-22 Alan Mackenzie <acm@muc.de>
7115
7116 Prevent cc-langs.elc being loaded at run time.
7117
7118 * progmodes/cc-mode.el: Remove two autoload forms which loaded
7119 cc-langs.
7120
4d61f28d 7121 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
7122 "(require 'cc-langs)". Quote a form so it will evaluate at
7123 (cc-mode's) compilation time.
7124
11d074b2
MA
71252011-07-22 Michael Albinus <michael.albinus@gmx.de>
7126
7127 * net/tramp.el (tramp-file-name-handler): Avoid recursive
7128 loading. (Bug#9114)
7129
938b94c8
MR
71302011-07-21 Martin Rudalics <rudalics@gmx.at>
7131
7132 * window.el (display-buffer-pop-up-window)
7133 (display-buffer-pop-up-side-window)
7134 (display-buffer-in-side-window): Call display-buffer-set-height
7135 and display-buffer-set-width after setting the new window's
b796c9b7 7136 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 7137
bfa4f190
SS
71382011-07-20 Sam Steingold <sds@gnu.org>
7139
7140 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
7141 (etags-tags-included-tables): Call `convert-standard-filename' on
7142 the file names contained in TAGS so that windows Emacs can handle
7143 TAGS files created by cygwin ctags.
7144
8ca42262
LMI
71452011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
7146
7147 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
7148 which apparently didn't work.
7149
5db2afd2 71502011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 7151
5db2afd2
RW
7152 * proced.el (proced-send-signal): For *Marked Processes* buffer
7153 put point at beginning of buffer.
7154
92e15d10
SB
71552011-07-19 Stephen Berman <stephen.berman@gmx.net>
7156
7157 * proced.el (proced-format): Make header lines align with the text
7158 (bug#1779).
7159
1bfd59e5
LMI
71602011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7161
7162 * view.el (view-buffer): Allow running in `special' modes if we're
7163 visiting a file (bug#8615).
7164
f5aae37c
MR
71652011-07-19 Martin Rudalics <rudalics@gmx.at>
7166
7167 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
7168 (display-buffer-alist-set-1, display-buffer-alist-set-2):
7169 New functions.
f5aae37c
MR
7170 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
7171 more accurately.
7172
bf2c1571
AM
71732011-07-18 Alan Mackenzie <acm@muc.de>
7174
7175 Fontify declarators properly when, e.g., a jit-lock chunk begins
7176 inside a declaration.
7177
7178 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
7179
b796c9b7
SM
7180 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7181 New function.
bf2c1571
AM
7182 (c-complex-decl-matchers): Insert reference to
7183 c-font-lock-enclosing-decls.
7184
7185 * progmodes/cc-engine.el (c-backward-single-comment):
7186 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
7187 to nil around calls to (forward-comment -1).
7188
4e190b80
LMI
71892011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7190
12dc863d
LMI
7191 * image.el (put-image): Doc typo fix.
7192
a762e966
LMI
7193 * progmodes/etags.el (tags-search): Doc typo fix.
7194
4e190b80
LMI
7195 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
7196 password if we get errors 550 to 554.
7197
f019fb21
LMI
71982011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7199
b796c9b7 7200 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 7201
81746738
LMI
7202 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
7203 indentation character (bug#6380).
7204
3ee3a1b5
LMI
7205 * files.el (buffer-offer-save): Made permanently local (bug#6241).
7206
c82f64de
LMI
7207 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
7208 to clarify what the problem is (bug#4291).
7209
f019fb21
LMI
7210 * simple.el (current-kill): Clarify what
7211 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
7212 (auto-fill-mode): Document `auto-fill-function' in relation to
7213 `auto-fill-mode' (bug#2470).
f019fb21 7214
0794775d
LM
72152011-07-16 Lawrence Mitchell <wence@gmx.li>
7216
7217 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
7218 method if slot is read-only (bug#9035).
7219
be39b8cc
MR
72202011-07-16 Martin Rudalics <rudalics@gmx.at>
7221
b796c9b7 7222 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 7223 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
7224 selected before, see discussion of (Bug#8615), (Bug#6954).
7225 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 7226
6ccf7859
GM
72272011-07-15 Glenn Morris <rgm@gnu.org>
7228
7229 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 7230 Respect help-form.
6ccf7859 7231
87e86684
LM
72322011-07-09 Lawrence Mitchell <wence@gmx.li>
7233
7234 * net/gnutls.el (gnutls-min-prime-bits): New variable.
7235 (gnutls-negotiate): Use it.
7236
d6066239
LMI
72372011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7238
b796c9b7
SM
7239 * net/gnutls.el (gnutls-negotiate):
7240 Upcase `gnutls-algorithm-priority'.
d6066239 7241
bd23ebc0
GM
72422011-07-15 Glenn Morris <rgm@gnu.org>
7243
c65bca65
GM
7244 * jka-compr.el (jka-compr-verbose): Move from here...
7245 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
7246 Add missing :version tag.
7247 * info.el: No need to require jka-compr when compiling.
bd23ebc0 7248
478615cc
LMI
72492011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
7250
7b41decb
LMI
7251 * net/gnutls.el (gnutls-algorithm-priority): New variable.
7252 (gnutls-negotiate): Use it.
7253
dbc44fcd
LMI
7254 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
7255
06789f97
LMI
7256 * info.el (Info-beginning-of-buffer): New command.
7257 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
7258 announcing `b' as the key (bug#8325).
ab896c37 7259 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 7260
c39da690
LMI
7261 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
7262
3aa5f34b
LMI
7263 * international/mule-cmds.el
7264 (describe-specified-language-support): Make the error message
7265 clearer (bug#8905).
7266
4bf0979f
LMI
7267 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
7268
478615cc
LMI
7269 * isearch.el (isearch-barrier): Add a doc string, since it's
7270 mentioned in a function doc string (bug#8678).
7271
75c68aa1
MR
72722011-07-15 Martin Rudalics <rudalics@gmx.at>
7273
7274 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
7275 buffer argument (Bug#9083) and self-identifying label argument.
7276
a7c33da2
GM
72772011-07-15 Glenn Morris <rgm@gnu.org>
7278
7279 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
7280
2f5c6024
LMI
72812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7282
7283 * man.el (Man-fontify-manpage): Fix message when formatting the
7284 man page (bug#7929).
7285
0bb23927 72862011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
7287
7288 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
7289 argument LRM; if non-nil, append an invisible LRM character to the
7290 buffer name.
7291 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
7292 last argument non-nil, when formatting buffer names.
0bb23927
EZ
7293 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
7294 paragraph direction.
cce4b0a7 7295
621ef9ab
LMI
72962011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7297
d1583c48
LMI
7298 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
7299 the man page name (bug#7929).
7300
6a57fb5f
LMI
7301 * image.el (put-image): Mention the `put-image' overlay property
7302 (bug#7834).
7303
d7956b14
LMI
7304 * scroll-bar.el (set-scroll-bar-mode): Mention that
7305 `scroll-bar-mode' lists the values (bug#7772).
7306
5b2d4a66
LMI
7307 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
7308 command (bug#7729).
7309
7509a874
LMI
7310 * rect.el (apply-on-rectangle): Return the point after the last
7311 operation.
7312 (string-rectangle): Go to the point after the last operation
7313 (bug#7522).
7314
4fe74b19
LMI
7315 * printing.el (pr-toggle-region): Clarify the documentation
7316 slightly (bug#7493).
7317
b796c9b7
SM
7318 * time.el (display-time-update):
7319 Allow `display-time-mail-function' to return nil (bug#7158).
7320 Fix suggested by Detlev Zundel.
ab283561 7321
fc233c9d
LMI
7322 * vc/diff.el (diff): Clarify the order the file names are read
7323 (bug#7111).
7324
43f5740b
LMI
7325 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
7326 the doc string (bug#7015).
7327
f2182a76
LMI
7328 * font-lock.el (font-lock-maximum-decoration): Mention what
7329 numeric levels mean (bug#6935).
7330
621ef9ab
LMI
7331 * startup.el (initial-buffer-choice): Don't mention the `none'
7332 selection, which is against policy.
7333
adc47434
MR
73342011-07-14 Martin Rudalics <rudalics@gmx.at>
7335
b796c9b7
SM
7336 * window.el (display-buffer-normalize-special):
7337 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 7338
7e5bfb8f
EZ
73392011-07-14 Eli Zaretskii <eliz@gnu.org>
7340
7341 * subr.el (version<, version<=, version=): Mention "-CVS" and
7342 "-12345" alpha version numbers.
7343
27fa387a
CY
73442011-07-14 Chong Yidong <cyd@stupidchicken.com>
7345
7346 * bindings.el: Add advertised binding for set-mark-command
7347 (Bug#5772).
7348
8bdfa064
CY
73492011-07-14 Chong Yidong <cyd@stupidchicken.com>
7350
7351 * bindings.el (mode-line-other-buffer):
7352 * bookmark.el (bookmark-bmenu-2-window):
7353 * bs.el (bs-cycle-next, bs-cycle-previous):
7354 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
7355 switch-to-buffer.
7356
7357 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 7358 Delete.
8bdfa064 7359
5eba16a3
JB
73602011-07-14 Juanma Barranquero <lekktu@gmail.com>
7361
7362 * follow.el (follow-debug-message, follow-redisplay):
7363 * jka-cmpr-hook.el (with-auto-compression-mode):
7364 Fix typos in docstrings.
7365
15853710
LMI
73662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7367
a28e4607
LMI
7368 * subr.el (with-silent-modifications): Clarify somewhat what the
7369 macro inhibits (bug#6525).
7370
15853710
LMI
7371 * simple.el (eval-expression): Note what it does if called
7372 interactively (bug#6495).
7373
bee0fcef
CY
73742011-07-13 Chong Yidong <cyd@stupidchicken.com>
7375
b796c9b7
SM
7376 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
7377 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
7378
7379 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7380 Remove switch-to-buffer.
7381
58274504
LMI
73822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7383
bd2fcc8d
LMI
7384 * files.el (make-directory): Clarify that an error will be raised
7385 if there's an error (bug#6397).
7386
0f04b32c
LMI
7387 * startup.el (initial-buffer-choice): Add `none' as a choice
7388 (bug#6234).
7389
465c5fc8
LMI
7390 * subr.el (add-hook): Clarify section about buffer-local hooks
7391 (bug#6218).
7392
58274504
LMI
7393 * dired.el (dired-flagged): Clarify doc string (bug#6117).
7394
bead9a43
JB
73952011-07-13 Juanma Barranquero <lekktu@gmail.com>
7396
7397 * tabify.el (untabify): Preserve the current column so that point
7398 doesn't move (bug#6032).
7399
3af98a7b
LMI
74002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7401
b796c9b7
SM
7402 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
7403 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 7404
6240145a
GM
74052011-07-13 Glenn Morris <rgm@gnu.org>
7406
7407 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
7408 (dired-insert-directory): Give a message the first time
7409 if ls is found not to support --dired.
7410
1d8c2ccc
LMI
74112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7412
7413 * simple.el (toggle-truncate-lines): Clarify what is toggled
7414 (bug#5580). Text by Drew Adams.
7415
5fc4038e
CY
74162011-07-13 Chong Yidong <cyd@stupidchicken.com>
7417
7418 * simple.el (blink-matching-open): Make the error message from the
7419 last change less verbose.
7420
bf6012e5
DN
74212011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
7422
7423 * font-lock.el (font-lock-comment-face): Use the high contrast
7424 "yellow" color for font-lock-comment-face on low color terminals
7425 using a dark background color (bug#4221).
7426
343c3b5a
LMI
74272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7428
7e9505c5
LMI
7429 * dired.el (dired-insert-set-properties): Make the doc string
7430 reflect what it does now (bug#5325).
7431
c26fdcf5
LMI
7432 * simple.el (blink-matching-open): Say that we were unable to find
7433 the match within the limit, if we're limited (bug#5122).
7434
bb388cc5
LMI
7435 * international/mule-cmds.el (prefer-coding-system): Add an
7436 example (bug#4869).
7437
343c3b5a
LMI
7438 * progmodes/etags.el (tags-search): Document `file-list-form'
7439 (bug#4731).
7440
2a517d45
LM
74412011-07-13 Lawrence Mitchell <wence@gmx.li>
7442
7443 * net/browse-url.el (browse-url-default-browser)
7444 (browse-url-browser-function): Make the default browser choice a
7445 bit more logical (bug#4300). Also clean up the doc string.
7446
b6c78ef2
JB
74472011-07-13 Juanma Barranquero <lekktu@gmail.com>
7448
7449 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
7450 binary endings (bug#4440).
7451
1c4dd947
LMI
74522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7453
a2014063
LMI
7454 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
7455 which can be pretty annoying (bug#8971).
7456
9c9c2d88
LMI
7457 * jka-compr.el (jka-compr-verbose): New variable, and use
7458 throughout (bug#8971).
7459
1c4dd947
LMI
7460 * info.el (Info-find-file): Fall back on the installation
7461 directory if we can't find the info node anywhere else.
7462
a1c9f41b
SO
74632011-07-13 Sergei Organov <osv@javad.com> (tiny change)
7464
7465 * vc/vc.el (vc-revert-file):
7466 Don't set file time-stamp in the past. (Bug#5181)
7467
536f3d36
LMI
74682011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7469
7152b011
LMI
7470 * files.el (after-find-file): Give a better error message when
7471 trying to find a symlink that points to a file that doesn't exist
7472 (bug#4398).
7473
536f3d36
LMI
7474 * progmodes/cc-vars.el: Remove (probably) misleading comment
7475 (bug#4396).
7476
460c0fba
JB
74772011-07-12 Johan Bockgård <bojohan@gnu.org>
7478
7479 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
7480
7a6bda45
CY
74812011-07-12 Chong Yidong <cyd@stupidchicken.com>
7482
7483 * mouse-sel.el: Hack restoring functionality, while keeping
7484 compatibility with 2010-07-03 changes to mouse selection.
7485 (mouse-sel-primary-overlay): New var.
7486 (mouse-sel-selection-alist): Use it.
7487 (mouse-sel-mode): Doc fix; remove points that are default features
7488 of mouse.el.
7489
c79598ef
JB
74902011-07-12 Johan Bockgård <bojohan@gnu.org>
7491
7492 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7493 Fix previous fix (bug#2490).
7494
ff8be6ef
RW
74952011-07-12 Roland Winkler <winkler@gnu.org>
7496
b796c9b7
SM
7497 * textmodes/bibtex.el (bibtex-initialize):
7498 Use pop-to-buffer-same-window.
ff8be6ef
RW
7499 (bibtex-search-entries): Fix interactive call.
7500
296ba3ee
LMI
75012011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7502
f5242a02 7503 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
7504 Fontise bytecomp Error lines more correctly (bug#2490).
7505 Fix suggested by Johan Bockgård.
f5242a02 7506
296ba3ee
LMI
7507 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
7508
7509 * dired-x.el (dired-guess-default): Use `delete-dups'.
7510
f69fd0d2
CY
75112011-07-12 Chong Yidong <cyd@stupidchicken.com>
7512
7513 * dired.el (dired-mark-prompt):
7514 * dired-aux.el (dired-read-shell-command): Doc fix.
7515
eab5dc07
LMI
75162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7517
b796c9b7
SM
7518 * mail/sendmail.el (sendmail-query-once):
7519 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
7520 emacs -Q.
7521
7522 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7523
eab5dc07
LMI
7524 * cus-edit.el (custom-file): Take an optional no-error variable.
7525 (customize-save-variable): Set the variable, and give a warning if
7526 running under "emacs -q".
7527
a1e65d42
JB
75282011-07-11 Juanma Barranquero <lekktu@gmail.com>
7529
7530 * loadhist.el (unload-feature-special-hooks):
7531 Add `auto-coding-functions', `fill-nobreak-predicate' and
7532 `find-directory-functions' (bug#5327).
7533
1d52da10
LMI
75342011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7535
be958f1d
LMI
7536 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
7537
5bedb26c
LMI
7538 * cus-edit.el (custom-guess-name-alist): -alist variables should
7539 use the `alist' type (bug#3120). Suggested by Drew Adams.
7540
1d52da10
LMI
7541 * printing.el: Add documentation to all the `pr-toggle-' commands.
7542
cd394be1 75432011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
7544
7545 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
7546 backends where it makes sense (bug#2623).
7547
dcc88d8a
LMI
75482011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7549
c3de9feb
LMI
7550 * dired-x.el (dired-guess-default): Remove duplicate shell command
7551 entries (bug#2028).
8a93078b 7552 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 7553 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 7554
dcc88d8a
LMI
7555 * subr.el (remove-duplicates): New conveniency function.
7556
505e3645
LMI
75572011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7558
7559 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
7560 (bug#1526).
7561
75622011-07-10 Martin Rudalics <rudalics@gmx.at>
7563
7564 * window.el (display-buffer-normalize-default): Don't invert
7565 meaning of even-window-heights. Reported by Eli Zaretskii
7566 <eliz@gnu.org>.
7567
455e4fa1
BR
75682011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
7569
7570 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
7571
8e0bc3e9
CY
75722011-07-10 Chong Yidong <cyd@stupidchicken.com>
7573
7574 * window.el (display-buffer): Fix arguments to
7575 display-buffer-reuse-window in last change.
7576
fa7c3228
CY
7577 * faces.el (link): Use a less saturated blue on light backgrounds.
7578
7579 * startup.el (fancy-startup-text, fancy-about-text)
7580 (fancy-startup-tail): Use font-lock faces, for background safety.
7581
c0a7f300
BN
75822011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
7583
b796c9b7
SM
7584 * emulation/viper-cmd.el (viper-change-state-to-vi):
7585 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 7586
4dc2a129
MR
75872011-07-09 Martin Rudalics <rudalics@gmx.at>
7588
7589 * window.el (display-buffer-default-specifiers): Remove.
7590 (display-buffer-macro-specifiers): Remove default specifiers.
7591 (display-buffer-alist): Default to nil.
b796c9b7 7592 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
7593 (display-buffer-pop-up-window): Allow splitting internal
7594 windows. Check whether a live window was created.
7595 (display-buffer-other-window-means-other-frame)
7596 (display-buffer-normalize-arguments): Rename to
7597 display-buffer-normalize-argument and rewrite. Set the
7598 other-window specifier.
7599 (display-buffer-normalize-special): New function.
7600 (display-buffer-normalize-options): Rename to
7601 display-buffer-normalize-default and rewrite.
7602 (display-buffer-normalize-options-inhibit): Remove.
7603 (display-buffer-normalize-specifiers): Rewrite.
7604 (display-buffer): Process other-window specifier and call
7605 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
7606 more faithfully.
b796c9b7 7607 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 7608 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
7609 (display-buffer-in-window, display-buffer-alist-set):
7610 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
7611 <tassilo@member.fsf.org>.
7612
2d43b8c9
LL
76132011-07-09 Leo Liu <sdl.web@gmail.com>
7614
7615 * register.el (insert-register): Restore accidental change on
7616 2011-06-26. (Bug#9028)
7617
7f9b7c53
GM
76182011-07-09 Glenn Morris <rgm@gnu.org>
7619
7620 * subr.el (remq): Handle the empty list. (Bug#9024)
7621
f042cfd8
AS
76222011-07-08 Andreas Schwab <schwab@linux-m68k.org>
7623
7624 * mail/sendmail.el (send-mail-function): No longer delay custom
7625 initialization.
7626 * custom.el (custom-initialize-delay): Doc fix.
7627
856b2f11
SM
76282011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7629
7630 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
7631
afae1d68
MA
76322011-07-08 Michael Albinus <michael.albinus@gmx.de>
7633
7634 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
7635 human-friendly prompt.
7636
0757af94
SM
76372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7638
7639 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
7640 provided by a particular plugin.
7641
d760b731
LMI
76422011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7643
7644 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
7645 save customizations (with "emacs -Q"), just set the variable
7646 instead of erroring out.
7647
7648 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
7649
cd79ce90
JL
76502011-07-08 Juri Linkov <juri@jurta.org>
7651
7652 * arc-mode.el (archive-zip-expunge, archive-zip-update)
7653 (archive-zip-update-case): Use 7z if found by `executable-find'.
7654 The order of searching the available programs is the same as in
7655 `archive-zip-extract' (bug#8968).
7656
14cc04aa
CY
76572011-07-07 Chong Yidong <cyd@stupidchicken.com>
7658
7659 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
7660 (menu-bar-options-menu): Tweak descriptions.
7661
0a1848ec
LMI
76622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7663
7664 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
7665 menu items into verb phrases (bug#1421). Also refill to fit under
7666 80 columns.
7667
f5bd0689
CY
76682011-07-07 Chong Yidong <cyd@stupidchicken.com>
7669
538e85c6
CY
7670 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
7671 (Info-read-node-name): Doc fix (Bug#1084).
7672
f5bd0689
CY
7673 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
7674 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
7675 (end-of-sexp, beginning-of-sexp)
7676 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
7677 (forward-symbol, forward-same-syntax, word-at-point)
7678 (sentence-at-point): Doc fix (Bug#1144).
7679
56ec5115
LMI
76802011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7681
f3f8e37f
LMI
7682 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
7683 should cover it (bug#1281).
7684
0757af94 7685 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 7686
e9fce1ac 7687 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
7688 negotiation fails, then possibly try again with a non-encrypted
7689 connection (bug#9017).
7690
56ec5115
LMI
7691 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
7692 be used.
7693
c2f9aec8
RS
76942011-07-07 Richard Stallman <rms@gnu.org>
7695
7696 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
7697 property, and handle its changed format.
7698 Look for the correct line number.
7699 Use file's line contents (but not past first =) to find
7700 correct line in message.
7701
ef7b981d 77022011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
7703
7704 * international/characters.el (build-unicode-category-table):
7705 Delete it.
0757af94 7706 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 7707
0757af94 7708 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
7709 to src/chartab.c.
7710 (get-char-code-property): Call unicode-property-table-internal to
7711 load a file. Call get-unicode-property-internal where necessary.
7712 (put-char-code-property): Call unicode-property-table-internal to
7713 load a file. Call put-unicode-property-internal where necessary.
7714 put-unicode-property-internal where necessary.
0757af94
SM
7715 (char-code-property-description):
7716 Call unicode-property-table-internal to load a file.
c805dec0
KH
7717
7718 * international/charprop.el:
7719 * international/uni-bidi.el:
7720 * international/uni-category.el:
7721 * international/uni-combining.el:
7722 * international/uni-comment.el:
7723 * international/uni-decimal.el:
7724 * international/uni-decomposition.el:
7725 * international/uni-digit.el:
7726 * international/uni-lowercase.el:
7727 * international/uni-mirrored.el:
7728 * international/uni-name.el:
7729 * international/uni-numeric.el:
7730 * international/uni-old-name.el:
7731 * international/uni-titlecase.el:
7732 * international/uni-uppercase.el: Regenerate.
7733
7734 * loadup.el: Load international/charprop.el before
7735 international/characters.
7736
e14b388a
CY
77372011-07-07 Chong Yidong <cyd@stupidchicken.com>
7738
7739 * window.el (next-buffer, previous-buffer): Signal an error if
7740 called from a minibuffer window.
7741
7742 * bindings.el: Revert 2011-07-04 change.
7743
354cf0ba
RS
77442011-07-06 Richard Stallman <rms@gnu.org>
7745
7746 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
7747 (rmail-mime-insert-bulk, rmail-mime-insert-text):
7748 Treat markers like ints.
7749 (rmail-mime-entity): Doc fix.
7750
a48868a7
LMI
77512011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7752
4906cd3d
LMI
7753 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
7754 defcustom again for backwards compatibility.
7755
e0457abe
LMI
7756 * simple.el (shell-command-on-region): Fill.
7757
d67f7e1f
LMI
7758 * dired-aux.el (dired-kill-line): Add a doc string.
7759
fe204702
LMI
7760 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
7761 to "\\sw\\|\\s_" (bug#358).
7762
a48868a7
LMI
7763 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
7764 (dired-unmark-backward): Ditto.
7765 (dired-flag-backup-files): Ditto.
7766
7767 * dired-x.el (dired-mark-sexp): Ditto.
7768
aa8a705c
RS
77692011-07-06 Richard Stallman <rms@gnu.org>
7770
7771 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
7772 (rmail-mime-entity): New arg TRUNCATED.
7773 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
7774 New functions.
7775 (rmail-mime-save): Warn if entity is truncated.
7776 (rmail-mime-toggle-hidden): Likewise, for showing.
7777 (rmail-mime-process-multipart): Record when an entity is truncated.
7778
a9a936b9
RS
7779 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
7780 if ENTITY is a string.
7781
1f2b92cb
LMI
77822011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7783
f4f73198 7784 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
7785 of faces when `M-C-x'-ing their definitions (bug#8378).
7786 Also clean up the code slightly.
f4f73198 7787
12b16734 7788 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 7789 because that makes the colors go away.
12b16734 7790
f0691d22
LMI
7791 * mail/sendmail.el (send-mail-function): Change the default to
7792 `sendmail-query-once'.
9e87df06 7793 (sendmail-query-once): Add an autoload cookie.
f0691d22 7794
1f2b92cb
LMI
7795 * net/network-stream.el (network-stream-open-starttls): Try using
7796 a plain connection even if the server offered STARTTLS, and we
7797 kinda wanted to use it, if Emacs doesn't have any STARTTLS
7798 capability. This should make smtpmail.el work in slightly more
7799 configurations.
7800
1cdd2a1b
MA
78012011-07-06 Michael Albinus <michael.albinus@gmx.de>
7802
7803 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
7804 New defun.
7805 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
7806
fbcc67e2
MM
78072011-07-06 Michael R. Mauger <mmaug@yahoo.com>
7808
7809 * progmodes/sql.el: Version 3.0
0757af94 7810 (sql-product-alist): Add product :completion-object,
fbcc67e2 7811 :completion-column, and :statement attributes.
0757af94 7812 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 7813 (sql-mode-syntax-table): Mark all punctuation.
0757af94 7814 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
7815 ansi keywords.
7816 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 7817 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
7818 (sql-oracle-show-reserved-words): New function for development.
7819 (sql-product-font-lock): Simplify for source code buffers.
7820 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
7821 New functions.
7822 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
7823 (sql-mode-map): Add statement movement functions.
7824 (sql-ansi-statement-starters, sql-oracle-statement-starters):
7825 New variable.
fbcc67e2
MM
7826 (sql-statement-regexp, sql-beginning-of-statement)
7827 (sql-end-of-statement, sql-signum): New functions.
0757af94 7828 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
7829 (sql-show-sqli-buffer): Bug fix.
7830 (sql-interactive-mode): Store connection data as buffer local.
0757af94 7831 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
7832 with sql-interactive-mode.
7833 (sql-save-connection): Save buffer local settings.
0757af94 7834 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
7835 (sql-product-interactive): Bug fix.
7836 (sql-preoutput-hold): New variable.
7837 (sql-interactive-remove-continuation-prompt): Bug fixes.
7838 (sql-debug-redirect): New variable.
7839 (sql-str-literal): New function.
7840 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 7841 Redesign.
fbcc67e2
MM
7842 (sql-oracle-save-settings, sql-oracle-restore-settings)
7843 (sql-oracle-list-all, sql-oracle-list-table): New functions.
7844 (sql-completion-object, sql-completion-column)
7845 (sql-completion-sqlbuf): New variables.
7846 (sql-build-completions-1, sql-build-completions)
7847 (sql-try-completion): New functions.
7848 (sql-read-table-name): Use them.
7849 (sql-contains-names): New buffer local variable.
7850 (sql-list-all, sql-list-table): Use it.
7851 (sql-oracle-completion-types): New variable.
7852 (sql-oracle-completion-object, sql-sqlite-completion-object)
7853 (sql-postgres-completion-object): New functions.
7854
d4eaeab1
GM
78552011-07-06 Glenn Morris <rgm@gnu.org>
7856
7857 * window.el (pop-to-buffer): Doc fix.
7858
322b7dab 78592011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
7860
7861 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
7862
322b7dab 78632011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 7864
322b7dab 7865 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 7866
322b7dab 7867 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 7868
605dd5bf
CY
78692011-07-05 Chong Yidong <cyd@stupidchicken.com>
7870
7871 * button.el (button): Inherit from link face. Suggested by Dan
7872 Nicolaescu.
7873
7dbfa719
SM
78742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7875
3db614b0
SM
7876 * progmodes/gdb-mi.el: Fit in 80 columns.
7877 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
7878 switch-to-buffer.
7879
7dbfa719
SM
7880 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
7881 if imenu is simply not configured (bug#8941).
7882
919d884a
KM
78832011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7884
7885 * allout.el (allout-post-undo-hook): New allout outline-change
7886 event hook to signal undo activity.
7887 (allout-post-command-business): Run allout-post-undo-hook if an
7888 undo just occurred.
7dbfa719
SM
7889 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
7890 * allout-widgets.el (allout-widgets-after-undo-function):
7891 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
7892 in the vicinity of an undo.
7893 (allout-widgets-mode): Include allout-widgets-after-undo-function
7894 on the new allout-post-undo-hook.
7895
450a0f09
SM
78962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
7899 Let define-derived-mode define it.
7900 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
7901 cycles of abbrev-table inheritance (bug#8998).
7902
2de69e00
RW
79032011-07-05 Roland Winkler <winkler@gnu.org>
7904
7905 * textmodes/bibtex.el: Add support for biblatex.
7906 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
7907 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
7908 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
7909 (bibtex-entry-alist, bibtex-field-alist): New variables.
7910 (bibtex-entry-field-alist): Obsolete alias for
7911 bibtex-BibTeX-entry-alist.
7912 (bibtex-entry-alist, bibtex-field-alist): New widgets.
7913 (bibtex-set-dialect): New command.
7914 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
7915 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
7916 Bind via bibtex-set-dialect.
2de69e00
RW
7917 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
7918 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
7919 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
7920 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
7921 Define via bibtex-set-dialect.
450a0f09
SM
7922 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
7923 Obey bibtex-no-opt-remove-re.
2de69e00
RW
7924 (bibtex-vec-push, bibtex-vec-incr): New functions.
7925 (bibtex-format-entry, bibtex-field-list)
7926 (bibtex-print-help-message, bibtex-validate)
7927 (bibtex-search-entries): Use new format of bibtex-entry-alist.
7928
2dcdbdd9
SM
79292011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * progmodes/compile.el (compilation-goto-locus):
7932 * net/tramp-cmds.el (tramp-append-tramp-buffers):
7933 * bs.el (bs-cycle-next, bs-cycle-previous):
7934 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
7935 * bindings.el (mode-line-other-buffer):
7936 * autoinsert.el (auto-insert):
7937 * arc-mode.el (archive-extract):
7938 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
7939
b27640fe
JB
79402011-07-05 Juanma Barranquero <lekktu@gmail.com>
7941
7942 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
7943 Fix check of `emacs-lock-unlockable-modes'.
7944 Coerce true values of `emacs-lock--try-unlocking' to t.
7945
53bbe3ad
JB
79462011-07-05 Juanma Barranquero <lekktu@gmail.com>
7947
7948 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
7949 * emacs-lock.el: New file.
7950
1d3cdbc7
JD
79512011-07-05 Julien Danjou <julien@danjou.info>
7952
7953 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
7954 than `boundp' to check if face is set.
7955
9173deec
JB
79562011-07-05 Juanma Barranquero <lekktu@gmail.com>
7957
7958 * register.el (registerv-make):
7959 * window.el (window-min-height): Fix typos in docstrings.
7960
869795d6
JD
79612011-07-05 Jan Djärv <jan.h.d@swipnet.se>
7962
9173deec 7963 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
7964 Update doc string.
7965
b768cdcd
JB
79662011-07-04 Juanma Barranquero <lekktu@gmail.com>
7967
7968 * server.el (server-execute): Catch quit and call
7969 `server-return-error' to pass the error back to emacsclient and
7970 close the connection (bug#8942).
7971
13aa217b
KM
79722011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
7973
7974 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
7975 insecure exception for current topic. Also note that auto-saves
7976 are handled differently.
7977
7978 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
7979 State variables for tracking auto-save inhibition situation.
7980
7981 (allout-write-contents-hook-handler): Rename from
7982 'allout-write-file-hook-handler', and describe how it depends on
7983 write-contents-functions sensitivity to non-nil value to prevent
7984 file write.
7985
7986 (allout-auto-save-hook-handler): Remove. auto-save does not check
7987 this in individual buffers, only in the starting buffer, so this
7988 is not the right way for us to inhibit auto-save in a buffer
7989 according to its condition.
7990
7991 (allout-mode): Use new allout-write-contents-hook-handler, and
7992 only with write-contents-functions. Remove auto-save provisions -
7993 they're implemented elsewhere.
7994
7995 (allout-before-change-handler): If undo is in progress, note that
7996 for attention of allout-post-command-business.
7997
7998 (allout-post-command-business): If the command we're following was
7999 an undo, check for change in the status of encrypted items and
8000 adjust auto-save inhibitions accordingly.
8001
8002 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
8003 according to whether there are or aren't any plain-text topics
8004 pending encryption.
8005
2dcdbdd9 8006 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
8007 Adjust buffer-saved-size and some allout state to inhibit auto-saves
8008 if there are plain-text topics pending encryption.
13aa217b
KM
8009
8010 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
8011 buffer-saved-size and some allout state to not inhibit auto-saves
8012 if there are no longer any plain-text topics pending encryption.
8013
0757af94
SM
8014 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
8015 No longer provide for exemption of the current topic.
13aa217b 8016
ac89b32c
JL
80172011-07-04 Juri Linkov <juri@jurta.org>
8018
8019 Add 7z operations to delete and save changed members (bug#8968).
8020 * arc-mode.el (archive-7z-expunge, archive-7z-update):
8021 New defcustoms.
8022 (archive-7z-write-file-member): New function.
8023 (archive-7z-summarize): Fix the number of dashes in the
8024 listing output.
8025
8fa39615
SM
80262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
8029 (bug#8958).
8030
2f11b3f1
CY
80312011-07-04 Chong Yidong <cyd@stupidchicken.com>
8032
d66fef2b
CY
8033 * bindings.el: Ignore next-buffer and previous-buffer in
8034 minibuffer-local-map.
8035
2f11b3f1
CY
8036 * font-lock.el (font-lock-builtin-face): Change light background
8037 color to dark slate blue (Bug#6693).
8038
f932a347
WD
80392011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
8040
8041 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
8042
c8af70e1
SM
80432011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8044
8045 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
8046 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8047 Add switch-to-buffer.
8048
f158badc
LMI
80492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8050
8051 * isearch.el (isearch-search-fun-function): Clarify further the
8052 meaning of the function returned.
8053
6d95bd46
MA
80542011-07-04 Michael Albinus <michael.albinus@gmx.de>
8055
8056 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
8057
8058 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
8059 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
8060 Use it.
8061 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
8062 `tramp-default-remote-path' does not exist.
8063 (tramp-send-command-and-read): New optional argument NOERROR.
8064 (tramp-open-connection-setup-interactive-shell)
8065 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
8066 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
8067 (tramp-process-sentinel): Flush also process' connection property.
8068 (tramp-sh-handle-start-file-process): Do not set process
8069 sentinel. It is done now ...
8070 (tramp-maybe-open-connection): ... here. (Bug#8929)
8071
909e6b67
MK
80722011-07-04 MON KEY <monkey@sandpframing.com>
8073
8074 * play/animate.el (animate-string): Doc fixes and allow changing
8075 the buffer name (bug#5417).
8076
80772011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8078
c8af70e1 8079 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 8080
f34755dc
PE
80812011-07-04 Paul Eggert <eggert@cs.ucla.edu>
8082
396cec72
PE
8083 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
8084 This is simpler and helps future-proof the code.
8085 (timer-until): Use time-subtract and float-time.
08235028 8086 (timer--time-less-p): Use time-less-p.
f34755dc 8087
56e6cc31
JB
80882011-07-04 Juanma Barranquero <lekktu@gmail.com>
8089
3abb79e5
JB
8090 * type-break.el (timep): Use the value of `float-time' to avoid a
8091 byte-compiler warning.
8092
56e6cc31
JB
8093 * server.el (server-eval-and-print): Return any result, even nil.
8094
7b9430b4
PE
80952011-07-03 Paul Eggert <eggert@cs.ucla.edu>
8096
8097 * type-break.el: Accept time formats that the builtins accept.
8098 (timep, type-break-time-difference): Accept any format that
8099 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
8100 This is simpler and helps future-proof the code.
8101 (type-break-time-difference): Round rather than ignoring
8102 subseconds components.
8103
3034e9e7
LMI
81042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8105
8106 * info.el (Info-apropos-matches): Make non-interactive, since it
8107 doesn't seem to do anything useful as a command (bug#8829).
8108
1485f4c0
CY
81092011-07-03 Chong Yidong <cyd@stupidchicken.com>
8110
8111 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 8112 Move from faces.el.
1485f4c0
CY
8113 (frame-default-terminal-background): New function.
8114
8115 * custom.el (custom-push-theme): Don't record faces in `changed'
8116 theme; this doesn't work correctly for per-frame face settings.
8117 (disable-theme): Use face-set-after-frame-default to reset faces.
8118 (custom--frame-color-default): New function.
8119
9fa3dd45
LMI
81202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8121
c8af70e1 8122 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
8123 (bug#8769).
8124
6cbbc20c
KR
81252011-03-29 Kevin Ryde <user42@zip.com.au>
8126
8127 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8128 `perl-Test2' extend to match possible "fail #N" rep count
8129 (bug#8377).
8130
c7f98048
LMI
81312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8132
65676592
LMI
8133 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
8134 `smtpmail-via-smtp' now returns the error instead of nil.
8135
c7f98048
LMI
8136 * isearch.el (isearch-search-fun-function): Clarify the doc string
8137 (bug#8101).
8138
56e6cc31 81392011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
8140
8141 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
8142 unnecessary spaces (bug#8987).
8143
2b216704
LMI
81442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8145
8146 * net/network-stream.el (open-network-stream): Use the
8147 :end-of-capability command thoughout.
8148
81492011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8150
8151 * net/network-stream.el (open-network-stream): Add the
8152 :end-of-capability command parameter, used by pop3.el.
8153
36adf6ce
LMI
81542011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8155
1ca0da0e
LMI
8156 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
8157
fc00f69c
LMI
8158 * fringe.el (fringe-query-style): Remove redundant text " (type ?
8159 for list)" (bug#6475).
8160
28fd8759 8161 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 8162 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
8163 an error (bug#6297).
8164
0dd8b6da
LMI
8165 * man.el (Man-reference-regexp): Allow matching possible
8166 word-wrapped references (bug#6289).
8167
ce1438d6
LMI
8168 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
8169 for consistency with the other vc buffers (bug#6197).
8170 (vc-checkin): Ditto.
8171
8172 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
8173
36adf6ce
LMI
8174 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
8175
e83cc1f7
LMI
81762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8177
8a20ca4c
LMI
8178 * custom.el (defcustom): Clarify that :set is only used in the
8179 Customize user interface (bug#6089).
8180
83319045
LMI
8181 * progmodes/flymake.el (flymake-mode): If the buffer isn't
8182 associated with a file, refuse to run instead of erroring out
8183 (bug#6084).
8184
a8392169
LMI
8185 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
8186 the doc string, since it appears that using `fill-column' always
8187 controls the width (bug#7845).
8188
e83cc1f7
LMI
8189 * simple.el (shell-command-on-region): Say where the error output
8190 went if `shell-command-default-error-buffer' is set (bug#6857).
8191
e47ca23b
KM
81922011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
8193
8194 * allout.el (allout-yank-processing): Adjust cursor position for
8195 backwards-deleted space.
8196
8197 (allout-rebullet-heading): Register changes with
8198 allout-exposure-changed-hook, so the modified topic is properly
8199 decorated.
8200
5cf56143
LMI
82012011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8202
08549772
LMI
8203 * minibuffer.el (completion-in-region): Document PREDICATE
8204 (bug#7136).
8205
48e96771
LMI
8206 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
8207 of keyword/argument pairs (bug#6904).
8208
c8af70e1
SM
8209 * replace.el (multi-occur):
8210 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 8211
e17d05e2
LMI
82122011-07-02 Drew Adams <drew.adams@oracle.com>
8213
8214 * dired.el (dired-mark-if): Make the message about whether it's
8215 marking or unmarking clearer (bug#8523).
8216
063b0e45
LMI
82172011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8218
8219 * disp-table.el (display-table-print-array): New function.
8220 (describe-display-table): Use it to print the vectors more pretty
8221 (Bug#8859).
8222
28545e04
MR
82232011-07-02 Martin Rudalics <rudalics@gmx.at>
8224
8225 * window.el (window-state-get-1): Don't assign clone numbers.
8226 Add clone-of item to list of window parameters.
8227 (window-state-put-2): Don't process clone numbers.
8228 (display-buffer-alist): Fix doc-string.
8229
3349e122
SM
82302011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * subr.el (remq): Don't allocate if it's not needed.
8233 (keymap--menu-item-binding, keymap--menu-item-with-binding)
8234 (keymap--merge-bindings): New functions.
8235 (keymap-canonicalize): Use them to refine the canonicalization.
8236 * minibuffer.el (minibuffer-local-completion-map)
8237 (minibuffer-local-must-match-map): Move initialization from C.
8238 (minibuffer-local-filename-completion-map): Move initialization from C;
8239 don't inherit from anything here.
8240 (minibuffer-local-filename-must-match-map): Make obsolete.
8241 (completing-read-default): Use make-composed-keymap to combine
8242 minibuffer-local-filename-completion-map with either
8243 minibuffer-local-must-match-map or
8244 minibuffer-local-filename-completion-map.
8245
d224ac83
GM
82462011-07-01 Glenn Morris <rgm@gnu.org>
8247
3de63bf8
GM
8248 * type-break.el (type-break-time-sum): Use dolist.
8249
d224ac83
GM
8250 * textmodes/flyspell.el (flyspell-word-search-backward):
8251 Replace CL function.
8252
1a1e3f32
SM
82532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8254
fe3f64d5
SM
8255 * mouse.el (mouse--strip-first-event): New function.
8256 (function-key-map): Use it to map fringe clicks to normal clicks
8257 by default.
8258
eb604e34
SM
8259 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
8260 (vc-bzr-revision-completion-table): Add support for annotate and date.
8261
1a1e3f32
SM
8262 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
8263 inherit from parent.
8264
5bd35902
LMI
82652011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
8266
ace6c69c 8267 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 8268 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 8269
191e2bed
LMI
8270 * dired.el (dired-mode): Fix up the doc string as suggested by
8271 Drew Adams (bug#8817).
8272
5bd35902
LMI
8273 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
8274 cookie, since the manual says that it should be possible to add
8275 this function to `find-file-hook' (bug#8709).
8276
eee8207a
TZ
82772011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8278
8279 * progmodes/cfengine.el: Moved all cfengine3.el functionality
8280 here. Noted Ted Zlatanov as the maintainer.
8281 (cfengine-common-settings, cfengine-common-syntax): New functions
8282 to set up common things between `cfengine-mode' and
8283 `cfengine3-mode'.
8284 (cfengine3-mode): New mode.
8285 (cfengine3-defuns cfengine3-defuns-regex
8286 (cfengine3-class-selector-regex cfengine3-category-regex)
8287 (cfengine3-vartypes cfengine3-font-lock-keywords)
8288 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 8289 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 8290
36b148cf
MA
82912011-07-01 Michael Albinus <michael.albinus@gmx.de>
8292
8293 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
8294
8295 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
8296
0bf4ba9a
MR
82972011-07-01 Martin Rudalics <rudalics@gmx.at>
8298
8299 * window.el (same-window-buffer-names, same-window-regexps)
8300 (same-window-p, special-display-frame-alist)
8301 (special-display-popup-frame, special-display-function)
8302 (special-display-buffer-names, special-display-regexps)
8303 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
8304 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8305 (split-window-preferred-function, split-height-threshold)
8306 (split-width-threshold, even-window-heights)
8307 (display-buffer-mark-dedicated, window-splittable-p)
8308 (split-window-sensibly, window-safely-shrinkable-p):
8309 Un-obsolete.
8310 (display-buffer): Don't spread args with function specifier
8311 because special-display-popup-frame won't like it.
8312
35837f51
PE
83132011-07-01 Paul Eggert <eggert@cs.ucla.edu>
8314
d0672f86
PE
8315 Time-stamp simplifications and fixes.
8316 These improve accuracy slightly, and future-proof the code
8317 against some potential changes to current-time format.
8318
b9444d97
PE
8319 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
8320 by using time-since and float-time.
8321
0ef923dc
PE
8322 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
8323 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
8324 + NNN microseconds".
8325
2f81380d
PE
8326 * type-break.el (type-break-time-sum): Rewrite using time-add.
8327
845b5c3e
PE
8328 * play/hanoi.el (hanoi-current-time-float): Remove.
8329 All uses replaced by float-time.
8330
ee6f1be0
PE
8331 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
8332 This yields a more-accurate answer.
8333 (rng-time-to-float): Remove; no longer needed.
8334
fe955043
PE
8335 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
8336
5777162a
PE
8337 * calendar/timeclock.el (timeclock-seconds-to-time):
8338 Defalias to seconds-to-time, since they're the same thing.
8339
3103f8b6 8340 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 8341 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
8342 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
8343
0e61a35f
SM
83442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * window.el (bury-buffer): Don't iconify the only frame.
8347 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
8348 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
8349
ddd63a1e
CY
83502011-07-01 Chong Yidong <cyd@stupidchicken.com>
8351
0e61a35f
SM
8352 * eshell/em-smart.el (eshell-smart-display-navigate-list):
8353 Add mouse-yank-primary.
ddd63a1e 8354
055f4923
TZ
83552011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
8356
8357 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
8358
6a2fb145
SM
83592011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * emacs-lisp/find-func.el (find-library--load-name): New fun.
8362 (find-library-name): Use it to find relative load names when provided
8363 absolute file name (bug#8803).
8364
fd4983f2
LMI
83652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8366
887d14ad
LMI
8367 * textmodes/flyspell.el (flyspell-word): Consider words that
8368 differ only in case as potential doublons (bug#5687).
8369
c53dc7fc
LMI
8370 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
8371 Remove two rather uninteresting debugging-like messages to make
8372 debbugs.el more silent.
8373
fd4983f2
LMI
8374 * comint.el (comint-password-prompt-regexp): Accept "Response" as
8375 a password-like phrase.
8376
7a71b18d 83772011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
8378
8379 * progmodes/cc-guess.el: New file.
8380
6a2fb145 8381 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
8382
8383 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
8384 derived from `c-basic-common-init'.
8385
8386 * progmodes/cc-mode.el (top-level): Require cc-guess.
8387 (c-basic-common-init): Use `cc-choose-style-for-mode'.
8388
1fa280a3
LM
83892011-06-30 Lawrence Mitchell <wence@gmx.li>
8390
8391 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
8392
e6597158
AM
83932011-06-30 Alan Mackenzie <acm@muc.de>
8394
1fa280a3
LM
8395 * progmodes/cc-engine.el (c-guess-continued-construct):
8396 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
8397 lock is disabled. Name this case as "CASE G".
8398
68ba37fb
KM
83992011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
8400
8401 * allout.el (allout-yank-processing): Fix injection of extra space
8402 between bullet and non-whitespace character in first topic when
8403 pasting, ensuring that the actual spacing in the pasted topic
8404 following the bullet char is preserved. This extra space was
8405 causing pasted encrypted topics to get a decrypted status even
8406 when the content was actually still encrypted. Now the decryption
8407 status from before the paste is preserved.
8408
8409 (allout-flag-region): Set all allout overlays so they evaporate
8410 when reduced to zero length (evanescent), to prevent overlay
8411 leakage.
8412
887a0b34
GM
84132011-06-30 Glenn Morris <rgm@gnu.org>
8414
94b9acce
GM
8415 * w32-fns.el (w32-charset-info-alist): Declare.
8416
1d9b46d4
GM
8417 * find-dired.el (find-grep-options): Simplify.
8418
cc232200
GM
8419 * term/ns-win.el (ns-set-resource): Declare.
8420
28e77c46
GM
8421 * ses.el (row, col): Declare dynamic variables honestly.
8422
887a0b34
GM
8423 * textmodes/reftex-parse.el (index-tags): Declare.
8424
658d8eb8
CY
84252011-06-30 Chong Yidong <cyd@stupidchicken.com>
8426
8427 * cus-edit.el (customize-push-and-save): New function.
8428
8429 * files.el (hack-local-variables-confirm): Use it.
8430
1fa280a3
LM
8431 * custom.el (load-theme): New arg NO-CONFIRM.
8432 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
8433 (custom-enabled-themes): Doc fix.
8434
8435 * cus-theme.el (customize-create-theme)
8436 (custom-theme-merge-theme): Callers to load-theme changed.
8437
bb617717
LMI
84382011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8439
d61bdd5d
LMI
8440 * thingatpt.el (thing-at-point-short-url-regexp): Require that
8441 short URLs have at least one dot in them (bug #7614).
8442
bb617717
LMI
8443 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
8444 nil, because using a pty is apparently too slow (bug #895).
8445
2f31f37a
LMI
84462011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
8447
8448 * mail/sendmail.el (sendmail-query-once): New function.
8449 (sendmail-query-once-function): New variable.
8450
3076b24e
GM
84512011-06-29 Glenn Morris <rgm@gnu.org>
8452
faf2a174
GM
8453 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
8454
3076b24e
GM
8455 * ses.el (top-level): Require cl when compiling.
8456 (ses-set-localvars): Fix error statement.
8457 Call it at compile time to silence a storm of warnings.
8458
5386012d
MR
84592011-06-29 Martin Rudalics <rudalics@gmx.at>
8460
8461 * window.el (normalize-live-buffer): Rename to
8462 window-normalize-buffer.
8463 (normalize-live-frame): Rename to window-normalize-frame.
8464 (normalize-any-window): Rename to window-normalize-any-window.
8465 (normalize-live-window): Rename to window-normalize-live-window.
8466 (make-window-atom): Rename to window-make-atom.
8467 (window-resize-reset): Rename to window--resize-reset.
8468 (window-resize-reset-1): Rename to window--resize-reset-1.
8469 (resize-mini-window): Rename to window--resize-mini-window.
8470 (resize-subwindows-skip-p): Rename to
8471 window--resize-subwindows-skip-p.
8472 (resize-subwindows-normal): Rename to
8473 window--resize-subwindows-normal.
8474 (resize-subwindows): Rename to window--resize-subwindows.
8475 (resize-other-windows): Rename to window--resize-siblings.
8476 (resize-this-window): Rename to window--resize-this-window.
8477 (resize-root-window): Rename to window--resize-root-window.
8478 (resize-root-window-vertically): Rename to
8479 window--resize-root-window-vertically.
8480 (normalize-buffer-to-display): Rename to
8481 window-normalize-buffer-to-display.
8482 (normalize-buffer-to-switch-to): Rename to
8483 window-normalize-buffer-to-switch-to.
8484 Correspondingly update all callers of the functions listed
8485 above.
8486 (display-buffer-alist, display-buffer-normalize-arguments)
8487 (display-buffer-normalize-options, display-buffer)
8488 (display-buffer-alist-set): Use "function" instead of
8489 "fun-with-args".
8490
1176868d
CY
84912011-06-28 Chong Yidong <cyd@stupidchicken.com>
8492
8493 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
8494 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
8495 debbugs.gnu.org. Mention acknowledgment email.
8496
20a7a65f
LMI
84972011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
8498
8499 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
8500 buffer multibyteness, since it shouldn't matter.
8501
5f45cca5
MR
85022011-06-28 Martin Rudalics <rudalics@gmx.at>
8503
8504 * window.el (display-buffer-in-side-window): Handle dedicated
8505 windows as in display-buffer-reuse-window.
8506 (display-buffer-normalize-alist): Use value of override
8507 specifier.
8508 (display-buffer-normalize-specifiers): Use value of
8509 other-window-means-other-frame specifier.
8510 (display-buffer-alist): Rewrite some texts in widgets.
8511 (display-buffer): Spread arguments when calling function
8512 specified by fun-with-args.
8513
ad85fe1f
DD
85142011-06-28 Deniz Dogan <deniz@dogan.se>
8515
1fa280a3
LM
8516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
8517 Unnest `let'.
da68c4c8 8518
ad85fe1f
DD
8519 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
8520 selectors (Bug#5732).
ec49bd31 8521 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 8522
a08cc025
JA
85232011-06-27 Jari Aalto <jari.aalto@cante.net>
8524
8525 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
8526 (eshell-ls-date-format): New defcustom.
8527 (eshell-ls-file): Use it.
8528
e2b551c5
SM
85292011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * help-fns.el (describe-variable): Fix message for terminal-local vars.
8532
8982b231
KY
85332011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
8534
8535 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
8536 (ange-ftp-make-tmp-name): New arg.
8537 (ange-ftp-file-local-copy): Use it.
8538
36c9fa27
J
85392011-06-27 Jambunathan K <kjambunathan@gmail.com>
8540
8541 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
8542 no-conversion (Bug#8870).
8543
d68443dc
MR
85442011-06-27 Martin Rudalics <rudalics@gmx.at>
8545
8546 * window.el (window-right, window-left, window-child)
8547 (window-child-count, window-last-child)
8548 (window-iso-combination-p, walk-window-tree-1)
8549 (window-atom-check-1, window-tree-1, delete-window)
8550 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
8551 new naming conventions - window-vchild, window-hchild,
8552 window-next and window-prev are now called window-top-child,
8553 window-left-child, window-next-sibling and window-prev-sibling
8554 respectively.
d615d6d2
MR
8555 (resize-window-reset): Rename to window-resize-reset.
8556 (resize-window-reset-1): Rename to window-resize-reset-1.
8557 (resize-window): Rename to window-resize.
8558 (window-min-height, window-min-width)
8559 (resize-mini-window, resize-this-window, resize-root-window)
8560 (resize-root-window-vertically, adjust-window-trailing-edge)
8561 (enlarge-window, shrink-window, maximize-window)
8562 (minimize-window, delete-window, quit-restore-window)
8563 (split-window, balance-windows, balance-windows-area-adjust)
8564 (balance-windows-area, window-state-put-2)
8565 (display-buffer-even-window-sizes, display-buffer-set-height)
8566 (display-buffer-set-width, set-window-text-height)
8567 (fit-window-to-buffer): Rename all "resize-window" prefixed
8568 calls to use the "window-resize" prefix convention.
8569 (display-buffer-alist): Fix symbol for label specifier.
8570 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
8571 corresponding specifier.
8572 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 8573
b6458526
VB
85742011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8575
8576 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
8577 convention.
8578 (ses-call-printer): Does not pass an empty string to formatter when the
8579 cell is empty to keep from barking printer Calc math-format-value.
8580
d31fd9ac
RS
85812011-06-27 Richard Stallman <rms@gnu.org>
8582
43d5bf84
RS
8583 * battery.el (battery-mode-line-limit): New variable.
8584 (battery-update): Handle it.
8585
d31fd9ac
RS
8586 * mail/rmailmm.el (rmail-mime-process-multipart):
8587 Handle truncated messages.
8588
819a6054
GM
85892011-06-27 Glenn Morris <rgm@gnu.org>
8590
8591 * progmodes/flymake.el (flymake-err-line-patterns):
8592 Allow for column numbers in the ant/javac pattern. (Bug#8866)
8593
cedc73f2
VB
85942011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
8595
819a6054 8596 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
8597 (ses--clean-!, ses--clean-_): New functions.
8598 (ses-range): Add configurability of readout order, and conversion
8599 to Calc vector.
8600
5e5d49b6
VB
8601 * ses.el (ses-repair-cell-reference-all): New function.
8602 (ses-cell-symbol): Set macro as safe, so that it can be used in
8603 formulas.
8604
56e6cc31 8605 * ses.el: Update cycle detection algorithm.
90ca8b49 8606 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 8607 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
8608 (ses-set-localvars): New function.
8609 (ses-make-cell): Add property-list as a cell element.
8610 (ses-cell-property-get-fun, ses-cell-property-get)
8611 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
8612 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
8613 New functions.
90ca8b49
VB
8614 (ses-cell-property-set, ses-cell-property-pop)
8615 (ses-cell-property-get-handle): New macro.
8616 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
8617 New aliases, used for code readability.
8618 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
8619 cycle detection.
8620 (ses-self-reference-early-detection): New defcustom.
fac916bf 8621 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
8622 (ses-mode): Use ses-set-localvars.
8623 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
8624 before lauching the update processing.
8625 (ses-initialize-Dijkstra-attempt): New function.
8626 (ses-recalculate-cell): Update for cycle detection based on
8627 Dijkstra algorithm.
8628
2bb63e81
VB
8629 * ses.el: Fix commenting and indenting convention.
8630
c9d29fb8
SM
86312011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * bs.el (bs-cycle-next): Complete last change.
8634
d8e4b68b
JB
86352011-06-27 Drew Adams <drew.adams@oracle.com>
8636
8637 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
8638
40098786
LMI
86392011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8640
c9d29fb8
SM
8641 * net/network-stream.el (network-stream-open-starttls):
8642 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
8643 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
8644
40098786
LMI
8645 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
8646 to binary to possibly avoid line encoding issues on Windows (among
8647 other things).
8648
468d09d4
LMI
86492011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8650
8651 * net/network-stream.el (open-network-stream): Return an :error
8652 saying what the problem was, if possible.
8653
8654 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
8655 server.
8656
8657 * net/network-stream.el (network-stream-open-starttls): If we
8658 wanted to use STARTTLS, and the server offered it, but we weren't
8659 able to because we had no STARTTLS support, then close the connection.
8660 (open-network-stream): Return an :error element, if present.
8661
16f07dd7
CY
86622011-06-26 Chong Yidong <cyd@stupidchicken.com>
8663
88821ca0
CY
8664 * hl-line.el (hl-line-sticky-flag): Doc fix.
8665 (global-hl-line-sticky-flag): New option (Bug#8323).
8666 (global-hl-line-highlight): Obey it.
8667
16f07dd7
CY
8668 * vc/vc.el (vc-revert-show-diff): Default to t.
8669
6b5ccddf
KM
86702011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
8671
c9d29fb8
SM
8672 * allout-widgets.el (allout-widgets-post-command-business):
8673 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
8674 undecorated when an isearch is continued past, and isearch
8675 automatically collapses them. This leads to "widget leaks", where
8676 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
8677 hidden widgets can slow down cursor travel, substantially.
8678 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
8679 so we're doing without this nicety.
8680
8681 (allout-widgets-tally-string): Don't try to do a hash-table-count
8682 of allout-widgets-tally when it's nil. This eliminates spurious "Error
8683 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
8684 *Messages* when allout-widgets-maintain-tally is t.
8685
355f2e07
MR
86862011-06-26 Martin Rudalics <rudalics@gmx.at>
8687
8688 * window.el (display-buffer-normalize-argument): Rename to
8689 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
8690 LABEL argument. Respect special-display-function when popping up
8691 a new frame. Fix code searching for a window showing the buffer
8692 on another frame.
c9d29fb8
SM
8693 (display-buffer-normalize-specifiers):
8694 Call display-buffer-normalize-arguments.
355f2e07
MR
8695 (display-buffer-in-window): Don't undedicate the window if its
8696 buffer remains the same.
8697 Reported by Drew Adams <drew.adams@oracle.com>.
8698 (display-buffer-alist): Add choice for same-window macro
8699 specfier.
8700 (display-buffer): Mention special meaning of LABEL argument in
8701 doc-string. Fix quoting. Don't pop up a new frame even as
8702 fallback.
8703
7ca8fc42
JB
87042011-06-26 Juanma Barranquero <lekktu@gmail.com>
8705
8706 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
8707 avoid deleting the current window in some cases (bug#8911).
8708
bc312254
AS
87092011-06-26 Andreas Schwab <schwab@linux-m68k.org>
8710
8711 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
8712 (Bug#8934)
8713
2db18f3f
LMI
87142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8715
c9d29fb8
SM
8716 * net/network-stream.el (network-stream-open-starttls):
8717 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
8718 (network-stream-open-tls): Ditto.
8719
6302e0d3
LL
87202011-06-26 Leo Liu <sdl.web@gmail.com>
8721
8722 * register.el (registerv): New struct.
8723 (registerv-make): New function.
c9d29fb8
SM
8724 (jump-to-register, describe-register-1, insert-register):
8725 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
8726 struct. (Bug#8415)
8727
5fdd4046
CY
87282011-06-26 Chong Yidong <cyd@stupidchicken.com>
8729
2afef60a
CY
8730 * vc/vc.el (vc-revert-show-diff): New defcustom.
8731 (vc-diff-internal): New arg specifying diff buffer.
8732 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
8733 reuse an existing *vc-diff* buffer (Bug#8927).
8734
5fdd4046
CY
8735 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
8736
e93db24a
GM
87372011-06-26 Glenn Morris <rgm@gnu.org>
8738
8739 * progmodes/f90.el (f90-critical-indent): New option.
8740 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
8741 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
8742 (f90-mode): Doc fix.
8743 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
8744 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
8745 (f90-beginning-of-block, f90-next-block, f90-indent-region)
8746 (f90-match-end): Handle block, critical.
8747
eefff499
GM
87482011-06-25 Glenn Morris <rgm@gnu.org>
8749
f6ba4cc9
GM
8750 * calendar/diary-lib.el (diary-included-files): Doc fix.
8751 (diary-include-files): New function, extracted from
8752 diary-include-other-diary-files and diary-mark-included-diary-files.
8753 (diary-include-other-diary-files, diary-mark-included-diary-files):
8754 Just call diary-include-files.
8755 (diary-mark-entries): Reset diary-included-files on first call.
8756
16712304
GM
8757 * calendar/diary-lib.el (diary-mark-entries)
8758 (diary-mark-included-diary-files):
8759 Visit included diary-files in temp buffers.
8760
5d8e0d43
GM
8761 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
8762 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
8763 (f90-start-block-re, f90-imenu-generic-expression)
8764 (f90-looking-at-program-block-start, f90-no-block-limit):
8765 Add support for submodules.
8766
ccf7a5d5
GM
8767 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8768 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 8769
11fdef7d 87702011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
8771
8772 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
8773 buffer-file-type before setting its value, to avoid disastrous
eefff499 8774 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 8775
74f53697
JB
87762011-06-25 Juanma Barranquero <lekktu@gmail.com>
8777
8778 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
8779
8780 * ses.el (ses-unload-function):
8781 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
8782
8783 * proced.el (proced-unload-function):
8784 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
8785
18a4ce5e
AR
87862011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
8787
8788 * server.el (server-create-window-system-frame): Add parameters arg.
8789 (server-process-filter): Doc fix. Handle frame-parameters.
8790
519d22cc
JB
87912011-06-25 Juanma Barranquero <lekktu@gmail.com>
8792
8793 Fix bug#8730, bug#8781.
8794
8795 * loadhist.el (unload--set-major-mode): New function.
8796 (unload-feature): Use it.
8797
8798 * progmodes/python.el (python-after-info-look): Add autoload cookie.
8799 (python-unload-function): New function.
8800
c206f5b0
SM
88012011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
8804
f9ad64f3
GS
88052011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
8806
8807 * net/browse-url.el (browse-url-firefox-program): Add icecat to
8808 the candidates list.
8809
7d0da90e
JB
88102011-06-24 Juanma Barranquero <lekktu@gmail.com>
8811
8812 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
8813
14b4e83d
RS
88142011-06-23 Richard Stallman <rms@gnu.org>
8815
8816 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
8817 (rmail-variables): Set next-error-move-function.
8818 (rmail-what-message): Take argument POS.
8819 (rmail-next-error-move): New function.
8820
273d2baf
SM
88212011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
8824 messages for adjacent non-terminals.
8825
56c2cc9a
RS
88262011-06-23 Richard Stallman <rms@gnu.org>
8827
8828 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 8829 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
8830 (rmail-start-mail): Don't specify use of rmail-mail-return;
8831 that's done by mail-bury now.
8832 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 8833
d59eb518
MA
88342011-06-23 Michael Albinus <michael.albinus@gmx.de>
8835
8836 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
8837 SIZE is a number.
8838
02cfc6d6
MR
88392011-06-23 Martin Rudalics <rudalics@gmx.at>
8840
8841 * window.el (get-lru-window, get-mru-window)
8842 (get-largest-window): Never return a minibuffer window.
8843 (display-buffer-pop-up-window): Fix a bug that could lead to
8844 reusing the minibuffer window.
8845 (display-buffer): Pass original specifier argument to
8846 display-buffer-function instead of the normalized one.
8847 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8848
4e323265
LL
88492011-06-22 Leo Liu <sdl.web@gmail.com>
8850
8851 * minibuffer.el (completing-read-function)
8852 (completing-read-default): Move from minibuf.c
8853
7a70468f
RS
88542011-06-22 Richard Stallman <rms@gnu.org>
8855
50718fc2
RS
8856 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
8857 to Rmail even if not started by a special Rmail command.
8858
7a70468f
RS
8859 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
8860 Copy the buffer currently showing just one message.
8861
297dde5a
RW
88622011-06-22 Roland Winkler <winkler@gnu.org>
8863
8864 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
8865 (bibtex-clean-entry): First delete the old key so that a
8866 customized algorithm for generating the new key does not get
8867 confused by the old key.
8868 (bibtex-url): Obey regexp of first step.
8869 (bibtex-search-entries): Do not use add-to-list with local
8870 list-var.
8871
97bb1093
LMI
88722011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8873
8874 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
8875 stored a user name, then query for the password first, instead of
8876 waiting for SMTP to give an error message and the trying again.
8877
1c0f1a19
JD
88782011-06-22 Lawrence Mitchell <wence@gmx.li>
8879
8880 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
8881 BUFFER in call-process.
8882
396f7c9d
LMI
88832011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8884
8885 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
8886 QUIT twice.
ddb7ffee
LMI
8887 (smtpmail-try-auth-methods): Require user name and password from
8888 auth-source.
396f7c9d 8889
8998d1b3
MR
88902011-06-22 Martin Rudalics <rudalics@gmx.at>
8891
8892 * window.el (display-buffer-default-specifiers)
8893 (display-buffer-alist): Remove entries for pop-up-frame-alist.
8894 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 8895 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
8896
8897 * frame.el (pop-up-frame-alist, pop-up-frame-function)
8898 (special-display-frame-alist, special-display-popup-frame):
8899 Remove duplicate declarations. These are now in window.el.
8900
4ea31e07
LMI
89012011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8902
c9d29fb8
SM
8903 * mail/smtpmail.el (smtpmail-via-smtp):
8904 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
8905 server supports it. SMTP servers that support STARTTLS commonly
8906 require it.
8907
8908 * net/network-stream.el (network-stream-open-starttls): Support
8909 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 8910 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 8911
95f41d9a
LMI
8912 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
8913 upgrades with `open-network-stream', and rely solely on
8914 auth-source for all credentials. Big changes throughout the file,
8915 but in particular:
c9d29fb8
SM
8916 (smtpmail-auth-credentials): Remove.
8917 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
8918 (smtpmail-via-smtp): Check for servers saying they want AUTH after
8919 MAIL FROM, too.
95f41d9a 8920
c9d29fb8
SM
8921 * net/network-stream.el (network-stream-open-starttls):
8922 Provide support for client certificates both for external and built-in
4ea31e07
LMI
8923 STARTTLS.
8924 (auth-source): Require.
8925 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
8926 (network-stream-certificate): Change cert-cert to cert and
8927 cert-key to key.
4ea31e07 8928
065ec2c7
MA
89292011-06-21 Michael Albinus <michael.albinus@gmx.de>
8930
8931 * net/tramp-cache.el (top): Don't load the persistency file when
8932 "emacs -Q" has been called.
8933
cd93b359
DR
89342011-06-21 Tim Harper <timcharper@gmail.com>
8935
d8e4b68b
JB
8936 * term/ns-win.el (ns-initialize-window-system):
8937 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
8938 resource to NO as it is not yet supported by the NS port.
8939
ae9c0411
JB
89402011-06-21 Juanma Barranquero <lekktu@gmail.com>
8941
8942 * misc.el (list-dynamic-libraries--refresh): Compute header here...
8943 (list-dynamic-libraries): ...not here.
8944
7f3f739f
LL
89452011-06-21 Leo Liu <sdl.web@gmail.com>
8946
8947 * subr.el (sha1): Implement sha1 using secure-hash.
8948
327c8fb1
MR
89492011-06-21 Martin Rudalics <rudalics@gmx.at>
8950
8951 * window.el (display-buffer-alist): In default value do not
8952 enforce searching a window on any but the selected frame.
8953 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
8954 (display-buffer-select-window): Remove function.
8955 (display-buffer-in-window): When a window on another frame gets
8956 reused, do not select it any more but just raise its frame if
8957 necessary (Bug#8851) and (Bug#8856).
8958 (display-buffer-normalize-options): Handle pop-up-frames related
8959 options more faithfully.
8960 (pop-to-buffer): Don't rely on `display-buffer' selecting the
8961 window if it is on another frame.
c9d29fb8
SM
8962 (display-buffer-alist, display-buffer-default-specifiers):
8963 Don't make new frame unsplittable by default.
9e9de014
MR
8964 (display-buffer-normalize-argument): Fix doc-string typo and use
8965 'same-frame-other-window instead of 'other-window when associating
8966 with display-buffer-macro-specifiers.
327c8fb1 8967
7cf3f556
VB
89682011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
8969
8970 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
8971 New functions.
8972 (5x5-mode-map, 5x5-mode-menu): Bind them.
8973 (5x5-draw-grid): Tweak the solver's rendering.
8974
60a406cf
SM
89752011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
8978 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
8979
d8e4b68b 89802011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
8981
8982 * menu-bar.el: Use function variable instead of switch-to-buffer.
8983 (menu-bar-select-buffer-function): New variable.
60a406cf 8984 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 8985
478d6f95
SM
89862011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
8989 variable's status.
8990
ca530739
JD
89912011-06-20 Jan Djärv <jan.h.d@swipnet.se>
8992
8993 * x-dnd.el (x-dnd-version-from-flags)
8994 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
8995 and long as number (Bug#8899).
8996 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
8997
bcd70d97
SM
89982011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8999
60a406cf 9000 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
9001 (completion-try-completion, completion-all-completions): Compute the
9002 metadata argument if it's missing; make it optional (bug#8795).
9003
60a406cf 9004 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
9005 (widget-complete): Use new :completion-function property.
9006 (widget-completions-at-point): New function.
9007 (default): Use :completion-function instead of :complete.
60a406cf
SM
9008 (widget-default-completions): Rename from widget-default-complete;
9009 Rewrite.
bcd70d97
SM
9010 (widget-string-complete, widget-file-complete, widget-color-complete):
9011 Remove functions.
9012 (file, symbol, function, variable, coding-system, color):
9013 * international/mule-cmds.el (default-input-method, charset)
9014 (language-info-custom-alist):
9015 * cus-edit.el (face): Use new property :completions.
9016
9017 * progmodes/pascal.el (pascal-completions-at-point): New function.
9018 (pascal-mode): Use it.
9019 (pascal-mode-map): Use completion-at-point.
9020 (pascal-toggle-completions): Make obsolete.
9021 (pascal-complete-word, pascal-show-completions):
9022 * progmodes/octave-mod.el (octave-complete-symbol):
9023 Redefine as obsolete alias.
9024 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
9025 Signal absence of completion info for old Octave,
9026 (inferior-octave-complete): Redefine as obsolete alias.
9027 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
9028 (meta-completions-at-point): Rename from meta-complete-symbol and
9029 adapt it for use on completion-at-point-functions.
9030 (meta-common-mode): Use it.
9031 (meta-looking-at-backward, meta-match-buffer): Remove.
9032 (meta-complete-symbol): Redefine as obsolete alias.
9033 (meta-common-mode-map): Use completion-at-point.
9034 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
9035 (makefile-mode-map): Use completion-at-point.
9036 (makefile-completions-at-point): Rename from makefile-complete and
9037 adapt it for use on completion-at-point-functions.
9038 (makefile-mode): Use it.
9039 (makefile-complete): Redefine as obsolete alias.
9040
aebf69c8
DD
90412011-06-20 Deniz Dogan <deniz@dogan.se>
9042
9043 * net/rcirc.el: Delete trailing whitespaces once and for all.
9044
bfbbb27d
DC
90452011-06-20 Daniel Colascione <dan.colascione@gmail.com>
9046
9047 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
9048
d264a46b
CY
90492011-06-19 Chong Yidong <cyd@stupidchicken.com>
9050
4ca009e5
CY
9051 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
9052
d264a46b
CY
9053 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
9054
fbf5b3ce
MR
90552011-06-19 Martin Rudalics <rudalics@gmx.at>
9056
9057 * window.el (display-buffer-other-window-means-other-frame):
9058 Call display-buffer-normalize-alist.
9059 (display-buffer-normalize-specifiers-1): Rename to
9060 display-buffer-normalize-argument. New argument other-frame.
9061 Rewrite.
9062 (display-buffer-normalize-specifiers-2): Rename to
9063 display-buffer-normalize-options.
9064 (display-buffer-normalize-alist-1): New function.
9065 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
9066 display-buffer-normalize-alist.
9067 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
9068 (display-buffer-normalize-options-inhibit): New variable.
9069 (display-buffer-normalize-specifiers): Rewrite calling
9070 display-buffer-normalize-alist,
9071 display-buffer-normalize-argument, and
9072 display-buffer-normalize-options. Don't call the latter if
9073 display-buffer-normalize-options-inhibit is non-nil.
9074 (frame-auto-delete): New option.
9075 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
9076 (window-list-no-nils, window-state-ignored-parameters)
9077 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
9078 (window-state-put-1, window-state-put-2, window-state-put):
9079 New functions.
9a028c23
MR
9080 (display-buffer-normalize-options): Move special-display-p group
9081 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 9082
6d10d800
CY
90832011-06-18 Chong Yidong <cyd@stupidchicken.com>
9084
6420d28b
CY
9085 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
9086 groups (Bug#8776).
9087 (rx-submatch-n): New function.
9088 (rx): Document it.
9089
ddb8b596
CY
9090 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
9091 (Bug#8768).
9092
9093 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
9094
77080289
CY
9095 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
9096
61dfb316
CY
9097 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
9098 anytime existing face settings are present (Bug#8889).
9099
6d10d800
CY
9100 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
9101 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
9102 Remove unused argument.
9103
be3fb2b8
MR
91042011-06-18 Martin Rudalics <rudalics@gmx.at>
9105
bcd70d97
SM
9106 * window.el (display-buffer-default-specifiers):
9107 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
9108 pop-up-window-min-width, and another reuse-window specifier
9109 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
9110 (display-buffer-normalize-specifiers-2):
9111 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
9112 pop-up-windows is unset. Add a reuse-window specifier for the
9113 case popping up a new window fails.
9114 (special-display-popup-frame): Remove double quoting.
28dec25a 9115 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 9116
1c6d8c76
SM
91172011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9118
9119 * shell.el (shell-completion-vars): Set pcomplete-termination-string
9120 according to comint-completion-addsuffix.
9121
9122 * pcomplete.el: Convert to lexical binding and fix bug#8819.
9123 (pcomplete-suffix-list): Mark as obsolete.
9124 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
9125 pcomplete-seen in the closure.
9126 (pcomplete-comint-setup): Setup completion-at-point as well.
9127 (pcomplete--entries): New function.
9128 (pcomplete--env-regexp): New var.
9129 (pcomplete-entries): Rewrite to work with partial-completion and
9130 without relying on pcomplete-suffix-list.
9131 (pcomplete-pare-list): Remove, unused.
9132
25aef8b8
MR
91332011-06-17 Martin Rudalics <rudalics@gmx.at>
9134
9135 * window.el (display-buffer-alist): Set pop-up-window-min-height
9136 and pop-up-window-min-width in default value. Reported by
9137 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
9138 other-window-means-other-frame.
9139 (display-buffer-macro-specifiers): Comment out entry for
9140 other-window specifier.
9141 (display-buffer-other-window-means-other-frame): New function.
9142 (display-buffer-normalize-specifiers-1): New arguments
9143 buffer-name and label. Treat other-window case specially.
9144 (display-buffer-normalize-specifiers-2): Treat other-window case
9145 specially.
9146 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
9147 (display-buffer-normalize-specifiers):
9148 Call display-buffer-normalize-specifiers-3.
25aef8b8 9149
dbad4f69
MR
91502011-06-17 Martin Rudalics <rudalics@gmx.at>
9151
9152 * window.el (same-window-p): Fix two typos introduced when
9153 adding with-no-warnings.
d1067961
MR
9154 (display-buffer-normalize-specifiers-1): Don't check
9155 pop-up-frames for 'unset initialization.
9156 (display-buffer-normalize-specifiers-2): Major rewrite using
9157 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
9158 (pop-up-frames, display-buffer-reuse-frames)
9159 (display-buffer-mark-dedicated): Don't initialize to 'unset.
9160 Suggested by David Engster <deng@randomsample.de>.
9161 (even-window-heights): Initialize to 'unset.
9162 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
9163 (display-buffer-macro-specifiers): Don't pop up a new frame in the
9164 other window case.
dbad4f69 9165
9b9c9e3a
MR
91662011-06-16 Martin Rudalics <rudalics@gmx.at>
9167
bcd70d97
SM
9168 * window.el (display-buffer-normalize-specifiers-1):
9169 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 9170 second argument of display-buffer (Bug#8865).
981d5c09
MR
9171 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
9172 (switch-to-buffer-other-window-same-frame)
9173 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
9174 Adams (Bug#8875).
9c2755e9
MR
9175 (display-buffer): Don't check noninteractive when calling
9176 display-buffer-pop-up-frame.
9177 (display-buffer-pop-up-frame): Never pop up a frame in
9178 noninteractive mode (Bug#8857).
67222e1d
MR
9179 (enlarge-window, shrink-window): Don't report an error when the
9180 window can't be resized as requested (Bug#8862).
9b9c9e3a 9181
2b75be67
SM
91822011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9ffdd3ba
SM
9184 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
9185
cb581a67
SM
9186 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
9187
2b75be67
SM
9188 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
9189
8c0e3589
AM
91902011-06-15 Alan Mackenzie <acm@muc.de>
9191
cb581a67
SM
9192 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
9193 for declarators, disable knr checking to speed up for normal files.
9194 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 9195
b96e6cde
LMI
91962011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9197
4bba86e6
LMI
9198 * net/network-stream.el (open-network-stream): Add the keyword
9199 :always-query-capabilities for the case where you want to force a
9200 `plain' network connection, but the protocol still requires the
9201 capabilitiy command (i.e., SMTP and EHLO).
9202
2b75be67 9203 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
9204 consistency with other `-live-p' functions.
9205
efdcdbf8
SM
92062011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * window.el (same-window-buffer-names, same-window-regexps)
9209 (special-display-frame-alist, special-display-popup-frame)
9210 (special-display-function, special-display-buffer-names)
9211 (special-display-regexps, pop-up-frame-alist)
9212 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
9213 (pop-up-windows, split-window-preferred-function)
9214 (split-height-threshold, split-width-threshold, even-window-heights)
9215 (display-buffer-mark-dedicated): Don't encourage the use of
9216 display-buffer-alist from Elisp code.
9217
c5cde042
DN
92182011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
9219
9220 * progmodes/python.el (python-mode): Derive from prog-mode.
9221 * progmodes/ps-mode.el (ps-mode):
9222 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 9223 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
9224 * progmodes/ld-script.el (ld-script-mode): Likewise.
9225
baa1c9ab
MR
92262011-06-15 Martin Rudalics <rudalics@gmx.at>
9227
9228 * window.el (display-buffer-alist): Trim default value to avoid
9229 popping up a new frame (Bug#8857) or reusing an arbitrary window
9230 on another frame.
9231 (display-buffer): Do not fall back on popping up a new frame in
9232 batch mode (Bug#8857).
9233
c5dd5a51
CY
92342011-06-14 Chong Yidong <cyd@stupidchicken.com>
9235
9236 * cus-theme.el (describe-theme-1): Use custom-theme-p.
9237 (custom-theme-summary): New function.
9238 (customize-themes): Use it.
9239
d647b7c4
GM
92402011-06-13 Glenn Morris <rgm@gnu.org>
9241
9242 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
9243
9481c002
MR
92442011-06-13 Martin Rudalics <rudalics@gmx.at>
9245
357f93d2
MR
9246 * help.el (help-window): Remove variable.
9247 (help-window-point-marker, temp-buffer-max-height)
9248 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
9249 (help-print-return-message): Don't set help-window.
9250 (resize-temp-buffer-window): Rewrite cod eand doc-string.
9251 (help-window-setup-finish): Remove.
9252 (help-window-display-message, help-window-setup)
9253 (with-help-window): Major rewrite based on new
9254 display-buffer-window variable.
9255
9256 * help-mode.el (help-mode-finish): Remove help-window related
9257 code.
9258
9259 * view.el (view-exits-all-viewing-windows): Remove reference to
9260 view-return-to-alist in doc-string.
9261 (view-return-to-alist): Make obsolete.
9262 (view-buffer): Call pop-to-buffer-same-window and remove
9263 undo-window code.
9264 (view-buffer-other-window): Call pop-to-buffer-other-window and
9265 simplify code. Ignore second argument.
9266 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
9267 simplify code. Ignore second argument.
9268 (view-return-to-alist-update): Make obsolete.
9269 (view-mode-enter): Rename second argument to QUIT-RESTORE.
9270 Rewrite using quit-restore window parameters.
2b75be67
SM
9271 (view-mode-exit): Rename second argument to EXIT-ONLY.
9272 Rewrite using quit-restore-window.
357f93d2
MR
9273 (View-exit, View-exit-and-edit, View-leave, View-quit)
9274 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
9275 appropriate arguments.
9276 (view-end-message): Use quit-restore window parameter.
9277
9481c002
MR
9278 * window.el (display-buffer-function): Rewrite doc-string.
9279 (display-buffer-window, display-buffer-alist): New variables.
9280 (display-buffer-split-specifiers)
9281 (display-buffer-side-specifiers)
9282 (display-buffer-macro-specifiers): New constants.
9283 (display-buffer-even-window-sizes, display-buffer-set-height)
9284 (display-buffer-set-width, display-buffer-select-window)
9285 (display-buffer-in-window, display-buffer-reuse-window)
9286 (display-buffer-split-window-1, display-buffer-split-window)
9287 (display-buffer-split-atom-window, display-buffer-pop-up-window)
9288 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
9289 (display-buffer-in-side-window, normalize-buffer-to-display)
9290 (display-buffer-normalize-specifiers-1)
9291 (display-buffer-normalize-specifiers-2)
2b75be67
SM
9292 (display-buffer-normalize-specifiers, display-buffer-frame):
9293 New functions.
9481c002
MR
9294 (display-buffer): Major rewrite.
9295 (display-buffer-other-window, display-buffer-other-frame)
9296 (pop-to-buffer, switch-to-buffer-other-window)
9297 (switch-to-buffer-other-frame): Rewrite.
9298 (display-buffer-same-window, display-buffer-same-frame)
9299 (display-buffer-same-frame-other-window)
9300 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9301 (pop-to-buffer-other-window)
9302 (pop-to-buffer-same-frame-other-window)
9303 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
9304 (switch-to-buffer-other-window-same-frame): New functions.
9305 (same-window-p, special-display-p): Rewrite disabling warnings.
9306 Make obsolete.
9307 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9308 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
9309 Make obsolete
9310 (same-window-buffer-names, same-window-regexps)
9311 (special-display-frame-alist, special-display-popup-frame)
9312 (special-display-function, special-display-buffer-names)
9313 (special-display-regexps, pop-up-frame-alist)
9314 (pop-up-frame-function, split-window-preferred-function)
9315 (split-height-threshold, split-width-threshold)
9316 (even-window-heights): Make obsolete.
9317
9db51aca
GM
93182011-06-12 Glenn Morris <rgm@gnu.org>
9319
9320 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 9321 Misc simplifications.
9db51aca 9322
39cffb44
MR
93232011-06-12 Martin Rudalics <rudalics@gmx.at>
9324
9325 * window.el (window-safely-shrinkable-p): Restore function which
9326 was inadvertently removed in change from 2011-06-11. Declare as
9327 obsolete.
9328
2b75be67
SM
9329 * calendar/calendar.el (calendar-generate-window):
9330 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
9331 window-safely-shrinkable-p.
9332
a8955be7
GM
93332011-06-12 Glenn Morris <rgm@gnu.org>
9334
9335 * progmodes/fortran.el (fortran-mode-syntax-table):
9336 * progmodes/f90.el (f90-mode-syntax-table):
9337 Set % to punctuation. (Bug#8820)
9338 (f90-find-tag-default): Remove, no longer needed.
9339
f0d4059d
DC
93402011-06-12 Daniel Colascione <dan.colascione@gmail.com>
9341
9342 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
9343
1100a63c
CY
93442011-06-11 Chong Yidong <cyd@stupidchicken.com>
9345
9346 * image.el (image-animated-p): Return animation delay in seconds.
9347 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
9348 (image-animate-timeout): Remove DELAY argument. Don't assume
9349 every subimage has the same delay; get it from image-animated-p.
9350 (image-animate): Caller changed.
9351
def722bf
MA
93522011-06-11 Michael Albinus <michael.albinus@gmx.de>
9353
9354 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
9355 to ignored backtrace functions.
9356
0a2bb1a9
GM
93572011-06-11 Glenn Morris <rgm@gnu.org>
9358
9359 * calendar/appt.el (appt-disp-window-function): Doc fix.
9360 (appt-check): Handle overlapping appointments. (Bug#8337)
9361
6198ccd0
MR
93622011-06-11 Martin Rudalics <rudalics@gmx.at>
9363
9364 * window.el (window-tree-1, window-tree): New functions, moving
9365 the latter to window.el.
9366 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
9367 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
9368 (bw-refresh-edges): Remove.
9369 (balance-windows-1, balance-windows-2): New functions.
9370 (balance-windows): Rewrite in terms of window tree functions,
9371 balance-windows-1 and balance-windows-2.
9372 (bw-adjust-window): Remove.
9373 (balance-windows-area-adjust): New function with functionality of
9374 bw-adjust-window but using resize-window.
2b75be67
SM
9375 (set-window-text-height): Rewrite doc-string.
9376 Use normalize-live-window and resize-window.
9377 (enlarge-window-horizontally, shrink-window-horizontally):
9378 Rename argument to DELTA.
6198ccd0
MR
9379 (window-buffer-height): New function.
9380 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
9381 Rewrite using new window resize routines.
2b75be67
SM
9382 (kill-buffer-and-window, mouse-autoselect-window-select):
9383 Use ignore-errors instead of condition-case.
6198ccd0
MR
9384 (quit-window): Call delete-frame instead of delete-windows-on
9385 for the only buffer on frame.
9386
9397e56f
MR
93872011-06-10 Martin Rudalics <rudalics@gmx.at>
9388
9389 * loadup.el (top-level): Load window before files for the sake
9390 of replace-buffer-in-windows.
9391
9392 * files.el (read-buffer-to-switch)
9393 (switch-to-buffer-other-window)
2b75be67
SM
9394 (switch-to-buffer-other-frame, display-buffer-other-frame):
9395 Move to window.el.
9397e56f
MR
9396
9397 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
9398 (previous-buffer): Move to window.el.
9399
9400 * bindings.el (unbury-buffer): Move to window.el.
9401
9402 * window.el (delete-other-windows-vertically): Move after
9403 definition of delete-other-windows.
9404 (other-window, delete-windows-on, replace-buffer-in-windows):
9405 Move here from window.c.
9406 (record-window-buffer, unrecord-window-buffer)
9407 (set-window-buffer-start-and-point, switch-to-prev-buffer)
9408 (switch-to-next-buffer): New functions.
9409 (get-next-valid-buffer, last-buffer, next-buffer): Move here
9410 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
9411 (previous-buffer): Move here from simple.el.
9412 Call switch-to-prev-buffer.
9397e56f
MR
9413 (bury-buffer): Move here from buffer.c. Switch to previous
9414 buffer when window cannot be deleted.
9415 (unbury-buffer): Move here from bindings.el.
9416 (ctl-x-map): Move binding for other-window from window.c to
9417 here.
9418 (read-buffer-to-switch, switch-to-buffer-other-window)
9419 (switch-to-buffer-other-frame): Move here from files.el.
9420 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
9421 (switch-to-buffer): Move here from buffer.c.
9422 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 9423
562dd5e9
MR
94242011-06-10 Martin Rudalics <rudalics@gmx.at>
9425
9426 * window.el (window-min-height, window-min-width): Move here
9427 from window.c. Add defcustoms and rewrite doc-strings.
9428 (resize-mini-window, resize-window): New functions.
9429 (adjust-window-trailing-edge, enlarge-window, shrink-window):
9430 Move here from window.c.
9431 (maximize-window, minimize-window): New functions.
9432 (delete-window, delete-other-windows, split-window): Move here
9433 from window.c.
9434 (window-split-min-size): New function.
9435 (split-window-keep-point): Mention split-window-above-each-other
9436 instead of split-window-vertically.
2b75be67 9437 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
9438 Rename split-window-vertically to split-window-above-each-other
9439 and provide defalias for old definition.
9440 (split-window-side-by-side, split-window-horizontally):
9441 Rename split-window-horizontally to split-window-side-by-side
9442 and provide defalias for the old definition.
562dd5e9
MR
9443 (ctl-x-map): Move bindings for delete-window,
9444 delete-other-windows and enlarge-window here from window.c.
9445 Replace bindings for split-window-vertically and
9446 split-window-horizontally by bindings for
9447 split-window-above-each-other and split-window-side-by-side.
9448
9449 * cus-start.el (all): Remove entries for window-min-height and
9450 window-min-width. Add entries for window-splits and
9451 window-nest.
9452
f0da764a
GM
94532011-06-09 Glenn Morris <rgm@gnu.org>
9454
80675c21
GM
9455 * calendar/appt.el (appt-mode-line): New function.
9456 (appt-check, appt-disp-window): Use it.
9457
f0da764a
GM
9458 * files.el (hack-one-local-variable-eval-safep):
9459 Allow minor-modes with explicit +/-1 arguments.
9460
59f623b7
TZ
94612011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
9462
9463 * term/xterm.el (xterm): Add defgroup.
9464 (xterm-extra-capabilities): Add defcustom to supply known xterm
9465 capabilities, skip querying them, or query them (default).
9466 (terminal-init-xterm): Use it.
9467 (terminal-init-xterm-modify-other-keys): New function to set up
9468 modifyOtherKeys support to simplify `terminal-init-xterm'.
9469
9aab8e0d
MR
94702011-06-09 Martin Rudalics <rudalics@gmx.at>
9471
9472 * window.el (resize-window-reset, resize-window-reset-1)
9473 (resize-subwindows-skip-p, resize-subwindows-normal)
9474 (resize-subwindows, resize-other-windows, resize-this-window)
9475 (resize-root-window, resize-root-window-vertically)
9476 (window-deletable-p, window-or-subwindow-p)
9477 (frame-root-window-p): New functions.
9478
e8b08aee
GM
94792011-06-09 Glenn Morris <rgm@gnu.org>
9480
9481 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
9482 (ange-ftp-get-files): Use it.
9483
254c37a5
AK
94842011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
9485
9486 * mail/sendmail.el (mail-recover-1, mail-recover):
9487 * files.el (recover-file, recover-session):
9488 Handle dired-listing-switches not being just a single short option.
9489
35d7dbd3
GM
94902011-06-09 Glenn Morris <rgm@gnu.org>
9491
9492 * calendar/appt.el (appt-display-message, appt-disp-window):
9493 Handle lists of appointments.
9494
387522b2
MR
94952011-06-08 Martin Rudalics <rudalics@gmx.at>
9496
2b75be67
SM
9497 * window.el (one-window-p): Move down in code.
9498 Rewrite doc-string.
9499 (window-current-scroll-bars): Rewrite doc-string.
9500 Normalize live window argument.
387522b2
MR
9501 (walk-windows, get-window-with-predicate, count-windows):
9502 Rewrite doc-string. Use window-list-1.
9503 (window-in-direction-2, window-in-direction, get-mru-window):
9504 New functions.
9505
d8e4b68b 95062011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
9507
9508 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
9509 Doc fix (Bug#8713).
9510
95112011-06-08 Chong Yidong <cyd@stupidchicken.com>
9512
9513 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
9514
95152011-06-08 Juanma Barranquero <lekktu@gmail.com>
9516
9517 * loadhist.el (unload-feature-special-hooks):
9518 Add `comint-output-filter-functions'.
9519
0de12c52
IK
95202011-06-08 Ivan Kanis <gnu@kanis.fr>
9521
9522 * calendar/appt.el (appt-check): Move some initializations into the let.
9523
f3d1777e
MR
95242011-06-08 Martin Rudalics <rudalics@gmx.at>
9525
9526 * window.el (window-height): Defalias to window-total-height.
9527 (window-width): Defalias to window-body-width.
9528
18af70d0
CY
95292011-06-07 Chong Yidong <cyd@stupidchicken.com>
9530
9531 * image-mode.el (image-toggle-animation): New command.
9532 (image-mode-map): Bind it to RET.
9533 (image-mode): Update message.
9534 (image-toggle-display-image): Avoid a spurious cache flush.
9535 (image-transform-rotation): Doc fix.
9536 (image-transform-properties): Return quickly in the normal case.
9537 (image-animate-loop): Rename from image-animate-max-time.
9538
2b75be67 9539 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
9540 (create-animated-image): Remove unnecessary function.
9541 (image-animate): Rename from image-animate-start. New arg.
2b75be67 9542 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
9543 (image-animate-timer): Use car-safe.
9544 (image-animate-timeout): Rename argument.
9545
190b47e6
MR
95462011-06-07 Martin Rudalics <rudalics@gmx.at>
9547
9548 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
9549 window.c. Rename first argument to ALL-FRAMES.
9550 Rephrase doc-strings.
9551 (get-buffer-window-list): Rewrite using window-list-1.
9552 Rephrase doc-string.
a1511caf
MR
9553 (window-safe-min-height, window-safe-min-width): New constants.
9554 (window-size-ignore, window-min-size, window-min-size-1)
9555 (window-sizable, window-sizable-p, window-size-fixed-1)
9556 (window-size-fixed-p, window-min-delta-1, window-min-delta)
9557 (window-max-delta-1, window-max-delta, window-resizable)
9558 (window-resizable-p, window-total-height, window-total-width)
9559 (window-body-width): New functions.
9560 (window-full-height-p, window-full-width-p): Rewrite using
9561 window-total-size.
9562 (window-body-height): Rewrite using window-body-size.
190b47e6 9563
85cc1f11
MR
95642011-06-06 Martin Rudalics <rudalics@gmx.at>
9565
9566 * window.el (window-right, window-left, window-child)
9567 (window-child-count, window-last-child, window-any-p)
9568 (normalize-live-buffer, normalize-live-frame)
9569 (normalize-any-window, normalize-live-window)
9570 (window-iso-combination-p, window-iso-combined-p)
9571 (window-iso-combinations)
9572 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
9573 (windows-with-parameter, window-with-parameter)
9574 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
9575 (window-atom-check, window-side-check, window-check):
9576 New functions.
85cc1f11
MR
9577 (ignore-window-parameters, window-sides, window-sides-vertical)
9578 (window-sides-slots): New variables.
9579 (window-size-fixed): Move down in code. Minor doc-string fix.
9580
e7156492
AS
95812011-06-05 Andreas Schwab <schwab@linux-m68k.org>
9582
9583 * comint.el (comint-dynamic-complete-as-filename)
9584 (comint-dynamic-complete-filename): Correctly call
9585 completion-in-region.
9586
7e821d0d
DD
95872011-06-05 Deniz Dogan <deniz@dogan.se>
9588
9589 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
9590 in last change.
9591
ac09b8a1
DD
95922011-06-05 Deniz Dogan <deniz@dogan.se>
9593
9594 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
9595 (rcirc): Use it to prompt for encryption.
9596
34699b85
RW
95972011-06-05 Roland Winkler <winkler@gnu.org>
9598
9599 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
9600 (bibtex-search-entries): New command bound to C-c C-a.
9601 (bibtex-display-entries): New function.
9602
004dedd3
RW
96032011-06-05 Roland Winkler <winkler@gnu.org>
9604
9605 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
9606 (bibtex-insert-kill): After yanking insert newline if necessary.
9607 (bibtex-initialize): Call bibtex-string-files-init only once.
9608 (bibtex-mode): Do not call easy-menu-add.
9609 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
9610 (bibtex-yank): Set arg properly if nil.
9611
022fe7ce
RW
96122011-06-05 Roland Winkler <winkler@gnu.org>
9613
2b75be67
SM
9614 * textmodes/bibtex.el (bibtex-search-entry-globally):
9615 New variable.
022fe7ce
RW
9616 (bibtex-search-entry): Use it.
9617
b7c3692a
RW
96182011-06-05 Roland Winkler <winkler@gnu.org>
9619
9620 * textmodes/bibtex.el (bibtex-entry-format): New option
9621 sort-fields.
9622 (bibtex-format-entry, bibtex-reformat): Honor this option.
9623 (bibtex-parse-entry): Return fields in proper order.
9624
8eda563d
JB
96252011-06-05 Juanma Barranquero <lekktu@gmail.com>
9626
9627 * doc-view.el (doc-view-remove-if): Move computation of result out
9628 of `dolist' to silence misleading lexical-binding warning.
9629
7dbe3dbc
CY
96302011-06-04 Chong Yidong <cyd@stupidchicken.com>
9631
9632 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
9633 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
9634
0c33dd17
MA
96352011-06-04 Michael Albinus <michael.albinus@gmx.de>
9636
9637 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
9638 "SunOS 5.10".
9639
f8f91c2b
MA
96402011-06-04 Michael Albinus <michael.albinus@gmx.de>
9641
9642 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
9643 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
9644 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
9645 (tramp-parse-putty):
9646 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
9647 (tramp-completion-function-alist-ssh)
9648 (tramp-completion-function-alist-telnet)
9649 (tramp-completion-function-alist-su)
9650 (tramp-completion-function-alist-putty): Set `tramp-autoload'
9651 cookie.
9652
9653 * net/tramp-ftp.el:
9654 * net/tramp-sh.el:
9655 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
9656 load "tramp.el" `tramp-set-completion-function'.
9657
e17d9003
SM
96582011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
9659
9660 * shell.el: Require and use pcomplete.
9661 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
9662 (shell-completion-vars): Set pcomplete-default-completion-function.
9663
6c4cab03
DD
96642011-06-04 Deniz Dogan <deniz@dogan.se>
9665
9666 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
9667 `memq' (Bug#8799).
9668
ea9fafe0
SM
96692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9670
9671 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
9672
b3e945d3
JB
96732011-06-02 Juanma Barranquero <lekktu@gmail.com>
9674
9675 * bs.el (bs--mark-unmark, bs--nth-wrapper):
9676 * mpc.el (mpc-select-extend, mpc-songpointer-context):
9677 * vc/log-view.el (log-view-beginning-of-defun):
9678 * vc/smerge-mode.el (smerge-apply-resolution-patch)
9679 (smerge-refine-forward, smerge-refine-chopup-region):
9680 Silence warning for unused `dotimes' counter variables.
9681
7d520089
SM
96822011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * net/tramp.el (tramp-with-progress-reporter): Rename from
9685 with-progress-reporter. Use `declare'.
9686 * net/tramp-smb.el:
9687 * net/tramp-sh.el:
9688 * net/tramp-gvfs.el: Update all uses.
9689
a1c2400f
JB
96902011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
9691
9692 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
9693 buffer isn't killed before making it current.
9694
2403c841
SM
96952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9696
9697 Silence various byte-compiler warnings.
9698 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
9699 `access-type' and new obsolescence format.
9700 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
9701 new format.
9702 (byte-compile-check-variable): New `access-type' argument.
9703 Only warn if the access-type is obsolete.
9704 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
9705 (byte-compile-variable-set): Adjust callers.
9706 * help-fns.el (describe-variable): Adjust to new obsolescence format.
9707 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
9708 setting it as obsolete.
9709 * simple.el (minibuffer-completing-symbol):
9710 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
9711 access as obsolete.
9712 * minibuffer.el (minibuffer-completing-file-name): Don't make it
9713 obsolete yet.
9714 * international/quail.el (quail-mouse-choose-completion): Remove unused
9715 code referring to obsolete var.
9716 (quail-choose-completion-string): Remove.
9717 * server.el (server-clients-with, server-kill-buffer-query-function)
9718 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
9719 * proced.el (proced-send-signal):
9720 * emacs-lisp/lisp.el (lisp-complete-symbol):
9721 Replace completion-annotate-function with completion-extra-properties.
9722
2462470b
SM
97232011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
9724
fb5b2591
SM
9725 * simple.el (goto-line): Use read-number.
9726 (overriding-map-is-bound): Remove.
9727 (saved-overriding-map): Change default.
9728 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
9729 Take the map as argument.
9730 (universal-argument, negative-argument, digit-argument): Use it.
9731 (restore-overriding-map): Adjust.
9732 (do-auto-fill): Use fill-forward-paragraph.
9733 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
9734
fd6fa53f
SM
9735 * minibuffer.el (minibuffer-inactive-mode-map): New var.
9736 (minibuffer-inactive-mode): New major mode.
9737 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
9738 the *Messages* buffer" hack.
9739 (mouse-popup-menubar): Don't burp if the event is a normal key.
9740
2462470b
SM
9741 Miscellaneous tweaks.
9742 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
9743 lexical scoping as in subr.el's dolist and dotimes.
9744 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
9745 Silence compiler warning.
9746 * thingatpt.el (forward-whitespace): Trivial coding style fix.
9747 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
9748 * international/ccl.el (ccl-compile): Trivial simplification.
9749 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
9750 * emacs-lisp/testcover.el (testcover-end): Remove spurious
9751 `printflag' argument.
9752 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
9753 Purecopy the whole obsolescence data.
9754
108bf785
LL
97552011-06-01 Leo Liu <sdl.web@gmail.com>
9756
9757 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
9758 improve doc-string as suggested by Marco Pessotto
9759 <melmothx@gmail.com>.
9760 (rcirc-print): Fix last change.
9761
30a23501
SM
97622011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * minibuffer.el (complete-with-action): Return nil for the metadata and
9765 boundaries of non-functional tables.
9766 (completion-table-dynamic): Return nil for the metadata.
9767 (completion-table-with-terminator): Add default case, using
9768 complete-with-action.
9769 (completion--metadata): New function.
9770 (completion-all-sorted-completions, minibuffer-completion-help): Use it
9771 to try and avoid pathological performance problems.
9772 (completion--embedded-envvar-table): Return `category' metadata.
9773
bcd54f83
LMI
97742011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
9775
9776 * subr.el (process-alive-p): New tiny convenience function.
9777
e227544d
SM
97782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
9781 content but also its previous major mode.
9782
e8296fdc
HE
97832011-05-31 Helmut Eller <eller.helmut@gmail.com>
9784
4d61f28d 9785 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
9786 *Backtrace* buffer when we exit with C-M-c.
9787
620c53a6
SM
97882011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
9789
9790 * minibuffer.el: Add metadata method to completion tables.
9791 (completion-category-overrides): New defcustom.
9792 (completion-metadata, completion--field-metadata)
9793 (completion-metadata-get, completion--styles)
9794 (completion--cycle-threshold): New functions.
9795 (completion-try-completion, completion-all-completions):
9796 Add `metadata' argument to choose completion-styles.
9797 (completion--do-completion): Use metadata to choose cycling.
9798 (completion-all-sorted-completions): Use metadata for sorting.
9799 Remove :completion-cycle-penalty which is not needed any more.
9800 (completion--try-word-completion): Add `metadata' argument.
9801 (minibuffer-completion-help): Check metadata for annotation function
9802 and sorting.
9803 (completion-file-name-table): Return `category' metadata.
9804 (minibuffer-completing-file-name): Make obsolete.
9805 * simple.el (minibuffer-completing-symbol): Make obsolete.
9806 * icomplete.el (icomplete-completions): Pass new `metadata' param to
9807 completion-try-completion.
9808
1257e755
SM
98092011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
9812
3767e706
LL
98132011-05-30 Leo Liu <sdl.web@gmail.com>
9814
9815 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
9816 (rcirc-print): Decode all incoming messages (bug#8744).
9817 (rcirc-decode-coding-system): Allow value nil for automatic coding
9818 system detection.
3767e706 9819
d1a5d56a
GM
98202011-06-01 Glenn Morris <rgm@gnu.org>
9821
9822 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
9823
e8cbec34
CY
98242011-05-29 Chong Yidong <cyd@stupidchicken.com>
9825
9826 * image.el (image-animate-max-time): Allow nil and t values.
9827 Default to nil.
9828 (create-animated-image): Doc fix.
9829 (image-animate-start): Remove second arg; just use
9830 image-animate-max-time.
9831 (image-animate-timeout): Doc fix. Args changed.
9832
9833 * image-mode.el (image-toggle-display-image): Ensure that the
9834 image spec passed to the animate timer is the same object as in
58179cce 9835 the buffer's display property (Bug#6981).
e8cbec34
CY
9836 (image-transform-properties): Doc fix.
9837
9838 * image.el (image-animate-max-time): Default to nil.
9839
159daf87
MR
98402011-05-29 Martin Rudalics <rudalics@gmx.at>
9841
9842 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
9843 entire buffer list (Bug#8184).
9844
d66c4c7c
CY
98452011-05-29 Chong Yidong <cyd@stupidchicken.com>
9846
9847 * image.el (imagemagick-types-inhibit)
9848 (imagemagick-register-types): Doc fix.
9849
80aec780
DD
98502011-05-29 Deniz Dogan <deniz@dogan.se>
9851
9852 * net/rcirc.el (rcirc): Use the user's stored encryption method by
9853 default.
9854
1dd3c2d9
CY
98552011-05-29 Chong Yidong <cyd@stupidchicken.com>
9856
9857 * select.el: Don't perform clipboard-manager saving in hooks;
9858 leave the hooks empty.
9859
60e56523
LL
98602011-05-28 Leo Liu <sdl.web@gmail.com>
9861
9862 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
9863 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
9864 (occur-edit-mode): New major mode (Bug#8463).
9865 (occur-after-change-function): New function.
9866 (occur-engine): Give Occur tags a read-only property.
9867
2b1e1a22
KR
98682011-05-28 Kevin Ryde <user42@zip.com.au>
9869
9870 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
9871
5d344e88
CY
98722011-05-28 Chong Yidong <cyd@stupidchicken.com>
9873
8e6ca83d
CY
9874 * bindings.el (help-echo): Make the initial non-indicator dash
9875 empty on graphical terminals (Bug#7295).
9876
5d344e88
CY
9877 * files.el (auto-mode-alist): Move config rule after the
9878 in-stripping one (Bug#8547).
9879
bfbbace7
CY
9880 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
9881
fbeba6e2
CY
9882 * startup.el (normal-splash-screen): Remove gratuitous mode-line
9883 setting (Bug#8740).
9884
60ed8c72
AA
98852011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
9886
4ac619f0
AA
9887 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
9888 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
9889 (Bug#8539).
60ed8c72 9890
23db196e
CY
98912011-05-28 Chong Yidong <cyd@stupidchicken.com>
9892
9893 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
9894
5012f24c
DK
98952011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
9896
9897 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
9898 (hs-hide-block-at-point, hs-find-block-beginning)
9899 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
9900 (Bug#8279).
9901
6a639b16
GM
99022011-05-28 Glenn Morris <rgm@gnu.org>
9903
9904 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
9905
d43eaf2c
CY
99062011-05-28 Chong Yidong <cyd@stupidchicken.com>
9907
5199bde1
CY
9908 * help-fns.el (describe-function-1): If the function is a derived
9909 major mode, print the parent mode.
9910
d43eaf2c
CY
9911 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
9912 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
9913
423428a8
SM
99142011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9915
0ff8e1ba 9916 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 9917 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
9918 * progmodes/etags.el (tags-completion-at-point-function):
9919 * info-look.el (info-lookup-completions-at-point): Mark as
9920 non-exclusive.
9921 (info-complete): Adjust accordingly.
9922
423428a8
SM
9923 * info-look.el: Convert to lexical-binding and completion-at-point.
9924 (info-lookup-completions-at-point): New function.
9925 (info-complete): Use it and completion-in-region.
9926
b74aa22b
DA
99272011-05-28 Drew Adams <drew.adams@oracle.com>
9928
9929 * isearch.el: Let M-e start with point at the first mismatched char.
9930 (isearch-fail-pos): New function.
9931 (isearch-edit-string): Use it.
9932
66e2e71d
DK
99332011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
9934
9935 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
9936
b1890b0f 99372011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
9938
9939 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
9940 traversal functions for avl-trees.
9941 (avl-tree--stack): New struct.
9942 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
9943 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
9944 (avl-tree--do-enter): Add optional `updatefun' arg.
9945 Change return value.
eb95d01d 9946 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
9947 (avl-tree--do-delete): Add `test' and `nilflag' args.
9948 Change return value.
eb95d01d
TC
9949 (avl-tree-member): Add optional `nilflag'
9950 (avl-tree-member-p): New function.
9951 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
9952 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
9953 (avl-tree-stack-empty-p): New functions.
9954
3769ddcf
TC
9955 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
9956 avl-tree--del-balance1 and make it work both ways.
9957 (avl-tree--del-balance2): Remove.
9958 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
9959 make it work both ways.
9960 (avl-tree--enter-balance2): Remove.
9961 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
9962 New macros.
9963 (avl-tree--mapc, avl-tree-map): Add direction argument.
9964
eb95d01d 99652011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
9966
9967 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
9968
a9f737ee
CY
99692011-05-27 Chong Yidong <cyd@stupidchicken.com>
9970
9971 * select.el: Support clipboard managers with built-in function
9972 x-clipboard-manager-save, via delete-frame-functions and
9973 kill-emacs-hook.
9974 (xselect-convert-to-targets): Add MULTIPLE target to list.
9975 (xselect-convert-to-save-targets): New function.
9976
c92a1e54
KH
99772011-05-27 Kenichi Handa <handa@m17n.org>
9978
9979 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
9980 let-binding rfc2047-encode-encoded-words to nil.
9981
e145f188
GM
99822011-05-27 Glenn Morris <rgm@gnu.org>
9983
5ec8a862
GM
9984 * mail/emacsbug.el: Don't require url-util.
9985
4b29d9fb
GM
9986 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
9987
e145f188
GM
9988 * files.el (set-auto-mode):
9989 Also respect mode: entries at the end of the file. (Bug#8586)
9990
7d15102b
GM
99912011-05-26 Glenn Morris <rgm@gnu.org>
9992
98f593b8
GM
9993 * files.el (hack-local-variables-prop-line, hack-local-variables):
9994 Downcase mode names, as seems to be traditional.
27b48e63 9995 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 9996
7d15102b
GM
9997 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
9998 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
9999
51d5b4ec
JD
100002011-05-25 Julien Danjou <julien@danjou.info>
10001
10002 * textmodes/rst.el (rst-define-level-faces): Do not define face
10003 symbol if it is already defined.
10004
91513f63
VB
100052011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
10006
10007 * play/5x5.el (5x5-new-game, 5x5-randomize):
10008 Reset 5x5-solver-output to nil when a new grid is cast.
10009 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
10010 these debugging traces, as defmacro breaks the compiled code.
10011
4d90d6d0
DK
100122011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
10013
10014 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
10015
e1b90ef6
LL
100162011-05-24 Leo Liu <sdl.web@gmail.com>
10017
10018 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
10019 (vc-bzr-sha1): Adapt.
10020
d8e4b68b 10021 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
10022
10023 * bindings.el: Provide sha1 feature.
10024
db0406bb 100252011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
10026
10027 * mail/sendmail.el: Require `rfc2047'.
10028 (mail-insert-from-field): Do not perform RFC2047 encoding.
10029 (mail-encode-header): New function.
10030 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
10031 buffer to the return value of select-message-coding-system.
10032 Call mail-encode-header.
b8d747b9
KH
10033
10034 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
10035
db0406bb 100362011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 10037
4d90d6d0
DK
10038 * mail/supercite.el (sc-default-cite-frame):
10039 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 10040
eb8a5e9b
GM
100412011-05-24 Glenn Morris <rgm@gnu.org>
10042
f8630703
GM
10043 * progmodes/python.el (brm-menu): Declare.
10044
8831bbed
GM
10045 * emulation/viper.el (viper-set-hooks): Declare.
10046
eb8a5e9b
GM
10047 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
10048 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
10049 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
10050 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
10051 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
10052 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
10053
a2a25d24
SM
100542011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 Add an :exit-function for completion-at-point.
10057
10058 * minibuffer.el (completion--done): New fun.
10059 (completion--do-completion): Use it. New arg `expect-exact'.
10060 (minibuffer-complete, minibuffer-complete-word): Don't output message,
10061 since completion--do-completion does it for us now.
10062 (minibuffer-force-complete): Use completion--done and
10063 completion--replace. Handle sole-completion case with more care.
10064 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
10065 (completion-extra-properties): New var.
10066 (completion-annotate-function): Make obsolete.
10067 (minibuffer-completion-help): Adjust accordingly.
10068 Use completion-list-insert-choice-function.
10069 (completion-at-point, completion-help-at-point):
10070 Bind completion-extra-properties.
10071 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
10072 * simple.el (completion-list-insert-choice-function): New var.
10073 (completion-setup-function): Preserve it.
10074 (choose-completion): Pay attention to it, shuffle the code a bit.
10075 (choose-completion-string): New arg `insert-function'.
10076
10077 * textmodes/bibtex.el: Convert to lexical binding.
10078 (bibtex-mode-map): Use completion-at-point.
10079 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
10080 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
10081 (bibtex-complete): Define as obsolete alias.
10082 (bibtex-complete-internal): Remove.
10083 (bibtex-format-entry): Remove unused sub-group in regexp.
10084 * shell.el (shell--command-completion-data)
10085 (shell-environment-variable-completion):
10086 * pcomplete.el (pcomplete-completions-at-point):
10087 * comint.el (comint--complete-file-name-data): Use :exit-function
10088 instead of completion-table-with-terminator so it also works for
10089 choose-completion.
10090
e44e373d
SM
100912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10092
4f91a816
SM
10093 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
10094
782fc819
SM
10095 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
10096 (bug#8710).
10097
e44e373d
SM
10098 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
10099
381987c3
KM
101002011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
10101
10102 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
10103 customization variable and implement: If non-nil, auto-fill will
10104 be inhibited while on topic's header line.
10105
b776bc70
VB
101062011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
10107
10108 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 10109 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
10110 always have a solution in grid size = 5 cases.
10111 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
10112 (5x5-solver-output, 5x5-log-buffer): New vars.
10113 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
10114 Make these variables buffer local to achieve 5x5 multi-session-ness.
10115 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
10116 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
10117 (5x5-solve-suggest): New funs.
10118 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
10119 randomize a grid so that we ensure that there is always a solution.
10120 (5x5-make-random-grid): Allow other movement than flipping.
10121
7de88b6e
KR
101222011-05-23 Kevin Ryde <user42@zip.com.au>
10123
10124 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 10125 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
10126 advice and passes PREDICATE.
10127
b1ef1257
SM
101282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10129
bbca48fe
SM
10130 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
10131 byte-compile-lambda if it's actually a lambda.
10132
b1ef1257
SM
10133 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
10134 Fix function quoting. Use backquote better.
10135
92a9cc65
YS
101362011-05-22 Yuanle Song <sylecn@gmail.com>
10137
10138 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
10139 matching (Bug#8516).
10140
f0fb8059
JA
101412011-01-22 Jari Aalto <jari.aalto@cante.net>
10142
10143 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
10144 different face (Bug#8178).
10145
d5b44c93
CY
101462011-05-22 Chong Yidong <cyd@stupidchicken.com>
10147
10148 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
10149 defface (Bug#8144).
10150
79106a44
SM
101512011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
10152
9c848d8a
SM
10153 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
10154 funcall as well (bug#8712). Warn when performing those conversions.
10155 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
10156
79106a44
SM
10157 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
10158
88dfa756
GM
101592011-05-22 Glenn Morris <rgm@gnu.org>
10160
10161 * files.el (hack-local-variables-prop-line): Small simplifications.
10162 (hack-local-variables, hack-local-variables-prop-line):
10163 If MODE-ONLY, return the mode, rather than just `t'.
10164
b7cf2c79
SM
101652011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
10168
3f1a8558
GM
101692011-05-21 Glenn Morris <rgm@gnu.org>
10170
7e4ccca3
GM
10171 * files.el (hack-local-variables-prop-line, hack-local-variables):
10172 If only interested in the mode, don't bother doing the other stuff.
10173
637d46ca
GM
10174 * image-mode.el (image-after-revert-hook):
10175 Redraw all frames on which the image is visible. (Bug#8567)
10176
973d955b
GM
10177 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
10178
3f1a8558
GM
10179 * wid-edit.el (widget-checklist-match-inline):
10180 Fix 2011-04-19 change. (Bug#8649)
10181
96479927
SM
101822011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
10183
1dcf791f
SM
10184 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
10185 Also allow singlespace after single-letter capitals followed by a dot.
10186
96479927
SM
10187 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
10188 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
10189
35fd0881
N
101902011-05-20 Nix <nix@esperi.org.uk>
10191
10192 * files.el (basic-save-buffer-2):
10193 Fix handling of break-hardlink-on-save with non-existent files.
10194
82745640
DD
101952011-05-19 Deniz Dogan <deniz@dogan.se>
10196
10197 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 10198 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 10199
4a720484
GM
102002011-05-19 Glenn Morris <rgm@gnu.org>
10201
d1f21341
GM
10202 * progmodes/f90.el (f90-type-def-re):
10203 Handle "type, bind(c)". (Bug#8691)
10204
4a720484
GM
10205 * emacs-lisp/autoload.el (batch-update-autoloads):
10206 Set autoload-excludes by parsing loadup.el rather than Makefiles.
10207
2fb0a219
MA
102082011-05-18 Michael Albinus <michael.albinus@gmx.de>
10209
10210 * net/tramp.el (tramp-process-actions): Set "first-password-request"
10211 property for the correct connection in case of multihops.
10212
e565dd37
GM
102132011-05-18 Glenn Morris <rgm@gnu.org>
10214
c2571358 10215 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
10216 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
10217
e565dd37
GM
10218 Rationalize calendar handling of day and month abbrev-arrays.
10219 * calendar/calendar.el (calendar-customized-p): New function.
10220 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
10221 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10222 Add :set function.
10223 (calendar-abbrev-length, calendar-day-abbrev-array)
10224 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
10225 (calendar-day-abbrev-array, calendar-month-abbrev-array):
10226 Elements may no longer be nil.
10227 (calendar-day-name, calendar-month-name):
10228 Update for changed nature of abbrev arrays.
10229 * calendar/diary-lib.el (diary-name-pattern):
10230 Update for changed nature of abbrev arrays.
10231 (diary-mark-entries-1): Update calendar-make-alist calls.
10232 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
10233 * calendar/cal-html.el (cal-html-day-abbrev-array):
10234 Simply inherit from calendar-day-abbrev-array.
10235
1d99a745
SM
102362011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10237
10238 * progmodes/grep.el (grep-mode): Disable default
10239 compilation-directory-matcher setting (bug#8684).
10240
7c1d9aa0
MA
102412011-05-17 Michael Albinus <michael.albinus@gmx.de>
10242
10243 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
10244 instead of "head" and "tail". There were problems with SunOS 5.9,
10245 and it performs better.
10246
3952e9d8
GM
102472011-05-17 Glenn Morris <rgm@gnu.org>
10248
2dd12e7f
GM
10249 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
10250
e4157b9c
GM
10251 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
10252 Replace obsolete function.
10253
8e249bbd
GM
10254 * shell.el (pcomplete-parse-arguments-function): Declare.
10255
3952e9d8
GM
10256 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
10257 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
10258 (appt-check): Doc fixes.
10259 (appt-disp-window-function, appt-delete-window-function):
10260 Remove needless special case in custom :type.
10261 (appt-display-count): Default to 0, not nil.
10262 (appt-check): Reset appt-display-count to 0, not nil.
10263
c71a0d48 102642011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 10265
c71a0d48
GM
10266 * progmodes/python.el (python-font-lock-keywords):
10267 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 10268
31d55be9
SM
102692011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
10272
3bfacb2f
KR
102732011-05-16 Kevin Ryde <user42@zip.com.au>
10274
10275 * info-look.el (makefile-automake-mode): New setups, looking in
10276 automake manual, then makefile-mode.
10277 (makefile-mode): Remove automake manual, have it just in
10278 makefile-automake-mode since there's various things different or
10279 not relevant to plain make.
10280 (makefile-mode): Remove "other-modes" non-existent automake-mode,
10281 believe a hypothetical automake-mode would go to makefile-mode,
10282 not the other way around.
10283
c8e83751
CY
102842011-05-15 Chong Yidong <cyd@stupidchicken.com>
10285
5e9e35cd
CY
10286 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
10287 hunk-end tags (Bug#8672).
10288
c8e83751
CY
10289 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
10290 vc-annotate-show-diff-revision-at-line (Bug#8671).
10291
50b23e5a
GM
102922011-05-14 Glenn Morris <rgm@gnu.org>
10293
7210a739
GM
10294 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
10295 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
10296 (change-log-font-lock-keywords): Also handle multiple author lines
10297 with leading tabs. (Bug#8644)
7210a739 10298
4691905a
GM
10299 * calendar/appt.el (appt-check): Rename some local variables.
10300 Some simplification/reordering.
10301
50b23e5a
GM
10302 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
10303 (feedmail-sendmail-f-doesnt-sell-me-out)
10304 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10305 (feedmail-debug-sit-for, feedmail-queue-express-hook)
10306 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
10307 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
10308 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
10309 (feedmail-binmail-gnulinuxish-template):
10310 Rename from feedmail-binmail-linuxish-template.
10311 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
10312 Use insert-buffer-substring.
10313
215cda7c
BC
103142011-05-14 Bill Carpenter <bill@carpenter.org>
10315
10316 * mail/feedmail.el (feedmail-patch-level): Increase.
10317 (feedmail-debug): New custom group.
10318 (feedmail-confirm-outgoing-timeout)
10319 (feedmail-sendmail-f-doesnt-sell-me-out)
10320 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
10321 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
10322 (feedmail-sender-line, feedmail-from-line)
10323 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 10324 (feedmail-spray-this-address)
215cda7c
BC
10325 (feedmail-spray-address-fiddle-plex-list)
10326 (feedmail-queue-use-send-time-for-date)
10327 (feedmail-queue-use-send-time-for-message-id)
10328 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
10329 (feedmail-buffer-eating-function):
10330 Doc fixes.
10331 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
10332 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
10333 (feedmail-message-action-scroll-down): New functions.
10334 (feedmail-queue-directory, feedmail-queue-draft-directory):
10335 Use expand-file-name.
10336 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
10337 Remove C-v help entry.
10338 (feedmail-queue-buffer-file-name): New variable.
10339 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
10340 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
10341 (feedmail-message-action-send-strong, feedmail-message-action-edit)
10342 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
10343 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
10344 (feedmail-message-action-toggle-spray)
10345 (feedmail-run-the-queue-no-prompts)
10346 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
10347 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
10348 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
10349 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
10350 (feedmail-envelope-deducer, feedmail-fiddle-from)
10351 (feedmail-fiddle-sender, feedmail-default-date-generator)
10352 (feedmail-fiddle-date, feedmail-fiddle-message-id)
10353 (feedmail-fiddle-spray-address)
10354 (feedmail-fiddle-list-of-spray-fiddle-plexes)
10355 (feedmail-fiddle-list-of-fiddle-plexes)
10356 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
10357 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
10358 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
10359 Change default. Doc fix.
10360 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
10361 (feedmail-binmail-linuxish-template): New constant.
10362 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
10363 Respect feedmail-sendmail-f-doesnt-sell-me-out.
10364 (feedmail-send-it): Add debug call.
10365 Use feedmail-queue-buffer-file-name, and
10366 feedmail-send-it-immediately-wrapper.
10367 (feedmail-message-action-send): Add debug call.
10368 Use feedmail-send-it-immediately-wrapper.
10369 (feedmail-queue-express-to-queue): Add debug call.
10370 Run feedmail-queue-express-hook.
10371 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
10372 (feedmail-message-action-help-blat):
10373 Rename from feedmail-queue-send-edit-prompt-help-first.
10374 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
10375 Check line-endings. Handle errors better.
10376 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
10377 Doc fix. Add debug call.
10378 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
10379 Use feedmail-queue-send-edit-prompt-inner.
10380 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
10381 (feedmail-queue-send-edit-prompt-inner): New function, extracted
10382 from feedmail-queue-send-edit-prompt.
10383 (feedmail-queue-send-edit-prompt-help)
10384 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
10385 (feedmail-tidy-up-slug): Add debug call.
10386 Respect feedmail-queue-slug-suspect-regexp.
10387 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
10388 (feedmail-dump-message-to-queue): Add debug call.
10389 Expand queue-directory.
10390 (feedmail-dump-message-to-queue): Change message slightly.
10391 Use feedmail-say-chatter.
10392 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
10393 (feedmail-send-it-immediately-wrapper): New function.
10394 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
10395 Insert empty string rather than newline. Handle full-frame case.
10396 Use catch/throw. Use feedmail-say-chatter.
10397 (feedmail-fiddle-from): Try mail-host-address.
10398 (feedmail-default-message-id-generator): Doc fix.
10399 Bind system-time-locale. Handle missing end.
10400 (feedmail-fiddle-x-mailer): Add debug call.
10401 Handle feedmail-x-mailer-line being nil.
10402 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
10403 Add debug call. Use buffer-substring-no-properties.
10404 (feedmail-say-debug, feedmail-say-chatter): New functions.
10405 (feedmail-find-eoh): Give an explicit error.
10406
42c7e61e
UJ
104072011-05-13 Ulf Jasper <ulf.jasper@web.de>
10408
c2571358 10409 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 10410 family from helvetica to sans.
c2571358 10411 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10412 etc/images/newsticker.
10413
c2571358 10414 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
10415 family from helvetica to sans.
10416
10417 * net/newst-plainview.el (newsticker-new-item-face)
10418 (newsticker-old-item-face, newsticker-immortal-item-face)
10419 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 10420 (newsticker-statistics-face): Change default family from
42c7e61e 10421 helvetica to sans.
c2571358 10422 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
10423 etc/images/newsticker.
10424
10425 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
10426 (newsticker--process-auto-mark-filter-match): : Tell user about
10427 auto-marking.
10428
8497a297
DV
104292011-05-13 Didier Verna <didier@xemacs.org>
10430
10431 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
10432 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
10433 TODO entries.
8497a297
DV
10434 (lisp-lambda-list-keyword-parameter-indentation)
10435 (lisp-lambda-list-keyword-parameter-alignment)
10436 (lisp-lambda-list-keyword-alignment): New customizable user options.
10437 (lisp-indent-defun-method): Improve docstring.
10438 (extended-loop-p): Fix comment.
10439 (lisp-indent-lambda-list-keywords-regexp): New variable.
10440 (lisp-indent-lambda-list): New function.
10441 (lisp-indent-259): Use it.
10442 (lisp-indent-defmethod): Support for more than one
10443 method qualifier and properly indent methods lambda-lists.
10444 (defgeneric): Provide a missing common-lisp-indent-function property.
10445
f278f87f
SM
104462011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
10449 bounds for the empty string (bug#8667).
10450
5233edd7
GM
104512011-05-13 Glenn Morris <rgm@gnu.org>
10452
5237a44f
GM
10453 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
10454
8340026c 10455 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 10456 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 10457
5233edd7 10458 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 10459 (appt-time-msg-list): Doc fix.
a5464014 10460 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 10461
92d10796
AS
104622011-05-12 Andreas Schwab <schwab@linux-m68k.org>
10463
10464 * progmodes/ld-script.el (ld-script-keywords)
10465 (ld-script-builtins): Update keywords list.
10466
914a0ae1
SM
104672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10468
c89be45f
SM
10469 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
10470
914a0ae1
SM
10471 * shell.el (shell-completion-vars): New function.
10472 (shell-mode):
10473 * simple.el (read-shell-command): Use it.
10474 (blink-matching-open): No need for " [...]" in minibuffer-message.
10475
98dc3df3
GM
104762011-05-12 Glenn Morris <rgm@gnu.org>
10477
10478 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
10479 (appt-check): Simplify.
10480
d2fc7e3d 104812011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 10482
4d61f28d 10483 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
10484 literal "/dev/null".
10485
d2fc7e3d 104862011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
10487
10488 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
10489 Fix typo.
10490
d2fc7e3d 104912011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 10492
3f254caa
SM
10493 * progmodes/which-func.el (which-function):
10494 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
10495 which might not be defined (Bug#8260).
10496
d45885f7
GM
104972011-05-12 Glenn Morris <rgm@gnu.org>
10498
10499 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
10500 Let byte-compile-initial-macro-environment always take precedence.
10501
488086f4
SM
105022011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 * net/rcirc.el: Add support for SSL/TLS connections.
10505 (rcirc-server-alist): New field `encryption'.
10506 (rcirc): Check `encryption' settings.
10507 (rcirc-connect): New arg `encryption'. Use open-network-stream.
10508 Merge make-local-variable into `set'.
10509 (rcirc--connection-open-p): New function.
10510 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
10511 the process is not a network process (e.g. running gnutls-cli).
10512 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
10513 Make rcirc-(en|de)code-coding-system local here.
10514 (rcirc-mode): Merge make-local-variable into `set'.
10515 (rcirc-parent-buffer): Make permanent buffer-local.
10516 (rcirc-multiline-minor-mode): Don't do it here.
10517 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
10518 there's no server buffer.
10519
7d3b9d44
GM
105202011-05-11 Glenn Morris <rgm@gnu.org>
10521
f64049c6
GM
10522 * newcomment.el (comment-kill): Prefix "unused" local.
10523
93c9df73
GM
10524 * term/w32console.el (get-screen-color): Declare.
10525
7d3b9d44
GM
10526 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10527 Handle symbol elements of byte-compile-initial-macro-environment.
10528
9e2dd53f
LL
105292011-05-10 Leo Liu <sdl.web@gmail.com>
10530
488086f4
SM
10531 * bookmark.el (bookmark-bmenu-mode-map):
10532 Bind bookmark-bmenu-search to `/'.
8b340240 10533
9e2dd53f 10534 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
10535 (footnote-unicode-string, footnote-unicode-regexp): New variable.
10536 (Footnote-unicode): New function.
10537 (footnote-style-alist): Add unicode style to the list.
10538 (footnote-style): Doc fix.
9e2dd53f 10539
79b70037
GM
105402011-05-10 Jim Meyering <meyering@redhat.com>
10541
10542 Fix doubled-word typos.
10543 * international/quail.el (quail-insert-kbd-layout): and and -> and
10544 * kermit.el: and and -> and
10545 * net/ldap.el (ldap-search-internal): to to -> to
10546 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
10547 * progmodes/js.el (js-mode): and and -> and
10548 * textmodes/artist.el (artist-move-to-xy): at at -> at
10549 (artist-draw-region-trim-line-endings): if if -> if
10550 And Safetyc -> Safety.
10551 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
10552
b8f82dc1 105532011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 10554 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
10555
10556 * files.el (hack-one-local-variable-eval-safep):
10557 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
10558
4f99f44b
GM
105592011-05-10 Glenn Morris <rgm@gnu.org>
10560
10561 * calendar/diary-lib.el (diary-list-entries-hook)
10562 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
10563 (diary-nongregorian-marking-hook, diary-list-entries)
10564 (diary-include-other-diary-files, diary-mark-entries)
10565 (diary-mark-included-diary-files): Doc fixes.
10566
84f29e6b
JB
105672011-05-09 Juanma Barranquero <lekktu@gmail.com>
10568
10569 * misc.el: Require tabulated-list.el during compilation.
10570
9bedd73a
CY
105712011-05-09 Chong Yidong <cyd@stupidchicken.com>
10572
488086f4
SM
10573 * progmodes/compile.el (compilation-start):
10574 Run compilation-filter-hook for the async case too.
9bedd73a
CY
10575 (compilation-filter-hook): Doc fix.
10576
797c735c
DD
105772011-05-09 Deniz Dogan <deniz@dogan.se>
10578
10579 * wdired.el: Remove outdated installation comment. Fix usage
10580 comment.
10581
5f4b1dfe
JB
105822011-05-09 Juanma Barranquero <lekktu@gmail.com>
10583
10584 * misc.el: Implement new command `list-dynamic-libraries'.
10585 (list-dynamic-libraries--loaded-only-p): New variable.
10586 (list-dynamic-libraries--refresh): New function.
10587 (list-dynamic-libraries): New command.
10588
4c44026c
CY
105892011-05-09 Chong Yidong <cyd@stupidchicken.com>
10590
488086f4
SM
10591 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10592 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
10593 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
10594 higher priority to avoid clobbering by gnu.
10595
027f966d
CY
105962011-05-08 Chong Yidong <cyd@stupidchicken.com>
10597
10598 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
10599 if the face has existing theme settings (Bug#8454).
10600
085f5d7d
CY
106012011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
10602
488086f4
SM
10603 * progmodes/perl-mode.el (perl-imenu-generic-expression):
10604 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 10605
2a86a00c
RS
10606 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
10607 special file names `.' and `..' (Bug#8259).
10608
d9c54a06
CY
106092011-05-08 Chong Yidong <cyd@stupidchicken.com>
10610
488086f4
SM
10611 * progmodes/grep.el (grep-mode-font-lock-keywords):
10612 Remove buffer-changing entries.
d9c54a06
CY
10613 (grep-filter): New function.
10614 (grep-mode): Add it to compilation-filter-hook.
10615
10616 * progmodes/compile.el (compilation-filter-hook)
10617 (compilation-filter-start): New defvars.
10618 (compilation-filter): Call compilation-filter-hook prior to
10619 updating the process mark.
10620
c4662635
SM
106212011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10622
10623 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
10624
b0512a1d
EZ
106252011-05-07 Eli Zaretskii <eliz@gnu.org>
10626
605c9376
EZ
10627 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
10628 mailclient-send-it even if window-system is nil. (Bug#8595)
10629
c4662635
SM
10630 * term/w32console.el (terminal-init-w32console):
10631 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
10632 background-mode. (Bug#8597)
10633
d1dc2cc2
SM
106342011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 Make bytecomp.el understand that defmethod defines funs (bug#8631).
10637 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
10638 New functions.
10639 (defgeneric, eieio--defmethod): Use them.
10640 (eieio-defgeneric): Remove.
10641 (defmethod): Call defgeneric in a way visible to the byte-compiler.
10642
915d1300
GM
106432011-05-07 Glenn Morris <rgm@gnu.org>
10644
a3961c3e
GM
10645 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
10646 Use let rather than let*.
10647 (timeclock-find-discrep): Remove unused local.
10648
314347b9
GM
10649 * calendar/diary-lib.el (diary-comment-start): Doc fix.
10650
915d1300
GM
10651 * calendar/appt.el (appt-time-msg-list): Doc fix.
10652
275b59b0
NF
106532011-05-06 Noah Friedman <friedman@splode.com>
10654
10655 * apropos.el (apropos-print-doc): Only use
10656 emacs-lisp-docstring-fill-column when it is bound to an integer,
10657 per that variable's documentation.
10658
6c19f744
SM
106592011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 10662 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 10663
60f884b2
GM
106642011-05-06 Glenn Morris <rgm@gnu.org>
10665
5006e634
GM
10666 * calendar/appt.el (appt-message-warning-time): Doc fix.
10667 (appt-warning-time-regexp): New option.
10668 (appt-make-list): Respect appt-message-warning-time.
10669
548d0a63
GM
10670 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
10671 New options.
10672 (diary-add-to-list): Strip comments from the displayed string.
10673 (diary-mode): Set comment-start and comment-end.
10674
60f884b2
GM
10675 * vc/diff-mode.el (smerge-refine-subst): Declare.
10676 (diff-refine-hunk): Don't require smerge-mode when compiling.
10677
989681bb
JB
106782011-05-06 Juanma Barranquero <lekktu@gmail.com>
10679
10680 * simple.el (list-processes): Return nil as the docstring says.
10681
a6bc05e1
MA
106822011-05-05 Michael Albinus <michael.albinus@gmx.de>
10683
10684 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
10685 to "".
10686 (ange-ftp-write-region, ange-ftp-insert-file-contents)
10687 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
10688 determining of binary transfer. (Bug#7383)
10689
23c22e9a
MA
106902011-05-05 Michael Albinus <michael.albinus@gmx.de>
10691
c4662635
SM
10692 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10693 Fix port computation bug. (Bug#8618)
23c22e9a 10694
0bff894f
GM
106952011-05-05 Glenn Morris <rgm@gnu.org>
10696
b8296902
GM
10697 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
10698
1f522ce8
GM
10699 * simple.el (shell-dynamic-complete-functions)
10700 (comint-dynamic-complete-functions): Declare.
10701
cf5bee67
GM
10702 * net/network-stream.el (gnutls-negotiate):
10703 * simple.el (tabulated-list-print): Fix declarations.
10704
10705 * progmodes/gud.el (syntax-symbol, syntax-point):
10706 Remove unnecessary and incorrect declarations.
10707
0bff894f
GM
10708 * emacs-lisp/check-declare.el (check-declare-scan):
10709 Handle byte-compile-initial-macro-environment in bytecomp.el
10710
9869b3ae
SM
107112011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10712
10713 Fix earlier half-done eieio-defmethod change (bug#8338).
10714 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
10715 Streamline and change calling convention.
10716 (defmethod): Adjust accordingly and simplify.
10717 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
10718 new eieio--defmethod.
10719 (slot-boundp): Minor CSE simplification.
10720
9c1d5ac5
MZ
107212011-05-05 Milan Zamazal <pdm@zamazal.org>
10722
10723 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
10724 (glasses-make-readable): Use glasses-separate-capital-groups.
10725
455c834e
JB
107262011-05-05 Juanma Barranquero <lekktu@gmail.com>
10727
10728 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
10729 (warning-series): Doc fix.
10730 (display-warning): Don't try to create the buffer if we just found it.
10731
9ed7c8cb
CY
107322011-05-04 Chong Yidong <cyd@stupidchicken.com>
10733
10734 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
10735 (autoload-find-generated-file): New function.
10736 (generate-file-autoloads): Bind generated-autoload-file to
10737 buffer-file-name.
9869b3ae
SM
10738 (update-file-autoloads, update-directory-autoloads):
10739 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
10740 output file (Bug#7989).
10741 (batch-update-autoloads): Doc fix.
10742
0898ca10
JB
107432011-05-04 Juanma Barranquero <lekktu@gmail.com>
10744
10745 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
10746
31dfb76c
GM
107472011-05-04 Glenn Morris <rgm@gnu.org>
10748
f330b642
GM
10749 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
10750 function, so it follows changes in calendar-date-style.
10751 (diary-fancy-date-matcher): New function.
10752 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
10753 (diary-fancy-font-lock-fontify-region-function):
10754 Use diary-fancy-date-pattern as a function.
10755
31dfb76c
GM
10756 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
10757 non-numbers for `year' etc pseudo-variables. (Bug#8583)
10758
48e79d6a
TZ
107592011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
10760
10761 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
10762 instead of positional arguments. Allow :keylist and :crlfiles
10763 arguments.
10764 (open-gnutls-stream): Call it.
10765
10766 * net/network-stream.el (network-stream-open-starttls): Adjust to
10767 call `gnutls-negotiate' with :process and :hostname arguments.
10768
dd5a5ee0
SM
107692011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10770
ef80fc09
SM
10771 * minibuffer.el (completion--message): New function.
10772 (completion--do-completion, minibuffer-complete)
10773 (minibuffer-force-complete, minibuffer-complete-word): Use it.
10774 (completion--do-completion): Don't ignore completion-auto-help when in
10775 icomplete-mode.
10776
dd5a5ee0
SM
10777 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
10778 internal encoding (e.g. tibetan zero is not whitespace).
10779 (global-whitespace-mode): Prefer save-current-buffer.
10780 (whitespace-trailing-regexp): Remove useless save-match-data.
10781 (whitespace-empty-at-bob-regexp): Minor simplification.
10782
b7d22a83
CY
107832011-05-03 Chong Yidong <cyd@stupidchicken.com>
10784
10785 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
10786
5192af46
AM
107872011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10788
10789 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 10790 Use `concat' to create string for insertion.
5192af46 10791
5767d190
SM
107922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
10795 Avoid open-line which runs post-self-insert-hook.
10796 (bibtex-fill-entry): Remove unused `end' var.
10797
bf242939
AM
107982011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
10799
5767d190
SM
10800 * textmodes/ispell.el (ispell-add-per-file-word-list):
10801 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 10802
25666126
LL
108032011-05-03 Leo Liu <sdl.web@gmail.com>
10804
10805 * isearch.el (isearch-yank-pop): New command.
5767d190 10806 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
10807 (isearch-forward): Mention it.
10808
52d3c2d0
SM
108092011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
10810
1bcace58
SM
10811 * simple.el (minibuffer-complete-shell-command): Remove.
10812 (minibuffer-local-shell-command-map): Use completion-at-point.
10813 (read-shell-command): Setup completion vars here instead.
10814 (read-expression-map): Bind TAB to symbol completion.
10815
52d3c2d0
SM
10816 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
10817 error directly rather via storing it into `results'.
10818
35813471
LL
108192011-05-02 Leo Liu <sdl.web@gmail.com>
10820
10821 * vc/diff.el: Fix description.
10822
e793a940
LMI
108232011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10824
10825 * server.el (server-eval-at): New function.
10826
8de66e05
LMI
108272011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10828
10829 * net/network-stream.el (open-network-stream): Take a :nowait
10830 parameter and pass it on to `make-network-process'.
10831 (network-stream-open-plain): Ditto.
10832
dcb79f20
AS
108332011-04-30 Andreas Schwab <schwab@linux-m68k.org>
10834
10835 * faces.el (face-spec-set-match-display): Don't match toolkit
10836 options on terminal frames.
10837
14a7fbd8
SM
108382011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
10839
7eabc1be
SM
10840 * progmodes/pascal.el: Use lexical binding.
10841 (pascal-mode-map): Remove author preferences.
10842
14a7fbd8
SM
10843 * pcomplete.el (pcomplete-std-complete): Don't abuse
10844 completion-at-point.
10845
50f84510
JB
108462011-04-28 Juanma Barranquero <lekktu@gmail.com>
10847
6e087a44
JB
10848 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
10849 removing code that has been dead since 1991 or so.
10850
50f84510
JB
10851 * startup.el (command-line): When warning about "_emacs", use a
10852 delayed warning to allow the user to filter it out.
10853
0ba690bd
DD
108542011-04-28 Deniz Dogan <deniz@dogan.se>
10855
10856 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
10857 user has not joined.
10858
08abfaad
SM
108592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10860
10861 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
10862 aren't any completions at point.
10863
638f053a
JB
108642011-04-28 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * subr.el (display-delayed-warnings): New function.
10867 (delayed-warnings-hook): New variable.
10868
8fff8daa
SM
108692011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10870
08abfaad
SM
10871 * minibuffer.el (completion-at-point, completion-help-at-point):
10872 Don't presume that a given completion-at-point-function will always
10873 use the same calling convention.
10874
8fff8daa
SM
10875 * pcomplete.el (pcomplete-completions-at-point):
10876 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
10877 pcomplete-seen is non-nil.
10878 (pcomplete-comint-setup): Also recognize the new comint/shell
10879 completion functions.
10880 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
10881 pcomplete-seen is non-nil.
10882
841a1577 108832011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 10884
841a1577 10885 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 10886 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 10887 the first character in the entry. This allows for code to add its
211ec907
UJ
10888 own uid to the entry.
10889 (icalendar--convert-float-to-ical): Add export of
10890 `diary-float'-entries save for those with the optional DAY
10891 argument.
10892
2a782793
DC
108932011-04-27 Daniel Colascione <dan.colascione@gmail.com>
10894
10895 * subr.el (shell-quote-argument): Use alternate escaping strategy
10896 when we spot a variable reference in a string.
10897
0438ce91
DC
108982011-04-26 Daniel Colascione <dan.colascione@gmail.com>
10899
10900 * cus-start.el (all): Define customization for debug-on-event.
10901
841a1577 109022011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
10903
10904 * subr.el (shell-quote-argument): Escape correctly under Windows.
10905
d090ed6c
SM
109062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10907
10908 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
10909
bfd31217
MA
109102011-04-25 Michael Albinus <michael.albinus@gmx.de>
10911
d090ed6c
SM
10912 * net/tramp.el (tramp-process-actions): Add POS argument.
10913 Delete region between POS and (pos).
bfd31217 10914
d090ed6c
SM
10915 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
10916 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
10917 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
10918
10919 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
10920 position in `tramp-process-actions' call.
10921
10922 * net/trampver.el: Update release number.
10923
e92f3bd3
SM
109242011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10925
850256b5
SM
10926 * custom.el (defcustom): Obey lexical-binding.
10927
e92f3bd3
SM
10928 Fix octave-inf completion problems reported by Alexander Klimov.
10929 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
10930 Inherit from octave-mode-syntax-table.
10931 (inferior-octave-mode): Set info-lookup-mode.
10932 (inferior-octave-completion-at-point): New function.
10933 (inferior-octave-complete): Use it and completion-in-region.
10934 (inferior-octave-dynamic-complete-functions): Use it as well, and use
10935 comint-filename-completion.
10936 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
10937 symbol elements which shouldn't be word elements.
10938 (octave-font-lock-keywords, octave-beginning-of-defun)
10939 (octave-function-header-regexp): Adjust regexps accordingly.
10940 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
10941
cd22b309
JB
109422011-04-25 Juanma Barranquero <lekktu@gmail.com>
10943
10944 * net/gnutls.el (gnutls-errorp): Declare before first use.
10945
8b492194
TZ
109462011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
10947
10948 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
10949 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 10950 default trustfile exists before going to use it. Add missing
5a5fa834 10951 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
10952 Reported by Claudio Bley <claudio.bley@gmail.com>.
10953 (open-gnutls-stream): Add usage example.
10954
10955 * net/network-stream.el (network-stream-open-starttls): Give host
10956 parameter to `gnutls-negotiate'.
10957 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 10958 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 10959
841a1577 109602011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 10961
cd22b309
JB
10962 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10963 Use correct match group (bug#8438).
05842630 10964
3ba7869c
CY
109652011-04-24 Chong Yidong <cyd@stupidchicken.com>
10966
512e3ae1
CY
10967 * emacs-lisp/package.el (package-built-in-p): Fix typo.
10968 (package-menu--generate): New arg specifying packages to show.
10969 (package-menu-refresh, package-menu-execute, list-packages):
10970 Callers changed.
10971 (package-show-package-list): New function, replacing deleted
10972 package--list-packages (renamed because it is non-internal).
10973
10974 * finder.el (finder-list-matches): Use package-show-package-list
10975 instead of deleted package--list-packages.
10976
e92f3bd3
SM
10977 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
10978 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
10979 (vc-annotate-mode-map): Bind it to RET.
10980
7031be6d
UR
109812011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10982
10983 * progmodes/etags.el (next-file): Don't use set-buffer to change
10984 buffers (Bug#8478).
10985
4ef177aa
CY
109862011-04-24 Chong Yidong <cyd@stupidchicken.com>
10987
c8d173eb
CY
10988 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
10989
4ef177aa
CY
10990 * apropos.el (apropos-label-face): Avoid variable-pitch face.
10991 (apropos-accumulator): Doc fix.
10992 (apropos-function, apropos-macro, apropos-command)
10993 (apropos-variable, apropos-face, apropos-group, apropos-widget)
10994 (apropos-plist): Add face property.
10995 (apropos-symbols-internal): Fix indentation.
10996 (apropos-print): Simplify help, and recognize apropos-multi-type.
10997 (apropos-print-doc): Use button-type-get to extract the button's
10998 face property. Fill docstring (Bug#8352).
10999
4ffd0d6b 110002011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
11001
11002 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
11003
c6c32125 11004 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 11005 (mpuz-mode-map): Use mapc.
c6c32125
JB
11006 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
11007 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
11008 Fix typos in docstrings.
11009
58d468b4
JB
11010 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
11011 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
11012
6470c3c6
JB
11013 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
11014
4ffd0d6b 110152011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
11016
11017 * minibuffer.el (completion--do-completion): Avoid the "Next char
11018 not unique" prompt if icomplete-mode is enabled (Bug#5849).
11019
3ad8bad0
CY
11020 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
11021 mouse-2 into unread-command-events, it is interpreted correctly.
11022
71d73c9c 11023 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 11024 (image-toggle-display): Doc fix.
71d73c9c 11025
841a1577 110262011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 11027
4ffd0d6b
GM
11028 * textmodes/page.el (what-page): Use line-number-at-pos to
11029 calculate line number (Bug#6825).
6e1dbaa9 11030
c2fb1b60
JB
110312011-04-22 Juanma Barranquero <lekktu@gmail.com>
11032
11033 * eshell/esh-mode.el (find-tag-interactive): Declare function.
11034 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
11035 Pass argument NO-DEFAULT to `find-tag-interactive'.
11036
e02f48d7
JB
110372011-04-22 Juanma Barranquero <lekktu@gmail.com>
11038
11039 Lexical-binding cleanup.
11040
11041 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
11042 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
11043 * progmodes/ada-prj.el (ada-prj-initialize-values)
11044 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
11045 (ada-prj-show-value):
11046 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
11047 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
11048 (antlr-invalidate-context-cache, antlr-options-menu-filter)
11049 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
11050 * progmodes/bug-reference.el (bug-reference-push-button):
11051 * progmodes/fortran.el (fortran-line-length):
11052 * progmodes/glasses.el (glasses-change):
11053 * progmodes/octave-mod.el (octave-fill-paragraph):
11054 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
11055 (python-pdbtrack-grub-for-buffer, python-sentinel):
11056 * progmodes/sql.el (sql-save-connection):
11057 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
11058 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
11059 Mark unused parameters.
11060
11061 * progmodes/compile.el (compilation--flush-directory-cache)
11062 (compilation--flush-parse, compile-internal): Mark unused parameters.
11063 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
11064 (compilation-next-error-function): Remove unused variable `timestamp'.
11065
11066 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
11067 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
11068
11069 * progmodes/dcl-mode.el (dcl-end-of-command):
11070 Remove unused variable `start'.
11071 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
11072 (dcl-option-value-basic, dcl-option-value-offset)
11073 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
11074 Mark unused parameters.
11075 (dcl-save-local-variable): Remove unused variable `val'.
11076 (mode): Declare.
11077
11078 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
11079 Mark unused parameters.
11080 (delphi-ignore-changes): Move before first use.
11081 (delphi-charset-token-at): Remove unused variable `start'.
11082 (delphi-else-start): Remove unused variable `if-count'.
11083 (delphi-comment-block-start, delphi-comment-block-end):
11084 Remove unused variable `kind'.
11085 (delphi-indent-line): Remove unused variable `new-point'.
11086
11087 * progmodes/ebrowse.el (ebrowse-files-list)
11088 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
11089 Mark unused parameters. Don't quote `lambda'.
11090 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
11091 Don't quote `lambda'.
11092 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
11093 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
11094 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
11095 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
11096 Use `ignore-errors'.
11097 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
11098 (ebrowse-view/find-file-and-search-pattern)
11099 (ebrowse-view/find-member-declaration/definition):
11100 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
11101 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
11102 Rename parameter PREFIX-ARG to PREFIX.
11103 (ebrowse-tags-read-name): Remove unused variables `start' and
11104 `member-info'.
11105 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
11106 to `tags-file'.
11107
11108 * progmodes/etags.el (local-find-tag-hook): Declare.
11109 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
11110 Mark unused parameters.
11111
11112 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
11113 (executable-interpret): Mark unused parameter.
11114
11115 * progmodes/flymake.el (flymake-process-sentinel)
11116 (flymake-after-change-function)
11117 (flymake-create-temp-with-folder-structure)
11118 (flymake-get-include-dirs-dot): Mark unused parameters.
11119 (flymake-safe-delete-directory): Remove unused variable `err'.
11120
11121 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
11122 (speedbar-timer-fn, speedbar-line-text)
11123 (speedbar-change-expand-button-char, speedbar-delete-subblock)
11124 (speedbar-center-buffer-smartly): Declare functions.
11125 (gdb-find-watch-expression): Remove unused variable `array'.
11126 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
11127 (gdb-starting): Mark unused parameters.
11128 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
11129 (gdb-table-string): Remove unused variable `res'.
11130 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
11131 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
11132 (gdb-display-buffer): Remove unused variable `cur-size'.
11133
11134 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
11135 allow lexical-binding compilation.
11136 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
11137 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
11138 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
11139 Mark unused parameters.
11140 (gud-gdb-marker-filter): Remove unused variable `match'.
11141 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
11142 lambda expressions and funcall them, instead of using `fset'.
11143
11144 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
11145 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
11146
11147 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
11148 variable `header-beg'; use `let'.
11149
11150 * progmodes/icon.el (indent-icon-exp): Remove unused variables
11151 `restart', `last-sexp' and `at-do'.
11152
11153 * progmodes/js.el (js--debug): Mark unused parameter.
11154 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
11155 (js--splice-into-items): Remove unused variable `item'.
11156 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
11157
11158 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
11159 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
11160 (makefile-complete): Remove unused variable `try'.
11161 (makefile-fill-paragraph, makefile-match-function-end):
11162 Mark unused parameters.
11163
11164 * progmodes/octave-inf.el (inferior-octave-complete):
11165 Remove unused variable `proc'.
11166 (inferior-octave-output-digest): Mark unused parameter.
11167
11168 * progmodes/perl-mode.el (perl-calculate-indent):
11169 Remove unused variable `err'.
11170
11171 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
11172 (prolog-indent-line): Mark unused parameters.
11173 (prolog-indent-line): Remove unused variable `beg'.
11174
11175 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
11176 (reporter-dont-compact-list): Declare.
11177
11178 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
11179 Remove unused variable `char'.
11180 (sh-debug): Mark unused parameter.
11181 (sh-get-indent-info): Remove unused variable `start'.
11182 (sh-calculate-indent): Remove unused variable `var'.
11183
11184 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
11185 (simula-electric-keyword): Remove unused variable `null'.
11186 (simula-search-backward, simula-search-forward): Remove unused
11187 variables `begin' and `end'.
11188
11189 * progmodes/vera-mode.el (vera-guess-basic-syntax):
11190 Remove unused variable `pos'.
11191 (vera-electric-tab, vera-comment-uncomment-region):
11192 Mark unused parameters.
11193 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
11194
7ede3b65
CY
111952011-04-22 Chong Yidong <cyd@stupidchicken.com>
11196
11197 * emacs-lisp/package.el (package--builtins, package-alist)
11198 (package-load-descriptor, package-built-in-p, package-activate)
11199 (define-package, package-installed-p)
11200 (package-compute-transaction, package-buffer-info)
11201 (package--push): Doc fix. Distinguish more clearly between
11202 version strings and version lists.
11203
121656e9
JB
112042011-04-21 Juanma Barranquero <lekktu@gmail.com>
11205
11206 Lexical-binding cleanup.
11207
11208 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
11209 (5x5-make-mutate-best):
11210 * play/fortune.el (fortune-in-buffer):
11211 * play/gomoku.el (gomoku-init-display):
11212 * play/solitaire.el (solitaire, solitaire-do-check):
11213 * play/tetris.el (tetris-default-update-speed-function):
11214 Mark unused parameters.
11215
11216 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
11217 (bubbles--shift): Remove unused variable `char-org'.
11218 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
11219 (bubbles--show-images): Remove unused variable `char'.
11220
11221 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
11222 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
11223 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
11224 (decipher-analyze-buffer): Use ?\s.
11225 (decipher-make-checkpoint): Remove unused variable `mapping'.
11226
11227 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
11228
11229 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
11230 Remove unused variable `result'; use `let'.
11231
11232 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
11233 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
11234 (gametree-children-shown-p, gametree-compute-reduced-score):
11235 Use `ignore-errors'.
11236
11237 * play/handwrite.el (ps-lpr-switches): Declare.
11238 (handwrite): Remove unused variables `pmin' and `lastp'.
11239
11240 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
11241
11242 * play/landmark.el (landmark-init-display)
11243 (landmark-update-naught-weights): Mark unused parameters.
11244 (landmark-y): Remove unused variable `noise'. Simplify.
11245 (landmark-human-plays): Remove unused variable `score'.
11246
11247 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
11248 (mpuz-try-proposal): Remove unused variable `game'.
11249
11250 * play/zone.el (life-patterns): Declare.
11251
80f499c7
JB
112522011-04-20 Juanma Barranquero <lekktu@gmail.com>
11253
11254 * vc/vc.el (ediff-vc-internal): Declare function.
11255
024ff170
SM
112562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11257
c0a193ea
SM
11258 * shell.el: Use lexical-binding and std completion UI.
11259 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
11260 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
11261 comint-preoutput-filter-functions rather than on
11262 comint-output-filter-functions.
11263 (shell-command-completion, shell--command-completion-data)
11264 (shell-filename-completion, shell-environment-variable-completion)
11265 (shell-c-a-p-replace-by-expanded-directory): New functions.
11266 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
11267 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
11268 (shell-dynamic-complete-environment-variable): Use them.
11269 (shell-dynamic-complete-as-environment-variable)
11270 (shell-dynamic-complete-as-command): Remove.
11271 (shell-match-partial-variable): Match past point.
11272 * comint.el: Clean up use of completion-at-point-functions.
11273 (comint-completion-at-point): New function.
11274 (comint-mode): Use it completion-at-point-functions.
11275 (comint-dynamic-complete): Make it obsolete.
11276 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
11277 (comint-c-a-p-replace-by-expanded-history): New function.
11278 (comint-dynamic-complete-functions)
11279 (comint-replace-by-expanded-history): Use it.
11280 * minibuffer.el (completion-table-with-terminator): Allow dynamic
11281 termination strings. Try harder to avoid second try-completion.
11282 (completion-in-region-mode-map): Disable bindings that don't work yet.
11283
2dbaa080
SM
11284 * comint.el: Use lexical-binding. Require CL.
11285 (comint-dynamic-complete-functions): Use comint-filename-completion.
11286 (comint-completion-addsuffix): Tweak custom type.
11287 (comint-filename-completion, comint--common-suffix)
11288 (comint--common-quoted-suffix, comint--table-subvert)
11289 (comint--complete-file-name-data): New functions.
11290 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
11291 (comint-dynamic-list-filename-completions): Use them.
11292 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 11293
2dbaa080
SM
11294 * minibuffer.el (completion-in-region-mode):
11295 Keep completion-in-region-mode--predicate global.
11296 (completion-in-region--postch):
11297 Assume completion-in-region-mode--predicate is not null.
11298
c79a6f38
SM
11299 * progmodes/flymake.el (flymake-start-syntax-check-process):
11300 Obey `dir'. Simplify.
11301
024ff170
SM
11302 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
11303 we're in VC after all.
11304
1c6c854e
CS
113052011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
11306
11307 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 11308 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
11309 (vc-version-diff): Use vc-diff-build-argument-list-internal.
11310
bed7f140
SM
113112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11312
332e62ab
SM
11313 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
11314 add sanity check.
11315
bed7f140
SM
11316 * obsolete/erc-hecomplete.el: Make obsolete.
11317 * obsolete/: Standardize obsolescence info in the header.
11318
f195c582
GM
113192011-04-20 Glenn Morris <rgm@gnu.org>
11320
11321 * calendar/solar.el (solar-horizontal-coordinates):
11322 Use the longitude argument rather than `calendar-longitude'.
11323 (solar-date-next-longitude): Remove unused locals.
11324
cb79b8c0
VJL
113252011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11326
11327 * whitespace.el: New version 13.2.1.
11328
113292011-04-20 felix <EmacsWiki> (tiny change)
11330
d8e4b68b 11331 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
11332 switching between major modes on a file.
11333
602ea69d
SM
113342011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11335
11336 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
11337 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
11338 multi-line comments as well.
11339
06b60517
JB
113402011-04-19 Juanma Barranquero <lekktu@gmail.com>
11341
11342 Lexical-binding cleanup.
11343
11344 * arc-mode.el (archive-mode-revert):
11345 * cmuscheme.el (scheme-interactively-start-process):
11346 * custom.el (custom-initialize-delay):
11347 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
11348 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
11349 * emacs-lock.el (emacs-lock-clear-sentinel):
11350 * ezimage.el (defezimage):
11351 * follow.el (follow-avoid-tail-recenter):
11352 * fringe.el (set-fringe-mode-1):
11353 * generic-x.el (bat-generic-mode-compile):
11354 * help-mode.el (help-info-variable, help-do-xref)
11355 (help-mode-revert-buffer):
11356 * help.el (view-emacs-todo):
11357 * iswitchb.el (iswitchb-completion-help):
11358 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
11359 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
11360 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
11361 * locate.el (locate-update):
11362 * longlines.el (longlines-encode-region)
11363 (longlines-after-change-function):
11364 * outline.el (outline-isearch-open-invisible):
11365 * ps-def.el (declare-function, charset-dimension, char-width)
11366 (encode-char):
11367 * ps-mule.el (ps-mule-plot-string):
11368 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
11369 (recentf-edit-list-select, recentf-edit-list-validate)
11370 (recentf-open-files-action):
11371 * rect.el (delete-whitespace-rectangle-line)
11372 (rectangle-number-line-callback):
11373 * register.el (window-configuration-to-register)
11374 (frame-configuration-to-register):
11375 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
11376 * select.el (xselect-convert-to-string, xselect-convert-to-length)
11377 (xselect-convert-to-targets, xselect-convert-to-delete)
11378 (xselect-convert-to-filename, xselect-convert-to-charpos)
11379 (xselect-convert-to-lineno, xselect-convert-to-colno)
11380 (xselect-convert-to-os, xselect-convert-to-host)
11381 (xselect-convert-to-user, xselect-convert-to-class)
11382 (xselect-convert-to-name, xselect-convert-to-integer)
11383 (xselect-convert-to-atom, xselect-convert-to-identity):
11384 * subr.el (declare, ignore, process-kill-without-query)
11385 (text-clone-maintain):
11386 * terminal.el (te-get-char, te-tic-sentinel):
11387 * tool-bar.el (tool-bar-make-keymap):
11388 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
11389 * type-break.el (type-break-mode, type-break-noninteractive-query):
11390 * view.el (View-back-to-mark):
11391 * wid-browse.el (widget-browse-action, widget-browse-widget)
11392 (widget-browse-widgets, widget-browse-sexp):
11393 * widget.el (define-widget-keywords):
11394 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
11395 Mark unused parameters.
11396
11397 * align.el (align-adjust-col-for-rule): Mark unused parameter.
11398 (align-areas): Remove unused variable `look'.
11399 (align-region): Remove unused variables `real-end' and `pos-list'.
11400
11401 * apropos.el (apropos-score-doc): Remove unused variable `i'.
11402
11403 * bindings.el (mode-line-modified, mode-line-remote):
11404 Mark unused parameters.
11405 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
11406
11407 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
11408 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
11409
11410 * comint.el (comint-history-isearch-pop-state)
11411 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
11412 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
11413 (comint-substitute-in-file-name): Doc fix.
11414
11415 * completion.el (cmpl-statistics-block): Mark unused parameter.
11416 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
11417 (save-completions-to-file, load-completions-from-file):
11418 Remove unused local variable `e'.
11419
11420 * composite.el (compose-chars): Remove unused variable `len'.
11421 (lgstring-insert-glyph): Remove unused variable `g'.
11422 (compose-glyph-string): Remove unused variables `ascent',
11423 `descent', `lbearing' and `rbearing'.
11424 (compose-glyph-string-relative): Remove unused variables
11425 `lbearing', `rbearing' and `wadjust'.
11426 (compose-gstring-for-graphic): Remove unused variables `header',
11427 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
11428 (compose-gstring-for-terminal): Remove unused variables `header'
11429 and `nchars'. Use `let', not `let*'.
11430
11431 * cus-edit.el (Custom-set, Custom-save, custom-reset)
11432 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
11433 (Custom-buffer-done, custom-buffer-create-internal)
11434 (custom-browse-visibility-action, custom-browse-group-tag-action)
11435 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
11436 (widget-magic-mouse-down-action, custom-toggle-parent)
11437 (custom-add-parent-links, custom-toggle-hide-variable)
11438 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
11439 (custom-toggle-hide-face, face, hook, custom-group-link-action)
11440 (custom-face-menu-create, custom-variable-menu-create, get)
11441 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
11442 (custom-reset-standard-save-and-update): Remove unused variable `value'.
11443 (customize-apropos): Remove unused variable `tests'.
11444 (custom-group-value-create): Remove unused variable `hidden-p'.
11445 (sort-fold-case): Declare.
11446
11447 * cus-theme.el (custom-reset-standard-faces-list)
11448 (custom-reset-standard-variables-list): Declare.
11449 (customize-create-theme, custom-theme-revert, custom-theme-write)
11450 (custom-theme-choose-mode, customize-themes, custom-theme-save):
11451 Mark unused parameters.
11452
11453 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
11454
11455 * delim-col.el (delimit-columns-max): Move defvar before first use.
11456
11457 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 11458 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
11459
11460 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
11461 (auto-insert): Declare.
11462 (desktop-restore-file-buffer): Rename desktop-* parameters;
11463 mark unused ones.
11464 (desktop-create-buffer): Rename desktop-* parameters and bind them.
11465 (desktop-buffer): Rename desktop-* parameters.
11466
11467 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
11468 (dframe-reposition-frame-xemacs, dframe-help-echo)
11469 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
11470 Mark unused parameters.
11471
11472 * dired-aux.el (backup-extract-version-start, overwrite-query)
11473 (overwrite-backup-query, rename-regexp-query)
11474 (rename-non-directory-query): Declare.
11475 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
11476 (dired-add-entry): Remove unused variable `orig-file-name'.
11477 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
11478 Use parameter PRESERVE-TIME instead of accessing dynamic variable
11479 `dired-copy-preserve-time' directly.
11480 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
11481 (dired-insert-subdir-newpos): Rename unused variable `pos'.
11482
11483 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
11484 (dired-virtual-revert, dired-make-relative-symlink):
11485 Mark unused parameters.
11486 (manual-program): Declare.
11487 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
11488 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
11489 wrapped in `with-no-warnings' to avoid replacing one warning by another.
11490
11491 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
11492
11493 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
11494
11495 * echistory.el (electric-history-in-progress, Helper-return-blurb):
11496 Declare.
11497
11498 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
11499
11500 * electric.el (Electric-command-loop): Rename parameter
11501 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
11502
11503 * expand.el (expand-in-literal): Remove unused variable `here'.
11504
11505 * facemenu.el (facemenu-add-new-color):
11506 Remove unused variable `docstring'.
11507
11508 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
11509 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
11510 (face-attr-construct): Mark unused parameter. Doc fix.
11511 (read-color): Remove unused variable `hex-string'.
11512
11513 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
11514 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
11515 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
11516 (display-buffer-other-frame): Remove unused variable `old-window'.
11517 (kill-buffer-hook): Declare.
11518 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
11519 Mark unused parameters.
11520 (after-find-file): Pass 1 to `auto-save-mode', not t.
11521
11522 * files-x.el (auto-insert): Declare.
11523 (modify-file-local-variable-prop-line): Remove unused variable `val'.
11524
11525 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 11526 variable `buf'. Mark unused parameter.
06b60517
JB
11527 (find-lisp-insert-directory): Mark unused parameter.
11528
11529 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
11530 (format-encode-region): Remove unused variables `cur-buf' and `result'.
11531 (format-common-tail): Remove, unused.
11532 (format-deannotate-region): Remove unused variable `loc'.
11533 (format-annotate-region): Remove unused variable `p'.
11534 (format-annotate-single-property-change): Remove unused variables
11535 `default' and `tail'.
11536
11537 * forms.el (read-file-filter): Declare.
11538 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
11539
11540 * frame.el (frame-creation-function-alist): Mark unused parameter.
11541 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
11542
11543 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
11544 Remove unused parameters.
11545 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
11546 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
11547
11548 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
11549 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
11550 (hfy-prepare-tag-map): Mark unused parameters.
11551 (htmlfontify-buffer): Use `called-interactively-p'.
11552
11553 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
11554 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
11555 (ibuffer-do-occur): Mark unused parameters.
11556 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
11557 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
11558
11559 * ibuffer.el: Don't quote `lambda'.
11560 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
11561 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
11562 Mark unused parameters.
11563
11564 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
11565 (ido-completing-read): Mark unused parameters.
11566 (ido-copy-current-word): Mark unused parameters;
11567 remove unused variable `name'.
11568 (ido-sort-merged-list): Remove unused parameter `dirs'.
11569
11570 * ielm.el (ielm-input-sender): Mark unused parameter.
11571 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
11572 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
11573 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
11574 `ielm-string' as a dynamic variable accessible from the IELM prompt.
11575 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
11576
11577 * image-dired.el (image-dired-display-thumbs): Remove unused
11578 variables `curr-file' and `count'.
11579 (image-dired-remove-tag): Remove unused variable `start'.
11580 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
11581 variable `curr-file'
11582 (image-dired-rotate-original): Remove unused variable `temp-file'.
11583 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
11584 Remove unused variable `file'.
11585 (image-dired-gallery-generate): Remove unused variable `curr'.
11586 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
11587
11588 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
11589
11590 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
11591
11592 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
11593
11594 * isearch.el (minibuffer-history-symbol): Declare.
11595 (isearch-edit-string): Remove unused variable `err'.
11596 (isearch-message-prefix, isearch-message-suffix):
11597 Mark unused parameters.
11598
11599 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
11600
11601 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
11602
11603 * makesum.el (double-column): Remove unused variable `cnt'.
11604
11605 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
11606 (ido-ignore-item-temp-list): Declare.
11607
11608 * mouse-drag.el (mouse-drag-throw): Remove unused variables
11609 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
11610 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
11611 (mouse-drag-drag): Remove unused variables `mouse-delta' and
11612 `mouse-col-delta'.
11613
11614 * mouse-sel.el (mouse-extend-internal):
11615 Remove unused variable `orig-window-frame'.
11616
11617 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
11618 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
11619 Move declarations before first use.
11620 (pcomplete-opt): Mark unused parameters; doc fix.
11621
11622 * proced.el (proced-revert): Mark unused parameter.
11623 (proced-send-signal): Remove unused variable `err'.
11624
11625 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
11626 Rename parameter PREFIX-ARG to ARG.
11627 (ps-basic-plot-string, ps-basic-plot-whitespace):
11628 Mark unused parameters.
11629
11630 * replace.el (replace-count): Define.
11631 (occur-revert-function): Mark unused parameters.
11632 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
11633 (isearch-case-fold-search, isearch-string): Declare.
11634 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
11635 bind `case-fold-search'. Remove unused variables `beg' and `end',
11636 and simplify.
11637 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
11638 COUNT and bind `replace-count'.
11639 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
11640 to COUNT.
11641
11642 * savehist.el (print-readably, print-string-length): Declare.
11643
11644 * shadowfile.el (shadow-expand-cluster-in-file-name):
11645 Remove unused variable `cluster'.
11646 (shadow-copy-file): Remove unused variable `i'.
11647 (shadow-noquery, shadow-clusters, shadow-site-cluster)
11648 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
11649 (shadow-define-literal-group, shadow-define-regexp-group)
11650 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
11651
11652 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
11653 (shell): Use `called-interactively-p'.
11654 (shell-directory-tracker): Remove unused variable `chdir-failure'.
11655
11656 * simple.el (compilation-context-lines, comint-file-name-quote-list)
11657 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
11658 (delete-backward-char): Remove unused variable `ocol'.
11659 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
11660 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
11661 (event-apply-hyper-modifier, event-apply-shift-modifier)
11662 (event-apply-control-modifier, event-apply-meta-modifier):
11663 Mark unused parameters.
11664 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
11665 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
11666
11667 * speedbar.el (speedbar-ignored-directory-expressions)
11668 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
11669 (speedbar-find-file, speedbar-dir-follow)
11670 (speedbar-directory-buttons-follow, speedbar-tag-find)
11671 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
11672 (speedbar-buffers-line-directory, speedbar-buffer-click):
11673 Mark unused parameters.
11674 (speedbar-tag-file): Remove unused variable `mode'.
11675 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
11676
11677 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
11678
11679 * talk.el (talk): Remove unused variable `display'.
11680
11681 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
11682 (tar-write-region-annotate): Mark unused parameter.
11683
11684 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
11685 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
11686 Declare them, wrapped in `with-no-warnings' to avoid replacing one
11687 warning by another.
11688
11689 * time-stamp.el (time-stamp-string-preprocess):
11690 Remove unused variable `require-padding'.
11691
11692 * tree-widget.el (widget-glyph-enable): Declare.
11693 (tree-widget-action): Mark unused parameter.
11694
11695 * w32-fns.el (x-get-selection): Mark unused parameter.
11696 (autoload-make-program, generated-autoload-file): Declare.
11697
11698 * wdired.el (wdired-revert): Mark unused parameters.
11699 (wdired-xcase-word): Remove unused variable `err'.
11700
11701 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
11702 (whitespace-help-scroll): Remove unused variable `data-help'.
11703
11704 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
11705 (widget-image-insert, widget-after-change, default)
11706 (widget-default-format-handler, widget-default-notify)
11707 (widget-default-prompt-value, widget-info-link-action)
11708 (widget-url-link-action, widget-function-link-action)
11709 (widget-variable-link-action, widget-file-link-action)
11710 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
11711 (widget-field-prompt-internal, widget-field-action, widget-field-match)
11712 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
11713 (widget-insert-button-action, widget-delete-button-action, visibility)
11714 (widget-documentation-link-action, widget-documentation-string-action)
11715 (widget-const-prompt-value, widget-regexp-match, symbol)
11716 (widget-coding-system-prompt-value)
11717 (widget-key-sequence-value-to-external, sexp)
11718 (widget-sexp-value-to-internal, character, vector, cons)
11719 (widget-choice-prompt-value, widget-boolean-prompt-value)
11720 (widget-color--choose-action): Mark unused parameters.
11721 (widget-item-match-inline, widget-choice-match-inline)
11722 (widget-checklist-match, widget-checklist-match-inline)
11723 (widget-group-match): Rename parameter VALUES to VALS.
11724 (widget-field-value-set): Remove unused variable `size'.
11725 (widget-color-action): Remove unused variables `value' and `start'.
11726
11727 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 11728 variable `dir'. Doc fix.
06b60517
JB
11729 (windmove-find-other-window): Don't pass it.
11730
11731 * window.el (count-windows): Mark unused parameter.
11732 (bw-adjust-window): Remove unused variable `err'.
11733
11734 * woman.el (woman-file-name): Remove unused variable `default'.
11735 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
11736 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
11737 (global-font-lock-mode): Declare.
11738 (woman-decode-region): Mark unused parameter.
11739 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
11740
11741 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
11742 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
11743 (x-dnd-handle-moz-url): Remove unused variable `title'.
11744 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
11745
11746 * xml.el (xml-parse-tag, xml-parse-attlist):
11747 Remove unused variable `pos'.
11748
bc4f7f3d
GM
117492011-04-19 Glenn Morris <rgm@gnu.org>
11750
11751 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
11752 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
11753 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
11754 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
11755 * calendar/cal-html.el (cal-html-insert-minical):
11756 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
11757 (calendar-mark-date-pattern):
11758 Prefix "unused" locals.
11759
11760 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
11761 optional argument `style'.
11762
11763 * calendar/appt.el (appt-make-list):
11764 * calendar/cal-china.el (calendar-chinese-date-string):
11765 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
11766 (diary-hebrew-yahrzeit):
11767 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
11768 * calendar/calendar.el (calendar-generate-window):
11769 * calendar/time-date.el (time-to-days):
11770 Remove unused local variables.
11771
16a43933
CY
117722011-04-18 Chong Yidong <cyd@stupidchicken.com>
11773
11774 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
11775 glyphless-char-display table.
11776 (tabulated-list-glyphless-char-display): New var.
11777
7eed1860
SS
117782011-04-18 Sam Steingold <sds@gnu.org>
11779
11780 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
11781 to acknowledgments.
11782
4d2d1ccd
GM
117832011-04-17 Glenn Morris <rgm@gnu.org>
11784
11785 * calendar/diary-lib.el (diary-sexp-entry):
11786 * calendar/holidays.el (holiday-sexp):
11787 Set debug-on-error rather than the removed stack-trace-on-error.
11788
239da61d
GM
117892011-04-16 Glenn Morris <rgm@gnu.org>
11790
11791 * progmodes/f90.el: Use lexical-binding.
11792 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
11793
8b05752a
SM
117942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11795
daca8ba5
SM
11796 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
11797 (mail-mode): Setup mailalias completion here instead.
11798 * mail/mailalias.el: Use lexical-binding.
11799 (pattern, mailalias-done): Declare dynamic.
11800 (mail-completion-at-point-function): New function, from mail-complete.
11801 (mail-complete): Use it.
11802 (mail-completion-expand): New function.
11803 (mail-get-names): Use it.
11804 (mail-directory, mail-directory-process, mail-directory-stream):
11805 Don't use `pattern' for lexically bound arg.
11806
6f542485
SM
11807 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
11808
037e7c3f
SM
11809 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
11810 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
11811 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
11812
8b05752a
SM
11813 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
11814 (byte-save-window-excursion, byte-temp-output-buffer-setup)
11815 (byte-interactive-p): Define them again, for use when inlining
11816 old code.
11817
49093f60
JB
118182011-04-15 Juanma Barranquero <lekktu@gmail.com>
11819
11820 * loadup.el: Use `string-to-number', not `string-to-int'.
11821
b5b8e7de
SM
118222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11823
11824 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
11825 gud-gdb-complete-command.
11826 (gud-gdb-completions): New function, from gud-gdb-complete-command.
11827 (gud-gdb-completion-at-point): New function.
11828 (gud-gdb-completions): Remove.
11829
f42efeb5
MA
118302011-04-14 Michael Albinus <michael.albinus@gmx.de>
11831
49093f60
JB
11832 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
11833 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
11834 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
11835 whether `executable-find' is bound.
f42efeb5
MA
11836
11837 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
11838
e240cc21
SM
118392011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * minibuffer.el (completion-in-region-mode-predicate)
11842 (completion-in-region-mode--predicate): New vars.
11843 (completion-in-region, completion-in-region--postch)
11844 (completion-in-region-mode): Use them.
11845 (completion--capf-wrapper): Also return the hook function.
11846 (completion-at-point, completion-help-at-point):
11847 Adjust and provide a predicate.
c2bd2ab0
SM
11848
11849 Preserve arg names for advice of subr and lexical functions (bug#8457).
11850 * help-fns.el (help-function-arglist): Consolidate the subr and
11851 new-byte-code cases. Add argument `preserve-names' to extract names
11852 from the docstring when needed.
11853 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
11854 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
11855 (ad-arglist): Use help-function-arglist's new arg.
11856 (ad-definition-type): Use cond.
11857
c183f693
JB
118582011-04-13 Juanma Barranquero <lekktu@gmail.com>
11859
06641a47
JB
11860 * autorevert.el (auto-revert-handler):
11861 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
11862 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
11863 Don't quote lambda.
11864
c183f693
JB
11865 * image-mode.el (image-transform-set-scale):
11866 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
11867
1e3b6001
G
118682011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
11869
11870 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 11871 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
11872 Upgrades via gnutls-cli are too slow to be done opportunistically.
11873
2d6af8dd
JB
118742011-04-12 Juanma Barranquero <lekktu@gmail.com>
11875
11876 * dframe.el (dframe-current-frame): Remove spurious quote.
11877
c0749a51
GM
118782011-04-12 Glenn Morris <rgm@gnu.org>
11879
088d0d61
GM
11880 * calendar/cal-tex.el (cal-tex-end-document):
11881 Try to automatically use latin1 input if needed.
11882
c0749a51
GM
11883 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
11884 Don't try to cons a mark onto an empty element.
11885
5c90fde0
LL
118862011-04-11 Leo Liu <sdl.web@gmail.com>
11887
11888 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
11889 buffers.
11890 (ido-kill-buffer-at-head): Support killing virtual buffers.
11891
369e974d
CY
118922011-04-10 Chong Yidong <cyd@stupidchicken.com>
11893
11894 * minibuffer.el (completion-show-inline-help): New var.
11895 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
11896 (minibuffer-force-complete, minibuffer-complete-word):
11897 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
11898
11899 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
11900 to avoid interference from inline help (Bug#5849).
11901
37f1c930
LL
119022011-04-10 Leo Liu <sdl.web@gmail.com>
11903
099c39a4
JB
11904 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11905 Fix typo.
37f1c930 11906
a32d4040
CY
119072011-04-09 Chong Yidong <cyd@stupidchicken.com>
11908
11909 * image-mode.el (image-toggle-display-image): Signal an error if
11910 not in Image mode.
11911 (image-transform-mode, image-transform-resize)
11912 (image-transform-set-rotation): Doc fix.
daca8ba5 11913 (image-transform-set-resize): Delete.
a32d4040
CY
11914 (image-transform-set-scale, image-transform-fit-to-height)
11915 (image-transform-fit-to-width): Handle image-toggle-display-image
11916 and image-transform-resize directly.
11917
099c39a4 119182011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
11919
11920 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
11921 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
11922 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
11923 (doc-view-mode-map): Add bindings for the new functions.
11924
099c39a4 119252011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 11926
4d61f28d 11927 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
11928 Fix typo in docstring.
11929
3726838a
EZ
119302011-04-08 Eli Zaretskii <eliz@gnu.org>
11931
04f33f1e
EZ
11932 * files.el (file-size-human-readable): Produce one digit after
11933 decimal, like "ls -lh" does.
11934
11935 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
11936 the file size representation.
11937
3726838a
EZ
11938 * simple.el (list-processes): If async subprocesses are not
11939 available, error out with a clear error message.
11940
cbb59342
CY
119412011-04-08 Chong Yidong <cyd@stupidchicken.com>
11942
11943 * help.el (help-form-show): New function, to be called from C.
11944 Put help-form output in a buffer named differently than *Help*.
11945
e3971c44
EZ
119462011-04-08 Eli Zaretskii <eliz@gnu.org>
11947
11948 * files.el (file-size-human-readable): New function.
11949
11950 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
11951 computing the representation inline. Don't require `cl'.
11952
12544bbe
GM
119532011-04-08 Glenn Morris <rgm@gnu.org>
11954
a1de6c6a
GM
11955 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
11956
3c4671f4
GM
11957 * net/browse-url.el (browse-url-firefox):
11958 Test system-type, not system-configuration.
11959
b605679c
GM
11960 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
11961 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
11962 Use log-edit-empty-buffer-p. (Bug#7598)
11963
56442f0c
GM
11964 * net/rlogin.el (rlogin-process-connection-type): Simplify.
11965 (rlogin-mode-map): Initialize in the defvar.
11966 (rlogin): Use ignore-errors.
11967
12544bbe
GM
11968 * replace.el (occur-mode-map): Some fixes for menu items.
11969
eb237b0f
AH
119702011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11971
11972 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
11973
7d668f2c
CY
119742011-04-06 Chong Yidong <cyd@stupidchicken.com>
11975
e67a13ab
CY
11976 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
11977 issuing unused warnings.
11978
11979 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
11980 macro directly.
11981
7d668f2c
CY
11982 * simple.el: Lisp reimplement of list-processes. Based on an
11983 earlier reimplementation by Leo Liu, but using tabulated-list.el.
11984 (process-menu-mode): New major mode.
11985 (list-processes--refresh, list-processes):
11986 (process-menu-visit-buffer): New functions.
11987
11988 * files.el (save-buffers-kill-emacs): Don't assume any return
11989 value of list-processes, which is undocumented anyway.
11990
a83ec3c9
CY
119912011-04-06 Chong Yidong <cyd@stupidchicken.com>
11992
11993 * emacs-lisp/tabulated-list.el: New file.
11994
e91a96fe
CY
11995 * emacs-lisp/package.el: Use Tabulated List mode.
11996 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
11997 (package-menu-mode): Derive from tabulated-list-mode. Set up the
11998 table format using Tabulated List mode variables.
11999 (package--push): New macro, replacing package-list-maybe-add.
12000 (package-menu--generate): Use package--push. Renamed from
12001 package--generate-package-list.
12002 (package-menu-refresh, list-packages): Use it.
daca8ba5 12003 (package-menu--print-info): Rename from package-print-package.
e91a96fe 12004 Return insertion data instead of inserting it directly.
099c39a4
JB
12005 (package-menu-describe-package, package-menu-execute):
12006 Use tabulated-list-get-id.
e91a96fe
CY
12007 (package-menu-mark-delete, package-menu-mark-install)
12008 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
12009 (package-menu-mark-obsolete-for-deletion):
12010 Use tabulated-list-put-tag.
e91a96fe
CY
12011 (package--list-packages, package-menu-revert)
12012 (package-menu-get-package, package-menu-get-version)
12013 (package-menu-sort-by-column): Functions deleted.
12014 (package-menu-package-list, package-menu-sort-key): Vars deleted.
12015 (package-menu--status-predicate, package-menu--version-predicate)
12016 (package-menu--name-predicate)
12017 (package-menu--description-predicate): Handle arguments in the
12018 Tabulated List format.
12019 (package-list-packages-no-fetch): Call list-packages.
12020
3e214b50
JB
120212011-04-06 Juanma Barranquero <lekktu@gmail.com>
12022
12023 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 12024 (after-find-file): Don't bind it.
3e214b50
JB
12025 (revert-buffer-in-progress-p): New variable.
12026 (revert-buffer): Bind it.
12027 Pass nil for `after-find-file-from-revert-buffer'.
12028
12029 * saveplace.el (save-place-find-file-hook): Use new variable
12030 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
12031
3f0f1700
GM
120322011-04-06 Glenn Morris <rgm@gnu.org>
12033
c0274801
GM
12034 * Makefile.in (AUTOGEN_VCS): New variable.
12035 (autoloads): Use $AUTOGEN_VCS.
12036
3f0f1700
GM
12037 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
12038 * calendar/calendar.el (calendar-mode-map):
12039 Check for toolkit scroll bars. (Bug#8305)
12040
41ea9e48
CY
120412011-04-05 Chong Yidong <cyd@stupidchicken.com>
12042
12043 * minibuffer.el (completion-in-region--postch)
12044 (completion-in-region-mode): Remove unnecessary messages.
12045
6194c800
JB
120462011-04-05 Juanma Barranquero <lekktu@gmail.com>
12047
33256f14
JB
12048 * font-lock.el (font-lock-refresh-defaults):
12049 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
12050 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
12051
6194c800
JB
12052 * info.el (Info-directory-list, Info-read-node-name-2)
12053 (Info-split-parameter-string): Doc fixes.
12054 (Info-virtual-nodes): Reflow docstring.
12055 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
12056 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12057 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
12058 Fix typos in docstrings.
12059 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
12060 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12061 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
12062 (Info-restore-desktop-buffer): Mark unused parameters.
12063 (Info-directory-find-file, Info-directory-find-node)
12064 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
12065 (Info-virtual-index-find-node, Info-apropos-find-file)
12066 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 12067 Mark unused parameters; fix typos in docstrings.
6194c800
JB
12068 (Info-virtual-index): Remove unused local variable `nodename'.
12069
b87a8200 120702011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 12071
b87a8200
DD
12072 * net/rcirc.el: Update my e-mail address.
12073 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 12074
3b2ff876
CY
120752011-04-05 Chong Yidong <cyd@stupidchicken.com>
12076
12077 * startup.el (command-line): Save the cursor's theme-face
12078 directly, instead of using face-override-spec.
12079
12080 * custom.el (load-theme): Minor optimization in assigning faces.
12081
8d17e7ca
JB
120822011-04-04 Juanma Barranquero <lekktu@gmail.com>
12083
12084 * help-fns.el (describe-variable): Complete all variables having
12085 documentation, including keywords.
12086 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
12087
2fbc1934
JB
120882011-04-04 Juanma Barranquero <lekktu@gmail.com>
12089
12090 Convert to lexical-binding.
12091
12092 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12093 (bs--get-marked-string, bs--get-modified-string)
12094 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
12095 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
12096 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
12097
12098 * ehelp.el (electric-help-execute-extended)
12099 (electric-help-ctrl-x-prefix):
12100 * hexl.el (hexl-revert-buffer-function):
12101 * linum.el (linum-after-change, linum-after-scroll):
12102 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
12103
12104 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
12105
74f50695
DU
121062011-04-04 Daiki Ueno <ueno@unixuser.org>
12107
12108 * epa-dired.el:
12109 * epa-mail.el:
12110 * epa-hook.el:
12111 * epa-file.el:
12112 * epa.el:
12113 * epg.el: Use lexical binding.
12114
c11325f7
CY
121152011-04-03 Chong Yidong <cyd@stupidchicken.com>
12116
0d9e9a12
CY
12117 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
12118
c11325f7 12119 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
12120 dictionary case for flyspell-mark-duplications-exceptions.
12121 Use regexp matching for languages.
c11325f7
CY
12122 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
12123 default dictionary (Bug#7926).
12124
da91b5f2
CY
121252011-04-02 Chong Yidong <cyd@stupidchicken.com>
12126
099c39a4
JB
12127 * emacs-lisp/package.el (package--with-work-buffer):
12128 Recognize https URLs.
da91b5f2 12129
099c39a4
JB
12130 * net/network-stream.el: Move from gnus/proto-stream.el.
12131 Change prefix to network-stream throughout.
da91b5f2
CY
12132 (open-protocol-stream): Merge into open-network-stream, leaving
12133 open-protocol-stream as an alias. Handle nil BUFFER args.
12134
12135 * subr.el (open-network-stream): Move to net/network-stream.el.
12136
afa8e9f6
GM
121372011-04-02 Glenn Morris <rgm@gnu.org>
12138
1d2e369d
GM
12139 * find-dired.el (find-exec-terminator): New option.
12140 (find-ls-option): Test for -ls support.
12141 (find-ls-subdir-switches): Test for -b in find-ls-option.
12142 (find-dired, find-grep-dired): Doc fixes.
12143 (find-dired): Use find-exec-terminator.
12144
8abb7da8 12145 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
12146 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
12147 (find-name-arg): Remove purecopy.
8abb7da8 12148
f3ca7378
GM
12149 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
12150 (grep-compute-defaults): Check for `-exec COMMAND +' support.
12151 Set grep-find-use-xargs, grep-find-command, and grep-find-template
12152 accordingly. Don't add the null-device if not needed.
12153
afa8e9f6
GM
12154 * files.el (save-some-buffers): Doc fix.
12155
35eae264
EZ
121562011-04-02 Eli Zaretskii <eliz@gnu.org>
12157
12158 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
12159
26b51db5
JB
121602011-04-01 Juanma Barranquero <lekktu@gmail.com>
12161
12162 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
12163 Use `dolist' rather than `mapcar'.
12164
7200d79c
SM
121652011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12166
03408648 12167 Add lexical binding.
7200d79c 12168
03408648
SM
12169 * subr.el (apply-partially): Use new closures rather than CL.
12170 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
12171 (dolist, dotimes): Use slightly different expansion for lexical code.
12172 (functionp): Move to C.
12173 (letrec): New macro.
12174 (with-wrapper-hook): Use it and apply-partially instead of CL.
12175 (eval-after-load): Preserve lexical-binding.
12176 (save-window-excursion, with-output-to-temp-buffer): Turn them
12177 into macros.
7200d79c 12178
03408648
SM
12179 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
12180
12181 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
12182 than the arglist.
12183 (help-add-fundoc-usage): Don't add `Not documented'.
12184 (help-function-arglist): Handle closures, subroutines, and new
12185 byte-code-functions.
12186 (help-make-usage): Remove leading underscores.
12187 (describe-function-1): Handle closures.
12188 (describe-variable): Use special-variable-p for completion.
12189
12190 * files.el (lexical-binding): Declare safe.
f488fb65 12191
03408648
SM
12192 * emacs-lisp/pcase.el: Don't use destructuring-bind.
12193 (pcase--memoize): Rename from pcase-memoize. Change weakness.
12194 (pcase): Add `let' pattern.
12195 Change memoization so it actually works.
12196 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
12197 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
12198 <let>: New case.
f488fb65 12199
03408648
SM
12200 * emacs-lisp/macroexp.el: Use lexical binding.
12201 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
12202 Don't convert ' to #' without checking that it's indeed quoting
12203 a lambda.
12204
12205 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 12206 Use eval-sexp-add-defvars.
03408648
SM
12207 (eval-sexp-add-defvars): New fun.
12208
12209 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
12210
12211 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
12212 Don't autoload.
12213 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
12214 than the internal `byte-compile-lambda'.
12215 (defmethod): Don't hide code under quotes.
12216 (eieio-defmethod): New `code' argument.
12217
12218 * emacs-lisp/eieio-comp.el: Remove.
12219
12220 * emacs-lisp/edebug.el (edebug-eval-defun)
12221 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
12222 (edebug-toggle): Avoid `eval'.
12223
12224 * emacs-lisp/disass.el (disassemble-internal): Handle new
12225 `closure' objects.
12226 (disassemble-1): Handle new byte codes.
12227
12228 * emacs-lisp/cl.el (pushnew): Silence warning.
12229
12230 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
12231 (cl-byte-compile-throw): Remove.
12232 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
12233
12234 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
12235 closures.
12236
12237 * emacs-lisp/cconv.el: New file.
12238
12239 * emacs-lisp/bytecomp.el: Use lexical binding instead of
12240 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
12241 (byte-compile-initial-macro-environment):
12242 Handle declare-function here.
12243 (byte-compile--lexical-environment): New var.
12244 (byte-stack-ref, byte-stack-set, byte-discardN)
12245 (byte-discardN-preserve-tos): New lap codes.
12246 (byte-interactive-p): Don't use any more.
12247 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
12248 New macros.
12249 (byte-compile-lapcode): Use them and handle new lap codes.
12250 (byte-compile-obsolete): Remove.
12251 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
12252 (byte-compile-arglist-warn): Check late def of inlinable funs.
12253 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
12254 since they should have been expanded by now.
12255 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
12256 (byte-compile-from-buffer): Remove unused second arg.
12257 (byte-compile-preprocess): New function.
12258 (byte-compile-toplevel-file-form): New function to distinguish
12259 file-form calls from outside from file-form calls from hunk-handlers.
12260 (byte-compile-file-form): Simplify.
12261 (byte-compile-file-form-defsubst): Remove.
12262 (byte-compile-file-form-defmumble): Simplify now that
12263 byte-compile-lambda always returns a byte-code-function.
12264 (byte-compile): Preprocess.
12265 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
12266 Remove, not used any more.
12267 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
12268 (byte-compile-make-args-desc): New funs.
12269 (byte-compile-lambda): Handle lexical functions. Always return
12270 a byte-code-function.
12271 (byte-compile-reserved-constants): New var, to make up room for
12272 closed-over variables.
12273 (byte-compile-constants-vector): Obey it.
12274 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
12275 (byte-compile-macroexpand-declare-function): New function.
12276 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
12277 byte-code-functions.
12278 (byte-compile-form): Check obsolescence here.
12279 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
12280 (byte-compile-variable-ref): Remove.
12281 (byte-compile-dynamic-variable-op): New fun.
12282 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12283 (byte-compile-variable-set): New funs.
12284 (byte-compile-discard): Add 2 args.
12285 (byte-compile-stack-ref, byte-compile-stack-set)
12286 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
12287 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
12288 macroexpand-all instead.
12289 (byte-compile-quote-form): Remove.
12290 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
12291 (byte-compile-bind, byte-compile-unbind): New funs.
12292 (byte-compile-let): Handle let* and lexical binding.
12293 (byte-compile-let*): Remove.
12294 (byte-compile-catch, byte-compile-unwind-protect)
12295 (byte-compile-track-mouse, byte-compile-condition-case):
12296 Handle a new :fun-body form, used for lexical scoping.
12297 (byte-compile-save-window-excursion)
12298 (byte-compile-with-output-to-temp-buffer): Remove.
12299 (byte-compile-defun): Simplify.
12300 (byte-compile-stack-adjustment): New fun.
12301 (byte-compile-out): Use it.
12302 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
12303
12304 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
12305 handler any more.
12306
12307 * emacs-lisp/byte-opt.el: Use lexical binding.
12308 (byte-inline-lapcode): Remove (to bytecomp).
12309 (byte-compile-inline-expand): Pay attention to inlining to/from
12310 lexically bound code.
12311 (byte-compile-unfold-lambda): Don't handle byte-code-functions
12312 any more.
12313 (byte-optimize-form-code-walker): Don't handle save-window-excursion
12314 any more and don't call compiler-macros.
12315 (byte-compile-splice-in-already-compiled-code): Remove.
12316 (byte-code): Don't inline any more.
12317 (disassemble-offset): Receive `bytes' as argument rather than via
12318 dynamic scoping.
12319 (byte-compile-tag-number): Declare before first use.
12320 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
12321 `return' even if make-spliceable.
12322 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
12323 obsolete interactive-p.
12324 (byte-optimize-lapcode): Optimize new lap-codes.
12325 Don't trip up on new form of `byte-constant' lap code.
12326
12327 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
12328
12329 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
12330
12331 * custom.el (custom-initialize-default, custom-declare-variable):
12332 Use `defvar'.
12333
12334 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
12335 New variables.
12336 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
12337 (COMPILE_FIRST): Add macroexp and cconv.
12338 * makefile.w32-in: Mirror changes in Makefile.in.
12339
12340 * vc/cvs-status.el:
12341 * vc/diff-mode.el:
12342 * vc/log-edit.el:
12343 * vc/log-view.el:
12344 * vc/smerge-mode.el:
12345 * textmodes/bibtex-style.el:
12346 * textmodes/css.el:
12347 * startup.el:
12348 * uniquify.el:
da91b5f2
CY
12349 * minibuffer.el:
12350 * newcomment.el:
12351 * reveal.el:
12352 * server.el:
12353 * mpc.el:
12354 * emacs-lisp/smie.el:
12355 * doc-view.el:
12356 * dired.el:
03408648
SM
12357 * abbrev.el: Use lexical binding.
12358
0f0c1f27
EZ
123592011-04-01 Eli Zaretskii <eliz@gnu.org>
12360
12361 * info.el (info-display-manual): New function.
12362
c82b2579
SM
123632011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12364
12365 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
12366
221ddf68
TH
123672011-03-31 Tassilo Horn <tassilo@member.fsf.org>
12368
12369 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 12370 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 12371
cba6e77e
GM
123722011-03-31 Glenn Morris <rgm@gnu.org>
12373
e040639f
GM
12374 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
12375
cba6e77e
GM
12376 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
12377
6d0f1c9e
CS
123782011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
12379
12380 * progmodes/python.el (python-default-interpreter)
12381 (python-python-command-args, python-jython-command-args)
12382 (python-which-shell, python-which-args, python-which-bufname)
12383 (python-file-queue, python-comint-output-filter-function)
12384 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
12385 variables and functions.
12386
3e2d70fd
SM
123872011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12388
12389 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
12390 (completion-in-region-mode): New minor mode.
12391 (completion-in-region): Use it.
12392 (completion-in-region--data, completion-in-region-mode-map): New vars.
12393 (completion-in-region--postch): New function.
12394 (completion--capf-misbehave-funs, completion--capf-safe-funs):
12395 New vars.
12396 (completion--capf-wrapper): New function.
12397 (completion-at-point): Use it to track well-behavedness of
12398 hook functions.
12399 (completion-help-at-point): New command.
12400
f3e4086c
JM
124012011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
12402
12403 * vc/add-log.el (add-change-log-entry): Don't use whitespace
12404 syntax class to search for whitespace on a single line
12405 (Message-ID: <4D938140.4030905@redhat.com>).
12406
eb7ffc14
LL
124072011-03-30 Leo Liu <sdl.web@gmail.com>
12408
12409 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
12410 New commands.
12411 (edit-abbrevs-map): Bind them here.
12412 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
12413
d806ab68
KM
124142011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
12415
12416 * allout.el (allout-hide-by-annotation, allout-flag-region):
12417 Reduce possibility of overlay leakage by making them volatile.
12418
12419 * allout-widgets.el (allout-widgets-tally): Define as nil so the
12420 hash is not shared between buffers. Mode initialization is
12421 responsible for giving it a useful starting value.
12422 (allout-item-span): Reduce possibility of overlay leakage by
12423 making them volatile.
12424 (allout-widgets-count-buttons-in-region): Add diagnostic function
12425 for tracking down button overlay leaks.
12426
ea622834
LL
124272011-03-29 Leo Liu <sdl.web@gmail.com>
12428
12429 * ido.el (ido-read-internal): Use the default history var
12430 minibuffer-history if no HISTORY is specified.
12431
b62f8267
G
124322011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
12433
03408648
SM
12434 * net/imap.el (imap-shell-open, imap-process-connection-type):
12435 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
12436 Kerberos, SSL, other subprocesses.
12437
947b6566
LL
124382011-03-28 Leo Liu <sdl.web@gmail.com>
12439
12440 * abbrev.el (abbrev-table-empty-p): New function.
12441 (prepare-abbrev-list-buffer): Place empty abbrev tables after
12442 nonempty ones. (Bug#5937)
12443
5ffb62aa
JD
124442011-03-27 Jan Djärv <jan.h.d@swipnet.se>
12445
12446 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
12447
7a097943
LL
124482011-03-27 Leo Liu <sdl.web@gmail.com>
12449
12450 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
12451 for foreground and background colors.
12452 (ansi-color-make-color-map): Adapt.
12453
c5b40130
LL
124542011-03-25 Leo Liu <sdl.web@gmail.com>
12455
1f48f7d2
LL
12456 * midnight.el (midnight-time-float): Remove. Note it calculates
12457 the microsecond component incorrectly and seconds-to-time does the
12458 same job.
625897ec 12459 Remove redundant (require 'timer).
1f48f7d2 12460
c5b40130
LL
12461 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
12462 (ido-completions): Remove unused arguments. (Bug#8329)
12463
d86d2721
SM
124642011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * minibuffer.el (completion--flush-all-sorted-completions):
12467 Remove itself from hook.
12468 (completion-at-point): Let the functions perform the completion
12469 immediately and return nil or t.
12470 * comint.el (comint-dynamic-complete-functions): Now identical to
12471 completion-at-point-functions.
12472 (comint-dynamic-list-input-ring): Remove unused var `index'.
12473 (comint--match-partial-filename, comint--unquote&expand-filename):
12474 New funs, split from comint-match-partial-filename.
12475 (comint-dynamic-complete): Use completion-at-point.
12476 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
12477
e8974c48
DA
124782011-03-24 Drew Adams <drew.adams@oracle.com>
12479
12480 * thingatpt.el: Support `defun'.
12481
def71b5e
LL
124822011-03-23 Leo Liu <sdl.web@gmail.com>
12483
cb5af48e
LL
12484 * abbrevlist.el: Move to obsolete/abbrevlist.el.
12485
def71b5e
LL
12486 * help-mode.el (help-mode-finish): Tweak regexp.
12487
927c53e7
GM
124882011-03-23 Glenn Morris <rgm@gnu.org>
12489
18d05bed
GM
12490 * eshell/esh-opt.el (eshell-eval-using-options):
12491 Do not bind unused local variable `eshell-option-stub'.
12492
927c53e7
GM
12493 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
12494
9d0da923
JB
124952011-03-22 Juanma Barranquero <lekktu@gmail.com>
12496
12497 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
12498 keymap variable in `with-no-warnings' to avoid a warning when the
12499 keymap has been already `defconst'ed.
12500
4b978a67
LL
125012011-03-22 Leo Liu <sdl.web@gmail.com>
12502
12503 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
12504 encode all chars in abbrevs; otherwise use emacs-mule or
12505 utf-8-emacs. (Bug#8308)
12506
5fd62452
JB
125072011-03-22 Juanma Barranquero <lekktu@gmail.com>
12508
0b1596c6
JB
12509 * simple.el (backward-delete-char-untabify):
12510 Avoid warning about using `delete-backward-char'.
12511
5fd62452
JB
12512 * image.el (image-type-file-name-regexps): Make it variable.
12513 `imagemagick-register-types' modifies it, and the user may want
12514 to add new extensions for known image types.
12515 (imagemagick-register-types): Throw error if not using ImageMagick.
12516
0b4e93f1
LL
125172011-03-22 Leo Liu <sdl.web@gmail.com>
12518
12519 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
12520 located before rcirc-prompt-end-marker.
12521 (rcirc-complete): Error if point is not after rcirc prompt.
12522 Handle the case when table is nil.
9882e214 12523 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 12524
fccee4ab
CY
125252011-03-22 Chong Yidong <cyd@stupidchicken.com>
12526
12527 * custom.el (custom--inhibit-theme-enable): Make it affect only
12528 custom-theme-set-variables and custom-theme-set-faces.
12529 (provide-theme): Ignore custom--inhibit-theme-enable.
12530 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
12531 (custom-enabling-themes): Delete variable.
d86d2721
SM
12532 (enable-theme): Accept only loaded themes as arguments.
12533 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
12534 (custom-enabled-themes): Forbid themes from setting this.
12535 Eliminate use of custom-enabling-themes.
12536 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 12537
af896da6
LL
125382011-03-21 Leo Liu <sdl.web@gmail.com>
12539
12540 * ido.el (ido-read-internal): Add ido-selected to history instead
12541 of user input.
12542
78f64af0
SM
125432011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * subr.el (deferred-action-list, deferred-action-function):
12546 Mark obsolete.
12547
b16ac1ec
LL
125482011-03-21 Leo Liu <sdl.web@gmail.com>
12549
810f7698
LL
12550 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
12551 change on 2011-02-13 (bug#8309).
12552
b16ac1ec
LL
12553 * minibuffer.el (read-file-name-function): Change default value.
12554 (read-file-name--defaults): Rename from read-file-name-defaults.
12555 (read-file-name-default): Rename from read-file-name.
12556 (read-file-name): Call read-file-name-function.
12557
4e05e67e
GM
125582011-03-21 Glenn Morris <rgm@gnu.org>
12559
12560 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
12561 Doc fixes.
12562
4359915b
CY
125632011-03-21 Chong Yidong <cyd@stupidchicken.com>
12564
12565 * cus-theme.el: Add missing provide statement.
12566 (customize-create-theme): Extract theme value correctly.
12567 (custom-theme-visit-theme): Autoload.
12568 (customize-create-theme): Prompt before inserting default faces.
12569
1fe275ee
JB
125702011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
12571
12572 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
12573 units and musical notes.
12574
cd394be1 125752011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
12576
12577 * ido.el (ido-read-internal): Use completing-read-default.
12578 (ido-completing-read): Fix compatibility with completing-read.
12579
7d476bde
CO
125802011-03-20 Christian Ohler <ohler@gnu.org>
12581
12582 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
12583 (ert-delete-all-tests): Use `called-interactively-p' rather than
12584 `interactive-p'.
12585 (ert--make-xrefs-region): Respect END.
12586
fe0fb33e
CY
125872011-03-19 Chong Yidong <cyd@stupidchicken.com>
12588
ff854b0b
CY
12589 * dired-aux.el (dired-create-directory): Signal an error if the
12590 directory already exists (Bug#8246).
12591
fe0fb33e
CY
12592 * facemenu.el (list-colors-display): Call list-faces-display
12593 inside with-help-window.
12594 (list-colors-print): Use display property to align the final
12595 column, instead of checking window-width.
12596
576bce32
EZ
125972011-03-19 Eli Zaretskii <eliz@gnu.org>
12598
4d61f28d 12599 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
12600 windows-nt systems.
12601 (emerge-protect-metachars): Quote correctly for ms-dos and
12602 windows-nt systems.
12603
89c41d68 126042011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
12605
12606 * info.el (info-initialize): Replace all uses of `:' with
12607 path-separator for compatibility with non-Unix systems.
12608 Cache quoting of path-separator. (Bug#8258)
12609
b14e3e21 126102011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
12611
12612 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
12613 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
12614 (mouse-avoidance-mode): Fix typos in docstrings.
12615
4525ce3e
CY
126162011-03-19 Chong Yidong <cyd@stupidchicken.com>
12617
12618 * startup.el (package-subdirectory-regexp): Move from package.el.
12619 Omit \\` and \\', and let callers add them.
12620
12621 * emacs-lisp/package.el (package-strip-version)
12622 (package-load-all-descriptors): Add \\` and \\' to
12623 package-subdirectory-regexp before using it.
12624 (package-untar-buffer): New arg DIR; ensure that file untars only
12625 into this expected directory. Remove superfluous delete-region.
12626 (package-unpack): Caller changed.
12627 (package-tar-file-info): Use package-subdirectory-regexp.
12628
a904a09a 126292011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 12630
a904a09a
SM
12631 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
12632 diff-mode-shared-map (bug#8284).
12633 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
12634
126352011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12636
12637 * calendar/time-date.el (format-seconds): Use assoc instead of
12638 assoc-string, since assoc-string doesn't exist in XEmacs.
12639
171fc304
JB
126402011-03-17 Juanma Barranquero <lekktu@gmail.com>
12641
12642 * custom.el (custom-known-themes): Reflow docstring.
12643 (custom-theme-load-path): Fix typo in docstring.
12644 (load-theme): Fix typo in error message.
12645 (custom-available-themes, custom-variable-theme-value):
12646 Use `let', not `let*'.
12647
d71990a1
JB
126482011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12649
12650 * calc/README: Mention inclusion of musical notes.
12651
12652 * calc/calc-units.el (calc-lu-quant): Rename from
12653 `calc-logunits-quantity'.
12654 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
12655 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
12656 (calc-db): Rename from `calc-dblevel'.
12657 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
12658 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
12659 (calc-np): Rename from `calc-nplevel'.
12660 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
12661 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
12662 (calc-lu-plus): Rename from `calc-logunits-add'.
12663 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
12664 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
12665 (calc-lu-minus): Rename from `calc-logunits-sub'.
12666 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
12667 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
12668 (calc-lu-times): Rename from `calc-logunits-mul'.
12669 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
12670 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
12671 (calc-lu-divide): Rename from `calc-logunits-div'.
12672 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
12673 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
12674
12675 * calc/calc-ext.el (calc-init-extensions): Update the names of the
12676 functions being autoloaded.
12677
12678 * calc/calc.el (calc-lu-power-reference): Rename from
12679 `calc-logunits-power-reference'.
12680 (calc-lu-field-reference): Rename from
12681 `calc-logunits-field-reference'.
12682
7a71b18d
GM
12683 * calc/calc-help.el (calc-l-prefix-help):
12684 Mention musical note functions.
d71990a1 12685
40c2934b
SM
126862011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12687
12688 * minibuffer.el (completion-all-sorted-completions):
12689 Use :completion-cycle-penalty text property if present.
12690
b0911414
KM
126912011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
12692
12693 * allout.el (allout-yank-processing): Adjust for new rebulleting
12694 regime so bullet being yanked is used without prompting the user
12695 for a choice.
12696
8a05b668
JB
126972011-03-16 Juanma Barranquero <lekktu@gmail.com>
12698
12699 * startup.el (command-line): Warn the user that _emacs is deprecated.
12700
5ba5fb81
JB
127012011-03-16 Juanma Barranquero <lekktu@gmail.com>
12702
12703 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
12704 (delphi-verbose, delphi-comment-face, delphi-string-face)
12705 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
12706 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
12707 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
12708 (delphi-new-comment-line, delphi-font-lock-defaults)
12709 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
12710 Fix typos in docstrings.
12711
2dab465b
KM
127122011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
12713
5ba5fb81 12714 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
12715 Invert the roles of character and string values for INSTEAD, so a
12716 string is used for the more common case of a defaulting prompt.
12717
0adf5618
SM
127182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12719
12720 * progmodes/ruby-mode.el (ruby-backward-sexp):
12721 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
12722 * play/gamegrid.el (gamegrid-make-face):
12723 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
12724 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
12725 * notifications.el (notifications-notify):
12726 * net/xesam.el (xesam-search-engines):
12727 * net/quickurl.el (quickurl-list-insert):
12728 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
12729
d72700e5
CY
127302011-03-15 Chong Yidong <cyd@stupidchicken.com>
12731
12732 * startup.el (command-line): Update package subdirectory regexp.
12733
49c5410a
SM
127342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12735
c6eee9aa
SM
12736 * allout.el (allout-abbreviate-flattened-numbering)
12737 (allout-mode-deactivate-hook): Fix up obsolescence "date".
12738
49c5410a
SM
12739 * subr.el (read-char-choice): Only show the cursor after the prompt,
12740 not after the answer.
12741
047b2bb9
KR
127422011-03-15 Kevin Ryde <user42@zip.com.au>
12743
12744 * help-fns.el (variable-at-point): Skip leading quotes, if any
12745 (bug#8253).
12746
0a57d256
SM
127472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
12750 warning message.
12751
77c992bc
MA
127522011-03-14 Michael Albinus <michael.albinus@gmx.de>
12753
12754 * shell.el (shell): When called interactively, offer to change the
12755 shell file name on remote hosts.
12756
eebc475d
TZ
127572011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
12758
12759 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
12760 integration for LDAP parameters. The host, base, user or binddn,
12761 and secret tokens can be specified in a netrc file, for instance.
12762 This is optional because an `auth-source' parameter must be
12763 specified in the search attributes.
12764
9d05d1ba
JB
127652011-03-13 Juanma Barranquero <lekktu@gmail.com>
12766
12767 * help.el (describe-mode): Link to the mode's definition (bug#8185).
12768
09d9db2c
GM
127692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
12772 into declaration. Remove redundant and harmful binding.
12773
127742011-03-12 Eli Zaretskii <eliz@gnu.org>
12775
12776 * files.el (file-ownership-preserved-p): Pass `integer' as an
12777 explicit 2nd argument to `file-attributes'. If the file's owner
12778 is the Administrators group on Windows, and the current user is
12779 Administrator, consider that a match.
12780
12781 * server.el (server-ensure-safe-dir): Consider server directory
12782 safe on MS-Windows if its owner is the Administrators group while
12783 the current Emacs user is Administrator. Use `=' to compare
12784 numerical UIDs, since they could be integers or floats.
12785
219bd536
JB
127862011-03-12 Juanma Barranquero <lekktu@gmail.com>
12787
12788 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
12789
f3afd36b
MA
127902011-03-12 Michael Albinus <michael.albinus@gmx.de>
12791
12792 Sync with Tramp 2.2.1.
12793
12794 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
12795
12796 * net/trampver.el: Update release number.
12797
3aaaa6f1
SM
127982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12799
94642599
SM
12800 * progmodes/compile.el (compilation--previous-directory): Fix up
12801 various nil/dead-marker mismatches (bug#8014).
12802 (compilation-directory-properties, compilation-error-properties):
12803 Don't call it at a position past the one we're about to change.
12804
3aaaa6f1
SM
12805 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
12806 Disable obsolescence warnings in the file that declares it.
12807
14239447
KM
128082011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
12809
099c39a4
JB
12810 * allout-widgets.el (allout-widgets-tally):
12811 Initialize allout-widgets-tally as a hash table rather than nil to
12812 prevent mode-line redisplay warnings. Also, clarify the module
12813 description and fix a comment typo.
14239447 12814
135e287c
JB
128152011-03-11 Juanma Barranquero <lekktu@gmail.com>
12816
12817 * help-fns.el (describe-variable): Don't complete keywords.
12818 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
12819
ffbf300e
CY
128202011-03-10 Chong Yidong <cyd@stupidchicken.com>
12821
ba08b241
CY
12822 * emacs-lisp/package.el (package-version-join): Impose a standard
12823 string representation for pre/alpha/beta version lists.
12824 (package-unpack-single): Standardize the directory name by passing
12825 it through package-version-join.
12826 (package-strip-rcs-id): Accept any version string that does not
12827 signal an error in version-to-list.
ffbf300e 12828
f346fd6b
MA
128292011-03-10 Michael Albinus <michael.albinus@gmx.de>
12830
12831 * simple.el (delete-trailing-whitespace): Return nil for the
12832 benefit of `write-file-functions'.
12833
ccb55d27
GM
128342011-03-10 Glenn Morris <rgm@gnu.org>
12835
5ceaac0c
GM
12836 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
12837
02da65ff
GM
12838 * vc/vc-git.el (vc-git-program): New option.
12839 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
12840 (vc-git--call): Use it.
12841
b2f603cc
GM
12842 * eshell/esh-util.el (eshell-condition-case): Doc fix.
12843
5772caab
GM
12844 * cus-edit.el (Custom-newline): If no button at point, look
12845 for a subgroup button at start-of-line. (Bug#2298)
12846
ccb55d27
GM
12847 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
12848
ec6ecaed
JD
128492011-03-10 Julien Danjou <julien@danjou.info>
12850
12851 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
12852 `cursor-type' is nil.
12853
9d5aa01d
JB
128542011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
12855
12856 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
12857
b6a5875b
KM
128582011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
12859
7a71b18d 12860 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
12861 preserves the existing header prefix, rebulleting it if necessary,
12862 rather than replacing it. This is necessary for proper operation
12863 of cooperative addons like allout-widgets.
1154d12e
JB
12864 (allout-make-topic-prefix, allout-rebullet-heading):
12865 Change SOLICIT arg to INSTEAD, and interpret additionally a string
12866 value as alternate bullet to be used, instead of prompting the user
12867 for a bullet character.
b6a5875b 12868
ee545c35
MA
128692011-03-09 Michael Albinus <michael.albinus@gmx.de>
12870
d86d2721
SM
12871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12872 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
12873 `tramp-default-port'.
12874
c47971d7
DD
128752011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12876
12877 * net/rcirc.el (rcirc-handler-001): Remove useless
12878 with-rcirc-process-buffer.
12879 (rcirc-check-auth-status): Swap arguments to string-match.
12880
13522cb4
GM
128812011-03-09 Glenn Morris <rgm@gnu.org>
12882
0be6f4f1
GM
12883 * shell.el (shell-mode):
12884 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
12885
13522cb4
GM
12886 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
12887 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
12888
515de2e3
CY
128892011-03-08 Chong Yidong <cyd@stupidchicken.com>
12890
12891 * emacs-lisp/package.el (package-refresh-contents)
12892 (package-menu-execute): Use condition-case-no-debug.
12893
b511b994
MA
128942011-03-08 Michael Albinus <michael.albinus@gmx.de>
12895
12896 * simple.el (shell-command-to-string): Use `process-file'.
12897
12898 * emacs-lisp/package.el (package-tar-file-info): Handle also
12899 remote files.
12900
d86d2721
SM
12901 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12902 Use `equal' for upload base check.
b511b994 12903
25bbfb31
AM
129042011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
12905
12906 * textmodes/texinfo.el (texinfo-environments):
12907 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
12908
be996521
GM
129092011-03-08 Glenn Morris <rgm@gnu.org>
12910
e9c8529f
GM
12911 * cus-start.el (cursor-in-non-selected-windows):
12912 Fix :set quoting oddness. (Bug#8192)
12913
be996521
GM
12914 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
12915 in some setf expressions. (Bug#2159)
12916
2bb5649e
CY
129172011-03-08 Chong Yidong <cyd@stupidchicken.com>
12918
12919 * custom.el (custom-available-themes): Return themes in
12920 alphabetical order.
12921
33383987 12922See ChangeLog.15 for earlier changes.
e3d51b27
MR
12923
12924;; Local Variables:
12925;; coding: utf-8
e3d51b27
MR
12926;; End:
12927
acaf905b 12928 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
12929
12930 This file is part of GNU Emacs.
12931
12932 GNU Emacs is free software: you can redistribute it and/or modify
12933 it under the terms of the GNU General Public License as published by
12934 the Free Software Foundation, either version 3 of the License, or
12935 (at your option) any later version.
12936
12937 GNU Emacs is distributed in the hope that it will be useful,
12938 but WITHOUT ANY WARRANTY; without even the implied warranty of
12939 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12940 GNU General Public License for more details.
12941
12942 You should have received a copy of the GNU General Public License
12943 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.